Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions packages/wbot/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ All notable changes to the public wbot client are documented in this file.

## Unreleased

## 0.3.0-rc.2 - 2026-11-12

### Breaking Changes

- Update the CLI framework from `@celados/argc` 10.2 to 11.0. Breaking for callers that read `@schema`
text: it is flat Markdown now. `## Commands` lists one `### <path>` block per command (for example
`### messages.send`): the description, the input object `{ field: Type // note }` with `= default`
for defaulted fields, and no nested `wbot: { messages: { send(input: …) } }` type or `/** */`
blocks. A namespace is `### messages.*`; the hidden `auth` group is still named by path
(`wbot @schema .auth`). Command names, fields, results, MCP tools and the Platform API are unchanged.

## 0.3.0-rc.1 - 2026-11-12

### Breaking Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/wbot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celados/wbot",
"version": "0.3.0-rc.1",
"version": "0.3.0-rc.2",
"private": true,
"description": "Agent-first conversation reading and authorized text and JPEG sending with read-only MCP tools",
"license": "MIT",
Expand All @@ -23,7 +23,7 @@
"build": "bun build ./wbot-cli.ts --target=bun --outfile=dist/wbot.js"
},
"devDependencies": {
"@celados/argc": "^10.2.0",
"@celados/argc": "^11.0.0",
"@modelcontextprotocol/sdk": "1.30.0",
"@valibot/to-json-schema": "1.8.0",
"valibot": "1.5.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/wbot/scripts/verify-package-artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ try {
const wbot = join(globalBinDirectory, "wbot");
const schema = await runCommand([wbot, "@schema"], consumerDirectory);
for (const command of [
"list(input:",
"history(input:",
"updates(input:",
"send(input:",
"### conversations.list",
"### messages.history",
"### messages.updates",
"### messages.send",
"imagePath",
"outbound-sends",
"mcp()",
"### mcp",
]) {
if (!schema.stdout.includes(command)) {
throw new Error(`The installed wbot artifact is missing ${command}`);
Expand Down
8 changes: 4 additions & 4 deletions packages/wbot/wbot-agent-tools.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ describe("功能 1:CLI 发送能力与 MCP 只读工具面", () => {

expect(result.exitCode, result.stderr).toBe(0);
expect(result.stdout).toContain("wbot");
expect(result.stdout).toMatch(/conversations:\s*\{[\s\S]*list\(input:/);
expect(result.stdout).toMatch(/messages:\s*\{[\s\S]*history\(input:/);
expect(result.stdout).toMatch(/messages:\s*\{[\s\S]*updates\(input:/);
expect(result.stdout).toContain("send(input:");
expect(result.stdout).toContain("### conversations.list");
expect(result.stdout).toContain("### messages.history");
expect(result.stdout).toContain("### messages.updates");
expect(result.stdout).toContain("### messages.send");
expect(result.stdout).toContain("outbound-sends");
expect(result.stdout).toContain("requestId: string");
expect(result.stdout).not.toMatch(/operator/i);
Expand Down
10 changes: 5 additions & 5 deletions packages/wbot/wbot-public-entrypoint.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ describe("功能 1:外部用户只看到一个产品入口", () => {
const result = await runCli(["@schema"]);

expect(result.exitCode, result.stderr).toBe(0);
expect(result.stdout).toMatch(/conversations:\s*\{[\s\S]*list\(input:/);
expect(result.stdout).toMatch(/messages:\s*\{[\s\S]*history\(input:/);
expect(result.stdout).toMatch(/messages:\s*\{[\s\S]*updates\(input:/);
expect(result.stdout).toContain("mcp()");
expect(result.stdout).toContain("send(input:");
expect(result.stdout).toContain("### conversations.list");
expect(result.stdout).toContain("### messages.history");
expect(result.stdout).toContain("### messages.updates");
expect(result.stdout).toContain("### mcp");
expect(result.stdout).toContain("### messages.send");
expect(result.stdout).toContain("outbound-sends");
expect(result.stdout).not.toMatch(/operator/i);
});
Expand Down
2 changes: 1 addition & 1 deletion plugins/claude/.claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "wbot",
"source": "./wbot",
"description": "Read authorized WeChat conversations through wbot.",
"version": "0.3.0-rc.1"
"version": "0.3.0-rc.2"
}
]
}
2 changes: 1 addition & 1 deletion plugins/claude/wbot/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wbot",
"version": "0.3.0-rc.1",
"version": "0.3.0-rc.2",
"description": "Read authorized WeChat conversations through wbot.",
"author": {
"name": "Celados"
Expand Down
2 changes: 1 addition & 1 deletion plugins/claude/wbot/.mcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"args": [
"--bun",
"--package",
"@celados/wbot@https://github.com/celados/wbot/releases/download/v0.3.0-rc.1/wbot-0.3.0-rc.1.tgz",
"@celados/wbot@https://github.com/celados/wbot/releases/download/v0.3.0-rc.2/wbot-0.3.0-rc.2.tgz",
"wbot",
"mcp"
]
Expand Down
2 changes: 1 addition & 1 deletion plugins/codex/wbot/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wbot",
"version": "0.3.0-rc.1",
"version": "0.3.0-rc.2",
"description": "Read authorized WeChat conversations through wbot.",
"author": {
"name": "Celados"
Expand Down
2 changes: 1 addition & 1 deletion plugins/codex/wbot/.mcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"args": [
"--bun",
"--package",
"@celados/wbot@https://github.com/celados/wbot/releases/download/v0.3.0-rc.1/wbot-0.3.0-rc.1.tgz",
"@celados/wbot@https://github.com/celados/wbot/releases/download/v0.3.0-rc.2/wbot-0.3.0-rc.2.tgz",
"wbot",
"mcp"
]
Expand Down
Loading