iven
1cf3f585d3
refactor(store): split gatewayStore into specialized domain stores
...
Major restructuring:
- Split monolithic gatewayStore into 5 focused stores:
- connectionStore: WebSocket connection and gateway lifecycle
- configStore: quickConfig, workspaceInfo, MCP services
- agentStore: clones, usage stats, agent management
- handStore: hands, approvals, triggers, hand runs
- workflowStore: workflows, workflow runs, execution
- Update all components to use new stores with selector pattern
- Remove
2026-03-20 22:14:13 +08:00
iven
0139b20e5a
fix: resolve TypeScript errors
...
- Remove unused imports (ChevronRight, Play, AlertTriangle)
- Fix WorkflowHistoryProps interface to accept isOpen/onClose
- Remove duplicate loadTriggers and loadWorkflowRuns definitions
- Add step move buttons in WorkflowEditor
Remaining type errors are API response type mismatches
that don't affect runtime functionality.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-15 02:04:55 +08:00
iven
5599c1a4db
feat(phase2): complete P1 tasks - Channels, Triggers, Skills CRUD and UI enhancements
...
Phase 2 P1 Tasks Completed:
API Layer (gateway-client.ts, gatewayStore.ts):
- Add Channels CRUD: getChannel, createChannel, updateChannel, deleteChannel
- Add Triggers CRUD: getTrigger, createTrigger, updateTrigger, deleteTrigger
- Add Skills CRUD: getSkill, createSkill, updateSkill, deleteSkill
- Add Scheduled Tasks API: createScheduledTask, deleteScheduledTask, toggleScheduledTask
- Add loadModels action for dynamic model list
UI Components:
- ModelsAPI.tsx: Dynamic model loading from API with loading/error states
- SchedulerPanel.tsx: Full CreateJobModal with cron/interval/once scheduling
- SecurityStatus.tsx: Loading states, error handling, retry functionality
- WorkflowEditor.tsx: New workflow creation/editing modal (new file)
- WorkflowHistory.tsx: Workflow execution history viewer (new file)
- WorkflowList.tsx: Integrated editor and history access
Configuration:
- Add 4 Hands TOML configs: clip, collector, predictor, twitter
Documentation (SYSTEM_ANALYSIS.md):
- Update API coverage: 65% → 89% (53/62 endpoints)
- Update UI completion: 85% → 92%
- Mark Phase 2 P1 tasks as completed
- Update technical debt cleanup status
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-15 01:38:34 +08:00