Claude/cli agent improvements xe8 fp#192
Closed
hifi-phil wants to merge 2 commits intoprjseal:feature/ai-agent-improvementsfrom
Closed
Claude/cli agent improvements xe8 fp#192hifi-phil wants to merge 2 commits intoprjseal:feature/ai-agent-improvementsfrom
hifi-phil wants to merge 2 commits intoprjseal:feature/ai-agent-improvementsfrom
Conversation
Analyse the PSW CLI tool for AI agent usability and document a prioritised list of 16 improvements across 4 priority tiers. Key recommendations include structured output modes (--output json/plain), non-interactive flag, machine-readable help, valid value discovery commands, distinct exit codes, and stderr/stdout separation. https://claude.ai/code/session_01GKrYtcRN1vAEWzdPQakFqV
Add machine-readable output modes and automation flags to make the CLI tool usable by AI agents without parsing decorated Spectre.Console text. New features: - --output json|plain flag for structured/plain output - --script-only flag for raw script output without decoration - --no-interaction flag to suppress all interactive prompts - --dry-run flag to validate inputs without generating scripts - --help-json flag for structured JSON help discovery - psw list-options subcommand with database-types, starter-kits, defaults - --template-version flag as explicit alternative to pipe syntax - Distinct exit codes (0=success, 2=validation, 3=network, 4=execution, 5=fs) - JSON error responses when using --output json Breaking change: - Unified -t and --template-package flags: bare values now treated as package names (not versions). Use --template-version or pipe syntax (Package|Version) for version specification. Updated existing tests and added new tests for all new flags. https://claude.ai/code/session_01GKrYtcRN1vAEWzdPQakFqV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.