跳至主要内容
小龙虾小龙虾AI
🤖

OpenClaw Safe Update

Safely verify and apply OpenClaw upgrades with isolated sidecar checks. Use when asked to update OpenClaw, verify a target version before upgrading, avoid gl...

下载72
星标0
版本1.0.1
开发工具
安全通过
💬Prompt

技能说明


name: openclaw-safe-update description: Safely verify and apply OpenClaw upgrades with isolated sidecar checks. Use when asked to update OpenClaw, verify a target version before upgrading, avoid global package pollution, or run a production-safe upgrade flow with verify-only default and explicit --apply. homepage: https://docs.openclaw.ai/install/updating metadata: { "openclaw": { "emoji": "🛡️", "requires": { "bins": ["openclaw", "node", "npm", "curl", "bash"] }, }, }

OpenClaw Safe Update

Run production-safe OpenClaw upgrades with isolation-first defaults.

Workflow

  1. Use bundled script: scripts/openclaw-safe-update.sh.
  2. Run verify-only first (default):
    • bash scripts/openclaw-safe-update.sh
    • Optional target pin: --target <version>
    • Port is auto-selected from free ports starting at 18000.
  3. If verify fails, inspect log path printed by script and report the root cause.
  4. If verify passes, ask whether to apply.
  5. Apply only on explicit confirmation:
    • bash scripts/openclaw-safe-update.sh --apply

Platform references

Detect OS first, then read exactly one platform guide:

  • macOS (uname = Darwin) → references/macos.md
  • Linux (uname = Linux) → references/linux.md

Rules

  • Default to verify-only; never apply without explicit user consent.
  • Keep candidate install isolated (npm --prefix ~/.openclaw/versions/<version>).
  • Keep sidecar isolated (--profile sidecar-verify, dedicated --port).
  • Preserve logs on failure and include path in status updates.
  • If verify fails, do not mutate global install.

如何使用「OpenClaw Safe Update」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「OpenClaw Safe Update」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能