Description
The config subcommand in the completion metadata (SUBCOMMANDS in src/commands/completion.ts) only lists --help. The config set <key> <value> subcommand added in the CLI is not modeled, so bash/zsh/fish/powershell completions never suggest set after commit-echo config, nor the valid config keys (provider, model, baseUrl, apiKey, historySize, maxDiffSize, systemPromptTemplate, userPromptTemplate).
Location
src/commands/completion.ts lines 50–54 (config entry) and the SUBCOMMANDS metadata contract at lines 19–105
Code
{
name: 'config',
description: 'View current configuration',
options: [{ flag: '--help', description: 'Display help for config' }],
},
Suggested fix
Model config set in the metadata (e.g. a value-consuming positional or a nested completion that lists the CONFIG_SET_KEYS from src/commands/config.ts), or at minimum add set as a subcommand token. Update the completion-command test that asserts scripts match --help output.
Impact
Inconsistent UX: config set is documented and usable, but completions stop at config, offering only --help.
Description
The
configsubcommand in the completion metadata (SUBCOMMANDSinsrc/commands/completion.ts) only lists--help. Theconfig set <key> <value>subcommand added in the CLI is not modeled, so bash/zsh/fish/powershell completions never suggestsetaftercommit-echo config, nor the valid config keys (provider,model,baseUrl,apiKey,historySize,maxDiffSize,systemPromptTemplate,userPromptTemplate).Location
src/commands/completion.tslines 50–54 (config entry) and theSUBCOMMANDSmetadata contract at lines 19–105Code
Suggested fix
Model
config setin the metadata (e.g. avalue-consuming positional or a nested completion that lists theCONFIG_SET_KEYSfromsrc/commands/config.ts), or at minimum addsetas a subcommand token. Update the completion-command test that asserts scripts match--helpoutput.Impact
Inconsistent UX:
config setis documented and usable, but completions stop atconfig, offering only--help.