chore: reduce complexity in workflow-agent-claude-code and workflow-agent-hermes #448

Closed
opened 2026-05-23 14:40:05 +00:00 by xingyue · 0 comments
Owner

Split from #444.

Refactor:

  • parseClaudeCodeStreamOutput in packages/workflow-agent-claude-code/src/session-detail.ts (37 → ≤15)
  • handleSessionUpdate in packages/workflow-agent-hermes/src/acp-client.ts (24 → ≤15)

Strategy: extract helper functions.
Keep existing tests green.

Split from #444. Refactor: - `parseClaudeCodeStreamOutput` in `packages/workflow-agent-claude-code/src/session-detail.ts` (37 → ≤15) - `handleSessionUpdate` in `packages/workflow-agent-hermes/src/acp-client.ts` (24 → ≤15) Strategy: extract helper functions. Keep existing tests green.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#448