diff --git a/mateclaw-ui/src/i18n/locales/en-US.ts b/mateclaw-ui/src/i18n/locales/en-US.ts index e9568074..4850d7f6 100644 --- a/mateclaw-ui/src/i18n/locales/en-US.ts +++ b/mateclaw-ui/src/i18n/locales/en-US.ts @@ -1221,7 +1221,8 @@ export default { taglinePreview: 'Card preview:', backstory: 'Backstory', backstoryHint: 'Invisible to users, felt in every conversation. Their experience, beliefs, and working principles.', - extraInstructions: 'Advanced: Additional Instructions', + advanced: 'Advanced', + extraInstructions: 'Additional Instructions', extraInstructionsHint: 'Optional. Use for output format, process checklists, or boundary rules.', maxIterations: 'Max Iterations', defaultThinkingLevel: 'Default Thinking Level', @@ -1235,6 +1236,16 @@ export default { tagUndo: 'Undo', enabled: 'Enabled', }, + guide: { + summary: 'Behavior Guide (AGENTS.md)', + desc: "This is the employee's behavior handbook (AGENTS.md): when to write memories, what goes in each file, and which memory tools are available. The Role/Goal/Backstory above are the employee's factory identity; evolving memories like PROFILE/MEMORY live in the Memory menu.", + empty: 'This employee has no behavior guide (AGENTS.md) yet.', + create: 'Create Behavior Guide', + saved: 'Saved', + addSection: 'Add Section', + addSectionPlaceholder: 'Section title', + scaffold: '## When to Write Memories\n\n(Describe when this employee should record to MEMORY.md / PROFILE.md.)\n\n## File Responsibilities\n\n(Describe what belongs in SOUL.md / PROFILE.md / MEMORY.md.)\n', + }, thinkingLevels: { auto: 'Follow Model', off: 'Off', diff --git a/mateclaw-ui/src/i18n/locales/zh-CN.ts b/mateclaw-ui/src/i18n/locales/zh-CN.ts index 0d58b607..7a440674 100644 --- a/mateclaw-ui/src/i18n/locales/zh-CN.ts +++ b/mateclaw-ui/src/i18n/locales/zh-CN.ts @@ -1113,7 +1113,8 @@ export default { taglinePreview: '卡片预览:', backstory: '背景(Backstory)', backstoryHint: '用户看不见,但每一次对话都能感觉到。写他的经验、信念、做事原则。', - extraInstructions: '高级:补充指令', + advanced: '高级', + extraInstructions: '补充指令', extraInstructionsHint: '可选。用于细化输出格式、流程清单或边界规则。', maxIterations: '最大迭代次数', defaultThinkingLevel: '默认思考深度', @@ -1127,6 +1128,16 @@ export default { tagUndo: '撤销', enabled: '启用', }, + guide: { + summary: '行为指南(AGENTS.md)', + desc: '这里是该员工的行为手册(AGENTS.md):规定何时写记忆、各文件放什么、可用的记忆工具。上方的岗位/目标/背景是员工的出厂身份;PROFILE/MEMORY 等可演化的记忆在「记忆」菜单管理。', + empty: '该员工还没有行为指南(AGENTS.md)。', + create: '创建行为指南', + saved: '已保存', + addSection: '新增小节', + addSectionPlaceholder: '小节标题', + scaffold: '## 何时写记忆\n\n(说明这个员工在什么情况下应当记录到 MEMORY.md / PROFILE.md。)\n\n## 文件职责\n\n(说明 SOUL.md / PROFILE.md / MEMORY.md 各自该放什么内容。)\n', + }, thinkingLevels: { auto: '跟随模型', off: '关闭', diff --git a/mateclaw-ui/src/views/Agents.vue b/mateclaw-ui/src/views/Agents.vue index 06f3d3b1..a75d7125 100644 --- a/mateclaw-ui/src/views/Agents.vue +++ b/mateclaw-ui/src/views/Agents.vue @@ -341,10 +341,16 @@
{{ t('agents.fields.extraInstructionsHint') }}
+{{ t('agents.guide.desc') }}
+{{ t('agents.guide.empty') }}
+ +