dsh-im-ops/test/channels/dingtalk
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 feat: 按机器人选择 Agent Preset 2026-08-21 19:19:45 +08:00
client-lifecycle.test.mjs fix(ui): unify channel card feedback layout 2026-08-22 18:27:19 +08:00
client-ui.test.mjs feat(ui): compact bot connection metadata 2026-08-23 01:20:58 +08:00
config-store.test.mjs Internalize all IM channel implementations 2026-08-15 15:40:53 +08:00
connection-supervisor.test.mjs Internalize all IM channel implementations 2026-08-15 15:40:53 +08:00
device-auth.test.mjs Internalize all IM channel implementations 2026-08-15 15:40:53 +08:00
dingtalk-api.test.mjs feat: add native result-file delivery 2026-08-23 20:02:06 +08:00
dingtalk-bridge.test.mjs feat: add native result-file delivery 2026-08-23 20:02:06 +08:00
dingtalk-card-stream.test.mjs Internalize all IM channel implementations 2026-08-15 15:40:53 +08:00
dingtalk-controller.test.mjs feat: send test messages during bot connection checks 2026-08-19 03:52:52 +08:00
dingtalk-runtime.test.mjs fix: remember direct recipients for connection tests 2026-08-19 11:24:50 +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: support compact command across IM channels 2026-08-18 23:20:05 +08:00
production.test.mjs feat: add native result-file delivery 2026-08-23 20:02:06 +08:00
rpc.test.mjs feat: send test messages during bot connection checks 2026-08-19 03:52:52 +08:00
state-store.test.mjs Internalize all IM channel implementations 2026-08-15 15:40:53 +08:00