mirror of
https://github.com/esengine/DeepSeek-Reasonix.git
synced 2026-11-07 10:45:59 -10:00
Problem: Built-in presets use flat rows, choosing a future task mode requires repetition, and persona fields are hidden behind an advanced disclosure. Root cause: Management navigation and new-task launch intent have no shared explicit preference; the editor groups basic persona fields with identifiers. Fix: Match the selected two-column card hierarchy with badges, IDs, descriptions and separate details, usage and copy actions. Persist an explicit built-in card choice in a new machine-local key and inject it through the local/remote open owners only for new tasks. Explicit request choices override it; restoring history keeps its binding. Existing server preferences alone remain inert. Expose both persona textareas, runtime context, scope and ID directly, rename settings navigation to Persona, and keep literal persona fields authoritative. Verification: Full frontend suite plus real MockHub launch effects, blank-pane reuse, local/remote history, explicit overrides, storage compatibility/refusal, cross-window refresh and independent footer actions. Production build/typecheck, UI census/fixtures, format, vet, lint, changed-file and builtin/boot checks. Browser-rendered visual comparison remains blocked by the URL policy, as recorded in design-qa.md.
29 lines
2.9 KiB
TypeScript
29 lines
2.9 KiB
TypeScript
export const EN_PERSONA: Record<string, string> = {
|
|
"人设": "Persona",
|
|
"系统人设": "System persona",
|
|
"已保存 · 下次会话构建时生效": "Saved · applies at the next session build",
|
|
"下次会话构建时生效": "Applies at the next session build",
|
|
"系统人设决定 agent 的身份:前缀写在系统提示词最前面,后缀写在内置指令之后。保存不会立即重建会话;新会话及现有会话下一次重建(例如切换模型)时生效。":
|
|
"The system persona shapes the agent's identity: the prefix leads the system prompt and the suffix follows the built-in guidance. Saving does not rebuild a session immediately. Changes apply to new sessions and the next rebuild of an existing session, such as a model switch.",
|
|
"无法读取人设设置。": "Couldn't read the persona settings.",
|
|
"预设": "Presets",
|
|
"严谨工程师": "Rigorous engineer",
|
|
"简洁": "Concise",
|
|
"教学导师": "Mentor",
|
|
"严苛评审": "Critic",
|
|
"先验证再下结论,只做最少的正确改动,并说明剩余风险。": "Verify before concluding, make the smallest correct change, and state the residual risk.",
|
|
"回答简短直接,不铺垫,优先代码与要点。": "Answer briefly and directly, skip the preamble, prefer code and bullets.",
|
|
"像老师一样说明取舍与原理,把决定权留给你。": "Explain trade-offs and reasoning like a teacher, and leave the decision to you.",
|
|
"以审查者的立场找问题:先指出失效方式和证据,再谈通过。": "Review adversarially: name the failure mode and the evidence before approving.",
|
|
"未应用预设;直接填写下面的两段即可。": "No preset applied; fill in the two boxes below.",
|
|
"已修改预设内容,按下面的字段保存。": "The preset text has been edited; save the fields below.",
|
|
"系统提示词开头": "Start of the system prompt",
|
|
"作为系统提示词的第一段,写在内置指令之前;留空表示不添加。": "Leads the system prompt, ahead of the built-in guidance; leave it empty to add nothing.",
|
|
"补充要求": "Additional instructions",
|
|
"放在内置系统指令之后,留空则不添加": "Placed after the built-in system instructions. Leave blank to add nothing.",
|
|
"不注入可选运行时上下文": "Do not inject optional runtime context",
|
|
"开启后不注入探测到的运行环境与离线提示;指令、记忆与技能照常写入。": "When on, the probed environment and the offline note are not injected; instructions, memory and skills are written as usual.",
|
|
"写入用户配置,在新会话及现有会话下一次重建时生效;保存本身不会重建会话。": "Writes the user config; applies to new sessions and the next rebuild of an existing session. Saving itself does not rebuild it.",
|
|
"已保存,下次会话构建时生效": "Saved; applies at the next session build",
|
|
};
|