@aiwayds/dsh-model-sync 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.
package/README.md CHANGED
@@ -6,6 +6,10 @@
6
6
 
7
7
  A dsh (DeepSeek Harness) Cordis plugin that keeps the model catalog of your `llm-pi-ai` provider routes in step with the pi.dev gateway's model listing — written into dsh `settings.yaml` through the official settings seam (`settings.mutate`), with zero patches to dsh internals.
8
8
 
9
+ https://github.com/user-attachments/assets/c3f9c8b1-ea5e-470c-b8a8-60a81fc5c20a
10
+
11
+ *A live recording of a dsh session running `/model-sync` (MP4, 1.5× speed) — drop reasons, per-route sync statuses and the change report in action. More demos in the [Demos issue](https://github.com/fan56/dsh-model-sync/issues/1).*
12
+
9
13
  ## Why
10
14
 
11
15
  Model lists drift: providers ship new models, retire old ones, and adjust capabilities (`contextWindow`, `input` modalities, `thinkingFormat`, reasoning efforts). Keeping them in sync by hand is error-prone busywork. dsh-model-sync does it for you:
package/README.zh-CN.md CHANGED
@@ -6,6 +6,10 @@
6
6
 
7
7
  一个 dsh(DeepSeek Harness)Cordis 插件:把 `llm-pi-ai` 各 provider 路由的模型目录与 pi.dev 网关的模型列表保持同步,并通过官方 settings 接缝(`settings.mutate`)写进 dsh 的 `settings.yaml`——对 dsh 内部零补丁。
8
8
 
9
+ https://github.com/user-attachments/assets/c3f9c8b1-ea5e-470c-b8a8-60a81fc5c20a
10
+
11
+ *一段 dsh 会话里运行 `/model-sync` 的实录(MP4,1.5× 速度)——丢弃原因、各路由同步状态与变更报告一览。更多 demo 见 [Demos issue](https://github.com/fan56/dsh-model-sync/issues/1)。*
12
+
9
13
  ## 为什么
10
14
 
11
15
  模型列表会漂移:provider 不断上架新模型、下线旧模型、调整能力字段(`contextWindow`、`input` 模态、`thinkingFormat`、reasoning efforts)。靠手工跟进既枯燥又容易出错,dsh-model-sync 替你做完这一切:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiwayds/dsh-model-sync",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "dsh plugin: keep llm-pi-ai provider routes' model lists in step with the pi.dev gateway, written through the official settings seam",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -8,6 +8,7 @@
8
8
  "license": "MIT",
9
9
  "keywords": [
10
10
  "dsh",
11
+ "dsh-plugin",
11
12
  "plugin",
12
13
  "model",
13
14
  "sync",
@@ -30,7 +31,7 @@
30
31
  "build": "tsc -p tsconfig.json",
31
32
  "check": "tsc --noEmit -p tsconfig.json",
32
33
  "pretest": "tsc -p tsconfig.json",
33
- "test": "node --test test/diff.test.mjs test/translate.test.mjs test/writer.test.mjs test/remote-catalog.test.mjs test/serviceability.test.mjs test/command.test.mjs"
34
+ "test": "node --test test/diff.test.mjs test/translate.test.mjs test/writer.test.mjs test/remote-catalog.test.mjs test/serviceability.test.mjs test/command.test.mjs test/real-cordis.test.mjs"
34
35
  },
35
36
  "dependencies": {},
36
37
  "peerDependencies": {