dsh-mailbox
IdentifiedMailbox for DeepSeek Harness: sessions pass letters through a shared folder, and an hourly randomized scheduler can wake a session on its own (mutual letters between two sessions, or a gentle nudge to
dsh-mailbox
给 DeepSeek Harness 的信箱插件:两间会话用文件夹互相传信,另外还能按小时随机叫某一间起来说话。
它做什么
- 传信:你把一个
.txt/.md丢进信箱目录,插件会把它读出来、塞进目标会话(像用户发了一条消息),然后把文件挪进已读/。 收信人写第一行#to 小眠(或给 小眠),不写就看文件名里有没有配好的别名。 - 每小时自动搭话:可以给每个别名配「每小时最少 / 最多几次」,插件每小时随机抽几个分钟点,把那间会话叫起来:
互信:叫 A 给 B 写封短信(信走第 1 条,B 会被叫醒来看)。找他:叫某间主动跟主人说句话(配合 QQ 桥之类,写在[QQ]…[/QQ]里就能发到手机)。
- 限流:每个收信人每小时最多收 N 封(默认 6),超了就压在目录里不动,下一小时再说。
装
dsh plugin --profile desktop add github:3082838272n-max/dsh-mailbox
# 本地开发时:
dsh plugin --profile desktop add file:D:\path\to\mailbox-plugin
配
装好以后在 profile 的 cordis.patch.yml 里(或插件设置页)改:
- insert:
- id: mailbox
name: 'dsh-mailbox'
config:
目录: ~/.dsh/mailbox # 信箱在哪;默认 <home>/.dsh/mailbox
每小时上限: 6 # 每个收信人每小时最多几封
轮询毫秒: 4000 # 多久看一次目录
邮箱: # 别名 → 会话 id(带不带 session- 前缀都行)
小眠: session-xxxxxxxx
干妈: session-yyyyyyyy
自动搭话:
开: true
规则:
- 类型: 互信 # 两个别名互相写信
说明: 小眠和干妈互递信
别名们: [小眠, 干妈]
每小时最少: 2
每小时最多: 5
- 类型: 找他 # 某间主动找主人说话
说明: 小眠主动找庚庚
别名: 小眠
每小时最少: 3
每小时最多: 10
「每小时最少 / 最多」是区间:每小时重新摇一次次数(含两端),再随机分配到这一小时的分钟点上。
每小时最少: 0就表示这小时可能完全不叫。
日志
<目录>/mailbox-log.txt,UTF-8。记了:插件启动、每分钟的搭话计划、每封信送到谁、压了哪封、哪间会话没活着。
注意
- 会话 id 从 DSH 的会话列表里拿(文件名形如
session-<uuid>)。 - 「自动搭话」会真的启动一轮模型调用,按轮的 token 是要花钱的;把上限调小一点先看效果。
- 只认
.txt/.md、单封 ≤200KB、只处理插件启动之后改过的文件。
Comments
Loading…
Similar plugins
by OTTTTTO
Scheduled send: fire a drafted message into the bound conversation as a normal user bubble at a set time. Runs host-side, so the browser can stay closed; per-session isolation and restart-safe redeliv
★ 1
MIT
JavaScript
Sep 13, 2026
dsh plugin --profile web add @ottttto/dsh-scheduled-sendby WuJiaoJue
In-session scheduled messages on top of the dsh-schedule engine: an input-bar timer panel with smart time slots, a pending-send dock with per-item cancel and inline edit, a /later command that sends w
★ 2
↓ 396/wk
MIT
JavaScript
Sep 23, 2026
dsh plugin --profile web add dsh-laterMessage recall for DeepSeek Harness (dsh): cut the conversation back to before a message you already sent, and put its text back in the composer.
★ 0
MIT
TypeScript
dsh plugin --profile web add @jochenyang/dsh-rewind-pluginby XBXyftx
Cross-session messaging plugin for DeepSeek Harness: let user-launched sessions in one workspace message each other and coordinate tasks, write scopes, and conflicts.
★ 0
MIT
TypeScript
Oct 18, 2026
dsh plugin --profile web add dsh-session-messagingby huangxp12
Recent sessions across every workspace in one panel for DeepSeek Harness (DSH) - plus deferred notes that come back when you reopen the conversation.
★ 2
MIT
JavaScript
Oct 10, 2026
dsh plugin --profile web add dsh-recent-sessionsby adithyanraj03
Schedule a message into a dsh chat for later: a Schedule button in the message box with a date and time picker, a sidebar panel of pending messages across chats, delivery as a normal user message even
★ 2
↓ 184/wk
MIT
JavaScript
Oct 28, 2026
dsh plugin --profile web add dsh-schedule-later