تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

jasper-configguard

بواسطة emberdesire

Health & Fitness
1.2kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Safe config changes for OpenClaw with automatic.

الوصف

ما الذي تفعله هذه المهارة

Manages OpenClaw gateway config changes with automatic backup and rollback. Applies patches via deep merge, restarts the gateway, runs a health check, and reverts automatically if the gateway fails to come back up. Also exposes a JavaScript API for use inside agents.

Manual config edits require remembering to back up first and manually reverting on failure, which this automates end-to-end.

متى تستخدمها

  • Switching the default model without risking a broken gateway
  • Enabling or disabling a plugin safely in production
  • Previewing a config diff before committing a change
  • Restoring the last known good config after a bad patch
  • Running a health check on the gateway from an agent step

مثال على سير العمل

الإدخال

User asks: switch the primary model to claude-opus-4-5 safely

الوكيل
  1. 1

    Run dry-run to preview the change: jasper-configguard patch --dry-run '{"agents":{"defaults":{"model":{"primary":"anthropic/claude-opus-4-5"}}}}'

  2. 2

    Confirm diff looks correct

  3. 3

    Apply the patch: jasper-configguard patch '{"agents":{"defaults":{"model":{"primary":"anthropic/claude-opus-4-5"}}}}'

  4. 4

    Tool backs up config, applies change, restarts gateway, and runs health check

  5. 5

    If health check fails, tool auto-rolls back and reports the error

الإخراج

Gateway running with updated model, or automatically restored to previous config if restart failed

التثبيت

clawhub install emberdesire/jasper-configguard

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط