@huanlin/dsh-plugin-aigc-canvas 0.1.4 → 0.1.6
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/README.md +10 -6
- package/lib/client.js +1372 -3
- package/lib/client.js.map +1 -1
- package/package.json +147 -119
package/package.json
CHANGED
|
@@ -1,119 +1,147 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@huanlin/dsh-plugin-aigc-canvas",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "DSH plugin: an infinite free canvas for the better-sidebar plus provider-agnostic generation. Exposes aigc_get_provider_info / aigc_http_request (endpoint + apiKey auto-attached) / aigc_provider_set_instructions / aigc_canvas_place / aigc_canvas_link / aigc_canvas_unlink / aigc_canvas_list_elements tools; generated files are placed at arbitrary canvas positions and can be double-clicked for prompt + params.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"main": "./lib/index.js",
|
|
8
|
-
"types": "./lib/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./lib/index.d.ts",
|
|
12
|
-
"import": "./lib/index.js"
|
|
13
|
-
},
|
|
14
|
-
"./invariant": {
|
|
15
|
-
"types": "./lib/invariant.d.ts",
|
|
16
|
-
"import": "./lib/invariant.js"
|
|
17
|
-
},
|
|
18
|
-
"./client": {
|
|
19
|
-
"types": "./lib/client.d.ts",
|
|
20
|
-
"default": "./lib/client.js"
|
|
21
|
-
},
|
|
22
|
-
"./client/service": {
|
|
23
|
-
"types": "./lib/types/client/service.d.ts",
|
|
24
|
-
"default": "./lib/client.js"
|
|
25
|
-
},
|
|
26
|
-
"./package.json": "./package.json"
|
|
27
|
-
},
|
|
28
|
-
"engines": {
|
|
29
|
-
"node": ">=20"
|
|
30
|
-
},
|
|
31
|
-
"files": [
|
|
32
|
-
"lib/",
|
|
33
|
-
"assets/",
|
|
34
|
-
"cordis.patch.yml"
|
|
35
|
-
],
|
|
36
|
-
"dsh": {
|
|
37
|
-
"bundle": {
|
|
38
|
-
"patch": "./cordis.patch.yml"
|
|
39
|
-
},
|
|
40
|
-
"client": {
|
|
41
|
-
"inject": [
|
|
42
|
-
"@deepseek-ai/dsh-client-runtime",
|
|
43
|
-
"@deepseek-ai/dsh-client-locale",
|
|
44
|
-
"@deepseek-ai/dsh-client-ui-conversation",
|
|
45
|
-
"@deepseek-ai/dsh-client-ui-slots",
|
|
46
|
-
"@deepseek-ai/dsh-client-ui-settings",
|
|
47
|
-
"@deepseek-ai/dsh-client-ui-primitives"
|
|
48
|
-
],
|
|
49
|
-
"platform": "web"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"@deepseek-ai/dsh-
|
|
66
|
-
"@deepseek-ai/dsh-
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"@deepseek-ai/dsh-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"dsh-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"@deepseek-ai/dsh-client-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"@deepseek-ai/dsh-client-ui-conversation": {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"@deepseek-ai/dsh-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
"@deepseek-ai/dsh-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
"@deepseek-ai/dsh-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
"
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
"
|
|
118
|
-
|
|
119
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@huanlin/dsh-plugin-aigc-canvas",
|
|
3
|
+
"version": "0.1.6",
|
|
4
|
+
"description": "DSH plugin: an infinite free canvas for the better-sidebar plus provider-agnostic generation. Exposes aigc_get_provider_info / aigc_http_request (endpoint + apiKey auto-attached) / aigc_provider_set_instructions / aigc_canvas_place / aigc_canvas_link / aigc_canvas_unlink / aigc_canvas_list_elements tools; generated files are placed at arbitrary canvas positions and can be double-clicked for prompt + params.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "./lib/index.js",
|
|
8
|
+
"types": "./lib/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./lib/index.d.ts",
|
|
12
|
+
"import": "./lib/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./invariant": {
|
|
15
|
+
"types": "./lib/invariant.d.ts",
|
|
16
|
+
"import": "./lib/invariant.js"
|
|
17
|
+
},
|
|
18
|
+
"./client": {
|
|
19
|
+
"types": "./lib/client.d.ts",
|
|
20
|
+
"default": "./lib/client.js"
|
|
21
|
+
},
|
|
22
|
+
"./client/service": {
|
|
23
|
+
"types": "./lib/types/client/service.d.ts",
|
|
24
|
+
"default": "./lib/client.js"
|
|
25
|
+
},
|
|
26
|
+
"./package.json": "./package.json"
|
|
27
|
+
},
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": ">=20"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"lib/",
|
|
33
|
+
"assets/",
|
|
34
|
+
"cordis.patch.yml"
|
|
35
|
+
],
|
|
36
|
+
"dsh": {
|
|
37
|
+
"bundle": {
|
|
38
|
+
"patch": "./cordis.patch.yml"
|
|
39
|
+
},
|
|
40
|
+
"client": {
|
|
41
|
+
"inject": [
|
|
42
|
+
"@deepseek-ai/dsh-client-runtime",
|
|
43
|
+
"@deepseek-ai/dsh-client-locale",
|
|
44
|
+
"@deepseek-ai/dsh-client-ui-conversation",
|
|
45
|
+
"@deepseek-ai/dsh-client-ui-slots",
|
|
46
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
47
|
+
"@deepseek-ai/dsh-client-ui-primitives"
|
|
48
|
+
],
|
|
49
|
+
"platform": "web"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"schemastery": "^3.18.0",
|
|
54
|
+
"ws": "^8.18.0"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"@deepseek-ai/dsh-client-locale": "^0.0.1",
|
|
58
|
+
"@deepseek-ai/dsh-client-runtime": "^0.0.1",
|
|
59
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.0.1",
|
|
60
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.0.1",
|
|
61
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.0.1",
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.0.1",
|
|
63
|
+
"@deepseek-ai/dsh-host-webserver": "^0.0.1",
|
|
64
|
+
"@deepseek-ai/dsh-invariants": "^0.0.1",
|
|
65
|
+
"@deepseek-ai/dsh-session": "^0.0.1",
|
|
66
|
+
"@deepseek-ai/dsh-tools": "^0.0.1",
|
|
67
|
+
"cordis": "^4.0.0-rc.7",
|
|
68
|
+
"dsh-better-sidebar": "^0.4.0",
|
|
69
|
+
"react": "^18.2.0",
|
|
70
|
+
"react-dom": "^18.2.0"
|
|
71
|
+
},
|
|
72
|
+
"peerDependenciesMeta": {
|
|
73
|
+
"@deepseek-ai/dsh-client-locale": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
76
|
+
"@deepseek-ai/dsh-client-runtime": {
|
|
77
|
+
"optional": true
|
|
78
|
+
},
|
|
79
|
+
"@deepseek-ai/dsh-client-ui-primitives": {
|
|
80
|
+
"optional": true
|
|
81
|
+
},
|
|
82
|
+
"@deepseek-ai/dsh-client-ui-settings": {
|
|
83
|
+
"optional": true
|
|
84
|
+
},
|
|
85
|
+
"@deepseek-ai/dsh-client-ui-conversation": {
|
|
86
|
+
"optional": true
|
|
87
|
+
},
|
|
88
|
+
"@deepseek-ai/dsh-client-ui-slots": {
|
|
89
|
+
"optional": true
|
|
90
|
+
},
|
|
91
|
+
"@deepseek-ai/dsh-host-webserver": {
|
|
92
|
+
"optional": true
|
|
93
|
+
},
|
|
94
|
+
"@deepseek-ai/dsh-invariants": {
|
|
95
|
+
"optional": true
|
|
96
|
+
},
|
|
97
|
+
"@deepseek-ai/dsh-session": {
|
|
98
|
+
"optional": true
|
|
99
|
+
},
|
|
100
|
+
"@deepseek-ai/dsh-tools": {
|
|
101
|
+
"optional": true
|
|
102
|
+
},
|
|
103
|
+
"cordis": {
|
|
104
|
+
"optional": true
|
|
105
|
+
},
|
|
106
|
+
"dsh-better-sidebar": {
|
|
107
|
+
"optional": true
|
|
108
|
+
},
|
|
109
|
+
"react": {
|
|
110
|
+
"optional": true
|
|
111
|
+
},
|
|
112
|
+
"react-dom": {
|
|
113
|
+
"optional": true
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"devDependencies": {
|
|
117
|
+
"@deepseek-ai/dsh-client-locale": "link:C:/Users/Administrator/.dsh/source/current/packages/client/locale",
|
|
118
|
+
"@deepseek-ai/dsh-client-runtime": "link:C:/Users/Administrator/.dsh/source/current/packages/client/runtime",
|
|
119
|
+
"@deepseek-ai/dsh-client-ui-primitives": "link:C:/Users/Administrator/.dsh/source/current/packages/client/ui-primitives",
|
|
120
|
+
"@deepseek-ai/dsh-client-ui-settings": "link:C:/Users/Administrator/.dsh/source/current/packages/client/ui-settings",
|
|
121
|
+
"@deepseek-ai/dsh-client-ui-conversation": "link:C:/Users/Administrator/.dsh/source/current/packages/client/ui-conversation",
|
|
122
|
+
"@deepseek-ai/dsh-client-ui-slots": "link:C:/Users/Administrator/.dsh/source/current/packages/client/ui-slots",
|
|
123
|
+
"@deepseek-ai/dsh-host-webserver": "link:C:/Users/Administrator/.dsh/source/current/packages/host/webserver",
|
|
124
|
+
"@deepseek-ai/dsh-invariants": "link:C:/Users/Administrator/.dsh/source/current/packages/support/invariants",
|
|
125
|
+
"@deepseek-ai/dsh-session": "link:C:/Users/Administrator/.dsh/source/current/packages/core/session",
|
|
126
|
+
"@deepseek-ai/dsh-tools": "link:C:/Users/Administrator/.dsh/source/current/packages/core/tools",
|
|
127
|
+
"@types/node": "^24.0.0",
|
|
128
|
+
"@types/react": "~18.3.1",
|
|
129
|
+
"@types/react-dom": "~18.3.1",
|
|
130
|
+
"@types/ws": "^8.5.10",
|
|
131
|
+
"cordis": "^4.0.0-rc.7",
|
|
132
|
+
"dsh-better-sidebar": "link:D:/Projects/deepseek-harness/DSH-better-sidebar",
|
|
133
|
+
"react": "^18.2.0",
|
|
134
|
+
"react-dom": "18.2.0",
|
|
135
|
+
"tsdown": "^0.22.2",
|
|
136
|
+
"typescript": "^5.9.0",
|
|
137
|
+
"vitest": "^3.2.0"
|
|
138
|
+
},
|
|
139
|
+
"scripts": {
|
|
140
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
141
|
+
"test": "vitest run",
|
|
142
|
+
"test:watch": "vitest",
|
|
143
|
+
"build": "tsdown --config tsdown.config.ts && tsc -p tsconfig.build.json",
|
|
144
|
+
"bundle:client": "tsdown --config tsdown.config.ts",
|
|
145
|
+
"watch": "tsdown --config tsdown.config.ts --watch"
|
|
146
|
+
}
|
|
147
|
+
}
|