@klarkxy/dsh-plugin-kit 0.3.0 → 0.3.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/README.md +0 -7
- package/docs/README.zh-CN.md +0 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# @klarkxy/dsh-plugin-kit
|
|
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
5
|
The shared support package for the feature plugins in this repository: shared record types, the plugin-page model menu, host RPC registration, the official-UI style contract, and one native `llm` text call. It is a library, not a DSH bundle — adding it as a dependency gives a feature plugin the pieces it needs, not a new user-visible feature of its own.
|
|
7
6
|
|
|
@@ -73,9 +72,3 @@ lineage; incomplete legacy parent metadata still identifies a child session.
|
|
|
73
72
|
## Development
|
|
74
73
|
|
|
75
74
|
Model settings contributions accept `ModelSettingsText` (`string | { zh: string; en: string }`) for provider titles, field labels/descriptions, follow labels and catalog errors. Built-in display copy should include both languages; user data and third-party literal strings stay unchanged. Model Hub resolves the text at render time when the host locale changes.
|
|
76
|
-
|
|
77
|
-
```sh
|
|
78
|
-
pnpm --filter @klarkxy/dsh-plugin-kit typecheck
|
|
79
|
-
pnpm --filter @klarkxy/dsh-plugin-kit test
|
|
80
|
-
pnpm --filter @klarkxy/dsh-plugin-kit build
|
|
81
|
-
```
|
package/docs/README.zh-CN.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# @klarkxy/dsh-plugin-kit
|
|
2
2
|
|
|
3
3
|
<!-- release-state-note -->
|
|
4
|
-
插件生命周期见[仓库状态清单](../../../README.zh-CN.md#插件生命周期):草稿 → 测试中 → 已发布,只向前推进。已发布插件的修复、测试和升版保持已发布;每次更新仍须通过发布检查。首次发布须明确选择测试中的包,并在 npm 归档验证成功后登记。详见[发布规则](../../../RELEASING.zh-CN.md)。
|
|
5
4
|
|
|
6
5
|
本仓库功能插件共用的支撑包:共享记录类型、插件页模型菜单、宿主 RPC 注册、官方 UI 样式契约,以及一次原生 `llm` 文本调用。它是一个库,不是 DSH bundle——把它作为依赖装上,得到的是功能插件需要的零件,而不是一个新的用户可见功能。
|
|
7
6
|
|
|
@@ -54,9 +53,3 @@
|
|
|
54
53
|
## 开发
|
|
55
54
|
|
|
56
55
|
模型设置贡献的提供方标题、字段名称与说明、跟随模式名称及目录错误支持 `ModelSettingsText`(`string | { zh: string; en: string }`)。内置展示文案提供中英文,用户数据和第三方字符串保留原文;模型设置页在渲染时跟随宿主语言解析。
|
|
57
|
-
|
|
58
|
-
```sh
|
|
59
|
-
pnpm --filter @klarkxy/dsh-plugin-kit typecheck
|
|
60
|
-
pnpm --filter @klarkxy/dsh-plugin-kit test
|
|
61
|
-
pnpm --filter @klarkxy/dsh-plugin-kit build
|
|
62
|
-
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@klarkxy/dsh-plugin-kit",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Shared types, model-menu helpers, and host RPC registration. Does not call models.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"test": "vitest run --root ../.. --config vitest.editor-plugins.config.ts --maxWorkers=2 plugins/dsh-plugin-kit/src"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@klarkxy/dsh-model-route": "0.2.
|
|
87
|
+
"@klarkxy/dsh-model-route": "0.2.1"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"@deepseek-ai/dsh-llm": ">=0.2.0-rc.2",
|
|
@@ -139,6 +139,6 @@
|
|
|
139
139
|
"registry": "https://registry.npmjs.org/"
|
|
140
140
|
},
|
|
141
141
|
"dshRelease": {
|
|
142
|
-
"contentHash": "
|
|
142
|
+
"contentHash": "f069c84f4156bbfef9e5c0f4cecf06ef3407e04fb3e14a35354ce6bc9627e2ae"
|
|
143
143
|
}
|
|
144
144
|
}
|