feat: add Accordion component for UI and Zustand store for coordinator management

- Implemented Accordion component using Radix UI for collapsible sections.
- Created Zustand store to manage coordinator execution state, command chains, logs, and interactive questions.
- Added validation tests for CLI settings type definitions, ensuring type safety and correct behavior of helper functions.
This commit is contained in:
catlog22
2026-02-03 10:02:40 +08:00
parent bcb4af3ba0
commit 5483a72e9f
82 changed files with 6156 additions and 7605 deletions

View File

@@ -289,8 +289,22 @@
"descriptionPlaceholder": "此配置的可选描述",
"selectProvider": "选择提供商",
"includeCoAuthoredBy": "在提交中包含 co-authored-by",
"coAuthoredBy": "共同创作",
"availableModels": "可用模型",
"availableModelsPlaceholder": "输入模型名称并按回车",
"availableModelsHint": "显示在 CLI 下拉菜单中的模型。点击 × 删除。",
"nameFormatHint": "仅限字母、数字、连字符和下划线。用作ccw cli --tool [名称]",
"nameTooLong": "名称必须在 {max} 个字符以内",
"settingsFile": "配置文件路径",
"settingsFilePlaceholder": "例如:/path/to/settings.json",
"settingsFileHint": "外部 Claude CLI 配置文件路径(通过 --settings 参数传递)",
"tags": "标签",
"tagsDescription": "CLI 工具路由和自动选择标签例如分析、Debug",
"addTag": "添加标签",
"tagInputPlaceholder": "输入标签...",
"predefinedTags": "常用标签",
"removeTag": "删除标签",
"noTags": "未添加标签",
"validation": {
"providerRequired": "请选择提供商",
"authOrBaseUrlRequired": "请输入认证令牌或基础 URL"