@dickpy/dsh-imagegen 1.2.3 → 1.4.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/LICENSE +201 -201
- package/README.md +203 -181
- package/cordis.patch.yml +8 -8
- package/docs/images/multi-model-comparison.png +0 -0
- package/lib/client.js +2711 -1318
- package/lib/client.js.map +1 -1
- package/lib/index.js +830 -155
- package/package.json +70 -68
- package/src/agent-image-tools.ts +418 -316
- package/src/client/ImageGenPanel.tsx +1703 -1476
- package/src/client/SettingsCard.tsx +936 -648
- package/src/client/TemplateLibrary.tsx +336 -336
- package/src/client/api.ts +193 -193
- package/src/client/channels-form.ts +263 -0
- package/src/client/controller.ts +46 -46
- package/src/client/conversation-sync.ts +14 -0
- package/src/client/css-modules.d.ts +5 -5
- package/src/client/helpers.ts +33 -33
- package/src/client/image-toolview.module.css +73 -73
- package/src/client/image-toolview.tsx +170 -152
- package/src/client/index.ts +32 -22
- package/src/client/locales.ts +610 -484
- package/src/client/mount.tsx +185 -96
- package/src/client/panel.module.css +1713 -1445
- package/src/client/settings-card.module.css +1023 -536
- package/src/client/settings-form.ts +336 -336
- package/src/client/settings-scope.ts +298 -250
- package/src/client/sidebar-entry.ts +148 -102
- package/src/client/templates.module.css +453 -453
- package/src/engine.ts +520 -464
- package/src/gallery-store.ts +286 -280
- package/src/generation-runtime.ts +79 -48
- package/src/history-store.ts +250 -238
- package/src/image-format.ts +11 -0
- package/src/image-models.ts +19 -19
- package/src/index.ts +318 -212
- package/src/model-catalog.ts +115 -0
- package/src/presets.ts +71 -0
- package/src/prompt-enhancer.ts +137 -79
- package/src/protocol.ts +338 -253
- package/src/routes.ts +916 -738
- package/src/task-queue.ts +113 -103
- package/src/templates/cases.json +10196 -10196
- package/src/templates-store.ts +278 -278
- package/src/updater.ts +117 -117
package/package.json
CHANGED
|
@@ -1,72 +1,74 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@dickpy/dsh-imagegen",
|
|
3
|
-
"description": "AI
|
|
4
|
-
"version": "1.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "lib/index.js",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": "./lib/index.js",
|
|
9
|
-
"./client": "./lib/client.js",
|
|
10
|
-
"./package.json": "./package.json"
|
|
11
|
-
},
|
|
12
|
-
"dsh": {
|
|
13
|
-
"bundle": {
|
|
14
|
-
"patch": "./cordis.patch.yml"
|
|
15
|
-
},
|
|
16
|
-
"client": {
|
|
17
|
-
"inject": [
|
|
1
|
+
{
|
|
2
|
+
"name": "@dickpy/dsh-imagegen",
|
|
3
|
+
"description": "AI image generation plugin for the dsh web GUI: text-to-image and image-to-image through configurable provider channels (gpt-image-2 / grok-imagine-image / nanobanana series / seedream-5.0-pro / dall-e-3, with native xAI Grok Imagine, Google Nano Banana and ByteDance Seedream request shaping), with per-channel model catalogs and a New Session / Image Generation tab entry opening a three-column studio beside the native conversation.",
|
|
4
|
+
"version": "1.4.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./lib/index.js",
|
|
9
|
+
"./client": "./lib/client.js",
|
|
10
|
+
"./package.json": "./package.json"
|
|
11
|
+
},
|
|
12
|
+
"dsh": {
|
|
13
|
+
"bundle": {
|
|
14
|
+
"patch": "./cordis.patch.yml"
|
|
15
|
+
},
|
|
16
|
+
"client": {
|
|
17
|
+
"inject": [
|
|
18
18
|
"@deepseek-ai/dsh-client-runtime",
|
|
19
19
|
"@deepseek-ai/dsh-client-connection",
|
|
20
|
+
"@deepseek-ai/dsh-client-ui-conversation",
|
|
20
21
|
"@deepseek-ai/dsh-client-ui-settings",
|
|
21
|
-
"@deepseek-ai/dsh-client-ui-tool"
|
|
22
|
-
],
|
|
23
|
-
"platform": "web"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"schemastery": "^3.18.0"
|
|
28
|
-
},
|
|
29
|
-
"devDependencies": {
|
|
30
|
-
"@deepseek-ai/cordis": "^4.0.1",
|
|
31
|
-
"@deepseek-ai/dsh-attachment": "0.1.0-rc.7",
|
|
32
|
-
"@deepseek-ai/dsh-client-connection": "0.1.0-rc.7",
|
|
33
|
-
"@deepseek-ai/dsh-client-locale": "0.1.0-rc.7",
|
|
34
|
-
"@deepseek-ai/dsh-client-runtime": "0.1.0-rc.7",
|
|
22
|
+
"@deepseek-ai/dsh-client-ui-tool"
|
|
23
|
+
],
|
|
24
|
+
"platform": "web"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"schemastery": "^3.18.0"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
32
|
+
"@deepseek-ai/dsh-attachment": "0.1.0-rc.7",
|
|
33
|
+
"@deepseek-ai/dsh-client-connection": "0.1.0-rc.7",
|
|
34
|
+
"@deepseek-ai/dsh-client-locale": "0.1.0-rc.7",
|
|
35
|
+
"@deepseek-ai/dsh-client-runtime": "0.1.0-rc.7",
|
|
35
36
|
"@deepseek-ai/dsh-client-ui-primitives": "0.1.0-rc.7",
|
|
36
|
-
"@deepseek-ai/dsh-client-ui-
|
|
37
|
-
"@deepseek-ai/dsh-client-ui-
|
|
38
|
-
"@deepseek-ai/dsh-
|
|
39
|
-
"@deepseek-ai/dsh-
|
|
40
|
-
"@deepseek-ai/dsh-
|
|
41
|
-
"@deepseek-ai/dsh-
|
|
42
|
-
"@deepseek-ai/dsh-
|
|
43
|
-
"@
|
|
44
|
-
"@types/
|
|
45
|
-
"@types/react
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"react
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
}
|
|
37
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.0-rc.7",
|
|
38
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.7",
|
|
39
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.7",
|
|
40
|
+
"@deepseek-ai/dsh-host-webserver": "0.1.0-rc.7",
|
|
41
|
+
"@deepseek-ai/dsh-llm": "0.1.0-rc.7",
|
|
42
|
+
"@deepseek-ai/dsh-settings": "0.1.0-rc.7",
|
|
43
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.0-rc.7",
|
|
44
|
+
"@deepseek-ai/dsh-tools": "0.1.0-rc.7",
|
|
45
|
+
"@types/node": "^22.20.0",
|
|
46
|
+
"@types/react": "~18.3.1",
|
|
47
|
+
"@types/react-dom": "^18.3.5",
|
|
48
|
+
"jsdom": "25.0.1",
|
|
49
|
+
"lightningcss": "1.32.0",
|
|
50
|
+
"react": "^18.3.1",
|
|
51
|
+
"react-dom": "^18.3.1",
|
|
52
|
+
"schemastery": "^3.18.0",
|
|
53
|
+
"tsdown": "0.22.2",
|
|
54
|
+
"typescript": "~5.7.2"
|
|
55
|
+
},
|
|
56
|
+
"files": [
|
|
57
|
+
"lib",
|
|
58
|
+
"src",
|
|
59
|
+
"cordis.patch.yml",
|
|
60
|
+
"docs",
|
|
61
|
+
"README.md"
|
|
62
|
+
],
|
|
63
|
+
"license": "Apache-2.0",
|
|
64
|
+
"repository": {
|
|
65
|
+
"type": "git",
|
|
66
|
+
"url": "git+https://github.com/dickpy/dsh-imagegen.git"
|
|
67
|
+
},
|
|
68
|
+
"scripts": {
|
|
69
|
+
"build": "tsdown",
|
|
70
|
+
"watch": "tsdown --watch",
|
|
71
|
+
"typecheck": "tsc --noEmit",
|
|
72
|
+
"fetch-templates": "node scripts/fetch-templates.mjs"
|
|
73
|
+
}
|
|
74
|
+
}
|