返回插件市场

dsh-task-notify

界面与体验

yangzhe1991/dsh-task-notify

一个 DeepSeek Harness 浏览器插件,在代理任务完成时播放提示音并更新标签页标题,即使用户在其他标签页也能收到提醒。

  • dsh-plugin
GitHub Stars
3GitHub
浏览量
0DSH Plugin Hub
Forks
0GitHub
开放问题
0GitHub Issues
Manifest 版本
0.1.1@yangzhe1991/dsh-task-notify
最近推送
2026年9月2日GitHub
许可证
MITTypeScript
插件类型
Host + Client同时运行于 Host 与 Web Client

验证与兼容性

这里展示目录实际采集到的证据;未声明的信息会明确标为未知。

运行时已验证
01精确来源: npm · @yangzhe1991/dsh-task-notify@0.1.102验证时间: 2026年9月3日03验证版本: 0.1.0-rc.7
当前版本兼容性
已在当前目录版本验证
声明的 Harness 范围
未声明
声明的平台
未声明
适用 Profile
web
构建授权
未检测到需要
权限声明
未声明
外部服务
未声明
遥测声明
未知
未发现已知风险标记

这不是安全背书;安装前仍应查看源码、权限和配置。

查看证据与判定范围

验证仅覆盖标出的来源、版本和 Harness 环境,不代表未来版本仍然兼容。

  • @yangzhe1991/dsh-task-notify@0.1.1
  • 插件已在隔离环境完成加载检查。

README

查看源文件

dsh-task-notify

English | 中文

npm version npm downloads license dsh-plugin

A DSH (DeepSeek Harness) browser plugin that tells you when your agent finishes work — a completion chime, and a tab-title alert while you are on another tab.


Compatibility

  • dsh ≥ 0.1.2-alpha.4 — supported since 0.1.1. Turn timings now come from the chat snapshot's legacy layer via the session-standard useChat hook, and completed-turn failures are detected from turn-error nodes; the legacy paths are retained for older dsh.
  • dsh 0.1.0-rc.x — still supported via the legacy snapshot paths.

Install (30 seconds)

Prereqs: the dsh CLI (DeepSeek Harness).

dsh plugin --profile web add @yangzhe1991/dsh-task-notify

Then restart the Web GUI and refresh the browser tab. That's it — the package ships prebuilt artifacts, so nothing compiles on your machine and no allowlist is needed. dsh plugin auto-appends the bundle to your profile's dsh.profile.bundles.

Other install methods (usually not needed):

MethodCommandBuilds on installNotes
npm registry (recommended)dsh plugin --profile web add @yangzhe1991/dsh-task-notifyNoPrebuilt, quickest
tarballdsh plugin --profile web add ./dsh-task-notify-0.1.0.tgzNoOffline-friendly
gitdsh plugin --profile web add github:yangzhe1991/dsh-task-notifyYes (via prepare)Requires one-time allowBuilds in pnpm-workspace.yaml

What it does

  • 🎵 Completion chime — a synthesized two-tone chime (no audio files) when:
    • an agent turn finishes in your current session (normal reply, error, or abort) — this covers ordinary conversations;
    • a background job settles in any session (completed / failed / killed — background bash/pwsh, subagents, workflows, …).
    • Success: ascending do → mi. Failure / kill: descending mi → do.
  • 🔔 Tab-title alert — while the page is not the active tab (document.hidden), a finished task changes the title to 🔔 N 个任务完成 — <original title>; switching back to the tab restores it.
  • No false positives — switching sessions, loading history, or refreshing the page never re-alerts for old turns. Only work that actually finishes while you are watching the current session triggers.

First-run note: click the page once

Browsers block audio until the user has interacted with the page (autoplay policy). Click or press a key anywhere in the page once — chimes are unlocked from then on. The tab-title alert is never affected.

FAQ

Q: I finished a task but heard nothing. A: You likely haven't interacted with the page yet (see above), or the task was a plain foreground tool call — those don't trigger; only agent turns and background jobs do.

Q: It beeped when I switched to another session. A: That was a bug in early versions, fixed since — old turns in the newly opened session were mistaken for fresh completions. Update the plugin (dsh plugin --profile web update @yangzhe1991/dsh-task-notify) and refresh the page; only turns that finish while you're in the session will alert now.

Q: Which tasks exactly trigger the chime? A: (1) The agent completing a turn in your current session — every round of work, whether it answered, errored, or was aborted; (2) any background job settling in any session.

Q: Can I change the sound or turn things off? A: See Customization below.

Q: What does the plugin actually install? A: A profile bundle: a config layer (cordis.patch.yml) plus a browser-half bundle (lib/client.js) that the DSH web app discovers automatically — no manual configuration, no UI added.

Customization

Tunables live at the top of src/client/index.tsx; edit and re-run npm run build (or send a PR 🙂).

ConstantDefaultMeaning
SOUND_ENABLEDtruePlay the chime on completion
TITLE_ENABLEDtrueChange the tab title while hidden
ALERT_PREFIX'🔔'Prefix of the alert title

Development

git clone git@github.com:yangzhe1991/dsh-task-notify.git
cd dsh-task-notify
npm install
npm run build        # produces lib/index.js (node half) + lib/client.js (browser half)
npx tsc --noEmit     # type-check
├── package.json          # dsh.bundle (profile config layer) + dsh.client (browser half) declarations
├── cordis.patch.yml      # plugin-row config layer
├── build.mjs             # esbuild build: node half + browser half
├── src/
│   ├── index.ts          # node half (empty apply placeholder)
│   └── client/index.tsx  # browser half: turn/job listeners, chime, title alert
└── lib/                  # build output (gitignored)

Uninstall

dsh plugin --profile web remove @yangzhe1991/dsh-task-notify

License

MIT

评论

0
最新优先