Skip to content

v1.8.1 - 声明宿主要求 engines.dsh >= 0.1.5-rc.1

Choose a tag to compare

@Alan2Z Alan2Z released this 10 Sep 15:42
· 4 commits to main since this release

中文

声明宿主要求,让 dsh-market 能读到。

  • package.json 增加 engines.dsh: >=0.1.5-rc.1。市场的插件卡片与「适配当前 DSH」筛选只读 npm manifest 里的 engines.dsh(或同版本线的 @deepseek-ai/dsh* peer),此前本插件显示「未声明宿主要求」
  • 新增 scripts/test-manifest.js 并挂进 npm test / prepublishOnly:断言宿主要求取值、两份 README 与 package.json 同步、bundle patch 注册的 id/name、dsh.client 的 inject/external、files[]/main/exports 路径都存在
  • 无行为变更:引擎与宿主代码未动

English

Declare the host requirement so dsh-market can read it.

  • package.json gains engines.dsh: >=0.1.5-rc.1. The market's plugin card and its "compatible with current DSH" filter read exactly engines.dsh from the npm manifest (or a lockstep @deepseek-ai/dsh* peer); the entry previously read "host requirement undeclared"
  • New scripts/test-manifest.js, wired into npm test / prepublishOnly: asserts the declared floor, that both READMEs and package.json agree on it, the id/name the bundle patch registers, dsh.client's inject/external, and that every files[] / main / exports path exists
  • No behaviour change: engine and host code are untouched

npm: dsh-speak@1.8.1