fix(cli): Ctrl+T leak, React key dupes, clipboard claim, version display
- #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:
@@ -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 },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user