diff --git a/agents/haonan/sessions/sessions.json b/agents/haonan/sessions/sessions.json index f10263f..9502e4b 100644 --- a/agents/haonan/sessions/sessions.json +++ b/agents/haonan/sessions/sessions.json @@ -754,11 +754,11 @@ "memoryFlushCompactionCount": 0 }, "agent:haonan:cron:41396aeb-6e3a-47b2-9bd3-9156a348c1dc": { - "sessionId": "acd2a34a-b2a9-4d7e-b763-034b9ef1ba34", - "updatedAt": 1778263200014, + "sessionId": "d1226954-06c9-4dbf-acf5-7548c3f55f07", + "updatedAt": 1778349600011, "systemSent": true, - "model": "glm-5", - "contextTokens": 200000, + "model": "MiniMax-M2.7-highspeed", + "contextTokens": 204800, "label": "Cron: backup-openclaw-json", "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\n \n capability-evolver\n A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.\n ~/.openclaw/skills/capability-evolver/SKILL.md\n \n \n clawlist\n 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.\n ~/.openclaw/skills/clawlist/SKILL.md\n \n", @@ -795,23 +795,23 @@ ], "version": 0 }, - "modelProvider": "zhipu", - "inputTokens": 11592, - "outputTokens": 71, - "totalTokens": 18627, + "modelProvider": "minimax", + "inputTokens": 437, + "outputTokens": 98, + "totalTokens": 18903, "totalTokensFresh": true, - "cacheRead": 25600, - "cacheWrite": 0, + "cacheRead": 18564, + "cacheWrite": 18700, "authProfileOverride": "minimax:cn", "authProfileOverrideSource": "auto", "authProfileOverrideCompactionCount": 0, "systemPromptReport": { "source": "run", - "generatedAt": 1778263260359, - "sessionId": "acd2a34a-b2a9-4d7e-b763-034b9ef1ba34", + "generatedAt": 1778349600253, + "sessionId": "d1226954-06c9-4dbf-acf5-7548c3f55f07", "sessionKey": "agent:haonan:cron:41396aeb-6e3a-47b2-9bd3-9156a348c1dc", - "provider": "zhipu", - "model": "glm-5", + "provider": "minimax", + "model": "MiniMax-M2.7-highspeed", "workspaceDir": "/home/starmen1265/.openclaw/agents/haonan/workspace", "bootstrapMaxChars": 20000, "bootstrapTotalMaxChars": 150000, @@ -827,9 +827,9 @@ "sandboxed": false }, "systemPrompt": { - "chars": 23534, - "projectContextChars": 14014, - "nonProjectContextChars": 9520 + "chars": 24034, + "projectContextChars": 14033, + "nonProjectContextChars": 10001 }, "injectedWorkspaceFiles": [ { @@ -1133,13 +1133,13 @@ ] } }, - "estimatedCostUsd": 0.050374140000000005 + "estimatedCostUsd": 0.058749180000000005 }, "agent:haonan:cron:f03b184f-5f1d-4093-ae1b-fc9fe0b59eef": { "sessionId": "690af9c9-c85e-46e0-9891-5c005951ff93", - "updatedAt": 1778264401852, + "updatedAt": 1778264400011, "systemSent": true, - "model": "glm-4.7-FlashX", + "model": "glm-5", "contextTokens": 200000, "label": "Cron: capability-evolver-daily", "skillsSnapshot": { @@ -1178,9 +1178,9 @@ "version": 0 }, "modelProvider": "zhipu", - "inputTokens": 32276, - "outputTokens": 563, - "totalTokens": 33925, + "inputTokens": 7579, + "outputTokens": 570, + "totalTokens": 25918, "deliveryContext": { "channel": "webchat" }, @@ -1189,12 +1189,12 @@ "sessionFile": "/home/starmen1265/.openclaw/agents/haonan/sessions/ccc40ca7-7876-4d82-ab84-7b790feddc19.jsonl", "abortedLastRun": false, "totalTokensFresh": true, - "cacheRead": 65408, + "cacheRead": 56192, "cacheWrite": 0, "systemPromptReport": { "source": "run", - "generatedAt": 1778178021471, - "sessionId": "c964212a-b244-4fe7-9a07-fb02582799af", + "generatedAt": 1778264421107, + "sessionId": "690af9c9-c85e-46e0-9891-5c005951ff93", "sessionKey": "agent:haonan:cron:f03b184f-5f1d-4093-ae1b-fc9fe0b59eef", "provider": "zhipu", "model": "glm-5", @@ -1520,10 +1520,8 @@ } }, "estimatedCostUsd": 0, - "status": "failed", - "startedAt": 1778264400194, - "endedAt": 1778264401850, - "runtimeMs": 1656 + "status": "running", + "startedAt": 1775931600223 }, "agent:haonan:cron:3245fca7-045b-4977-8fab-020f6df2e453": { "sessionId": "8debcda0-e8fd-44c3-8c30-da668f3efab2", @@ -1565,8 +1563,8 @@ "cacheWrite": 0 }, "agent:haonan:cron:aa4d2de9-79be-4262-83ee-af8824793bfc": { - "sessionId": "359c1567-62c7-40a9-89c3-524f66f7f724", - "updatedAt": 1778263800011, + "sessionId": "27999f85-a0e9-4048-b5ff-02815067486b", + "updatedAt": 1778350200291, "systemSent": true, "label": "Cron: openclaw-git-sync", "skillsSnapshot": { @@ -1944,777 +1942,10 @@ ] } }, - "estimatedCostUsd": 0.32935932 - }, - "agent:haonan:cron:f03b184f-5f1d-4093-ae1b-fc9fe0b59eef:run:c964212a-b244-4fe7-9a07-fb02582799af": { - "sessionId": "c964212a-b244-4fe7-9a07-fb02582799af", - "updatedAt": 1778178000011, - "systemSent": true, - "model": "glm-5", - "contextTokens": 200000, - "label": "Cron: capability-evolver-daily", - "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\n \n capability-evolver\n A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.\n ~/.openclaw/skills/capability-evolver/SKILL.md\n \n \n clawlist\n 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.\n ~/.openclaw/skills/clawlist/SKILL.md\n \n", - "skills": [ - { - "name": "capability-evolver" - }, - { - "name": "clawlist" - } - ], - "skillFilter": [ - "clawlist", - "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 - }, - { - "name": "clawlist", - "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.", - "filePath": "/home/starmen1265/.openclaw/skills/clawlist/SKILL.md", - "baseDir": "/home/starmen1265/.openclaw/skills/clawlist", - "source": "openclaw-managed", - "disableModelInvocation": false - } - ], - "version": 0 - }, - "modelProvider": "zhipu", - "inputTokens": 32276, - "outputTokens": 563, - "totalTokens": 33925, - "deliveryContext": { - "channel": "webchat" - }, - "lastChannel": "webchat", - "channel": "webchat", - "sessionFile": "/home/starmen1265/.openclaw/agents/haonan/sessions/ccc40ca7-7876-4d82-ab84-7b790feddc19.jsonl", - "abortedLastRun": false, - "totalTokensFresh": true, - "cacheRead": 65408, - "cacheWrite": 0, - "systemPromptReport": { - "source": "run", - "generatedAt": 1778178021471, - "sessionId": "c964212a-b244-4fe7-9a07-fb02582799af", - "sessionKey": "agent:haonan:cron:f03b184f-5f1d-4093-ae1b-fc9fe0b59eef", - "provider": "zhipu", - "model": "glm-5", - "workspaceDir": "/home/starmen1265/.openclaw/agents/haonan/workspace", - "bootstrapMaxChars": 20000, - "bootstrapTotalMaxChars": 150000, - "bootstrapTruncation": { - "warningMode": "once", - "warningShown": false, - "truncatedFiles": 0, - "nearLimitFiles": 0, - "totalNearLimit": false - }, - "sandbox": { - "mode": "off", - "sandboxed": false - }, - "systemPrompt": { - "chars": 23534, - "projectContextChars": 14014, - "nonProjectContextChars": 9520 - }, - "injectedWorkspaceFiles": [ - { - "name": "AGENTS.md", - "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/AGENTS.md", - "missing": false, - "rawChars": 11295, - "injectedChars": 11295, - "truncated": false - }, - { - "name": "SOUL.md", - "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/SOUL.md", - "missing": false, - "rawChars": 285, - "injectedChars": 285, - "truncated": false - }, - { - "name": "TOOLS.md", - "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/TOOLS.md", - "missing": false, - "rawChars": 572, - "injectedChars": 572, - "truncated": false - }, - { - "name": "IDENTITY.md", - "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/IDENTITY.md", - "missing": false, - "rawChars": 130, - "injectedChars": 130, - "truncated": false - }, - { - "name": "USER.md", - "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/USER.md", - "missing": false, - "rawChars": 132, - "injectedChars": 132, - "truncated": false - }, - { - "path": "SELF_IMPROVEMENT_REMINDER.md", - "rawChars": 616, - "injectedChars": 616, - "truncated": false - } - ], - "skills": { - "promptChars": 1005, - "entries": [ - { - "name": "capability-evolver", - "blockChars": 290 - }, - { - "name": "clawlist", - "blockChars": 343 - } - ] - }, - "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, + "estimatedCostUsd": 0.32935932, "status": "running", - "startedAt": 1775931600223 - }, - "agent:haonan:cron:41396aeb-6e3a-47b2-9bd3-9156a348c1dc:run:acd2a34a-b2a9-4d7e-b763-034b9ef1ba34": { - "sessionId": "acd2a34a-b2a9-4d7e-b763-034b9ef1ba34", - "updatedAt": 1778263200014, - "systemSent": true, - "model": "glm-5", - "contextTokens": 200000, - "label": "Cron: backup-openclaw-json", - "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\n \n capability-evolver\n A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.\n ~/.openclaw/skills/capability-evolver/SKILL.md\n \n \n clawlist\n 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.\n ~/.openclaw/skills/clawlist/SKILL.md\n \n", - "skills": [ - { - "name": "capability-evolver" - }, - { - "name": "clawlist" - } - ], - "skillFilter": [ - "clawlist", - "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 - }, - { - "name": "clawlist", - "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.", - "filePath": "/home/starmen1265/.openclaw/skills/clawlist/SKILL.md", - "baseDir": "/home/starmen1265/.openclaw/skills/clawlist", - "source": "openclaw-managed", - "disableModelInvocation": false - } - ], - "version": 0 - }, - "modelProvider": "zhipu", - "inputTokens": 11592, - "outputTokens": 71, - "totalTokens": 18627, - "totalTokensFresh": true, - "cacheRead": 25600, - "cacheWrite": 0, - "authProfileOverride": "minimax:cn", - "authProfileOverrideSource": "auto", - "authProfileOverrideCompactionCount": 0, - "systemPromptReport": { - "source": "run", - "generatedAt": 1778263260359, - "sessionId": "acd2a34a-b2a9-4d7e-b763-034b9ef1ba34", - "sessionKey": "agent:haonan:cron:41396aeb-6e3a-47b2-9bd3-9156a348c1dc", - "provider": "zhipu", - "model": "glm-5", - "workspaceDir": "/home/starmen1265/.openclaw/agents/haonan/workspace", - "bootstrapMaxChars": 20000, - "bootstrapTotalMaxChars": 150000, - "bootstrapTruncation": { - "warningMode": "once", - "warningShown": false, - "truncatedFiles": 0, - "nearLimitFiles": 0, - "totalNearLimit": false - }, - "sandbox": { - "mode": "off", - "sandboxed": false - }, - "systemPrompt": { - "chars": 23534, - "projectContextChars": 14014, - "nonProjectContextChars": 9520 - }, - "injectedWorkspaceFiles": [ - { - "name": "AGENTS.md", - "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/AGENTS.md", - "missing": false, - "rawChars": 11295, - "injectedChars": 11295, - "truncated": false - }, - { - "name": "SOUL.md", - "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/SOUL.md", - "missing": false, - "rawChars": 285, - "injectedChars": 285, - "truncated": false - }, - { - "name": "TOOLS.md", - "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/TOOLS.md", - "missing": false, - "rawChars": 572, - "injectedChars": 572, - "truncated": false - }, - { - "name": "IDENTITY.md", - "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/IDENTITY.md", - "missing": false, - "rawChars": 130, - "injectedChars": 130, - "truncated": false - }, - { - "name": "USER.md", - "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/USER.md", - "missing": false, - "rawChars": 132, - "injectedChars": 132, - "truncated": false - }, - { - "path": "SELF_IMPROVEMENT_REMINDER.md", - "rawChars": 616, - "injectedChars": 616, - "truncated": false - } - ], - "skills": { - "promptChars": 1005, - "entries": [ - { - "name": "capability-evolver", - "blockChars": 290 - }, - { - "name": "clawlist", - "blockChars": 343 - } - ] - }, - "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.050374140000000005 + "startedAt": 1778350200286, + "abortedLastRun": false }, "agent:haonan:cron:aa4d2de9-79be-4262-83ee-af8824793bfc:run:359c1567-62c7-40a9-89c3-524f66f7f724": { "sessionId": "359c1567-62c7-40a9-89c3-524f66f7f724", @@ -3100,9 +2331,9 @@ }, "agent:haonan:cron:f03b184f-5f1d-4093-ae1b-fc9fe0b59eef:run:690af9c9-c85e-46e0-9891-5c005951ff93": { "sessionId": "690af9c9-c85e-46e0-9891-5c005951ff93", - "updatedAt": 1778264421118, + "updatedAt": 1778264400011, "systemSent": true, - "model": "glm-4.7-FlashX", + "model": "glm-5", "contextTokens": 200000, "label": "Cron: capability-evolver-daily", "skillsSnapshot": { @@ -3141,9 +2372,9 @@ "version": 0 }, "modelProvider": "zhipu", - "inputTokens": 32276, - "outputTokens": 563, - "totalTokens": 33925, + "inputTokens": 7579, + "outputTokens": 570, + "totalTokens": 25918, "deliveryContext": { "channel": "webchat" }, @@ -3152,12 +2383,12 @@ "sessionFile": "/home/starmen1265/.openclaw/agents/haonan/sessions/ccc40ca7-7876-4d82-ab84-7b790feddc19.jsonl", "abortedLastRun": false, "totalTokensFresh": true, - "cacheRead": 65408, + "cacheRead": 56192, "cacheWrite": 0, "systemPromptReport": { "source": "run", - "generatedAt": 1778178021471, - "sessionId": "c964212a-b244-4fe7-9a07-fb02582799af", + "generatedAt": 1778264421107, + "sessionId": "690af9c9-c85e-46e0-9891-5c005951ff93", "sessionKey": "agent:haonan:cron:f03b184f-5f1d-4093-ae1b-fc9fe0b59eef", "provider": "zhipu", "model": "glm-5", @@ -3484,6 +2715,770 @@ }, "estimatedCostUsd": 0, "status": "running", - "startedAt": 1778264421114 + "startedAt": 1775931600223 + }, + "agent:haonan:cron:41396aeb-6e3a-47b2-9bd3-9156a348c1dc:run:d1226954-06c9-4dbf-acf5-7548c3f55f07": { + "sessionId": "d1226954-06c9-4dbf-acf5-7548c3f55f07", + "updatedAt": 1778349600011, + "systemSent": true, + "model": "MiniMax-M2.7-highspeed", + "contextTokens": 204800, + "label": "Cron: backup-openclaw-json", + "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\n \n capability-evolver\n A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.\n ~/.openclaw/skills/capability-evolver/SKILL.md\n \n \n clawlist\n 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.\n ~/.openclaw/skills/clawlist/SKILL.md\n \n", + "skills": [ + { + "name": "capability-evolver" + }, + { + "name": "clawlist" + } + ], + "skillFilter": [ + "clawlist", + "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 + }, + { + "name": "clawlist", + "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.", + "filePath": "/home/starmen1265/.openclaw/skills/clawlist/SKILL.md", + "baseDir": "/home/starmen1265/.openclaw/skills/clawlist", + "source": "openclaw-managed", + "disableModelInvocation": false + } + ], + "version": 0 + }, + "modelProvider": "minimax", + "inputTokens": 437, + "outputTokens": 98, + "totalTokens": 18903, + "totalTokensFresh": true, + "cacheRead": 18564, + "cacheWrite": 18700, + "authProfileOverride": "minimax:cn", + "authProfileOverrideSource": "auto", + "authProfileOverrideCompactionCount": 0, + "systemPromptReport": { + "source": "run", + "generatedAt": 1778349600253, + "sessionId": "d1226954-06c9-4dbf-acf5-7548c3f55f07", + "sessionKey": "agent:haonan:cron:41396aeb-6e3a-47b2-9bd3-9156a348c1dc", + "provider": "minimax", + "model": "MiniMax-M2.7-highspeed", + "workspaceDir": "/home/starmen1265/.openclaw/agents/haonan/workspace", + "bootstrapMaxChars": 20000, + "bootstrapTotalMaxChars": 150000, + "bootstrapTruncation": { + "warningMode": "once", + "warningShown": false, + "truncatedFiles": 0, + "nearLimitFiles": 0, + "totalNearLimit": false + }, + "sandbox": { + "mode": "off", + "sandboxed": false + }, + "systemPrompt": { + "chars": 24034, + "projectContextChars": 14033, + "nonProjectContextChars": 10001 + }, + "injectedWorkspaceFiles": [ + { + "name": "AGENTS.md", + "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/AGENTS.md", + "missing": false, + "rawChars": 11295, + "injectedChars": 11295, + "truncated": false + }, + { + "name": "SOUL.md", + "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/SOUL.md", + "missing": false, + "rawChars": 285, + "injectedChars": 285, + "truncated": false + }, + { + "name": "TOOLS.md", + "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/TOOLS.md", + "missing": false, + "rawChars": 572, + "injectedChars": 572, + "truncated": false + }, + { + "name": "IDENTITY.md", + "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/IDENTITY.md", + "missing": false, + "rawChars": 130, + "injectedChars": 130, + "truncated": false + }, + { + "name": "USER.md", + "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/USER.md", + "missing": false, + "rawChars": 132, + "injectedChars": 132, + "truncated": false + }, + { + "path": "SELF_IMPROVEMENT_REMINDER.md", + "rawChars": 616, + "injectedChars": 616, + "truncated": false + } + ], + "skills": { + "promptChars": 1005, + "entries": [ + { + "name": "capability-evolver", + "blockChars": 290 + }, + { + "name": "clawlist", + "blockChars": 343 + } + ] + }, + "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.058749180000000005 + }, + "agent:haonan:cron:aa4d2de9-79be-4262-83ee-af8824793bfc:run:27999f85-a0e9-4048-b5ff-02815067486b": { + "sessionId": "27999f85-a0e9-4048-b5ff-02815067486b", + "updatedAt": 1778350200036, + "systemSent": true, + "label": "Cron: openclaw-git-sync", + "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\n \n capability-evolver\n A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.\n ~/.openclaw/skills/capability-evolver/SKILL.md\n \n \n clawlist\n 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.\n ~/.openclaw/skills/clawlist/SKILL.md\n \n", + "skills": [ + { + "name": "capability-evolver" + }, + { + "name": "clawlist" + } + ], + "skillFilter": [ + "clawlist", + "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 + }, + { + "name": "clawlist", + "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.", + "filePath": "/home/starmen1265/.openclaw/skills/clawlist/SKILL.md", + "baseDir": "/home/starmen1265/.openclaw/skills/clawlist", + "source": "openclaw-managed", + "disableModelInvocation": false + } + ], + "version": 0 + }, + "modelProvider": "minimax", + "model": "MiniMax-M2.7-highspeed", + "contextTokens": 204800, + "inputTokens": 519, + "outputTokens": 144, + "totalTokens": 18985, + "totalTokensFresh": true, + "cacheRead": 18564, + "cacheWrite": 18694, + "authProfileOverride": "minimax:cn", + "authProfileOverrideSource": "auto", + "authProfileOverrideCompactionCount": 0, + "systemPromptReport": { + "source": "run", + "generatedAt": 1778263800256, + "sessionId": "359c1567-62c7-40a9-89c3-524f66f7f724", + "sessionKey": "agent:haonan:cron:aa4d2de9-79be-4262-83ee-af8824793bfc", + "provider": "minimax", + "model": "MiniMax-M2.7-highspeed", + "workspaceDir": "/home/starmen1265/.openclaw/agents/haonan/workspace", + "bootstrapMaxChars": 20000, + "bootstrapTotalMaxChars": 150000, + "bootstrapTruncation": { + "warningMode": "once", + "warningShown": false, + "truncatedFiles": 0, + "nearLimitFiles": 0, + "totalNearLimit": false + }, + "sandbox": { + "mode": "off", + "sandboxed": false + }, + "systemPrompt": { + "chars": 24034, + "projectContextChars": 14033, + "nonProjectContextChars": 10001 + }, + "injectedWorkspaceFiles": [ + { + "name": "AGENTS.md", + "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/AGENTS.md", + "missing": false, + "rawChars": 11295, + "injectedChars": 11295, + "truncated": false + }, + { + "name": "SOUL.md", + "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/SOUL.md", + "missing": false, + "rawChars": 285, + "injectedChars": 285, + "truncated": false + }, + { + "name": "TOOLS.md", + "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/TOOLS.md", + "missing": false, + "rawChars": 572, + "injectedChars": 572, + "truncated": false + }, + { + "name": "IDENTITY.md", + "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/IDENTITY.md", + "missing": false, + "rawChars": 130, + "injectedChars": 130, + "truncated": false + }, + { + "name": "USER.md", + "path": "/home/starmen1265/.openclaw/agents/haonan/workspace/USER.md", + "missing": false, + "rawChars": 132, + "injectedChars": 132, + "truncated": false + }, + { + "path": "SELF_IMPROVEMENT_REMINDER.md", + "rawChars": 616, + "injectedChars": 616, + "truncated": false + } + ], + "skills": { + "promptChars": 1005, + "entries": [ + { + "name": "capability-evolver", + "blockChars": 290 + }, + { + "name": "clawlist", + "blockChars": 343 + } + ] + }, + "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.32935932 } } \ No newline at end of file diff --git a/agents/ui-designer/sessions/sessions.json b/agents/ui-designer/sessions/sessions.json index 9fe1586..e2e2052 100644 --- a/agents/ui-designer/sessions/sessions.json +++ b/agents/ui-designer/sessions/sessions.json @@ -1193,8 +1193,8 @@ "runtimeMs": 2143 }, "agent:ui-designer:cron:c3d4e5f6-a7b8-9012-cdef-234567890123": { - "sessionId": "ffd42f99-f46b-4ca4-8adf-f3e0c906ca45", - "updatedAt": 1778198479210, + "sessionId": "188bc0b6-2e40-43e5-8935-b477289033bf", + "updatedAt": 1778284817112, "systemSent": true, "label": "Cron: 每日热点新闻追踪", "skillsSnapshot": { @@ -1223,11 +1223,11 @@ "modelProvider": "zhipu", "model": "glm-5", "contextTokens": 200000, - "inputTokens": 21856, - "outputTokens": 3195, - "totalTokens": 318496, + "inputTokens": 29852, + "outputTokens": 3309, + "totalTokens": 34795, "totalTokensFresh": true, - "cacheRead": 296640, + "cacheRead": 323520, "cacheWrite": 0, "sessionFile": "/home/starmen1265/.openclaw/agents/ui-designer/sessions/3795c952-0d99-470a-8bee-9f63b83abedd.jsonl", "abortedLastRun": false, @@ -1236,8 +1236,8 @@ "authProfileOverrideCompactionCount": 0, "systemPromptReport": { "source": "run", - "generatedAt": 1778198539547, - "sessionId": "ffd42f99-f46b-4ca4-8adf-f3e0c906ca45", + "generatedAt": 1778284877438, + "sessionId": "188bc0b6-2e40-43e5-8935-b477289033bf", "sessionKey": "agent:ui-designer:cron:c3d4e5f6-a7b8-9012-cdef-234567890123", "provider": "zhipu", "model": "glm-5", @@ -2201,9 +2201,9 @@ "cacheWrite": 13572, "estimatedCostUsd": 0.0646701 }, - "agent:ui-designer:cron:c3d4e5f6-a7b8-9012-cdef-234567890123:run:ffd42f99-f46b-4ca4-8adf-f3e0c906ca45": { - "sessionId": "ffd42f99-f46b-4ca4-8adf-f3e0c906ca45", - "updatedAt": 1778198479210, + "agent:ui-designer:cron:c3d4e5f6-a7b8-9012-cdef-234567890123:run:188bc0b6-2e40-43e5-8935-b477289033bf": { + "sessionId": "188bc0b6-2e40-43e5-8935-b477289033bf", + "updatedAt": 1778284817112, "systemSent": true, "label": "Cron: 每日热点新闻追踪", "skillsSnapshot": { @@ -2232,11 +2232,11 @@ "modelProvider": "zhipu", "model": "glm-5", "contextTokens": 200000, - "inputTokens": 21856, - "outputTokens": 3195, - "totalTokens": 318496, + "inputTokens": 29852, + "outputTokens": 3309, + "totalTokens": 34795, "totalTokensFresh": true, - "cacheRead": 296640, + "cacheRead": 323520, "cacheWrite": 0, "sessionFile": "/home/starmen1265/.openclaw/agents/ui-designer/sessions/3795c952-0d99-470a-8bee-9f63b83abedd.jsonl", "abortedLastRun": false, @@ -2245,8 +2245,8 @@ "authProfileOverrideCompactionCount": 0, "systemPromptReport": { "source": "run", - "generatedAt": 1778198539547, - "sessionId": "ffd42f99-f46b-4ca4-8adf-f3e0c906ca45", + "generatedAt": 1778284877438, + "sessionId": "188bc0b6-2e40-43e5-8935-b477289033bf", "sessionKey": "agent:ui-designer:cron:c3d4e5f6-a7b8-9012-cdef-234567890123", "provider": "zhipu", "model": "glm-5", @@ -2572,749 +2572,5 @@ "startedAt": 1777939391912, "endedAt": 1777939393611, "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\n \n capability-evolver\n A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.\n ~/.openclaw/skills/capability-evolver/SKILL.md\n \n", - "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\n \n capability-evolver\n A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.\n ~/.openclaw/skills/capability-evolver/SKILL.md\n \n", - "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 } } \ No newline at end of file diff --git a/cron/jobs.json b/cron/jobs.json index bee96b8..0bccb97 100644 --- a/cron/jobs.json +++ b/cron/jobs.json @@ -7,7 +7,7 @@ "name": "backup-openclaw-json", "enabled": true, "createdAtMs": 1772261581796, - "updatedAtMs": 1778263277304, + "updatedAtMs": 1778349605933, "schedule": { "kind": "cron", "expr": "0 2 * * *", @@ -23,10 +23,10 @@ "mode": "announce" }, "state": { - "nextRunAtMs": 1778349600000, - "lastRunAtMs": 1778263200006, + "nextRunAtMs": 1778436000000, + "lastRunAtMs": 1778349600004, "lastStatus": "ok", - "lastDurationMs": 77298, + "lastDurationMs": 5929, "consecutiveErrors": 0, "lastRunStatus": "ok", "lastDelivered": true, @@ -59,7 +59,8 @@ "consecutiveErrors": 0, "lastRunStatus": "ok", "lastDeliveryStatus": "delivered", - "lastDelivered": true + "lastDelivered": true, + "runningAtMs": 1778350200005 }, "delivery": { "mode": "announce" @@ -71,7 +72,7 @@ "name": "capability-evolver-daily", "enabled": true, "createdAtMs": 1772550743528, - "updatedAtMs": 1778178076708, + "updatedAtMs": 1778264446939, "schedule": { "kind": "cron", "expr": "20 2 * * *", @@ -92,14 +93,14 @@ "to": "feishu-pm" }, "state": { - "nextRunAtMs": 1778264400000, - "lastRunAtMs": 1778178000005, + "nextRunAtMs": 1778350800000, + "lastRunAtMs": 1778264400005, "lastStatus": "error", - "lastDurationMs": 76703, - "consecutiveErrors": 37, + "lastDurationMs": 46934, + "consecutiveErrors": 38, "lastRunStatus": "error", "lastDeliveryStatus": "unknown", - "runningAtMs": 1778264400003 + "lastError": "AxiosError: Request failed with status code 400" } }, { @@ -109,7 +110,7 @@ "description": "每天凌晨2:30整理昨天的已完成任务到每日回顾", "enabled": true, "createdAtMs": 1741484880000, - "updatedAtMs": 1778178720037, + "updatedAtMs": 1778265114037, "schedule": { "kind": "cron", "expr": "30 2 * * *", @@ -127,15 +128,14 @@ "channel": "last" }, "state": { - "nextRunAtMs": 1778265000000, - "lastRunAtMs": 1778178600003, - "lastRunStatus": "error", - "lastStatus": "error", - "lastDurationMs": 120034, - "lastDeliveryStatus": "unknown", - "consecutiveErrors": 1, - "lastError": "cron: job execution timed out", - "lastErrorReason": "timeout" + "nextRunAtMs": 1778351400000, + "lastRunAtMs": 1778265000006, + "lastRunStatus": "ok", + "lastStatus": "ok", + "lastDurationMs": 114031, + "lastDeliveryStatus": "delivered", + "consecutiveErrors": 0, + "lastDelivered": true } }, { @@ -144,7 +144,7 @@ "name": "zq_workspace_sync", "enabled": true, "createdAtMs": 1772551807455, - "updatedAtMs": 1778179200010, + "updatedAtMs": 1778265600008, "schedule": { "expr": "40 2 * * *", "kind": "cron", @@ -157,10 +157,10 @@ "text": "执行 zq 工作区同步:bash ~/.openclaw/cron/scripts/zq_workspace_sync.sh" }, "state": { - "nextRunAtMs": 1778265600000, - "lastRunAtMs": 1778179200007, + "nextRunAtMs": 1778352000000, + "lastRunAtMs": 1778265600003, "lastStatus": "skipped", - "lastDurationMs": 3, + "lastDurationMs": 5, "consecutiveErrors": 0, "lastRunStatus": "skipped", "lastDeliveryStatus": "not-requested", @@ -174,7 +174,7 @@ "description": "每天早上8点整理与各个 AI 代理的对话记录", "enabled": true, "createdAtMs": 1772776369645, - "updatedAtMs": 1778198479202, + "updatedAtMs": 1778284817105, "schedule": { "kind": "cron", "expr": "0 8 * * *", @@ -192,11 +192,11 @@ "channel": "last" }, "state": { - "nextRunAtMs": 1778284800000, - "lastRunAtMs": 1778198400010, + "nextRunAtMs": 1778371200000, + "lastRunAtMs": 1778284800007, "lastRunStatus": "ok", "lastStatus": "ok", - "lastDurationMs": 79192, + "lastDurationMs": 17098, "lastDelivered": true, "lastDeliveryStatus": "delivered", "consecutiveErrors": 0 @@ -209,7 +209,7 @@ "description": "每天7点同步提醒到CalDAV日历", "enabled": true, "createdAtMs": 1772791528528, - "updatedAtMs": 1778194881520, + "updatedAtMs": 1778281278100, "schedule": { "kind": "cron", "expr": "0 7 * * *", @@ -227,11 +227,11 @@ "channel": "last" }, "state": { - "nextRunAtMs": 1778281200000, - "lastRunAtMs": 1778194800003, + "nextRunAtMs": 1778367600000, + "lastRunAtMs": 1778281200006, "lastRunStatus": "ok", "lastStatus": "ok", - "lastDurationMs": 81517, + "lastDurationMs": 78094, "lastDeliveryStatus": "delivered", "consecutiveErrors": 0, "lastDelivered": true @@ -350,7 +350,7 @@ "description": "每天早上8点追踪热点新闻并推送", "enabled": true, "createdAtMs": 1774274400000, - "updatedAtMs": 1778198659947, + "updatedAtMs": 1778285017396, "schedule": { "kind": "cron", "expr": "0 8 * * *", @@ -368,13 +368,13 @@ "to": "user:ou_9847ce84b960736c14554730b41e4957" }, "state": { - "nextRunAtMs": 1778284800000, - "lastRunAtMs": 1778198479202, + "nextRunAtMs": 1778371200000, + "lastRunAtMs": 1778284817105, "lastRunStatus": "error", "lastStatus": "error", - "lastDurationMs": 180745, + "lastDurationMs": 200291, "lastDeliveryStatus": "delivered", - "consecutiveErrors": 2, + "consecutiveErrors": 3, "lastDelivered": true, "lastError": "⚠️ ✉️ Message failed" } diff --git a/cron/logs/daily-review.log b/cron/logs/daily-review.log new file mode 100644 index 0000000..272cae8 --- /dev/null +++ b/cron/logs/daily-review.log @@ -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] 没有已完成的任务,跳过 diff --git a/cron/scripts/daily-review.sh b/cron/scripts/daily-review.sh index 562ef9e..4415f6d 100755 --- a/cron/scripts/daily-review.sh +++ b/cron/scripts/daily-review.sh @@ -1,21 +1,22 @@ #!/bin/bash # 每日回顾整理脚本 -# 流程:NAS pull → 整理任务 → Git commit/push → NAS sync +# ~/work/zq 是 rclone mount 挂载点,直接读写即可,禁止 rclone sync +# 无需 git 操作,挂载点会自动同步到 NAS set -e WORK_DIR="/home/starmen1265/work/zq" TODO_FILE="$WORK_DIR/01.待办/TODO.md" 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) YESTERDAY=$(date -d "yesterday" +%Y-%m-%d) REVIEW_FILE="$REVIEW_DIR/$YESTERDAY.md" -# 确保日志目录存在 -mkdir -p "$(dirname "$LOG_FILE")" +# 确保目录存在 mkdir -p "$REVIEW_DIR" +mkdir -p "$(dirname "$LOG_FILE")" log() { echo "[$(date '+%Y-%m-%d %H:%M:%S')] $1" | tee -a "$LOG_FILE" @@ -24,15 +25,11 @@ log() { log "=== 每日回顾整理开始 ===" log "处理日期: $YESTERDAY" -# 切换到工作目录 -cd "$WORK_DIR" - -# 1. 先从 NAS 拉取最新内容 -log "1. 从 NAS 拉取更新..." -rclone sync "nas-webdav:/home/Drive/工作区/张青/工作区/" "$WORK_DIR/" \ - --exclude ".git/" \ - --exclude ".gitignore" \ - --log-level INFO >> "$LOG_FILE" 2>&1 +# 检查 TODO 文件是否存在且可读 +if [ ! -f "$TODO_FILE" ]; then + log "TODO 文件不存在,跳过" + exit 0 +fi # 如果没有已完成的任务,直接退出 if ! grep -q "\[x\]" "$TODO_FILE"; then @@ -40,10 +37,9 @@ if ! grep -q "\[x\]" "$TODO_FILE"; then exit 0 fi -log "2. 发现已完成的任务,开始整理..." +log "1. 发现已完成的任务,开始整理..." # 提取已完成的任务(保留标题结构) -# 读取TODO.md,提取所有包含[x]的行及其所属标题 COMPLETED_TASKS=$(awk ' /^#/ { current_section = $0 } /\[x\]/ { @@ -55,20 +51,16 @@ COMPLETED_TASKS=$(awk ' } ' "$TODO_FILE") -# 如果每日回顾文件不存在,创建它 -if [ ! -f "$REVIEW_FILE" ]; then - touch "$REVIEW_FILE" - log "创建每日回顾文件: $REVIEW_FILE" -fi - -# 将完成的任务追加到每日回顾文件(去掉✅及后面的日期) +# 创建每日回顾文件并写入 +log "2. 写入每日回顾: $REVIEW_FILE" echo "$COMPLETED_TASKS" | sed 's/ ✅ [0-9-]*$//' >> "$REVIEW_FILE" -log "已添加任务到每日回顾" -# 从TODO.md中删除已完成的任务行 -sed -i '/\[x\]/d' "$TODO_FILE" +# 从 TODO.md 中删除已完成的任务行(使用临时文件避免 sed -i 在挂载点的问题) +log "3. 清理 TODO.md 中的已完成任务..." +TEMP_FILE=$(mktemp) +grep -v '\[x\]' "$TODO_FILE" > "$TEMP_FILE" -# 清理TODO.md中的空标题(标题下没有任务的情况) +# 清理空标题段(标题下没有非空行的) awk ' /^#/ { if (section_content != "") { @@ -88,20 +80,13 @@ awk ' print section_content } } -' "$TODO_FILE" > "$TODO_FILE.tmp" && mv "$TODO_FILE.tmp" "$TODO_FILE" +' "$TEMP_FILE" > "$TEMP_FILE.cleaned" -# 3. 提交并推送到 Gitea -log "3. 提交并推送到 Gitea..." -git add "$TODO_FILE" "$REVIEW_FILE" -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 推送失败" +# 原子替换 +cat "$TEMP_FILE.cleaned" > "$TODO_FILE" +rm -f "$TEMP_FILE" "$TEMP_FILE.cleaned" +# 挂载点自动同步,无需 rclone sync 或 git push +log "4. 挂载点自动同步到 NAS,无需手动操作" log "=== 每日回顾整理完成 ===" echo "Daily review completed for $YESTERDAY" diff --git a/tasks/runs.sqlite b/tasks/runs.sqlite index 975c5bd..b882810 100644 Binary files a/tasks/runs.sqlite and b/tasks/runs.sqlite differ diff --git a/tasks/runs.sqlite-shm b/tasks/runs.sqlite-shm index beda4c1..ac3ef38 100644 Binary files a/tasks/runs.sqlite-shm and b/tasks/runs.sqlite-shm differ diff --git a/tasks/runs.sqlite-wal b/tasks/runs.sqlite-wal index cdcfb80..0cc752f 100644 Binary files a/tasks/runs.sqlite-wal and b/tasks/runs.sqlite-wal differ