更新配置:TTS、common-require技能、思考模式

This commit is contained in:
2026-02-16 00:13:42 +08:00
parent 83fa02769f
commit d021ab96c5
35 changed files with 8198 additions and 3117 deletions
+22
View File
@@ -84,6 +84,28 @@
"maxTokens": 8192
}
]
},
"bailian": {
"baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
"api": "openai-completions",
"models": [
{
"id": "qwen3-max-2026-01-23",
"name": "qwen3-max-thinking",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 262144,
"maxTokens": 65536
}
]
}
}
}
File diff suppressed because one or more lines are too long
+14 -390
View File
@@ -1,384 +1,4 @@
{
"agent:knowledge-base:feishu:group:oc_79bcbd274c7cff8757b52e2ec1d8e12b": {
"sessionId": "8c2d3cad-e37a-4a87-834b-1658e00091e1",
"updatedAt": 1771064702254,
"systemSent": true,
"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>kb-funasr</name>\n <description>本地语音识别,支持音视频转文字(基于阿里 FunASR)</description>\n <location>/home/starmen1265/.openclaw/skills/kb-funasr/SKILL.md</location>\n </skill>\n <skill>\n <name>kb-whisper</name>\n <description>本地语音识别,支持音视频转文字(基于 Whisper.cpp)</description>\n <location>/home/starmen1265/.openclaw/skills/kb-whisper/SKILL.md</location>\n </skill>\n <skill>\n <name>kb-workflow</name>\n <description>当收到&quot;添加到知识库 + 链接&quot; 或&quot;保存到知识库 + 链接&quot;时使用</description>\n <location>/home/starmen1265/.openclaw/skills/kb-workflow/SKILL.md</location>\n </skill>\n</available_skills>",
"skills": [
{
"name": "kb-funasr"
},
{
"name": "kb-whisper"
},
{
"name": "kb-workflow"
}
],
"resolvedSkills": [
{
"name": "kb-funasr",
"description": "本地语音识别,支持音视频转文字(基于阿里 FunASR)",
"filePath": "/home/starmen1265/.openclaw/skills/kb-funasr/SKILL.md",
"baseDir": "/home/starmen1265/.openclaw/skills/kb-funasr",
"source": "openclaw-managed",
"disableModelInvocation": false
},
{
"name": "kb-whisper",
"description": "本地语音识别,支持音视频转文字(基于 Whisper.cpp)",
"filePath": "/home/starmen1265/.openclaw/skills/kb-whisper/SKILL.md",
"baseDir": "/home/starmen1265/.openclaw/skills/kb-whisper",
"source": "openclaw-managed",
"disableModelInvocation": false
},
{
"name": "kb-workflow",
"description": "当收到\"添加到知识库 + 链接\" 或\"保存到知识库 + 链接\"时使用",
"filePath": "/home/starmen1265/.openclaw/skills/kb-workflow/SKILL.md",
"baseDir": "/home/starmen1265/.openclaw/skills/kb-workflow",
"source": "openclaw-managed",
"disableModelInvocation": false
}
],
"version": 1771049973695
},
"deliveryContext": {
"channel": "feishu",
"to": "chat:oc_79bcbd274c7cff8757b52e2ec1d8e12b",
"accountId": "default"
},
"lastChannel": "feishu",
"lastTo": "chat:oc_79bcbd274c7cff8757b52e2ec1d8e12b",
"lastAccountId": "default",
"channel": "feishu",
"groupId": "ou_be83febac9ee2afaa343c642bc697c48",
"modelProvider": "zhipu",
"model": "glm-5",
"contextTokens": 200000,
"abortedLastRun": false,
"inputTokens": 68509,
"outputTokens": 39,
"totalTokens": 77917
},
"agent:knowledge-base:main": {
"sessionId": "9343d7b7-a4ab-4c07-a102-3a52ba271723",
"updatedAt": 1771037425047,
"systemSent": true,
"abortedLastRun": false,
"chatType": "direct",
"deliveryContext": {
"channel": "feishu",
"to": "user:ou_be83febac9ee2afaa343c642bc697c48",
"accountId": "default"
},
"lastChannel": "feishu",
"lastTo": "user:ou_be83febac9ee2afaa343c642bc697c48",
"lastAccountId": "default",
"origin": {
"label": "feishu:ou_be83febac9ee2afaa343c642bc697c48",
"provider": "feishu",
"surface": "feishu",
"chatType": "direct",
"from": "feishu:ou_be83febac9ee2afaa343c642bc697c48",
"to": "ou_be83febac9ee2afaa343c642bc697c48",
"accountId": "default"
},
"sessionFile": "/home/starmen1265/.openclaw/agents/knowledge-base/sessions/9343d7b7-a4ab-4c07-a102-3a52ba271723.jsonl",
"compactionCount": 0,
"skillsSnapshot": {
"prompt": "",
"skills": [],
"resolvedSkills": [],
"version": 0
},
"inputTokens": 4983,
"outputTokens": 390,
"totalTokens": 27511,
"modelProvider": "zhipu",
"model": "glm-5",
"contextTokens": 200000,
"systemPromptReport": {
"source": "run",
"generatedAt": 1771037402727,
"sessionId": "9343d7b7-a4ab-4c07-a102-3a52ba271723",
"sessionKey": "agent:knowledge-base:main",
"provider": "zhipu",
"model": "glm-5",
"workspaceDir": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace",
"bootstrapMaxChars": 20000,
"sandbox": {
"mode": "off",
"sandboxed": false
},
"systemPrompt": {
"chars": 21077,
"projectContextChars": 11707,
"nonProjectContextChars": 9370
},
"injectedWorkspaceFiles": [
{
"name": "AGENTS.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/AGENTS.md",
"missing": false,
"rawChars": 7804,
"injectedChars": 7804,
"truncated": false
},
{
"name": "SOUL.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/SOUL.md",
"missing": false,
"rawChars": 1664,
"injectedChars": 1664,
"truncated": false
},
{
"name": "TOOLS.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/TOOLS.md",
"missing": false,
"rawChars": 850,
"injectedChars": 850,
"truncated": false
},
{
"name": "IDENTITY.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/IDENTITY.md",
"missing": false,
"rawChars": 336,
"injectedChars": 336,
"truncated": false
},
{
"name": "USER.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/USER.md",
"missing": false,
"rawChars": 474,
"injectedChars": 474,
"truncated": false
},
{
"name": "HEARTBEAT.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/HEARTBEAT.md",
"missing": false,
"rawChars": 167,
"injectedChars": 167,
"truncated": false
},
{
"name": "BOOTSTRAP.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/BOOTSTRAP.md",
"missing": false,
"rawChars": 88,
"injectedChars": 88,
"truncated": false
}
],
"skills": {
"promptChars": 0,
"entries": []
},
"tools": {
"listChars": 2959,
"schemaChars": 18779,
"entries": [
{
"name": "read",
"summaryChars": 298,
"schemaChars": 392,
"propertiesCount": 4
},
{
"name": "edit",
"summaryChars": 129,
"schemaChars": 591,
"propertiesCount": 6
},
{
"name": "write",
"summaryChars": 127,
"schemaChars": 313,
"propertiesCount": 3
},
{
"name": "exec",
"summaryChars": 181,
"schemaChars": 1037,
"propertiesCount": 12
},
{
"name": "process",
"summaryChars": 85,
"schemaChars": 844,
"propertiesCount": 11
},
{
"name": "browser",
"summaryChars": 1251,
"schemaChars": 1869,
"propertiesCount": 28
},
{
"name": "canvas",
"summaryChars": 106,
"schemaChars": 661,
"propertiesCount": 18
},
{
"name": "nodes",
"summaryChars": 101,
"schemaChars": 1479,
"propertiesCount": 33
},
{
"name": "cron",
"summaryChars": 2444,
"schemaChars": 581,
"propertiesCount": 13
},
{
"name": "message",
"summaryChars": 89,
"schemaChars": 3897,
"propertiesCount": 84
},
{
"name": "tts",
"summaryChars": 129,
"schemaChars": 223,
"propertiesCount": 2
},
{
"name": "gateway",
"summaryChars": 225,
"schemaChars": 465,
"propertiesCount": 11
},
{
"name": "agents_list",
"summaryChars": 72,
"schemaChars": 33,
"propertiesCount": 0
},
{
"name": "sessions_list",
"summaryChars": 54,
"schemaChars": 176,
"propertiesCount": 4
},
{
"name": "sessions_history",
"summaryChars": 36,
"schemaChars": 149,
"propertiesCount": 3
},
{
"name": "sessions_send",
"summaryChars": 84,
"schemaChars": 203,
"propertiesCount": 5
},
{
"name": "sessions_spawn",
"summaryChars": 107,
"schemaChars": 312,
"propertiesCount": 8
},
{
"name": "session_status",
"summaryChars": 207,
"schemaChars": 89,
"propertiesCount": 2
},
{
"name": "web_search",
"summaryChars": 175,
"schemaChars": 733,
"propertiesCount": 6
},
{
"name": "web_fetch",
"summaryChars": 129,
"schemaChars": 360,
"propertiesCount": 3
},
{
"name": "feishu_doc",
"summaryChars": 116,
"schemaChars": 584,
"propertiesCount": 6
},
{
"name": "feishu_app_scopes",
"summaryChars": 102,
"schemaChars": 33,
"propertiesCount": 0
},
{
"name": "feishu_wiki",
"summaryChars": 83,
"schemaChars": 880,
"propertiesCount": 10
},
{
"name": "feishu_drive",
"summaryChars": 81,
"schemaChars": 458,
"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": 436,
"propertiesCount": 4
},
{
"name": "feishu_bitable_get_record",
"summaryChars": 46,
"schemaChars": 335,
"propertiesCount": 3
},
{
"name": "feishu_bitable_create_record",
"summaryChars": 44,
"schemaChars": 515,
"propertiesCount": 3
},
{
"name": "feishu_bitable_update_record",
"summaryChars": 50,
"schemaChars": 439,
"propertiesCount": 4
},
{
"name": "memory_search",
"summaryChars": 235,
"schemaChars": 139,
"propertiesCount": 3
},
{
"name": "memory_get",
"summaryChars": 151,
"schemaChars": 128,
"propertiesCount": 3
}
]
}
}
},
"agent:knowledge-base:wecom:group:wr_wanbgaaxlqkmkygznqppmyzg2ytyg": {
"chatType": "group",
"channel": "wecom",
@@ -394,7 +14,7 @@
"accountId": "default"
},
"sessionId": "57de6ed2-dc2f-43b0-bf82-eb9aec79ac12",
"updatedAt": 1771086345825,
"updatedAt": 1771170923211,
"deliveryContext": {
"channel": "wecom",
"to": "wecom:wr_wAnbgAAXlqKMkyGznqpPMYZg2YTYg",
@@ -425,19 +45,19 @@
],
"version": 0
},
"inputTokens": 4712,
"outputTokens": 283,
"totalTokens": 14120,
"inputTokens": 27514,
"outputTokens": 550,
"totalTokens": 67294,
"modelProvider": "zhipu",
"model": "glm-5",
"model": "glm-4.7-FlashX",
"contextTokens": 200000,
"systemPromptReport": {
"source": "run",
"generatedAt": 1771086330924,
"generatedAt": 1771170894611,
"sessionId": "57de6ed2-dc2f-43b0-bf82-eb9aec79ac12",
"sessionKey": "agent:knowledge-base:wecom:group:wr_wanbgaaxlqkmkygznqppmyzg2ytyg",
"provider": "zhipu",
"model": "glm-5",
"model": "glm-4.7-FlashX",
"workspaceDir": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace",
"bootstrapMaxChars": 20000,
"sandbox": {
@@ -445,9 +65,9 @@
"sandboxed": false
},
"systemPrompt": {
"chars": 21708,
"chars": 21872,
"projectContextChars": 11707,
"nonProjectContextChars": 10001
"nonProjectContextChars": 10165
},
"injectedWorkspaceFiles": [
{
@@ -714,6 +334,10 @@
}
]
}
}
},
"memoryFlushAt": 1771166167782,
"memoryFlushCompactionCount": 0,
"providerOverride": "bailian",
"modelOverride": "qwen3-max-2026-01-23"
}
}
@@ -0,0 +1,721 @@
{
"agent:knowledge-base:feishu:group:oc_79bcbd274c7cff8757b52e2ec1d8e12b": {
"sessionId": "8c2d3cad-e37a-4a87-834b-1658e00091e1",
"updatedAt": 1771064702254,
"systemSent": true,
"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>kb-funasr</name>\n <description>本地语音识别,支持音视频转文字(基于阿里 FunASR)</description>\n <location>/home/starmen1265/.openclaw/skills/kb-funasr/SKILL.md</location>\n </skill>\n <skill>\n <name>kb-whisper</name>\n <description>本地语音识别,支持音视频转文字(基于 Whisper.cpp)</description>\n <location>/home/starmen1265/.openclaw/skills/kb-whisper/SKILL.md</location>\n </skill>\n <skill>\n <name>kb-workflow</name>\n <description>当收到&quot;添加到知识库 + 链接&quot; 或&quot;保存到知识库 + 链接&quot;时使用</description>\n <location>/home/starmen1265/.openclaw/skills/kb-workflow/SKILL.md</location>\n </skill>\n</available_skills>",
"skills": [
{
"name": "kb-funasr"
},
{
"name": "kb-whisper"
},
{
"name": "kb-workflow"
}
],
"resolvedSkills": [
{
"name": "kb-funasr",
"description": "本地语音识别,支持音视频转文字(基于阿里 FunASR)",
"filePath": "/home/starmen1265/.openclaw/skills/kb-funasr/SKILL.md",
"baseDir": "/home/starmen1265/.openclaw/skills/kb-funasr",
"source": "openclaw-managed",
"disableModelInvocation": false
},
{
"name": "kb-whisper",
"description": "本地语音识别,支持音视频转文字(基于 Whisper.cpp)",
"filePath": "/home/starmen1265/.openclaw/skills/kb-whisper/SKILL.md",
"baseDir": "/home/starmen1265/.openclaw/skills/kb-whisper",
"source": "openclaw-managed",
"disableModelInvocation": false
},
{
"name": "kb-workflow",
"description": "当收到\"添加到知识库 + 链接\" 或\"保存到知识库 + 链接\"时使用",
"filePath": "/home/starmen1265/.openclaw/skills/kb-workflow/SKILL.md",
"baseDir": "/home/starmen1265/.openclaw/skills/kb-workflow",
"source": "openclaw-managed",
"disableModelInvocation": false
}
],
"version": 1771049973695
},
"deliveryContext": {
"channel": "feishu",
"to": "chat:oc_79bcbd274c7cff8757b52e2ec1d8e12b",
"accountId": "default"
},
"lastChannel": "feishu",
"lastTo": "chat:oc_79bcbd274c7cff8757b52e2ec1d8e12b",
"lastAccountId": "default",
"channel": "feishu",
"groupId": "ou_be83febac9ee2afaa343c642bc697c48",
"modelProvider": "zhipu",
"model": "glm-5",
"contextTokens": 200000,
"abortedLastRun": false,
"inputTokens": 68509,
"outputTokens": 39,
"totalTokens": 77917
},
"agent:knowledge-base:main": {
"sessionId": "9343d7b7-a4ab-4c07-a102-3a52ba271723",
"updatedAt": 1771037425047,
"systemSent": true,
"abortedLastRun": false,
"chatType": "direct",
"deliveryContext": {
"channel": "feishu",
"to": "user:ou_be83febac9ee2afaa343c642bc697c48",
"accountId": "default"
},
"lastChannel": "feishu",
"lastTo": "user:ou_be83febac9ee2afaa343c642bc697c48",
"lastAccountId": "default",
"origin": {
"label": "feishu:ou_be83febac9ee2afaa343c642bc697c48",
"provider": "feishu",
"surface": "feishu",
"chatType": "direct",
"from": "feishu:ou_be83febac9ee2afaa343c642bc697c48",
"to": "ou_be83febac9ee2afaa343c642bc697c48",
"accountId": "default"
},
"sessionFile": "/home/starmen1265/.openclaw/agents/knowledge-base/sessions/9343d7b7-a4ab-4c07-a102-3a52ba271723.jsonl",
"compactionCount": 0,
"skillsSnapshot": {
"prompt": "",
"skills": [],
"resolvedSkills": [],
"version": 0
},
"inputTokens": 4983,
"outputTokens": 390,
"totalTokens": 27511,
"modelProvider": "zhipu",
"model": "glm-5",
"contextTokens": 200000,
"systemPromptReport": {
"source": "run",
"generatedAt": 1771037402727,
"sessionId": "9343d7b7-a4ab-4c07-a102-3a52ba271723",
"sessionKey": "agent:knowledge-base:main",
"provider": "zhipu",
"model": "glm-5",
"workspaceDir": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace",
"bootstrapMaxChars": 20000,
"sandbox": {
"mode": "off",
"sandboxed": false
},
"systemPrompt": {
"chars": 21077,
"projectContextChars": 11707,
"nonProjectContextChars": 9370
},
"injectedWorkspaceFiles": [
{
"name": "AGENTS.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/AGENTS.md",
"missing": false,
"rawChars": 7804,
"injectedChars": 7804,
"truncated": false
},
{
"name": "SOUL.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/SOUL.md",
"missing": false,
"rawChars": 1664,
"injectedChars": 1664,
"truncated": false
},
{
"name": "TOOLS.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/TOOLS.md",
"missing": false,
"rawChars": 850,
"injectedChars": 850,
"truncated": false
},
{
"name": "IDENTITY.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/IDENTITY.md",
"missing": false,
"rawChars": 336,
"injectedChars": 336,
"truncated": false
},
{
"name": "USER.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/USER.md",
"missing": false,
"rawChars": 474,
"injectedChars": 474,
"truncated": false
},
{
"name": "HEARTBEAT.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/HEARTBEAT.md",
"missing": false,
"rawChars": 167,
"injectedChars": 167,
"truncated": false
},
{
"name": "BOOTSTRAP.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/BOOTSTRAP.md",
"missing": false,
"rawChars": 88,
"injectedChars": 88,
"truncated": false
}
],
"skills": {
"promptChars": 0,
"entries": []
},
"tools": {
"listChars": 2959,
"schemaChars": 18779,
"entries": [
{
"name": "read",
"summaryChars": 298,
"schemaChars": 392,
"propertiesCount": 4
},
{
"name": "edit",
"summaryChars": 129,
"schemaChars": 591,
"propertiesCount": 6
},
{
"name": "write",
"summaryChars": 127,
"schemaChars": 313,
"propertiesCount": 3
},
{
"name": "exec",
"summaryChars": 181,
"schemaChars": 1037,
"propertiesCount": 12
},
{
"name": "process",
"summaryChars": 85,
"schemaChars": 844,
"propertiesCount": 11
},
{
"name": "browser",
"summaryChars": 1251,
"schemaChars": 1869,
"propertiesCount": 28
},
{
"name": "canvas",
"summaryChars": 106,
"schemaChars": 661,
"propertiesCount": 18
},
{
"name": "nodes",
"summaryChars": 101,
"schemaChars": 1479,
"propertiesCount": 33
},
{
"name": "cron",
"summaryChars": 2444,
"schemaChars": 581,
"propertiesCount": 13
},
{
"name": "message",
"summaryChars": 89,
"schemaChars": 3897,
"propertiesCount": 84
},
{
"name": "tts",
"summaryChars": 129,
"schemaChars": 223,
"propertiesCount": 2
},
{
"name": "gateway",
"summaryChars": 225,
"schemaChars": 465,
"propertiesCount": 11
},
{
"name": "agents_list",
"summaryChars": 72,
"schemaChars": 33,
"propertiesCount": 0
},
{
"name": "sessions_list",
"summaryChars": 54,
"schemaChars": 176,
"propertiesCount": 4
},
{
"name": "sessions_history",
"summaryChars": 36,
"schemaChars": 149,
"propertiesCount": 3
},
{
"name": "sessions_send",
"summaryChars": 84,
"schemaChars": 203,
"propertiesCount": 5
},
{
"name": "sessions_spawn",
"summaryChars": 107,
"schemaChars": 312,
"propertiesCount": 8
},
{
"name": "session_status",
"summaryChars": 207,
"schemaChars": 89,
"propertiesCount": 2
},
{
"name": "web_search",
"summaryChars": 175,
"schemaChars": 733,
"propertiesCount": 6
},
{
"name": "web_fetch",
"summaryChars": 129,
"schemaChars": 360,
"propertiesCount": 3
},
{
"name": "feishu_doc",
"summaryChars": 116,
"schemaChars": 584,
"propertiesCount": 6
},
{
"name": "feishu_app_scopes",
"summaryChars": 102,
"schemaChars": 33,
"propertiesCount": 0
},
{
"name": "feishu_wiki",
"summaryChars": 83,
"schemaChars": 880,
"propertiesCount": 10
},
{
"name": "feishu_drive",
"summaryChars": 81,
"schemaChars": 458,
"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": 436,
"propertiesCount": 4
},
{
"name": "feishu_bitable_get_record",
"summaryChars": 46,
"schemaChars": 335,
"propertiesCount": 3
},
{
"name": "feishu_bitable_create_record",
"summaryChars": 44,
"schemaChars": 515,
"propertiesCount": 3
},
{
"name": "feishu_bitable_update_record",
"summaryChars": 50,
"schemaChars": 439,
"propertiesCount": 4
},
{
"name": "memory_search",
"summaryChars": 235,
"schemaChars": 139,
"propertiesCount": 3
},
{
"name": "memory_get",
"summaryChars": 151,
"schemaChars": 128,
"propertiesCount": 3
}
]
}
}
},
"agent:knowledge-base:wecom:group:wr_wanbgaaxlqkmkygznqppmyzg2ytyg": {
"chatType": "group",
"channel": "wecom",
"groupId": "wr_wanbgaaxlqkmkygznqppmyzg2ytyg",
"displayName": "wecom:g-wr_wanbgaaxlqkmkygznqppmyzg2ytyg",
"origin": {
"label": "group:wr_wAnbgAAXlqKMkyGznqpPMYZg2YTYg",
"provider": "wecom",
"surface": "wecom",
"chatType": "group",
"from": "wecom:group:wr_wAnbgAAXlqKMkyGznqpPMYZg2YTYg",
"to": "wecom:wr_wAnbgAAXlqKMkyGznqpPMYZg2YTYg",
"accountId": "default"
},
"sessionId": "57de6ed2-dc2f-43b0-bf82-eb9aec79ac12",
"updatedAt": 1771166167782,
"deliveryContext": {
"channel": "wecom",
"to": "wecom:wr_wAnbgAAXlqKMkyGznqpPMYZg2YTYg",
"accountId": "default"
},
"lastChannel": "wecom",
"systemSent": true,
"abortedLastRun": false,
"lastTo": "wecom:wr_wAnbgAAXlqKMkyGznqpPMYZg2YTYg",
"lastAccountId": "default",
"sessionFile": "/home/starmen1265/.openclaw/agents/knowledge-base/sessions/57de6ed2-dc2f-43b0-bf82-eb9aec79ac12.jsonl",
"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>kb-workflow</name>\n <description>当收到&quot;添加到知识库 + 链接&quot; 或&quot;保存到知识库 + 链接&quot;时使用</description>\n <location>/home/starmen1265/.openclaw/skills/kb-workflow/SKILL.md</location>\n </skill>\n</available_skills>",
"skills": [
{
"name": "kb-workflow"
}
],
"resolvedSkills": [
{
"name": "kb-workflow",
"description": "当收到\"添加到知识库 + 链接\" 或\"保存到知识库 + 链接\"时使用",
"filePath": "/home/starmen1265/.openclaw/skills/kb-workflow/SKILL.md",
"baseDir": "/home/starmen1265/.openclaw/skills/kb-workflow",
"source": "openclaw-managed",
"disableModelInvocation": false
}
],
"version": 0
},
"inputTokens": 147985,
"outputTokens": 1129,
"totalTokens": 200000,
"modelProvider": "zhipu",
"model": "glm-4.7-FlashX",
"contextTokens": 200000,
"systemPromptReport": {
"source": "run",
"generatedAt": 1771162393287,
"sessionId": "57de6ed2-dc2f-43b0-bf82-eb9aec79ac12",
"sessionKey": "agent:knowledge-base:wecom:group:wr_wanbgaaxlqkmkygznqppmyzg2ytyg",
"provider": "zhipu",
"model": "glm-4.7-FlashX",
"workspaceDir": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace",
"bootstrapMaxChars": 20000,
"sandbox": {
"mode": "off",
"sandboxed": false
},
"systemPrompt": {
"chars": 21677,
"projectContextChars": 11707,
"nonProjectContextChars": 9970
},
"injectedWorkspaceFiles": [
{
"name": "AGENTS.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/AGENTS.md",
"missing": false,
"rawChars": 7804,
"injectedChars": 7804,
"truncated": false
},
{
"name": "SOUL.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/SOUL.md",
"missing": false,
"rawChars": 1664,
"injectedChars": 1664,
"truncated": false
},
{
"name": "TOOLS.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/TOOLS.md",
"missing": false,
"rawChars": 850,
"injectedChars": 850,
"truncated": false
},
{
"name": "IDENTITY.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/IDENTITY.md",
"missing": false,
"rawChars": 336,
"injectedChars": 336,
"truncated": false
},
{
"name": "USER.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/USER.md",
"missing": false,
"rawChars": 474,
"injectedChars": 474,
"truncated": false
},
{
"name": "HEARTBEAT.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/HEARTBEAT.md",
"missing": false,
"rawChars": 167,
"injectedChars": 167,
"truncated": false
},
{
"name": "BOOTSTRAP.md",
"path": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace/BOOTSTRAP.md",
"missing": false,
"rawChars": 88,
"injectedChars": 88,
"truncated": false
}
],
"skills": {
"promptChars": 583,
"entries": [
{
"name": "kb-workflow",
"blockChars": 214
}
]
},
"tools": {
"listChars": 2959,
"schemaChars": 18779,
"entries": [
{
"name": "read",
"summaryChars": 298,
"schemaChars": 392,
"propertiesCount": 4
},
{
"name": "edit",
"summaryChars": 129,
"schemaChars": 591,
"propertiesCount": 6
},
{
"name": "write",
"summaryChars": 127,
"schemaChars": 313,
"propertiesCount": 3
},
{
"name": "exec",
"summaryChars": 181,
"schemaChars": 1037,
"propertiesCount": 12
},
{
"name": "process",
"summaryChars": 85,
"schemaChars": 844,
"propertiesCount": 11
},
{
"name": "browser",
"summaryChars": 1251,
"schemaChars": 1869,
"propertiesCount": 28
},
{
"name": "canvas",
"summaryChars": 106,
"schemaChars": 661,
"propertiesCount": 18
},
{
"name": "nodes",
"summaryChars": 101,
"schemaChars": 1479,
"propertiesCount": 33
},
{
"name": "cron",
"summaryChars": 2444,
"schemaChars": 581,
"propertiesCount": 13
},
{
"name": "message",
"summaryChars": 89,
"schemaChars": 3897,
"propertiesCount": 84
},
{
"name": "tts",
"summaryChars": 129,
"schemaChars": 223,
"propertiesCount": 2
},
{
"name": "gateway",
"summaryChars": 225,
"schemaChars": 465,
"propertiesCount": 11
},
{
"name": "agents_list",
"summaryChars": 72,
"schemaChars": 33,
"propertiesCount": 0
},
{
"name": "sessions_list",
"summaryChars": 54,
"schemaChars": 176,
"propertiesCount": 4
},
{
"name": "sessions_history",
"summaryChars": 36,
"schemaChars": 149,
"propertiesCount": 3
},
{
"name": "sessions_send",
"summaryChars": 84,
"schemaChars": 203,
"propertiesCount": 5
},
{
"name": "sessions_spawn",
"summaryChars": 107,
"schemaChars": 312,
"propertiesCount": 8
},
{
"name": "session_status",
"summaryChars": 207,
"schemaChars": 89,
"propertiesCount": 2
},
{
"name": "web_search",
"summaryChars": 175,
"schemaChars": 733,
"propertiesCount": 6
},
{
"name": "web_fetch",
"summaryChars": 129,
"schemaChars": 360,
"propertiesCount": 3
},
{
"name": "feishu_doc",
"summaryChars": 116,
"schemaChars": 584,
"propertiesCount": 6
},
{
"name": "feishu_app_scopes",
"summaryChars": 102,
"schemaChars": 33,
"propertiesCount": 0
},
{
"name": "feishu_wiki",
"summaryChars": 83,
"schemaChars": 880,
"propertiesCount": 10
},
{
"name": "feishu_drive",
"summaryChars": 81,
"schemaChars": 458,
"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": 436,
"propertiesCount": 4
},
{
"name": "feishu_bitable_get_record",
"summaryChars": 46,
"schemaChars": 335,
"propertiesCount": 3
},
{
"name": "feishu_bitable_create_record",
"summaryChars": 44,
"schemaChars": 515,
"propertiesCount": 3
},
{
"name": "feishu_bitable_update_record",
"summaryChars": 50,
"schemaChars": 439,
"propertiesCount": 4
},
{
"name": "memory_search",
"summaryChars": 235,
"schemaChars": 139,
"propertiesCount": 3
},
{
"name": "memory_get",
"summaryChars": 151,
"schemaChars": 128,
"propertiesCount": 3
}
]
}
},
"memoryFlushAt": 1771166167782,
"memoryFlushCompactionCount": 0
}
}
+1 -6
View File
@@ -2,12 +2,7 @@
## 进行中
- [ ] **kb-web 知识库网站部署**
- 状态:进行中
- 问题:`users` 表还没创建 (SQLSTATE[42S02]: Table 'kb_admin.users' doesn't exist)
- 待解决:找到建表脚本或手动创建表
- 项目位置:`~/work/kb-web/`
- 更新时间:2026-02-14
(暂无)
## 待办
@@ -0,0 +1,23 @@
# Session: 2026-02-15
## 知识库工作流完成
### 添加到知识库:阿生:做消防兵5年,我见到的那些生死
- 平台:Bilibili
- ID:BV1Q7ciz6EQs
- URL:https://www.bilibili.com/video/BV1Q7ciz6EQs/
- 时长:30.5分钟
- 字数:8866字
- 归档路径:`/home/starmen1265/work/knowledge-base/archive/2026-02-15/bilibili_BV1Q7ciz6EQs.md`
- 处理时间:约10分钟
### Workflow 路径
- kb_workflow.py: `~/.openclaw/skills/kb-workflow/kb_workflow.py`
- link-parser: `~/.openclaw/skills/kb-link-parser/link-parser.py`
- bilibili-metadata: `~/.openclaw/skills/kb-bilibili-metadata/bilibili_metadata.py`
- bilibili-content: `~/.openclaw/skills/kb-bilibili-content/bilibili_content.py`
- whisper: `~/.openclaw/skills/kb-whisper/whisper.py`
- deep-analyzer: `~/.openclaw/skills/kb-deep-analyzer/deep_analyzer.py`
## 待办事项
- 用户要求删除 kb-web 部署待办,已清空 TODO.md