Xubin Ren
0b81858378
fix(extensions): harden compatibility and lifecycle
2026-07-26 21:19:29 +08:00
Xubin Ren
1e573c75ae
feat(extensions): project native capabilities into catalog
2026-07-26 21:19:29 +08:00
chengyongru
8493560976
refactor(tools): use structured tool error results
2026-07-01 13:03:47 +08:00
yu-xin-c
a5768a4ebe
fix(tools): reject unknown builtin parameters
2026-06-21 15:22:09 +08:00
chengyongru
0a396aa6e2
Improve tool call validation strictness ( #4190 )
...
* Improve tool call validation strictness
Reject near-miss tool names without executing suggested tools. Require object-shaped tool parameters while preserving only lossless JSON wire-shape normalization.
* Tighten tool call argument validation
* Simplify tool argument validation tests
* Improve tool name suggestions
* Simplify tool suggestion helpers
* Limit tool suggestions to canonical matches
* Allow repair only for tool history replay
* Clarify non-object tool argument errors
* Inline replay tool argument normalization
* Track only successful tool executions
* Reject JSON null tool arguments
2026-06-09 14:50:40 +08:00
Mohamed Elkholy
1304ff78cc
perf(tools): cache ToolRegistry.get_definitions() between mutations
...
get_definitions() sorts tools on every LLM iteration for prompt cache
stability. Cache the sorted result and invalidate on register/unregister
so the sort only runs when the tool set actually changes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 21:52:36 +08:00
Xubin Ren
49355b2bd6
test(tools): lock non-object parameter validation
...
Add focused registry coverage so the new read_file/read_write parameter guard stays actionable without changing generic validation behavior for other tools.
Made-with: Cursor
2026-04-13 09:55:05 +08:00
pikaxinge
607fd8fd7e
fix(cache): stabilize tool ordering and cache markers for MCP
2026-04-01 17:07:22 +00:00