Home

mweinbach / agent-coworker

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

refactor(runtime): unify Google stream block updates

4 weeks ago

ccd1e8a
Authored
mweinbach8/27/2026, 7:09:15 PM
Share repeated start and delta constructors while preserving reset, merge, identity, and emission rules. Add 36 behavior locks; 40,000 deterministic comparisons match the bug-fixed original. The handler's cognitive score drops from 247 to 150.

Parent3433e9d

2 files changed
  • src/runtime/googleNative/stream/processEvent.ts+173−250
  • test/runtime/google-native/unit.stream-state.test.ts+385−0