feat: v0.1.1 迭代——人设外键重构、Chat UI优化、意识节点防幻觉、日志双视图

1. 人设外键重构:persona_template 成为 system_prompt 唯一权威来源,
   agent/系统节点通过 persona_id FK 引用,含数据迁移脚本
2. Chat UI:去掉底部AI提示、加号改为弹出菜单、新建对话乐观跳转
3. 意识节点:无可用worker时禁止编造agent_id,只能自行完成或拒绝
4. 日志页面:双tab布局(系统日志 + 工作流日志列表选择)
5. 其他:SSE流式聊天、对话删除/重命名、standalone模式修复

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-05 06:18:47 +00:00
parent e3b8686d45
commit 6f1bc27101
39 changed files with 2904 additions and 524 deletions
+11 -1
View File
@@ -10,6 +10,8 @@
"workflow": "Workflow",
"plugin": "Plugin",
"agents": "Agents",
"config": "Config",
"logs": "Logs",
"settings": "Settings"
},
"auth": {
@@ -187,6 +189,10 @@
"logMessage": "Message",
"logTime": "Time",
"noLogs": "No log entries yet",
"workflowLogs": "Workflow Logs",
"workflowLogList": "Workflows",
"selectWorkflowToView": "Select a workflow to view execution logs",
"workflowAction": "Action",
"description": "Description",
"systemPrompt": "System Prompt",
"outputTemplate": "Output Template (JSON)",
@@ -205,6 +211,8 @@
"deleteTemplateConfirm": "Delete this template?",
"noTemplates": "No persona templates yet",
"templateName": "Template Name",
"selectPersona": "Select persona...",
"noPrompt": "(no prompt)",
"builtin": "Built-in",
"createFromTemplate": "Create worker from template",
"workerCreatedFromTemplate": "Worker created from template successfully",
@@ -212,7 +220,8 @@
"tagsPlaceholder": "Comma-separated, e.g.: assistant, translator, coder",
"customPrompt": "Custom Prompt",
"customPromptPlaceholder": "Additional content appended after the default system prompt...",
"displayName": "Display Name"
"displayName": "Display Name",
"persona": "Persona"
},
"plugin": {
"toolManagement": "Tool Management",
@@ -265,6 +274,7 @@
"actions": "Actions",
"cancel": "Cancel",
"skip": "Skip for now",
"status": "Status",
"reset": "Reset",
"save": "Save"
},
+11 -1
View File
@@ -10,6 +10,8 @@
"workflow": "工作流",
"plugin": "插件",
"agents": "智能体",
"config": "配置",
"logs": "日志",
"settings": "设置"
},
"auth": {
@@ -187,6 +189,10 @@
"logMessage": "消息",
"logTime": "时间",
"noLogs": "暂无日志记录",
"workflowLogs": "工作流日志",
"workflowLogList": "工作流列表",
"selectWorkflowToView": "选择左侧工作流查看执行日志",
"workflowAction": "动作",
"description": "描述",
"systemPrompt": "系统提示词",
"outputTemplate": "输出模板 (JSON)",
@@ -205,6 +211,8 @@
"deleteTemplateConfirm": "确定要删除此模板吗?",
"noTemplates": "暂无人设模板",
"templateName": "模板名称",
"selectPersona": "请选择人设",
"noPrompt": "(无提示词)",
"builtin": "内置",
"createFromTemplate": "从模板创建工作者",
"workerCreatedFromTemplate": "已从模板成功创建工作者",
@@ -212,7 +220,8 @@
"tagsPlaceholder": "用逗号分隔,如:助手, 翻译, 代码",
"customPrompt": "附加人设",
"customPromptPlaceholder": "在默认系统提示词之后追加的自定义内容...",
"displayName": "显示名称"
"displayName": "显示名称",
"persona": "人设"
},
"plugin": {
"toolManagement": "工具管理",
@@ -265,6 +274,7 @@
"actions": "操作",
"cancel": "取消",
"skip": "稍后再说",
"status": "状态",
"reset": "重置",
"save": "保存"
},