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:
Eyejoker
2026-03-23 00:43:57 +09:00
parent badb900a23
commit d4fc498268
3 changed files with 410 additions and 1340 deletions

File diff suppressed because it is too large Load Diff