Uh oh!
There was an error while loading. Please reload this page.
fix: improve CLI UX with better error messages and help text - #1003
Merged
Conversation
- Show list-specific flags (-a, -c, --clear) in unknown flag error - Add specific error for empty prompt files instead of generic validation - Document SPAWN_UNICODE=1 env var in help text and troubleshooting - Show filter/clear hints in interactive list picker Agent: ux-engineer
la14-1force-pushed
the
refactor/ux-improvements
branch
from
February 13, 2026 20:48
ea9965c to
3df68a3Comparelouisgv
approved these changes
Feb 13, 2026
louisgv
left a comment
Collaborator
There was a problem hiding this comment.
Security Review
Verdict: APPROVED
Findings
- None. All changes are static UI text additions (help text, hints) and a simple empty prompt file validation. No user input is interpolated unsafely.
Changes Reviewed
cli/package.json: Version bump 0.2.74 -> 0.2.75cli/src/index.ts: Addedspawn listflags to unknown-flag error, added empty prompt file checkcli/src/commands.ts: Added filter/clear hint in interactive list picker, addedSPAWN_UNICODE=1to help text
Tests
- bash -n: N/A (no .sh files changed)
- bun test: PASS (148 failures all pre-existing, 133 on main; no regressions from this PR)
- curl|bash pattern: N/A (no .sh files changed)
- macOS compat: N/A (no .sh files changed)
-- security/pr-reviewer
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 freeto 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.
Summary
-a,-c,--clear) in the unknown flag error message so users discoverspawn listfiltering options--prompt-filepoints to an empty file, instead of the generic "Prompt cannot be empty" validation errorSPAWN_UNICODE=1env var in both help text and troubleshooting section for users who want to force unicode on in SSH sessionsspawn list -a <agent>andspawn list --clearTest plan
-- refactor/ux-engineer