@klarkxy/dsh-model-hub 0.0.0-stage → 0.1.0-rc.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 ADDED
@@ -0,0 +1,41 @@
1
+ The Star And Thank Author License (SATA)
2
+ Version 2.1, September 2026
3
+
4
+ Copyright © 2026 Klarkxy(278370456@qq.com)
5
+
6
+ Project Url: https://github.com/klarkxy/dsh-plugins
7
+ https://github.com/klarkxy/sata-license
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining a copy
10
+ of this software and associated documentation files (the "Software"), to deal
11
+ in the Software without restriction, including without limitation the rights
12
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
+ copies of the Software, and to permit persons to whom the Software is
14
+ furnished to do so, subject to the following conditions:
15
+
16
+ The above copyright notice and this permission notice shall be included in
17
+ all copies or substantial portions of the Software.
18
+
19
+ And wait, one more thing — an invitation, not a condition: it would be best if
20
+ you star/+1/like the project(s) in the project url section above, and thank the
21
+ author(s) in the Copyright section. You may, and arguably you should — but the
22
+ permissions above hold either way, star or no star.
23
+
24
+ Here are some suggested ways:
25
+
26
+ - Email the authors a thank-you letter, and make friends with him/her/them.
27
+ - Report bugs or issues.
28
+ - Tell friends what a wonderful project this is.
29
+ - And, sure, you can just express thanks in your mind without telling the world.
30
+
31
+ Contributors of this project by forking have the option to add his/her name and
32
+ forked project url at copyright and project url sections, but shall not delete
33
+ or modify anything else in these two sections.
34
+
35
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
36
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
37
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
38
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
39
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
40
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
41
+ THE SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,37 @@
1
- # Temporary Holding Version
1
+ # @klarkxy/dsh-model-hub
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Cross-plugin model settings hub for DeepSeek Harness — **development preview**.
4
+ The plugin page lists and edits live model-route fields through the native
5
+ settings service. This build also reports:
6
+
7
+ 1. Which installed plugins expose model-route fields in their
8
+ `settings.describe()` projection (detected via `@klarkxy/dsh-model-route`,
9
+ marker or bare shape)?
10
+ 2. Do custom schema markers survive the host projection? The hub's own Config
11
+ carries two self-test fields — one marked with the custom `x-model-route`
12
+ key, one with schemastery's renderer-role channel.
13
+
14
+ The report is logged and written to `<profile>/data/model-hub/probe-report.json`,
15
+ and refreshed on every `settings/document-updated` event.
16
+
17
+ Existing array items appear as separate rows with numeric indices. Empty
18
+ collections show an informational row; add an item in the owning plugin
19
+ before editing it here. Writes revalidate the target against a fresh native
20
+ projection and use the descriptor revision for CAS. Follow mode preserves
21
+ array elements, and unrelated settings stay with their owning plugin.
22
+
23
+ Both self-test fields are individually volatile, so the native settings
24
+ projection includes them without exposing ordinary configuration. Per-day
25
+ usage metering is not included in this preview.
26
+
27
+ ## Install
28
+
29
+ Requires DSH 0.2.0-rc.2 or later. Install the preview channel, restart the profile, then open Plugins → Model Hub:
30
+
31
+ ```sh
32
+ dsh plugin --profile web add @klarkxy/dsh-model-hub@next
33
+ ```
34
+
35
+ ## License
36
+
37
+ SEE LICENSE IN LICENSE
@@ -0,0 +1,5 @@
1
+ # Verification probe stage: detection + projection questions first, UI later.
2
+ - insert:
3
+ - id: model-hub
4
+ name: '@klarkxy/dsh-model-hub'
5
+ disabled: false
@@ -0,0 +1,31 @@
1
+ # @klarkxy/dsh-model-hub
2
+
3
+ DeepSeek Harness 跨插件模型设置枢纽——**开发预览**。插件页通过宿主设置服务
4
+ 列出并编辑可实时更新的模型路由字段,同时报告:
5
+
6
+ 1. 已安装插件的 `settings.describe()` 投影里有哪些模型路由字段
7
+ (通过 `@klarkxy/dsh-model-route` 检测,标记或裸形状均可)?
8
+ 2. 自定义 schema 标记能否穿过宿主投影?本插件自己的 Config 带两个自检字段:
9
+ 一个用自定义 `x-model-route` 键标记,一个用 schemastery 渲染器 role 通道。
10
+
11
+ 报告会写日志,并落盘到 `<profile>/data/model-hub/probe-report.json`,
12
+ 每次 `settings/document-updated` 事件后刷新。
13
+
14
+ 实际数组元素按数字索引显示为独立行。空集合显示提示行,需要先在所属插件中
15
+ 添加元素再编辑。写入前重新检测宿主投影中的目标字段,并用描述符版本进行 CAS
16
+ 校验。跟随默认模型保留数组元素,其他设置仍由所属插件维护。
17
+
18
+ 两个自检字段各自声明 volatile,让宿主投影包含它们而不扩大普通配置的可见范围。
19
+ 此预览尚不包含按天用量统计。
20
+
21
+ ## 安装
22
+
23
+ 需要 DSH 0.2.0-rc.2 或更高版本。安装预发布通道,重启 profile 后打开「插件 → 模型枢纽」:
24
+
25
+ ```sh
26
+ dsh plugin --profile web add @klarkxy/dsh-model-hub@next
27
+ ```
28
+
29
+ ## 许可证
30
+
31
+ SEE LICENSE IN LICENSE