npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-mishu

v0.17.0

Published

A cross-source secretary for developers and maintainers in DeepSeek Harness: triage GitHub, email and watched pages; manage reminders and quick notes in one local-first workbench. · 面向开发者和维护者的跨来源秘书:统一整理 GitHub、邮件、网页关注、提醒和随手记。

Readme

dsh-mishu · DSH 小秘书

npm version npm downloads License: MIT Node DSH plugin Platforms Languages TypeScript No telemetry DSH Plugin Hub

**面向开发者和维护者的跨来源秘书。**把 GitHub、邮箱、网页关注、提醒和随手记放进一个工作台,持续归并成少量清楚的待办:该你处理的浮上来,已解决的收起来,你交代过的事按时回来。

中文 · English


中文

先理解小秘书怎么工作

小秘书管理的是事项,不是消息流。它从你选择的来源收集线索,检查当前状态,再把事情放进三个去处:

| 你要做的事 | 在小秘书里怎么完成 | |---|---| | 盯:别漏掉仓库反馈、重要邮件或网页更新 | 连接 GitHub / 邮箱,或添加一个网址;小秘书定时检查并合并重复线索 | | 记:记下临时想法、日期和周期任务 | 用「随手贴」快速捕获;也可以在 DSH 对话里交代提醒,确认后保存 | | 推进:每天只看现在需要做什么 | 在「看板」处理、稍后提醒、查看已完成项;高风险操作会先让你核对 |

初次使用不必一次接入所有来源。先连 GitHub 或记下一条提醒,就能开始体验。

5 分钟开始

dsh plugin --profile <name> add dsh-mishu

安装后,在 DSH 左侧打开「小秘书」,按下面顺序设置:

  1. **先选一个来源。**GitHub 用户先在「设置 → 它看哪里」连接账号;邮件用户添加 IMAP 邮箱;也可以先添加一个要关注的网址。
  2. **选择要看的范围。**GitHub 仓库反馈需要打开开关并勾选仓库;未勾选的仓库不会被读取。网址关注可以先试读,再保存。
  3. **选提醒方式。**设置每日简报、紧急提醒和免打扰时间;可用桌面通知或飞书群机器人。
  4. **回到看板。**新事项进入「要你处理」,暂缓和未来提醒进入「我记着」,最近处理完的进入「替你办了」。

日常入口

小秘书顶部有五个页签:

| 页签 | 用途 | |---|---| | 看板 | 按「要你处理 / 我记着 / 替你办了」查看事项;可按 GitHub、邮件、关注网址等来源筛选 | | 随手贴 | 一张可拖动、可缩放的大桌面,正中是输入框;每记一条,输入框上方多一张邮票似的小卡片,同时贴一张中卡片到桌面上。中卡片按住哪儿都能拖,点一下打开大卡片,可编辑、设提醒、归档或投递到对话 | | 邮件 | 查看邮箱文件夹、搜索和阅读邮件;按需标记、移动、存附件、写信或管理草稿 | | 回顾 | 按周、月、季度往回看:做了什么、什么还拖着、小秘书做错了什么 | | 设置 | 集中管理来源、提醒规则与渠道、需要确认的操作、语言和数据存储 |

看板顶部是"今日要点":一行总览(今天几件急事、这周几件、不急几件、今天替你关掉几件),下面每类事一行,点哪一行就跳到下面那一组。事项按"要你做什么"分五类,来源只是标签:

| 类别 | 里面是什么 | |---|---| | 有人等你回 | 仓库反馈、请你 review、@ 你、指派给你;真人写给你的信、会议邀请 | | 要你修 | CI 失败、私下的漏洞报告 | | 要你办 | 你交代的事(账单、续费、证件)、你答应过要看的反馈、账单邮件 | | 要你看一眼 | 对方说已解决、你的 PR 有动态、关注的网页有变化、规则还不认识的 | | 知道就行 | fork 跑上游的定时任务、订阅和自动邮件、验证码 |

急缓分三档,规则固定、每张卡片都写着为什么:今天(有人在等你、漏洞报告、今天到期或已过期、你答应的事到期了、会议邀请)、这周(CI 失败、3 天内到期、对方说已解决)、不急(其余只是让你知道的)。"要你处理"里的卡片也按同样的类别分组,最急的在最上面;分类和定级都在本机按规则算,不经过模型。

「回顾」按周、月、季度往回看,左右箭头翻到上一段:

  • 这段时间:新来几件、你处理了几件、小秘书替你关掉几件、在别处处理掉几件、到现在还开着几件,旁边是上一段的数;你处理的按五类分开,替你关掉的按原因分开。
  • 到现在还拖着的:等你回复最久的人、过期最久的事、推迟过好几次的事、开着最久的事。
  • 小秘书做错了什么:规则替你关掉、你又打开的(关错了);提醒没送到、定时邮件没发出去、随手贴没整理成;GitHub、邮箱、关注的网页连不上的时间段。被你纠正过的规则会列出来,关错多了自动降级,你也可以点「以后先问我」,让这条规则关的事先交给你看。
  • 你每次都直接关掉的:这几类也许不用提醒你,只是提一句,规则不会自己改。

数字全部按固定规则从本机记事本里数出来;点 +AI 可以让模型把它写成一段话。每周一、每月 1 号、每季度第一天,在每日简报的时间推一句话总结,可以在设置里分别关掉。

看板里可以直接完成、忽略或稍后提醒;事项卡片会说明原因和建议下一步。拖到「替你办了」可标记完成,拖到「我记着」可稍后处理。恢复已关闭的事项也会作为纠错记录。

在 DSH 对话里也能直接查和改事项:/mishu 看简报,/mishu 同步 立即同步,/mishu 完成 <编号>、/mishu 忽略 <编号> 或 /mishu 恢复 <编号> 更新状态;/mishu 交代 查看已交代的周期事项,/mishu 停止 <编号> 停止后续提醒。新提醒直接用自然语言交代,确认审批卡片后保存。

目前支持的来源

GitHub

  • 仓库反馈:直接检查你勾选的仓库中的 issue、他人创建的 PR、review、代码行评论、Discussions 和待分诊的私下漏洞报告,按最后发言人判断是否有人在等你。普通反馈默认每 5 分钟检查一次,私下漏洞报告每 30 分钟检查一次;最多选择 30 个仓库。
  • GitHub 通知:每 15 分钟同步未读通知,并查看 issue、PR 或 CI 的当前状态,收起已合并、关闭、恢复或被新版本取代的事项。
  • 首次启用仓库反馈时,最近 30 天仍在等待你的事项会出现在看板,不会一次推送一大批旧提醒。GitHub 来源只读;默认也不会替你标记 GitHub 已读。

邮箱

  • 支持 IMAP + SMTP 和常见服务商预设。定时分诊只看未读邮件的发件人、收件人、主题等邮件头,不读取正文,也不改变邮箱状态。
  • 需要时可进入「邮件」页签阅读、搜索、标记、移动、保存附件、管理文件夹和草稿。删除会先移入废纸篓。
  • 写信、回复、发送草稿和定时发送都要经过确认卡片;移动、标记和彻底删除等操作也会在执行前列出目标邮件供核对。
  • Outlook / Hotmail / Gmail OAuth 尚未支持;这些邮箱需使用服务商提供的应用专用密码。定时发送要求 DSH 保持运行。

网址和订阅源

添加产品公告、价格页、招聘页、RSS 或 JSON 地址,可选关键词和检查间隔(15 分钟至 24 小时)。保存前可以先试读;首次检查通常只建立基线,有关键词的关注项在首次命中时会提醒。

提醒与随手贴

  • 在 DSH 对话里说「护照 2027 年 3 月 10 日到期」或「每月 15 号交房租」。小秘书会提取日期和重复方式,先弹出审批卡片,确认后才保存;到期后事项进入看板。
  • 随手贴支持 Alt+Space 快速唤起。页面是一张无限桌面:正中写字台(日期、一排小卡片、输入框,Enter 记下、Shift+Enter 换行);一条便签一张邮票大小的小卡片,鼠标移上去放大一倍,点一下把它贴到桌面上或拿下来;新记的直接贴上去。桌面上的中卡片按住任意位置拖动,空白处拖动平移桌面,滚轮平移,Ctrl/⌘+滚轮缩放,拖出一定范围有弹性阻力、松手会弹回来,不会把桌面拖丢;首次打开有一条可关闭的操作提示;右下角可缩放、回到中间、自动排整齐;位置存在本地数据库里。关闭「让 AI 整理便签」时,旁边会给一个跳到设置页对应开关的按钮。点一下中卡片打开完整编辑卡片;支持搜索、归档、提醒、投递到对话和 Markdown 导出。
  • 便签分类和日期识别先用规则;可选 AI 整理默认关闭。关闭时便签原文不会发送给模型。

提醒节奏

默认每日简报在 09:00 发送,周、月、季度结束后的第一天同一时间再发一句回顾;需要马上处理的 GitHub 反馈、review 请求、会议邀请和到期提醒可即时通知。免打扰默认是 22:00–08:00,时间按浏览器所在时区计算。可配置桌面通知、飞书群机器人,或用 DSH 定时任务在下次打开时查看简报。

数据与操作边界

  • 数据库默认为 ~/.mishu/mishu.db(SQLite);卸载插件不会删除它。默认不收集遥测。
  • 密码和 token 优先存在系统钥匙串。没有系统钥匙串时会退回 secrets.json;文件未加密,访问权限按当前系统设置。
  • GitHub 默认只读,markRead 默认是 shadow(只记录模拟结果,不实际标已读)。
  • 邮件自动分诊只读邮件头,不自动读正文、标已读、移动、删除或发送。发送、回复和定时发送须逐次确认;模型不能根据邮件内容直接执行外部操作。
  • 对规则无法确定的 GitHub 通知,目前会交给你判断;还没有模型自动分诊。

进阶设置

通常在设置页完成连接即可。需要在 profile 中固定配置时,可在 cordis.patch.yml 覆盖:

- id: dsh-mishu
  name: dsh-mishu
  config:
    home: ~/.mishu
    language: auto       # auto / zh / en
    github:
      enabled: true
      intervalMinutes: 15
      tokenEnv: GITHUB_TOKEN
      markRead: shadow   # off / shadow / on
      feedback:
        enabled: true
        intervalMinutes: 5
        repos: []        # 仅勾选的 owner/name;通常在设置页配置

GitHub token 按优先级从环境变量、设置页登录/粘贴的 token、gh auth token 获取。若自行提供 classic token,通知同步需要 notifications 权限;读取私有仓库还需 repo。GitHub 通知接口不接受 fine-grained token。

现阶段的限制

  • 没有独立手机 App 或手机推送渠道;简报可以通过 DSH 定时任务在下次打开 DSH 时查看。
  • 飞书目前用于机器人推送,尚无飞书/Lark 入站消息分诊。
  • 邮件暂不支持 POP3、AgentMail 通道和 Outlook / Hotmail / Gmail OAuth。
  • 从已发送邮件识别「我答应了什么」或「对方还没回复」的自动规则尚未完成。
  • Windows / Linux 系统钥匙串已实现,尚未在真机环境完整验证。
  • DSH 关闭时不会发送排期邮件;重新启动后下一次检查才会尝试发送。

文档与市场


English

A cross-source secretary for developers and maintainers. dsh-mishu brings GitHub, email, watched pages, reminders and quick notes into one workspace. It turns incoming signals into a short, actionable list: surface what needs you, close what is resolved, and bring back the things you asked it to remember.

The simple model

It manages matters, not a stream of messages:

| Your need | How dsh-mishu helps | |---|---| | Watch | Connect GitHub or email, or add a URL; it checks sources on a schedule and groups related signals | | Remember | Capture a quick note or tell DSH about a dated or recurring task; review the approval card before it is saved | | Move forward | Work from one board: handle now, keep for later, or review what was completed |

You do not need to connect every source. Start with GitHub or one reminder and add more when useful.

Get started

dsh plugin --profile <name> add dsh-mishu

Open Secretary from DSH's sidebar, then:

  1. Connect one source in Settings → Where to look: GitHub, an IMAP mailbox, or a URL to watch.
  2. Choose the scope. Repository feedback only checks repositories you select; URL watches can be tested before saving.
  3. Choose a delivery method and set your brief, urgent alerts and quiet hours.
  4. Return to the Board. New work appears under To handle, postponed and future reminders under Keeping, and recently closed work under Done for you.

Five places to work

| Tab | Use it for | |---|---| | Board | Review matters by status and filter by source | | Notes | Capture in the centered composer; browse small cards and open one for full editing | | Mail | Browse folders, search and read messages, and manage drafts or requested actions | | Review | Look back over a week, month or quarter: what happened, what is dragging, what the secretary got wrong | | Settings | Configure sources, alert rules and channels, approval boundaries, language and storage |

The top of the board is a digest: one line of counts (for today, this week, no rush, closed for you today), then one row per kind of action; a row takes you to its group of cards. Items are sorted by what they ask of you, with the source as a label: waiting on you (repo feedback, review requests, mentions, assignments, a person's mail, invites), to fix (failing CI, private vulnerability reports), to do (what you told it, promises you made, bills), to glance at (solved-by-them, PR activity, watched pages, what the rules do not know) and just so you know (fork schedules, newsletters, automated mail, codes). Three levels by fixed rules, each card saying why: today (someone waiting, a vulnerability report, due today or overdue, a promise come due, an invite), this week (failing CI, due within 3 days, solved by them) and no rush. "To handle" is grouped the same way, most urgent first; all of it is computed locally by rules, never by a model.

Review looks back over a week, a month or a quarter, with arrows to earlier periods: what came in, what you handled (by kind of action), what was closed for you (by why) and what is still open, next to the period before; what is still dragging (people waiting longest, overdue, put off again and again, open longest); and what the secretary got wrong — items a rule closed that you reopened, reminders that did not arrive, scheduled mail that did not go, notes it could not organise, and when GitHub, a mailbox or a watched page could not be reached. Rules you corrected are listed; one corrected too often is demoted on its own, and "Ask me first" hands its closures to you. Everything is counted locally by fixed rules; +AI turns it into prose. A one-line look back goes out on Mondays, the 1st and the first day of a quarter at the brief time; each can be turned off.

Cards explain why an item is waiting and suggest the next step. Mark it done, dismiss it, or snooze it. Dragging a card to another column changes its status; reopening a closed item records a correction.

You can also use /mishu in a DSH chat for the brief, /mishu sync to sync now, /mishu done <id>, /mishu dismiss <id> or /mishu reopen <id> to update an item, and /mishu series to see recurring tasks. Tell DSH about a new reminder in plain language and approve the card before it is saved.

Sources

GitHub. Repository feedback checks selected repositories for issues, pull requests opened by others, reviews, inline comments, Discussions and private vulnerability reports awaiting triage. It checks who spoke last to decide whether a reply is needed. The default interval is 5 minutes for feedback and 30 minutes for private reports, with up to 30 repositories. GitHub notifications sync every 15 minutes and are checked against current issue, PR or CI state. The integration is read-only; marking notifications read is off by default (shadow mode only records what it would do).

Email. IMAP + SMTP and common provider presets are supported. Scheduled triage reads message headers only and does not change mailbox state. In the Mail tab you can read, search, mark, move, save attachments and manage folders or drafts. Deletes go to Trash first. Sending, replying and scheduling always require an approval card; requested mailbox changes show which messages will be affected. Outlook / Hotmail / Gmail OAuth is not supported yet; use an app password. DSH must be running for scheduled sends.

URLs and feeds. Watch product announcements, pricing pages, job pages, RSS or JSON. Set optional keywords and an interval from 15 minutes to 24 hours. Test a URL before saving it.

Reminders and notes. Tell DSH something like “Passport expires on March 10, 2027” or “Pay rent on the 15th each month.” Review the extracted date and repeat rule on an approval card before saving. Alt+Space opens quick capture and Ctrl+Enter saves. Notes use a centered composer and responsive card grid; click a card to edit the full note. Search, reminders, archive, chat handoff and Markdown export are supported. Rule-based categorization and date extraction run locally; optional AI organization is off by default.

Alerts and data

The default daily brief is at 09:00, with a one-line look back on the day a week, month or quarter ends. Urgent repository feedback, review requests, invitations and due reminders can alert immediately. Quiet hours default to 22:00–08:00 in the browser's time zone. Delivery can use desktop notifications, a Feishu bot, or a DSH scheduled task visible the next time you open DSH.

The SQLite database lives at ~/.mishu/mishu.db and remains after uninstall. No telemetry is collected. Passwords and tokens use the system keychain when available; otherwise they fall back to an unencrypted secrets.json, with access permissions set by the current platform. Email triage does not read bodies or send, move, delete or mark messages automatically. Outbound mail and scheduled sends require confirmation.

Current limitations

  • No standalone mobile app or phone push channel. A DSH scheduled brief appears when you next open DSH.
  • Feishu is an outbound bot channel; inbound Feishu/Lark triage is not implemented.
  • No POP3, AgentMail relay, or Outlook / Hotmail / Gmail OAuth.
  • Sent-folder rules for promises and unanswered outgoing mail are not implemented.
  • Windows and Linux keychain support has not yet had full real-machine verification.
  • Scheduled mail waits for DSH to be running; after restart, the next check attempts the send.

Configuration and docs

The Settings tab is the recommended way to configure the plugin. For profile-level overrides, see the YAML example in the Chinese configuration section. More detail: design and requirements.

Development · 开发

npm install
npm test
npm run build

Tests use synthetic GitHub fixtures by default. npm run record can record a read-only sync of your own GitHub account into the git-ignored tests/fixtures/local/ directory.

src/core/          notebook, items, GitHub rules, brief, board and i18n
src/core/github/   REST client → current-state facts → rules → sync
src/dsh/           plugin shell, config, timers, /mishu, agent tools and board API
src/client/        React UI for the board, notes, mail and settings