fix(matrix): scope progress tool status config · openclaw/openclaw@02b9dbd
vincentkoc
·
2026-05-04
·
via Recent Commits to openclaw:main
File tree
extensions/matrix/src/matrix/monitor
| Original file line number | Diff line number | Diff line change |
|---|
@@ -46,6 +46,7 @@ Docs: https://docs.openclaw.ai
|
46 | 46 | |
47 | 47 | ### Fixes |
48 | 48 | |
| 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. |
49 | 50 | - 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. |
50 | 51 | - 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. |
51 | 52 | - Control UI: point the Appearance tweakcn browse action and docs at the live tweakcn editor route instead of the removed `/themes` page. Fixes #77048. |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -483,6 +483,8 @@ describe("monitorMatrixProvider", () => {
|
483 | 483 | [{ mode: "progress" }, "progress", true], |
484 | 484 | [{ mode: "partial", preview: { toolProgress: false } }, "partial", false], |
485 | 485 | [{ mode: "quiet", preview: { toolProgress: false } }, "quiet", false], |
| 486 | +[{ mode: "partial", progress: { toolProgress: false } }, "partial", true], |
| 487 | +[{ mode: "quiet", progress: { toolProgress: false } }, "quiet", true], |
486 | 488 | [{ mode: "progress", progress: { toolProgress: false } }, "progress", false], |
487 | 489 | [ |
488 | 490 | { mode: "progress", progress: { toolProgress: false }, preview: { toolProgress: true } }, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -98,7 +98,10 @@ function resolveMatrixPreviewToolProgress(streaming: MatrixConfig["streaming"]):
|
98 | 98 | if (!isMatrixStreamingConfig(streaming)) { |
99 | 99 | return true; |
100 | 100 | } |
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; |
102 | 105 | } |
103 | 106 | |
104 | 107 | function resolveMatrixPreviewToolProgressEnabled(streaming: MatrixConfig["streaming"]): boolean { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。