@dsh-plus/image-studio 0.1.34 → 0.1.35
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/client.js +12 -0
- package/package.json +15 -15
package/lib/client.js
CHANGED
|
@@ -152,6 +152,18 @@ window.__ModuleLoader__.load({
|
|
|
152
152
|
}, reg.component));
|
|
153
153
|
}
|
|
154
154
|
//#endregion
|
|
155
|
+
//#region ../shared/src/client/credentials.tsx
|
|
156
|
+
/**
|
|
157
|
+
* 凭据面(共享件):官方 settings-controller 的 `remote.credentials` 命名空间
|
|
158
|
+
* (describe/set/unset/onChange),复用官方 credentials seam,不另开 HTTP 端点。
|
|
159
|
+
* **值只写不读**——describe 只回「已配置 / 来源 / 可写」,没有任何方法回传值。
|
|
160
|
+
*
|
|
161
|
+
* 凭据与 settings 草稿相互独立:不进命名空间、不参与脏判定,保存即落
|
|
162
|
+
* `$DSH_HOME/.credentials.yaml` 并热生效(宿主每次工具调用重新 resolve),
|
|
163
|
+
* 因此改口令不需要保存卡片、也不需要 /reload 或重启。
|
|
164
|
+
* @module @dsh-plus/shared/client/credentials
|
|
165
|
+
*/
|
|
166
|
+
//#endregion
|
|
155
167
|
//#region ../shared/src/client/draft.ts
|
|
156
168
|
/**
|
|
157
169
|
* 单命名空间 staged 草稿(简单配置卡片共用):读 scope 快照、播种草稿、
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-plus/image-studio",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.35",
|
|
4
4
|
"description": "dsh-plus service+ui plugin: 图像工作室——OpenAI Images 协议文生图/图生图,全参数开关化,双预设体系,并发生图任务与可二次编辑画廊",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -20,24 +20,24 @@
|
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"https-proxy-agent": "^9.1.0",
|
|
23
|
-
"@dsh-plus/shared": "0.1.
|
|
23
|
+
"@dsh-plus/shared": "0.1.43"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@deepseek-ai/cordis": "^4.0.5
|
|
27
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.2.1-
|
|
28
|
-
"@deepseek-ai/dsh-credentials": "^0.2.1-
|
|
29
|
-
"@deepseek-ai/dsh-host-webserver": "^0.2.1-
|
|
30
|
-
"@deepseek-ai/dsh-settings": "^0.2.1-
|
|
31
|
-
"@deepseek-ai/schemastery": "^3.18.5
|
|
26
|
+
"@deepseek-ai/cordis": "^4.0.5",
|
|
27
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.2.1-rc.1",
|
|
28
|
+
"@deepseek-ai/dsh-credentials": "^0.2.1-rc.2",
|
|
29
|
+
"@deepseek-ai/dsh-host-webserver": "^0.2.1-rc.2",
|
|
30
|
+
"@deepseek-ai/dsh-settings": "^0.2.1-rc.2",
|
|
31
|
+
"@deepseek-ai/schemastery": "^3.18.5"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@deepseek-ai/cordis": "4.0.5
|
|
35
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.2.1-
|
|
36
|
-
"@deepseek-ai/dsh-credentials": "0.2.1-
|
|
37
|
-
"@deepseek-ai/dsh-host-webserver": "0.2.1-
|
|
38
|
-
"@deepseek-ai/dsh-session": "0.2.1-
|
|
39
|
-
"@deepseek-ai/dsh-settings": "0.2.1-
|
|
40
|
-
"@deepseek-ai/schemastery": "3.18.5
|
|
34
|
+
"@deepseek-ai/cordis": "4.0.5",
|
|
35
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.1-rc.1",
|
|
36
|
+
"@deepseek-ai/dsh-credentials": "0.2.1-rc.2",
|
|
37
|
+
"@deepseek-ai/dsh-host-webserver": "0.2.1-rc.2",
|
|
38
|
+
"@deepseek-ai/dsh-session": "0.2.1-rc.2",
|
|
39
|
+
"@deepseek-ai/dsh-settings": "0.2.1-rc.2",
|
|
40
|
+
"@deepseek-ai/schemastery": "3.18.5",
|
|
41
41
|
"@types/node": "26.4.0",
|
|
42
42
|
"@types/react": "~18.3.31",
|
|
43
43
|
"react": "^18.2.0"
|