fix(matrix): scope progress tool status config

This commit is contained in:
Vincent Koc
2026-05-03 20:57:08 -07:00
parent 12af95a55e
commit 02b9dbde39
3 changed files with 7 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ Docs: https://docs.openclaw.ai
### Fixes
- 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.
- 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.
- 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.
- Control UI: point the Appearance tweakcn browse action and docs at the live tweakcn editor route instead of the removed `/themes` page. Fixes #77048.

View File

@@ -483,6 +483,8 @@ describe("monitorMatrixProvider", () => {
[{ mode: "progress" }, "progress", true],
[{ mode: "partial", preview: { toolProgress: false } }, "partial", false],
[{ mode: "quiet", preview: { toolProgress: false } }, "quiet", false],
[{ mode: "partial", progress: { toolProgress: false } }, "partial", true],
[{ mode: "quiet", progress: { toolProgress: false } }, "quiet", true],
[{ mode: "progress", progress: { toolProgress: false } }, "progress", false],
[
{ mode: "progress", progress: { toolProgress: false }, preview: { toolProgress: true } },

View File

@@ -98,7 +98,10 @@ function resolveMatrixPreviewToolProgress(streaming: MatrixConfig["streaming"]):
if (!isMatrixStreamingConfig(streaming)) {
return true;
}
return streaming.progress?.toolProgress ?? streaming.preview?.toolProgress ?? true;
if (resolveMatrixStreamingMode(streaming) === "progress") {
return streaming.progress?.toolProgress ?? streaming.preview?.toolProgress ?? true;
}
return streaming.preview?.toolProgress ?? true;
}
function resolveMatrixPreviewToolProgressEnabled(streaming: MatrixConfig["streaming"]): boolean {