dsh-model-params 0.1.4 → 0.1.5

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.
Files changed (2) hide show
  1. package/README.md +17 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## English
4
4
 
5
- **Current release: 0.1.4** — models.dev parameter assistant inside the official DeepSeek Harness Models settings page.
5
+ **Current release: 0.1.5** — models.dev parameter assistant inside the official DeepSeek Harness Models settings page. This release adds a documented install path: `dsh plugin --profile web add dsh-model-params`.
6
6
 
7
7
  For every configured `llm-pi-ai` provider card (custom OpenAI-compatible gateways such as the ones you add under Settings → Models), a `models.dev 参数` control fetches the official models.dev records for the provider's configured model ids and proposes the metadata pi-ai needs: context window, max output tokens, and reasoning-effort levels. One click writes the merged `models` array back to that provider profile through the official revision-aware Settings API.
8
8
 
@@ -25,6 +25,22 @@ models.dev model ids may collide across catalog providers; the matcher prefers t
25
25
  - Host 只负责拉取并缓存 models.dev 目录(6 小时,支持公共代理或 `HTTPS_PROXY` 回退),不接触任何 LLM 配置与凭据。
26
26
  - models.dev 未收录的模型 id 会明确标记,不写入。
27
27
 
28
+ ## Install
29
+
30
+ ```powershell
31
+ dsh plugin --profile web add dsh-model-params
32
+ ```
33
+
34
+ Restart the existing DSH Web process afterwards: the Host scans the browser plugin roster at startup, so the provider-card control appears only after that restart. Then open **Settings → Models** and look for `models.dev 参数` on a configured provider card.
35
+
36
+ Local development, from this package directory:
37
+
38
+ ```powershell
39
+ dsh plugin --profile web add .
40
+ ```
41
+
42
+ Either form records the package in the profile's `dsh.profile.bundles`, which is what mounts the Host lookup route and serves the client bundle.
43
+
28
44
  ## Development
29
45
 
30
46
  From this directory run:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-model-params",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "EN: models.dev parameter assistant for the official DeepSeek Harness Models page: per-provider one-click context / max-output / reasoning-effort fill. ZH: 官方模型设置页的 models.dev 参数助手:按 provider 一键补全上下文、max 输出与推理档位。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",