From 77d83fe8de362d2d8329092c745534b048db6c16 Mon Sep 17 00:00:00 2001 From: EthanHuo Date: Wed, 4 Nov 2026 19:20:32 +0800 Subject: [PATCH 1/2] chore: update @celados/argc to 7.12.0 (agent pipe guard), release 0.2.7 --- bun.lock | 6 +++--- packages/wbot/CHANGELOG.md | 9 +++++++++ packages/wbot/package.json | 4 ++-- packages/wbot/scripts/verify-package-artifact.ts | 3 ++- plugins/claude/.claude-plugin/marketplace.json | 2 +- plugins/claude/wbot/.claude-plugin/plugin.json | 2 +- plugins/claude/wbot/.mcp.json | 2 +- plugins/codex/wbot/.codex-plugin/plugin.json | 2 +- plugins/codex/wbot/.mcp.json | 2 +- 9 files changed, 21 insertions(+), 11 deletions(-) diff --git a/bun.lock b/bun.lock index 2b1d923..9974a14 100644 --- a/bun.lock +++ b/bun.lock @@ -21,12 +21,12 @@ }, "packages/wbot": { "name": "@celados/wbot", - "version": "0.2.3", + "version": "0.2.7", "bin": { "wbot": "./dist/wbot.js", }, "devDependencies": { - "@celados/argc": "^7.11.3", + "@celados/argc": "^7.12.0", "@modelcontextprotocol/sdk": "1.30.0", "@valibot/to-json-schema": "1.7.1", "valibot": "1.4.2", @@ -35,7 +35,7 @@ }, }, "packages": { - "@celados/argc": ["@celados/argc@7.11.3", "https://npm.celados.com/@celados/argc/-/@celados/argc-7.11.3.tgz", { "dependencies": { "oxc-parser": "0.137.0", "yaml": "2.9.0" }, "peerDependencies": { "@standard-schema/spec": "^1.0.0" } }, "sha512-ZA9mOj6VumqIymQefvnu8thSfGyTsGBLif1Wg5mE6SKI1uYNmtys2wXtPU9GKZk0kw8ioRK5Sx15Z865HaZ5mA=="], + "@celados/argc": ["@celados/argc@7.12.0", "https://npm.celados.com/@celados/argc/-/@celados/argc-7.12.0.tgz", { "dependencies": { "oxc-parser": "0.137.0", "yaml": "2.9.0" }, "peerDependencies": { "@standard-schema/spec": "^1.0.0" } }, "sha512-b/XPzeRzOdtc5Lmn5JHZ7H1IbNrbDBdyLwCQ53Cko/BRKL1AYlfxV22MSirIMKD62wjPctpwETnp6RJHMERwCQ=="], "@celados/wbot": ["@celados/wbot@workspace:packages/wbot"], diff --git a/packages/wbot/CHANGELOG.md b/packages/wbot/CHANGELOG.md index d6b371a..da52c5f 100644 --- a/packages/wbot/CHANGELOG.md +++ b/packages/wbot/CHANGELOG.md @@ -4,6 +4,15 @@ All notable changes to the public wbot client are documented in this file. ## Unreleased +## 0.2.7 - 2026-11-04 + +### Changed + +- Update the CLI framework to `@celados/argc` 7.12.0. When an agent captures stdout through a pipe or + `$(…)`, `wbot @skill`, `wbot @schema` and bare help are refused with `error: OUTPUT_CAPTURED` and a + runnable rewrite (run alone, or redirect to a file). Command output and the Public Contract are + otherwise unchanged; no wbot command is marked whole-output. + ## 0.2.6 - 2026-11-03 ### Added diff --git a/packages/wbot/package.json b/packages/wbot/package.json index be58012..b005f15 100644 --- a/packages/wbot/package.json +++ b/packages/wbot/package.json @@ -1,6 +1,6 @@ { "name": "@celados/wbot", - "version": "0.2.6", + "version": "0.2.7", "private": true, "description": "Agent-first conversation reading and authorized text and JPEG sending with read-only MCP tools", "license": "MIT", @@ -23,7 +23,7 @@ "build": "bun build ./wbot-cli.ts --target=bun --outfile=dist/wbot.js" }, "devDependencies": { - "@celados/argc": "^7.11.3", + "@celados/argc": "^7.12.0", "@modelcontextprotocol/sdk": "1.30.0", "@valibot/to-json-schema": "1.7.1", "valibot": "1.4.2", diff --git a/packages/wbot/scripts/verify-package-artifact.ts b/packages/wbot/scripts/verify-package-artifact.ts index bcb5e91..ff3f8ee 100644 --- a/packages/wbot/scripts/verify-package-artifact.ts +++ b/packages/wbot/scripts/verify-package-artifact.ts @@ -165,7 +165,8 @@ async function runCommand( ): Promise<{ stdout: string; stderr: string }> { const child = Bun.spawn([...command], { cwd, - env: { ...Bun.env, ...additionalEnvironment, CI: "1" }, + // A program reading the CLI's output opts out of argc's agent pipe guard (7.12). + env: { ...Bun.env, ...additionalEnvironment, CI: "1", ARGC_ALLOW_CAPTURE: "1" }, stdin: "ignore", stdout: "pipe", stderr: "pipe", diff --git a/plugins/claude/.claude-plugin/marketplace.json b/plugins/claude/.claude-plugin/marketplace.json index 94ddfa6..3643b6b 100644 --- a/plugins/claude/.claude-plugin/marketplace.json +++ b/plugins/claude/.claude-plugin/marketplace.json @@ -8,7 +8,7 @@ "name": "wbot", "source": "./wbot", "description": "Read authorized WeChat conversations through wbot.", - "version": "0.2.6" + "version": "0.2.7" } ] } diff --git a/plugins/claude/wbot/.claude-plugin/plugin.json b/plugins/claude/wbot/.claude-plugin/plugin.json index 5e96515..b8c374f 100644 --- a/plugins/claude/wbot/.claude-plugin/plugin.json +++ b/plugins/claude/wbot/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "wbot", - "version": "0.2.6", + "version": "0.2.7", "description": "Read authorized WeChat conversations through wbot.", "author": { "name": "Celados" diff --git a/plugins/claude/wbot/.mcp.json b/plugins/claude/wbot/.mcp.json index 79fc8fd..fee6b43 100644 --- a/plugins/claude/wbot/.mcp.json +++ b/plugins/claude/wbot/.mcp.json @@ -5,7 +5,7 @@ "args": [ "--bun", "--package", - "@celados/wbot@https://github.com/celados/wbot/releases/download/v0.2.6/wbot-0.2.6.tgz", + "@celados/wbot@https://github.com/celados/wbot/releases/download/v0.2.7/wbot-0.2.7.tgz", "wbot", "mcp" ] diff --git a/plugins/codex/wbot/.codex-plugin/plugin.json b/plugins/codex/wbot/.codex-plugin/plugin.json index adc6574..50fbd66 100644 --- a/plugins/codex/wbot/.codex-plugin/plugin.json +++ b/plugins/codex/wbot/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "wbot", - "version": "0.2.6", + "version": "0.2.7", "description": "Read authorized WeChat conversations through wbot.", "author": { "name": "Celados" diff --git a/plugins/codex/wbot/.mcp.json b/plugins/codex/wbot/.mcp.json index 79fc8fd..fee6b43 100644 --- a/plugins/codex/wbot/.mcp.json +++ b/plugins/codex/wbot/.mcp.json @@ -5,7 +5,7 @@ "args": [ "--bun", "--package", - "@celados/wbot@https://github.com/celados/wbot/releases/download/v0.2.6/wbot-0.2.6.tgz", + "@celados/wbot@https://github.com/celados/wbot/releases/download/v0.2.7/wbot-0.2.7.tgz", "wbot", "mcp" ] From 49231a3da8ed31f1de0e111e54fe4725b7747baa Mon Sep 17 00:00:00 2001 From: EthanHuo Date: Wed, 4 Nov 2026 19:20:32 +0800 Subject: [PATCH 2/2] style: format sms-forwarder README table (main's check was red) --- integrations/sms-forwarder/README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/integrations/sms-forwarder/README.md b/integrations/sms-forwarder/README.md index cd731ae..4056cd9 100644 --- a/integrations/sms-forwarder/README.md +++ b/integrations/sms-forwarder/README.md @@ -43,13 +43,13 @@ USB 和 Mac 不参与运行。前台服务每 15 秒补查;0.4.0 起短信广 取得 outboundSendId 后持久化,之后只调用 `/platform/v1/outbound-sends/get`: -| 平台结果 | 手机行为 | -| --- | --- | -| queued / processing | 保留记录,继续查询 | -| accepted | 删除本地正文;只表示微信发送路径已接受,不是送达或已读回执 | -| failed | 留存异常,不自动重新提交 | -| indeterminate | 留存异常,不自动重发 | -| 权限失败或协议异常 | 标记 blocked,停止该条自动处理 | +| 平台结果 | 手机行为 | +| ------------------- | ---------------------------------------------------------- | +| queued / processing | 保留记录,继续查询 | +| accepted | 删除本地正文;只表示微信发送路径已接受,不是送达或已读回执 | +| failed | 留存异常,不自动重新提交 | +| indeterminate | 留存异常,不自动重发 | +| 权限失败或协议异常 | 标记 blocked,停止该条自动处理 | 手机在提交成功但尚未保存结果时退出,恢复后仍使用原 requestId,平台幂等吸收重复请求。 API Key 属于一个 Tenant,幂等也是 Tenant 范围,因此队列未清空时禁止更换凭据。 @@ -119,7 +119,6 @@ Android 的开机前台服务例外及限制见 白名单允许部分 CPU/网络能力,其他休眠限制仍可能适用,见 [Android Doze 文档](https://developer.android.com/training/monitoring-device-state/doze-standby)。 - ## 0.5.0 分卡路由 在微信出口下可启用按订阅 ID 分流:CMCC → 原私聊;AIR MOBILE → 指定微信群及 Slack 频道。