自动同步: 2026-05-10 02:10
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1193,8 +1193,8 @@
|
|||||||
"runtimeMs": 2143
|
"runtimeMs": 2143
|
||||||
},
|
},
|
||||||
"agent:ui-designer:cron:c3d4e5f6-a7b8-9012-cdef-234567890123": {
|
"agent:ui-designer:cron:c3d4e5f6-a7b8-9012-cdef-234567890123": {
|
||||||
"sessionId": "ffd42f99-f46b-4ca4-8adf-f3e0c906ca45",
|
"sessionId": "188bc0b6-2e40-43e5-8935-b477289033bf",
|
||||||
"updatedAt": 1778198479210,
|
"updatedAt": 1778284817112,
|
||||||
"systemSent": true,
|
"systemSent": true,
|
||||||
"label": "Cron: 每日热点新闻追踪",
|
"label": "Cron: 每日热点新闻追踪",
|
||||||
"skillsSnapshot": {
|
"skillsSnapshot": {
|
||||||
@@ -1223,11 +1223,11 @@
|
|||||||
"modelProvider": "zhipu",
|
"modelProvider": "zhipu",
|
||||||
"model": "glm-5",
|
"model": "glm-5",
|
||||||
"contextTokens": 200000,
|
"contextTokens": 200000,
|
||||||
"inputTokens": 21856,
|
"inputTokens": 29852,
|
||||||
"outputTokens": 3195,
|
"outputTokens": 3309,
|
||||||
"totalTokens": 318496,
|
"totalTokens": 34795,
|
||||||
"totalTokensFresh": true,
|
"totalTokensFresh": true,
|
||||||
"cacheRead": 296640,
|
"cacheRead": 323520,
|
||||||
"cacheWrite": 0,
|
"cacheWrite": 0,
|
||||||
"sessionFile": "/home/starmen1265/.openclaw/agents/ui-designer/sessions/3795c952-0d99-470a-8bee-9f63b83abedd.jsonl",
|
"sessionFile": "/home/starmen1265/.openclaw/agents/ui-designer/sessions/3795c952-0d99-470a-8bee-9f63b83abedd.jsonl",
|
||||||
"abortedLastRun": false,
|
"abortedLastRun": false,
|
||||||
@@ -1236,8 +1236,8 @@
|
|||||||
"authProfileOverrideCompactionCount": 0,
|
"authProfileOverrideCompactionCount": 0,
|
||||||
"systemPromptReport": {
|
"systemPromptReport": {
|
||||||
"source": "run",
|
"source": "run",
|
||||||
"generatedAt": 1778198539547,
|
"generatedAt": 1778284877438,
|
||||||
"sessionId": "ffd42f99-f46b-4ca4-8adf-f3e0c906ca45",
|
"sessionId": "188bc0b6-2e40-43e5-8935-b477289033bf",
|
||||||
"sessionKey": "agent:ui-designer:cron:c3d4e5f6-a7b8-9012-cdef-234567890123",
|
"sessionKey": "agent:ui-designer:cron:c3d4e5f6-a7b8-9012-cdef-234567890123",
|
||||||
"provider": "zhipu",
|
"provider": "zhipu",
|
||||||
"model": "glm-5",
|
"model": "glm-5",
|
||||||
@@ -2201,9 +2201,9 @@
|
|||||||
"cacheWrite": 13572,
|
"cacheWrite": 13572,
|
||||||
"estimatedCostUsd": 0.0646701
|
"estimatedCostUsd": 0.0646701
|
||||||
},
|
},
|
||||||
"agent:ui-designer:cron:c3d4e5f6-a7b8-9012-cdef-234567890123:run:ffd42f99-f46b-4ca4-8adf-f3e0c906ca45": {
|
"agent:ui-designer:cron:c3d4e5f6-a7b8-9012-cdef-234567890123:run:188bc0b6-2e40-43e5-8935-b477289033bf": {
|
||||||
"sessionId": "ffd42f99-f46b-4ca4-8adf-f3e0c906ca45",
|
"sessionId": "188bc0b6-2e40-43e5-8935-b477289033bf",
|
||||||
"updatedAt": 1778198479210,
|
"updatedAt": 1778284817112,
|
||||||
"systemSent": true,
|
"systemSent": true,
|
||||||
"label": "Cron: 每日热点新闻追踪",
|
"label": "Cron: 每日热点新闻追踪",
|
||||||
"skillsSnapshot": {
|
"skillsSnapshot": {
|
||||||
@@ -2232,11 +2232,11 @@
|
|||||||
"modelProvider": "zhipu",
|
"modelProvider": "zhipu",
|
||||||
"model": "glm-5",
|
"model": "glm-5",
|
||||||
"contextTokens": 200000,
|
"contextTokens": 200000,
|
||||||
"inputTokens": 21856,
|
"inputTokens": 29852,
|
||||||
"outputTokens": 3195,
|
"outputTokens": 3309,
|
||||||
"totalTokens": 318496,
|
"totalTokens": 34795,
|
||||||
"totalTokensFresh": true,
|
"totalTokensFresh": true,
|
||||||
"cacheRead": 296640,
|
"cacheRead": 323520,
|
||||||
"cacheWrite": 0,
|
"cacheWrite": 0,
|
||||||
"sessionFile": "/home/starmen1265/.openclaw/agents/ui-designer/sessions/3795c952-0d99-470a-8bee-9f63b83abedd.jsonl",
|
"sessionFile": "/home/starmen1265/.openclaw/agents/ui-designer/sessions/3795c952-0d99-470a-8bee-9f63b83abedd.jsonl",
|
||||||
"abortedLastRun": false,
|
"abortedLastRun": false,
|
||||||
@@ -2245,8 +2245,8 @@
|
|||||||
"authProfileOverrideCompactionCount": 0,
|
"authProfileOverrideCompactionCount": 0,
|
||||||
"systemPromptReport": {
|
"systemPromptReport": {
|
||||||
"source": "run",
|
"source": "run",
|
||||||
"generatedAt": 1778198539547,
|
"generatedAt": 1778284877438,
|
||||||
"sessionId": "ffd42f99-f46b-4ca4-8adf-f3e0c906ca45",
|
"sessionId": "188bc0b6-2e40-43e5-8935-b477289033bf",
|
||||||
"sessionKey": "agent:ui-designer:cron:c3d4e5f6-a7b8-9012-cdef-234567890123",
|
"sessionKey": "agent:ui-designer:cron:c3d4e5f6-a7b8-9012-cdef-234567890123",
|
||||||
"provider": "zhipu",
|
"provider": "zhipu",
|
||||||
"model": "glm-5",
|
"model": "glm-5",
|
||||||
@@ -2572,749 +2572,5 @@
|
|||||||
"startedAt": 1777939391912,
|
"startedAt": 1777939391912,
|
||||||
"endedAt": 1777939393611,
|
"endedAt": 1777939393611,
|
||||||
"runtimeMs": 1699
|
"runtimeMs": 1699
|
||||||
},
|
|
||||||
"agent:ui-designer:cron:a1b2c3d4-e5f6-7890-abcd-ef1234567890:run:913e9e26-90ac-42f4-9d43-b68c07497623": {
|
|
||||||
"sessionId": "913e9e26-90ac-42f4-9d43-b68c07497623",
|
|
||||||
"updatedAt": 1778225400012,
|
|
||||||
"systemSent": true,
|
|
||||||
"label": "Cron: 中国核建每日跟踪",
|
|
||||||
"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>~/.openclaw/skills/capability-evolver/SKILL.md</location>\n </skill>\n</available_skills>",
|
|
||||||
"skills": [
|
|
||||||
{
|
|
||||||
"name": "capability-evolver"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"skillFilter": [
|
|
||||||
"capability-evolver",
|
|
||||||
"self-improving-agent"
|
|
||||||
],
|
|
||||||
"resolvedSkills": [
|
|
||||||
{
|
|
||||||
"name": "capability-evolver",
|
|
||||||
"description": "A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.",
|
|
||||||
"filePath": "/home/starmen1265/.openclaw/skills/capability-evolver/SKILL.md",
|
|
||||||
"baseDir": "/home/starmen1265/.openclaw/skills/capability-evolver",
|
|
||||||
"source": "openclaw-managed",
|
|
||||||
"disableModelInvocation": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"version": 0
|
|
||||||
},
|
|
||||||
"modelProvider": "zhipu",
|
|
||||||
"model": "glm-5",
|
|
||||||
"contextTokens": 200000,
|
|
||||||
"inputTokens": 21305,
|
|
||||||
"outputTokens": 2350,
|
|
||||||
"totalTokens": 21279,
|
|
||||||
"totalTokensFresh": true,
|
|
||||||
"cacheRead": 93760,
|
|
||||||
"cacheWrite": 0,
|
|
||||||
"sessionFile": "/home/starmen1265/.openclaw/agents/ui-designer/sessions/20442854-3eb2-4c4f-bc84-74533d3faad4.jsonl",
|
|
||||||
"abortedLastRun": false,
|
|
||||||
"authProfileOverride": "minimax:cn",
|
|
||||||
"authProfileOverrideSource": "auto",
|
|
||||||
"authProfileOverrideCompactionCount": 0,
|
|
||||||
"systemPromptReport": {
|
|
||||||
"source": "run",
|
|
||||||
"generatedAt": 1778225460354,
|
|
||||||
"sessionId": "913e9e26-90ac-42f4-9d43-b68c07497623",
|
|
||||||
"sessionKey": "agent:ui-designer:cron:a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
||||||
"provider": "zhipu",
|
|
||||||
"model": "glm-5",
|
|
||||||
"workspaceDir": "/home/starmen1265/.openclaw/agents/ui-designer/workspace",
|
|
||||||
"bootstrapMaxChars": 20000,
|
|
||||||
"bootstrapTotalMaxChars": 150000,
|
|
||||||
"bootstrapTruncation": {
|
|
||||||
"warningMode": "once",
|
|
||||||
"warningShown": false,
|
|
||||||
"truncatedFiles": 0,
|
|
||||||
"nearLimitFiles": 0,
|
|
||||||
"totalNearLimit": false
|
|
||||||
},
|
|
||||||
"sandbox": {
|
|
||||||
"mode": "off",
|
|
||||||
"sandboxed": false
|
|
||||||
},
|
|
||||||
"systemPrompt": {
|
|
||||||
"chars": 14708,
|
|
||||||
"projectContextChars": 5529,
|
|
||||||
"nonProjectContextChars": 9179
|
|
||||||
},
|
|
||||||
"injectedWorkspaceFiles": [
|
|
||||||
{
|
|
||||||
"name": "AGENTS.md",
|
|
||||||
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/AGENTS.md",
|
|
||||||
"missing": false,
|
|
||||||
"rawChars": 2663,
|
|
||||||
"injectedChars": 2663,
|
|
||||||
"truncated": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "SOUL.md",
|
|
||||||
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/SOUL.md",
|
|
||||||
"missing": false,
|
|
||||||
"rawChars": 96,
|
|
||||||
"injectedChars": 96,
|
|
||||||
"truncated": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "TOOLS.md",
|
|
||||||
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/TOOLS.md",
|
|
||||||
"missing": false,
|
|
||||||
"rawChars": 850,
|
|
||||||
"injectedChars": 850,
|
|
||||||
"truncated": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "IDENTITY.md",
|
|
||||||
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/IDENTITY.md",
|
|
||||||
"missing": false,
|
|
||||||
"rawChars": 123,
|
|
||||||
"injectedChars": 123,
|
|
||||||
"truncated": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "USER.md",
|
|
||||||
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/USER.md",
|
|
||||||
"missing": false,
|
|
||||||
"rawChars": 191,
|
|
||||||
"injectedChars": 191,
|
|
||||||
"truncated": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "SELF_IMPROVEMENT_REMINDER.md",
|
|
||||||
"rawChars": 616,
|
|
||||||
"injectedChars": 616,
|
|
||||||
"truncated": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"skills": {
|
|
||||||
"promptChars": 659,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"name": "capability-evolver",
|
|
||||||
"blockChars": 290
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"tools": {
|
|
||||||
"listChars": 4054,
|
|
||||||
"schemaChars": 30173,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"name": "read",
|
|
||||||
"summaryChars": 298,
|
|
||||||
"schemaChars": 574,
|
|
||||||
"propertiesCount": 6
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "edit",
|
|
||||||
"summaryChars": 326,
|
|
||||||
"schemaChars": 1103,
|
|
||||||
"propertiesCount": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "write",
|
|
||||||
"summaryChars": 127,
|
|
||||||
"schemaChars": 497,
|
|
||||||
"propertiesCount": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "exec",
|
|
||||||
"summaryChars": 181,
|
|
||||||
"schemaChars": 1098,
|
|
||||||
"propertiesCount": 12
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "process",
|
|
||||||
"summaryChars": 85,
|
|
||||||
"schemaChars": 961,
|
|
||||||
"propertiesCount": 12
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "canvas",
|
|
||||||
"summaryChars": 106,
|
|
||||||
"schemaChars": 661,
|
|
||||||
"propertiesCount": 18
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "nodes",
|
|
||||||
"summaryChars": 118,
|
|
||||||
"schemaChars": 1589,
|
|
||||||
"propertiesCount": 32
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "cron",
|
|
||||||
"summaryChars": 3570,
|
|
||||||
"schemaChars": 690,
|
|
||||||
"propertiesCount": 13
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "message",
|
|
||||||
"summaryChars": 203,
|
|
||||||
"schemaChars": 5628,
|
|
||||||
"propertiesCount": 104
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "tts",
|
|
||||||
"summaryChars": 152,
|
|
||||||
"schemaChars": 223,
|
|
||||||
"propertiesCount": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "image_generate",
|
|
||||||
"summaryChars": 435,
|
|
||||||
"schemaChars": 1195,
|
|
||||||
"propertiesCount": 10
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "gateway",
|
|
||||||
"summaryChars": 464,
|
|
||||||
"schemaChars": 497,
|
|
||||||
"propertiesCount": 12
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "agents_list",
|
|
||||||
"summaryChars": 118,
|
|
||||||
"schemaChars": 33,
|
|
||||||
"propertiesCount": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sessions_list",
|
|
||||||
"summaryChars": 54,
|
|
||||||
"schemaChars": 212,
|
|
||||||
"propertiesCount": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sessions_history",
|
|
||||||
"summaryChars": 36,
|
|
||||||
"schemaChars": 161,
|
|
||||||
"propertiesCount": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sessions_send",
|
|
||||||
"summaryChars": 84,
|
|
||||||
"schemaChars": 274,
|
|
||||||
"propertiesCount": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sessions_yield",
|
|
||||||
"summaryChars": 97,
|
|
||||||
"schemaChars": 60,
|
|
||||||
"propertiesCount": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sessions_spawn",
|
|
||||||
"summaryChars": 198,
|
|
||||||
"schemaChars": 1179,
|
|
||||||
"propertiesCount": 17
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "subagents",
|
|
||||||
"summaryChars": 105,
|
|
||||||
"schemaChars": 191,
|
|
||||||
"propertiesCount": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "session_status",
|
|
||||||
"summaryChars": 262,
|
|
||||||
"schemaChars": 89,
|
|
||||||
"propertiesCount": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "web_search",
|
|
||||||
"summaryChars": 175,
|
|
||||||
"schemaChars": 1084,
|
|
||||||
"propertiesCount": 9
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "web_fetch",
|
|
||||||
"summaryChars": 129,
|
|
||||||
"schemaChars": 374,
|
|
||||||
"propertiesCount": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "image",
|
|
||||||
"summaryChars": 201,
|
|
||||||
"schemaChars": 342,
|
|
||||||
"propertiesCount": 6
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "browser",
|
|
||||||
"summaryChars": 1066,
|
|
||||||
"schemaChars": 2799,
|
|
||||||
"propertiesCount": 48
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "feishu_doc",
|
|
||||||
"summaryChars": 321,
|
|
||||||
"schemaChars": 2898,
|
|
||||||
"propertiesCount": 27
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "feishu_app_scopes",
|
|
||||||
"summaryChars": 102,
|
|
||||||
"schemaChars": 33,
|
|
||||||
"propertiesCount": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "feishu_chat",
|
|
||||||
"summaryChars": 59,
|
|
||||||
"schemaChars": 606,
|
|
||||||
"propertiesCount": 6
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "feishu_wiki",
|
|
||||||
"summaryChars": 83,
|
|
||||||
"schemaChars": 971,
|
|
||||||
"propertiesCount": 10
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "feishu_drive",
|
|
||||||
"summaryChars": 81,
|
|
||||||
"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": 334,
|
|
||||||
"schemaChars": 139,
|
|
||||||
"propertiesCount": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "memory_get",
|
|
||||||
"summaryChars": 151,
|
|
||||||
"schemaChars": 128,
|
|
||||||
"propertiesCount": 3
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"estimatedCostUsd": 0.0063183,
|
|
||||||
"status": "failed",
|
|
||||||
"startedAt": 1777361460383,
|
|
||||||
"endedAt": 1777361462485,
|
|
||||||
"runtimeMs": 2102
|
|
||||||
},
|
|
||||||
"agent:ui-designer:cron:b2c3d4e5-f6a7-8901-bcde-f12345678901:run:d76eab77-12ca-4df5-bda1-67366cf8b0d1": {
|
|
||||||
"sessionId": "d76eab77-12ca-4df5-bda1-67366cf8b0d1",
|
|
||||||
"updatedAt": 1778225541263,
|
|
||||||
"systemSent": true,
|
|
||||||
"label": "Cron: 中国海油每日跟踪",
|
|
||||||
"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>~/.openclaw/skills/capability-evolver/SKILL.md</location>\n </skill>\n</available_skills>",
|
|
||||||
"skills": [
|
|
||||||
{
|
|
||||||
"name": "capability-evolver"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"skillFilter": [
|
|
||||||
"capability-evolver",
|
|
||||||
"self-improving-agent"
|
|
||||||
],
|
|
||||||
"resolvedSkills": [
|
|
||||||
{
|
|
||||||
"name": "capability-evolver",
|
|
||||||
"description": "A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.",
|
|
||||||
"filePath": "/home/starmen1265/.openclaw/skills/capability-evolver/SKILL.md",
|
|
||||||
"baseDir": "/home/starmen1265/.openclaw/skills/capability-evolver",
|
|
||||||
"source": "openclaw-managed",
|
|
||||||
"disableModelInvocation": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"version": 0
|
|
||||||
},
|
|
||||||
"modelProvider": "minimax",
|
|
||||||
"model": "MiniMax-M2.7-highspeed",
|
|
||||||
"contextTokens": 204800,
|
|
||||||
"inputTokens": 296190,
|
|
||||||
"outputTokens": 6271,
|
|
||||||
"totalTokens": 41779,
|
|
||||||
"totalTokensFresh": true,
|
|
||||||
"cacheRead": 278647,
|
|
||||||
"cacheWrite": 16641,
|
|
||||||
"authProfileOverride": "minimax:cn",
|
|
||||||
"authProfileOverrideSource": "auto",
|
|
||||||
"authProfileOverrideCompactionCount": 0,
|
|
||||||
"systemPromptReport": {
|
|
||||||
"source": "run",
|
|
||||||
"generatedAt": 1778225541495,
|
|
||||||
"sessionId": "d76eab77-12ca-4df5-bda1-67366cf8b0d1",
|
|
||||||
"sessionKey": "agent:ui-designer:cron:b2c3d4e5-f6a7-8901-bcde-f12345678901",
|
|
||||||
"provider": "minimax",
|
|
||||||
"model": "MiniMax-M2.7-highspeed",
|
|
||||||
"workspaceDir": "/home/starmen1265/.openclaw/agents/ui-designer/workspace",
|
|
||||||
"bootstrapMaxChars": 20000,
|
|
||||||
"bootstrapTotalMaxChars": 150000,
|
|
||||||
"bootstrapTruncation": {
|
|
||||||
"warningMode": "once",
|
|
||||||
"warningShown": false,
|
|
||||||
"truncatedFiles": 0,
|
|
||||||
"nearLimitFiles": 0,
|
|
||||||
"totalNearLimit": false
|
|
||||||
},
|
|
||||||
"sandbox": {
|
|
||||||
"mode": "off",
|
|
||||||
"sandboxed": false
|
|
||||||
},
|
|
||||||
"systemPrompt": {
|
|
||||||
"chars": 15208,
|
|
||||||
"projectContextChars": 5548,
|
|
||||||
"nonProjectContextChars": 9660
|
|
||||||
},
|
|
||||||
"injectedWorkspaceFiles": [
|
|
||||||
{
|
|
||||||
"name": "AGENTS.md",
|
|
||||||
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/AGENTS.md",
|
|
||||||
"missing": false,
|
|
||||||
"rawChars": 2663,
|
|
||||||
"injectedChars": 2663,
|
|
||||||
"truncated": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "SOUL.md",
|
|
||||||
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/SOUL.md",
|
|
||||||
"missing": false,
|
|
||||||
"rawChars": 96,
|
|
||||||
"injectedChars": 96,
|
|
||||||
"truncated": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "TOOLS.md",
|
|
||||||
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/TOOLS.md",
|
|
||||||
"missing": false,
|
|
||||||
"rawChars": 850,
|
|
||||||
"injectedChars": 850,
|
|
||||||
"truncated": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "IDENTITY.md",
|
|
||||||
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/IDENTITY.md",
|
|
||||||
"missing": false,
|
|
||||||
"rawChars": 123,
|
|
||||||
"injectedChars": 123,
|
|
||||||
"truncated": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "USER.md",
|
|
||||||
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/USER.md",
|
|
||||||
"missing": false,
|
|
||||||
"rawChars": 191,
|
|
||||||
"injectedChars": 191,
|
|
||||||
"truncated": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "SELF_IMPROVEMENT_REMINDER.md",
|
|
||||||
"rawChars": 616,
|
|
||||||
"injectedChars": 616,
|
|
||||||
"truncated": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"skills": {
|
|
||||||
"promptChars": 659,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"name": "capability-evolver",
|
|
||||||
"blockChars": 290
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"tools": {
|
|
||||||
"listChars": 4054,
|
|
||||||
"schemaChars": 30173,
|
|
||||||
"entries": [
|
|
||||||
{
|
|
||||||
"name": "read",
|
|
||||||
"summaryChars": 298,
|
|
||||||
"schemaChars": 574,
|
|
||||||
"propertiesCount": 6
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "edit",
|
|
||||||
"summaryChars": 326,
|
|
||||||
"schemaChars": 1103,
|
|
||||||
"propertiesCount": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "write",
|
|
||||||
"summaryChars": 127,
|
|
||||||
"schemaChars": 497,
|
|
||||||
"propertiesCount": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "exec",
|
|
||||||
"summaryChars": 181,
|
|
||||||
"schemaChars": 1098,
|
|
||||||
"propertiesCount": 12
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "process",
|
|
||||||
"summaryChars": 85,
|
|
||||||
"schemaChars": 961,
|
|
||||||
"propertiesCount": 12
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "canvas",
|
|
||||||
"summaryChars": 106,
|
|
||||||
"schemaChars": 661,
|
|
||||||
"propertiesCount": 18
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "nodes",
|
|
||||||
"summaryChars": 118,
|
|
||||||
"schemaChars": 1589,
|
|
||||||
"propertiesCount": 32
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "cron",
|
|
||||||
"summaryChars": 3570,
|
|
||||||
"schemaChars": 690,
|
|
||||||
"propertiesCount": 13
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "message",
|
|
||||||
"summaryChars": 203,
|
|
||||||
"schemaChars": 5628,
|
|
||||||
"propertiesCount": 104
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "tts",
|
|
||||||
"summaryChars": 152,
|
|
||||||
"schemaChars": 223,
|
|
||||||
"propertiesCount": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "image_generate",
|
|
||||||
"summaryChars": 435,
|
|
||||||
"schemaChars": 1195,
|
|
||||||
"propertiesCount": 10
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "gateway",
|
|
||||||
"summaryChars": 464,
|
|
||||||
"schemaChars": 497,
|
|
||||||
"propertiesCount": 12
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "agents_list",
|
|
||||||
"summaryChars": 118,
|
|
||||||
"schemaChars": 33,
|
|
||||||
"propertiesCount": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sessions_list",
|
|
||||||
"summaryChars": 54,
|
|
||||||
"schemaChars": 212,
|
|
||||||
"propertiesCount": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sessions_history",
|
|
||||||
"summaryChars": 36,
|
|
||||||
"schemaChars": 161,
|
|
||||||
"propertiesCount": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sessions_send",
|
|
||||||
"summaryChars": 84,
|
|
||||||
"schemaChars": 274,
|
|
||||||
"propertiesCount": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sessions_yield",
|
|
||||||
"summaryChars": 97,
|
|
||||||
"schemaChars": 60,
|
|
||||||
"propertiesCount": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sessions_spawn",
|
|
||||||
"summaryChars": 198,
|
|
||||||
"schemaChars": 1179,
|
|
||||||
"propertiesCount": 17
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "subagents",
|
|
||||||
"summaryChars": 105,
|
|
||||||
"schemaChars": 191,
|
|
||||||
"propertiesCount": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "session_status",
|
|
||||||
"summaryChars": 262,
|
|
||||||
"schemaChars": 89,
|
|
||||||
"propertiesCount": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "web_search",
|
|
||||||
"summaryChars": 175,
|
|
||||||
"schemaChars": 1084,
|
|
||||||
"propertiesCount": 9
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "web_fetch",
|
|
||||||
"summaryChars": 129,
|
|
||||||
"schemaChars": 374,
|
|
||||||
"propertiesCount": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "image",
|
|
||||||
"summaryChars": 201,
|
|
||||||
"schemaChars": 342,
|
|
||||||
"propertiesCount": 6
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "browser",
|
|
||||||
"summaryChars": 1066,
|
|
||||||
"schemaChars": 2799,
|
|
||||||
"propertiesCount": 48
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "feishu_doc",
|
|
||||||
"summaryChars": 321,
|
|
||||||
"schemaChars": 2898,
|
|
||||||
"propertiesCount": 27
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "feishu_app_scopes",
|
|
||||||
"summaryChars": 102,
|
|
||||||
"schemaChars": 33,
|
|
||||||
"propertiesCount": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "feishu_chat",
|
|
||||||
"summaryChars": 59,
|
|
||||||
"schemaChars": 606,
|
|
||||||
"propertiesCount": 6
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "feishu_wiki",
|
|
||||||
"summaryChars": 83,
|
|
||||||
"schemaChars": 971,
|
|
||||||
"propertiesCount": 10
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "feishu_drive",
|
|
||||||
"summaryChars": 81,
|
|
||||||
"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": 334,
|
|
||||||
"schemaChars": 139,
|
|
||||||
"propertiesCount": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "memory_get",
|
|
||||||
"summaryChars": 151,
|
|
||||||
"schemaChars": 128,
|
|
||||||
"propertiesCount": 3
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"estimatedCostUsd": 2.0565731100000004,
|
|
||||||
"status": "failed",
|
|
||||||
"startedAt": 1777361564069,
|
|
||||||
"abortedLastRun": false,
|
|
||||||
"sessionFile": "/home/starmen1265/.openclaw/agents/ui-designer/sessions/2043f514-950c-4ba1-9eca-b9762325c3c6.jsonl",
|
|
||||||
"endedAt": 1777361566212,
|
|
||||||
"runtimeMs": 2143
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+38
-38
@@ -7,7 +7,7 @@
|
|||||||
"name": "backup-openclaw-json",
|
"name": "backup-openclaw-json",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"createdAtMs": 1772261581796,
|
"createdAtMs": 1772261581796,
|
||||||
"updatedAtMs": 1778263277304,
|
"updatedAtMs": 1778349605933,
|
||||||
"schedule": {
|
"schedule": {
|
||||||
"kind": "cron",
|
"kind": "cron",
|
||||||
"expr": "0 2 * * *",
|
"expr": "0 2 * * *",
|
||||||
@@ -23,10 +23,10 @@
|
|||||||
"mode": "announce"
|
"mode": "announce"
|
||||||
},
|
},
|
||||||
"state": {
|
"state": {
|
||||||
"nextRunAtMs": 1778349600000,
|
"nextRunAtMs": 1778436000000,
|
||||||
"lastRunAtMs": 1778263200006,
|
"lastRunAtMs": 1778349600004,
|
||||||
"lastStatus": "ok",
|
"lastStatus": "ok",
|
||||||
"lastDurationMs": 77298,
|
"lastDurationMs": 5929,
|
||||||
"consecutiveErrors": 0,
|
"consecutiveErrors": 0,
|
||||||
"lastRunStatus": "ok",
|
"lastRunStatus": "ok",
|
||||||
"lastDelivered": true,
|
"lastDelivered": true,
|
||||||
@@ -59,7 +59,8 @@
|
|||||||
"consecutiveErrors": 0,
|
"consecutiveErrors": 0,
|
||||||
"lastRunStatus": "ok",
|
"lastRunStatus": "ok",
|
||||||
"lastDeliveryStatus": "delivered",
|
"lastDeliveryStatus": "delivered",
|
||||||
"lastDelivered": true
|
"lastDelivered": true,
|
||||||
|
"runningAtMs": 1778350200005
|
||||||
},
|
},
|
||||||
"delivery": {
|
"delivery": {
|
||||||
"mode": "announce"
|
"mode": "announce"
|
||||||
@@ -71,7 +72,7 @@
|
|||||||
"name": "capability-evolver-daily",
|
"name": "capability-evolver-daily",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"createdAtMs": 1772550743528,
|
"createdAtMs": 1772550743528,
|
||||||
"updatedAtMs": 1778178076708,
|
"updatedAtMs": 1778264446939,
|
||||||
"schedule": {
|
"schedule": {
|
||||||
"kind": "cron",
|
"kind": "cron",
|
||||||
"expr": "20 2 * * *",
|
"expr": "20 2 * * *",
|
||||||
@@ -92,14 +93,14 @@
|
|||||||
"to": "feishu-pm"
|
"to": "feishu-pm"
|
||||||
},
|
},
|
||||||
"state": {
|
"state": {
|
||||||
"nextRunAtMs": 1778264400000,
|
"nextRunAtMs": 1778350800000,
|
||||||
"lastRunAtMs": 1778178000005,
|
"lastRunAtMs": 1778264400005,
|
||||||
"lastStatus": "error",
|
"lastStatus": "error",
|
||||||
"lastDurationMs": 76703,
|
"lastDurationMs": 46934,
|
||||||
"consecutiveErrors": 37,
|
"consecutiveErrors": 38,
|
||||||
"lastRunStatus": "error",
|
"lastRunStatus": "error",
|
||||||
"lastDeliveryStatus": "unknown",
|
"lastDeliveryStatus": "unknown",
|
||||||
"runningAtMs": 1778264400003
|
"lastError": "AxiosError: Request failed with status code 400"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -109,7 +110,7 @@
|
|||||||
"description": "每天凌晨2:30整理昨天的已完成任务到每日回顾",
|
"description": "每天凌晨2:30整理昨天的已完成任务到每日回顾",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"createdAtMs": 1741484880000,
|
"createdAtMs": 1741484880000,
|
||||||
"updatedAtMs": 1778178720037,
|
"updatedAtMs": 1778265114037,
|
||||||
"schedule": {
|
"schedule": {
|
||||||
"kind": "cron",
|
"kind": "cron",
|
||||||
"expr": "30 2 * * *",
|
"expr": "30 2 * * *",
|
||||||
@@ -127,15 +128,14 @@
|
|||||||
"channel": "last"
|
"channel": "last"
|
||||||
},
|
},
|
||||||
"state": {
|
"state": {
|
||||||
"nextRunAtMs": 1778265000000,
|
"nextRunAtMs": 1778351400000,
|
||||||
"lastRunAtMs": 1778178600003,
|
"lastRunAtMs": 1778265000006,
|
||||||
"lastRunStatus": "error",
|
"lastRunStatus": "ok",
|
||||||
"lastStatus": "error",
|
"lastStatus": "ok",
|
||||||
"lastDurationMs": 120034,
|
"lastDurationMs": 114031,
|
||||||
"lastDeliveryStatus": "unknown",
|
"lastDeliveryStatus": "delivered",
|
||||||
"consecutiveErrors": 1,
|
"consecutiveErrors": 0,
|
||||||
"lastError": "cron: job execution timed out",
|
"lastDelivered": true
|
||||||
"lastErrorReason": "timeout"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
"name": "zq_workspace_sync",
|
"name": "zq_workspace_sync",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"createdAtMs": 1772551807455,
|
"createdAtMs": 1772551807455,
|
||||||
"updatedAtMs": 1778179200010,
|
"updatedAtMs": 1778265600008,
|
||||||
"schedule": {
|
"schedule": {
|
||||||
"expr": "40 2 * * *",
|
"expr": "40 2 * * *",
|
||||||
"kind": "cron",
|
"kind": "cron",
|
||||||
@@ -157,10 +157,10 @@
|
|||||||
"text": "执行 zq 工作区同步:bash ~/.openclaw/cron/scripts/zq_workspace_sync.sh"
|
"text": "执行 zq 工作区同步:bash ~/.openclaw/cron/scripts/zq_workspace_sync.sh"
|
||||||
},
|
},
|
||||||
"state": {
|
"state": {
|
||||||
"nextRunAtMs": 1778265600000,
|
"nextRunAtMs": 1778352000000,
|
||||||
"lastRunAtMs": 1778179200007,
|
"lastRunAtMs": 1778265600003,
|
||||||
"lastStatus": "skipped",
|
"lastStatus": "skipped",
|
||||||
"lastDurationMs": 3,
|
"lastDurationMs": 5,
|
||||||
"consecutiveErrors": 0,
|
"consecutiveErrors": 0,
|
||||||
"lastRunStatus": "skipped",
|
"lastRunStatus": "skipped",
|
||||||
"lastDeliveryStatus": "not-requested",
|
"lastDeliveryStatus": "not-requested",
|
||||||
@@ -174,7 +174,7 @@
|
|||||||
"description": "每天早上8点整理与各个 AI 代理的对话记录",
|
"description": "每天早上8点整理与各个 AI 代理的对话记录",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"createdAtMs": 1772776369645,
|
"createdAtMs": 1772776369645,
|
||||||
"updatedAtMs": 1778198479202,
|
"updatedAtMs": 1778284817105,
|
||||||
"schedule": {
|
"schedule": {
|
||||||
"kind": "cron",
|
"kind": "cron",
|
||||||
"expr": "0 8 * * *",
|
"expr": "0 8 * * *",
|
||||||
@@ -192,11 +192,11 @@
|
|||||||
"channel": "last"
|
"channel": "last"
|
||||||
},
|
},
|
||||||
"state": {
|
"state": {
|
||||||
"nextRunAtMs": 1778284800000,
|
"nextRunAtMs": 1778371200000,
|
||||||
"lastRunAtMs": 1778198400010,
|
"lastRunAtMs": 1778284800007,
|
||||||
"lastRunStatus": "ok",
|
"lastRunStatus": "ok",
|
||||||
"lastStatus": "ok",
|
"lastStatus": "ok",
|
||||||
"lastDurationMs": 79192,
|
"lastDurationMs": 17098,
|
||||||
"lastDelivered": true,
|
"lastDelivered": true,
|
||||||
"lastDeliveryStatus": "delivered",
|
"lastDeliveryStatus": "delivered",
|
||||||
"consecutiveErrors": 0
|
"consecutiveErrors": 0
|
||||||
@@ -209,7 +209,7 @@
|
|||||||
"description": "每天7点同步提醒到CalDAV日历",
|
"description": "每天7点同步提醒到CalDAV日历",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"createdAtMs": 1772791528528,
|
"createdAtMs": 1772791528528,
|
||||||
"updatedAtMs": 1778194881520,
|
"updatedAtMs": 1778281278100,
|
||||||
"schedule": {
|
"schedule": {
|
||||||
"kind": "cron",
|
"kind": "cron",
|
||||||
"expr": "0 7 * * *",
|
"expr": "0 7 * * *",
|
||||||
@@ -227,11 +227,11 @@
|
|||||||
"channel": "last"
|
"channel": "last"
|
||||||
},
|
},
|
||||||
"state": {
|
"state": {
|
||||||
"nextRunAtMs": 1778281200000,
|
"nextRunAtMs": 1778367600000,
|
||||||
"lastRunAtMs": 1778194800003,
|
"lastRunAtMs": 1778281200006,
|
||||||
"lastRunStatus": "ok",
|
"lastRunStatus": "ok",
|
||||||
"lastStatus": "ok",
|
"lastStatus": "ok",
|
||||||
"lastDurationMs": 81517,
|
"lastDurationMs": 78094,
|
||||||
"lastDeliveryStatus": "delivered",
|
"lastDeliveryStatus": "delivered",
|
||||||
"consecutiveErrors": 0,
|
"consecutiveErrors": 0,
|
||||||
"lastDelivered": true
|
"lastDelivered": true
|
||||||
@@ -350,7 +350,7 @@
|
|||||||
"description": "每天早上8点追踪热点新闻并推送",
|
"description": "每天早上8点追踪热点新闻并推送",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"createdAtMs": 1774274400000,
|
"createdAtMs": 1774274400000,
|
||||||
"updatedAtMs": 1778198659947,
|
"updatedAtMs": 1778285017396,
|
||||||
"schedule": {
|
"schedule": {
|
||||||
"kind": "cron",
|
"kind": "cron",
|
||||||
"expr": "0 8 * * *",
|
"expr": "0 8 * * *",
|
||||||
@@ -368,13 +368,13 @@
|
|||||||
"to": "user:ou_9847ce84b960736c14554730b41e4957"
|
"to": "user:ou_9847ce84b960736c14554730b41e4957"
|
||||||
},
|
},
|
||||||
"state": {
|
"state": {
|
||||||
"nextRunAtMs": 1778284800000,
|
"nextRunAtMs": 1778371200000,
|
||||||
"lastRunAtMs": 1778198479202,
|
"lastRunAtMs": 1778284817105,
|
||||||
"lastRunStatus": "error",
|
"lastRunStatus": "error",
|
||||||
"lastStatus": "error",
|
"lastStatus": "error",
|
||||||
"lastDurationMs": 180745,
|
"lastDurationMs": 200291,
|
||||||
"lastDeliveryStatus": "delivered",
|
"lastDeliveryStatus": "delivered",
|
||||||
"consecutiveErrors": 2,
|
"consecutiveErrors": 3,
|
||||||
"lastDelivered": true,
|
"lastDelivered": true,
|
||||||
"lastError": "⚠️ ✉️ Message failed"
|
"lastError": "⚠️ ✉️ Message failed"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
[2026-05-09 02:31:43] === 每日回顾整理开始 ===
|
||||||
|
[2026-05-09 02:31:43] 处理日期: 2026-05-08
|
||||||
|
[2026-05-09 02:31:43] 没有已完成的任务,跳过
|
||||||
@@ -1,21 +1,22 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# 每日回顾整理脚本
|
# 每日回顾整理脚本
|
||||||
# 流程:NAS pull → 整理任务 → Git commit/push → NAS sync
|
# ~/work/zq 是 rclone mount 挂载点,直接读写即可,禁止 rclone sync
|
||||||
|
# 无需 git 操作,挂载点会自动同步到 NAS
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
WORK_DIR="/home/starmen1265/work/zq"
|
WORK_DIR="/home/starmen1265/work/zq"
|
||||||
TODO_FILE="$WORK_DIR/01.待办/TODO.md"
|
TODO_FILE="$WORK_DIR/01.待办/TODO.md"
|
||||||
REVIEW_DIR="$WORK_DIR/40.归档/每日回顾"
|
REVIEW_DIR="$WORK_DIR/40.归档/每日回顾"
|
||||||
LOG_FILE="$HOME/work/backup/daily-review.log"
|
LOG_FILE="$HOME/.openclaw/cron/logs/daily-review.log"
|
||||||
|
|
||||||
# 获取昨天的日期(格式:YYYY-MM-DD)
|
# 获取昨天的日期(格式:YYYY-MM-DD)
|
||||||
YESTERDAY=$(date -d "yesterday" +%Y-%m-%d)
|
YESTERDAY=$(date -d "yesterday" +%Y-%m-%d)
|
||||||
REVIEW_FILE="$REVIEW_DIR/$YESTERDAY.md"
|
REVIEW_FILE="$REVIEW_DIR/$YESTERDAY.md"
|
||||||
|
|
||||||
# 确保日志目录存在
|
# 确保目录存在
|
||||||
mkdir -p "$(dirname "$LOG_FILE")"
|
|
||||||
mkdir -p "$REVIEW_DIR"
|
mkdir -p "$REVIEW_DIR"
|
||||||
|
mkdir -p "$(dirname "$LOG_FILE")"
|
||||||
|
|
||||||
log() {
|
log() {
|
||||||
echo "[$(date '+%Y-%m-%d %H:%M:%S')] $1" | tee -a "$LOG_FILE"
|
echo "[$(date '+%Y-%m-%d %H:%M:%S')] $1" | tee -a "$LOG_FILE"
|
||||||
@@ -24,15 +25,11 @@ log() {
|
|||||||
log "=== 每日回顾整理开始 ==="
|
log "=== 每日回顾整理开始 ==="
|
||||||
log "处理日期: $YESTERDAY"
|
log "处理日期: $YESTERDAY"
|
||||||
|
|
||||||
# 切换到工作目录
|
# 检查 TODO 文件是否存在且可读
|
||||||
cd "$WORK_DIR"
|
if [ ! -f "$TODO_FILE" ]; then
|
||||||
|
log "TODO 文件不存在,跳过"
|
||||||
# 1. 先从 NAS 拉取最新内容
|
exit 0
|
||||||
log "1. 从 NAS 拉取更新..."
|
fi
|
||||||
rclone sync "nas-webdav:/home/Drive/工作区/张青/工作区/" "$WORK_DIR/" \
|
|
||||||
--exclude ".git/" \
|
|
||||||
--exclude ".gitignore" \
|
|
||||||
--log-level INFO >> "$LOG_FILE" 2>&1
|
|
||||||
|
|
||||||
# 如果没有已完成的任务,直接退出
|
# 如果没有已完成的任务,直接退出
|
||||||
if ! grep -q "\[x\]" "$TODO_FILE"; then
|
if ! grep -q "\[x\]" "$TODO_FILE"; then
|
||||||
@@ -40,10 +37,9 @@ if ! grep -q "\[x\]" "$TODO_FILE"; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
log "2. 发现已完成的任务,开始整理..."
|
log "1. 发现已完成的任务,开始整理..."
|
||||||
|
|
||||||
# 提取已完成的任务(保留标题结构)
|
# 提取已完成的任务(保留标题结构)
|
||||||
# 读取TODO.md,提取所有包含[x]的行及其所属标题
|
|
||||||
COMPLETED_TASKS=$(awk '
|
COMPLETED_TASKS=$(awk '
|
||||||
/^#/ { current_section = $0 }
|
/^#/ { current_section = $0 }
|
||||||
/\[x\]/ {
|
/\[x\]/ {
|
||||||
@@ -55,20 +51,16 @@ COMPLETED_TASKS=$(awk '
|
|||||||
}
|
}
|
||||||
' "$TODO_FILE")
|
' "$TODO_FILE")
|
||||||
|
|
||||||
# 如果每日回顾文件不存在,创建它
|
# 创建每日回顾文件并写入
|
||||||
if [ ! -f "$REVIEW_FILE" ]; then
|
log "2. 写入每日回顾: $REVIEW_FILE"
|
||||||
touch "$REVIEW_FILE"
|
|
||||||
log "创建每日回顾文件: $REVIEW_FILE"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# 将完成的任务追加到每日回顾文件(去掉✅及后面的日期)
|
|
||||||
echo "$COMPLETED_TASKS" | sed 's/ ✅ [0-9-]*$//' >> "$REVIEW_FILE"
|
echo "$COMPLETED_TASKS" | sed 's/ ✅ [0-9-]*$//' >> "$REVIEW_FILE"
|
||||||
log "已添加任务到每日回顾"
|
|
||||||
|
|
||||||
# 从TODO.md中删除已完成的任务行
|
# 从 TODO.md 中删除已完成的任务行(使用临时文件避免 sed -i 在挂载点的问题)
|
||||||
sed -i '/\[x\]/d' "$TODO_FILE"
|
log "3. 清理 TODO.md 中的已完成任务..."
|
||||||
|
TEMP_FILE=$(mktemp)
|
||||||
|
grep -v '\[x\]' "$TODO_FILE" > "$TEMP_FILE"
|
||||||
|
|
||||||
# 清理TODO.md中的空标题(标题下没有任务的情况)
|
# 清理空标题段(标题下没有非空行的)
|
||||||
awk '
|
awk '
|
||||||
/^#/ {
|
/^#/ {
|
||||||
if (section_content != "") {
|
if (section_content != "") {
|
||||||
@@ -88,20 +80,13 @@ awk '
|
|||||||
print section_content
|
print section_content
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
' "$TODO_FILE" > "$TODO_FILE.tmp" && mv "$TODO_FILE.tmp" "$TODO_FILE"
|
' "$TEMP_FILE" > "$TEMP_FILE.cleaned"
|
||||||
|
|
||||||
# 3. 提交并推送到 Gitea
|
# 原子替换
|
||||||
log "3. 提交并推送到 Gitea..."
|
cat "$TEMP_FILE.cleaned" > "$TODO_FILE"
|
||||||
git add "$TODO_FILE" "$REVIEW_FILE"
|
rm -f "$TEMP_FILE" "$TEMP_FILE.cleaned"
|
||||||
git commit -m "每日回顾整理:$YESTERDAY" >> "$LOG_FILE" 2>&1 || log "Git提交无变更"
|
|
||||||
git push origin main >> "$LOG_FILE" 2>&1 || log "警告:Git推送失败"
|
|
||||||
|
|
||||||
# 4. 全量同步回 NAS
|
|
||||||
log "4. 同步回 NAS..."
|
|
||||||
rclone sync "$WORK_DIR/" "nas-webdav:/home/Drive/工作区/张青/工作区/" \
|
|
||||||
--exclude ".git/" \
|
|
||||||
--exclude ".gitignore" \
|
|
||||||
--log-level INFO >> "$LOG_FILE" 2>&1 || log "警告:rclone 推送失败"
|
|
||||||
|
|
||||||
|
# 挂载点自动同步,无需 rclone sync 或 git push
|
||||||
|
log "4. 挂载点自动同步到 NAS,无需手动操作"
|
||||||
log "=== 每日回顾整理完成 ==="
|
log "=== 每日回顾整理完成 ==="
|
||||||
echo "Daily review completed for $YESTERDAY"
|
echo "Daily review completed for $YESTERDAY"
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user