feat: 新增工具插件、系统日志、workflow配置及前端优化
1. 新增工具插件(edit_file, python_executor, search_file, shell_executor, write_file) 2. 新增系统事件日志模块和API 3. 新增workflow配置文件和详情API 4. 前端增加SSE、错误边界、设置引导等组件 5. 优化认证加密、速率限制、配置加载等工具模块 6. 删除废弃的cluster和health API 7. 补充单元测试和集成测试 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -76,6 +76,10 @@
|
||||
"waitingEvents": "Waiting for events...",
|
||||
"replyPlaceholder": "Reply to the workflow...",
|
||||
"refresh": "Refresh Data",
|
||||
"resume": "Resume Workflow",
|
||||
"resumeTriggered": "Resume request sent, the workflow is recovering...",
|
||||
"resumeFailed": "Failed to resume workflow",
|
||||
"sseReconnecting": "Connection lost, retrying in {{seconds}}s...",
|
||||
"workflowDetails": "Workflow Details",
|
||||
"loading": "Loading Workflows...",
|
||||
"titleRequired": "Please enter a workflow title",
|
||||
@@ -90,7 +94,11 @@
|
||||
"failed": "Failed"
|
||||
},
|
||||
"total": "Total",
|
||||
"queued": "Queued"
|
||||
"queued": "Queued",
|
||||
"filterAll": "All",
|
||||
"noWorkflowsInFilter": "No workflows match current filter",
|
||||
"steps": "Steps",
|
||||
"noStepsYet": "Workflow steps not yet generated"
|
||||
},
|
||||
"settings": {
|
||||
"settings": "Settings",
|
||||
@@ -163,6 +171,22 @@
|
||||
"editWorker": "Edit Worker",
|
||||
"provider": "Provider",
|
||||
"model": "Model",
|
||||
"config": "Config",
|
||||
"workflowConfig": "Workflow Config",
|
||||
"maxRetryAttempts": "Max Loop Retry Attempts",
|
||||
"maxRetryAttemptsDesc": "When a workflow graph contains cycles, this limits the maximum number of times the engine may re-enter a loop, preventing infinite retries. Default: 5.",
|
||||
"configSaved": "Configuration saved and hot-reloaded",
|
||||
"systemLogs": "System Logs",
|
||||
"logFilterTraceId": "Filter by Trace ID",
|
||||
"logFilterAllTypes": "All event types",
|
||||
"logFilterAllLevels": "All levels",
|
||||
"logSearch": "Search",
|
||||
"logLevel": "Level",
|
||||
"logType": "Type",
|
||||
"logNode": "Node",
|
||||
"logMessage": "Message",
|
||||
"logTime": "Time",
|
||||
"noLogs": "No log entries yet",
|
||||
"description": "Description",
|
||||
"systemPrompt": "System Prompt",
|
||||
"outputTemplate": "Output Template (JSON)",
|
||||
@@ -224,6 +248,17 @@
|
||||
"none": "None",
|
||||
"creating": "Creating...",
|
||||
"actions": "Actions",
|
||||
"cancel": "Cancel"
|
||||
"cancel": "Cancel",
|
||||
"skip": "Skip for now",
|
||||
"reset": "Reset",
|
||||
"save": "Save"
|
||||
},
|
||||
"setup": {
|
||||
"coreNodesNotConfigured": "Core Nodes Not Configured",
|
||||
"pleaseConfigureBeforeUse": "Regulatory and Consciousness nodes are core components of the system. Please configure them before using workflow features.",
|
||||
"missingNodes": "Missing Nodes",
|
||||
"regulatoryNode": "Regulatory Node",
|
||||
"consciousnessNode": "Consciousness Node",
|
||||
"goToConfig": "Go to Configuration"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"placeholder": "让 kilostar 做点什么...",
|
||||
"send": "发送",
|
||||
"selectChat": "选择对话记录或创建新对话以开始",
|
||||
"assistantName": "kilostar 助手",
|
||||
"assistantName": "KiloStar 助手",
|
||||
"errorCommunication": "抱歉,与服务器通信时出错。",
|
||||
"mistakeWarning": "KiloStar 可能会犯错,重要信息请自行核实。",
|
||||
"addAttachment": "添加附件",
|
||||
@@ -76,6 +76,10 @@
|
||||
"waitingEvents": "等待事件...",
|
||||
"replyPlaceholder": "回复工作流...",
|
||||
"refresh": "刷新数据",
|
||||
"resume": "恢复工作流",
|
||||
"resumeTriggered": "恢复请求已发送,工作流正在恢复中...",
|
||||
"resumeFailed": "恢复工作流失败",
|
||||
"sseReconnecting": "连接断开,{{seconds}}秒后重试...",
|
||||
"workflowDetails": "工作流详情",
|
||||
"loading": "正在加载工作流...",
|
||||
"titleRequired": "请输入工作流标题",
|
||||
@@ -90,7 +94,11 @@
|
||||
"failed": "失败"
|
||||
},
|
||||
"total": "总数",
|
||||
"queued": "排队中"
|
||||
"queued": "排队中",
|
||||
"filterAll": "全部",
|
||||
"noWorkflowsInFilter": "当前筛选下无工作流",
|
||||
"steps": "步骤",
|
||||
"noStepsYet": "工作流步骤尚未生成"
|
||||
},
|
||||
"settings": {
|
||||
"settings": "设置",
|
||||
@@ -163,6 +171,22 @@
|
||||
"editWorker": "编辑工作节点",
|
||||
"provider": "供应商",
|
||||
"model": "模型",
|
||||
"config": "配置",
|
||||
"workflowConfig": "工作流配置",
|
||||
"maxRetryAttempts": "最大环重试次数",
|
||||
"maxRetryAttemptsDesc": "工作流图中有环时,防止因异常反复进入环路的最大重试次数。默认为 5。",
|
||||
"configSaved": "配置已保存并热重载生效",
|
||||
"systemLogs": "系统日志",
|
||||
"logFilterTraceId": "按 Trace ID 筛选",
|
||||
"logFilterAllTypes": "所有事件类型",
|
||||
"logFilterAllLevels": "所有级别",
|
||||
"logSearch": "查询",
|
||||
"logLevel": "级别",
|
||||
"logType": "类型",
|
||||
"logNode": "节点",
|
||||
"logMessage": "消息",
|
||||
"logTime": "时间",
|
||||
"noLogs": "暂无日志记录",
|
||||
"description": "描述",
|
||||
"systemPrompt": "系统提示词",
|
||||
"outputTemplate": "输出模板 (JSON)",
|
||||
@@ -224,6 +248,17 @@
|
||||
"none": "无",
|
||||
"creating": "创建中...",
|
||||
"actions": "操作",
|
||||
"cancel": "取消"
|
||||
"cancel": "取消",
|
||||
"skip": "稍后再说",
|
||||
"reset": "重置",
|
||||
"save": "保存"
|
||||
},
|
||||
"setup": {
|
||||
"coreNodesNotConfigured": "核心节点未配置",
|
||||
"pleaseConfigureBeforeUse": "Regulatory 和 Consciousness 节点是系统的核心,请先完成配置后再使用工作流功能。",
|
||||
"missingNodes": "未配置的节点",
|
||||
"regulatoryNode": "监管节点 (Regulatory Node)",
|
||||
"consciousnessNode": "意识节点 (Consciousness Node)",
|
||||
"goToConfig": "前往配置"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user