refactor: unify runtime into single message-runtime path
Remove duplicate processGroupMessages, runAgent, startMessageLoop, and recoverPendingMessages from index.ts. All message processing now flows through createMessageRuntime() in message-runtime.ts, eliminating the dual-path issue that caused the v1 follow-up turn reset bug. index.ts reduced from ~2300 to ~1210 lines. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1162
src/index.ts
1162
src/index.ts
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user