qwen-code/packages/channels/base/src
tanzhenxin 7bbd5e6471 fix(channels): address PR review — security, bugs, and reliability
- fix: sanitize remote filenames with basename() and isolate uploads
  in UUID subdirs to prevent path traversal and collision (#2-4, #27)
- fix: use crypto.randomInt() for pairing codes instead of Math.random() (#5)
- fix: pass config.sessionScope instead of hardcoded 'user' (#6);
  add per-channel scope overrides via setChannelScope() for startAll (#7)
- fix: removeSession now returns removed session IDs and persists
  when chatId is provided (#8)
- fix: /clear only removes the cleared session from instructedSessions,
  not all sessions (#9)
- fix: DingTalk @mention stripping now removes only the first mention
  instead of all mentions (#10)
- fix: remove dead TELEGRAF_COMMANDS Set and its guard (#13)
- fix: WeChat cursor saved after message processing, not before (#14)
- fix: crash recovery uses time-window counting instead of resettable
  counter to prevent infinite restart loops (#17)
- fix: call channel.disconnect() before exit on crash exhaustion (#18)
2026-03-31 00:57:59 +00:00
..
AcpBridge.ts feat(channels): add dispatch modes and prompt lifecycle hooks 2026-03-28 06:19:02 +00:00
BlockStreamer.test.ts feat(channels): add BlockStreamer for progressive message delivery 2026-03-27 14:36:40 +00:00
BlockStreamer.ts feat(channels): add BlockStreamer for progressive message delivery 2026-03-27 14:36:40 +00:00
ChannelBase.test.ts feat(channels): add dispatch modes and prompt lifecycle hooks 2026-03-28 06:19:02 +00:00
ChannelBase.ts fix(channels): address PR review — security, bugs, and reliability 2026-03-31 00:57:59 +00:00
GroupGate.test.ts test(channels): add comprehensive test suites for channel adapters 2026-03-27 15:26:39 +00:00
GroupGate.ts feat(channels): add group chat support for Telegram 2026-03-25 02:04:27 +00:00
index.ts feat(channels): add dispatch modes and prompt lifecycle hooks 2026-03-28 06:19:02 +00:00
PairingStore.ts fix(channels): address PR review — security, bugs, and reliability 2026-03-31 00:57:59 +00:00
SenderGate.test.ts test(channels): add comprehensive test suites for channel adapters 2026-03-27 15:26:39 +00:00
SenderGate.ts feat(channels): add DM pairing flow for sender approval 2026-03-24 11:37:16 +00:00
SessionRouter.test.ts fix(channels): address PR review — security, bugs, and reliability 2026-03-31 00:57:59 +00:00
SessionRouter.ts fix(channels): address PR review — security, bugs, and reliability 2026-03-31 00:57:59 +00:00
types.ts feat(channels): add dispatch modes and prompt lifecycle hooks 2026-03-28 06:19:02 +00:00