@klarkxy/dsh-model-hub 0.1.0-rc.2 → 0.1.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 +4 -12
- package/docs/README.zh-CN.md +5 -11
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
# @klarkxy/dsh-model-hub
|
|
2
2
|
|
|
3
3
|
<!-- release-state-note -->
|
|
4
|
-
The [repository registry](../../README.md#plugin-lifecycle) tracks Draft → Testing → Published, moving forward only. Fixes, testing and version updates keep published packages Published; each update still passes release checks. First publication explicitly selects Testing packages and records Published only after npm archive verification. See the [release guide](../../RELEASING.md).
|
|
5
4
|
|
|
6
|
-
Cross-plugin model settings hub for DeepSeek Harness
|
|
5
|
+
Cross-plugin model settings hub for DeepSeek Harness.
|
|
7
6
|
Open Plugins → Model Hub to search by plugin, purpose or current model and edit
|
|
8
7
|
models from one compact list. Changes save immediately through the owning plugin.
|
|
9
8
|
Open plugin pages automatically reload saved model changes. Unsaved drafts stay
|
|
@@ -62,24 +61,17 @@ field returns to the plugin's inherited/default settings; clearing a direct
|
|
|
62
61
|
array route preserves the element. Owner fields explain their own default mode.
|
|
63
62
|
|
|
64
63
|
Both self-test fields remain in the diagnostic report and are hidden from the
|
|
65
|
-
model selection page. Per-day usage metering is not included
|
|
64
|
+
model selection page. Per-day usage metering is not included.
|
|
66
65
|
|
|
67
66
|
## Install
|
|
68
67
|
|
|
69
|
-
Requires DSH 0.2.0-rc.2 or later.
|
|
68
|
+
Requires DSH 0.2.0-rc.2 or later. Restart the profile, then open Plugins → Model Hub:
|
|
70
69
|
|
|
71
70
|
```sh
|
|
72
|
-
dsh plugin --profile web add @klarkxy/dsh-model-hub
|
|
71
|
+
dsh plugin --profile web add @klarkxy/dsh-model-hub
|
|
73
72
|
```
|
|
74
73
|
|
|
75
74
|
## License
|
|
76
75
|
|
|
77
76
|
SEE LICENSE IN LICENSE
|
|
78
77
|
|
|
79
|
-
## Verification
|
|
80
|
-
|
|
81
|
-
`pnpm test:e2e:model-hub` checks the registered settings page in an isolated
|
|
82
|
-
Chromium browser, including keyboard selection, conflict recovery, catalog
|
|
83
|
-
separation and desktop/mobile layout. It uses the repository's UI primitive
|
|
84
|
-
stub and a real Cordis contribution bus; it does not activate an installed
|
|
85
|
-
Desktop profile. Adapter tests use the owning services and native SettingsForms.
|
package/docs/README.zh-CN.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
# @klarkxy/dsh-model-hub
|
|
1
|
+
# @klarkxy/dsh-model-hub
|
|
2
2
|
|
|
3
3
|
<!-- release-state-note -->
|
|
4
|
-
插件生命周期见[仓库状态清单](../../../README.zh-CN.md#插件生命周期):草稿 → 测试中 → 已发布,只向前推进。已发布插件的修复、测试和升版保持已发布;每次更新仍须通过发布检查。首次发布须明确选择测试中的包,并在 npm 归档验证成功后登记。详见[发布规则](../../../RELEASING.zh-CN.md)。
|
|
5
4
|
|
|
6
|
-
DeepSeek Harness
|
|
5
|
+
DeepSeek Harness 跨插件模型设置枢纽。打开「插件 → 模型枢纽」,
|
|
7
6
|
按插件、用途或当前模型搜索,在紧凑列表中直接选择模型,改动立即由所属插件保存。
|
|
8
7
|
已经打开的插件页会自动刷新已保存的模型设置。有未保存草稿时保留草稿并提示冲突,
|
|
9
8
|
显式重新加载才丢弃草稿。断线重连后重读最新设置;订阅不可用时保留手动刷新入口。
|
|
@@ -47,22 +46,17 @@ schema、数组、字典和组合字段。使用其他存储方式的插件可
|
|
|
47
46
|
恢复原生字段时使用所属插件的继承值或默认值;清除直接数组路由时保留该元素。
|
|
48
47
|
各插件提供的模型字段会说明各自的默认模式。
|
|
49
48
|
|
|
50
|
-
|
|
49
|
+
两个自检字段保留在诊断报告中,不出现在模型选择页。尚不包含按天用量统计。
|
|
51
50
|
|
|
52
51
|
## 安装
|
|
53
52
|
|
|
54
|
-
需要 DSH 0.2.0-rc.2
|
|
53
|
+
需要 DSH 0.2.0-rc.2 或更高版本。重启 profile 后打开「插件 → 模型枢纽」:
|
|
55
54
|
|
|
56
55
|
```sh
|
|
57
|
-
dsh plugin --profile web add @klarkxy/dsh-model-hub
|
|
56
|
+
dsh plugin --profile web add @klarkxy/dsh-model-hub
|
|
58
57
|
```
|
|
59
58
|
|
|
60
59
|
## 许可证
|
|
61
60
|
|
|
62
61
|
SEE LICENSE IN LICENSE
|
|
63
62
|
|
|
64
|
-
## 验证
|
|
65
|
-
|
|
66
|
-
`pnpm test:e2e:model-hub` 在隔离 Chromium 中通过真实注册入口检查键盘选择、冲突
|
|
67
|
-
恢复、目录隔离和桌面/手机布局。使用仓库 UI 组件替身和真实 Cordis 贡献事件,
|
|
68
|
-
不代表已激活安装中的 Desktop profile。各适配器另有所属服务及原生 SettingsForms 测试。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@klarkxy/dsh-model-hub",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "View and edit model fields exposed by DSH plugin settings on one page.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"test": "vitest run --root ../.. --config vitest.editor-plugins.config.ts --maxWorkers=2 plugins/dsh-model-hub/src"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@klarkxy/dsh-model-route": "0.2.
|
|
53
|
-
"@klarkxy/dsh-plugin-kit": "0.3.
|
|
52
|
+
"@klarkxy/dsh-model-route": "0.2.1",
|
|
53
|
+
"@klarkxy/dsh-plugin-kit": "0.3.1"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@deepseek-ai/cordis": ">=4.0.4",
|
|
@@ -106,6 +106,6 @@
|
|
|
106
106
|
},
|
|
107
107
|
"homepage": "https://klarkxy.github.io/dsh-plugins/plugins/model-hub/",
|
|
108
108
|
"dshRelease": {
|
|
109
|
-
"contentHash": "
|
|
109
|
+
"contentHash": "de2069c3c5b3a381572577abe536fb28d14b0973d8187e495f01aa5e7077c5a7"
|
|
110
110
|
}
|
|
111
111
|
}
|