From 8592150f7a70efe9326856ec655aa48b28ab31b8 Mon Sep 17 00:00:00 2001 From: dtzp555 Date: Fri, 3 Apr 2026 08:22:55 +1000 Subject: [PATCH] =?UTF-8?q?docs:=20update=20README=20for=20v3.2.0=20?= =?UTF-8?q?=E2=80=94=20add=20update=20command,=20upgrade=20notes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Document ocp update / ocp update --check - Add Self-Update section - Add Upgrading from v3.0.x migration notes - Remove Known Issues (resolved upstream) - Note neutral service names in OpenClaw Integration Co-Authored-By: Claude Opus 4.6 --- README.md | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 1560273..0ec970f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # OCP — Open Claude Proxy -> **Status: Stable (v3.0.0)** — Feature-complete. Bug fixes only. +> **Status: Stable (v3.2.0)** — Feature-complete. Bug fixes only. > **Already paying for Claude Pro/Max? Use your subscription as an OpenAI-compatible API — $0 extra cost.** @@ -95,7 +95,8 @@ ocp sessions Active sessions ocp clear Clear all sessions ocp restart Restart proxy ocp restart gateway Restart gateway -ocp version Show version +ocp update Update to latest version +ocp update --check Check for updates without applying ocp --help Command reference ``` @@ -111,6 +112,16 @@ ocp --help > **Cloud/Linux servers:** If `ocp: command not found`, the binary isn't in PATH. Full path: `~/.openclaw/projects/ocp/ocp` +### Self-Update + +```bash +# Check if a new version is available +ocp update --check + +# Pull latest, sync plugin, restart proxy — one command +ocp update +``` + ### Runtime Settings (No Restart Needed) ``` @@ -157,6 +168,7 @@ OCP was originally built for [OpenClaw](https://github.com/openclaw/openclaw) an - **`setup.mjs`** auto-configures the `claude-local` provider in `openclaw.json` - **Gateway plugin** registers `/ocp` as a native slash command in Telegram/Discord - **Multi-agent** — 8 concurrent requests sharing one subscription +- **No conflicts** — uses neutral service names (`dev.ocp.proxy` / `ocp-proxy`) that don't trigger OpenClaw's gateway-like service detection ### Install the Gateway Plugin @@ -176,6 +188,10 @@ Add to `~/.openclaw/openclaw.json`: Restart: `openclaw gateway restart` +## Upgrading from v3.0.x + +If you installed OCP before v3.1.0, the auto-start service used names that OpenClaw's gateway detected as conflicting (`ai.openclaw.proxy` on macOS, `openclaw-proxy` on Linux). Running `node setup.mjs` or `ocp update` will automatically migrate to the new neutral names. + ## Environment Variables | Variable | Default | Description | @@ -198,20 +214,6 @@ Restart: `openclaw gateway restart` - **No API keys needed** — authentication goes through Claude CLI's OAuth session - **Auto-start** — launchd (macOS) / systemd (Linux) -## Known Issues - -### `/ocp` command returns "Unknown skill: ocp" (OpenClaw only) - -The `/ocp` plugin command may intermittently stop working in Telegram/Discord. This is caused by an OpenClaw gateway bug ([openclaw/openclaw#26895](https://github.com/openclaw/openclaw/issues/26895)). - -**Workaround:** -``` -/new -/ocp restart -``` - -**Important:** Do not add `ocp` to agent `skills` lists or place a `SKILL.md` in workspace skills — this creates a routing conflict. - ## License MIT