dsh-unitverse 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.en.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  This project follows [Semantic Versioning](https://semver.org/). Chinese version: [CHANGELOG.md](CHANGELOG.md).
4
4
 
5
+ ## [1.1.1] - 2026-09-10
6
+
7
+ ### Added
8
+
9
+ - Added the `dsh.marketplace` declaration to `package.json` (`profiles: ["web"]`, `requiresBuildApproval: false`, `requiresRestart: true`, `manualSteps: false`). The field was missing while every sibling plugin already declared it: community market registries read it to decide which profiles a plugin maps to and whether installing it needs build approval, a restart or manual steps. The values match the plugin's real behaviour — runtime artifacts are committed and there are no `preinstall` / `install` / `postinstall` / `prepare` lifecycle scripts, so no build approval is needed; the plugin ships a web client, which the registry rule maps to `web` only; the host-side tool needs a restart to take effect; installation has no manual steps.
10
+
11
+ ### Release
12
+
13
+ - npm: `dsh-unitverse@1.1.1`
14
+ - GitHub: https://github.com/runcat-tommy/dsh-unitverse
15
+
5
16
  ## [1.1.0] - 2026-09-10
6
17
 
7
18
  The web converter view kept working, but the model-facing `convert` tool **rejected every single call** since 0.1.0 because of host output validation. This release fixes that blocking defect and repairs the temperature-difference (Δ) output and error text.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  本项目遵循[语义化版本](https://semver.org/lang/zh-CN/)。英文版见 [CHANGELOG.en.md](CHANGELOG.en.md)。
4
4
 
5
+ ## [1.1.1] - 2026-09-10
6
+
7
+ ### 新增
8
+
9
+ - `package.json` 补上 `dsh.marketplace` 市场声明(`profiles: ["web"]`、`requiresBuildApproval: false`、`requiresRestart: true`、`manualSteps: false`)。此前该字段缺失,而其余同类插件均已声明:它供社区市场 Registry 判断插件可映射到哪些 Profile、安装是否需要构建授权 / 重启 / 手工步骤。字段取值与插件实际行为一致——运行产物已随仓库提交、无 `preinstall`/`install`/`postinstall`/`prepare` 生命周期脚本,故无需构建授权;插件带 Web client,按 Registry 规则只映射到 `web`;宿主侧工具需重启生效;安装无手工步骤。
10
+
11
+ ### 发布
12
+
13
+ - npm:`dsh-unitverse@1.1.1`
14
+ - GitHub:https://github.com/runcat-tommy/dsh-unitverse
15
+
5
16
  ## [1.1.0] - 2026-09-10
6
17
 
7
18
  Web 换算视图一直可用,但模型调用的 `convert` 工具自 0.1.0 起**每次调用都会被宿主校验拒绝**——本次修复该致命问题,并修正温度温差(Δ)的输出与报错。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-unitverse",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "DSH plugin: universal unit conversion across length, area, volume, time, angle, speed, temperature, pressure, energy and power, with Chinese/English aliases. 单位换算 DSH 插件(长度/面积/体积/时间/角度/速度/温度/压力/热量/功率,支持中英文单位名)。",
5
5
  "keywords": [
6
6
  "dsh",
@@ -66,6 +66,14 @@
66
66
  "@deepseek-ai/dsh-client-ui-slots",
67
67
  "@deepseek-ai/dsh-client-ui-conversation"
68
68
  ]
69
+ },
70
+ "marketplace": {
71
+ "profiles": [
72
+ "web"
73
+ ],
74
+ "requiresBuildApproval": false,
75
+ "requiresRestart": true,
76
+ "manualSteps": false
69
77
  }
70
78
  },
71
79
  "peerDependencies": {