@klarkxy/dsh-plugin-kit 0.6.1 → 0.8.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.
Files changed (44) hide show
  1. package/README.md +1 -1
  2. package/docs/README.zh-CN.md +1 -1
  3. package/lib/auxiliary-model-client.d.ts +4 -1
  4. package/lib/auxiliary-model-client.js +72 -33
  5. package/lib/auxiliary-model-client.js.map +1 -1
  6. package/lib/auxiliary-model.js +26 -2
  7. package/lib/auxiliary-model.js.map +1 -1
  8. package/lib/cli-media.js +1 -1
  9. package/lib/cli-process.d.ts +2 -0
  10. package/lib/cli-process.js +36 -2
  11. package/lib/cli-process.js.map +1 -1
  12. package/lib/client-logger.d.ts +19 -0
  13. package/lib/client-logger.js +153 -0
  14. package/lib/client-logger.js.map +1 -0
  15. package/lib/client-utils.d.ts +2 -1
  16. package/lib/client-utils.js +9 -3
  17. package/lib/client-utils.js.map +1 -1
  18. package/lib/domain.d.ts +12 -4
  19. package/lib/domain.js +32 -6
  20. package/lib/domain.js.map +1 -1
  21. package/lib/host-rpc.d.ts +2 -0
  22. package/lib/host-rpc.js +71 -2
  23. package/lib/host-rpc.js.map +1 -1
  24. package/lib/index.d.ts +3 -1
  25. package/lib/index.js +2 -1
  26. package/lib/llm-call.d.ts +5 -1
  27. package/lib/llm-call.js +79 -46
  28. package/lib/llm-call.js.map +1 -1
  29. package/lib/log-shared.d.ts +2 -0
  30. package/lib/log-shared.js +169 -0
  31. package/lib/log-shared.js.map +1 -0
  32. package/lib/log-shared2.d.ts +72 -0
  33. package/lib/logger.d.ts +87 -0
  34. package/lib/logger.js +572 -0
  35. package/lib/logger.js.map +1 -0
  36. package/lib/model-picker.d.ts +34 -0
  37. package/lib/model-picker.js +96 -0
  38. package/lib/model-picker.js.map +1 -0
  39. package/lib/official-ui.d.ts +1 -1
  40. package/lib/official-ui.js +3 -1
  41. package/lib/official-ui.js.map +1 -1
  42. package/lib/zod.js +79 -79
  43. package/lib/zod.js.map +1 -1
  44. package/package.json +34 -14
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@klarkxy/dsh-plugin-kit",
3
- "version": "0.6.1",
4
- "description": "Shared support library for klarkxy DSH plugins, providing the default auxiliary model, shared session settings, independent feature contexts, RPC and UI helpers; installed automatically by dependent plugins.",
3
+ "version": "0.8.0",
4
+ "description": "Shared support library for klarkxy DSH plugins, providing the default auxiliary model, shared session settings, independent feature contexts, RPC, UI helpers and optional shared model picker integration; installed automatically by dependent plugins.",
5
5
  "homepage": "https://klarkxy.github.io/dsh-plugins/plugins/plugin-kit/",
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "type": "module",
@@ -51,6 +51,11 @@
51
51
  "import": "./lib/model-menu.js",
52
52
  "default": "./lib/model-menu.js"
53
53
  },
54
+ "./model-picker": {
55
+ "types": "./lib/model-picker.d.ts",
56
+ "import": "./lib/model-picker.js",
57
+ "default": "./lib/model-picker.js"
58
+ },
54
59
  "./llm-call": {
55
60
  "types": "./lib/llm-call.d.ts",
56
61
  "import": "./lib/llm-call.js",
@@ -91,6 +96,21 @@
91
96
  "types": "./lib/cli-media.d.ts",
92
97
  "import": "./lib/cli-media.js",
93
98
  "default": "./lib/cli-media.js"
99
+ },
100
+ "./log-shared": {
101
+ "types": "./lib/log-shared.d.ts",
102
+ "import": "./lib/log-shared.js",
103
+ "default": "./lib/log-shared.js"
104
+ },
105
+ "./logger": {
106
+ "types": "./lib/logger.d.ts",
107
+ "import": "./lib/logger.js",
108
+ "default": "./lib/logger.js"
109
+ },
110
+ "./client-logger": {
111
+ "types": "./lib/client-logger.d.ts",
112
+ "import": "./lib/client-logger.js",
113
+ "default": "./lib/client-logger.js"
94
114
  }
95
115
  },
96
116
  "files": [
@@ -105,7 +125,7 @@
105
125
  "test": "vitest run --root ../.. --config vitest.editor-plugins.config.ts --maxWorkers=2 plugins/dsh-plugin-kit/src"
106
126
  },
107
127
  "dependencies": {
108
- "@klarkxy/dsh-model-route": "0.2.7"
128
+ "@klarkxy/dsh-model-route": "0.3.0"
109
129
  },
110
130
  "peerDependencies": {
111
131
  "@deepseek-ai/dsh-llm": ">=0.2.0-rc.2",
@@ -141,20 +161,20 @@
141
161
  },
142
162
  "devDependencies": {
143
163
  "zod": "4.4.3",
144
- "@deepseek-ai/cordis": "4.0.5",
145
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.1-rc.1",
146
- "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.1",
147
- "@deepseek-ai/dsh-llm": "0.2.1-rc.1",
148
- "@deepseek-ai/dsh-storage-domain": "0.2.1-rc.1",
149
- "@deepseek-ai/dsh-storage-json": "0.2.1-rc.1",
164
+ "@deepseek-ai/cordis": "4.1.0",
165
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.1",
166
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
167
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
168
+ "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.1",
169
+ "@deepseek-ai/dsh-storage-json": "0.2.2-rc.1",
150
170
  "@types/react": "18.3.31",
151
171
  "@types/react-dom": "^18.3.0",
152
172
  "react": "18.3.1",
153
173
  "react-dom": "18.3.1",
154
- "@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.1",
155
- "@deepseek-ai/dsh-api-gateway": "0.2.1-rc.1",
156
- "@deepseek-ai/dsh-attachment": "0.2.1-rc.1",
157
- "@deepseek-ai/dsh-tools": "0.2.1-rc.1"
174
+ "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.1",
175
+ "@deepseek-ai/dsh-api-gateway": "0.2.2-rc.1",
176
+ "@deepseek-ai/dsh-attachment": "0.2.2-rc.1",
177
+ "@deepseek-ai/dsh-tools": "0.2.2-rc.1"
158
178
  },
159
179
  "keywords": [
160
180
  "dsh",
@@ -176,6 +196,6 @@
176
196
  "registry": "https://registry.npmjs.org/"
177
197
  },
178
198
  "dshRelease": {
179
- "contentHash": "2c677b08ab53226d8eb4fac7013f29805769003345fa21110a0f438d80e39833"
199
+ "contentHash": "06ae7dfee4aa2ed0d363d112bb4ef552762e1ede6bc971b3f3346a34248e704e"
180
200
  }
181
201
  }