chore: upgrade OpenClaw to 2026.3.2
- Upgrade from 2026.2.9 to 2026.3.2 - Update completions for new version - Update device auth and paired devices - Add memory notes for 2026-03-06
This commit is contained in:
+31
-16
@@ -6,16 +6,21 @@ _openclaw_completion() {
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
|
||||
# Simple top-level completion for now
|
||||
opts="setup onboard configure config doctor dashboard reset uninstall message memory agent agents status health sessions browser completion acp gateway daemon logs system models approvals nodes devices node sandbox tui cron dns docs hooks webhooks pairing plugins channels directory security skills update -V, --dev --profile --no-color"
|
||||
opts="completion setup onboard configure config doctor dashboard reset uninstall message memory agent agents status health sessions browser acp gateway daemon logs system models approvals nodes devices node sandbox tui cron dns docs hooks webhooks qr clawbot pairing plugins channels directory security secrets skills update -V, --dev --profile --log-level --no-color"
|
||||
|
||||
case "${prev}" in
|
||||
completion)
|
||||
opts=" -s, -i, --write-state -y,"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
setup)
|
||||
opts=" --workspace --wizard --non-interactive --mode --remote-url --remote-token"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
onboard)
|
||||
opts=" --workspace --reset --non-interactive --accept-risk --flow --mode --auth-choice --token-provider --token --token-profile-id --token-expires-in --anthropic-api-key --openai-api-key --openrouter-api-key --ai-gateway-api-key --cloudflare-ai-gateway-account-id --cloudflare-ai-gateway-gateway-id --cloudflare-ai-gateway-api-key --moonshot-api-key --kimi-code-api-key --gemini-api-key --zai-api-key --xiaomi-api-key --minimax-api-key --synthetic-api-key --venice-api-key --opencode-zen-api-key --xai-api-key --qianfan-api-key --gateway-port --gateway-bind --gateway-auth --gateway-token --gateway-password --remote-url --remote-token --tailscale --tailscale-reset-on-exit --install-daemon --no-install-daemon --skip-daemon --daemon-runtime --skip-channels --skip-skills --skip-health --skip-ui --node-manager --json"
|
||||
opts=" --workspace --reset --reset-scope --non-interactive --accept-risk --flow --mode --auth-choice --token-provider --token --token-profile-id --token-expires-in --secret-input-mode --cloudflare-ai-gateway-account-id --cloudflare-ai-gateway-gateway-id --anthropic-api-key --openai-api-key --mistral-api-key --openrouter-api-key --kilocode-api-key --ai-gateway-api-key --cloudflare-ai-gateway-api-key --moonshot-api-key --kimi-code-api-key --gemini-api-key --zai-api-key --xiaomi-api-key --minimax-api-key --synthetic-api-key --venice-api-key --together-api-key --huggingface-api-key --opencode-zen-api-key --xai-api-key --litellm-api-key --qianfan-api-key --volcengine-api-key --byteplus-api-key --custom-base-url --custom-api-key --custom-model-id --custom-provider-id --custom-compatibility --gateway-port --gateway-bind --gateway-auth --gateway-token --gateway-password --remote-url --remote-token --tailscale --tailscale-reset-on-exit --install-daemon --no-install-daemon --skip-daemon --daemon-runtime --skip-channels --skip-skills --skip-health --skip-ui --node-manager --json"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
@@ -25,7 +30,7 @@ _openclaw_completion() {
|
||||
return 0
|
||||
;;
|
||||
config)
|
||||
opts="get set unset --section"
|
||||
opts="get set unset file validate --section"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
@@ -65,7 +70,7 @@ _openclaw_completion() {
|
||||
return 0
|
||||
;;
|
||||
agents)
|
||||
opts="list add set-identity delete "
|
||||
opts="list bindings bind unbind add set-identity delete "
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
@@ -80,7 +85,7 @@ _openclaw_completion() {
|
||||
return 0
|
||||
;;
|
||||
sessions)
|
||||
opts=" --json --verbose --store --active"
|
||||
opts="cleanup --json --verbose --store --agent --all-agents --active"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
@@ -89,13 +94,8 @@ _openclaw_completion() {
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
completion)
|
||||
opts=" -s, -i, --write-state -y,"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
acp)
|
||||
opts="client --url --token --password --session --session-label --require-existing --reset-session --no-prefix-cwd --verbose,"
|
||||
opts="client --url --token --token-file --password --password-file --session --session-label --require-existing --reset-session --no-prefix-cwd -v,"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
@@ -110,7 +110,7 @@ _openclaw_completion() {
|
||||
return 0
|
||||
;;
|
||||
logs)
|
||||
opts=" --limit --max-bytes --follow --interval --json --plain --no-color --url --token --timeout --expect-final"
|
||||
opts=" --limit --max-bytes --follow --interval --json --plain --no-color --local-time --url --token --timeout --expect-final"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
@@ -130,12 +130,12 @@ _openclaw_completion() {
|
||||
return 0
|
||||
;;
|
||||
nodes)
|
||||
opts="status describe list pending approve reject rename invoke run notify canvas camera screen location "
|
||||
opts="status describe list pending approve reject rename invoke run notify push canvas camera screen location "
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
devices)
|
||||
opts="list approve reject rotate revoke "
|
||||
opts="list remove clear approve reject rotate revoke "
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
@@ -179,13 +179,23 @@ _openclaw_completion() {
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
qr)
|
||||
opts=" --remote --url --public-url --token --password --setup-code-only --no-ascii --json"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
clawbot)
|
||||
opts="qr "
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
pairing)
|
||||
opts="list approve "
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
plugins)
|
||||
opts="list info enable disable install update doctor "
|
||||
opts="list info enable disable uninstall install update doctor "
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
@@ -204,13 +214,18 @@ _openclaw_completion() {
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
secrets)
|
||||
opts="reload audit configure apply "
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
skills)
|
||||
opts="list info check "
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
update)
|
||||
opts="wizard status --json --no-restart --channel --tag --timeout --yes"
|
||||
opts="wizard status --json --no-restart --dry-run --channel --tag --timeout --yes"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user