iven
|
f22b1a2095
|
refactor(phase-11): extract specialized stores from gatewayStore
Decompose monolithic gatewayStore.ts (1660 lines) into focused stores:
- connectionStore.ts (444 lines) - WebSocket, auth, local gateway
- agentStore.ts (256 lines) - Clones, usage stats, plugins
- handStore.ts (498 lines) - Hands, triggers, approvals
- workflowStore.ts (255 lines) - Workflows, runs
- configStore.ts (537 lines) - QuickConfig, channels, skills
Each store uses client injection pattern for loose coupling.
Coordinator layer to be added in next commit.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-15 20:17:17 +08:00 |
|