diff --git a/.changeset/openclaw-2026.5-compat.md b/.changeset/openclaw-2026.5-compat.md deleted file mode 100644 index f426ba56..00000000 --- a/.changeset/openclaw-2026.5-compat.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@agent-wechat/agent-wechat": minor ---- - -Update for openclaw 2026.5+ compatibility: - -- Add `channelConfigs` metadata to `openclaw.plugin.json` so the gateway can validate config and load setup surfaces before the plugin runtime imports (silences the "channel plugin manifest declares wechat without channelConfigs metadata" warning). -- Replace deprecated `runtime.config.loadConfig()` calls with `runtime.config.current()`. -- Add a `message` adapter via `createChannelMessageAdapterFromOutbound` from `openclaw/plugin-sdk/channel-message`. The legacy `outbound` adapter is kept for older openclaw versions. -- Bump the `openclaw` peer dependency floor to `^2026.5.12`. - -The deprecated `outbound` adapter and `dispatchReplyWithBufferedBlockDispatcher` ingest flow continue to work via openclaw's compat shims; a follow-up release will migrate the monitor's dispatch path to `core.channel.turn.runPrepared(...)`. diff --git a/.changeset/rename-channel-id-agent-wechat.md b/.changeset/rename-channel-id-agent-wechat.md deleted file mode 100644 index a32f3119..00000000 --- a/.changeset/rename-channel-id-agent-wechat.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"@agent-wechat/agent-wechat": minor ---- - -Rename the OpenClaw plugin/channel id from `wechat` to `agent-wechat` and restore compatibility with OpenClaw 2026.8.x. - -OpenClaw's bundled official plugin catalog now reserves `wechat` (and `weixin`) as aliases of Tencent's `@tencent-weixin/openclaw-weixin` plugin, and the catalog is compiled into the openclaw JS bundle — so the id `wechat` gets hijacked: `plugins install` writes `plugins.entries.openclaw-weixin`, and `channels add --channel wechat` tries to install the Tencent plugin instead of this one. Patching `dist/channel-catalog.json` no longer helps. - -Changes: - -- Plugin id and channel id are now `agent-wechat`; config lives under `channels.agent-wechat`. -- Dropped the `weixin` alias (catalog-reserved). -- Imports moved from the removed bare `openclaw/plugin-sdk` export to `openclaw/plugin-sdk/core` (works on hosts >=2026.5.12, required on 2026.8.x). -- `channelConfigs` metadata added to `package.json#openclaw` so 2026.8.x setup surfaces get the config schema. -- `wechat:`-prefixed targets and allowlist entries are still accepted. - -Migration: rename the `channels.wechat` key to `channels.agent-wechat` and `plugins.entries.wechat` (or a stray `plugins.entries.openclaw-weixin`) to `plugins.entries.agent-wechat` in `openclaw.json`, then restart the gateway. Session/routing keys change with the channel id, so active conversation sessions reset. diff --git a/packages/agent-server-rust/CHANGELOG.md b/packages/agent-server-rust/CHANGELOG.md index f5104b02..b75148e0 100644 --- a/packages/agent-server-rust/CHANGELOG.md +++ b/packages/agent-server-rust/CHANGELOG.md @@ -1,5 +1,7 @@ # @agent-wechat/agent-server +## 0.12.0 + ## 0.11.15 ## 0.11.14 diff --git a/packages/agent-server-rust/Cargo.lock b/packages/agent-server-rust/Cargo.lock index 5b82f324..651935e8 100644 --- a/packages/agent-server-rust/Cargo.lock +++ b/packages/agent-server-rust/Cargo.lock @@ -10,7 +10,7 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "agent-server" -version = "0.11.15" +version = "0.12.0" dependencies = [ "async-stream", "async-trait", diff --git a/packages/agent-server-rust/Cargo.toml b/packages/agent-server-rust/Cargo.toml index 481620d8..a6c16e2d 100644 --- a/packages/agent-server-rust/Cargo.toml +++ b/packages/agent-server-rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "agent-server" -version = "0.11.15" +version = "0.12.0" edition = "2021" [dependencies] diff --git a/packages/agent-server-rust/package.json b/packages/agent-server-rust/package.json index 0382ed7d..b4252718 100644 --- a/packages/agent-server-rust/package.json +++ b/packages/agent-server-rust/package.json @@ -1,5 +1,5 @@ { "name": "@agent-wechat/agent-server", - "version": "0.11.15", + "version": "0.12.0", "private": true } diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 9c576f35..ab0c81f9 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,7 @@ # @agent-wechat/cli +## 0.12.0 + ## 0.11.15 ## 0.11.14 diff --git a/packages/cli/package.json b/packages/cli/package.json index d037c0a2..407f6a2e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@agent-wechat/cli", - "version": "0.11.15", + "version": "0.12.0", "type": "module", "bin": { "wx": "./dist/cli.js" diff --git a/packages/openclaw-extension/CHANGELOG.md b/packages/openclaw-extension/CHANGELOG.md index 4a527e4e..2082f948 100644 --- a/packages/openclaw-extension/CHANGELOG.md +++ b/packages/openclaw-extension/CHANGELOG.md @@ -1,5 +1,32 @@ # @agent-wechat/wechat +## 0.12.0 + +### Minor Changes + +- [#162](https://github.com/thisnick/agent-wechat/pull/162) [`ee25d8f`](https://github.com/thisnick/agent-wechat/commit/ee25d8ff5b22272956c14dc0ab7169fae919aab1) Thanks [@thisnick](https://github.com/thisnick)! - Update for openclaw 2026.5+ compatibility: + + - Add `channelConfigs` metadata to `openclaw.plugin.json` so the gateway can validate config and load setup surfaces before the plugin runtime imports (silences the "channel plugin manifest declares wechat without channelConfigs metadata" warning). + - Replace deprecated `runtime.config.loadConfig()` calls with `runtime.config.current()`. + - Add a `message` adapter via `createChannelMessageAdapterFromOutbound` from `openclaw/plugin-sdk/channel-message`. The legacy `outbound` adapter is kept for older openclaw versions. + - Bump the `openclaw` peer dependency floor to `^2026.5.12`. + + The deprecated `outbound` adapter and `dispatchReplyWithBufferedBlockDispatcher` ingest flow continue to work via openclaw's compat shims; a follow-up release will migrate the monitor's dispatch path to `core.channel.turn.runPrepared(...)`. + +- [#174](https://github.com/thisnick/agent-wechat/pull/174) [`2cdd77b`](https://github.com/thisnick/agent-wechat/commit/2cdd77b6ec040b4745c647c3dab1c6d8079309cc) Thanks [@thisnick](https://github.com/thisnick)! - Rename the OpenClaw plugin/channel id from `wechat` to `agent-wechat` and restore compatibility with OpenClaw 2026.8.x. + + OpenClaw's bundled official plugin catalog now reserves `wechat` (and `weixin`) as aliases of Tencent's `@tencent-weixin/openclaw-weixin` plugin, and the catalog is compiled into the openclaw JS bundle — so the id `wechat` gets hijacked: `plugins install` writes `plugins.entries.openclaw-weixin`, and `channels add --channel wechat` tries to install the Tencent plugin instead of this one. Patching `dist/channel-catalog.json` no longer helps. + + Changes: + + - Plugin id and channel id are now `agent-wechat`; config lives under `channels.agent-wechat`. + - Dropped the `weixin` alias (catalog-reserved). + - Imports moved from the removed bare `openclaw/plugin-sdk` export to `openclaw/plugin-sdk/core` (works on hosts >=2026.5.12, required on 2026.8.x). + - `channelConfigs` metadata added to `package.json#openclaw` so 2026.8.x setup surfaces get the config schema. + - `wechat:`-prefixed targets and allowlist entries are still accepted. + + Migration: rename the `channels.wechat` key to `channels.agent-wechat` and `plugins.entries.wechat` (or a stray `plugins.entries.openclaw-weixin`) to `plugins.entries.agent-wechat` in `openclaw.json`, then restart the gateway. Session/routing keys change with the channel id, so active conversation sessions reset. + ## 0.11.15 ### Patch Changes diff --git a/packages/openclaw-extension/package.json b/packages/openclaw-extension/package.json index 8210c665..222cabcc 100644 --- a/packages/openclaw-extension/package.json +++ b/packages/openclaw-extension/package.json @@ -1,6 +1,6 @@ { "name": "@agent-wechat/agent-wechat", - "version": "0.11.15", + "version": "0.12.0", "type": "module", "files": [ "dist", diff --git a/packages/wechaty-gateway/CHANGELOG.md b/packages/wechaty-gateway/CHANGELOG.md index 9dfd5a5d..c5301cd8 100644 --- a/packages/wechaty-gateway/CHANGELOG.md +++ b/packages/wechaty-gateway/CHANGELOG.md @@ -1,5 +1,12 @@ # @agent-wechat/wechaty-gateway +## 0.12.0 + +### Patch Changes + +- Updated dependencies []: + - @agent-wechat/wechaty-puppet@0.12.0 + ## 0.11.15 ### Patch Changes diff --git a/packages/wechaty-gateway/package.json b/packages/wechaty-gateway/package.json index 21a6f2a4..d2f5c0cd 100644 --- a/packages/wechaty-gateway/package.json +++ b/packages/wechaty-gateway/package.json @@ -1,6 +1,6 @@ { "name": "@agent-wechat/wechaty-gateway", - "version": "0.11.15", + "version": "0.12.0", "private": true, "description": "Wechaty gRPC gateway wrapping @agent-wechat/wechaty-puppet", "type": "module", diff --git a/packages/wechaty-puppet/CHANGELOG.md b/packages/wechaty-puppet/CHANGELOG.md index dd7d05b3..beec78c9 100644 --- a/packages/wechaty-puppet/CHANGELOG.md +++ b/packages/wechaty-puppet/CHANGELOG.md @@ -1,5 +1,7 @@ # @agent-wechat/wechaty-puppet +## 0.12.0 + ## 0.11.15 ## 0.11.14 diff --git a/packages/wechaty-puppet/package.json b/packages/wechaty-puppet/package.json index 86af016e..4c53868f 100644 --- a/packages/wechaty-puppet/package.json +++ b/packages/wechaty-puppet/package.json @@ -1,6 +1,6 @@ { "name": "@agent-wechat/wechaty-puppet", - "version": "0.11.15", + "version": "0.12.0", "description": "Wechaty Puppet for agent-wechat — bridges Wechaty bots to WeChat via the agent-wechat REST/WebSocket server", "type": "module", "main": "./dist/mod.js",