@klarkxy/dsh-model-picker 0.0.0-stage → 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/lib/index.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ //#region src/index.d.ts
2
+ /**
3
+ * Model picker, node half. Pure UI plugin: the empty apply exists so the
4
+ * plugin appears in the host Loader; the browser half ships via
5
+ * exports["./client"], discovered through the package.json dsh.client
6
+ * declaration.
7
+ */
8
+ /** Host plugin body — no host-side behavior for this surface plugin. */
9
+ declare function apply(): void;
10
+ //#endregion
11
+ export { apply };
12
+ //# sourceMappingURL=index.d.ts.map
package/lib/index.js ADDED
@@ -0,0 +1,13 @@
1
+ //#region src/index.ts
2
+ /**
3
+ * Model picker, node half. Pure UI plugin: the empty apply exists so the
4
+ * plugin appears in the host Loader; the browser half ships via
5
+ * exports["./client"], discovered through the package.json dsh.client
6
+ * declaration.
7
+ */
8
+ /** Host plugin body — no host-side behavior for this surface plugin. */
9
+ function apply() {}
10
+ //#endregion
11
+ export { apply };
12
+
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["/**\n * Model picker, node half. Pure UI plugin: the empty apply exists so the\n * plugin appears in the host Loader; the browser half ships via\n * exports[\"./client\"], discovered through the package.json dsh.client\n * declaration.\n */\n/** Host plugin body — no host-side behavior for this surface plugin. */\nexport function apply(): void {}\n"],"mappings":";;;;;;;;AAOA,SAAgB,QAAc,CAAC"}
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Model picker",
4
+ "description": "Searchable model selection with a reasoning-effort slider in the composer; other plugins can reuse the same picker."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "模型选择器",
4
+ "description": "输入框里的模型搜索与推理档位滑杆;其他插件可复用同一选择器。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,117 @@
1
1
  {
2
2
  "name": "@klarkxy/dsh-model-picker",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Model picker: searchable model selection with a reasoning-effort slider in the composer, plus a shared picker other plugins can reuse.",
5
+ "icon": "./icon.svg",
6
+ "license": "SEE LICENSE IN LICENSE",
7
+ "type": "module",
8
+ "engines": {
9
+ "node": ">=22",
10
+ "dsh": ">=0.2.2-rc.1"
11
+ },
12
+ "main": "./lib/index.js",
13
+ "types": "./lib/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "types": "./lib/index.d.ts",
17
+ "import": "./lib/index.js",
18
+ "default": "./lib/index.js"
19
+ },
20
+ "./client": {
21
+ "default": "./lib/client.js"
22
+ },
23
+ "./package.json": "./package.json",
24
+ "./locale/*.json": "./locale/*.json",
25
+ "./icon": "./icon.svg"
26
+ },
27
+ "files": [
28
+ "icon.svg",
29
+ "locale/*.json",
30
+ "lib",
31
+ "cordis.patch.yml",
32
+ "README.md",
33
+ "docs/README.zh-CN.md",
34
+ "LICENSE"
35
+ ],
36
+ "dsh": {
37
+ "bundle": {
38
+ "patch": "./cordis.patch.yml"
39
+ },
40
+ "client": {
41
+ "platform": "web",
42
+ "inject": [
43
+ "@deepseek-ai/dsh-client-locale",
44
+ "@deepseek-ai/dsh-client-ui-primitives"
45
+ ]
46
+ }
47
+ },
48
+ "scripts": {
49
+ "build": "tsdown && node ../../scripts/editor-plugins/wrap-client.mjs @klarkxy/dsh-model-picker",
50
+ "typecheck": "tsc --noEmit -p tsconfig.json",
51
+ "test": "vitest run --root ../.. --config vitest.editor-plugins.config.ts --maxWorkers=2 plugins/dsh-model-picker/src"
52
+ },
53
+ "dependencies": {
54
+ "@klarkxy/dsh-model-route": "0.3.0"
55
+ },
56
+ "peerDependencies": {
57
+ "@deepseek-ai/cordis": ">=4.0.4",
58
+ "@deepseek-ai/dsh-typert-protocol": ">=0.2.0-rc.2",
59
+ "@deepseek-ai/dsh-client-ui-slots": ">=0.2.2-rc.1",
60
+ "@deepseek-ai/dsh-client-ui-model-selection": ">=0.2.2-rc.1"
61
+ },
62
+ "peerDependenciesMeta": {
63
+ "@deepseek-ai/cordis": {
64
+ "optional": true
65
+ },
66
+ "@deepseek-ai/dsh-typert-protocol": {
67
+ "optional": true
68
+ },
69
+ "@deepseek-ai/dsh-client-ui-slots": {
70
+ "optional": true
71
+ },
72
+ "@deepseek-ai/dsh-client-ui-model-selection": {
73
+ "optional": true
74
+ }
75
+ },
76
+ "devDependencies": {
77
+ "@deepseek-ai/cordis": "4.1.0",
78
+ "@deepseek-ai/dsh-client-ui-model-selection": "0.2.2-rc.1",
79
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.1",
80
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
81
+ "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.1",
82
+ "jsdom": "29.1.1",
83
+ "@types/jsdom": "28.0.3",
84
+ "react": "^18.2.0",
85
+ "react-dom": "^18.2.0",
86
+ "@types/react": "18.3.31",
87
+ "@types/react-dom": "^18.3.0"
88
+ },
89
+ "keywords": [
90
+ "dsh",
91
+ "dsh-plugin",
92
+ "dsh-plugins",
93
+ "deepseek-harness",
94
+ "deepseek-harness-plugin",
95
+ "model-picker",
96
+ "model-selection",
97
+ "reasoning-effort",
98
+ "reasoning-slider",
99
+ "llm"
100
+ ],
101
+ "repository": {
102
+ "type": "git",
103
+ "url": "git+https://github.com/klarkxy/dsh-plugins.git",
104
+ "directory": "plugins/dsh-model-picker"
105
+ },
106
+ "homepage": "https://klarkxy.github.io/dsh-plugins/plugins/model-picker/",
107
+ "bugs": {
108
+ "url": "https://github.com/klarkxy/dsh-plugins/issues"
109
+ },
110
+ "publishConfig": {
111
+ "access": "public",
112
+ "registry": "https://registry.npmjs.org/"
113
+ },
114
+ "dshRelease": {
115
+ "contentHash": "1c58b11d951dae29723f6fa420407a9046028403d3f14ed4f22242b289ef40db"
116
+ }
117
+ }