← 返回列表
D

dsh-notify-skill

v0.1.0 · 3 天前发布

Email reminders from your DSH agent when you're away — fires at goal completion, blockage, before asking the user a decision, and at long-task milestones.

deepseekdeepseek-harnessdshdsh-pluginskillnotifyemailsmtpreminder

README

dsh-notify-skill



English | 中文

你不在电脑前时,agent 用邮件提醒你回来。

你在 DSH(或其他 AI 编码 agent)里派一个长任务 goal,然后离开电脑。当 agent 完成、卡住、或需要你决策时,它发一封邮件到你手机邮箱——你看到就回来。单向通知,不做远程指挥。

设计理念:自带发送器,教会兜底实现



本 skill 打包一个零依赖实现——sender.mjs(约 70 行,只用 Node 内置 tls/net),让 agent 在每个正常 DSH 会话里都能确定地发信(DSH 本身就跑在 Node 上)。SKILL.md 仍然承载完整契约:

  • 何时通知(goal 完成 / 阻塞 / 提问决策前 / 长任务节点),

  • 写什么(具体、用你的语言、简短),

  • 配置契约config.json:发件邮箱、SMTP 授权码、收件邮箱;QQ/163 邮箱自动推断服务器),

  • 配置缺失时如何引导用户获取 SMTP 授权码,

  • 故障处理与安全规则。


  • 万一 Node 真的不可用(极少见),skill 指令会告诉 agent 自己实现那 ~15 行 SMTP 调用——环境里有什么用什么:Python smtplib、curl、mail…… 这样 skill 依然跨平台(Windows/Linux/macOS)且不过时。

    触发时机



    | 时机 | 建议标记 |
    |---|---|
    | goal 完成 | done |
    | goal 阻塞/卡住 | block |
    | 即将向你提问决
    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-notify-skill
    Repo
    git+https://github.com/PAKIKNOWLEDGE/dsh-notify-skill.git
    Engines
    {}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"}}