7c3407ac65
- Fixed `/dump` output (`session-dump-format.ts`) and the RPC `get_state` `dumpTools` payload (`rpc-mode.ts`) serializing Zod schema instances — leaking `def`/`shape` internals and stringified methods — by converting parameters through `zodToWireSchema` like providers receive. - Fixed context-usage token estimation stringifying the Zod `def` tree, which overcounted tool schema tokens in the status line. - Fixed tool-discovery indexing (`tool-index.ts`) returning empty `schemaKeys` for Zod tools, weakening BM25 ranking; keys are now recovered via wire conversion. - Fixed the extension inspector panel rendering "(no arguments)" for Zod tools by reading properties off the converted wire schema. - Added coverage in `tool-index.test.ts` plus new `context-usage.test.ts` and `session-dump-format.test.ts`, and a changelog entry.