feat: unify queue execution handling with QueueItemExecutor and CLI execution settings

- Removed ad-hoc test scripts and temp files from project root
- Added QueueItemExecutor component to handle both session and orchestrator executions
- Created CliExecutionSettings component for shared execution parameter controls
- Introduced useCliSessionCore hook for managing CLI session lifecycle
- Merged buildQueueItemPrompt and buildQueueItemInstruction into a single function for context building
- Implemented Zustand store for queue execution state management
- Updated localization files for new execution features
This commit is contained in:
catlog22
2026-02-13 14:50:58 +08:00
parent af90069db2
commit ad5b35a1a5
17 changed files with 1466 additions and 36 deletions

View File

@@ -157,7 +157,9 @@
"empty": "No queues"
},
"exec": {
"title": "Execute in Session"
"title": "Execute",
"sessionTab": "Session",
"orchestratorTab": "Orchestrator"
},
"orchestrator": {
"title": "Send to Orchestrator",
@@ -372,7 +374,43 @@
"board": "Board",
"queue": "Queue",
"discovery": "Discovery",
"observability": "Observability"
"observability": "Observability",
"executions": "Executions"
}
},
"executions": {
"pageTitle": "Executions",
"description": "Monitor and manage queue execution sessions",
"stats": {
"running": "Running",
"completed": "Completed",
"failed": "Failed",
"total": "Total"
},
"list": {
"title": "Execution List",
"clearCompleted": "Clear Completed"
},
"detail": {
"selectExecution": "Select an execution to view details",
"openInTerminal": "Open in Terminal",
"id": "Execution ID",
"queueItemId": "Queue Item",
"issueId": "Issue",
"solutionId": "Solution",
"type": "Type",
"tool": "Tool",
"mode": "Mode",
"status": "Status",
"startedAt": "Started At",
"completedAt": "Completed At",
"sessionKey": "Session Key",
"flowId": "Flow ID",
"execId": "Execution ID (Orchestrator)"
},
"emptyState": {
"title": "No Executions",
"description": "No queue executions have been started yet"
}
},
"observability": {

View File

@@ -157,7 +157,9 @@
"empty": "暂无队列"
},
"exec": {
"title": "在会话中执行"
"title": "执行",
"sessionTab": "会话",
"orchestratorTab": "编排器"
},
"orchestrator": {
"title": "发送到编排器",
@@ -372,7 +374,43 @@
"board": "看板",
"queue": "执行队列",
"discovery": "问题发现",
"observability": "可观测"
"observability": "可观测",
"executions": "执行"
}
},
"executions": {
"pageTitle": "执行管理",
"description": "监控和管理队列执行会话",
"stats": {
"running": "运行中",
"completed": "已完成",
"failed": "失败",
"total": "总计"
},
"list": {
"title": "执行列表",
"clearCompleted": "清除已完成"
},
"detail": {
"selectExecution": "选择执行以查看详情",
"openInTerminal": "在终端中打开",
"id": "执行 ID",
"queueItemId": "队列项",
"issueId": "问题",
"solutionId": "解决方案",
"type": "类型",
"tool": "工具",
"mode": "模式",
"status": "状态",
"startedAt": "开始时间",
"completedAt": "完成时间",
"sessionKey": "会话 Key",
"flowId": "流程 ID",
"execId": "执行 ID (编排器)"
},
"emptyState": {
"title": "暂无执行",
"description": "尚未启动任何队列执行"
}
},
"observability": {