@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/package.json CHANGED
@@ -1,119 +1,147 @@
1
- {
2
- "name": "@huanlin/dsh-plugin-aigc-canvas",
3
- "version": "0.1.4",
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
- "scripts": {
53
- "typecheck": "tsc -p tsconfig.json --noEmit",
54
- "test": "vitest run",
55
- "test:watch": "vitest",
56
- "build": "tsdown --config tsdown.config.ts && tsc -p tsconfig.build.json",
57
- "bundle:client": "tsdown --config tsdown.config.ts",
58
- "watch": "tsdown --config tsdown.config.ts --watch"
59
- },
60
- "dependencies": {
61
- "schemastery": "^3.18.0",
62
- "ws": "^8.18.0"
63
- },
64
- "peerDependencies": {
65
- "@deepseek-ai/dsh-client-locale": "^0.0.1",
66
- "@deepseek-ai/dsh-client-runtime": "^0.0.1",
67
- "@deepseek-ai/dsh-client-ui-primitives": "^0.0.1",
68
- "@deepseek-ai/dsh-client-ui-settings": "^0.0.1",
69
- "@deepseek-ai/dsh-client-ui-conversation": "^0.0.1",
70
- "@deepseek-ai/dsh-client-ui-slots": "^0.0.1",
71
- "@deepseek-ai/dsh-host-webserver": "^0.0.1",
72
- "@deepseek-ai/dsh-invariants": "^0.0.1",
73
- "@deepseek-ai/dsh-session": "^0.0.1",
74
- "@deepseek-ai/dsh-tools": "^0.0.1",
75
- "cordis": "^4.0.0-rc.7",
76
- "dsh-better-sidebar": "^0.4.0",
77
- "react": "^18.2.0",
78
- "react-dom": "^18.2.0"
79
- },
80
- "peerDependenciesMeta": {
81
- "@deepseek-ai/dsh-client-locale": { "optional": true },
82
- "@deepseek-ai/dsh-client-runtime": { "optional": true },
83
- "@deepseek-ai/dsh-client-ui-primitives": { "optional": true },
84
- "@deepseek-ai/dsh-client-ui-settings": { "optional": true },
85
- "@deepseek-ai/dsh-client-ui-conversation": { "optional": true },
86
- "@deepseek-ai/dsh-client-ui-slots": { "optional": true },
87
- "@deepseek-ai/dsh-host-webserver": { "optional": true },
88
- "@deepseek-ai/dsh-invariants": { "optional": true },
89
- "@deepseek-ai/dsh-session": { "optional": true },
90
- "@deepseek-ai/dsh-tools": { "optional": true },
91
- "cordis": { "optional": true },
92
- "dsh-better-sidebar": { "optional": true },
93
- "react": { "optional": true },
94
- "react-dom": { "optional": true }
95
- },
96
- "devDependencies": {
97
- "@deepseek-ai/dsh-client-locale": "link:C:/Users/Administrator/.dsh/source/current/packages/client/locale",
98
- "@deepseek-ai/dsh-client-runtime": "link:C:/Users/Administrator/.dsh/source/current/packages/client/runtime",
99
- "@deepseek-ai/dsh-client-ui-primitives": "link:C:/Users/Administrator/.dsh/source/current/packages/client/ui-primitives",
100
- "@deepseek-ai/dsh-client-ui-settings": "link:C:/Users/Administrator/.dsh/source/current/packages/client/ui-settings",
101
- "@deepseek-ai/dsh-client-ui-conversation": "link:C:/Users/Administrator/.dsh/source/current/packages/client/ui-conversation",
102
- "@deepseek-ai/dsh-client-ui-slots": "link:C:/Users/Administrator/.dsh/source/current/packages/client/ui-slots",
103
- "@deepseek-ai/dsh-host-webserver": "link:C:/Users/Administrator/.dsh/source/current/packages/host/webserver",
104
- "@deepseek-ai/dsh-invariants": "link:C:/Users/Administrator/.dsh/source/current/packages/support/invariants",
105
- "@deepseek-ai/dsh-session": "link:C:/Users/Administrator/.dsh/source/current/packages/core/session",
106
- "@deepseek-ai/dsh-tools": "link:C:/Users/Administrator/.dsh/source/current/packages/core/tools",
107
- "@types/node": "^24.0.0",
108
- "@types/react": "~18.3.1",
109
- "@types/react-dom": "~18.3.1",
110
- "@types/ws": "^8.5.10",
111
- "cordis": "^4.0.0-rc.7",
112
- "dsh-better-sidebar": "link:D:/Projects/deepseek-harness/DSH-better-sidebar",
113
- "react": "^18.2.0",
114
- "react-dom": "18.2.0",
115
- "tsdown": "^0.22.2",
116
- "typescript": "^5.9.0",
117
- "vitest": "^3.2.0"
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
+ }