mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:10:45 +00:00
fix(matrix): scope progress tool status config
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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 } },
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user