openpencil/crates/op-host-services
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
..
src fix(mcp): nest ping identity under _meta so strict clients accept the server 2026-08-05 22:33:10 +08:00
Cargo.toml feat(editor): show authenticated profile avatars 2026-07-29 15:20:34 +08:00