auto: sync OpenClaw config 2026-07-15 02:00
This commit is contained in:
+334
-42
@@ -12,7 +12,7 @@ _openclaw_root_completion() {
|
||||
"--profile[Use a named profile (isolates OPENCLAW_STATE_DIR/OPENCLAW_CONFIG_PATH under ~/.openclaw-<name>)]" \
|
||||
"--log-level[Global log level override for file + console (silent|fatal|error|warn|info|debug|trace)]" \
|
||||
"--no-color[Disable ANSI colors]" \
|
||||
"1: :_values 'command' 'completion[Generate shell completion script]' 'crestodian[Open the ring-zero setup and repair helper]' 'setup[Create baseline config/workspace files; use --wizard for full onboarding]' 'onboard[Guided setup for auth, models, Gateway, workspace, channels, and skills]' 'configure[Interactive configuration for credentials, channels, gateway, and agent defaults]' 'config[Non-interactive config helpers (get/set/patch/unset/file/schema/validate). Run without subcommand for guided setup.]' 'backup[Create and verify local backup archives for OpenClaw state]' 'migrate[Import state from another agent system]' 'doctor[Health checks + quick fixes for the gateway and channels]' 'dashboard[Open the Control UI with your current token]' 'reset[Reset local config/state (keeps the CLI installed)]' 'uninstall[Uninstall the gateway service + local data (CLI remains)]' 'message[Send, read, and manage messages and channel actions]' 'mcp[Manage OpenClaw mcp.servers config and channel bridge]' 'transcripts[Inspect stored transcripts]' 'agent[Run an agent turn via the Gateway (use --local for embedded)]' 'agents[Manage isolated agents (workspaces + auth + routing)]' 'status[Show channel health and recent session recipients]' 'health[Fetch health from the running gateway]' 'sessions[List stored conversation sessions]' 'commitments[List and manage inferred follow-up commitments]' 'tasks[Inspect durable background tasks and TaskFlow state]' 'acp[Run an ACP bridge backed by the Gateway]' 'gateway[Run, inspect, and query the WebSocket Gateway]' 'daemon[Manage the Gateway service (launchd/systemd/schtasks)]' 'logs[Tail gateway file logs via RPC]' 'system[System tools (events, heartbeat, presence)]' 'models[Model discovery, scanning, and configuration]' 'infer[Run provider-backed inference commands through a stable CLI surface]' 'approvals[Manage exec approvals (gateway or node host)]' 'exec-policy[Show or synchronize requested exec policy with host approvals]' 'nodes[Manage gateway-owned nodes (pairing, status, invoke, and media)]' 'devices[Device pairing and auth tokens]' 'node[Run and manage the headless node host service]' 'sandbox[Manage sandbox containers (Docker-based agent isolation)]' 'tui[Open a terminal UI connected to the Gateway]' 'cron[Manage cron jobs (via Gateway)]' 'dns[DNS helpers for wide-area discovery (Tailscale + CoreDNS)]' 'docs[Search the live OpenClaw docs]' 'proxy[Run the OpenClaw debug proxy and inspect captured traffic]' 'hooks[Manage internal agent hooks]' 'webhooks[Webhook helpers and integrations]' 'qr[Generate a mobile pairing QR code and setup code]' 'clawbot[Legacy clawbot command aliases]' 'pairing[Secure DM pairing (approve inbound requests)]' 'plugins[Manage OpenClaw plugins and extensions]' 'channels[Manage connected chat channels and accounts]' 'directory[Lookup contact and group IDs (self, peers, groups) for supported chat channels]' 'security[Audit local config and state for common security foot-guns]' 'secrets[Secrets runtime controls]' 'skills[List and inspect available skills]' 'update[Update OpenClaw and inspect update channel status]'" \
|
||||
"1: :_values 'command' 'completion[Generate shell completion script]' 'crestodian[Open the ring-zero setup and repair helper]' 'setup[Alias for openclaw onboard]' 'onboard[Guided setup for auth, models, Gateway, workspace, channels, and skills]' 'configure[Interactive configuration for credentials, channels, gateway, and agent defaults]' 'config[Non-interactive config helpers (get/set/patch/unset/file/schema/validate). Run without subcommand for guided setup.]' 'backup[Create and verify local backup archives for OpenClaw state]' 'migrate[Import state from another agent system]' 'doctor[Health checks + quick fixes for the gateway and channels]' 'dashboard[Open the Control UI with your current token]' 'reset[Reset local config/state (keeps the CLI installed)]' 'uninstall[Uninstall the gateway service + local data (CLI remains)]' 'message[Send, read, and manage messages and channel actions]' 'mcp[Manage OpenClaw mcp.servers config and channel bridge]' 'transcripts[Inspect stored transcripts]' 'agent[Run an agent turn via the Gateway (use --local for embedded)]' 'agents[Manage isolated agents (workspaces + auth + routing)]' 'audit[Inspect metadata-only agent run and tool action records]' 'status[Show channel health and recent session recipients]' 'health[Fetch health from the running gateway]' 'sessions[List stored conversation sessions]' 'commitments[List and manage inferred follow-up commitments]' 'tasks[Inspect durable background tasks and TaskFlow state]' 'acp[Run an ACP bridge backed by the Gateway]' 'gateway[Run, inspect, and query the WebSocket Gateway]' 'daemon[Manage the Gateway service (launchd/systemd/schtasks)]' 'logs[Tail gateway file logs via RPC]' 'system[System tools (events, heartbeat, presence)]' 'models[Model discovery, scanning, and configuration]' 'promos[Discover and claim promotional model offers from ClawHub]' 'infer[Run provider-backed inference commands through a stable CLI surface]' 'capability[Run provider-backed inference commands through a stable CLI surface]' 'approvals[Manage exec approvals (gateway or node host)]' 'exec-approvals[Manage exec approvals (gateway or node host)]' 'exec-policy[Show or synchronize requested exec policy with host approvals]' 'nodes[Manage gateway-owned nodes (pairing, status, invoke, and media)]' 'devices[Device pairing and auth tokens]' 'node[Run and manage the headless node host service]' 'sandbox[Manage sandbox containers (Docker-based agent isolation)]' 'worktrees[Create, inspect, restore, and clean up managed worktrees]' 'attach[Attach Claude Code to a gateway session with scoped MCP tools]' 'tui[Open a terminal UI connected to the Gateway]' 'terminal[Open a terminal UI connected to the Gateway]' 'chat[Open a terminal UI connected to the Gateway]' 'cron[Manage cron jobs (via Gateway)]' 'dns[DNS helpers for wide-area discovery (Tailscale + CoreDNS)]' 'docs[Search the live OpenClaw docs]' 'proxy[Run the OpenClaw debug proxy and inspect captured traffic]' 'hooks[Manage internal agent hooks]' 'webhooks[Webhook helpers and integrations]' 'qr[Generate a mobile pairing QR code and setup code]' 'clawbot[Legacy clawbot command aliases]' 'pairing[Secure DM pairing (approve inbound requests)]' 'plugins[Manage OpenClaw plugins and extensions]' 'channels[Manage connected chat channels and accounts]' 'directory[Lookup contact and group IDs (self, peers, groups) for supported chat channels]' 'security[Audit local config and state for common security foot-guns]' 'secrets[Secrets runtime controls]' 'skills[List and inspect available skills]' 'update[Update OpenClaw and inspect update channel status]'" \
|
||||
"*::arg:->args"
|
||||
|
||||
case $state in
|
||||
@@ -35,6 +35,7 @@ _openclaw_root_completion() {
|
||||
(transcripts) _openclaw_transcripts ;;
|
||||
(agent) _openclaw_agent ;;
|
||||
(agents) _openclaw_agents ;;
|
||||
(audit) _openclaw_audit ;;
|
||||
(status) _openclaw_status ;;
|
||||
(health) _openclaw_health ;;
|
||||
(sessions) _openclaw_sessions ;;
|
||||
@@ -46,14 +47,17 @@ _openclaw_root_completion() {
|
||||
(logs) _openclaw_logs ;;
|
||||
(system) _openclaw_system ;;
|
||||
(models) _openclaw_models ;;
|
||||
(infer) _openclaw_infer ;;
|
||||
(approvals) _openclaw_approvals ;;
|
||||
(promos) _openclaw_promos ;;
|
||||
(infer|capability) _openclaw_infer ;;
|
||||
(approvals|exec-approvals) _openclaw_approvals ;;
|
||||
(exec-policy) _openclaw_exec_policy ;;
|
||||
(nodes) _openclaw_nodes ;;
|
||||
(devices) _openclaw_devices ;;
|
||||
(node) _openclaw_node ;;
|
||||
(sandbox) _openclaw_sandbox ;;
|
||||
(tui) _openclaw_tui ;;
|
||||
(worktrees) _openclaw_worktrees ;;
|
||||
(attach) _openclaw_attach ;;
|
||||
(tui|terminal|chat) _openclaw_tui ;;
|
||||
(cron) _openclaw_cron ;;
|
||||
(dns) _openclaw_dns ;;
|
||||
(docs) _openclaw_docs ;;
|
||||
@@ -95,27 +99,15 @@ _openclaw_setup() {
|
||||
_arguments -C \
|
||||
"--workspace[Agent workspace directory (default: ~/.openclaw/workspace; stored as agents.defaults.workspace)]" \
|
||||
"--wizard[Run interactive onboarding]" \
|
||||
"--non-interactive[Run onboarding without prompts]" \
|
||||
"--accept-risk[Acknowledge that agents are powerful and full system access is risky (required for --non-interactive)]" \
|
||||
"--mode[Onboard mode: local|remote]" \
|
||||
"--import-from[Migration provider to run during onboarding]" \
|
||||
"--import-source[Source agent home for --import-from]" \
|
||||
"--import-secrets[Import supported secrets during onboarding migration]" \
|
||||
"--remote-url[Remote Gateway WebSocket URL]" \
|
||||
"--remote-token[Remote Gateway token (optional)]"
|
||||
}
|
||||
|
||||
_openclaw_onboard() {
|
||||
_arguments -C \
|
||||
"--workspace[Agent workspace directory (default: ~/.openclaw/workspace)]" \
|
||||
"--reset[Reset config + credentials + sessions before running onboard (workspace only with --reset-scope full)]" \
|
||||
"--baseline[Create baseline config/workspace/session folders without onboarding]" \
|
||||
"--reset[Reset config + credentials + sessions before running onboarding (workspace only with --reset-scope full)]" \
|
||||
"--reset-scope[Reset scope: config|config+creds+sessions|full]" \
|
||||
"--non-interactive[Run without prompts]" \
|
||||
"--modern[Use the conversational setup/repair assistant]" \
|
||||
"--non-interactive[Run onboarding without prompts]" \
|
||||
"--classic[Use the classic multi-step setup wizard]" \
|
||||
"--accept-risk[Acknowledge that agents are powerful and full system access is risky (required for --non-interactive)]" \
|
||||
"--flow[Onboard flow: quickstart|advanced|manual|import]" \
|
||||
"--mode[Onboard mode: local|remote]" \
|
||||
"--auth-choice[Auth: custom-api-key|skip|claude-cli|apiKey|anthropic-cli|setup-token|arceeai-api-key|byteplus-api-key|cerebras-api-key|openai-device-code|openai|chutes|chutes-api-key|cloudflare-ai-gateway-api-key|zai-cn|codex|qwen-api-key-cn|qwen-api-key|zai-coding-cn|zai-coding-global|cohere-api-key|copilot-proxy|deepinfra-api-key|deepseek-api-key|fireworks-api-key|google-gemini-cli|github-copilot|zai-global|gmi-api-key|gemini-api-key|google-vertex-api-key|groq-api-key|huggingface-api-key|kilocode-api-key|kimi-code-api-key|litellm-api-key|lmstudio|microsoft-foundry-apikey|microsoft-foundry-entra|minimax-cn-api|minimax-global-api|minimax-cn-oauth|minimax-global-oauth|mistral-api-key|moonshot-api-key|moonshot-api-key-cn|novita-api-key|nvidia-api-key|ollama|ollama-cloud|openai-api-key|opencode-go|opencode-zen|arceeai-openrouter|openrouter-api-key|openrouter-oauth|qianfan-api-key|qwen-oauth|sglang|qwen-standard-api-key-cn|qwen-standard-api-key|stepfun-standard-api-key-cn|stepfun-standard-api-key-intl|stepfun-plan-api-key-cn|stepfun-plan-api-key-intl|synthetic-api-key|tokenhub-api-key|together-api-key|venice-api-key|ai-gateway-api-key|vllm|volcengine-api-key|xai-api-key|xai-device-code|xai-oauth|xiaomi-api-key|xiaomi-token-plan-cn|xiaomi-token-plan-ams|xiaomi-token-plan-sgp|zai-api-key]" \
|
||||
"--auth-choice[Auth: custom-api-key|skip|claude-cli|apiKey|anthropic-cli|setup-token|arceeai-api-key|byteplus-api-key|cerebras-api-key|openai-device-code|openai|chutes|chutes-api-key|clawrouter-api-key|cloudflare-ai-gateway-api-key|zai-cn|codex|qwen-api-key-cn|qwen-api-key|zai-coding-cn|zai-coding-global|cohere-api-key|copilot-proxy|deepinfra-api-key|deepseek-api-key|featherless-api-key|fireworks-api-key|google-gemini-cli|github-copilot|zai-global|gmi-api-key|gemini-api-key|google-vertex-api-key|groq-api-key|huggingface-api-key|kilocode-api-key|kimi-code-api-key|litellm-api-key|lmstudio|longcat-api-key|meta-api-key|microsoft-foundry-apikey|microsoft-foundry-entra|minimax-cn-api|minimax-global-api|minimax-cn-oauth|minimax-global-oauth|mistral-api-key|moonshot-api-key|moonshot-api-key-cn|novita-api-key|nvidia-api-key|ollama|ollama-cloud|openai-api-key|opencode-go|opencode-zen|arceeai-openrouter|openrouter-api-key|openrouter-oauth|qianfan-api-key|qwen-oauth|sglang|qwen-standard-api-key-cn|qwen-standard-api-key|stepfun-standard-api-key-cn|stepfun-standard-api-key-intl|stepfun-plan-api-key-cn|stepfun-plan-api-key-intl|synthetic-api-key|tokenhub-api-key|tokenplan-api-key|together-api-key|venice-api-key|ai-gateway-api-key|vllm|volcengine-api-key|xai-api-key|xai-device-code|xai-oauth|xiaomi-api-key|xiaomi-token-plan-cn|xiaomi-token-plan-ams|xiaomi-token-plan-sgp|zai-api-key]" \
|
||||
"--token-provider[Token provider id (non-interactive; used with --auth-choice token)]" \
|
||||
"--token[Token value (non-interactive; used with --auth-choice token)]" \
|
||||
"--token-profile-id[Auth profile id (non-interactive; default: <provider>:manual)]" \
|
||||
@@ -126,6 +118,7 @@ _openclaw_onboard() {
|
||||
"--alibaba-model-studio-api-key[Alibaba Model Studio API key]" \
|
||||
"--anthropic-api-key[Anthropic API key]" \
|
||||
"--byteplus-api-key[BytePlus API key]" \
|
||||
"--clawrouter-api-key[ClawRouter proxy key]" \
|
||||
"--cohere-api-key[Cohere API key]" \
|
||||
"--comfy-api-key[Comfy Cloud API key]" \
|
||||
"--fal-api-key[fal API key]" \
|
||||
@@ -134,6 +127,7 @@ _openclaw_onboard() {
|
||||
"--huggingface-api-key[Hugging Face API key (HF token)]" \
|
||||
"--litellm-api-key[LiteLLM API key]" \
|
||||
"--lmstudio-api-key[LM Studio API key]" \
|
||||
"--meta-api-key[Meta API key]" \
|
||||
"--minimax-api-key[MiniMax API key]" \
|
||||
"--mistral-api-key[Mistral API key]" \
|
||||
"--novita-api-key[NovitaAI API key]" \
|
||||
@@ -157,7 +151,9 @@ _openclaw_onboard() {
|
||||
"--chutes-api-key[Chutes API key]" \
|
||||
"--cloudflare-ai-gateway-api-key[Cloudflare AI Gateway API key]" \
|
||||
"--deepinfra-api-key[DeepInfra API key]" \
|
||||
"--featherless-api-key[Featherless AI API key]" \
|
||||
"--gmi-api-key[GMI Cloud API key]" \
|
||||
"--longcat-api-key[LongCat API key]" \
|
||||
"--groq-api-key[Groq API key]" \
|
||||
"--kilocode-api-key[Kilo Gateway API key]" \
|
||||
"--kimi-code-api-key[Kimi Code API key (subscription)]" \
|
||||
@@ -171,6 +167,119 @@ _openclaw_onboard() {
|
||||
"--fireworks-api-key[Fireworks API key]" \
|
||||
"--moonshot-api-key[Moonshot API key]" \
|
||||
"--tokenhub-api-key[Tencent TokenHub API key]" \
|
||||
"--tokenplan-api-key[Tencent TokenPlan API key]" \
|
||||
"--venice-api-key[Venice API key]" \
|
||||
"--ai-gateway-api-key[Vercel AI Gateway API key]" \
|
||||
"--zai-api-key[Z.AI API key]" \
|
||||
"--stepfun-api-key[StepFun API key]" \
|
||||
"--custom-base-url[Custom provider base URL]" \
|
||||
"--custom-api-key[Custom provider API key (optional)]" \
|
||||
"--custom-model-id[Custom provider model ID]" \
|
||||
"--custom-provider-id[Custom provider ID (optional; auto-derived by default)]" \
|
||||
"--custom-compatibility[Custom provider API compatibility: openai|openai-responses|anthropic (default: openai)]" \
|
||||
"--custom-image-input[Mark the custom provider model as image-capable]" \
|
||||
"--custom-text-input[Mark the custom provider model as text-only]" \
|
||||
"--gateway-port[Gateway port]" \
|
||||
"--gateway-bind[Gateway bind: loopback|tailnet|lan|auto|custom]" \
|
||||
"--gateway-auth[Gateway auth: token|password]" \
|
||||
"--gateway-token[Gateway token (token auth)]" \
|
||||
"--gateway-token-ref-env[Gateway token SecretRef env var name (token auth; e.g. OPENCLAW_GATEWAY_TOKEN)]" \
|
||||
"--gateway-password[Gateway password (password auth)]" \
|
||||
"--tailscale[Tailscale: off|serve|funnel]" \
|
||||
"--tailscale-reset-on-exit[Reset tailscale serve/funnel on exit]" \
|
||||
"--install-daemon[Install gateway service]" \
|
||||
"--no-install-daemon[Skip gateway service install]" \
|
||||
"--skip-daemon[Skip gateway service install]" \
|
||||
"--daemon-runtime[Daemon runtime: node]" \
|
||||
"--skip-channels[Skip channel setup]" \
|
||||
"--skip-skills[Skip skills setup]" \
|
||||
"--skip-bootstrap[Skip creating default agent workspace files]" \
|
||||
"--skip-search[Skip search provider setup]" \
|
||||
"--skip-health[Skip health check]" \
|
||||
"--skip-ui[Skip Control UI/TUI launch]" \
|
||||
"--suppress-gateway-token-output[Suppress token-bearing Gateway/UI output]" \
|
||||
"--skip-hooks[Accepted for onboard compatibility; hooks setup is skipped]" \
|
||||
"--node-manager[Node manager for skills: npm|pnpm|bun]" \
|
||||
"--import-from[Migration provider to run during onboarding]" \
|
||||
"--import-source[Source agent home for --import-from]" \
|
||||
"--import-secrets[Import supported secrets during onboarding migration]" \
|
||||
"--remote-url[Remote Gateway WebSocket URL]" \
|
||||
"--remote-token[Remote Gateway token (optional)]" \
|
||||
"--json[Output JSON summary]"
|
||||
}
|
||||
|
||||
_openclaw_onboard() {
|
||||
_arguments -C \
|
||||
"--workspace[Agent workspace directory (default: ~/.openclaw/workspace)]" \
|
||||
"--reset[Reset config + credentials + sessions before running onboard (workspace only with --reset-scope full)]" \
|
||||
"--reset-scope[Reset scope: config|config+creds+sessions|full]" \
|
||||
"--non-interactive[Run without prompts]" \
|
||||
"--modern[Alias for the default bootstrap onboarding (kept for compatibility)]" \
|
||||
"--classic[Use the classic multi-step setup wizard]" \
|
||||
"--accept-risk[Acknowledge that agents are powerful and full system access is risky (required for --non-interactive)]" \
|
||||
"--flow[Onboard flow: quickstart|advanced|manual|import]" \
|
||||
"--mode[Onboard mode: local|remote]" \
|
||||
"--auth-choice[Auth: custom-api-key|skip|claude-cli|apiKey|anthropic-cli|setup-token|arceeai-api-key|byteplus-api-key|cerebras-api-key|openai-device-code|openai|chutes|chutes-api-key|clawrouter-api-key|cloudflare-ai-gateway-api-key|zai-cn|codex|qwen-api-key-cn|qwen-api-key|zai-coding-cn|zai-coding-global|cohere-api-key|copilot-proxy|deepinfra-api-key|deepseek-api-key|featherless-api-key|fireworks-api-key|google-gemini-cli|github-copilot|zai-global|gmi-api-key|gemini-api-key|google-vertex-api-key|groq-api-key|huggingface-api-key|kilocode-api-key|kimi-code-api-key|litellm-api-key|lmstudio|longcat-api-key|meta-api-key|microsoft-foundry-apikey|microsoft-foundry-entra|minimax-cn-api|minimax-global-api|minimax-cn-oauth|minimax-global-oauth|mistral-api-key|moonshot-api-key|moonshot-api-key-cn|novita-api-key|nvidia-api-key|ollama|ollama-cloud|openai-api-key|opencode-go|opencode-zen|arceeai-openrouter|openrouter-api-key|openrouter-oauth|qianfan-api-key|qwen-oauth|sglang|qwen-standard-api-key-cn|qwen-standard-api-key|stepfun-standard-api-key-cn|stepfun-standard-api-key-intl|stepfun-plan-api-key-cn|stepfun-plan-api-key-intl|synthetic-api-key|tokenhub-api-key|tokenplan-api-key|together-api-key|venice-api-key|ai-gateway-api-key|vllm|volcengine-api-key|xai-api-key|xai-device-code|xai-oauth|xiaomi-api-key|xiaomi-token-plan-cn|xiaomi-token-plan-ams|xiaomi-token-plan-sgp|zai-api-key]" \
|
||||
"--token-provider[Token provider id (non-interactive; used with --auth-choice token)]" \
|
||||
"--token[Token value (non-interactive; used with --auth-choice token)]" \
|
||||
"--token-profile-id[Auth profile id (non-interactive; default: <provider>:manual)]" \
|
||||
"--token-expires-in[Optional token expiry duration (e.g. 365d, 12h)]" \
|
||||
"--secret-input-mode[API key persistence mode: plaintext|ref (default: plaintext)]" \
|
||||
"--cloudflare-ai-gateway-account-id[Cloudflare Account ID]" \
|
||||
"--cloudflare-ai-gateway-gateway-id[Cloudflare AI Gateway ID]" \
|
||||
"--alibaba-model-studio-api-key[Alibaba Model Studio API key]" \
|
||||
"--anthropic-api-key[Anthropic API key]" \
|
||||
"--byteplus-api-key[BytePlus API key]" \
|
||||
"--clawrouter-api-key[ClawRouter proxy key]" \
|
||||
"--cohere-api-key[Cohere API key]" \
|
||||
"--comfy-api-key[Comfy Cloud API key]" \
|
||||
"--fal-api-key[fal API key]" \
|
||||
"--github-copilot-token[GitHub Copilot OAuth token]" \
|
||||
"--gemini-api-key[Gemini API key]" \
|
||||
"--huggingface-api-key[Hugging Face API key (HF token)]" \
|
||||
"--litellm-api-key[LiteLLM API key]" \
|
||||
"--lmstudio-api-key[LM Studio API key]" \
|
||||
"--meta-api-key[Meta API key]" \
|
||||
"--minimax-api-key[MiniMax API key]" \
|
||||
"--mistral-api-key[Mistral API key]" \
|
||||
"--novita-api-key[NovitaAI API key]" \
|
||||
"--nvidia-api-key[NVIDIA API key]" \
|
||||
"--ollama-cloud-api-key[Ollama Cloud API key]" \
|
||||
"--openai-api-key[OpenAI API Key]" \
|
||||
"--opencode-zen-api-key[OpenCode API key (Zen catalog)]" \
|
||||
"--opencode-go-api-key[OpenCode API key (Go catalog)]" \
|
||||
"--openrouter-api-key[OpenRouter API key]" \
|
||||
"--runway-api-key[Runway API key]" \
|
||||
"--synthetic-api-key[Synthetic API key]" \
|
||||
"--together-api-key[Together AI API key]" \
|
||||
"--volcengine-api-key[Volcano Engine API key]" \
|
||||
"--vydra-api-key[Vydra API key]" \
|
||||
"--xai-api-key[xAI API key]" \
|
||||
"--xiaomi-api-key[Xiaomi MiMo pay-as-you-go API key]" \
|
||||
"--xiaomi-token-plan-api-key[Xiaomi MiMo Token Plan API key]" \
|
||||
"--deepseek-api-key[DeepSeek API key]" \
|
||||
"--arceeai-api-key[Arcee AI API key]" \
|
||||
"--cerebras-api-key[Cerebras API key]" \
|
||||
"--chutes-api-key[Chutes API key]" \
|
||||
"--cloudflare-ai-gateway-api-key[Cloudflare AI Gateway API key]" \
|
||||
"--deepinfra-api-key[DeepInfra API key]" \
|
||||
"--featherless-api-key[Featherless AI API key]" \
|
||||
"--gmi-api-key[GMI Cloud API key]" \
|
||||
"--longcat-api-key[LongCat API key]" \
|
||||
"--groq-api-key[Groq API key]" \
|
||||
"--kilocode-api-key[Kilo Gateway API key]" \
|
||||
"--kimi-code-api-key[Kimi Code API key (subscription)]" \
|
||||
"--pixverse-api-key[PixVerse API key]" \
|
||||
"--qianfan-api-key[QIANFAN API key]" \
|
||||
"--modelstudio-standard-api-key-cn[Qwen Cloud standard API key (China)]" \
|
||||
"--modelstudio-standard-api-key[Qwen Cloud standard API key (Global/Intl)]" \
|
||||
"--modelstudio-api-key-cn[Qwen Cloud Coding Plan API key (China)]" \
|
||||
"--modelstudio-api-key[Qwen Cloud Coding Plan API key (Global/Intl)]" \
|
||||
"--qwen-oauth-token[Qwen OAuth token]" \
|
||||
"--fireworks-api-key[Fireworks API key]" \
|
||||
"--moonshot-api-key[Moonshot API key]" \
|
||||
"--tokenhub-api-key[Tencent TokenHub API key]" \
|
||||
"--tokenplan-api-key[Tencent TokenPlan API key]" \
|
||||
"--venice-api-key[Venice API key]" \
|
||||
"--ai-gateway-api-key[Vercel AI Gateway API key]" \
|
||||
"--zai-api-key[Z.AI API key]" \
|
||||
@@ -195,7 +304,7 @@ _openclaw_onboard() {
|
||||
"--install-daemon[Install gateway service]" \
|
||||
"--no-install-daemon[Skip gateway service install]" \
|
||||
"--skip-daemon[Skip gateway service install]" \
|
||||
"--daemon-runtime[Daemon runtime: node|bun]" \
|
||||
"--daemon-runtime[Daemon runtime: node]" \
|
||||
"--skip-channels[Skip channel setup]" \
|
||||
"--skip-skills[Skip skills setup]" \
|
||||
"--skip-bootstrap[Skip creating default agent workspace files]" \
|
||||
@@ -431,6 +540,7 @@ _openclaw_doctor() {
|
||||
"--post-upgrade[Emit plugin-compat findings only (machine-readable with --json)]" \
|
||||
"--json[With --lint or --post-upgrade: emit machine-readable JSON output]" \
|
||||
"--severity-min[With --lint: drop findings below this severity (info|warning|error)]" \
|
||||
"--all[With --lint: run all registered checks, including opt-in checks]" \
|
||||
"--skip[With --lint: skip a specific check id (repeatable)]" \
|
||||
"--only[With --lint: run only the specified check id (repeatable)]"
|
||||
}
|
||||
@@ -1358,6 +1468,20 @@ _openclaw_agents() {
|
||||
esac
|
||||
}
|
||||
|
||||
_openclaw_audit() {
|
||||
_arguments -C \
|
||||
"--agent[Filter by agent id]" \
|
||||
"--session[Filter by exact session key]" \
|
||||
"--run[Filter by run id]" \
|
||||
"--kind[Filter by kind (agent_run or tool_action)]" \
|
||||
"--status[Filter by status (started, succeeded, failed, cancelled, timed_out, blocked, unknown)]" \
|
||||
"--after[Include records at/after ISO time or Unix milliseconds]" \
|
||||
"--before[Include records at/before ISO time or Unix milliseconds]" \
|
||||
"--cursor[Continue from a previous result cursor]" \
|
||||
"--limit[Maximum records (1-500)]" \
|
||||
"--json[Output a bounded JSON page]"
|
||||
}
|
||||
|
||||
_openclaw_status() {
|
||||
_arguments -C \
|
||||
"--json[Output JSON instead of text]" \
|
||||
@@ -1429,7 +1553,7 @@ _openclaw_sessions_compact() {
|
||||
"--url[Gateway WebSocket URL (defaults to gateway.remote.url when configured)]" \
|
||||
"--token[Gateway token (if required)]" \
|
||||
"--password[Gateway password (password auth)]" \
|
||||
"--timeout[RPC timeout in milliseconds (summarization can be slow)]" \
|
||||
"--timeout[RPC timeout in milliseconds (defaults to no client deadline)]" \
|
||||
"--json[Output JSON]"
|
||||
}
|
||||
|
||||
@@ -1670,7 +1794,7 @@ _openclaw_gateway_status() {
|
||||
_openclaw_gateway_install() {
|
||||
_arguments -C \
|
||||
"--port[Gateway port]" \
|
||||
"--runtime[Daemon runtime (node|bun). Default: node]" \
|
||||
"--runtime[Daemon runtime (node). Default: node]" \
|
||||
"--token[Gateway token (token auth)]" \
|
||||
"--wrapper[Executable wrapper for generated service ProgramArguments]" \
|
||||
"--force[Reinstall/overwrite if already installed]" \
|
||||
@@ -1696,9 +1820,9 @@ _openclaw_gateway_stop() {
|
||||
_openclaw_gateway_restart() {
|
||||
_arguments -C \
|
||||
"--force[Restart immediately without waiting for active gateway work]" \
|
||||
"--safe[Request an OpenClaw-aware restart after active work drains]" \
|
||||
"--safe[Request an OpenClaw-aware restart after active work drains (bounded wait; may force after gateway.reload.deferralTimeoutMs expires; set deferralTimeoutMs=0 for indefinite wait)]" \
|
||||
"--skip-deferral[Bypass the safe-restart deferral gate; requires --safe]" \
|
||||
"--wait[Wait duration before forcing restart (ms, 10s, 5m; 0 waits indefinitely)]" \
|
||||
"--wait[Wait duration before restart (ms, 10s, 5m; 0 waits indefinitely). For non-safe restarts (plain restart); not compatible with --force or --safe]" \
|
||||
"--json[Output JSON]"
|
||||
}
|
||||
|
||||
@@ -1867,7 +1991,7 @@ _openclaw_daemon_status() {
|
||||
_openclaw_daemon_install() {
|
||||
_arguments -C \
|
||||
"--port[Gateway port]" \
|
||||
"--runtime[Daemon runtime (node|bun). Default: node]" \
|
||||
"--runtime[Daemon runtime (node). Default: node]" \
|
||||
"--token[Gateway token (token auth)]" \
|
||||
"--wrapper[Executable wrapper for generated service ProgramArguments]" \
|
||||
"--force[Reinstall/overwrite if already installed]" \
|
||||
@@ -1893,9 +2017,9 @@ _openclaw_daemon_stop() {
|
||||
_openclaw_daemon_restart() {
|
||||
_arguments -C \
|
||||
"--force[Restart immediately without waiting for active gateway work]" \
|
||||
"--safe[Request an OpenClaw-aware restart after active work drains]" \
|
||||
"--safe[Request an OpenClaw-aware restart after active work drains (bounded wait; may force after gateway.reload.deferralTimeoutMs expires; set deferralTimeoutMs=0 for indefinite wait)]" \
|
||||
"--skip-deferral[Bypass the safe-restart deferral gate; requires --safe]" \
|
||||
"--wait[Wait duration before forcing restart (ms, 10s, 5m; 0 waits indefinitely)]" \
|
||||
"--wait[Wait duration before restart (ms, 10s, 5m; 0 waits indefinitely). For non-safe restarts (plain restart); not compatible with --force or --safe]" \
|
||||
"--json[Output JSON]"
|
||||
}
|
||||
|
||||
@@ -2334,6 +2458,36 @@ _openclaw_models() {
|
||||
esac
|
||||
}
|
||||
|
||||
_openclaw_promos_list() {
|
||||
_arguments -C \
|
||||
"--json[Output JSON]"
|
||||
}
|
||||
|
||||
_openclaw_promos_claim() {
|
||||
_arguments -C \
|
||||
"--api-key[Provider API key for non-interactive setup]" \
|
||||
"--set-default[Set the promotion's suggested model as default without asking]"
|
||||
}
|
||||
|
||||
_openclaw_promos() {
|
||||
local -a commands
|
||||
local -a options
|
||||
|
||||
_arguments -C \
|
||||
\
|
||||
"1: :_values 'command' 'list[List active promotions]' 'claim[Claim a promotion: set up provider auth and register its models]'" \
|
||||
"*::arg:->args"
|
||||
|
||||
case $state in
|
||||
(args)
|
||||
case $line[1] in
|
||||
(list) _openclaw_promos_list ;;
|
||||
(claim) _openclaw_promos_claim ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
_openclaw_infer_list() {
|
||||
_arguments -C \
|
||||
"--json[Output JSON]"
|
||||
@@ -3274,6 +3428,7 @@ _openclaw_node_run() {
|
||||
_arguments -C \
|
||||
"--host[Gateway host]" \
|
||||
"--port[Gateway port]" \
|
||||
"--context-path[Gateway WebSocket context path (e.g. /openclaw-gw)]" \
|
||||
"--tls[Use TLS for the gateway connection]" \
|
||||
"--tls-fingerprint[Expected TLS certificate fingerprint (sha256)]" \
|
||||
"--node-id[Override node id (clears pairing token)]" \
|
||||
@@ -3289,11 +3444,12 @@ _openclaw_node_install() {
|
||||
_arguments -C \
|
||||
"--host[Gateway host]" \
|
||||
"--port[Gateway port]" \
|
||||
"--context-path[Gateway WebSocket context path (e.g. /openclaw-gw)]" \
|
||||
"--tls[Use TLS for the gateway connection]" \
|
||||
"--tls-fingerprint[Expected TLS certificate fingerprint (sha256)]" \
|
||||
"--node-id[Override node id (clears pairing token)]" \
|
||||
"--display-name[Override node display name]" \
|
||||
"--runtime[Service runtime (node|bun). Default: node]" \
|
||||
"--runtime[Service runtime (node). Default: node]" \
|
||||
"--force[Reinstall/overwrite if already installed]" \
|
||||
"--json[Output JSON]"
|
||||
}
|
||||
@@ -3384,6 +3540,64 @@ _openclaw_sandbox() {
|
||||
esac
|
||||
}
|
||||
|
||||
_openclaw_worktrees_list() {
|
||||
_arguments -C \
|
||||
"--json[Output JSON]"
|
||||
}
|
||||
|
||||
_openclaw_worktrees_create() {
|
||||
_arguments -C \
|
||||
"--name[Managed worktree name]" \
|
||||
"--base-ref[Git ref to branch from]" \
|
||||
"--json[Output JSON]"
|
||||
}
|
||||
|
||||
_openclaw_worktrees_remove() {
|
||||
_arguments -C \
|
||||
"--force[Remove even if snapshot creation fails]" \
|
||||
"--json[Output JSON]"
|
||||
}
|
||||
|
||||
_openclaw_worktrees_restore() {
|
||||
_arguments -C \
|
||||
"--json[Output JSON]"
|
||||
}
|
||||
|
||||
_openclaw_worktrees_gc() {
|
||||
_arguments -C \
|
||||
"--json[Output JSON]"
|
||||
}
|
||||
|
||||
_openclaw_worktrees() {
|
||||
local -a commands
|
||||
local -a options
|
||||
|
||||
_arguments -C \
|
||||
\
|
||||
"1: :_values 'command' 'list[List active and restorable managed worktrees]' 'create[Create a managed worktree]' 'remove[Snapshot and remove a managed worktree]' 'restore[Restore a managed worktree from its snapshot]' 'gc[Run managed worktree cleanup now]'" \
|
||||
"*::arg:->args"
|
||||
|
||||
case $state in
|
||||
(args)
|
||||
case $line[1] in
|
||||
(list) _openclaw_worktrees_list ;;
|
||||
(create) _openclaw_worktrees_create ;;
|
||||
(remove) _openclaw_worktrees_remove ;;
|
||||
(restore) _openclaw_worktrees_restore ;;
|
||||
(gc) _openclaw_worktrees_gc ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
_openclaw_attach() {
|
||||
_arguments -C \
|
||||
"--session[Gateway session key to bind (default: main session)]" \
|
||||
"--ttl[Grant TTL in milliseconds (default: gateway policy)]" \
|
||||
"--bin[Claude Code binary to spawn]" \
|
||||
"--print-config[Mint the grant + write the .mcp.json, print how to launch it, and exit without spawning]"
|
||||
}
|
||||
|
||||
_openclaw_tui() {
|
||||
_arguments -C \
|
||||
"--local[Run against the local embedded agent runtime]" \
|
||||
@@ -3421,6 +3635,8 @@ _openclaw_cron_list() {
|
||||
_openclaw_cron_add() {
|
||||
_arguments -C \
|
||||
"--name[Job name]" \
|
||||
"--declaration-key[Idempotent declaration identity key]" \
|
||||
"--display-name[Human-readable declarative job label]" \
|
||||
"--description[Optional description]" \
|
||||
"--disabled[Create job disabled]" \
|
||||
"--delete-after-run[Delete one-shot job after it succeeds]" \
|
||||
@@ -3432,9 +3648,13 @@ _openclaw_cron_add() {
|
||||
"--at[Run once at time (ISO with offset, or +duration). Use --tz for offset-less datetimes]" \
|
||||
"--every[Run every duration (e.g. 10m, 1h)]" \
|
||||
"--cron[Cron expression (5-field or 6-field with seconds)]" \
|
||||
"--on-exit[Fire once when this watched command exits (event trigger; survives turn teardown)]" \
|
||||
"--on-exit-cwd[Working directory for the --on-exit watched command]" \
|
||||
"--tz[Timezone for cron expressions (IANA; cron default: Gateway host local timezone)]" \
|
||||
"--stagger[Cron stagger window (e.g. 30s, 5m)]" \
|
||||
"--exact[Disable cron staggering (set stagger to 0)]" \
|
||||
"(--trigger-script ->)"{--trigger-script,->}"[Condition script file, or - for stdin]" \
|
||||
"--trigger-once[Disable after the first successful triggered run]" \
|
||||
"--system-event[System event payload (main session)]" \
|
||||
"--message[Agent message payload]" \
|
||||
"--command[Command payload run as sh -lc <shell> on the Gateway]" \
|
||||
@@ -3442,7 +3662,7 @@ _openclaw_cron_add() {
|
||||
"--command-cwd[Working directory for command payloads]" \
|
||||
"--command-env[Environment override for command payloads (repeatable)]" \
|
||||
"--command-input[stdin for command payloads]" \
|
||||
"--thinking[Thinking level for agent jobs (off|minimal|low|medium|high|xhigh)]" \
|
||||
"--thinking[Thinking level for agent jobs (off|minimal|low|medium|high|xhigh|adaptive|max|ultra)]" \
|
||||
"--model[Model override for agent jobs (provider/model or alias)]" \
|
||||
"--fallbacks[Fallback model list for agent jobs]" \
|
||||
"--timeout-seconds[Timeout seconds for agent or command jobs]" \
|
||||
@@ -3551,6 +3771,9 @@ _openclaw_cron_edit() {
|
||||
"--tz[Timezone for cron expressions (IANA; cron default: Gateway host local timezone)]" \
|
||||
"--stagger[Cron stagger window (e.g. 30s, 5m)]" \
|
||||
"--exact[Disable cron staggering (set stagger to 0)]" \
|
||||
"(--trigger-script ->)"{--trigger-script,->}"[Set condition script from file, or - for stdin]" \
|
||||
"--trigger-once[Disable after the first successful triggered run]" \
|
||||
"--clear-trigger[Remove the condition trigger]" \
|
||||
"--system-event[Set systemEvent payload]" \
|
||||
"--message[Set agentTurn payload message]" \
|
||||
"--command[Set command payload run as sh -lc <shell> on the Gateway]" \
|
||||
@@ -3558,7 +3781,8 @@ _openclaw_cron_edit() {
|
||||
"--command-cwd[Set command payload working directory]" \
|
||||
"--command-env[Set command payload environment overrides (repeatable)]" \
|
||||
"--command-input[Set command payload stdin]" \
|
||||
"--thinking[Thinking level for agent jobs (off|minimal|low|medium|high|xhigh)]" \
|
||||
"--thinking[Thinking level for agent jobs (off|minimal|low|medium|high|xhigh|adaptive|max|ultra)]" \
|
||||
"--clear-thinking[Remove the per-job thinking override (restore normal cron thinking precedence)]" \
|
||||
"--model[Model override for agent jobs]" \
|
||||
"--fallbacks[Fallback model list for agent jobs]" \
|
||||
"--clear-fallbacks[Remove per-job fallback override]" \
|
||||
@@ -3606,7 +3830,7 @@ _openclaw_cron() {
|
||||
|
||||
_arguments -C \
|
||||
\
|
||||
"1: :_values 'command' 'status[Show cron scheduler status]' 'list[List cron jobs]' 'add[Add a cron job]' 'rm[Remove a cron job]' 'enable[Enable a cron job]' 'disable[Disable a cron job]' 'get[Get a cron job as JSON]' 'show[Show a cron job]' 'runs[Show cron run history]' 'run[Run a cron job now (debug)]' 'edit[Edit a cron job (patch fields)]'" \
|
||||
"1: :_values 'command' 'status[Show cron scheduler status]' 'list[List cron jobs]' 'add[Add a cron job]' 'create[Add a cron job]' 'rm[Remove a cron job]' 'remove[Remove a cron job]' 'delete[Remove a cron job]' 'enable[Enable a cron job]' 'disable[Disable a cron job]' 'get[Get a cron job as JSON]' 'show[Show a cron job]' 'runs[Show cron run history]' 'run[Run a cron job now (debug)]' 'edit[Edit a cron job (patch fields)]'" \
|
||||
"*::arg:->args"
|
||||
|
||||
case $state in
|
||||
@@ -3614,8 +3838,8 @@ _openclaw_cron() {
|
||||
case $line[1] in
|
||||
(status) _openclaw_cron_status ;;
|
||||
(list) _openclaw_cron_list ;;
|
||||
(add) _openclaw_cron_add ;;
|
||||
(rm) _openclaw_cron_rm ;;
|
||||
(add|create) _openclaw_cron_add ;;
|
||||
(rm|remove|delete) _openclaw_cron_rm ;;
|
||||
(enable) _openclaw_cron_enable ;;
|
||||
(disable) _openclaw_cron_disable ;;
|
||||
(get) _openclaw_cron_get ;;
|
||||
@@ -3930,14 +4154,14 @@ _openclaw_clawbot() {
|
||||
|
||||
_openclaw_pairing_list() {
|
||||
_arguments -C \
|
||||
"--channel[Channel ()]" \
|
||||
"--channel[Channel (none configured)]" \
|
||||
"--account[Account id (for multi-account channels)]" \
|
||||
"--json[Print JSON]"
|
||||
}
|
||||
|
||||
_openclaw_pairing_approve() {
|
||||
_arguments -C \
|
||||
"--channel[Channel ()]" \
|
||||
"--channel[Channel (none configured)]" \
|
||||
"--account[Account id (for multi-account channels)]" \
|
||||
"--notify[Notify the requester on the same channel]"
|
||||
}
|
||||
@@ -4005,6 +4229,7 @@ _openclaw_plugins_install() {
|
||||
"--force[Overwrite an existing installed plugin or hook pack]" \
|
||||
"--pin[Record npm installs as exact resolved <name>@<version>]" \
|
||||
"--dangerously-force-unsafe-install[Deprecated no-op; security.installPolicy may still block]" \
|
||||
"--acknowledge-clawhub-risk[Acknowledge ClawHub release trust warnings without prompting]" \
|
||||
"--marketplace[Install a Claude marketplace plugin from a local repo/path or git/GitHub source]"
|
||||
}
|
||||
|
||||
@@ -4012,7 +4237,8 @@ _openclaw_plugins_update() {
|
||||
_arguments -C \
|
||||
"--all[Update all tracked plugins and hook packs]" \
|
||||
"--dry-run[Show what would change without writing]" \
|
||||
"--dangerously-force-unsafe-install[Deprecated no-op; security.installPolicy may still block]"
|
||||
"--dangerously-force-unsafe-install[Deprecated no-op; security.installPolicy may still block]" \
|
||||
"--acknowledge-clawhub-risk[Acknowledge ClawHub release trust warnings without prompting]"
|
||||
}
|
||||
|
||||
_openclaw_plugins_registry() {
|
||||
@@ -4043,9 +4269,26 @@ _openclaw_plugins_init() {
|
||||
_arguments -C \
|
||||
"--directory[Output directory]" \
|
||||
"--name[Display name]" \
|
||||
"--type[Scaffold type (tool or provider)]" \
|
||||
"--force[Overwrite an existing output directory]"
|
||||
}
|
||||
|
||||
_openclaw_plugins_marketplace_entries() {
|
||||
_arguments -C \
|
||||
"--feed-profile[Configured marketplace feed profile to list]" \
|
||||
"--feed-url[Explicit hosted marketplace feed URL]" \
|
||||
"--offline[Read the latest accepted snapshot without fetching the feed]" \
|
||||
"--json[Print JSON]"
|
||||
}
|
||||
|
||||
_openclaw_plugins_marketplace_refresh() {
|
||||
_arguments -C \
|
||||
"--feed-profile[Configured marketplace feed profile to refresh]" \
|
||||
"--feed-url[Explicit hosted marketplace feed URL]" \
|
||||
"--expected-sha256[Expected hosted feed SHA-256 payload checksum]" \
|
||||
"--json[Print JSON]"
|
||||
}
|
||||
|
||||
_openclaw_plugins_marketplace_list() {
|
||||
_arguments -C \
|
||||
"--json[Print JSON]"
|
||||
@@ -4057,12 +4300,14 @@ _openclaw_plugins_marketplace() {
|
||||
|
||||
_arguments -C \
|
||||
\
|
||||
"1: :_values 'command' 'list[List plugins published by a marketplace source]'" \
|
||||
"1: :_values 'command' 'entries[List entries from the configured OpenClaw marketplace feed]' 'refresh[Refresh the configured OpenClaw marketplace feed snapshot]' 'list[List plugins published by a marketplace source]'" \
|
||||
"*::arg:->args"
|
||||
|
||||
case $state in
|
||||
(args)
|
||||
case $line[1] in
|
||||
(entries) _openclaw_plugins_marketplace_entries ;;
|
||||
(refresh) _openclaw_plugins_marketplace_refresh ;;
|
||||
(list) _openclaw_plugins_marketplace_list ;;
|
||||
esac
|
||||
;;
|
||||
@@ -4075,7 +4320,7 @@ _openclaw_plugins() {
|
||||
|
||||
_arguments -C \
|
||||
\
|
||||
"1: :_values 'command' 'list[List discovered plugins]' 'search[Search ClawHub plugin packages]' 'inspect[Inspect plugin details]' 'enable[Enable a plugin in config]' 'disable[Disable a plugin in config]' 'uninstall[Uninstall a plugin]' 'install[Install a plugin or hook pack (path, archive, npm spec, git repo, clawhub:package, or marketplace entry)]' 'update[Update installed plugins and tracked hook packs]' 'registry[Inspect or rebuild the persisted plugin registry]' 'doctor[Report plugin load issues]' 'build[Generate simple tool plugin metadata]' 'validate[Validate simple tool plugin metadata]' 'init[Create a simple tool plugin project]' 'marketplace[Inspect Claude-compatible plugin marketplaces]'" \
|
||||
"1: :_values 'command' 'list[List discovered plugins]' 'search[Search ClawHub plugin packages]' 'inspect[Inspect plugin details]' 'info[Inspect plugin details]' 'enable[Enable a plugin in config]' 'disable[Disable a plugin in config]' 'uninstall[Uninstall a plugin]' 'install[Install a plugin or hook pack (path, archive, npm spec, git repo, clawhub:package, or marketplace entry)]' 'update[Update installed plugins and tracked hook packs]' 'registry[Inspect or rebuild the persisted plugin registry]' 'doctor[Report plugin load issues]' 'build[Generate simple tool plugin metadata]' 'validate[Validate simple tool plugin metadata]' 'init[Create a plugin project]' 'marketplace[Inspect Claude-compatible plugin marketplaces]'" \
|
||||
"*::arg:->args"
|
||||
|
||||
case $state in
|
||||
@@ -4083,7 +4328,7 @@ _openclaw_plugins() {
|
||||
case $line[1] in
|
||||
(list) _openclaw_plugins_list ;;
|
||||
(search) _openclaw_plugins_search ;;
|
||||
(inspect) _openclaw_plugins_inspect ;;
|
||||
(inspect|info) _openclaw_plugins_inspect ;;
|
||||
(enable) _openclaw_plugins_enable ;;
|
||||
(disable) _openclaw_plugins_disable ;;
|
||||
(uninstall) _openclaw_plugins_uninstall ;;
|
||||
@@ -4394,6 +4639,7 @@ _openclaw_skills_install() {
|
||||
"--version[Install a specific version]" \
|
||||
"--force[Overwrite an existing workspace skill]" \
|
||||
"--force-install[Install a pending GitHub-backed skill before ClawHub scan completes]" \
|
||||
"--acknowledge-clawhub-risk[Acknowledge ClawHub release trust warnings without prompting]" \
|
||||
"--global[Install into the shared managed skills directory]" \
|
||||
"--agent[Target agent workspace (defaults to cwd-inferred, then default agent)]" \
|
||||
"--as[Install a git/local skill under this slug]"
|
||||
@@ -4403,6 +4649,7 @@ _openclaw_skills_update() {
|
||||
_arguments -C \
|
||||
"--all[Update all tracked ClawHub skills]" \
|
||||
"--force-install[Install a pending GitHub-backed skill before ClawHub scan completes]" \
|
||||
"--acknowledge-clawhub-risk[Acknowledge ClawHub release trust warnings without prompting]" \
|
||||
"--global[Update skills in the shared managed skills directory]" \
|
||||
"--agent[Target agent workspace (defaults to cwd-inferred, then default agent)]"
|
||||
}
|
||||
@@ -4416,6 +4663,47 @@ _openclaw_skills_verify() {
|
||||
"--agent[Target agent workspace (defaults to cwd-inferred, then default agent)]"
|
||||
}
|
||||
|
||||
_openclaw_skills_curator_status() {
|
||||
_arguments -C \
|
||||
|
||||
}
|
||||
|
||||
_openclaw_skills_curator_pin() {
|
||||
_arguments -C \
|
||||
|
||||
}
|
||||
|
||||
_openclaw_skills_curator_unpin() {
|
||||
_arguments -C \
|
||||
|
||||
}
|
||||
|
||||
_openclaw_skills_curator_restore() {
|
||||
_arguments -C \
|
||||
|
||||
}
|
||||
|
||||
_openclaw_skills_curator() {
|
||||
local -a commands
|
||||
local -a options
|
||||
|
||||
_arguments -C \
|
||||
"--json[Output as JSON]" \
|
||||
"1: :_values 'command' 'status[Show curator run and lifecycle status]' 'pin[pin a curated skill]' 'unpin[unpin a curated skill]' 'restore[restore a curated skill]'" \
|
||||
"*::arg:->args"
|
||||
|
||||
case $state in
|
||||
(args)
|
||||
case $line[1] in
|
||||
(status) _openclaw_skills_curator_status ;;
|
||||
(pin) _openclaw_skills_curator_pin ;;
|
||||
(unpin) _openclaw_skills_curator_unpin ;;
|
||||
(restore) _openclaw_skills_curator_restore ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
_openclaw_skills_workshop_list() {
|
||||
_arguments -C \
|
||||
"--json[Output as JSON]"
|
||||
@@ -4525,7 +4813,7 @@ _openclaw_skills() {
|
||||
|
||||
_arguments -C \
|
||||
"--agent[Target agent workspace (defaults to cwd-inferred, then default agent)]" \
|
||||
"1: :_values 'command' 'search[Search ClawHub skills]' 'install[Install a skill from ClawHub, git, or a local directory]' 'update[Update ClawHub-installed skills in the active or shared managed directory]' 'verify[Verify a ClawHub skill with ClawHub]' 'workshop[Manage pending skill proposals]' 'list[List all available skills]' 'info[Show detailed information about a skill]' 'check[Check which skills are ready, visible, or missing requirements]'" \
|
||||
"1: :_values 'command' 'search[Search ClawHub skills]' 'install[Install a skill from ClawHub, git, or a local directory]' 'update[Update ClawHub-installed skills in the active or shared managed directory]' 'verify[Verify a ClawHub skill with ClawHub]' 'curator[Inspect and manage skill lifecycle curation]' 'workshop[Manage pending skill proposals]' 'list[List all available skills]' 'info[Show detailed information about a skill]' 'check[Check which skills are ready, visible, or missing requirements]'" \
|
||||
"*::arg:->args"
|
||||
|
||||
case $state in
|
||||
@@ -4535,6 +4823,7 @@ _openclaw_skills() {
|
||||
(install) _openclaw_skills_install ;;
|
||||
(update) _openclaw_skills_update ;;
|
||||
(verify) _openclaw_skills_verify ;;
|
||||
(curator) _openclaw_skills_curator ;;
|
||||
(workshop) _openclaw_skills_workshop ;;
|
||||
(list) _openclaw_skills_list ;;
|
||||
(info) _openclaw_skills_info ;;
|
||||
@@ -4550,6 +4839,7 @@ _openclaw_update_repair() {
|
||||
"--channel[Persist update channel before repair]" \
|
||||
"--timeout[Timeout for update repair steps in seconds (default: 1800)]" \
|
||||
"--yes[Skip confirmation prompts (non-interactive)]" \
|
||||
"--acknowledge-clawhub-risk[Acknowledge ClawHub release trust warnings during post-update plugin sync]" \
|
||||
"--no-restart[Accepted for update command parity; repair never restarts]"
|
||||
}
|
||||
|
||||
@@ -4559,6 +4849,7 @@ _openclaw_update_finalize() {
|
||||
"--channel[Persist update channel before repair]" \
|
||||
"--timeout[Timeout for update repair steps in seconds (default: 1800)]" \
|
||||
"--yes[Skip confirmation prompts (non-interactive)]" \
|
||||
"--acknowledge-clawhub-risk[Acknowledge ClawHub release trust warnings during post-update plugin sync]" \
|
||||
"--no-restart[Accepted for update command parity; repair never restarts]"
|
||||
}
|
||||
|
||||
@@ -4585,6 +4876,7 @@ _openclaw_update() {
|
||||
"--tag[Override the package target for this update (dist-tag, version, or package spec)]" \
|
||||
"--timeout[Timeout for each update step in seconds (default: 1800)]" \
|
||||
"--yes[Skip confirmation prompts (non-interactive)]" \
|
||||
"--acknowledge-clawhub-risk[Acknowledge ClawHub release trust warnings during post-update plugin sync]" \
|
||||
"1: :_values 'command' 'repair[Repair post-update doctor and plugin convergence]' 'finalize[Repair post-update doctor and plugin convergence]' 'wizard[Interactive update wizard]' 'status[Show update channel and version status]'" \
|
||||
"*::arg:->args"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user