openclaw/packages
Peter Steinberger aff6d079d3
fix(agents): add typed tool progress updates
Add a general typed tool-progress contract so long-running non-exec tools can emit public channel progress without overloading model-facing tool content.

`web_fetch` now uses the generic delayed progress helper: it shows `Fetching page content...` only when the fetch is still pending after five seconds, clears the timer on completion/abort, passes the abort signal into guarded fetch, and avoids provider fallback or cached success after cancellation. The subscriber path accepts only explicit `visibility: "channel"` and `privacy: "public"` progress metadata, while untyped tool partials and exec output keep their existing behavior.

Docs now explain typed progress, delayed producer examples, and the `web_fetch` timing behavior.

Proof: `pnpm test src/agents/tools/web-tools.fetch.test.ts src/agents/embedded-agent-subscribe.handlers.tools.test.ts -- --run`; `pnpm docs:check-mdx`; changed-file `pnpm exec oxlint ...`; `git diff --check`; autoreview clean.
2026-05-29 11:06:13 +01:00
..
agent-core fix(agents): add typed tool progress updates 2026-05-29 11:06:13 +01:00
gateway-client refactor(gateway): centralize handshake timeout parsing 2026-05-29 05:56:21 -04:00
gateway-protocol refactor(voice): catalog voice models through providers (#87794) 2026-05-29 04:46:45 +01:00
memory-host-sdk fix(memory): bound remote JSON responses 2026-05-29 09:45:39 +02:00
net-policy refactor: extract net policy package 2026-05-29 09:45:14 +01:00
plugin-package-contract fix(plugins): require npm package compatibility metadata 2026-05-16 03:08:42 +08:00
plugin-sdk refactor: add gateway method dispatch contract 2026-05-15 11:44:58 +01:00
sdk refactor: extract net policy package 2026-05-29 09:45:14 +01:00
speech-core refactor(voice): catalog voice models through providers (#87794) 2026-05-29 04:46:45 +01:00