feat(opencode): add mcpctl config opencode + /mcpctl TUI switcher with bottom project indicator
Some checks failed
CI/CD / typecheck (pull_request) Successful in 1m3s
CI/CD / lint (pull_request) Successful in 2m12s
CI/CD / test (pull_request) Successful in 1m19s
CI/CD / build (pull_request) Successful in 2m13s
CI/CD / smoke (pull_request) Failing after 3m23s
CI/CD / publish (pull_request) Has been skipped

This commit is contained in:
Michal
2026-08-08 21:23:12 +01:00
parent 79e04ed89f
commit e2a1d90793
16 changed files with 1154 additions and 26 deletions

View File

@@ -103,7 +103,7 @@ _mcpctl() {
config)
local config_sub=$(_mcpctl_get_subcmd $subcmd_pos)
if [[ -z "$config_sub" ]]; then
COMPREPLY=($(compgen -W "view set path reset claude claude-generate prime-agent prime-agent-generate setup impersonate help" -- "$cur"))
COMPREPLY=($(compgen -W "view set path reset claude claude-generate prime-agent prime-agent-generate opencode setup impersonate help" -- "$cur"))
else
case "$config_sub" in
view)
@@ -130,6 +130,9 @@ _mcpctl() {
prime-agent-generate)
COMPREPLY=($(compgen -W "-p --project -o --output --gateway-url --token --skip-skills --skip-extension --skip-marker --dry-run -h --help" -- "$cur"))
;;
opencode)
COMPREPLY=($(compgen -W "-p --project --config-dir --state --skip-skills --skip-plugin --skip-marker --dry-run -h --help" -- "$cur"))
;;
setup)
COMPREPLY=($(compgen -W "-h --help" -- "$cur"))
;;