fix(cli): TUI polish — Ctrl+T, React keys, clipboard, version #205

Merged
jason.woltje merged 1 commits from fix/cli-polish-batch into main 2026-03-17 02:40:19 +00:00
Owner

Four CLI/TUI fixes in one PR:

  • #192: Ctrl+T no longer leaks 't' into input
  • #193: CommandAutocomplete uses unique keys, no duplicate name collisions
  • #194: /provider login shows URL without false clipboard claim
  • #199: TopBar shows actual package version instead of 0.0.0
Four CLI/TUI fixes in one PR: - #192: Ctrl+T no longer leaks 't' into input - #193: CommandAutocomplete uses unique keys, no duplicate name collisions - #194: /provider login shows URL without false clipboard claim - #199: TopBar shows actual package version instead of 0.0.0
jason.woltje added 1 commit 2026-03-17 02:40:05 +00:00
fix(cli): Ctrl+T leak, React key dupes, clipboard claim, version display
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed
4065fb02fc
- #192: Suppress leaked character when Ctrl+T/L/N/K fires in useInput by
  setting a ctrlJustFired ref and rejecting the next onChange call in the
  InputBar onChange wrapper
- #193: CommandAutocomplete uses composite key `${cmd.execution}-${cmd.name}`
  to prevent duplicate key warnings; CommandRegistry.getAll() deduplicates
  gateway commands that share a name with local commands
- #194: /provider login message no longer claims '(URL copied to clipboard)'
  since clipboard access is unavailable server-side
- #199: cli.ts reads version from package.json via createRequire and passes
  it as a prop to TuiApp which forwards it to TopBar instead of hardcoded 0.0.0

Fixes #192, #193, #194, #199

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jason.woltje merged commit 3f8553ce07 into main 2026-03-17 02:40:19 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#205