mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-23 15:59:32 +00:00
Adds `messages.responseUsage` (precedence session -> channel -> config default -> off) so the persistent /usage footer can default-on, with three distinct states: explicit on (tokens/full), explicit off (persisted), and unset (inherit the configured default). Unifies effective-value resolution behind a single channel-aware resolver `resolveEffectiveResponseUsage` used by reply rendering, the no-arg /usage toggle, the ACP control, and the gateway session-row builder; the row builder's `effectiveResponseUsage` is carried through sessions.changed events, chat snapshots, and the UI row so live consumers never go stale. `/usage reset` (aliases inherit/clear/default) clears the override to inherit; only explicit off persists; a full session reset preserves the preference. ACP "Usage detail" gains an "inherit" option for unset sessions. Docs/help/completions updated; "on" documented as a legacy alias; config-doc baseline regenerated. |
||
|---|---|---|
| .. | ||
| acp-agents-setup.md | ||
| acp-agents.md | ||
| agent-send.md | ||
| apply-patch.md | ||
| brave-search.md | ||
| browser-control.md | ||
| browser-linux-troubleshooting.md | ||
| browser-login.md | ||
| browser-wsl2-windows-remote-cdp-troubleshooting.md | ||
| browser.md | ||
| btw.md | ||
| capability-cookbook.md | ||
| clawhub.md | ||
| code-execution.md | ||
| creating-skills.md | ||
| diffs.md | ||
| duckduckgo-search.md | ||
| elevated.md | ||
| exa-search.md | ||
| exec-approvals-advanced.md | ||
| exec-approvals.md | ||
| exec.md | ||
| firecrawl.md | ||
| gemini-search.md | ||
| goal.md | ||
| grok-search.md | ||
| image-generation.md | ||
| index.md | ||
| kimi-search.md | ||
| llm-task.md | ||
| lobster.md | ||
| loop-detection.md | ||
| media-overview.md | ||
| minimax-search.md | ||
| multi-agent-sandbox-tools.md | ||
| music-generation.md | ||
| ollama-search.md | ||
| parallel-search.md | ||
| pdf.md | ||
| permission-modes.md | ||
| perplexity-search.md | ||
| plugin.md | ||
| reactions.md | ||
| searxng-search.md | ||
| skill-workshop.md | ||
| skills-config.md | ||
| skills.md | ||
| slash-commands.md | ||
| steer.md | ||
| subagents.md | ||
| tavily.md | ||
| thinking.md | ||
| tokenjuice.md | ||
| tool-search.md | ||
| trajectory.md | ||
| tts.md | ||
| video-generation.md | ||
| web-fetch.md | ||
| web.md | ||