openclaw/docs/reference
Peter Steinberger b39e1cf66f
perf(agents): drain code-mode bridge calls inline within one exec turn (#109290)
Code mode previously suspended to the model with a waiting result for every
awaited tools.search/describe/call, forcing one wait tool turn per await
(turns = tool calls + 1). Bridge calls now resolve inline within the exec
deadline and resume the QuickJS snapshot host-side, matching the namespace
auto-drain path. Restart-safe runs keep their existing no-drain semantics.
Live proof across OpenAI/Anthropic/Google: ~45% fewer turns and ~45% fewer
input tokens at equal success rate.

Also landed with the same contract:
- one shared wall-clock deadline per exec/wait call (initial worker, inline
  drain rounds, and resumed guest interrupt budget all share it)
- park the snapshot instead of resuming when the remaining budget could not
  survive VM restore, so near-deadline settles stay recoverable
- abort now terminates the guest worker, skips resume, and drops suspended
  runs instead of pinning process-global slots until TTL, reported with the
  existing aborted failure code
- exec description omits API.list/MCP/namespace guidance when the run catalog
  has no MCP tools or namespaces, so models stop probing an empty surface
- API.list tolerates a trailing-slash prefix like API.list("mcp/")
2026-07-16 13:30:07 -07:00
..
templates docs: rewrite published docs grounded in current source (#100142) 2026-07-05 00:32:47 -04:00
AGENTS.default.md docs: rewrite published docs grounded in current source (#100142) 2026-07-05 00:32:47 -04:00
api-usage-costs.md feat(ui): add comparative cost analysis (#100432) 2026-07-05 23:58:40 +01:00
code-mode.md perf(agents): drain code-mode bridge calls inline within one exec turn (#109290) 2026-07-16 13:30:07 -07:00
credits.md docs: rewrite published docs grounded in current source (#100142) 2026-07-05 00:32:47 -04:00
device-models.md docs: rewrite published docs grounded in current source (#100142) 2026-07-05 00:32:47 -04:00
full-release-validation.md chore: gate releases on Codex progress follow-through (#108828) 2026-07-16 09:01:00 -07:00
memory-config.md fix(memory): respect QMD timeout for memory_search (#95757) 2026-07-13 00:05:13 -07:00
openclaw-ai.md refactor: extract reusable AI runtime package (#99059) 2026-07-05 01:56:40 -04:00
path3-live-sqlite-e2e-harness.md refactor: flip sessions and transcripts to sqlite storage (#98236) 2026-07-11 14:50:37 -07:00
prompt-caching.md fix(agents): validate cacheRetention values (#94494) 2026-07-14 12:37:55 -07:00
release-performance-sweep.md docs: rewrite published docs grounded in current source (#100142) 2026-07-05 00:32:47 -04:00
RELEASING.md ci(qa): reuse Matrix live workflow for releases (#103604) 2026-07-15 01:48:59 -07:00
rich-output-protocol.md docs: rewrite published docs grounded in current source (#100142) 2026-07-05 00:32:47 -04:00
rpc.md docs: rewrite published docs grounded in current source (#100142) 2026-07-05 00:32:47 -04:00
secret-placeholder-conventions.md docs: rewrite published docs grounded in current source (#100142) 2026-07-05 00:32:47 -04:00
secretref-credential-surface.md docs: sync ClickClack secret credential registry (#108271) 2026-07-15 13:05:10 +01:00
secretref-user-supplied-credentials-matrix.json docs: sync ClickClack secret credential registry (#108271) 2026-07-15 13:05:10 +01:00
session-management-compaction.md refactor(cron): retire cron_run_logs; ledger-owned retention and cancellation 2026-07-13 11:41:27 -07:00
test.md fix: avoid remote boxes for focused validation (#107166) 2026-07-14 00:53:17 -07:00
token-use.md docs: rewrite published docs grounded in current source (#100142) 2026-07-05 00:32:47 -04:00
transcript-hygiene.md docs: rewrite published docs grounded in current source (#100142) 2026-07-05 00:32:47 -04:00
wizard.md fix(sqlite): reject runtimes vulnerable to WAL corruption (#106065) 2026-07-13 13:59:00 +08:00