openclaw/docs
Peter Steinberger cf4cb0ac85
feat(agents): report per-run stats (code-mode engagement, round trips, cost) in agent JSON envelopes (#114688)
* feat(agents): add per-run stats to embedded agent run meta

Adds codeModeEngaged, assistantTurns, bridgeCalls, and costUsd to
EmbeddedAgentRunMeta.agentMeta and mirrors them on the agent exec --json
envelope. Code-mode engagement is stamped from the tool-surface truth,
round trips accumulate across attempts beside usage, bridge counts come
from the run's tool-search catalog counters, and cost reuses the shared
model pricing helpers (cache tiers included, omitted without cost data).

* fix(agents): accumulate bridge call counts across run attempts

Attempt cleanup clears the per-attempt tool-search catalog, so retries and
fallbacks discarded earlier bridge counts. Fold each attempt's bridgeCalls
into the run accumulator beside assistantTurns and stamp the cumulative
totals into agentMeta, matching the documented per-run contract.
2026-07-27 23:48:01 -04:00
..
.generated chore(plugin-sdk): refresh API baseline 2026-07-27 22:40:32 -05:00
.i18n refactor(agents): retire TOOLS.md into an AGENTS.md section with a doctor migration (#113966) 2026-07-27 03:56:30 -04:00
announcements
assets
automation refactor(agents): retire TOOLS.md into an AGENTS.md section with a doctor migration (#113966) 2026-07-27 03:56:30 -04:00
channels refactor(extensions): remove orphaned shadow trial and retired config aliases (#114709) 2026-07-27 17:12:41 -04:00
clawhub feat(skills): support external skills.sh references (#112751) 2026-07-25 08:24:34 -05:00
cli feat(agents): report per-run stats (code-mode engagement, round trips, cost) in agent JSON envelopes (#114688) 2026-07-27 23:48:01 -04:00
concepts refactor(sessions): remove file-era transcript runtime (#113233) 2026-07-27 22:33:24 -04:00
debug chore(scripts): remove resolved investigation tools and orphans (#113532) 2026-07-25 02:47:40 -07:00
diagnostics docs: retire config keys that strict validation rejects (#113956) 2026-07-25 18:24:02 -07:00
gateway refactor(sessions): remove file-era transcript runtime (#113233) 2026-07-27 22:33:24 -04:00
help chore(docs): audit external links without gating PRs (#114643) 2026-07-27 14:02:09 -04:00
images
install docs(install): recommend Node 26 as the OpenClaw runtime (#114399) 2026-07-27 04:32:21 -04:00
maturity fix(docs): preserve canonical maturity product labels 2026-07-17 09:44:52 -04:00
nodes fix: recheck voice confirmation after tool rewrites (#114721) 2026-07-27 16:10:54 -04:00
plan refactor(sessions): collapse legacy JSON store (#113075) 2026-07-23 09:36:48 -07:00
platforms refactor(infra): move exec approvals into the shared SQLite state DB (#114063) 2026-07-26 06:39:23 -04:00
plugins docs: add Buzz to generated plugin inventory (#114875) 2026-07-27 22:59:32 -04:00
providers docs(github-copilot): update runtime auth contract 2026-07-27 22:40:32 -05:00
refactor refactor(infra): move exec approvals into the shared SQLite state DB (#114063) 2026-07-26 06:39:23 -04:00
reference refactor(sessions): remove file-era transcript runtime (#113233) 2026-07-27 22:33:24 -04:00
releases chore(docs): audit external links without gating PRs (#114643) 2026-07-27 14:02:09 -04:00
security chore(docs): audit external links without gating PRs (#114643) 2026-07-27 14:02:09 -04:00
snippets/plugin-publish
specs improve: stream native sessions as hosts finish (#110211) 2026-07-17 23:59:57 +01:00
start chore(docs): harden external link audit results (#114746) 2026-07-27 17:37:02 -04:00
tools feat(agents): report per-run stats (code-mode engagement, round trips, cost) in agent JSON envelopes (#114688) 2026-07-27 23:48:01 -04:00
web fix(tui): harden terminal sessions, streaming, and input (#114816) 2026-07-27 20:54:26 -04:00
agent-runtime-architecture.md refactor: own model discovery by runtime lifecycle (#111173) 2026-07-19 05:30:54 -07:00
AGENTS.md
auth-credential-semantics.md
brave-search.md
ci.md fix(ci): verify stale bugs before closure (#114365) 2026-07-27 02:25:15 -04:00
CLAUDE.md
date-time.md
docs.json feat(plugins): beam local coding sessions into a read-only catalog (#112323) 2026-07-27 15:37:36 -04:00
docs_map.md docs: add Buzz to generated plugin inventory (#114875) 2026-07-27 22:59:32 -04:00
index.md docs: attribute published packages and docs home to the OpenClaw Foundation (#112633) 2026-07-22 03:48:02 -07:00
logging.md docs: retire config keys that strict validation rejects (#113956) 2026-07-25 18:24:02 -07:00
nav-tabs-underline.js
network.md
openclaw-agent-runtime.md
perplexity.md
prose.md
style.css fix(docs): expose generated taxonomy links 2026-07-15 07:28:58 -04:00
tts.md
vps.md
whatsapp-openclaw.jpg