Skip to content

Releases: OPaimon/dsh-model-gate

v0.1.2

Choose a tag to compare

@OPaimon OPaimon released this 23 Aug 19:12

Release v0.1.2 — first feature release.

  • feat: bilingual settings UI (zh/en via dsh-client-locale)
  • fix: peerDependency ranges admit harness prerelease builds (was '*' -> ERESOLVE on -rc)
  • docs: UI screenshots (settings panel, picker deny flow, dispatch block)

npm: 0.1.2 (0.1.1 deprecated)

v0.1.1

Choose a tag to compare

@OPaimon OPaimon released this 23 Aug 16:49

dsh-model-gate v0.1.1

Now on npm. Install with a single command:

dsh plugin --profile web add dsh-model-gate

No functional changes since v0.1.0 — this release adds the npm distribution channel plus package metadata (repository / keywords / license file now shipped in the tarball). The Release tarball below stays byte-equivalent in content to the npm artifact.

已上架 npm,一条命令安装(见上)。相对 v0.1.0 无功能变更:本版本新增 npm 分发通道与包元数据(repository / keywords / LICENSE 随包分发)。下方 tgz 与 npm 包内容一致。

Verified

  • DSH 0.1.x-rc, web profile · unit tests 17/17

v0.1.0

Choose a tag to compare

@OPaimon OPaimon released this 23 Aug 16:16

dsh-model-gate v0.1.0

Single-model disable gate for DSH. Deny whole provider routes or exact provider/model pairs — denied models disappear from every discovery path (web selector, session/task model catalogs, API request validation), and any dispatch that still reaches them terminates with a single in-protocol MODEL_DISABLED error chunk. Non-destructive overlay: removing entries or the plugin restores everything exactly. Ships a web settings section「模型门禁」reading the unfiltered catalog with per-model switches.

面向 DSH 的单模型禁用门禁:按整条 provider 路由或精确 provider/model 配置拒绝名单——被禁模型从一切发现路径消失,仍到达的调用以协议内 MODEL_DISABLED 错误 chunk 终止。非破坏性覆盖层,卸载即原样恢复。附设置页「模型门禁」面板(读未过滤目录,逐模型开关)。

Install

tar -xzf dsh-model-gate-0.1.0.tgz    # -> ./package/
dsh plugin --profile web add ./package
# restart DSH once; denylist edits afterwards hot-apply

Prebuilt lib/ included — no build step, no pnpm allowBuilds prompt.

Verified

  • DSH 0.1.x-rc, web profile · unit tests 17/17
  • Discovery hiding across selector / task_models / catalogs / API validation
  • Dispatch backstop, including star-wildcards on dedicated routes
  • Uninstall zero-residue · denylist persists across restarts