Saim Shafique and Saim Shafique
a8a9c4d817
fix(mcp): express inspect_analysis_view selector constraints in the contract schema ( #1705 )
...
The item view advertised its four selector alternatives independently of the
selected collection, while collection-specific constraints lived only in a
superRefine that does not survive JSON Schema conversion. Clients validating
against tools/list could not discover that modules accept only path/node_id
and sections/symbols accept only index/name.
Replace the refined object with a discriminated union on collection so the
converted draft-2020-12 schema rejects the same combinations the MCP server
rejects. Runtime selection semantics are unchanged.
Fixes #1695
Co-authored-by: Saim Shafique <sx4imm@gmail.com >
2026-10-11 19:55:16 +08:00
..
2026-10-10 23:15:02 +08:00
2026-10-10 01:54:42 +08:00
2026-10-09 20:18:52 +08:00
2026-10-10 07:57:42 -07:00
2026-10-11 11:18:26 +08:00
2026-10-10 23:15:02 +08:00
2026-10-11 04:15:26 +08:00
2026-10-11 04:43:02 +08:00
2026-10-11 04:43:02 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 23:01:54 +08:00
2026-10-10 23:01:54 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 07:03:12 +08:00
2026-10-11 15:35:43 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 16:58:43 +08:00
2026-10-10 00:35:17 +08:00
2026-10-09 13:54:32 +00:00
2026-10-10 00:35:17 +08:00
2026-10-11 04:43:02 +08:00
2026-10-10 21:04:05 -07:00
2026-10-09 02:58:03 +08:00
2026-10-10 05:56:01 +08:00
2026-10-10 03:52:13 +08:00
2026-10-09 20:18:52 +08:00
2026-10-09 13:54:32 +00:00
2026-10-10 05:56:01 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-11 15:59:21 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-11 19:52:09 +08:00
2026-10-11 09:08:01 +08:00
2026-10-09 13:54:32 +00:00
2026-10-11 08:51:02 +08:00
2026-10-11 09:08:01 +08:00
2026-10-10 05:56:01 +08:00
2026-10-09 13:54:32 +00:00
2026-10-09 20:18:52 +08:00
2026-10-09 20:18:52 +08:00
2026-10-10 03:52:13 +08:00
2026-10-11 07:22:50 +08:00
2026-10-11 07:22:50 +08:00
2026-10-09 20:00:53 -07:00
2026-10-11 18:39:49 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 23:03:27 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-09 20:18:52 +08:00
2026-10-11 07:02:16 +08:00
2026-10-10 23:15:02 +08:00
2026-10-10 14:33:57 +08:00
2026-10-08 04:03:24 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 04:35:03 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 04:23:03 +08:00
2026-10-10 00:35:17 +08:00
2026-10-09 22:46:09 +08:00
2026-10-10 12:49:09 +08:00
2026-10-10 16:58:43 +08:00
2026-10-11 16:14:42 +08:00
2026-10-10 00:35:17 +08:00
2026-10-11 16:04:46 +08:00
2026-10-10 00:35:17 +08:00
2026-10-09 20:18:52 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 03:52:35 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-09 13:54:32 +00:00
2026-10-09 23:35:19 +08:00
2026-10-11 19:55:16 +08:00
2026-10-11 19:49:00 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-10 00:35:17 +08:00
2026-10-11 05:17:10 +08:00
2026-10-10 00:35:17 +08:00
2026-10-11 14:56:46 +08:00