openpencil/crates/op-cli
Kayshen-X 1b020cebb5 fix(mcp): nest ping identity under _meta so strict clients accept the server
The MCP spec says a ping result is empty, but both ping formatters put
the OpenPencil discovery identity (server/mode/token) at the result top
level. Gemini CLI validates ping with the TS SDK's strict EmptyResultSchema
and marked the server disconnected with 'Unrecognized keys: server, mode,
token' (issue #199). _meta is the spec's sanctioned extension point and
the only key the strict schema permits, so the identity now rides there;
the op CLI reads _meta first and falls back to the legacy top-level shape
so it still discovers a running pre-0.8.3 editor. (A pre-0.8.3 op CLI
cannot discover a 0.8.3 live editor — the CLI ships with the app, so only
a stale op on PATH hits this.)
2026-08-05 22:33:10 +08:00
..
assets fix(agent): retire gemini cli provider, add antigravity and grok build 2026-07-24 21:11:15 +08:00
src fix(mcp): nest ping identity under _meta so strict clients accept the server 2026-08-05 22:33:10 +08:00
Cargo.toml refactor: dedupe cross-crate code and converge hardcoded literals 2026-07-26 11:24:22 +08:00