Home

mweinbach / agent-coworker

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

refactor: extract nvidia fetch patch, split thread handlers, dedupe google fixtures

4 months ago

6874e62
Authored
mweinbach5/21/2026, 11:45:14 PM
Move NVIDIA chat-completions fetch rewriting into its own module, split the
765-line thread event handlers into lifecycle/content modules, and share
Google test fixtures between unit and integration runtime tests.

Co-authored-by: Cursor <cursoragent@cursor.com>

Parentfa61c26

10 files changed
  • apps/desktop/src/app/store.helpers/threadEventReducer/handlers/contentHandlers.ts+300−0
  • apps/desktop/src/app/store.helpers/threadEventReducer/handlers/index.ts+83−0
  • apps/desktop/src/app/store.helpers/threadEventReducer/{handlers.ts => handlers/lifecycleHandlers.ts}+33−358
  • apps/desktop/src/app/store.helpers/threadEventReducer/handlers/shared.ts+27−0
  • src/runtime/pi/internal.ts+6−1
  • src/runtime/pi/modelResolution.ts+0−131
  • src/runtime/pi/nvidiaFetchPatch.ts+132−0
  • src/runtime/pi/runTurn.ts+1−1
  • test/runtime/google-native-interactions.unit.test.ts+6−56
  • test/runtime/google-native/fixtures.ts+8−0