dsh-im-ops/test/channels/weixin
jonah.fu e1bc9dd0d0 feat(qq): stream the full turn feed as discrete messages
Show what the agent is actually doing during a turn, the way Claude
Code does: interim explanation text, every Tool call, and the error
detail when a tool fails, each as its own pushed message before the
final markdown answer.

- HarnessReplyTracker.consume now returns every frame of a polling
  batch in order (same-batch text frames collapse to the latest)
  instead of dropping all but the last event, which silently ate
  tool-call frames that shared a batch with their result
- tool frames carry callId; status frames carry the correlated
  toolName and a flattened error text parsed from the tool/result
  error payload (message, or name: code)
- the QQ bridge holds interim step text until the next tool call
  (or the end of the turn) pushes it, emits 'Tool call <name>' per
  call, emits 'Tool call <name>\nError: <reason>' for failures, and
  skips re-sending interim text that already equals the final answer

Other channels keep their existing behaviour: the status frame still
reads '正在整理结果…' and they ignore the new optional fields.
2026-08-23 22:39:29 +08:00
..
client-api.test.mjs fix(channels): clarify unsupported image model errors 2026-08-21 19:07:18 +08:00
connection-supervisor.test.mjs Internalize all IM channel implementations 2026-08-15 15:40:53 +08:00
harness-client.test.mjs feat(qq): stream the full turn feed as discrete messages 2026-08-23 22:39:29 +08:00
plugin-host.test.mjs feat: send test messages during bot connection checks 2026-08-19 03:52:52 +08:00
production.test.mjs feat: add native result-file delivery 2026-08-23 20:02:06 +08:00
stores.test.mjs Internalize all IM channel implementations 2026-08-15 15:40:53 +08:00
weixin-api.test.mjs release: prepare dsh-im 1.1.0 2026-08-23 20:10:02 +08:00
weixin-bridge.test.mjs feat: add native result-file delivery 2026-08-23 20:02:06 +08:00
weixin-controller.test.mjs fix(weixin): distinguish loopback Harness denial 2026-08-22 22:59:24 +08:00
weixin-runtime.test.mjs fix(weixin): distinguish loopback Harness denial 2026-08-22 22:59:24 +08:00