Home

mweinbach / agent-coworker

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

refactor: split conversationProjection into focused modules

4 months ago

9e5c875
Authored
mweinbach5/21/2026, 11:12:31 PM
Decompose the 911-line projection factory into assistant, reasoning, tool,
feed-item, stream-update, and session-event modules so each concern stays
under the 1k-line maintainability threshold.

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

Parent6cbb023

8 files changed
  • src/server/projection/conversationProjection.ts+29−897
  • src/server/projection/conversationProjectionAssistant.ts+153−0
  • src/server/projection/conversationProjectionFeedItems.ts+92−0
  • src/server/projection/conversationProjectionReasoning.ts+160−0
  • src/server/projection/conversationProjectionSessionEvents.ts+208−0
  • src/server/projection/conversationProjectionState.ts+124−0
  • src/server/projection/conversationProjectionStreamUpdates.ts+188−0
  • src/server/projection/conversationProjectionTools.ts+128−0