@aiwayds/dsh-model-sync 0.6.2 → 0.7.0

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,7 +6,7 @@
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 through the official settings seam (`settings.mutate`), with zero patches to dsh internals.
8
8
 
9
- **Requires dsh >= 0.1.7-rc.1** — this plugin targets the dsh RC/stable line only (CI and releases resolve the newest of the `latest`/`next` dist-tags at runtime). **The alpha line is no longer supported.** On dsh 0.1.7+ the settings document is the profile patch (settings.yaml is imported once and renamed); the plugin only ever writes through the official API, so it works unchanged on either shape.
9
+ **Requires dsh >= 0.2.0-rc.2** — this plugin targets the dsh RC/stable line only (CI and releases resolve the newest of the `latest`/`next` dist-tags at runtime). **The alpha line is no longer supported.** On dsh 0.1.7+ the settings document is the profile patch (settings.yaml is imported once and renamed); the plugin only ever writes through the official API, so it works unchanged on either shape.
10
10
 
11
11
  https://github.com/user-attachments/assets/c3f9c8b1-ea5e-470c-b8a8-60a81fc5c20a
12
12
 
@@ -81,7 +81,7 @@ Configure the plugin under the `dsh-model-sync` settings entry — on dsh 0.1.7+
81
81
  | `syncNotify` | `false` | Notify on changes (logger + `/model-sync` report) |
82
82
  | `forceMaxReasoningEffort` | `false` | Force max reasoning effort on models with a non-empty `thinkingFormat` |
83
83
  | `providerNativeFetch` | `true` | Union each mapped provider's first-party `/models` listing into the pi.dev result (additions only) |
84
- | `keepDeprecatedBuiltin` | `false` | Opt back into emitting builtin ids the official default model list dropped (dsh 0.1.7 removed `deepseek-v4-flash` / `deepseek-v4-flash-vision-exp`; the snapshot keeps the data but no longer syncs them by default) |
84
+ | `keepDeprecatedBuiltin` | `false` | Opt back into emitting builtin ids the official default model list dropped (dsh 0.1.7 removed `deepseek-v4-flash` / `deepseek-v4-flash-vision-exp`; dsh 0.2.0 removed `omen-alpha` on opencode-go and `glm-4.7` / `glm-5-turbo` / `glm-5.1` / `glm-5.2` / `glm-5.2-highspeed` / `glm-5v-turbo` on zai-coding-cn; the snapshot keeps the data but no longer syncs them by default) |
85
85
 
86
86
  Example (settings section `dsh-model-sync`; a legacy `settings.yaml` `model-sync:` section is not auto-imported by the dsh 0.1.7 host itself — the plugin recovers it once at boot, see above):
87
87
 
package/README.zh-CN.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  一个 dsh(DeepSeek Harness)Cordis 插件:把 `llm-pi-ai` 各 provider 路由的模型目录与 pi.dev 网关的模型列表保持同步——经官方 settings 接缝(`settings.mutate`)写入,对 dsh 内部零补丁。
8
8
 
9
- **要求 dsh >= 0.1.7-rc.1** — 本插件只跟随 dsh RC/stable 线(CI 与发版在运行时解析 latest/next 中更新的 dist-tag)。**不再支持 alpha 线。** dsh 0.1.7 起 settings 文档是 profile patch(旧 settings.yaml 导入一次后改名);本插件始终只经官方 API 写入,两种形态下行为一致。
9
+ **要求 dsh >= 0.2.0-rc.2** — 本插件只跟随 dsh RC/stable 线(CI 与发版在运行时解析 latest/next 中更新的 dist-tag)。**不再支持 alpha 线。** dsh 0.1.7 起 settings 文档是 profile patch(旧 settings.yaml 导入一次后改名);本插件始终只经官方 API 写入,两种形态下行为一致。
10
10
 
11
11
  https://github.com/user-attachments/assets/c3f9c8b1-ea5e-470c-b8a8-60a81fc5c20a
12
12
 
@@ -81,7 +81,7 @@ dsh plugin remove @aiwayds/dsh-model-sync
81
81
  | `syncNotify` | `false` | 有变更时通知(logger + `/model-sync` 报告) |
82
82
  | `forceMaxReasoningEffort` | `false` | 对 `thinkingFormat` 非空的模型强制 max reasoning effort |
83
83
  | `providerNativeFetch` | `true` | 把各厂商自家的 `/models` 列表并入 pi.dev 结果(只增不减) |
84
- | `keepDeprecatedBuiltin` | `false` | 重新同步官方默认列表已移除的内置 id(dsh 0.1.7 移除了 `deepseek-v4-flash` / `deepseek-v4-flash-vision-exp`;快照保留数据但默认不再同步) |
84
+ | `keepDeprecatedBuiltin` | `false` | 重新同步官方默认列表已移除的内置 id(dsh 0.1.7 移除了 `deepseek-v4-flash` / `deepseek-v4-flash-vision-exp`;dsh 0.2.0 移除了 opencode-go 的 `omen-alpha` 与 zai-coding-cn 的 `glm-4.7` / `glm-5-turbo` / `glm-5.1` / `glm-5.2` / `glm-5.2-highspeed` / `glm-5v-turbo`;快照保留数据但默认不再同步) |
85
85
 
86
86
  示例:
87
87
 
@@ -10,11 +10,13 @@
10
10
  * Entries marked `deprecated: true` are ids the official default model list
11
11
  * dropped (dsh 0.1.7-rc.1 removed deepseek-v4-flash /
12
12
  * deepseek-v4-flash-vision-exp; DeepSeek renamed deepseek-v4-flash →
13
- * deepseek-flash on its own listing). The data is retained for historical
14
- * user configurations: keepBuiltinOnly emission skips deprecated ids
15
- * unless keepDeprecatedBuiltin opts back in. Marks and entries survive
16
- * regeneration — this script re-adds them even when the installed catalog
17
- * no longer lists the id.
13
+ * deepseek-flash on its own listing. dsh 0.2.0-rc.2 removed omen-alpha
14
+ * on opencode-go and six zai-coding-cn ids: glm-4.7, glm-5-turbo,
15
+ * glm-5.1, glm-5.2, glm-5.2-highspeed, glm-5v-turbo). The data is
16
+ * retained for historical user configurations: keepBuiltinOnly emission
17
+ * skips deprecated ids unless keepDeprecatedBuiltin opts back in. Marks
18
+ * and entries survive regeneration — this script re-adds them even when
19
+ * the installed catalog no longer lists the id.
18
20
  *
19
21
  * @module dsh-model-sync/builtin-catalog-snapshot
20
22
  */
@@ -10,12 +10,14 @@ export const BUILTIN_CATALOG_SNAPSHOT = {
10
10
  { id: 'deepseek-v4-flash', api: 'openai-completions', maxTokens: 384000, deprecated: true },
11
11
  { id: 'deepseek-v4-flash-vision-exp', api: 'openai-completions', maxTokens: 384000, deprecated: true },
12
12
  { id: 'deepseek-v4-pro', api: 'openai-completions', maxTokens: 384000 },
13
+ { id: 'deepseek-v4.1-flash', api: 'openai-completions', maxTokens: 384000 },
13
14
  { id: 'glm-5.1', api: 'openai-completions', maxTokens: 32768 },
14
15
  { id: 'glm-5.2', api: 'openai-completions', maxTokens: 131072 },
15
16
  { id: 'glm-5.3', api: 'openai-completions', maxTokens: 131072 },
16
17
  { id: 'glm-5.3-flash', api: 'openai-completions', maxTokens: 131072 },
17
18
  { id: 'gpt-5.6-luna', api: 'openai-responses', maxTokens: 128000 },
18
19
  { id: 'grok-4.6', api: 'openai-responses', maxTokens: 500000 },
20
+ { id: 'grok-4.7', api: 'openai-responses', maxTokens: 500000 },
19
21
  { id: 'hy3', api: 'openai-completions', maxTokens: 128000 },
20
22
  { id: 'hy4-preview', api: 'openai-completions', maxTokens: 64000 },
21
23
  { id: 'kimi-k2.6', api: 'openai-completions', maxTokens: 65536 },
@@ -24,11 +26,13 @@ export const BUILTIN_CATALOG_SNAPSHOT = {
24
26
  { id: 'longcat-2.0', api: 'openai-completions', maxTokens: 131072 },
25
27
  { id: 'mimo-v2.5', api: 'openai-completions', maxTokens: 128000 },
26
28
  { id: 'mimo-v2.5-pro', api: 'openai-completions', maxTokens: 128000 },
29
+ { id: 'mimo-v2.6-flash', api: 'openai-completions', maxTokens: 131072 },
30
+ { id: 'mimo-v2.6-pro', api: 'openai-completions', maxTokens: 131072 },
27
31
  { id: 'minimax-m2.7', api: 'openai-completions', maxTokens: 131072 },
28
32
  { id: 'minimax-m3', api: 'anthropic-messages', maxTokens: 131072 },
29
33
  { id: 'muse-spark-1.2-contributor', api: 'openai-responses', maxTokens: 131072 },
30
34
  { id: 'muse-spark-1.3-contributor', api: 'openai-responses', maxTokens: 131072 },
31
- { id: 'omen-alpha', api: 'openai-completions', maxTokens: 128000 },
35
+ { id: 'omen-alpha', api: 'openai-completions', maxTokens: 128000, deprecated: true },
32
36
  { id: 'qwen3.6-plus', api: 'openai-completions', maxTokens: 65536 },
33
37
  { id: 'qwen3.7-max', api: 'openai-completions', maxTokens: 65536 },
34
38
  { id: 'qwen3.7-plus', api: 'openai-completions', maxTokens: 65536 },
@@ -37,19 +41,21 @@ export const BUILTIN_CATALOG_SNAPSHOT = {
37
41
  ],
38
42
  'xiaomi-token-plan-cn': [
39
43
  { id: 'mimo-v2.5', api: 'openai-completions', maxTokens: 131072 },
40
- { id: 'mimo-v2.5-pro', api: 'openai-completions', maxTokens: 131072 }
44
+ { id: 'mimo-v2.5-pro', api: 'openai-completions', maxTokens: 131072 },
45
+ { id: 'mimo-v2.6-flash', api: 'openai-completions', maxTokens: 131072 },
46
+ { id: 'mimo-v2.6-pro', api: 'openai-completions', maxTokens: 131072 }
41
47
  ],
42
48
  'zai-coding-cn': [
43
49
  { id: 'glm-4.6v', api: 'openai-completions', maxTokens: 32768 },
44
- { id: 'glm-4.7', api: 'openai-completions', maxTokens: 131072 },
45
- { id: 'glm-5-turbo', api: 'openai-completions', maxTokens: 131072 },
46
- { id: 'glm-5.1', api: 'openai-completions', maxTokens: 131072 },
47
- { id: 'glm-5.2', api: 'openai-completions', maxTokens: 131072 },
48
- { id: 'glm-5.2-highspeed', api: 'openai-completions', maxTokens: 131072 },
50
+ { id: 'glm-4.7', api: 'openai-completions', maxTokens: 131072, deprecated: true },
51
+ { id: 'glm-5-turbo', api: 'openai-completions', maxTokens: 131072, deprecated: true },
52
+ { id: 'glm-5.1', api: 'openai-completions', maxTokens: 131072, deprecated: true },
53
+ { id: 'glm-5.2', api: 'openai-completions', maxTokens: 131072, deprecated: true },
54
+ { id: 'glm-5.2-highspeed', api: 'openai-completions', maxTokens: 131072, deprecated: true },
49
55
  { id: 'glm-5.3', api: 'openai-completions', maxTokens: 131072 },
50
56
  { id: 'glm-5.3-flash', api: 'openai-completions', maxTokens: 131072 },
51
57
  { id: 'glm-5.3-highspeed', api: 'openai-completions', maxTokens: 131072 },
52
- { id: 'glm-5v-turbo', api: 'openai-completions', maxTokens: 131072 }
58
+ { id: 'glm-5v-turbo', api: 'openai-completions', maxTokens: 131072, deprecated: true }
53
59
  ]
54
60
  };
55
61
  //# sourceMappingURL=builtin-catalog-snapshot.js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SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE;KACvF;CACF,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiwayds/dsh-model-sync",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
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",
@@ -40,10 +40,10 @@
40
40
  "dependencies": {},
41
41
  "peerDependencies": {
42
42
  "@deepseek-ai/cordis": "^4.0.2",
43
- "@deepseek-ai/dsh-commands": ">=0.1.7-rc.1",
44
- "@deepseek-ai/dsh-credentials": ">=0.1.7-rc.1",
45
- "@deepseek-ai/dsh-launch-environment": ">=0.1.7-rc.1",
46
- "@deepseek-ai/dsh-settings": ">=0.1.7-rc.1",
43
+ "@deepseek-ai/dsh-commands": ">=0.2.0-rc.2",
44
+ "@deepseek-ai/dsh-credentials": ">=0.2.0-rc.2",
45
+ "@deepseek-ai/dsh-launch-environment": ">=0.2.0-rc.2",
46
+ "@deepseek-ai/dsh-settings": ">=0.2.0-rc.2",
47
47
  "@deepseek-ai/schemastery": "^3.18.4"
48
48
  },
49
49
  "peerDependenciesMeta": {
@@ -69,18 +69,18 @@
69
69
  "devDependencies": {
70
70
  "@types/node": "^24.0.0",
71
71
  "@deepseek-ai/cordis": "4.0.4",
72
- "@deepseek-ai/dsh-agent": "0.1.7-rc.1",
73
- "@deepseek-ai/dsh-attachment": "0.1.7-rc.1",
74
- "@deepseek-ai/dsh-brand": "0.1.7-rc.1",
75
- "@deepseek-ai/dsh-commands": "0.1.7-rc.1",
76
- "@deepseek-ai/dsh-credentials": "0.1.7-rc.1",
77
- "@deepseek-ai/dsh-invariants": "0.1.7-rc.1",
78
- "@deepseek-ai/dsh-launch-environment": "0.1.7-rc.1",
79
- "@deepseek-ai/dsh-llm": "0.1.7-rc.1",
80
- "@deepseek-ai/dsh-scope": "0.1.7-rc.1",
81
- "@deepseek-ai/dsh-session": "0.1.7-rc.1",
82
- "@deepseek-ai/dsh-settings": "0.1.7-rc.1",
83
- "@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.1",
72
+ "@deepseek-ai/dsh-agent": "0.2.0-rc.2",
73
+ "@deepseek-ai/dsh-attachment": "0.2.0-rc.2",
74
+ "@deepseek-ai/dsh-brand": "0.2.0-rc.2",
75
+ "@deepseek-ai/dsh-commands": "0.2.0-rc.2",
76
+ "@deepseek-ai/dsh-credentials": "0.2.0-rc.2",
77
+ "@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
78
+ "@deepseek-ai/dsh-launch-environment": "0.2.0-rc.2",
79
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
80
+ "@deepseek-ai/dsh-scope": "0.2.0-rc.2",
81
+ "@deepseek-ai/dsh-session": "0.2.0-rc.2",
82
+ "@deepseek-ai/dsh-settings": "0.2.0-rc.2",
83
+ "@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.2",
84
84
  "@deepseek-ai/schemastery": "3.18.4",
85
85
  "typescript": "^5.9.0"
86
86
  },
@@ -95,8 +95,8 @@
95
95
  },
96
96
  "pnpm": {
97
97
  "overrides": {
98
- "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.1",
99
- "@deepseek-ai/dsh-session-projection": "0.1.7-rc.1"
98
+ "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
99
+ "@deepseek-ai/dsh-session-projection": "0.2.0-rc.2"
100
100
  }
101
101
  }
102
102
  }
@@ -12,11 +12,13 @@
12
12
  * Entries marked `deprecated: true` are ids the official default model list
13
13
  * dropped (dsh 0.1.7-rc.1 removed deepseek-v4-flash /
14
14
  * deepseek-v4-flash-vision-exp; DeepSeek renamed deepseek-v4-flash →
15
- * deepseek-flash on its own listing). The data is retained for historical
16
- * user configurations: keepBuiltinOnly emission skips deprecated ids
17
- * unless keepDeprecatedBuiltin opts back in. Marks and entries survive
18
- * regeneration — this script re-adds them even when the installed catalog
19
- * no longer lists the id.
15
+ * deepseek-flash on its own listing. dsh 0.2.0-rc.2 removed omen-alpha
16
+ * on opencode-go and six zai-coding-cn ids: glm-4.7, glm-5-turbo,
17
+ * glm-5.1, glm-5.2, glm-5.2-highspeed, glm-5v-turbo). The data is
18
+ * retained for historical user configurations: keepBuiltinOnly emission
19
+ * skips deprecated ids unless keepDeprecatedBuiltin opts back in. Marks
20
+ * and entries survive regeneration — this script re-adds them even when
21
+ * the installed catalog no longer lists the id.
20
22
  *
21
23
  * @module dsh-model-sync/builtin-catalog-snapshot
22
24
  */
@@ -39,12 +41,14 @@ export const BUILTIN_CATALOG_SNAPSHOT: BuiltinCatalogSnapshotMap = {
39
41
  { id: 'deepseek-v4-flash', api: 'openai-completions', maxTokens: 384000, deprecated: true },
40
42
  { id: 'deepseek-v4-flash-vision-exp', api: 'openai-completions', maxTokens: 384000, deprecated: true },
41
43
  { id: 'deepseek-v4-pro', api: 'openai-completions', maxTokens: 384000 },
44
+ { id: 'deepseek-v4.1-flash', api: 'openai-completions', maxTokens: 384000 },
42
45
  { id: 'glm-5.1', api: 'openai-completions', maxTokens: 32768 },
43
46
  { id: 'glm-5.2', api: 'openai-completions', maxTokens: 131072 },
44
47
  { id: 'glm-5.3', api: 'openai-completions', maxTokens: 131072 },
45
48
  { id: 'glm-5.3-flash', api: 'openai-completions', maxTokens: 131072 },
46
49
  { id: 'gpt-5.6-luna', api: 'openai-responses', maxTokens: 128000 },
47
50
  { id: 'grok-4.6', api: 'openai-responses', maxTokens: 500000 },
51
+ { id: 'grok-4.7', api: 'openai-responses', maxTokens: 500000 },
48
52
  { id: 'hy3', api: 'openai-completions', maxTokens: 128000 },
49
53
  { id: 'hy4-preview', api: 'openai-completions', maxTokens: 64000 },
50
54
  { id: 'kimi-k2.6', api: 'openai-completions', maxTokens: 65536 },
@@ -53,11 +57,13 @@ export const BUILTIN_CATALOG_SNAPSHOT: BuiltinCatalogSnapshotMap = {
53
57
  { id: 'longcat-2.0', api: 'openai-completions', maxTokens: 131072 },
54
58
  { id: 'mimo-v2.5', api: 'openai-completions', maxTokens: 128000 },
55
59
  { id: 'mimo-v2.5-pro', api: 'openai-completions', maxTokens: 128000 },
60
+ { id: 'mimo-v2.6-flash', api: 'openai-completions', maxTokens: 131072 },
61
+ { id: 'mimo-v2.6-pro', api: 'openai-completions', maxTokens: 131072 },
56
62
  { id: 'minimax-m2.7', api: 'openai-completions', maxTokens: 131072 },
57
63
  { id: 'minimax-m3', api: 'anthropic-messages', maxTokens: 131072 },
58
64
  { id: 'muse-spark-1.2-contributor', api: 'openai-responses', maxTokens: 131072 },
59
65
  { id: 'muse-spark-1.3-contributor', api: 'openai-responses', maxTokens: 131072 },
60
- { id: 'omen-alpha', api: 'openai-completions', maxTokens: 128000 },
66
+ { id: 'omen-alpha', api: 'openai-completions', maxTokens: 128000, deprecated: true },
61
67
  { id: 'qwen3.6-plus', api: 'openai-completions', maxTokens: 65536 },
62
68
  { id: 'qwen3.7-max', api: 'openai-completions', maxTokens: 65536 },
63
69
  { id: 'qwen3.7-plus', api: 'openai-completions', maxTokens: 65536 },
@@ -66,18 +72,20 @@ export const BUILTIN_CATALOG_SNAPSHOT: BuiltinCatalogSnapshotMap = {
66
72
  ],
67
73
  'xiaomi-token-plan-cn': [
68
74
  { id: 'mimo-v2.5', api: 'openai-completions', maxTokens: 131072 },
69
- { id: 'mimo-v2.5-pro', api: 'openai-completions', maxTokens: 131072 }
75
+ { id: 'mimo-v2.5-pro', api: 'openai-completions', maxTokens: 131072 },
76
+ { id: 'mimo-v2.6-flash', api: 'openai-completions', maxTokens: 131072 },
77
+ { id: 'mimo-v2.6-pro', api: 'openai-completions', maxTokens: 131072 }
70
78
  ],
71
79
  'zai-coding-cn': [
72
80
  { id: 'glm-4.6v', api: 'openai-completions', maxTokens: 32768 },
73
- { id: 'glm-4.7', api: 'openai-completions', maxTokens: 131072 },
74
- { id: 'glm-5-turbo', api: 'openai-completions', maxTokens: 131072 },
75
- { id: 'glm-5.1', api: 'openai-completions', maxTokens: 131072 },
76
- { id: 'glm-5.2', api: 'openai-completions', maxTokens: 131072 },
77
- { id: 'glm-5.2-highspeed', api: 'openai-completions', maxTokens: 131072 },
81
+ { id: 'glm-4.7', api: 'openai-completions', maxTokens: 131072, deprecated: true },
82
+ { id: 'glm-5-turbo', api: 'openai-completions', maxTokens: 131072, deprecated: true },
83
+ { id: 'glm-5.1', api: 'openai-completions', maxTokens: 131072, deprecated: true },
84
+ { id: 'glm-5.2', api: 'openai-completions', maxTokens: 131072, deprecated: true },
85
+ { id: 'glm-5.2-highspeed', api: 'openai-completions', maxTokens: 131072, deprecated: true },
78
86
  { id: 'glm-5.3', api: 'openai-completions', maxTokens: 131072 },
79
87
  { id: 'glm-5.3-flash', api: 'openai-completions', maxTokens: 131072 },
80
88
  { id: 'glm-5.3-highspeed', api: 'openai-completions', maxTokens: 131072 },
81
- { id: 'glm-5v-turbo', api: 'openai-completions', maxTokens: 131072 }
89
+ { id: 'glm-5v-turbo', api: 'openai-completions', maxTokens: 131072, deprecated: true }
82
90
  ]
83
91
  }