Skip to content

fix(reply): make block streaming configurable#94

Open
wowyuarm wants to merge 1 commit into
Tencent:mainfrom
wowyuarm:fix/configurable-block-streaming
Open

fix(reply): make block streaming configurable#94
wowyuarm wants to merge 1 commit into
Tencent:mainfrom
wowyuarm:fix/configurable-block-streaming

Conversation

@wowyuarm
Copy link
Copy Markdown

@wowyuarm wowyuarm commented Apr 30, 2026

Summary

  • add blockStreaming to the Weixin channel/account config schema
  • stop hard-coding disableBlockStreaming: true in reply dispatch
  • keep existing behavior by default: block streaming stays off unless configured
  • publish channelConfigs.openclaw-weixin in openclaw.plugin.json so the host sees the channel config before runtime loads
  • add tests for schema parsing and account-level override behavior

Testing

  • npm run typecheck
  • npm run build
  • npx vitest run src/messaging/process-message.test.ts src/config/config-schema.test.ts src/api/config-cache.test.ts

Full npm test still has the existing unrelated failure on main:

  • src/auth/pairing.test.ts > registerUserInFrameworkStore > uses withFileLock for concurrency safety
  • expected "spy" to be called 1 times, but got 0 times

@wowyuarm wowyuarm force-pushed the fix/configurable-block-streaming branch from 1c72586 to fa6b7f5 Compare April 30, 2026 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant