Repository navigation
Releases: ly6170/dsh-messager
Release list
v0.3.6
中文
v0.3.6 适配 DSH Desktop,继续支持 DSH 0.2.0-rc.1 及兼容的 0.2.x 版本。现有通知配置无需迁移。安装或升级后请重启 DSH。
- 修复桌面版保存配置时的 403:配置路由改用宿主鉴权,并阻止未经认证的本机请求读取配置。无宿主连接服务时保留来源校验。
- 桌面版默认关闭 host 系统通知,改由应用窗口发送通知;用户显式设置优先。「系统通知」开关仍可用,供应用通知被系统丢弃时手动启用。
- 桌面窗口失焦时可收到当前会话完成提醒;应用通知也覆盖任务出错。
- 移除
message.guiUrl及各推送通道和浏览器通知中的跳转链接。升级后推送只包含标题与正文。
English
v0.3.6 adds DSH Desktop support and continues to support DSH 0.2.0-rc.1 and compatible 0.2.x releases. Existing notification settings need no migration. Restart DSH after installing or upgrading.
- Fixes HTTP 403 when saving settings in the desktop app. The config route now uses host authentication and rejects unauthenticated local reads; deployments without the host connection service retain the origin guard.
- Defaults host system notifications to off in the desktop app and sends notifications from the app window instead. Explicit user settings take precedence. The System notifications switch remains available as a fallback if the OS drops app notifications.
- Sends completion notices for the open session when the desktop window loses focus, and covers task errors in app notifications.
- Removes
message.guiUrland links from all push channels and browser notifications. Messages now contain a title and body only.
v0.3.5
中文
适配 DeepSeek Harness(DSH)0.2.0-rc.1。请先升级 DSH,再升级本插件。
v0.3.4 使用的 ^0.1.7-rc.1 peer 范围不包含 DSH 0.2.0-rc.1;DSH 的 bundle 兼容性检查因此会跳过整个插件。v0.3.5 将 47 项 @deepseek-ai/dsh-* peer 依赖及对应开发依赖更新为 ^0.2.0-rc.1,覆盖兼容的 0.2.x 版本。其他配套依赖及插件逻辑未改动,无需迁移或重置通知配置。
验证:pnpm install、pnpm peers check、pnpm typecheck、pnpm test(147/147)、pnpm build、pnpm pack --dry-run 均通过;DSH 0.2.0-rc.1 的兼容性检查和 profile 加载检查通过。实际重启 DSH 后的设置页与配置路由验收尚未进行。
English
Adds support for DeepSeek Harness (DSH) 0.2.0-rc.1. Upgrade DSH before upgrading this plugin.
The ^0.1.7-rc.1 peer range in v0.3.4 excludes DSH 0.2.0-rc.1, causing DSH to skip the entire plugin bundle during compatibility checks. v0.3.5 updates all 47 @deepseek-ai/dsh-* peer ranges and matching development dependencies to ^0.2.0-rc.1, covering compatible 0.2.x releases. Companion dependencies and plugin logic are unchanged; notification settings need no migration or reset.
Verified: pnpm install, pnpm peers check, pnpm typecheck, pnpm test (147/147), pnpm build, and pnpm pack --dry-run passed. Compatibility and profile loading checks passed against DSH 0.2.0-rc.1. The settings page and config route have not yet been checked after a DSH restart.
v0.3.4
dsh-messager v0.3.4 适配 DeepSeek Harness 0.1.7-rc.1,更新兼容范围并对齐配套依赖,修复插件因 bundle 兼容性检查而被跳过的问题。使用 0.1.7-alpha.1 或更早 DSH 的用户,请先升级 DSH;现有通知配置无需迁移。
dsh-messager v0.3.4 supports DeepSeek Harness 0.1.7-rc.1, updates peer dependency ranges, and aligns companion packages to prevent the plugin from being skipped by the bundle compatibility check. Users on DSH 0.1.7-alpha.1 or earlier should upgrade DSH first. Existing notification settings require no migration.
v0.3.3
修复通知配置热更新与浏览器通知问题,并改进设置表单的保存体验。
更新内容
- Host 通知在每次投递时读取最新配置,设置变更可立即生效。
- 浏览器配置加载失败时默认关闭通知,避免意外推送。
- 浏览器通知现在遵循触发类型开关;标签页恢复可见时会重新拉取配置。
- 设置表单的保存操作保持可见,并显示未保存的修改数量。
兼容性 - 仅支持 DSH 0.1.7-alpha.1。
- v0.3.3 不改变插件配置格式,无需重置现有通道配置。
Fixes notification configuration updates and browser notification behavior, with an improved settings form save experience.
Changes
- Host notifications read the latest configuration at delivery time, so settings changes take effect immediately.
- Browser notifications stay disabled if configuration loading fails.
- Browser notifications now respect trigger filters, and configuration refreshes when a background tab becomes visible.
- Save controls remain visible in the settings form, which also shows the number of unsaved changes.
Compatibility - Supports DSH 0.1.7-alpha.1 only.
- v0.3.3 does not change the plugin configuration format; existing channel settings do not need to be reset.
v0.3.2
dsh-messager v0.3.2 适配 DeepSeek Harness 0.1.7-alpha.1,更新了 host 配置接入方式和 client 会话状态 API。此版本为破坏性更新,与旧版 DSH 不兼容。仍在使用旧版 DSH 的用户请勿升级;请继续使用 v0.3.1,或先将 DSH 升级到 0.1.7-alpha.1。
dsh-messager v0.3.2 adds compatibility with DeepSeek Harness 0.1.7-alpha.1, updating host settings integration and client session status APIs. This is a breaking update and is incompatible with older DSH versions. If you are using an older DSH version, do not upgrade; stay on v0.3.1 or upgrade DSH to 0.1.7-alpha.1 first.
v0.3.1
v0.3.0
dsh-messager v0.3.0
中文
发布说明
dsh-messager v0.3.0 完成了对 DeepSeek Harness 0.1.2-alpha.5 的兼容升级。
主要更新
- 升级全部
@deepseek-ai/dsh-*依赖至0.1.2-alpha.5 - 移除已废弃的
dsh-client-runtime - 使用新的
dsh-api-session-controller管理客户端会话列表 - 使用
dsh-client-ui-session获取交互状态 - 使用
dsh-client-ui-renderer提供槽位服务 - 更新设置页「通知&信使」配置分区
- 保持系统通知、浏览器通知及第三方消息通道功能:
- 飞书
- 企业微信
- Discord
- 钉钉
- Telegram
兼容性
- 插件版本:
0.3.0 - 支持的 DSH 版本:
0.1.2-alpha.5 - 不再兼容旧版 DSH
0.1.1-rc.2 - 不再依赖
dsh-client-runtime
Release Notes
dsh-messager v0.3.0 adds compatibility with DeepSeek Harness 0.1.2-alpha.5.
Highlights
- Upgraded all @deepseek-ai/dsh-* dependencies to 0.1.2-alpha.5
- Removed the deprecated dsh-client-runtime
- Switched client session list integration to dsh-api-session-controller
- Switched interaction state integration to dsh-client-ui-session
- Switched slot service integration to dsh-client-ui-renderer
- Updated the “Notifications & Messengers” settings section
- Continued support for:
- Feishu
- WeCom
- Discord
- DingTalk
- Telegram
Compatibility
- Plugin version: 0.3.0
- Supported DSH version: 0.1.2-alpha.5
- Older DSH 0.1.1-rc.2 is no longer supported
- dsh-client-runtime is no longer required
v0.2.1
v0.2.1 — DSH 0.1.1-rc.2 compatibility / 兼容 DSH 0.1.1-rc.2
English
Highlights
- All
@deepseek-ai/dsh-*peerDependencies upgraded from0.1.0-rc.6to0.1.1-rc.2. - Aligns with the DSH release line where the legacy APIProxy surface has been removed in favor of the unified
@Remotegateway. - No plugin source changes required: client-side event subscriptions already use
ctx.remote.$on(@Remote/Typert), and config read/write goes through the plugin's own/dsh-messager/configwebServer route. - Added the type-surface peers required by
dsh-api-remotes@0.1.1-rc.2(api-gateway,credentials,llm,commands,typert-registry, etc.), so client-side Typert declaration merging stays complete (e.g. typedsettings/document-updatedsubscriptions). - Updated docs and dependency files: README / README.en compatibility notes, AGENTS.md dev notes, pnpm workspace and lockfile.
中文
主要变更
- 全部
@deepseek-ai/dsh-*peerDependencies 从0.1.0-rc.6升级到0.1.1-rc.2。 - 对齐 DSH 移除旧调用接口 APIProxy、统一使用
@Remote网关的版本线。 - 插件无需源码改造:客户端事件订阅已走
ctx.remote.$on(@Remote/Typert),配置读写走插件自身 webServer 路由/dsh-messager/config,均不依赖旧 APIProxy 面。 - 补齐
dsh-api-remotes@0.1.1-rc.2所需的类型面 peer(api-gateway、credentials、llm、commands、typert-registry等),保证 client 端 Typert 类型声明合并完整(如settings/document-updated可类型化订阅)。 - 同步文档与依赖文件:README / README.en 新增版本兼容说明,AGENTS.md 补充开发注意事项,更新 pnpm workspace 与 lockfile。
v0.2.0
✨ 新增:4 个第三方推送通道
| 通道 | 消息形态 | 签名/鉴权 | 成功判定 |
|---|---|---|---|
| 企业微信 (WeCom) | markdown(加粗标题 + 正文 + 打开链接) | 可选加签(HMAC-SHA256,无需 URL 编码) | HTTP 2xx 且 errcode === 0 |
| Discord | embed 卡片 | webhook URL(<id>/<token>) |
HTTP 2xx |
| 钉钉 (DingTalk) | actionCard | 可选加签(HMAC-SHA256 + URL 编码) | HTTP 2xx 且 errcode === 0 |
| Telegram | Bot API sendMessage(HTML) |
bot token 走 URL 路径 | HTTP 2xx 且 ok === true |
新增配置字段(均默认关闭,与飞书同构):wecom. / discord. / dingtalk. / telegram. 各自的 enabled、webhookUrl(Telegram 为 botToken + chatId)、secret、timeoutMs、verbosity。
🎛 设置表单升级:Switch 门控
- 所有开关字段渲染为手写 iOS 风格 Switch(
--dsw-alias-*主题变量,无 primitives 依赖); - 门控(hiddenUnless):通道
enabled关闭时,其子配置字段不渲染、草稿不参与保存计划——表单更干净,也避免误配。
🧪 测试
- 91 → 126 个单元测试:4 个新通道的载荷构建/签名/成功判定(含已知答案向量)、Switch 门控表单、配置默认值;
- 全部通过(15 个测试文件)。
📚 文档与工程
- README 双语(中/EN)全面更新:新通道配置表、触发信号映射、本地开发、项目结构;
- 新增
AGENTS.md(AI 助手开发指南);安装指南覆盖新通道配置示例; cordis.yml/cordis.patch.yml补充新通道注释模板;- 依赖零新增(全部使用
fetch+node:crypto)。
升级提示:设置文档/设置页均兼容旧配置,feishu 等既有字段不变;新通道默认关闭,按需在设置页「通知&信使」分区启用即可。
v0.1.4
v0.1.4 — 国际化设置面板 + webServer 配置路由 / i18n settings section + webserver config route
【中文】
v0.1.4 主要更新:设置页「通知&信使」分区完成国际化,并改用插件自带的 webServer 配置路由("/dsh-messager/config"),彻底废弃此前的 patch-host.mjs 白名单补丁路线。
特性:
- 国际化:分区菜单与表单随 DSH 语言切换(简体中文 / English),经 ctx.locale 注册 zh/en 字典
- 配置路由:设置分区读写走插件自有 webServer 路由(同源校验 + 脱敏视图),不依赖 DSH 设置白名单,发行版 / npx / npm 安装开箱即用、无需任何补丁
- 快捷入口:浏览器快捷键 Ctrl+Shift+M 打开设置面板(不依赖 apiproxy 白名单)
- 已删除:patch-host.mjs、src/client/messager-card.tsx
- 新增:src/config-route.ts、src/config-shared.ts、src/client/{fetch-scope,locales,section,settings-form}.tsx 等;测试新增 config-route / fetch-scope / locales 用例
版本与发布:
- 本次为首次 npm 发布,版本 0.1.4(package.json 附带 publishConfig / prepublishOnly / keywords)
- npm install 方式:npm i dsh-messager;或 DSH 内:dsh plugin --profile web add dsh-messager
- 分布式构建产物 lib/ 已含,安装无需构建授权
- GitHub:main = f8cfd8d,tag v0.1.4
- 测试:pnpm test 91/91 通过
安装:
npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-messager
npx -p @deepseek-ai/dsh dsh web
或已装 DSH CLI:
dsh plugin --profile web add dsh-messager
dsh web
【English】
v0.1.4 brings a fully internationalized "Notifications & Messenger" settings section backed by the plugin's own webserver config route (/dsh-messager/config), completely retiring the earlier patch-host.mjs allowlist-patch approach.
Features:
- i18n: the section menu and form follow the DSH display language (Simplified Chinese / English) via ctx.locale (zh/en dictionaries)
- Config route: the settings section reads/writes through the plugin's webserver route (same-origin + sanitized view), independent of the DSH settings allowlist — works out of the box on release / npx / npm installs, no patch needed
- Shortcut: browser Ctrl+Shift+M opens the settings panel (no apiproxy allowlist dependency)
- Removed: patch-host.mjs, src/client/messager-card.tsx
- Added: src/config-route.ts, src/config-shared.ts, src/client/{fetch-scope,locales,section,settings-form}.tsx, plus config-route / fetch-scope / locales test suites
Release:
- First npm release: version 0.1.4 (package.json now includes publishConfig / prepublishOnly / keywords)
- Install via npm: npm i dsh-messager; or in DSH: dsh plugin --profile web add dsh-messager
- Prebuilt lib/ shipped — no build approval required
- GitHub: main = f8cfd8d, tag v0.1.4
- Tests: pnpm test 91/91 pass
Install:
npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-messager
npx -p @deepseek-ai/dsh dsh web
Or with an installed DSH CLI:
dsh plugin --profile web add dsh-messager
dsh web