惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

A
About on SuperTechFans
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 司徒正美
宝玉的分享
宝玉的分享
美团技术团队
量子位
The Cloudflare Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
IT之家
IT之家
爱范儿
爱范儿
J
Java Code Geeks
博客园 - Franky
Last Week in AI
Last Week in AI
B
Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
InfoQ
GbyAI
GbyAI
Recent Announcements
Recent Announcements
小众软件
小众软件
H
Help Net Security
Microsoft Azure Blog
Microsoft Azure Blog
MyScale Blog
MyScale Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
test: align cron schema description assertions · openclaw...
steipete · 2026-05-17 · via Recent Commits to openclaw:main

File tree

  • src/agents/tools

  • test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path

Original file line numberDiff line numberDiff line change

@@ -78,8 +78,8 @@ describe("CronToolSchema", () => {

7878

const jobStagger = propertyAt(schemaRecord, "job.schedule.staggerMs");

7979

const patchStagger = propertyAt(schemaRecord, "patch.schedule.staggerMs");

8080
81-

expect(jobStagger?.description).toBe("Random jitter in ms (kind=cron)");

82-

expect(patchStagger?.description).toBe("Random jitter in ms (kind=cron)");

81+

expect(jobStagger?.description).toBe("Jitter ms (kind=cron)");

82+

expect(patchStagger?.description).toBe("Jitter ms (kind=cron)");

8383

});

8484
8585

it("describes cron expressions as local wall-clock time in the supplied timezone", () => {

Original file line numberDiff line numberDiff line change

@@ -164,13 +164,13 @@ const CronScheduleSchema = Type.Optional(

164164

expr: Type.Optional(

165165

Type.String({

166166

description:

167-

'Cron expr in tz local time; no UTC conversion. Example 6pm Shanghai daily: expr "0 18 * * *", tz "Asia/Shanghai".',

167+

'Cron expr in tz wall-clock time; do not convert to UTC. Omitted tz => Gateway host local timezone. Example 6pm Shanghai daily: expr "0 18 * * *", tz "Asia/Shanghai".',

168168

}),

169169

),

170170

tz: Type.Optional(

171171

Type.String({

172172

description:

173-

'IANA tz for cron fields, e.g. "Asia/Shanghai"; omitted => Gateway host local tz.',

173+

'IANA timezone for cron wall-clock fields, e.g. "Asia/Shanghai"; omitted => Gateway host local timezone.',

174174

}),

175175

),

176176

staggerMs: Type.Optional(Type.Number({ description: "Jitter ms (kind=cron)" })),

Original file line numberDiff line numberDiff line change

@@ -344,7 +344,7 @@

344344

"type": "number"

345345

},

346346

"expr": {

347-

"description": "Cron expr in tz local time; no UTC conversion. Example 6pm Shanghai daily: expr \"0 18 * * *\", tz \"Asia/Shanghai\".",

347+

"description": "Cron expr in tz wall-clock time; do not convert to UTC. Omitted tz => Gateway host local timezone. Example 6pm Shanghai daily: expr \"0 18 * * *\", tz \"Asia/Shanghai\".",

348348

"type": "string"

349349

},

350350

"kind": {

@@ -357,7 +357,7 @@

357357

"type": "number"

358358

},

359359

"tz": {

360-

"description": "IANA tz for cron fields, e.g. \"Asia/Shanghai\"; omitted => Gateway host local tz.",

360+

"description": "IANA timezone for cron wall-clock fields, e.g. \"Asia/Shanghai\"; omitted => Gateway host local timezone.",

361361

"type": "string"

362362

}

363363

},

@@ -562,7 +562,7 @@

562562

"type": "number"

563563

},

564564

"expr": {

565-

"description": "Cron expr in tz local time; no UTC conversion. Example 6pm Shanghai daily: expr \"0 18 * * *\", tz \"Asia/Shanghai\".",

565+

"description": "Cron expr in tz wall-clock time; do not convert to UTC. Omitted tz => Gateway host local timezone. Example 6pm Shanghai daily: expr \"0 18 * * *\", tz \"Asia/Shanghai\".",

566566

"type": "string"

567567

},

568568

"kind": {

@@ -575,7 +575,7 @@

575575

"type": "number"

576576

},

577577

"tz": {

578-

"description": "IANA tz for cron fields, e.g. \"Asia/Shanghai\"; omitted => Gateway host local tz.",

578+

"description": "IANA timezone for cron wall-clock fields, e.g. \"Asia/Shanghai\"; omitted => Gateway host local timezone.",

579579

"type": "string"

580580

}

581581

},

Original file line numberDiff line numberDiff line change

@@ -344,7 +344,7 @@

344344

"type": "number"

345345

},

346346

"expr": {

347-

"description": "Cron expr in tz local time; no UTC conversion. Example 6pm Shanghai daily: expr \"0 18 * * *\", tz \"Asia/Shanghai\".",

347+

"description": "Cron expr in tz wall-clock time; do not convert to UTC. Omitted tz => Gateway host local timezone. Example 6pm Shanghai daily: expr \"0 18 * * *\", tz \"Asia/Shanghai\".",

348348

"type": "string"

349349

},

350350

"kind": {

@@ -357,7 +357,7 @@

357357

"type": "number"

358358

},

359359

"tz": {

360-

"description": "IANA tz for cron fields, e.g. \"Asia/Shanghai\"; omitted => Gateway host local tz.",

360+

"description": "IANA timezone for cron wall-clock fields, e.g. \"Asia/Shanghai\"; omitted => Gateway host local timezone.",

361361

"type": "string"

362362

}

363363

},

@@ -562,7 +562,7 @@

562562

"type": "number"

563563

},

564564

"expr": {

565-

"description": "Cron expr in tz local time; no UTC conversion. Example 6pm Shanghai daily: expr \"0 18 * * *\", tz \"Asia/Shanghai\".",

565+

"description": "Cron expr in tz wall-clock time; do not convert to UTC. Omitted tz => Gateway host local timezone. Example 6pm Shanghai daily: expr \"0 18 * * *\", tz \"Asia/Shanghai\".",

566566

"type": "string"

567567

},

568568

"kind": {

@@ -575,7 +575,7 @@

575575

"type": "number"

576576

},

577577

"tz": {

578-

"description": "IANA tz for cron fields, e.g. \"Asia/Shanghai\"; omitted => Gateway host local tz.",

578+

"description": "IANA timezone for cron wall-clock fields, e.g. \"Asia/Shanghai\"; omitted => Gateway host local timezone.",

579579

"type": "string"

580580

}

581581

},

Original file line numberDiff line numberDiff line change

@@ -344,7 +344,7 @@

344344

"type": "number"

345345

},

346346

"expr": {

347-

"description": "Cron expr in tz local time; no UTC conversion. Example 6pm Shanghai daily: expr \"0 18 * * *\", tz \"Asia/Shanghai\".",

347+

"description": "Cron expr in tz wall-clock time; do not convert to UTC. Omitted tz => Gateway host local timezone. Example 6pm Shanghai daily: expr \"0 18 * * *\", tz \"Asia/Shanghai\".",

348348

"type": "string"

349349

},

350350

"kind": {

@@ -357,7 +357,7 @@

357357

"type": "number"

358358

},

359359

"tz": {

360-

"description": "IANA tz for cron fields, e.g. \"Asia/Shanghai\"; omitted => Gateway host local tz.",

360+

"description": "IANA timezone for cron wall-clock fields, e.g. \"Asia/Shanghai\"; omitted => Gateway host local timezone.",

361361

"type": "string"

362362

}

363363

},

@@ -562,7 +562,7 @@

562562

"type": "number"

563563

},

564564

"expr": {

565-

"description": "Cron expr in tz local time; no UTC conversion. Example 6pm Shanghai daily: expr \"0 18 * * *\", tz \"Asia/Shanghai\".",

565+

"description": "Cron expr in tz wall-clock time; do not convert to UTC. Omitted tz => Gateway host local timezone. Example 6pm Shanghai daily: expr \"0 18 * * *\", tz \"Asia/Shanghai\".",

566566

"type": "string"

567567

},

568568

"kind": {

@@ -575,7 +575,7 @@

575575

"type": "number"

576576

},

577577

"tz": {

578-

"description": "IANA tz for cron fields, e.g. \"Asia/Shanghai\"; omitted => Gateway host local tz.",

578+

"description": "IANA timezone for cron wall-clock fields, e.g. \"Asia/Shanghai\"; omitted => Gateway host local timezone.",

579579

"type": "string"

580580

}

581581

},

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": 40291,

221-

"roughTokens": 10073

220+

"chars": 40441,

221+

"roughTokens": 10111

222222

},

223223

"openClawDeveloperInstructions": {

224224

"chars": 5436,

@@ -229,8 +229,8 @@ This is the deterministic model-bound layer stack OpenClaw can snapshot for the

229229

"roughTokens": 7129

230230

},

231231

"totalWithDynamicToolsJson": {

232-

"chars": 68809,

233-

"roughTokens": 17203

232+

"chars": 68959,

233+

"roughTokens": 17240

234234

},

235235

"userInputText": {

236236

"chars": 870,

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": 40066,

221-

"roughTokens": 10017

220+

"chars": 40216,

221+

"roughTokens": 10054

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": 67060,

233-

"roughTokens": 16765

232+

"chars": 67210,

233+

"roughTokens": 16803

234234

},

235235

"userInputText": {

236236

"chars": 370,

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": 41161,

222-

"roughTokens": 10291

221+

"chars": 41311,

222+

"roughTokens": 10328

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": 69782,

234-

"roughTokens": 17446

233+

"chars": 69932,

234+

"roughTokens": 17483

235235

},

236236

"userInputText": {

237237

"chars": 608,