v2.0.141
·
19 commits
to master
since this release
v2.0.141 - tool routing diagnostics
This release does not widen native bridge production defaults.
Tool routing diagnostics
- Added
ToolRoute[...]request logs for tool-bearing chat requests. The log
records requested tools,tool_choice-filtered tools, native mapped/unmapped
partitions, native bridge decision reason, tool preamble tier, and compact
routing reasons. /v1/responsesnow drops a forcedtool_choicewhen that choice points at
an unbridged server-side tool such asfile_search,computer_use_preview,
ormcp. This prevents a translated request from carrying a forced tool that
no longer exists after flattening.- README now has a short FAQ explaining how to interpret "no tool calls" and
why native bridge is not a general local IDE tool fix.
WebFetch trace canaries
scripts/native-bridge-smoke.mjsnow summarizes redacted
webFetchTrace.statevalues from proto trace JSONL files. Gated WebFetch
canaries can now report whether the LS reachedpending_permission,
completed_web_document,error, or another known branch without manually
inspecting trace records.- The trace summary is diagnostic only and does not change smoke pass/fail
criteria.
Validation
- Added regression coverage for Responses server-side
tool_choicepruning,
tool routing diagnostics, and smoke WebFetch trace summaries.