feat(agents): add option to inherit main agent workspace when creating new agent (#639)

This commit is contained in:
paisley
2026-03-23 18:00:35 +08:00
committed by GitHub
Unverified
parent 6b82c6ccb4
commit c6021cedf4
7 changed files with 53 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
{
"title": "Agents",
"subtitle": "When adding a new Agent, ClawX will copy the main Agent's workspace files and runtime auth setup. The configuration can be modified through a dialog.",
"subtitle": "Create a new Agent to route specific channels to a separate personality or workspace.",
"refresh": "Refresh",
"addAgent": "Add Agent",
"gatewayWarning": "Gateway service is not running. Agent/channel changes may take a moment to apply.",
@@ -14,9 +14,11 @@
"creating": "Creating...",
"createDialog": {
"title": "Add Agent",
"description": "Create a new agent by name. ClawX will copy the main agent's workspace bootstrap files and runtime auth setup.",
"description": "Create a new agent by name. You can optionally inherit the main agent's workspace bootstrap files.",
"nameLabel": "Agent Name",
"namePlaceholder": "Coding Helper"
"namePlaceholder": "Coding Helper",
"inheritWorkspaceLabel": "Inherit main agent workspace",
"inheritWorkspaceDescription": "Copy SOUL.md, AGENTS.md, etc. from the main agent"
},
"deleteDialog": {
"title": "Delete Agent",

View File

@@ -1,6 +1,6 @@
{
"title": "Agents",
"subtitle": "新しい Agent を追加すると、ClawX はメイン Agent のワークスペース初期ファイルと実行時認証設定をコピーします。これらの設定は対話形式で編集できます",
"subtitle": "新しい Agent を作成し、特定のチャンネルを異なるパーソナリティやワークスペースにルーティングできます",
"refresh": "更新",
"addAgent": "Agent を追加",
"gatewayWarning": "Gateway サービスが停止しています。Agent または Channel の変更が反映されるまで少し時間がかかる場合があります。",
@@ -14,9 +14,11 @@
"creating": "作成中...",
"createDialog": {
"title": "Agent を追加",
"description": "名前だけで新しい Agent を作成できます。ClawX はメイン Agent のワークスペース初期ファイルと認証設定をコピーします。",
"description": "名前だけで新しい Agent を作成できます。メイン Agent のワークスペース初期ファイルを引き継ぐかどうかも選択できます。",
"nameLabel": "Agent 名",
"namePlaceholder": "Coding Helper"
"namePlaceholder": "Coding Helper",
"inheritWorkspaceLabel": "メイン Agent のワークスペースを引き継ぐ",
"inheritWorkspaceDescription": "SOUL.md、AGENTS.md などの初期ファイルをコピーします"
},
"deleteDialog": {
"title": "Agent を削除",

View File

@@ -1,6 +1,6 @@
{
"title": "Agents",
"subtitle": "添加新的 AgentClawX 会复制主 Agent 的工作区引导文件和运行时认证配置, 配置可以通过以对话的形式进行修改",
"subtitle": "创建新的 Agent,可以将特定频道路由到不同的人格配置或工作区。",
"refresh": "刷新",
"addAgent": "添加 Agent",
"gatewayWarning": "Gateway 服务未运行。Agent 或频道变更可能需要一点时间生效。",
@@ -14,9 +14,11 @@
"creating": "创建中...",
"createDialog": {
"title": "添加 Agent",
"description": "只需输入名称即可创建新 Agent。ClawX 会复制主 Agent 的工作区引导文件和运行时认证配置。",
"description": "输入名称即可创建新 Agent,可选择是否继承主 Agent 的工作区引导文件。",
"nameLabel": "Agent 名称",
"namePlaceholder": "Coding Helper"
"namePlaceholder": "Coding Helper",
"inheritWorkspaceLabel": "继承主 Agent 工作区",
"inheritWorkspaceDescription": "从主 Agent 复制 SOUL.md、AGENTS.md 等引导文件"
},
"deleteDialog": {
"title": "删除 Agent",