feat(openclaw): add Workspace Files panel for managing bootstrap md files

Add a dedicated panel to read/write OpenClaw's 6 workspace bootstrap files
(AGENTS.md, SOUL.md, USER.md, IDENTITY.md, TOOLS.md, MEMORY.md) directly
from ~/.openclaw/workspace/, with a whitelist-secured backend and Markdown
editor UI. Also fix prompt auto-import missing OpenCode/OpenClaw and the
PromptFormPanel filenameMap type exclusion.
This commit is contained in:
Jason
2026-02-07 21:42:36 +08:00
parent 182015264c
commit 705cc8a5af
13 changed files with 360 additions and 4 deletions
+16
View File
@@ -1115,6 +1115,22 @@
"deleteMessage": "Are you sure you want to delete prompt \"{{name}}\"?"
}
},
"workspace": {
"title": "Workspace Files",
"manage": "Workspace",
"files": {
"agents": "Agent instructions and rules",
"soul": "Agent personality and communication style",
"user": "User profile and preferences",
"identity": "Agent name and avatar",
"tools": "Local tool documentation",
"memory": "Long-term memory and decisions"
},
"editing": "Edit {{filename}}",
"saveSuccess": "Saved successfully",
"saveFailed": "Failed to save",
"loadFailed": "Failed to load"
},
"env": {
"warning": {
"title": "Environment Variable Conflicts Detected",
+16
View File
@@ -1115,6 +1115,22 @@
"deleteMessage": "プロンプト「{{name}}」を削除してもよろしいですか?"
}
},
"workspace": {
"title": "ワークスペースファイル",
"manage": "ワークスペース",
"files": {
"agents": "エージェントの操作指示とルール",
"soul": "エージェントの人格とコミュニケーションスタイル",
"user": "ユーザープロファイルと設定",
"identity": "エージェントの名前とアバター",
"tools": "ローカルツールドキュメント",
"memory": "長期記憶と意思決定記録"
},
"editing": "{{filename}} を編集",
"saveSuccess": "保存しました",
"saveFailed": "保存に失敗しました",
"loadFailed": "読み込みに失敗しました"
},
"env": {
"warning": {
"title": "競合する環境変数を検出しました",
+16
View File
@@ -1115,6 +1115,22 @@
"deleteMessage": "确定要删除提示词 \"{{name}}\" 吗?"
}
},
"workspace": {
"title": "Workspace 文件管理",
"manage": "Workspace",
"files": {
"agents": "Agent 操作指令和规则",
"soul": "Agent 人格和沟通风格",
"user": "用户档案和偏好",
"identity": "Agent 名称和头像",
"tools": "本地工具文档",
"memory": "长期记忆和决策记录"
},
"editing": "编辑 {{filename}}",
"saveSuccess": "保存成功",
"saveFailed": "保存失败",
"loadFailed": "读取失败"
},
"env": {
"warning": {
"title": "检测到系统环境变量冲突",