From 009ae442a497f2dd8a0ebdf3634ec1f3c0da94f5 Mon Sep 17 00:00:00 2001 From: Shakker Date: Mon, 8 Jun 2026 17:46:23 +0100 Subject: [PATCH] test: refresh cron prompt snapshots --- .../codex-dynamic-tools.discord-group.json | 11 +++++++++-- .../codex-dynamic-tools.heartbeat-turn.json | 11 +++++++++-- .../codex-dynamic-tools.telegram-direct.json | 11 +++++++++-- .../discord-group-codex-message-tool.md | 8 ++++---- .../telegram-direct-codex-message-tool.md | 8 ++++---- .../telegram-heartbeat-codex-tool.md | 8 ++++---- 6 files changed, 39 insertions(+), 18 deletions(-) diff --git a/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.discord-group.json b/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.discord-group.json index 3dded698257c..1afc686e2779 100644 --- a/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.discord-group.json +++ b/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.discord-group.json @@ -642,8 +642,15 @@ "type": "string" }, "model": { - "description": "Model override", - "type": "string" + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Model override, or null to clear" }, "text": { "description": "systemEvent text", diff --git a/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.heartbeat-turn.json b/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.heartbeat-turn.json index dc05dc28be80..bf74a1b41668 100644 --- a/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.heartbeat-turn.json +++ b/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.heartbeat-turn.json @@ -642,8 +642,15 @@ "type": "string" }, "model": { - "description": "Model override", - "type": "string" + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Model override, or null to clear" }, "text": { "description": "systemEvent text", diff --git a/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.telegram-direct.json b/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.telegram-direct.json index 2f9a15c5eb65..3adbba30b4d4 100644 --- a/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.telegram-direct.json +++ b/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.telegram-direct.json @@ -642,8 +642,15 @@ "type": "string" }, "model": { - "description": "Model override", - "type": "string" + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "Model override, or null to clear" }, "text": { "description": "systemEvent text", diff --git a/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/discord-group-codex-message-tool.md b/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/discord-group-codex-message-tool.md index 92af147e921f..9f606f432f20 100644 --- a/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/discord-group-codex-message-tool.md +++ b/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/discord-group-codex-message-tool.md @@ -223,8 +223,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the "roughTokens": 0 }, "dynamicToolsJson": { - "chars": 43943, - "roughTokens": 10986 + "chars": 44140, + "roughTokens": 11035 }, "openClawDeveloperInstructions": { "chars": 2988, @@ -235,8 +235,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the "roughTokens": 6925 }, "totalWithDynamicToolsJson": { - "chars": 71645, - "roughTokens": 17912 + "chars": 71842, + "roughTokens": 17961 }, "userInputText": { "chars": 1629, diff --git a/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/telegram-direct-codex-message-tool.md b/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/telegram-direct-codex-message-tool.md index 90a4a0cdfbf5..84a3e67acaa2 100644 --- a/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/telegram-direct-codex-message-tool.md +++ b/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/telegram-direct-codex-message-tool.md @@ -223,8 +223,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the "roughTokens": 0 }, "dynamicToolsJson": { - "chars": 43664, - "roughTokens": 10916 + "chars": 43861, + "roughTokens": 10966 }, "openClawDeveloperInstructions": { "chars": 1964, @@ -235,8 +235,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the "roughTokens": 6544 }, "totalWithDynamicToolsJson": { - "chars": 69842, - "roughTokens": 17461 + "chars": 70039, + "roughTokens": 17510 }, "userInputText": { "chars": 1129, diff --git a/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/telegram-heartbeat-codex-tool.md b/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/telegram-heartbeat-codex-tool.md index e2dbd0ab43ab..eaf0d9397339 100644 --- a/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/telegram-heartbeat-codex-tool.md +++ b/test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/telegram-heartbeat-codex-tool.md @@ -224,8 +224,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the "roughTokens": 0 }, "dynamicToolsJson": { - "chars": 44759, - "roughTokens": 11190 + "chars": 44956, + "roughTokens": 11239 }, "openClawDeveloperInstructions": { "chars": 1983, @@ -236,8 +236,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the "roughTokens": 6780 }, "totalWithDynamicToolsJson": { - "chars": 71880, - "roughTokens": 17970 + "chars": 72077, + "roughTokens": 18020 }, "userInputText": { "chars": 1367,