mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 17:53:39 +00:00
## What Problem This Solves Repeated process polls crowded out useful progress. This larger change replaces separate channel and client decisions with shared activity preparation. ## Why This Change Was Made This presentation state has one writer. Channels, web, terminal and native clients consume prepared facts; raw tool output remains available under details. ## User Impact Routine polls stay quiet. Failures and approvals remain visible. Unmatched historical calls show an unknown outcome, not a permanent spinner. ## Evidence - Real Telegram: repeated rows before; nine quiet polls, commentary, correct final result and draft cleanup after. - Deliberate exit 2 remains visible without changing raw execution fields. - Package build, focused channel/history/web/terminal tests and core/UI types pass. - The same unchanged plugin compiles and runs against the released and candidate packages. - Browser red/green: expanded item-only failures, blocked calls and unknown outcomes keep their prepared status live and after reload; 420 focused UI tests pass. Raw results remain unchanged. - Reconnect testing includes main's fix in #151567 for the observed route loop. - The maintainer explicitly waived native before/after screenshots and manual native UI verification for this PR. Hosted native tests remain required; device UI behavior is not claimed. | Before | After | | --- | --- | |  |  |  Web expanded tool details (actual browser, cropped): | Before: false completion | After: preserved outcome | | --- | --- | |  |  | ## Compatibility Optional chat/task history activity; no protocol-version, user-config, store or migration change. Released plugin callbacks remain functional. Updated bundled adapters opt into prepared items. The shared SDK exports and two updated Slack progress snapshots are approved. ## Consumers Channels, web, terminal and native adapters share the prepared facts. ## Invalidation Existing run ownership, final-delivery fences and history refresh rules remain. ## Tests Failure, approval, privacy, history, plugin-upgrade and authority regressions remain. File-size repairs move existing tests without removing their assertions. Co-authored-by: Ayaan Zaidi <hi@obviy.us> |
||
|---|---|---|
| .. | ||
| packed-plugin-sdk-progress-consumer.ts | ||
| packed-plugin-sdk-setup-consumer.ts | ||
| packed-plugin-sdk-type-smoke.ts | ||