feat: add ocp update command + fix restart for new service names

- `ocp update`: pulls latest from GitHub, syncs plugin, restarts proxy
- `ocp update --check`: shows current vs latest version without applying
- `ocp restart`: now handles both dev.ocp.proxy and legacy ai.openclaw.proxy
  service names on macOS/Linux
- Bumps to v3.2.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-03 08:18:41 +10:00
co-authored by Claude Opus 4.6
parent b72e449337
commit 3f10b459f5
4 changed files with 117 additions and 8 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "ocp",
"name": "OCP Commands",
"description": "Slash commands for the OpenClaw Proxy — /ocp usage, /ocp settings, /ocp health, etc.",
"version": "3.1.0",
"version": "3.2.0",
"configSchema": {
"type": "object",
"additionalProperties": false,
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "ocp",
"version": "3.1.0",
"version": "3.2.0",
"description": "Slash commands for the OpenClaw Proxy",
"main": "index.js",
"type": "module",