@qzsy/dsh-image-generation 0.0.0-stage → 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/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
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Image generation",
4
+ "description": "Configure image providers and models, then generate images from a conversation with image_generate."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "生图配置",
4
+ "description": "配置生图供应商与模型,在对话中通过 image_generate 生成图片。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,78 @@
1
1
  {
2
2
  "name": "@qzsy/dsh-image-generation",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
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
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "qzsy",
8
+ "contributors": [
9
+ {
10
+ "name": "qzsy"
11
+ }
12
+ ],
13
+ "keywords": [
14
+ "dsh",
15
+ "deepseek-harness",
16
+ "plugin",
17
+ "image-generation",
18
+ "openai",
19
+ "gemini",
20
+ "xai"
21
+ ],
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "https://codeup.aliyun.com/qzsy/dshmarket/deepseek-harness-market",
25
+ "directory": "plugins/packages/dsh-image-generation"
26
+ },
27
+ "homepage": "https://codeup.aliyun.com/qzsy/dshmarket/deepseek-harness-market",
28
+ "bugs": {
29
+ "url": "https://codeup.aliyun.com/qzsy/dshmarket/deepseek-harness-market/issues"
30
+ },
31
+ "engines": {
32
+ "node": ">=20.9.0"
33
+ },
34
+ "files": [
35
+ "dist",
36
+ "cordis.patch.yml",
37
+ "README.md",
38
+ "LICENSE",
39
+ "locale/*.json",
40
+ "icon.svg"
41
+ ],
42
+ "publishConfig": {
43
+ "access": "public"
44
+ },
45
+ "dsh": {
46
+ "bundle": {
47
+ "patch": "./cordis.patch.yml"
48
+ },
49
+ "client": {
50
+ "platform": "web",
51
+ "immediately": true,
52
+ "inject": [
53
+ "@deepseek-ai/dsh-client-ui-renderer",
54
+ "@deepseek-ai/dsh-client-ui-settings",
55
+ "@deepseek-ai/dsh-client-ui-settings-plugins",
56
+ "@deepseek-ai/dsh-client-locale"
57
+ ]
58
+ }
59
+ },
60
+ "scripts": {
61
+ "build": "bun run ../../scripts/build-package.mjs .",
62
+ "typecheck": "bun exec tsc -p tsconfig.json --noEmit",
63
+ "test": "node --test test/*.test.mjs"
64
+ },
65
+ "dshBuild": {
66
+ "host": "src/index.ts",
67
+ "client": "runtime/client.js",
68
+ "copy": []
69
+ },
70
+ "main": "./dist/index.js",
71
+ "exports": {
72
+ ".": "./dist/index.js",
73
+ "./client": "./dist/client.js",
74
+ "./locale/*.json": "./locale/*.json",
75
+ "./icon": "./icon.svg",
76
+ "./package.json": "./package.json"
77
+ }
78
+ }