Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

refactor(runtime): consolidate Google tool event projection

4 weeks ago

6ca6d53
Authored
mweinbach8/28/2026, 3:14:27 AM
Share the identical file-search and maps result envelope. Merge function and provider tool start/delta construction while retaining exact block-type validation and provider flag omission.

Lock event identity and order, empty and malformed arguments, mismatched blocks, and raw result identity before edits. The Google suite passes 151 tests; all 8,401 project tests, typechecks, Biome lint/check, and docs checks pass.

Parentf766821

3 files changed
  • src/runtime/googleNative/nativeTools.ts+1−11
  • src/runtime/googleNative/stream/mapToStreamParts.ts+13−28
  • test/runtime/google-native/unit.tool-projection.test.ts+172−0