qwen-code/packages
dreamWB 596b5a3fd7
feat(vscode): add tab dot indicator and notification system (#3106) (#3661)
* feat(vscode): add tab dot indicator and notification system (#3106)

Add a three-layer notification system for the VSCode extension:

- Tab dot indicator: orange (task completed) / blue (needs user input,
  higher priority). Appears when the tab is not the active editor.
- VS Code notification bubble with a "Show" button that focuses the
  Qwen Code panel when clicked.
- Platform notification sound (macOS: Glass.aiff via afplay,
  Windows: SystemSounds.Asterisk, Linux: canberra-gtk-play / paplay).

Notification rules (aligned with CLI useAttentionNotifications):
- Task completed: notify when user is not watching the panel AND task
  took >= 20 seconds. idleNotificationSent guard prevents duplicates
  across multi-turn endTurn events.
- Permission / askUserQuestion: notify immediately when user is not
  watching (no duration threshold). attentionNotified guard prevents
  duplicates per request.
- "Watching" = VS Code window focused AND panel visible.

New settings: qwen-code.dotIndicator (boolean) and
qwen-code.notifications (boolean), both default to true.

Also refactors three duplicate onDidReceiveMessage handlers into a
shared handleCommonWebviewMessage method.

* fix(vscode): address PR review — improve JSDoc, add sidebar no-op comment, add paplay error logging
2026-04-27 20:28:16 +08:00
..
channels chore(release): bump version to 0.15.2 (#3596) 2026-04-24 19:55:12 +08:00
cli feat(cli): add OSC notification support for iTerm2, Kitty, and Ghostty (#3562) 2026-04-27 20:28:07 +08:00
core feat(cli,core): LLM-generated summary labels for tool-call batches (#3538) 2026-04-27 16:54:10 +08:00
sdk-java fix(sdk-java): pass custom env to CLI process (#3543) 2026-04-24 10:37:52 +08:00
sdk-python feat(SDK) Add Python SDK implementation for #3010 (#3494) 2026-04-25 07:02:58 +08:00
sdk-typescript feat(web-search): remove built-in web_search tool, replace with MCP-based approach (#3502) 2026-04-24 11:29:02 +08:00
vscode-ide-companion feat(vscode): add tab dot indicator and notification system (#3106) (#3661) 2026-04-27 20:28:16 +08:00
web-templates chore(release): bump version to 0.15.2 (#3596) 2026-04-24 19:55:12 +08:00
webui fix(vscode-companion): slash command completion not triggering after message submit (#3609) 2026-04-26 22:27:54 +08:00
zed-extension chore(zed-extension): update package version to 0.10.0 2026-02-06 14:26:01 +08:00