Skip to content

Releases

工具闸门 · Toolgate 0.1.8 · DSH rc.5 默认与 0.2.2-rc.1 验证

Choose a tag to compare

@jidekaixin2dian jidekaixin2dian released this 06 Nov 05:52
f09a8f8

0.1.8 — 2026-11-06

  • 默认固定宿主 rc.4 → rc.5,兼容验证扩展到 DSH 0.2.2-rc.1(保留 rc.2–rc.4 回归)。
  • scripts/host.mjs 按条目携带完整 tag(0.2.2 行不再复用 dsh-v0.2.1- 前缀拼接);宿主目录缺失时给出 setup 提示而非 TypeError。
  • 0.2.2 的统一右键菜单、设置页图标槽与 tools/PTC 重构不触及本插件的绑定面(插件只调 tools.restrict,从不调 tools.execute),12 项宿主/浏览器套件在 rc.5 与 0.2.2-rc.1 上全过。

验证

  • 单测 42/42;宿主套件 rc.5 12/12、rc.4 12/12、0.2.2-rc.1 12/12;CI 五档宿主矩阵全绿。
  • 归档 SHA-256:fd983554816cee4fa6f3f30e6eddd88c9cf77af774ad0f63ff0c2d3e338dbc6b

0.1.7

Choose a tag to compare

@jidekaixin2dian jidekaixin2dian released this 02 Nov 15:28
a456723

修复

0.1.6 新增的「项目与反馈」块直接读取 ctx.locale,但插件没有声明 locale 服务。较新的宿主(DSH 0.2.1-rc.5 实测)对未声明服务的属性读取直接抛错:

Error: cannot get property "locale" without inject
slot entry crashed in 'settings.section'

该块与主页面共用同一个 settings.section 条目,抛错后整个条目被 SlotErrorBoundary 兜掉。表现是:设置侧栏里有「工具闸门」,点进去只有一片空白。

  • inject 中声明 locale,使 ctx.locale 可读
  • 该读取包在 try/catch 里,失败时回退 navigator.language,与已有的 safeInterval / safeTimeout 对可选服务的处理保持一致

验证

  • node --test 42/42;新增 test/client-render.test.js 3 项——在未修复的源码上会失败并打印 cannot get property "locale" without inject,修复后通过(已实际回退验证)
  • npm run pack:check:22 文件白名单与隔离安装通过
  • 真机:隔离 DSH 实例中修复前该 section 渲染出 data-slot-error,修复后渲染 41 个 cb-* 元素、token 统计与工具分组列表,控制台无报错
  • PR #10 的 4 项必需检查(unit/host × ubuntu/windows)全部通过

归档

dsh-toolgate.tgz — 22 文件,SHA-256 5d8ee427fceb85181a78734227886126669805216e86a751b66891ce34e6d753

未覆盖

日常桌面 Electron profile 的端到端复测由用户重启后确认;npm 发布走 npm-publish.yml(OIDC)。

工具闸门 · Toolgate 0.1.6

Choose a tag to compare

@jidekaixin2dian jidekaixin2dian released this 31 Oct 07:12
ea5361f

工具闸门 · Toolgate 0.1.6

  • 设置页新增「GitHub 项目」「反馈问题」入口,预算、MCP、Skills 三个标签页均可使用。
  • 入口位于主页面错误边界之外,便于设置区加载失败时找到项目反馈。
  • 完善中英文详情名称、简介及 README;不改变 MCP、Skill 或预算行为。

Requires DSH >=0.2.1-rc.2 and Node >=24. Windows/Linux CI retains rc.2/rc.3/rc.4 coverage.

在插件市场检查更新后升级并重启 DSH。旧归档或本地安装用户可退出 DSH 后使用:

dsh plugin --profile desktop add @jidekaixin2dian/dsh-toolgate@0.1.6

Add bilingual project and issue links across settings tabs, preserving existing tool-management behavior.

Toolgate 0.1.5 · npm 更新与 rc.4 验证

Choose a tag to compare

@jidekaixin2dian jidekaixin2dian released this 28 Oct 04:22
d092262

维护安装、更新与 npm 分发,新增 DSH 0.2.1-rc.4 兼容验证。运行时代码与上一版本一致;旧版本标签与附件保持原样。

  • 使用市场支持的 npm / GitHub 来源检测新版本,用户点击后更新;不静默后台升级。
  • 新 tag 对应 main,发布前完整 CI 成功;22 文件归档逐一匹配标签。GitHub 与 npm 使用同一份归档。
  • 旧压缩包或本地安装可按 README 在同一 profile 切换到 npm。更新和 profile 锁沿用官方安装器。
  • rc.4 本地验证:File Actions 20 项浏览器/文件测试;Toolgate 12 项认证/设置页测试(rc.2/rc.3 也各 12 项);Team Flow 严格类型检查与 18 项运行测试。完整 Desktop 按钮链路和真实模型效果未冒充验收。
English

Maintain update delivery and npm distribution, with pinned DSH rc.4 compatibility checks. Runtime behavior is unchanged. The archive matches its immutable tag and is shared by GitHub and npm. Updates use the official market/installer; legacy archive installs can migrate once to npm. Full Desktop UI and real-model behavior are not newly certified.

Toolgate 0.1.4 · 说明与更新入口

Choose a tag to compare

@jidekaixin2dian jidekaixin2dian released this 25 Oct 16:33
229ed84

本次整理了面向用户的中英文 README:功能、安装更新与三步使用更容易查找,开发和发布细节移到独立文档。配置写入、备份、密钥和工具隐藏的边界仍保留在首页。

  • 运行时代码与 0.1.3 相同;包含之前未发包的最低宿主声明和 rc.2 / rc.3 兼容验证配置。
  • GitHub 源安装可由市场按 package 版本检查更新。旧压缩包安装可按 README 切换来源;市场上游条目仍待提交/收录。
  • 单测 36/36,Windows/Linux 单元、宿主、浏览器及包安装检查通过;22 个归档文件匹配标签源码。
  • token 估算和示意图不代表费用或速度实测;完整 Desktop 外壳与真实模型效果未验收。
English

Refresh the bilingual product README and install/update guidance, with development details in a separate document. Runtime behavior is unchanged from 0.1.3. Includes the previously unreleased DSH rc.2/rc.3 compatibility metadata. Unit, host/browser and isolated package checks pass; the 22-file archive matches the tag. Marketplace source adoption is pending upstream.

v0.1.3 — 审计日志与备份保留

Choose a tag to compare

@jidekaixin2dian jidekaixin2dian released this 24 Oct 00:42
9eff0bb

安全加固发布:管理操作可审计、备份不再无限累积、模型工具可设为只读。

本次更新

  • 新增 append-only 操作审计日志 DSH_HOME/toolgate-audit.jsonl:每次管理写入一行 JSON(操作、目标、结果、时间),永不记录 env/headers 秘密值;超过 1 MiB 轮转,写入失败不阻塞被记录的操作。
  • 配置备份只保留最近 20 份:仅在写入成功后裁剪,失败写入保留恢复副本;只删除精确匹配时间戳-uuid 命名的目录。
  • 新增插件配置 allowSessionOverride(默认 true):设为 false 时模型工具只读,提示注入无法隐藏工具组;全局闸门仍由认证过的设置页管理。
  • 管理接口收紧:mcp-add / mcp-edit 只接受文档化的 { row } 形态,扁平探测形态按正常校验错误拒绝。

验证

  • 单元测试 36/36(新增备份保留 2 项、payload 拒绝 1 项)。
  • 真实宿主集成 11 通过 / 1 跳过(浏览器门控项),含新增的会话覆盖开关与审计行断言。
  • 22 个发布文件通过打包白名单与真实隔离安装。
  • Release integrity 校验随本发布自动运行。

没有增加运行时依赖。

安装

dsh plugin --profile <profile> add https://github.com/jidekaixin2dian/dsh-toolgate/releases/latest/download/dsh-toolgate.tgz

v0.1.2 — 发布来源一致性与验证稳定性

Choose a tag to compare

@jidekaixin2dian jidekaixin2dian released this 23 Oct 16:02

修正发布来源的一致性:0.1.1 的上传安装包已经包含客户端作用域隔离,但其 Git 标签漏了这项修复。0.1.2 的标签、源码与安装包现已对齐,历史标签和附件保留原样。

本次更新

  • 完整包含与其他插件一起加载时的浏览器脚本作用域隔离修复。
  • 增加自动 Release integrity 检查:核对标签版本、包内文件清单及内容与标签源码,并验证 GitHub 下载摘要;只允许 Windows Git checkout 换行差异。
  • 更新中英文安装说明与安全说明,移除界面中过时的版本文字。
  • 浏览器回归按启动、导航、操作分别设等待上限并记录各阶段耗时;整个端到端场景采用独立预算,其余测试与功能断言保持原样。

验证

  • 本地单元测试 32/32;真实认证、配置、Skill 与浏览器测试 10/10。
  • 发布检查器 6 项回归:正常包、CRLF、源码漂移、文件缺失、版本漂移、二进制漂移和异常路径。
  • 21 个发布文件通过打包白名单、真实隔离安装及 Git 源码比对。
  • Windows/Linux CI。

没有增加运行时依赖。本轮没有重装或启动用户的 Desktop profile;测试不代表全部真实模型、MCP 服务或完整 Desktop 验收。

安装

完全退出 DSH 后运行,再重新打开:

dsh plugin --profile desktop add https://github.com/jidekaixin2dian/dsh-toolgate/releases/latest/download/dsh-toolgate.tgz

发布提交:778528c13619d3ecf2a9658b7ef192b35203c386。附件含安装包、SHA256 与包文件审计清单。

v0.1.1 — 启动冲突修复

Choose a tag to compare

@jidekaixin2dian jidekaixin2dian released this 22 Oct 19:20

发布来源提示: 本版本上传安装包已包含启动冲突修复,但 Git 标签源码漏了这项修复。请使用 0.1.2 或之后版本。历史标签与附件保留原样。

本次更新

修掉与 dsh-file-actions 同时安装时的启动报错,并把 0.1.0 之后未发布的修复一并带上。

修复

  • 两个插件的浏览器脚本都在顶层声明 const factory,DSH 合并加载时重名冲突,导致启动失败。现在各自隔离作用域,并加了重复加载的回归测试。
  • 设置写入失败时回滚 Skill 变更,不再留下改了一半的配置。
  • 管理请求必须经过宿主认证;配置编辑保留原有注释并先做备份。

验证

  • 单测 32/32
  • 宿主集成 9 通过 / 1 跳过
  • 打包检查通过(21 个文件,隔离安装)

安装:

dsh plugin --profile desktop add https://github.com/jidekaixin2dian/dsh-toolgate/releases/latest/download/dsh-toolgate.tgz

v0.1.0

Choose a tag to compare

@jidekaixin2dian jidekaixin2dian released this 19 Oct 17:17

历史版本说明: 本版本缺少后续管理认证、配置完整性和生命周期修复。请使用 最新版本。历史附件保持原样。

Toolgate v0.1.0

Manage MCP servers and skills in DeepSeek Harness, and control which tools enter the next prompt.

What it does

  • MCP servers: add, edit, remove, enable or disable through the normal cordis.patch.yml; HMR applies the change.
  • Skills: search, create, delete, toggle one skill.
  • Tool budget: hide a whole MCP tool group from the next prompt with ctx.tools.restrict; restore it instantly, without restarting the MCP process.

Install

dsh plugin --profile <profile> add github:jidekaixin2dian/dsh-toolgate

The desktop app needs a restart after installing or updating the host or client half. There is no browser-style Ctrl+R hard refresh.

Links