@capyclaw/ppt-suite 0.0.0-stage → 2.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 +21 -0
- package/README.md +90 -3
- package/composition.lock.json +108 -0
- package/contract/ppt-contract.json +1529 -0
- package/cordis.patch.yml +30 -0
- package/dsh-suite.json +301 -0
- package/lib/index.mjs +6 -0
- package/package.json +60 -4
- package/services.json +36 -0
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# 由 dsh-suite-kit 生成;改 dsh-suite.json 后重跑 compose。
|
|
2
|
+
|
|
3
|
+
- insert:
|
|
4
|
+
- id: service-host
|
|
5
|
+
name: "dsh-service-host"
|
|
6
|
+
- id: tool-host
|
|
7
|
+
name: "dsh-tool-host"
|
|
8
|
+
- id: asset-service
|
|
9
|
+
name: "dsh-asset-service"
|
|
10
|
+
- id: editor-host
|
|
11
|
+
name: "dsh-editor-host"
|
|
12
|
+
- id: mcp-ppt
|
|
13
|
+
name: "@deepseek-ai/dsh-mcp-client"
|
|
14
|
+
config: {"serverName":"ppt","transport":"streamable-http","url":"http://127.0.0.1:39311/mcp","failOnStartupError":false,"toolCallTimeoutMs":120000}
|
|
15
|
+
- id: ppt-skill-ppt
|
|
16
|
+
name: "dsh-ppt-skill-ppt"
|
|
17
|
+
- id: ppt-skill-narrative
|
|
18
|
+
name: "dsh-ppt-skill-narrative"
|
|
19
|
+
- id: ppt-skill-design
|
|
20
|
+
name: "dsh-ppt-skill-design"
|
|
21
|
+
- id: ppt-skill-api
|
|
22
|
+
name: "dsh-ppt-skill-api"
|
|
23
|
+
- id: ppt-skill-authoring
|
|
24
|
+
name: "dsh-ppt-skill-authoring"
|
|
25
|
+
- id: ppt-skill-editing
|
|
26
|
+
name: "dsh-ppt-skill-editing"
|
|
27
|
+
- id: ppt-skill-visual-check
|
|
28
|
+
name: "dsh-ppt-skill-visual-check"
|
|
29
|
+
- id: ppt-skill-research
|
|
30
|
+
name: "dsh-ppt-skill-research"
|
package/dsh-suite.json
ADDED
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../../../../packages/dsh-suite-kit/suite.schema.json",
|
|
3
|
+
"name": "capyclaw-ppt-suite",
|
|
4
|
+
"version": "2.4.0",
|
|
5
|
+
"title": "PPT 工作台套件",
|
|
6
|
+
"description": "PPTist 运行时(独立端口服务)+ 8 个独立 skill 包 + 4 个公共基建插件 + 文档工作台框架 + 底层 kit + 服务中间件(broker)与技能服务;2026-11-01 起按服务解耦标准:relay 不再 insert 进 dsh 进程,由中间件按清单以独立进程拉起。",
|
|
7
|
+
"components": [
|
|
8
|
+
"../../../../../packages/dsh-service-host",
|
|
9
|
+
"../../../../../packages/dsh-tool-host",
|
|
10
|
+
"../../../../../packages/dsh-asset-service",
|
|
11
|
+
"../../../../../packages/dsh-editor-host"
|
|
12
|
+
],
|
|
13
|
+
"packages": {
|
|
14
|
+
"dsh-plugin-kit": {
|
|
15
|
+
"role": "support",
|
|
16
|
+
"version": "^0.2.0",
|
|
17
|
+
"path": "../../../../../packages/dsh-plugin-kit"
|
|
18
|
+
},
|
|
19
|
+
"dsh-document-workbench": {
|
|
20
|
+
"role": "support",
|
|
21
|
+
"version": "^0.1.0",
|
|
22
|
+
"path": "../../../../../packages/dsh-document-workbench"
|
|
23
|
+
},
|
|
24
|
+
"dsh-ppt-workbench": {
|
|
25
|
+
"role": "runtime",
|
|
26
|
+
"version": "^2.4.0",
|
|
27
|
+
"path": "../dsh-ppt-workbench",
|
|
28
|
+
"requires": {
|
|
29
|
+
"capabilities": {
|
|
30
|
+
"host.http": "^1.0.0",
|
|
31
|
+
"tools.registry": "^1.0.0",
|
|
32
|
+
"assets.store": "^1.0.0",
|
|
33
|
+
"editor.host": "^1.0.0"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"provides": {
|
|
37
|
+
"tools": [
|
|
38
|
+
"ppt_*"
|
|
39
|
+
],
|
|
40
|
+
"services": [
|
|
41
|
+
"ppt-workbench"
|
|
42
|
+
],
|
|
43
|
+
"ports": [
|
|
44
|
+
39311
|
|
45
|
+
],
|
|
46
|
+
"capabilities": {
|
|
47
|
+
"ppt.runtime": "2.3.0",
|
|
48
|
+
"ppt.tools": "2.3.0"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"dsh-ppt-skill-ppt": {
|
|
53
|
+
"role": "skills",
|
|
54
|
+
"version": "^2.2.0",
|
|
55
|
+
"path": "../dsh-ppt-skill-ppt",
|
|
56
|
+
"requires": {
|
|
57
|
+
"dsh-ppt-workbench": "^2.2.0",
|
|
58
|
+
"capabilities": {
|
|
59
|
+
"ppt.runtime": "^2.2.0"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"provides": {
|
|
63
|
+
"skills": [
|
|
64
|
+
"ppt"
|
|
65
|
+
],
|
|
66
|
+
"capabilities": {
|
|
67
|
+
"ppt.workflows": "2.2.0"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"dsh-ppt-skill-narrative": {
|
|
72
|
+
"role": "skills",
|
|
73
|
+
"version": "^2.2.0",
|
|
74
|
+
"path": "../dsh-ppt-skill-narrative",
|
|
75
|
+
"requires": {
|
|
76
|
+
"dsh-ppt-workbench": "^2.2.0",
|
|
77
|
+
"capabilities": {
|
|
78
|
+
"ppt.runtime": "^2.2.0"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"provides": {
|
|
82
|
+
"skills": [
|
|
83
|
+
"pptmaster-narrative"
|
|
84
|
+
],
|
|
85
|
+
"capabilities": {
|
|
86
|
+
"ppt.workflows": "2.2.0"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"dsh-ppt-skill-design": {
|
|
91
|
+
"role": "skills",
|
|
92
|
+
"version": "^2.2.0",
|
|
93
|
+
"path": "../dsh-ppt-skill-design",
|
|
94
|
+
"requires": {
|
|
95
|
+
"dsh-ppt-workbench": "^2.2.0",
|
|
96
|
+
"capabilities": {
|
|
97
|
+
"ppt.runtime": "^2.2.0"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"provides": {
|
|
101
|
+
"skills": [
|
|
102
|
+
"pptmaster-design"
|
|
103
|
+
],
|
|
104
|
+
"capabilities": {
|
|
105
|
+
"ppt.workflows": "2.2.0"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"dsh-ppt-skill-api": {
|
|
110
|
+
"role": "skills",
|
|
111
|
+
"version": "^2.2.0",
|
|
112
|
+
"path": "../dsh-ppt-skill-api",
|
|
113
|
+
"requires": {
|
|
114
|
+
"dsh-ppt-workbench": "^2.2.0",
|
|
115
|
+
"capabilities": {
|
|
116
|
+
"ppt.runtime": "^2.2.0"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"provides": {
|
|
120
|
+
"skills": [
|
|
121
|
+
"pptist-api"
|
|
122
|
+
],
|
|
123
|
+
"capabilities": {
|
|
124
|
+
"ppt.workflows": "2.2.0"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"dsh-ppt-skill-authoring": {
|
|
129
|
+
"role": "skills",
|
|
130
|
+
"version": "^2.2.0",
|
|
131
|
+
"path": "../dsh-ppt-skill-authoring",
|
|
132
|
+
"requires": {
|
|
133
|
+
"dsh-ppt-workbench": "^2.2.0",
|
|
134
|
+
"capabilities": {
|
|
135
|
+
"ppt.runtime": "^2.2.0"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"provides": {
|
|
139
|
+
"skills": [
|
|
140
|
+
"pptist-authoring"
|
|
141
|
+
],
|
|
142
|
+
"capabilities": {
|
|
143
|
+
"ppt.workflows": "2.2.0"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"dsh-ppt-skill-editing": {
|
|
148
|
+
"role": "skills",
|
|
149
|
+
"version": "^2.2.0",
|
|
150
|
+
"path": "../dsh-ppt-skill-editing",
|
|
151
|
+
"requires": {
|
|
152
|
+
"dsh-ppt-workbench": "^2.2.0",
|
|
153
|
+
"capabilities": {
|
|
154
|
+
"ppt.runtime": "^2.2.0"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"provides": {
|
|
158
|
+
"skills": [
|
|
159
|
+
"pptist-editing"
|
|
160
|
+
],
|
|
161
|
+
"capabilities": {
|
|
162
|
+
"ppt.workflows": "2.2.0"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"dsh-ppt-skill-visual-check": {
|
|
167
|
+
"role": "skills",
|
|
168
|
+
"version": "^2.2.0",
|
|
169
|
+
"path": "../dsh-ppt-skill-visual-check",
|
|
170
|
+
"requires": {
|
|
171
|
+
"dsh-ppt-workbench": "^2.2.0",
|
|
172
|
+
"capabilities": {
|
|
173
|
+
"ppt.runtime": "^2.2.0"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"provides": {
|
|
177
|
+
"skills": [
|
|
178
|
+
"pptist-visual-check"
|
|
179
|
+
],
|
|
180
|
+
"capabilities": {
|
|
181
|
+
"ppt.workflows": "2.2.0"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"dsh-ppt-skill-research": {
|
|
186
|
+
"role": "skills",
|
|
187
|
+
"version": "^2.2.0",
|
|
188
|
+
"path": "../dsh-ppt-skill-research",
|
|
189
|
+
"requires": {
|
|
190
|
+
"dsh-ppt-workbench": "^2.2.0",
|
|
191
|
+
"capabilities": {
|
|
192
|
+
"ppt.runtime": "^2.2.0"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"provides": {
|
|
196
|
+
"skills": [
|
|
197
|
+
"pptist-research"
|
|
198
|
+
],
|
|
199
|
+
"capabilities": {
|
|
200
|
+
"ppt.workflows": "2.2.0"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"dsh-service-broker": {
|
|
205
|
+
"role": "runtime",
|
|
206
|
+
"version": "^0.1.0",
|
|
207
|
+
"path": "../../../../../packages/dsh-service-broker",
|
|
208
|
+
"provides": {
|
|
209
|
+
"services": [
|
|
210
|
+
"serviceBroker"
|
|
211
|
+
],
|
|
212
|
+
"ports": [],
|
|
213
|
+
"capabilities": {
|
|
214
|
+
"service.broker": "1.0.0"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"dsh-skills-service": {
|
|
219
|
+
"role": "runtime",
|
|
220
|
+
"version": "^0.1.0",
|
|
221
|
+
"path": "../../dsh-skills-service",
|
|
222
|
+
"provides": {
|
|
223
|
+
"services": [
|
|
224
|
+
"dsh-skills"
|
|
225
|
+
],
|
|
226
|
+
"ports": [
|
|
227
|
+
39321
|
|
228
|
+
],
|
|
229
|
+
"capabilities": {
|
|
230
|
+
"skills.http": "1.0.0"
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"rows": [
|
|
236
|
+
{
|
|
237
|
+
"id": "mcp-ppt",
|
|
238
|
+
"name": "@deepseek-ai/dsh-mcp-client",
|
|
239
|
+
"config": {
|
|
240
|
+
"serverName": "ppt",
|
|
241
|
+
"transport": "streamable-http",
|
|
242
|
+
"url": "http://127.0.0.1:39311/mcp",
|
|
243
|
+
"failOnStartupError": false,
|
|
244
|
+
"toolCallTimeoutMs": 120000
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"id": "ppt-skill-ppt",
|
|
249
|
+
"name": "dsh-ppt-skill-ppt"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"id": "ppt-skill-narrative",
|
|
253
|
+
"name": "dsh-ppt-skill-narrative"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"id": "ppt-skill-design",
|
|
257
|
+
"name": "dsh-ppt-skill-design"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"id": "ppt-skill-api",
|
|
261
|
+
"name": "dsh-ppt-skill-api"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"id": "ppt-skill-authoring",
|
|
265
|
+
"name": "dsh-ppt-skill-authoring"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"id": "ppt-skill-editing",
|
|
269
|
+
"name": "dsh-ppt-skill-editing"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"id": "ppt-skill-visual-check",
|
|
273
|
+
"name": "dsh-ppt-skill-visual-check"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"id": "ppt-skill-research",
|
|
277
|
+
"name": "dsh-ppt-skill-research"
|
|
278
|
+
}
|
|
279
|
+
],
|
|
280
|
+
"checks": [
|
|
281
|
+
{
|
|
282
|
+
"id": "ppt-health",
|
|
283
|
+
"type": "http",
|
|
284
|
+
"url": "http://127.0.0.1:39311/healthz",
|
|
285
|
+
"expectStatus": 200,
|
|
286
|
+
"expectBody": {
|
|
287
|
+
"ok": true,
|
|
288
|
+
"contractsOk": true
|
|
289
|
+
},
|
|
290
|
+
"timeoutMs": 3000
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"id": "ppt-contract",
|
|
294
|
+
"type": "contract",
|
|
295
|
+
"url": "http://127.0.0.1:39311/mcp",
|
|
296
|
+
"tool": "ppt_capabilities",
|
|
297
|
+
"major": 2,
|
|
298
|
+
"timeoutMs": 5000
|
|
299
|
+
}
|
|
300
|
+
]
|
|
301
|
+
}
|
package/lib/index.mjs
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,62 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capyclaw/ppt-suite",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "2.4.0",
|
|
4
|
+
"description": "PPT 工作台套件:workbench + 8 个独立 skill 包 + 4 个公共基建插件,一键安装、锁定已验证版本。",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./lib/index.mjs",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./lib/index.mjs",
|
|
9
|
+
"./package.json": "./package.json"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"dsh-plugin-kit": "^0.2.0",
|
|
13
|
+
"dsh-service-host": "^0.1.0",
|
|
14
|
+
"dsh-tool-host": "^0.1.0",
|
|
15
|
+
"dsh-asset-service": "^0.1.0",
|
|
16
|
+
"dsh-editor-host": "^0.1.0",
|
|
17
|
+
"dsh-service-broker": "^0.1.0",
|
|
18
|
+
"dsh-skills-service": "^0.1.0",
|
|
19
|
+
"dsh-ppt-workbench": "^2.4.0",
|
|
20
|
+
"dsh-ppt-skill-ppt": "^2.2.0",
|
|
21
|
+
"dsh-ppt-skill-narrative": "^2.2.0",
|
|
22
|
+
"dsh-ppt-skill-design": "^2.2.0",
|
|
23
|
+
"dsh-ppt-skill-api": "^2.2.0",
|
|
24
|
+
"dsh-ppt-skill-authoring": "^2.2.0",
|
|
25
|
+
"dsh-ppt-skill-editing": "^2.2.0",
|
|
26
|
+
"dsh-ppt-skill-visual-check": "^2.2.0",
|
|
27
|
+
"dsh-ppt-skill-research": "^2.2.0"
|
|
28
|
+
},
|
|
29
|
+
"dsh": {
|
|
30
|
+
"bundle": {
|
|
31
|
+
"patch": "./cordis.patch.yml"
|
|
32
|
+
},
|
|
33
|
+
"suite": "./dsh-suite.json"
|
|
34
|
+
},
|
|
35
|
+
"meta": {
|
|
36
|
+
"title": "PPT 工作台套件",
|
|
37
|
+
"description": "一键安装 PPTist 运行时 + 8 个独立 PPT skill 包 + 4 个公共基建插件"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"lib/",
|
|
41
|
+
"contract/",
|
|
42
|
+
"dsh-suite.json",
|
|
43
|
+
"composition.lock.json",
|
|
44
|
+
"cordis.patch.yml",
|
|
45
|
+
"README.md",
|
|
46
|
+
"services.json"
|
|
47
|
+
],
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"author": {
|
|
50
|
+
"name": "CapyClaw",
|
|
51
|
+
"url": "https://github.com/capyclaw",
|
|
52
|
+
"email": "support@capyclaw.dev"
|
|
53
|
+
},
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "https://github.com/capyclaw/dsh-plugins"
|
|
57
|
+
},
|
|
58
|
+
"bugs": {
|
|
59
|
+
"url": "https://github.com/capyclaw/dsh-plugins/issues"
|
|
60
|
+
},
|
|
61
|
+
"homepage": "https://github.com/capyclaw/dsh-plugins"
|
|
62
|
+
}
|
package/services.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"services": [
|
|
3
|
+
{
|
|
4
|
+
"id": "ppt-workbench",
|
|
5
|
+
"portFrom": "content",
|
|
6
|
+
"dirFrom": "contentState",
|
|
7
|
+
"cmd": [
|
|
8
|
+
"node",
|
|
9
|
+
"${PACKAGE_DIR}/node_modules/dsh-ppt-workbench/server/relay.mjs",
|
|
10
|
+
"--port",
|
|
11
|
+
"${PORT}",
|
|
12
|
+
"--dir",
|
|
13
|
+
"${PACKAGE_DIR}/.host"
|
|
14
|
+
],
|
|
15
|
+
"ports": {
|
|
16
|
+
"main": 39311
|
|
17
|
+
},
|
|
18
|
+
"url": "http://127.0.0.1:${PORT}/",
|
|
19
|
+
"keepAlive": true
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "dsh-skills",
|
|
23
|
+
"cmd": [
|
|
24
|
+
"node",
|
|
25
|
+
"${PACKAGE_DIR}/node_modules/dsh-skills-service/server.mjs",
|
|
26
|
+
"--port",
|
|
27
|
+
"${PORT}"
|
|
28
|
+
],
|
|
29
|
+
"ports": {
|
|
30
|
+
"main": 39321
|
|
31
|
+
},
|
|
32
|
+
"url": "http://127.0.0.1:${PORT}",
|
|
33
|
+
"keepAlive": true
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|