所有agent的AGENTS.md添加cron使用说明
This commit is contained in:
@@ -42,7 +42,8 @@
|
||||
"cacheWrite": 10
|
||||
},
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 8192
|
||||
"maxTokens": 8192,
|
||||
"api": "anthropic-messages"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -65,7 +66,8 @@
|
||||
"cacheWrite": 0
|
||||
},
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 8192
|
||||
"maxTokens": 8192,
|
||||
"api": "openai-completions"
|
||||
},
|
||||
{
|
||||
"id": "glm-4.7-FlashX",
|
||||
@@ -81,7 +83,8 @@
|
||||
"cacheWrite": 0
|
||||
},
|
||||
"contextWindow": 200000,
|
||||
"maxTokens": 8192
|
||||
"maxTokens": 8192,
|
||||
"api": "openai-completions"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -103,9 +106,34 @@
|
||||
"cacheWrite": 0
|
||||
},
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 65536
|
||||
"maxTokens": 65536,
|
||||
"api": "openai-completions"
|
||||
}
|
||||
]
|
||||
},
|
||||
"kimi-coding": {
|
||||
"baseUrl": "https://api.kimi.com/coding/",
|
||||
"api": "anthropic-messages",
|
||||
"models": [
|
||||
{
|
||||
"id": "k2p5",
|
||||
"name": "Kimi for Coding",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"cost": {
|
||||
"input": 0,
|
||||
"output": 0,
|
||||
"cacheRead": 0,
|
||||
"cacheWrite": 0
|
||||
},
|
||||
"contextWindow": 262144,
|
||||
"maxTokens": 32768
|
||||
}
|
||||
],
|
||||
"apiKey": "sk-kimi-o8VFc619Hnv8IAfj3aawWYDAFlJeBseOEs1ybgTQzO66uWyfW91QoVLz9VlTT9A6"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -347,8 +347,8 @@
|
||||
"memoryFlushCompactionCount": 0
|
||||
},
|
||||
"agent:dev-assist:main": {
|
||||
"sessionId": "b7584411-c07d-4e44-b96b-72b32750f8af",
|
||||
"updatedAt": 1772688969697,
|
||||
"sessionId": "295def2d-dfeb-4d65-a8ee-77d118a2e7b8",
|
||||
"updatedAt": 1772983272528,
|
||||
"systemSent": true,
|
||||
"abortedLastRun": false,
|
||||
"chatType": "direct",
|
||||
@@ -369,10 +369,10 @@
|
||||
"to": "user:ou_302b162eb824d405718845441a32d9cf",
|
||||
"accountId": "feishu-dev"
|
||||
},
|
||||
"sessionFile": "/home/starmen1265/.openclaw/agents/dev-assist/sessions/b7584411-c07d-4e44-b96b-72b32750f8af.jsonl",
|
||||
"sessionFile": "/home/starmen1265/.openclaw/agents/dev-assist/sessions/295def2d-dfeb-4d65-a8ee-77d118a2e7b8.jsonl",
|
||||
"compactionCount": 0,
|
||||
"skillsSnapshot": {
|
||||
"prompt": "\n\nThe following skills provide specialized instructions for specific tasks.\nUse the read tool to load a skill's file when the task matches its description.\nWhen a skill file references a relative path, resolve it against the skill directory (parent of SKILL.md / dirname of the path) and use that absolute path in tool commands.\n\n<available_skills>\n <skill>\n <name>capability-evolver</name>\n <description>A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.</description>\n <location>/home/starmen1265/.openclaw/skills/capability-evolver/SKILL.md</location>\n </skill>\n <skill>\n <name>clawlist</name>\n <description>MUST use for any multi-step project, long-running task, or infinite monitoring workflow. Plan, execute, track, and verify tasks with checkpoint validation. For projects, automation, and ongoing operations.</description>\n <location>/home/starmen1265/.openclaw/skills/clawlist/SKILL.md</location>\n </skill>\n</available_skills>",
|
||||
"prompt": "\n\nThe following skills provide specialized instructions for specific tasks.\nUse the read tool to load a skill's file when the task matches its description.\nWhen a skill file references a relative path, resolve it against the skill directory (parent of SKILL.md / dirname of the path) and use that absolute path in tool commands.\n\n<available_skills>\n <skill>\n <name>capability-evolver</name>\n <description>A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.</description>\n <location>~/.openclaw/skills/capability-evolver/SKILL.md</location>\n </skill>\n <skill>\n <name>clawlist</name>\n <description>MUST use for any multi-step project, long-running task, or infinite monitoring workflow. Plan, execute, track, and verify tasks with checkpoint validation. For projects, automation, and ongoing operations.</description>\n <location>~/.openclaw/skills/clawlist/SKILL.md</location>\n </skill>\n</available_skills>",
|
||||
"skills": [
|
||||
{
|
||||
"name": "capability-evolver"
|
||||
@@ -381,6 +381,11 @@
|
||||
"name": "clawlist"
|
||||
}
|
||||
],
|
||||
"skillFilter": [
|
||||
"clawlist",
|
||||
"capability-evolver",
|
||||
"self-improving-agent"
|
||||
],
|
||||
"resolvedSkills": [
|
||||
{
|
||||
"name": "capability-evolver",
|
||||
@@ -405,42 +410,43 @@
|
||||
"model": "glm-5",
|
||||
"systemPromptReport": {
|
||||
"source": "run",
|
||||
"generatedAt": 1772688958464,
|
||||
"sessionId": "b7584411-c07d-4e44-b96b-72b32750f8af",
|
||||
"generatedAt": 1772983256140,
|
||||
"sessionId": "295def2d-dfeb-4d65-a8ee-77d118a2e7b8",
|
||||
"sessionKey": "agent:dev-assist:main",
|
||||
"provider": "zhipu",
|
||||
"model": "glm-5",
|
||||
"workspaceDir": "/home/starmen1265/.openclaw/workspace-dev-assist",
|
||||
"workspaceDir": "/home/starmen1265/.openclaw/agents/dev-assist/workspace",
|
||||
"bootstrapMaxChars": 20000,
|
||||
"bootstrapTotalMaxChars": 150000,
|
||||
"sandbox": {
|
||||
"mode": "off",
|
||||
"sandboxed": false
|
||||
},
|
||||
"systemPrompt": {
|
||||
"chars": 24288,
|
||||
"projectContextChars": 13995,
|
||||
"nonProjectContextChars": 10293
|
||||
"chars": 26568,
|
||||
"projectContextChars": 13678,
|
||||
"nonProjectContextChars": 12890
|
||||
},
|
||||
"injectedWorkspaceFiles": [
|
||||
{
|
||||
"name": "AGENTS.md",
|
||||
"path": "/home/starmen1265/.openclaw/workspace-dev-assist/AGENTS.md",
|
||||
"path": "/home/starmen1265/.openclaw/agents/dev-assist/workspace/AGENTS.md",
|
||||
"missing": false,
|
||||
"rawChars": 7804,
|
||||
"injectedChars": 7804,
|
||||
"rawChars": 9264,
|
||||
"injectedChars": 9264,
|
||||
"truncated": false
|
||||
},
|
||||
{
|
||||
"name": "SOUL.md",
|
||||
"path": "/home/starmen1265/.openclaw/workspace-dev-assist/SOUL.md",
|
||||
"path": "/home/starmen1265/.openclaw/agents/dev-assist/workspace/SOUL.md",
|
||||
"missing": false,
|
||||
"rawChars": 1664,
|
||||
"injectedChars": 1664,
|
||||
"rawChars": 83,
|
||||
"injectedChars": 83,
|
||||
"truncated": false
|
||||
},
|
||||
{
|
||||
"name": "TOOLS.md",
|
||||
"path": "/home/starmen1265/.openclaw/workspace-dev-assist/TOOLS.md",
|
||||
"path": "/home/starmen1265/.openclaw/agents/dev-assist/workspace/TOOLS.md",
|
||||
"missing": false,
|
||||
"rawChars": 850,
|
||||
"injectedChars": 850,
|
||||
@@ -448,23 +454,23 @@
|
||||
},
|
||||
{
|
||||
"name": "IDENTITY.md",
|
||||
"path": "/home/starmen1265/.openclaw/workspace-dev-assist/IDENTITY.md",
|
||||
"path": "/home/starmen1265/.openclaw/agents/dev-assist/workspace/IDENTITY.md",
|
||||
"missing": false,
|
||||
"rawChars": 633,
|
||||
"injectedChars": 633,
|
||||
"rawChars": 270,
|
||||
"injectedChars": 270,
|
||||
"truncated": false
|
||||
},
|
||||
{
|
||||
"name": "USER.md",
|
||||
"path": "/home/starmen1265/.openclaw/workspace-dev-assist/USER.md",
|
||||
"path": "/home/starmen1265/.openclaw/agents/dev-assist/workspace/USER.md",
|
||||
"missing": false,
|
||||
"rawChars": 474,
|
||||
"injectedChars": 474,
|
||||
"rawChars": 142,
|
||||
"injectedChars": 142,
|
||||
"truncated": false
|
||||
},
|
||||
{
|
||||
"name": "HEARTBEAT.md",
|
||||
"path": "/home/starmen1265/.openclaw/workspace-dev-assist/HEARTBEAT.md",
|
||||
"path": "/home/starmen1265/.openclaw/agents/dev-assist/workspace/HEARTBEAT.md",
|
||||
"missing": false,
|
||||
"rawChars": 167,
|
||||
"injectedChars": 167,
|
||||
@@ -472,12 +478,20 @@
|
||||
},
|
||||
{
|
||||
"name": "BOOTSTRAP.md",
|
||||
"path": "/home/starmen1265/.openclaw/workspace-dev-assist/BOOTSTRAP.md",
|
||||
"path": "/home/starmen1265/.openclaw/agents/dev-assist/workspace/BOOTSTRAP.md",
|
||||
"missing": false,
|
||||
"rawChars": 1449,
|
||||
"injectedChars": 1449,
|
||||
"truncated": false
|
||||
},
|
||||
{
|
||||
"name": "MEMORY.md",
|
||||
"path": "/home/starmen1265/.openclaw/agents/dev-assist/workspace/MEMORY.md",
|
||||
"missing": false,
|
||||
"rawChars": 18,
|
||||
"injectedChars": 18,
|
||||
"truncated": false
|
||||
},
|
||||
{
|
||||
"path": "SELF_IMPROVEMENT_REMINDER.md",
|
||||
"rawChars": 616,
|
||||
@@ -486,21 +500,21 @@
|
||||
}
|
||||
],
|
||||
"skills": {
|
||||
"promptChars": 1037,
|
||||
"promptChars": 1005,
|
||||
"entries": [
|
||||
{
|
||||
"name": "capability-evolver",
|
||||
"blockChars": 306
|
||||
"blockChars": 290
|
||||
},
|
||||
{
|
||||
"name": "clawlist",
|
||||
"blockChars": 359
|
||||
"blockChars": 343
|
||||
}
|
||||
]
|
||||
},
|
||||
"tools": {
|
||||
"listChars": 2378,
|
||||
"schemaChars": 16629,
|
||||
"listChars": 3402,
|
||||
"schemaChars": 24678,
|
||||
"entries": [
|
||||
{
|
||||
"name": "read",
|
||||
@@ -523,20 +537,20 @@
|
||||
{
|
||||
"name": "exec",
|
||||
"summaryChars": 181,
|
||||
"schemaChars": 1037,
|
||||
"schemaChars": 1086,
|
||||
"propertiesCount": 12
|
||||
},
|
||||
{
|
||||
"name": "process",
|
||||
"summaryChars": 85,
|
||||
"schemaChars": 844,
|
||||
"propertiesCount": 11
|
||||
"schemaChars": 961,
|
||||
"propertiesCount": 12
|
||||
},
|
||||
{
|
||||
"name": "browser",
|
||||
"summaryChars": 1251,
|
||||
"schemaChars": 1869,
|
||||
"propertiesCount": 28
|
||||
"schemaChars": 2799,
|
||||
"propertiesCount": 48
|
||||
},
|
||||
{
|
||||
"name": "canvas",
|
||||
@@ -546,63 +560,57 @@
|
||||
},
|
||||
{
|
||||
"name": "nodes",
|
||||
"summaryChars": 101,
|
||||
"schemaChars": 1479,
|
||||
"propertiesCount": 33
|
||||
},
|
||||
{
|
||||
"name": "cron",
|
||||
"summaryChars": 2444,
|
||||
"schemaChars": 581,
|
||||
"propertiesCount": 13
|
||||
"summaryChars": 115,
|
||||
"schemaChars": 1758,
|
||||
"propertiesCount": 36
|
||||
},
|
||||
{
|
||||
"name": "message",
|
||||
"summaryChars": 89,
|
||||
"schemaChars": 3897,
|
||||
"propertiesCount": 84
|
||||
"schemaChars": 4210,
|
||||
"propertiesCount": 86
|
||||
},
|
||||
{
|
||||
"name": "tts",
|
||||
"summaryChars": 129,
|
||||
"summaryChars": 152,
|
||||
"schemaChars": 223,
|
||||
"propertiesCount": 2
|
||||
},
|
||||
{
|
||||
"name": "gateway",
|
||||
"summaryChars": 225,
|
||||
"schemaChars": 465,
|
||||
"propertiesCount": 11
|
||||
},
|
||||
{
|
||||
"name": "agents_list",
|
||||
"summaryChars": 72,
|
||||
"summaryChars": 118,
|
||||
"schemaChars": 33,
|
||||
"propertiesCount": 0
|
||||
},
|
||||
{
|
||||
"name": "sessions_list",
|
||||
"summaryChars": 54,
|
||||
"schemaChars": 176,
|
||||
"schemaChars": 212,
|
||||
"propertiesCount": 4
|
||||
},
|
||||
{
|
||||
"name": "sessions_history",
|
||||
"summaryChars": 36,
|
||||
"schemaChars": 149,
|
||||
"schemaChars": 161,
|
||||
"propertiesCount": 3
|
||||
},
|
||||
{
|
||||
"name": "sessions_send",
|
||||
"summaryChars": 84,
|
||||
"schemaChars": 203,
|
||||
"schemaChars": 273,
|
||||
"propertiesCount": 5
|
||||
},
|
||||
{
|
||||
"name": "sessions_spawn",
|
||||
"summaryChars": 107,
|
||||
"schemaChars": 312,
|
||||
"propertiesCount": 8
|
||||
"summaryChars": 134,
|
||||
"schemaChars": 895,
|
||||
"propertiesCount": 15
|
||||
},
|
||||
{
|
||||
"name": "subagents",
|
||||
"summaryChars": 105,
|
||||
"schemaChars": 191,
|
||||
"propertiesCount": 4
|
||||
},
|
||||
{
|
||||
"name": "session_status",
|
||||
@@ -613,20 +621,20 @@
|
||||
{
|
||||
"name": "web_search",
|
||||
"summaryChars": 175,
|
||||
"schemaChars": 733,
|
||||
"schemaChars": 895,
|
||||
"propertiesCount": 6
|
||||
},
|
||||
{
|
||||
"name": "web_fetch",
|
||||
"summaryChars": 129,
|
||||
"schemaChars": 360,
|
||||
"schemaChars": 374,
|
||||
"propertiesCount": 3
|
||||
},
|
||||
{
|
||||
"name": "feishu_doc",
|
||||
"summaryChars": 116,
|
||||
"schemaChars": 584,
|
||||
"propertiesCount": 6
|
||||
"summaryChars": 321,
|
||||
"schemaChars": 2898,
|
||||
"propertiesCount": 27
|
||||
},
|
||||
{
|
||||
"name": "feishu_app_scopes",
|
||||
@@ -634,21 +642,75 @@
|
||||
"schemaChars": 33,
|
||||
"propertiesCount": 0
|
||||
},
|
||||
{
|
||||
"name": "feishu_chat",
|
||||
"summaryChars": 46,
|
||||
"schemaChars": 508,
|
||||
"propertiesCount": 5
|
||||
},
|
||||
{
|
||||
"name": "feishu_wiki",
|
||||
"summaryChars": 83,
|
||||
"schemaChars": 880,
|
||||
"schemaChars": 971,
|
||||
"propertiesCount": 10
|
||||
},
|
||||
{
|
||||
"name": "feishu_drive",
|
||||
"summaryChars": 81,
|
||||
"schemaChars": 458,
|
||||
"schemaChars": 486,
|
||||
"propertiesCount": 5
|
||||
},
|
||||
{
|
||||
"name": "feishu_bitable_get_meta",
|
||||
"summaryChars": 114,
|
||||
"schemaChars": 170,
|
||||
"propertiesCount": 1
|
||||
},
|
||||
{
|
||||
"name": "feishu_bitable_list_fields",
|
||||
"summaryChars": 76,
|
||||
"schemaChars": 255,
|
||||
"propertiesCount": 2
|
||||
},
|
||||
{
|
||||
"name": "feishu_bitable_list_records",
|
||||
"summaryChars": 64,
|
||||
"schemaChars": 462,
|
||||
"propertiesCount": 4
|
||||
},
|
||||
{
|
||||
"name": "feishu_bitable_get_record",
|
||||
"summaryChars": 46,
|
||||
"schemaChars": 335,
|
||||
"propertiesCount": 3
|
||||
},
|
||||
{
|
||||
"name": "feishu_bitable_create_record",
|
||||
"summaryChars": 44,
|
||||
"schemaChars": 549,
|
||||
"propertiesCount": 3
|
||||
},
|
||||
{
|
||||
"name": "feishu_bitable_update_record",
|
||||
"summaryChars": 50,
|
||||
"schemaChars": 473,
|
||||
"propertiesCount": 4
|
||||
},
|
||||
{
|
||||
"name": "feishu_bitable_create_app",
|
||||
"summaryChars": 57,
|
||||
"schemaChars": 243,
|
||||
"propertiesCount": 2
|
||||
},
|
||||
{
|
||||
"name": "feishu_bitable_create_field",
|
||||
"summaryChars": 46,
|
||||
"schemaChars": 911,
|
||||
"propertiesCount": 5
|
||||
},
|
||||
{
|
||||
"name": "memory_search",
|
||||
"summaryChars": 235,
|
||||
"summaryChars": 334,
|
||||
"schemaChars": 139,
|
||||
"propertiesCount": 3
|
||||
},
|
||||
@@ -661,9 +723,12 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"inputTokens": 11051,
|
||||
"outputTokens": 250,
|
||||
"totalTokens": 17323,
|
||||
"contextTokens": 200000
|
||||
"cacheRead": 16512,
|
||||
"cacheWrite": 0,
|
||||
"totalTokensFresh": true,
|
||||
"contextTokens": 200000,
|
||||
"inputTokens": 2044,
|
||||
"outputTokens": 475,
|
||||
"totalTokens": 16954
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"version": 1,
|
||||
"bootstrapSeededAt": "2026-03-08T15:02:22.626Z"
|
||||
}
|
||||
@@ -39,6 +39,7 @@ This folder is home. Treat it that way.
|
||||
- 所有定时任务通过 **OpenClaw Gateway 内置 Cron** 管理
|
||||
- 不使用系统级 crontab
|
||||
- 相关脚本统一存放:`~/.openclaw/cron/scripts/`
|
||||
- 内置cron使用方法参考:`~/.openclaw/cron/jobs.json`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
# IDENTITY.md - Who Am I?
|
||||
|
||||
- **Name:** 小程
|
||||
- **Creature:** AI 程序员
|
||||
- **Vibe:** 专业、靠谱、有经验的技术老手
|
||||
- **Name:** 岩田聪
|
||||
- **Creature:** 游戏开发总监
|
||||
- **Vibe:** 专业、靠谱、全面的游戏开发者
|
||||
- **Emoji:** 👨💻
|
||||
- **Skills:** Python, PHP, Node.js, 网页开发, 应用开发
|
||||
- **Experience:** 多年开发经验,优秀的程序员
|
||||
- **Skills:** RPGMaker,Godot,UnrealEngine
|
||||
- **Experience:** 多年游戏制作经验,游戏相关的策划,开发,美术样样精通
|
||||
|
||||
---
|
||||
|
||||
我是一名经验丰富的开发者,擅长各种后端和前端技术。
|
||||
- 维护 `/work/kb-web` 和 `kb-skills` 这两个项目
|
||||
- 工作方式:先组织好开发任务,拆分成子任务交给子代理处理,自己负责审查和提交
|
||||
- 定期向用户汇报开发状况
|
||||
我是一名经验丰富的游戏开发者,了解游戏各方面的工作
|
||||
尤其擅长组织一个完整的游戏开发团队进行开发
|
||||
也能亲自回答游戏开发各方面的问题。
|
||||
|
||||
@@ -1,15 +1,2 @@
|
||||
# MEMORY.md - 长期记忆
|
||||
|
||||
## 项目维护规则
|
||||
|
||||
- 你维护的任何项目都应该在一个 git 仓库中,并且关联远端仓库,如果没有,询问是否要添加。
|
||||
- 每次修改之后,提交并推送到远端仓库。
|
||||
|
||||
## 负责维护的项目
|
||||
|
||||
- `~/work/kb-skills` - 由你开发并维护
|
||||
- `~/work/kb-web` - 由你开发并维护
|
||||
|
||||
## 不负责的项目
|
||||
|
||||
- `~/work/knowledge-base` - 不由你开发维护,不要动里面的内容。
|
||||
|
||||
@@ -1,101 +1,6 @@
|
||||
# SOUL.md - AI 助手职责定义
|
||||
|
||||
## 角色定位
|
||||
|
||||
我是 **AI 开发助手**,专注于代码项目开发、技能模块开发和自动化部署。
|
||||
|
||||
---
|
||||
|
||||
## 核心职责
|
||||
|
||||
### 1. 项目开发
|
||||
- 进行技能(Skills)、网页、及其他代码项目的开发
|
||||
- 遵循最佳实践和代码规范
|
||||
- 编写清晰的技术文档
|
||||
|
||||
### 2. 分支管理
|
||||
- 开发新功能时,创建并切换到 `feature/*` 分支
|
||||
- 开发完成后,在分支上提交并推送到远程仓库
|
||||
- 分支命名规范:`feature/功能描述`
|
||||
|
||||
### 3. 自动化测试与部署
|
||||
- 代码推送后,自动部署到测试环境
|
||||
- 执行自动化测试(如有配置)
|
||||
- 向用户汇报测试结果,或请求手动测试
|
||||
|
||||
### 4. 发布部署
|
||||
- 在用户确认测试通过后,执行一键部署到正式环境
|
||||
- 部署前确认备份已完成
|
||||
- 部署后验证服务状态
|
||||
|
||||
### 5. 深度思考
|
||||
- 日常使用最高级深度思考模式
|
||||
- 复杂问题充分分析后再行动
|
||||
- 提供清晰的理由和方案说明
|
||||
|
||||
---
|
||||
|
||||
## 开发工作流
|
||||
|
||||
```
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ 1. 收到开发任务 │
|
||||
│ │ │
|
||||
│ ▼ │
|
||||
│ 2. 创建 feature 分支 │
|
||||
│ │ │
|
||||
│ ▼ │
|
||||
│ 3. 开发、测试、文档 │
|
||||
│ │ │
|
||||
│ ▼ │
|
||||
│ 4. 提交并推送分支 │
|
||||
│ │ │
|
||||
│ ▼ │
|
||||
│ 5. 自动部署到测试环境 │
|
||||
│ │ │
|
||||
│ ▼ │
|
||||
│ 6. 汇报测试结果 / 请求用户测试 │
|
||||
│ │ │
|
||||
│ ▼ │
|
||||
│ 7. 用户确认通过? │
|
||||
│ │ 是 │
|
||||
│ ▼ │
|
||||
│ 8. 合并到 main / 一键部署正式环境 │
|
||||
│ │ │
|
||||
│ ▼ │
|
||||
│ 9. 完成 ✓ │
|
||||
└─────────────────────────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 当前维护项目
|
||||
|
||||
| 项目 | 路径 | 类型 | 仓库 |
|
||||
|------|------|------|------|
|
||||
| kb-web | `~/work/kb-web` | 网页系统 | `starmen1265/kb-web` |
|
||||
| kb-skills | `~/work/kb-skills` | 技能模块 | `starmen1265/kb-skills` |
|
||||
|
||||
---
|
||||
|
||||
## 环境配置
|
||||
|
||||
| 配置项 | 用途 |
|
||||
|--------|------|
|
||||
| `~/work/id_hk` | 服务器 SSH 密钥 |
|
||||
| `~/.kb_env` | 知识库相关环境变量 |
|
||||
| `HF_TOKEN` | HuggingFace Token(说话者分离) |
|
||||
|
||||
---
|
||||
|
||||
## 注意事项
|
||||
|
||||
- ❌ 不要跳过测试直接部署正式环境
|
||||
- ❌ 不要在 main 分支直接开发
|
||||
- ✅ 保持代码整洁,及时提交
|
||||
- ✅ 复杂变更前先说明方案
|
||||
- ✅ 部署后验证功能正常
|
||||
|
||||
---
|
||||
|
||||
*最后更新:2026-02-15*
|
||||
我是一名优秀的游戏开发总监,擅长:
|
||||
- 快速,高效,专业的组织游戏功能的开发
|
||||
- 回答游戏开发相关的问题
|
||||
@@ -1,11 +1,10 @@
|
||||
# USER.md - About Your Human
|
||||
|
||||
- **Name:** 张青
|
||||
- **What to call them:** 张青
|
||||
- **Pronouns:** 他
|
||||
- **Name:** 蒋先生
|
||||
- **What to call them:** 蒋先生
|
||||
- **Timezone:** GMT+8 (Asia/Shanghai)
|
||||
- **Notes:**
|
||||
- **Notes:** 中文交流
|
||||
|
||||
## Context
|
||||
|
||||
用户在飞书群聊中使用我,是我的主人。
|
||||
|
||||
|
||||
@@ -0,0 +1,120 @@
|
||||
# Session: 2026-03-08 15:02:22 UTC
|
||||
|
||||
- **Session Key**: agent:dev-assist:main
|
||||
- **Session ID**: b7584411-c07d-4e44-b96b-72b32750f8af
|
||||
- **Source**: feishu
|
||||
|
||||
## Conversation Summary
|
||||
|
||||
user: System: [2026-03-05 10:49:59 GMT+8] Feishu[feishu-dev] DM from ou_302b162eb824d405718845441a32d9cf: 我有一台Macmini,macOS系统是Sonoma 14.6,XCode版本是 15.4,我需要用它来编译UE5.6并且打包IOS,我查看了一下官方的要求,最低要XCode 16,但是我看App Store上XCode没有升级选项,应该去哪里升级?
|
||||
|
||||
[Feishu ou_302b162eb824d405718845441a32d9cf Thu 2026-03-05 10:49 GMT+8] 张青: 我有一台Macmini,macOS系统是Sonoma 14.6,XCode版本是 15.4,我需要用它来编译UE5.6并且打包IOS,我查看了一下官方的要求,最低要XCode 16,但是我看App Store上XCode没有升级选项,应该去哪里升级?
|
||||
[message_id: om_x100b55babb9618a8c117de0524b742b]
|
||||
assistant: 你的系统配置满足 Xcode 16 的要求(需要 macOS Sonoma 14.5+),App Store 不显示升级选项是常见问题。有以下几种解决方案:
|
||||
|
||||
## 方法 1:Apple Developer 官网下载(推荐)
|
||||
|
||||
1. 访问 https://developer.apple.com/download/all/
|
||||
2. 用你的 Apple ID 登录
|
||||
3. 搜索 "Xcode 16"
|
||||
4. 下载 `.xip` 文件(约 8-10GB)
|
||||
5. 双击解压,将 Xcode.app 拖到 Applications 文件夹
|
||||
|
||||
## 方法 2:xcodereleases.com
|
||||
|
||||
这是一个第三方索引站,链接都指向 Apple 官方下载:
|
||||
- https://xcodereleases.com/
|
||||
- 找到 Xcode 16.x,点击下载即可跳转到 Apple 官方页面
|
||||
|
||||
## 方法 3:使用 xcodes 工具(命令行)
|
||||
|
||||
如果你喜欢命令行,可以用 [xcodes](https://github.com/XcodesOrg/xcodes):
|
||||
|
||||
```bash
|
||||
brew install xcodesorg/made/xcodes
|
||||
xcodes list # 查看所有可用版本
|
||||
xcodes install 16.2 # 安装指定版本
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
**安装后记得:**
|
||||
1. 打开新安装的 Xcode,同意许可协议
|
||||
2. 运行 `sudo xcode-select -s /Applications/Xcode.app` 设置为默认
|
||||
3. 安装命令行工具:`xcode-select --install`
|
||||
|
||||
这样你就可以用 Xcode 16 来编译 UE5.6 和打包 iOS 了。
|
||||
user: [media attached: /home/starmen1265/.openclaw/media/inbound/d43f43ec-4953-42e2-a550-8b2474b9939b.jpg (image/jpeg) | /home/starmen1265/.openclaw/media/inbound/d43f43ec-4953-42e2-a550-8b2474b9939b.jpg]
|
||||
To send an image back, prefer the message tool (media/path/filePath). If you must inline, use MEDIA:https://example.com/image.jpg (spaces ok, quote if needed) or a safe relative path like MEDIA:./image.jpg. Avoid absolute paths (MEDIA:/...) and ~ paths — they are blocked for security. Keep caption in the text body.
|
||||
System: [2026-03-05 11:09:42 GMT+8] Feishu[feishu-dev] DM from ou_302b162eb824d405718845441a32d9cf: 我在Mac安装OpenClaw时报错:
|
||||
|
||||
[Feishu ou_302b162eb824d405718845441a32d9cf Thu 2026-03-05 11:09 GMT+8] 张青: 我在Mac安装OpenClaw时报错:
|
||||
[message_id: om_x100b55bb7195e510c4a369960dc9703]
|
||||
assistant: 这是 npm 全局安装权限问题,很常见。有几种解决方案:
|
||||
|
||||
## 方案 1:使用 sudo(最简单)
|
||||
|
||||
```bash
|
||||
sudo npm install -g openclaw
|
||||
```
|
||||
|
||||
输入你的 Mac 密码即可。
|
||||
|
||||
## 方案 2:修复 npm 全局目录权限(推荐,一劳永逸)
|
||||
|
||||
```bash
|
||||
sudo chown -R $(whoami) /usr/local/lib/node_modules
|
||||
sudo chown -R $(whoami) /usr/local/bin
|
||||
sudo chown -R $(whoami) /usr/local/share
|
||||
```
|
||||
|
||||
之后再安装就不需要 sudo 了:
|
||||
```bash
|
||||
npm install -g openclaw
|
||||
```
|
||||
|
||||
## 方案 3:使用 Homebrew 安装的 Node
|
||||
|
||||
如果你是通过 Homebrew 安装的 Node,权限问题会更少:
|
||||
```bash
|
||||
brew install node
|
||||
npm install -g openclaw
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
**建议用方案 1 快速解决**,之后再考虑方案 2 修复权限。
|
||||
user: System: [2026-03-05 13:35:57 GMT+8] Feishu[feishu-dev] DM from ou_302b162eb824d405718845441a32d9cf: Mac上安装完OpenClaw之后,提示: openclaw: Node.js v22.12+ is required (current: v22.11.0).
|
||||
|
||||
[Feishu ou_302b162eb824d405718845441a32d9cf Thu 2026-03-05 13:35 GMT+8] 张青: Mac上安装完OpenClaw之后,提示: openclaw: Node.js v22.12+ is required (current: v22.11.0).
|
||||
[message_id: om_x100b55a52d046cb4c3a5975837837c1]
|
||||
assistant: 你的 Node.js 版本差一点点,需要升级到 v22.12+。
|
||||
|
||||
## 方案 1:Homebrew 升级(如果你用 brew 安装的)
|
||||
|
||||
```bash
|
||||
brew update
|
||||
brew upgrade node
|
||||
```
|
||||
|
||||
## 方案 2:从官网下载安装
|
||||
|
||||
直接去 Node.js 官网下载最新的 LTS 版本:
|
||||
https://nodejs.org/
|
||||
|
||||
下载 macOS 安装包,一路下一步即可覆盖升级。
|
||||
|
||||
## 方案 3:使用 nvm(推荐长期使用)
|
||||
|
||||
```bash
|
||||
# 安装 nvm(如果没有)
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
|
||||
|
||||
# 重启终端后
|
||||
nvm install 22
|
||||
nvm use 22
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
**最快的方案**是直接去官网下载安装包,几分钟搞定。升级后再运行 `openclaw` 就可以了。
|
||||
@@ -0,0 +1,13 @@
|
||||
# Session: 2026-03-08 15:20:55 UTC
|
||||
|
||||
- **Session Key**: agent:dev-assist:main
|
||||
- **Session ID**: 19b7f319-0880-4bb1-b1ae-2223ad095b0c
|
||||
- **Source**: feishu
|
||||
|
||||
## Conversation Summary
|
||||
|
||||
assistant: ✅ New session started · model: zhipu/glm-5
|
||||
user: A new session was started via /new or /reset. Execute your Session Startup sequence now - read the required files before responding to the user. Then greet the user in your configured persona, if one is provided. Be yourself - use your defined voice, mannerisms, and mood. Keep it to 1-3 sentences and ask what they want to do. If the runtime model differs from default_model in the system prompt, mention the default model. Do not mention internal steps, files, tools, or reasoning.
|
||||
assistant: 嘿,张青!👋 山鸡已上线,随时待命。
|
||||
|
||||
今天要搞点什么?是继续折腾游戏开发,还是有其他项目要推进?
|
||||
Reference in New Issue
Block a user