Skip to content

Commit 02b9dbd

Browse files
committed
fix(matrix): scope progress tool status config
1 parent 12af95a commit 02b9dbd

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Docs: https://docs.openclaw.ai
4646

4747
### Fixes
4848

49+
- Matrix: keep `streaming.progress.toolProgress` scoped to progress draft mode, so partial and quiet Matrix previews do not lose tool progress unless `streaming.preview.toolProgress` is disabled. Thanks @vincentkoc.
4950
- Channels/streaming: keep `streaming.progress.toolProgress` scoped to progress draft mode, so disabling compact progress lines does not silence partial/block preview tool updates. Thanks @vincentkoc.
5051
- Plugins/update: treat OpenClaw stable correction versions like `2026.5.3-1` as stable releases for npm installs, plugin updates, and bundled-version comparisons, so `latest` can advance official plugins without prerelease opt-in. Thanks @vincentkoc.
5152
- Control UI: point the Appearance tweakcn browse action and docs at the live tweakcn editor route instead of the removed `/themes` page. Fixes #77048.

‎extensions/matrix/src/matrix/monitor/index.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,8 @@ describe("monitorMatrixProvider", () => {
483483
[{ mode: "progress" }, "progress", true],
484484
[{ mode: "partial", preview: { toolProgress: false } }, "partial", false],
485485
[{ mode: "quiet", preview: { toolProgress: false } }, "quiet", false],
486+
[{ mode: "partial", progress: { toolProgress: false } }, "partial", true],
487+
[{ mode: "quiet", progress: { toolProgress: false } }, "quiet", true],
486488
[{ mode: "progress", progress: { toolProgress: false } }, "progress", false],
487489
[
488490
{ mode: "progress", progress: { toolProgress: false }, preview: { toolProgress: true } },

‎extensions/matrix/src/matrix/monitor/index.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ function resolveMatrixPreviewToolProgress(streaming: MatrixConfig["streaming"]):
9898
if (!isMatrixStreamingConfig(streaming)) {
9999
return true;
100100
}
101-
return streaming.progress?.toolProgress ?? streaming.preview?.toolProgress ?? true;
101+
if (resolveMatrixStreamingMode(streaming) === "progress") {
102+
return streaming.progress?.toolProgress ?? streaming.preview?.toolProgress ?? true;
103+
}
104+
return streaming.preview?.toolProgress ?? true;
102105
}
103106

104107
function resolveMatrixPreviewToolProgressEnabled(streaming: MatrixConfig["streaming"]): boolean {

0 commit comments

Comments
 (0)