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
2 changes: 1 addition & 1 deletion bun.lock

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

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

## Unreleased

## 0.2.0 - 2026-09-21

### Breaking Changes

- Replaced the legacy message `media` projection with the unified `attachment` projection used by
the active Platform contract.
- Added required `capabilities` and `captureFreshness` properties to conversation results and a
required `captureFreshness` property to message-update results.
- Added current `nudge`, conversation avatar, target identity, and attachment descriptor variants
to the exported result types.

### Added

- Validated successful Platform responses at the HTTP boundary while tolerating unknown additive
fields.
- Added the sanitized `PlatformContractError` with machine code `invalid_platform_response`.
- Surfaced Platform API deprecation and sunset metadata on stderr without contaminating CLI JSON or
MCP protocol output.
- Added one release identity across the package, CLI, MCP server, Plugins, tags, and artifacts.
- Added curated changelog release notes and a stable-release compatibility gate against the current
test Platform.

### Migration

- Read message binary state from `attachment` instead of `media`.
- Handle the required conversation capabilities and capture freshness fields, including empty
message-update pages.
- Consumers upgrading from `0.1.x` must handle the result changes above.
- Consumers already using `0.2.0-rc.1` have no additional API migration steps.

## 0.2.0-rc.1 - 2026-08-11

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/wbot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celados/wbot",
"version": "0.2.0-rc.1",
"version": "0.2.0",
"private": true,
"description": "Agent-first, read-only access to wbot conversations",
"license": "MIT",
Expand Down
3 changes: 1 addition & 2 deletions packages/wbot/wbot-release-policy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ describe("功能 2:版本号表达公开契约影响", () => {
);
});

test("场景 2.3:公开结果增加必填属性属于破坏性变化", async () => {
test("场景 2.3:公开结果增加必填属性属于破坏性变化", () => {
expect(
readReleaseImpact(`### Breaking Changes

Expand All @@ -479,7 +479,6 @@ describe("功能 2:版本号表达公开契约影响", () => {
- Conversation results may include an optional avatar.
`),
).toBe("compatible");
expect((await createFixture()).expectedVersion).toBe("0.2.0-rc.1");
});

test.each([
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.2.0-rc.1"
"version": "0.2.0"
}
]
}
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.2.0-rc.1",
"version": "0.2.0",
"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.2.0-rc.1/wbot-0.2.0-rc.1.tgz",
"@celados/wbot@https://github.com/celados/wbot/releases/download/v0.2.0/wbot-0.2.0.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.2.0-rc.1",
"version": "0.2.0",
"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.2.0-rc.1/wbot-0.2.0-rc.1.tgz",
"@celados/wbot@https://github.com/celados/wbot/releases/download/v0.2.0/wbot-0.2.0.tgz",
"wbot",
"mcp"
]
Expand Down
Loading