dsh-model-extension 1.3.1 → 1.3.3-alpha.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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 lovezi0
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 lovezi0
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -17,6 +17,7 @@
17
17
  - **推理挡位**(`reasoningEfforts`):声明模型支持的思考档位(off/minimal/low/medium/high/xhigh/max)及线上取值;
18
18
  - **输入模态**(`input`):text / image;
19
19
  - **兼容性**(`compat`):`supportsReasoningEffort` 开关与 `thinkingFormat` 线制格式。
20
+ - API 密钥字段与官方模型页同一套口径:优先使用已保存的凭据,其次按顺序回落到启动环境、`$cwd/.env`、`$DSH_HOME/.env`;字段旁提供认证说明气泡与密钥显示/隐藏切换,并如实提示环境变量的检测结果。
20
21
  - 支持通过 `models.json` 元数据自动预填。可通过插件下载或自行下载并放到 `$DSH_HOME/models.json` 供插件使用。
21
22
  - **仅支持`https://models.dev/models.json`数据格式**。
22
23
  - 支持 **DeepSeek 账号**路由(`deepseek-account`):置顶显示,无可用模型时整行隐藏;编辑卡片只含模型目录(账号不使用 API 密钥与地址)。
@@ -53,6 +54,12 @@ npm run build
53
54
 
54
55
  ## 版本历史
55
56
 
57
+ - **1.3.3**
58
+ - **1.3.3-alpha.1**
59
+ - 💪同步官方API密钥保存&读取策略
60
+ - 💪其他UI优化
61
+ - **1.3.2**
62
+ - 🔥模型列表支持拖动排序
56
63
  - **1.3.1**
57
64
  - dsh peer [0.1.7 ... 0.2.0]
58
65
  - **1.3.0**
package/cordis.patch.yml CHANGED
@@ -1,15 +1,15 @@
1
- - insert:
2
- - id: model-extension-row
3
- name: dsh-model-extension
4
- # Hide the official Models page: this plugin's Models+ page replaces it.
5
- # Id-targeted override (a patch row WITHOUT `insert`) — applyEntryPatches
6
- # assigns `disabled: true` onto the ui-settings-models entry created by the
7
- # web-app bundle patch, so no new loader entry is created. An insert row with
8
- # the same id would be a duplicate loader entry and crash the boot.
9
- # Side effects (accepted): the official onboarding components living in that
10
- # package disappear too; if a future DSH release renames the entry, the
11
- # override no longer matches (warn + official page returns silently) and must
12
- # be re-checked on adapter-anchor bumps.
13
- - id: ui-settings-models
14
- name: '@deepseek-ai/dsh-client-ui-settings-models'
15
- disabled: true
1
+ - insert:
2
+ - id: model-extension-row
3
+ name: dsh-model-extension
4
+ # Hide the official Models page: this plugin's Models+ page replaces it.
5
+ # Id-targeted override (a patch row WITHOUT `insert`) — applyEntryPatches
6
+ # assigns `disabled: true` onto the ui-settings-models entry created by the
7
+ # web-app bundle patch, so no new loader entry is created. An insert row with
8
+ # the same id would be a duplicate loader entry and crash the boot.
9
+ # Side effects (accepted): the official onboarding components living in that
10
+ # package disappear too; if a future DSH release renames the entry, the
11
+ # override no longer matches (warn + official page returns silently) and must
12
+ # be re-checked on adapter-anchor bumps.
13
+ - id: ui-settings-models
14
+ name: '@deepseek-ai/dsh-client-ui-settings-models'
15
+ disabled: true