qwen-code/docs/users/features
tanzhenxin 7251da0152 feat(channels): add dispatch modes and prompt lifecycle hooks
Add three dispatch modes for handling concurrent messages:
- steer (default): cancel current prompt and start new one
- collect: buffer messages and coalesce into follow-up prompt
- followup: queue messages for sequential processing

Introduce onPromptStart/onPromptEnd lifecycle hooks for working
indicators. These fire only when a prompt actually begins processing,
not for buffered (collect mode) or gated/blocked messages.

Refactor Telegram, WeChat, and DingTalk adapters to use the new hooks
instead of overriding handleInbound, simplifying the working indicator
pattern and ensuring correct behavior with dispatch modes.

This enables better UX for async workflows and prevents indicator
leaks when messages are buffered or cancelled.
2026-03-28 06:19:02 +00:00
..
channels feat(channels): add dispatch modes and prompt lifecycle hooks 2026-03-28 06:19:02 +00:00
_meta.ts Merge remote-tracking branch 'origin/main' into feat/channels-telegram 2026-03-27 08:21:41 +00:00
approval-mode.md feat use tab on windows instead of shift+tab 2026-02-02 19:48:07 +08:00
arena.md docs(arena): add Agent Arena documentation 2026-03-18 16:26:59 +08:00
checkpointing.md feat: restructure docs 2025-12-04 18:26:05 +08:00
commands.md Merge branch 'main' into feat/claw-skill 2026-03-19 10:42:48 +08:00
headless.md feat: add system prompt customization options for CLI and SDK 2026-03-16 03:06:35 +08:00
hooks.md move picture to cnd 2026-03-26 16:28:07 +08:00
language.md Add Japanese 2026-01-02 15:53:20 +09:00
lsp.md fix(lsp): improve C++/Java/Python language server support 2026-03-21 01:27:00 +08:00
mcp.md refactor: remove deprecated list and refresh MCP commands 2026-02-25 11:58:41 +08:00
sandbox.md Merge pull request #1642 from kiri-chenchen/docs/docker-java-runtime 2026-03-16 14:45:16 +08:00
skills.md feat: promote Agent Skills from experimental to stable 2026-02-06 13:04:08 +08:00
sub-agents.md fix(subagents): change limits from hard errors to soft warnings 2026-03-15 20:56:25 +08:00
token-caching.md feat: update docs 2025-12-12 19:37:36 +08:00