Skip to content

Commit a4498e8

Browse files
committed
test: refresh telegram prompt snapshots
1 parent f117546 commit a4498e8

4 files changed

Lines changed: 20 additions & 12 deletions

File tree

test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.heartbeat-turn.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@
957957
},
958958
{
959959
"deferLoading": true,
960-
"description": "Spawn a clean isolated session by default with the native subagent runtime. `mode=\"run\"` is one-shot background work. Subagents inherit the parent workspace directory automatically. Native subagents receive the delegated task in their first visible `[Subagent Task]` message. For native subagents only, set `context=\"fork\"` when the child needs the current transcript context; otherwise omit it or use `context=\"isolated\"`. Use this when the work should happen in a fresh child session instead of the current one.",
960+
"description": "Spawn a clean isolated session by default with the native subagent runtime. `mode=\"run\"` is one-shot and `mode=\"session\"` is persistent and thread-bound. Subagents inherit the parent workspace directory automatically. Native subagents receive the delegated task in their first visible `[Subagent Task]` message. For native subagents only, set `context=\"fork\"` when the child needs the current transcript context; otherwise omit it or use `context=\"isolated\"`. Use this when the work should happen in a fresh child session instead of the current one.",
961961
"inputSchema": {
962962
"properties": {
963963
"agentId": {
@@ -1014,7 +1014,7 @@
10141014
"type": "boolean"
10151015
},
10161016
"mode": {
1017-
"enum": ["run"],
1017+
"enum": ["run", "session"],
10181018
"type": "string"
10191019
},
10201020
"model": {
@@ -1042,6 +1042,10 @@
10421042
"thinking": {
10431043
"type": "string"
10441044
},
1045+
"thread": {
1046+
"description": "Bind the spawned session to a new chat thread when the current channel/account supports thread-bound session spawns. `thread=true` defaults mode to \"session\".",
1047+
"type": "boolean"
1048+
},
10451049
"timeoutSeconds": {
10461050
"minimum": 0,
10471051
"type": "number"

test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/codex-dynamic-tools.telegram-direct.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@
921921
},
922922
{
923923
"deferLoading": true,
924-
"description": "Spawn a clean isolated session by default with the native subagent runtime. `mode=\"run\"` is one-shot background work. Subagents inherit the parent workspace directory automatically. Native subagents receive the delegated task in their first visible `[Subagent Task]` message. For native subagents only, set `context=\"fork\"` when the child needs the current transcript context; otherwise omit it or use `context=\"isolated\"`. Use this when the work should happen in a fresh child session instead of the current one.",
924+
"description": "Spawn a clean isolated session by default with the native subagent runtime. `mode=\"run\"` is one-shot and `mode=\"session\"` is persistent and thread-bound. Subagents inherit the parent workspace directory automatically. Native subagents receive the delegated task in their first visible `[Subagent Task]` message. For native subagents only, set `context=\"fork\"` when the child needs the current transcript context; otherwise omit it or use `context=\"isolated\"`. Use this when the work should happen in a fresh child session instead of the current one.",
925925
"inputSchema": {
926926
"properties": {
927927
"agentId": {
@@ -978,7 +978,7 @@
978978
"type": "boolean"
979979
},
980980
"mode": {
981-
"enum": ["run"],
981+
"enum": ["run", "session"],
982982
"type": "string"
983983
},
984984
"model": {
@@ -1006,6 +1006,10 @@
10061006
"thinking": {
10071007
"type": "string"
10081008
},
1009+
"thread": {
1010+
"description": "Bind the spawned session to a new chat thread when the current channel/account supports thread-bound session spawns. `thread=true` defaults mode to \"session\".",
1011+
"type": "boolean"
1012+
},
10091013
"timeoutSeconds": {
10101014
"minimum": 0,
10111015
"type": "number"

test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/telegram-direct-codex-message-tool.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the
217217
"roughTokens": 140
218218
},
219219
"dynamicToolsJson": {
220-
"chars": 42879,
221-
"roughTokens": 10720
220+
"chars": 43188,
221+
"roughTokens": 10797
222222
},
223223
"openClawDeveloperInstructions": {
224224
"chars": 4412,
@@ -229,8 +229,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the
229229
"roughTokens": 6748
230230
},
231231
"totalWithDynamicToolsJson": {
232-
"chars": 69873,
233-
"roughTokens": 17469
232+
"chars": 70182,
233+
"roughTokens": 17546
234234
},
235235
"userInputText": {
236236
"chars": 370,

test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/telegram-heartbeat-codex-tool.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the
218218
"roughTokens": 140
219219
},
220220
"dynamicToolsJson": {
221-
"chars": 44057,
222-
"roughTokens": 11015
221+
"chars": 44366,
222+
"roughTokens": 11092
223223
},
224224
"openClawDeveloperInstructions": {
225225
"chars": 4412,
@@ -230,8 +230,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the
230230
"roughTokens": 7155
231231
},
232232
"totalWithDynamicToolsJson": {
233-
"chars": 72678,
234-
"roughTokens": 18170
233+
"chars": 72987,
234+
"roughTokens": 18247
235235
},
236236
"userInputText": {
237237
"chars": 608,

0 commit comments

Comments
 (0)