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.) |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||