惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
M
MIT News - Artificial intelligence
D
Docker
量子位
T
Tailwind CSS Blog
人人都是产品经理
人人都是产品经理
月光博客
月光博客
有赞技术团队
有赞技术团队
J
Java Code Geeks
A
About on SuperTechFans
P
Proofpoint News Feed
Jina AI
Jina AI
Y
Y Combinator Blog
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
V
V2EX
GbyAI
GbyAI
F
Fortinet All Blogs

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(channels): expose progress draft config hints · openc...
vincentkoc · 2026-05-04 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -30,6 +30,7 @@ Docs: https://docs.openclaw.ai

3030
3131

### Fixes

3232
33+

- Channels/streaming: expose `streaming.progress.label`, `labels`, `maxLines`, and `toolProgress` in bundled channel config metadata so progress draft settings appear in config, docs, and control surfaces. Thanks @vincentkoc.

3334

- Channels/streaming: normalize whitespace and case for `streaming.progress.label: "auto"` so progress draft labels keep using the built-in label pool instead of rendering a literal `auto` title. Thanks @vincentkoc.

3435

- Gateway/install: prefer supported system Node over nvm/fnm/volta/asdf/mise when regenerating managed gateway services, so `gateway install --force` no longer recreates service definitions that doctor immediately flags as version-manager-backed. Fixes #76339. Thanks @brokemac79.

3536

- Gateway/usage: serve `usage.cost` and `sessions.usage` from a durable transcript aggregate cache with lock-safe background refreshes and localized stale-cache status, so large usage views avoid repeated full scans. (#76650) Thanks @Marvinthebored.

Original file line numberDiff line numberDiff line change

@@ -1,4 +1,4 @@

1-

c165172059698df0d806ee9861b9ba1433c2055935bbf81497437897bfcc4e6f config-baseline.json

1+

b4cce06ca8c16774e277551ba027591289762ed9cf2490c993fec2051ac19c61 config-baseline.json

22

bfb7ade43e58c630d0480eaa215ef22bf0d5030136c3e24cdd2c2a4c73d1b663 config-baseline.core.json

3-

f0e77e90432c987c27143194f70df649bac7595e78613b3708366ff32401369f config-baseline.channel.json

3+

7b207901b595ad527026b1f357f63a5cd33123a72eeb66bdac24a8f2e8bb1ac8 config-baseline.channel.json

44

055fae0d0067a751dc10125af7421da45633f73519c94c982d02b0c4eb2bdf67 config-baseline.plugin.json

Original file line numberDiff line numberDiff line change

@@ -65,6 +65,22 @@ export const discordChannelConfigUiHints = {

6565

label: "Discord Draft Tool Progress",

6666

help: "Show tool/progress activity in the live draft preview message (default: true). Set false to keep tool updates as separate messages.",

6767

},

68+

"streaming.progress.label": {

69+

label: "Discord Progress Label",

70+

help: 'Initial progress draft title. Use "auto" for built-in single-word labels, a custom string, or false to hide the title.',

71+

},

72+

"streaming.progress.labels": {

73+

label: "Discord Progress Label Pool",

74+

help: 'Candidate labels for streaming.progress.label="auto". Leave unset to use OpenClaw built-in progress labels.',

75+

},

76+

"streaming.progress.maxLines": {

77+

label: "Discord Progress Max Lines",

78+

help: "Maximum number of compact progress lines to keep below the draft label (default: 8).",

79+

},

80+

"streaming.progress.toolProgress": {

81+

label: "Discord Progress Tool Lines",

82+

help: "Show compact tool/progress lines in progress draft mode (default: true). Set false to keep only the label until final delivery.",

83+

},

6884

"retry.attempts": {

6985

label: "Discord Retry Attempts",

7086

help: "Max retry attempts for outbound Discord API calls (default: 3).",

Original file line numberDiff line numberDiff line change

@@ -1,8 +1,7 @@

11

import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";

2-

import { buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-config-primitives";

32

import type { ChannelPlugin } from "openclaw/plugin-sdk/channel-core";

43

import { matrixConfigAdapter } from "./config-adapter.js";

5-

import { MatrixConfigSchema } from "./config-schema.js";

4+

import { MatrixChannelConfigSchema } from "./config-schema.js";

65

import { resolveMatrixAccount, type ResolvedMatrixAccount } from "./matrix/accounts.js";

76

import { createMatrixSetupWizardProxy, matrixSetupAdapter } from "./setup-core.js";

87

@@ -32,7 +31,7 @@ export const matrixSetupPlugin: ChannelPlugin<ResolvedMatrixAccount> = {

3231

media: true,

3332

},

3433

reload: { configPrefixes: ["channels.matrix"] },

35-

configSchema: buildChannelConfigSchema(MatrixConfigSchema),

34+

configSchema: MatrixChannelConfigSchema,

3635

config: {

3736

...matrixConfigAdapter,

3837

isConfigured: (account) => account.configured,

Original file line numberDiff line numberDiff line change

@@ -3,7 +3,6 @@ import {

33

adaptScopedAccountAccessor,

44

createScopedDmSecurityResolver,

55

} from "openclaw/plugin-sdk/channel-config-helpers";

6-

import { buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-config-primitives";

76

import type { ChannelDoctorAdapter } from "openclaw/plugin-sdk/channel-contract";

87

import { createChatChannelPlugin, type ChannelPlugin } from "openclaw/plugin-sdk/channel-core";

98

import {

@@ -33,7 +32,7 @@ import { matrixMessageActions } from "./actions.js";

3332

import { matrixApprovalCapability } from "./approval-native.js";

3433

import { createMatrixPairingText, createMatrixProbeAccount } from "./channel-account-paths.js";

3534

import { DEFAULT_ACCOUNT_ID, matrixConfigAdapter } from "./config-adapter.js";

36-

import { MatrixConfigSchema } from "./config-schema.js";

35+

import { MatrixChannelConfigSchema } from "./config-schema.js";

3736

import {

3837

legacyConfigRules as MATRIX_LEGACY_CONFIG_RULES,

3938

normalizeCompatibilityConfig as normalizeMatrixCompatibilityConfig,

@@ -341,7 +340,7 @@ export const matrixPlugin: ChannelPlugin<ResolvedMatrixAccount, MatrixProbe> =

341340

},

342341

},

343342

reload: { configPrefixes: ["channels.matrix"] },

344-

configSchema: buildChannelConfigSchema(MatrixConfigSchema),

343+

configSchema: MatrixChannelConfigSchema,

345344

config: {

346345

...matrixConfigAdapter,

347346

isConfigured: (account) => account.configured,

Original file line numberDiff line numberDiff line change

@@ -1,3 +1,4 @@

1+

import { buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-config-primitives";

12

import {

23

AllowFromListSchema,

34

buildNestedDmConfigSchema,

@@ -8,6 +9,7 @@ import {

89

} from "openclaw/plugin-sdk/channel-config-schema";

910

import { buildSecretInputSchema } from "openclaw/plugin-sdk/secret-input";

1011

import { z } from "openclaw/plugin-sdk/zod";

12+

import { matrixChannelConfigUiHints } from "./config-ui-hints.js";

1113
1214

const matrixActionSchema = z

1315

.object({

@@ -137,3 +139,7 @@ export const MatrixConfigSchema = z.object({

137139

rooms: z.object({}).catchall(matrixRoomSchema).optional(),

138140

actions: matrixActionSchema,

139141

});

142+
143+

export const MatrixChannelConfigSchema = buildChannelConfigSchema(MatrixConfigSchema, {

144+

uiHints: matrixChannelConfigUiHints,

145+

});

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,20 @@

1+

import type { ChannelConfigUiHint } from "openclaw/plugin-sdk/channel-core";

2+
3+

export const matrixChannelConfigUiHints = {

4+

"streaming.progress.label": {

5+

label: "Matrix Progress Label",

6+

help: 'Initial progress draft title. Use "auto" for built-in single-word labels, a custom string, or false to hide the title.',

7+

},

8+

"streaming.progress.labels": {

9+

label: "Matrix Progress Label Pool",

10+

help: 'Candidate labels for streaming.progress.label="auto". Leave unset to use OpenClaw built-in progress labels.',

11+

},

12+

"streaming.progress.maxLines": {

13+

label: "Matrix Progress Max Lines",

14+

help: "Maximum number of compact progress lines to keep below the draft label (default: 8).",

15+

},

16+

"streaming.progress.toolProgress": {

17+

label: "Matrix Progress Tool Lines",

18+

help: "Show compact tool/progress lines in progress draft mode (default: true). Set false to keep only the label until final delivery.",

19+

},

20+

} satisfies Record<string, ChannelConfigUiHint>;

Original file line numberDiff line numberDiff line change

@@ -17,4 +17,16 @@ export const msTeamsChannelConfigUiHints = {

1717

label: "MS Teams Progress Label",

1818

help: 'Initial progress title. Use "auto" for built-in single-word labels, a custom string, or false to hide the title.',

1919

},

20+

"streaming.progress.labels": {

21+

label: "MS Teams Progress Label Pool",

22+

help: 'Candidate labels for streaming.progress.label="auto". Leave unset to use OpenClaw built-in progress labels.',

23+

},

24+

"streaming.progress.maxLines": {

25+

label: "MS Teams Progress Max Lines",

26+

help: "Maximum number of compact progress lines to keep below the progress title (default: 8).",

27+

},

28+

"streaming.progress.toolProgress": {

29+

label: "MS Teams Progress Tool Lines",

30+

help: "Show compact tool/progress lines in progress mode (default: true). Set false to keep only the title until final delivery.",

31+

},

2032

} satisfies Record<string, ChannelConfigUiHint>;

Original file line numberDiff line numberDiff line change

@@ -117,6 +117,22 @@ export const slackChannelConfigUiHints = {

117117

label: "Slack Draft Tool Progress",

118118

help: "Show tool/progress activity in the live draft preview message (default: true). Set false to keep tool updates as separate messages.",

119119

},

120+

"streaming.progress.label": {

121+

label: "Slack Progress Label",

122+

help: 'Initial progress draft title. Use "auto" for built-in single-word labels, a custom string, or false to hide the title.',

123+

},

124+

"streaming.progress.labels": {

125+

label: "Slack Progress Label Pool",

126+

help: 'Candidate labels for streaming.progress.label="auto". Leave unset to use OpenClaw built-in progress labels.',

127+

},

128+

"streaming.progress.maxLines": {

129+

label: "Slack Progress Max Lines",

130+

help: "Maximum number of compact progress lines to keep below the draft label (default: 8).",

131+

},

132+

"streaming.progress.toolProgress": {

133+

label: "Slack Progress Tool Lines",

134+

help: "Show compact tool/progress lines in progress draft mode (default: true). Set false to keep only the label until final delivery.",

135+

},

120136

"thread.historyScope": {

121137

label: "Slack Thread History Scope",

122138

help: 'Scope for Slack thread history context ("thread" isolates per thread; "channel" reuses channel history).',

Original file line numberDiff line numberDiff line change

@@ -73,6 +73,22 @@ export const telegramChannelConfigUiHints = {

7373

label: "Telegram Draft Tool Progress",

7474

help: "Show tool/progress activity in the live draft preview message (default: true when preview streaming is active). Set false to keep tool updates out of the edited Telegram preview.",

7575

},

76+

"streaming.progress.label": {

77+

label: "Telegram Progress Label",

78+

help: 'Initial progress draft title. Use "auto" for built-in single-word labels, a custom string, or false to hide the title.',

79+

},

80+

"streaming.progress.labels": {

81+

label: "Telegram Progress Label Pool",

82+

help: 'Candidate labels for streaming.progress.label="auto". Leave unset to use OpenClaw built-in progress labels.',

83+

},

84+

"streaming.progress.maxLines": {

85+

label: "Telegram Progress Max Lines",

86+

help: "Maximum number of compact progress lines to keep below the draft label (default: 8).",

87+

},

88+

"streaming.progress.toolProgress": {

89+

label: "Telegram Progress Tool Lines",

90+

help: "Show compact tool/progress lines in progress draft mode (default: true). Set false to keep only the label until final delivery.",

91+

},

7692

"retry.attempts": {

7793

label: "Telegram Retry Attempts",

7894

help: "Max retry attempts for outbound Telegram API calls (default: 3).",