AnCoSONG / dsh-task-notifier

목록에 있음

DSH task-completion notifier: system notifications for turn/subagent/workflow/goal/question events. Cross-platform (macOS osascript / Linux notify-send / Windows toast).

main도구스킬 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:AnCoSONG/dsh-task-notifier

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 5e0721e동기화 2026. 8. 18.

dsh-task-notifier

DSH 任务完成通知器:任务结束时发送系统通知(当前实现为 macOS osascript 横幅),触发链来自浏览器/会话事件;通知通道按平台分发(macOS osascript / Linux notify-send / Windows toast),不依赖浏览器权限。

功能

场景事件默认
每轮对话完成(仅根 agent)agent/status
子代理结束subagent/end
Workflow 跑完workflow/end
目标(goal)完成goal/changed (complete)
Agent 提问tools/execute (ask_user_question)

通知通道:Host 端通过 ctx.shell 执行平台系统通知命令(macOS osascript / Linux notify-send / Windows PowerShell toast),无需 Client 端、无需审批。

安装

在 DSH profile(Web GUI 默认 profile 为 web)中安装:

dsh plugin --profile web add @anco-dsh/dsh-task-notifier

或从本仓库直接安装(本地开发):

dsh plugin --profile web add .

提示:如果你使用非 web 的 profile,把上面的 web 换成你的 profile 名即可(dsh --profile <name> 或 GUI 设置里的当前 profile)。

配置

所有场景默认开启,可通过 profile 的 cordis.patch.yml 按 id 覆盖整行 config:

- id: task-notifier
  config:
    notifyOnTurnEnd: true
    notifyOnSubagentEnd: false
    notifyOnWorkflowEnd: true
    notifyOnGoalComplete: false
    notifyOnQuestion: true

发布

# 1. 构建产物
pnpm pack

# 2. 发布到 npm(需要 npm 账号)
npm publish

# 或交付 tarball
dsh plugin --profile web add ./anco-dsh-dsh-task-notifier-0.1.4.tgz

依赖

  • 运行时:零依赖(Config 为手写 Standard Schema)
  • 环境:跨平台(macOS osascript / Linux notify-send / Windows PowerShell toast)

저장소 정보

언어
JavaScript
라이선스
보고되지 않음
마지막 업데이트
2026. 8. 15. 오후 3:53

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.