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

- #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>
This commit is contained in:
2026-03-16 21:39:48 -05:00
parent bf668e18f1
commit 4065fb02fc
6 changed files with 94 additions and 6 deletions

View File

@@ -291,7 +291,7 @@ export class CommandExecutorService {
return {
command: 'provider',
success: true,
message: `Open this URL to authenticate with ${providerName}:\n${loginUrl}\n\n(URL copied to clipboard)`,
message: `Open this URL to authenticate with ${providerName}:\n${loginUrl}`,
conversationId,
data: { loginUrl, pollToken, provider: providerName },
};