@qzsy/dsh-image-generation 0.1.3 → 0.2.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 +21 -21
- package/README.md +105 -111
- package/cordis.patch.yml +5 -5
- package/dist/client.js +1091 -756
- package/dist/index.js +200 -207
- package/icon.svg +14 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +15 -7
- package/NOTICE +0 -6
package/icon.svg
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="dsh-ig-bg" x1="6" y1="2" x2="44" y2="46" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop stop-color="#4C8DFF"/>
|
|
5
|
+
<stop offset="1" stop-color="#6C4DF6"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect width="48" height="48" rx="12" fill="url(#dsh-ig-bg)"/>
|
|
9
|
+
<rect x="10" y="13" width="24" height="20" rx="4.5" stroke="#FFFFFF" stroke-width="2.2"/>
|
|
10
|
+
<circle cx="17.5" cy="20.5" r="2.2" fill="#FFFFFF"/>
|
|
11
|
+
<path d="M11.5 30.5L18.2 24.4C19.1 23.6 20.4 23.6 21.3 24.4L27.4 30.1" stroke="#FFFFFF" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
+
<path d="M24.4 27.3L28.6 23.5C29.5 22.7 30.8 22.7 31.7 23.5L33.8 25.4" stroke="#FFFFFF" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
13
|
+
<path d="M35.5 9.5L36.6 12.4L39.5 13.5L36.6 14.6L35.5 17.5L34.4 14.6L31.5 13.5L34.4 12.4L35.5 9.5Z" fill="#FFFFFF"/>
|
|
14
|
+
</svg>
|
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qzsy/dsh-image-generation",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "DSH
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "DSH image generation: configure image providers and models in Settings, then generate images from a conversation with image_generate.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"author": "
|
|
7
|
+
"author": "qzsy",
|
|
8
8
|
"contributors": [
|
|
9
9
|
{
|
|
10
10
|
"name": "qzsy"
|
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
"dsh",
|
|
15
15
|
"deepseek-harness",
|
|
16
16
|
"plugin",
|
|
17
|
-
"image-generation"
|
|
17
|
+
"image-generation",
|
|
18
|
+
"openai",
|
|
19
|
+
"gemini",
|
|
20
|
+
"xai"
|
|
18
21
|
],
|
|
19
22
|
"repository": {
|
|
20
23
|
"type": "git",
|
|
@@ -26,14 +29,15 @@
|
|
|
26
29
|
"url": "https://codeup.aliyun.com/qzsy/dshmarket/deepseek-harness-market/issues"
|
|
27
30
|
},
|
|
28
31
|
"engines": {
|
|
29
|
-
"node": ">=
|
|
32
|
+
"node": ">=20.9.0"
|
|
30
33
|
},
|
|
31
34
|
"files": [
|
|
32
35
|
"dist",
|
|
33
36
|
"cordis.patch.yml",
|
|
34
37
|
"README.md",
|
|
35
38
|
"LICENSE",
|
|
36
|
-
"
|
|
39
|
+
"locale/*.json",
|
|
40
|
+
"icon.svg"
|
|
37
41
|
],
|
|
38
42
|
"publishConfig": {
|
|
39
43
|
"access": "public"
|
|
@@ -44,6 +48,7 @@
|
|
|
44
48
|
},
|
|
45
49
|
"client": {
|
|
46
50
|
"platform": "web",
|
|
51
|
+
"immediately": true,
|
|
47
52
|
"inject": [
|
|
48
53
|
"@deepseek-ai/dsh-client-ui-renderer",
|
|
49
54
|
"@deepseek-ai/dsh-client-ui-settings",
|
|
@@ -54,7 +59,8 @@
|
|
|
54
59
|
},
|
|
55
60
|
"scripts": {
|
|
56
61
|
"build": "bun run ../../scripts/build-package.mjs .",
|
|
57
|
-
"typecheck": "bun exec tsc -p tsconfig.json --noEmit"
|
|
62
|
+
"typecheck": "bun exec tsc -p tsconfig.json --noEmit",
|
|
63
|
+
"test": "node --test test/*.test.mjs"
|
|
58
64
|
},
|
|
59
65
|
"dshBuild": {
|
|
60
66
|
"host": "src/index.ts",
|
|
@@ -65,6 +71,8 @@
|
|
|
65
71
|
"exports": {
|
|
66
72
|
".": "./dist/index.js",
|
|
67
73
|
"./client": "./dist/client.js",
|
|
74
|
+
"./locale/*.json": "./locale/*.json",
|
|
75
|
+
"./icon": "./icon.svg",
|
|
68
76
|
"./package.json": "./package.json"
|
|
69
77
|
}
|
|
70
78
|
}
|
package/NOTICE
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
This package is a fork of dsh-image-generation (https://github.com/whiteS18/dsh-image-generation).
|
|
2
|
-
Original author: whiteS18. Licensed under MIT; see LICENSE.
|
|
3
|
-
|
|
4
|
-
Changes made for @qzsy: package name/scope, module id, Cordis patch name,
|
|
5
|
-
Bun + TypeScript 7 packaging, and build/publish tooling. Runtime behavior
|
|
6
|
-
is preserved from the published upstream build.
|