digipair 0.105.3 → 0.107.1

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.
Files changed (28) hide show
  1. package/package.json +36 -36
  2. package/src/app/assets/digipairs/studio/boost-tool-add-client-mcp.json +128 -0
  3. package/src/app/assets/digipairs/studio/tool-add.json +78 -11
  4. package/src/app/assets/digipairs/studio/tools.json +43 -15
  5. package/src/app/assets/public/libraries/@digipair/skill-service/service.svg +1 -0
  6. package/src/app/assets/public/mcp.svg +1 -0
  7. package/src/app/assets/templates/tool-client-mcp-apikey/config.json +36 -0
  8. package/src/app/assets/templates/tool-client-mcp-apikey/fallback.json +19 -0
  9. package/src/app/assets/templates/tool-client-mcp-apikey/schema.json.json +34 -0
  10. package/src/app/assets/templates/business-process/config.json +0 -15
  11. package/src/app/assets/templates/business-process/schema.json +0 -126
  12. package/src/app/assets/templates/expert/avatar.png +0 -0
  13. package/src/app/assets/templates/expert/config.json +0 -27
  14. package/src/app/assets/templates/expert/conversation.json +0 -63
  15. package/src/app/assets/templates/expert/schema.json +0 -126
  16. package/src/app/assets/templates/imap-listener/action-message.json +0 -84
  17. package/src/app/assets/templates/imap-listener/avatar.png +0 -0
  18. package/src/app/assets/templates/imap-listener/config.json +0 -46
  19. package/src/app/assets/templates/imap-listener/conversation.json +0 -63
  20. package/src/app/assets/templates/imap-listener/imap.json +0 -137
  21. package/src/app/assets/templates/imap-listener/schema.json +0 -126
  22. package/src/app/assets/templates/imap-listener-oauth2/action-message.json +0 -84
  23. package/src/app/assets/templates/imap-listener-oauth2/avatar.png +0 -0
  24. package/src/app/assets/templates/imap-listener-oauth2/config.json +0 -56
  25. package/src/app/assets/templates/imap-listener-oauth2/conversation.json +0 -63
  26. package/src/app/assets/templates/imap-listener-oauth2/imap.json +0 -164
  27. package/src/app/assets/templates/imap-listener-oauth2/schema.json +0 -126
  28. /package/src/app/assets/templates/{business-process → tool-client-mcp-apikey}/avatar.png +0 -0
package/package.json CHANGED
@@ -1,46 +1,46 @@
1
1
  {
2
2
  "name": "digipair",
3
- "version": "0.105.3",
3
+ "version": "0.107.1",
4
4
  "type": "commonjs",
5
5
  "bin": {
6
6
  "digipair": "./bin/digipair.js"
7
7
  },
8
8
  "dependencies": {
9
- "@digipair/engine": "0.105.3",
10
- "@digipair/skill-chatbot": "0.105.3",
11
- "@digipair/skill-common": "0.105.3",
12
- "@digipair/skill-cron": "0.105.3",
13
- "@digipair/skill-basic": "0.105.3",
14
- "@digipair/skill-canvas": "0.105.3",
15
- "@digipair/skill-codex": "0.105.3",
16
- "@digipair/skill-debug": "0.105.3",
17
- "@digipair/skill-dsp": "0.105.3",
18
- "@digipair/skill-editor": "0.105.3",
19
- "@digipair/skill-factory": "0.105.3",
20
- "@digipair/skill-http": "0.105.3",
21
- "@digipair/skill-llm": "0.105.3",
22
- "@digipair/skill-openai": "0.105.3",
23
- "@digipair/skill-service": "0.105.3",
24
- "@digipair/skill-sse": "0.105.3",
25
- "@digipair/skill-temporal": "0.105.3",
26
- "@digipair/skill-tool": "0.105.3",
27
- "@digipair/skill-web": "0.105.3",
28
- "@digipair/skill-worker": "0.105.3",
29
- "@digipair/skill-logger": "0.105.3",
30
- "@digipair/skill-process": "0.105.3",
31
- "@digipair/skill-oauth2": "0.105.3",
32
- "@digipair/skill-imap": "0.105.3",
33
- "@digipair/skill-sendmail": "0.105.3",
34
- "@digipair/skill-web-debug": "0.105.3",
35
- "@digipair/skill-web-jsoneditor": "0.105.3",
36
- "@digipair/skill-web-notification": "0.105.3",
37
- "@digipair/skill-web-chatbot": "0.105.3",
38
- "@digipair/skill-web-editor": "0.105.3",
39
- "@digipair/skill-web-inputs": "0.105.3",
40
- "@digipair/skill-web-spectrum": "0.105.3",
41
- "@digipair/skill-web-interact": "0.105.3",
42
- "@digipair/skill-web-font-awesome": "0.105.3",
43
- "@digipair/skill-yaml": "0.105.3",
9
+ "@digipair/engine": "0.107.1",
10
+ "@digipair/skill-chatbot": "0.107.1",
11
+ "@digipair/skill-common": "0.107.1",
12
+ "@digipair/skill-cron": "0.107.1",
13
+ "@digipair/skill-basic": "0.107.1",
14
+ "@digipair/skill-canvas": "0.107.1",
15
+ "@digipair/skill-codex": "0.107.1",
16
+ "@digipair/skill-debug": "0.107.1",
17
+ "@digipair/skill-dsp": "0.107.1",
18
+ "@digipair/skill-editor": "0.107.1",
19
+ "@digipair/skill-factory": "0.107.1",
20
+ "@digipair/skill-http": "0.107.1",
21
+ "@digipair/skill-llm": "0.107.1",
22
+ "@digipair/skill-openai": "0.107.1",
23
+ "@digipair/skill-service": "0.107.1",
24
+ "@digipair/skill-sse": "0.107.1",
25
+ "@digipair/skill-temporal": "0.107.1",
26
+ "@digipair/skill-tool": "0.107.1",
27
+ "@digipair/skill-web": "0.107.1",
28
+ "@digipair/skill-worker": "0.107.1",
29
+ "@digipair/skill-logger": "0.107.1",
30
+ "@digipair/skill-process": "0.107.1",
31
+ "@digipair/skill-oauth2": "0.107.1",
32
+ "@digipair/skill-imap": "0.107.1",
33
+ "@digipair/skill-sendmail": "0.107.1",
34
+ "@digipair/skill-web-debug": "0.107.1",
35
+ "@digipair/skill-web-jsoneditor": "0.107.1",
36
+ "@digipair/skill-web-notification": "0.107.1",
37
+ "@digipair/skill-web-chatbot": "0.107.1",
38
+ "@digipair/skill-web-editor": "0.107.1",
39
+ "@digipair/skill-web-inputs": "0.107.1",
40
+ "@digipair/skill-web-spectrum": "0.107.1",
41
+ "@digipair/skill-web-interact": "0.107.1",
42
+ "@digipair/skill-web-font-awesome": "0.107.1",
43
+ "@digipair/skill-yaml": "0.107.1",
44
44
  "tslib": "^2.6.3",
45
45
  "@nestjs/common": "^10.3.9",
46
46
  "@nestjs/core": "^10.3.9",
@@ -0,0 +1,128 @@
1
+ {
2
+ "description": "Adding a digipair from an OpenAPI v3 file.",
3
+ "summary": "Adding a digipair from an OpenAPI file.",
4
+ "library": "@digipair/skill-chatbot",
5
+ "element": "boost",
6
+ "metadata": {
7
+ "standalone": true
8
+ },
9
+ "properties": {
10
+ "steps": [
11
+ {
12
+ "name": "Initialisation",
13
+ "execute": [
14
+ {
15
+ "library": "digipair:studio",
16
+ "element": "action-answer",
17
+ "properties": {
18
+ "assistant": "What is the identifier of this new MCP tool agent?",
19
+ "boost": [
20
+ {
21
+ "prompt": true,
22
+ "required": true,
23
+ "step": "Api"
24
+ }
25
+ ]
26
+ }
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "name": "Api",
32
+ "execute": [
33
+ {
34
+ "library": "@digipair/skill-basic",
35
+ "element": "setVariable",
36
+ "properties": {
37
+ "name": "infos",
38
+ "execute": [
39
+ {
40
+ "library": "@digipair/skill-dsp",
41
+ "element": "generate",
42
+ "properties": {
43
+ "signature": "\"Extract the information for creating the digipair from the user's comment\"\ncomment:string \"User's comment describing the digipair to create\" -> \n name:string \"Very short name of the agent from the comment in french\", \n description:string \"Short description of the agent from the comment in french\", \n assistant:string \"Assistant's response to confirm that the digipair has been successfully added and recall to the user to update his API key from the agent configuration in french\"",
44
+ "input": {
45
+ "comment": "{{request.body.prompt}}"
46
+ }
47
+ }
48
+ }
49
+ ]
50
+ }
51
+ },
52
+ {
53
+ "library": "digipair:studio",
54
+ "element": "action-answer",
55
+ "properties": {
56
+ "assistant": "What is the URL of the MCP server?",
57
+ "boost": [
58
+ {
59
+ "prompt": true,
60
+ "required": true,
61
+ "step": "Execution",
62
+ "inputs": [
63
+ {
64
+ "library": "@digipair/skill-web-inputs",
65
+ "element": "digipair-input-hidden",
66
+ "properties": {
67
+ "value": {
68
+ "digipair": "EVALUATE:\"tool-\" + request.body.prompt",
69
+ "name": "EVALUATE:variables.infos.name",
70
+ "description": "EVALUATE:variables.infos.description",
71
+ "assistant": "EVALUATE:variables.infos.assistant"
72
+ }
73
+ }
74
+ }
75
+ ]
76
+ }
77
+ ]
78
+ }
79
+ }
80
+ ]
81
+ },
82
+ {
83
+ "name": "Execution",
84
+ "execute": [
85
+ {
86
+ "library": "@digipair/skill-editor",
87
+ "element": "addDigipair",
88
+ "properties": {
89
+ "template": "tool-client-mcp-apikey",
90
+ "data": {
91
+ "digipair": "EVALUATE:request.body.inputs[1].value.digipair",
92
+ "name": "EVALUATE:request.body.inputs[1].value.name",
93
+ "description": "EVALUATE:request.body.inputs[1].value.description",
94
+ "api": "EVALUATE:request.body.prompt",
95
+ "key": "API_KEY"
96
+ },
97
+ "digipair": "EVALUATE:request.body.inputs[1].value.digipair"
98
+ }
99
+ },
100
+ {
101
+ "library": "@digipair/skill-editor",
102
+ "element": "reasonings",
103
+ "properties": {
104
+ "digipair": "EVALUATE:request.body.inputs[1].value.digipair"
105
+ }
106
+ },
107
+ {
108
+ "library": "digipair:studio",
109
+ "element": "action-answer",
110
+ "properties": {
111
+ "assistant": "EVALUATE:request.body.inputs[1].value.assistant",
112
+ "command": [
113
+ {
114
+ "library": "@digipair/skill-web-interact",
115
+ "element": "goTo",
116
+ "properties": {
117
+ "url": "/studio/tool-edit/{{request.body.inputs.[0].value.digipair}}"
118
+ }
119
+ }
120
+ ]
121
+ }
122
+ }
123
+ ]
124
+ }
125
+ ]
126
+ },
127
+ "pins": []
128
+ }
@@ -31,7 +31,9 @@
31
31
  }
32
32
  }
33
33
  ],
34
- "properties": { "href": "https://www.digipair.ai" }
34
+ "properties": {
35
+ "href": "https://www.digipair.ai"
36
+ }
35
37
  },
36
38
  {
37
39
  "library": "@digipair/skill-web-spectrum",
@@ -109,12 +111,16 @@
109
111
  {
110
112
  "library": "web",
111
113
  "element": "h4",
112
- "properties": { "textContent": "Add a tool agent" }
114
+ "properties": {
115
+ "textContent": "Add a tool agent"
116
+ }
113
117
  },
114
118
  {
115
119
  "library": "web",
116
120
  "element": "div",
117
- "properties": { "textContent": "List of available tools:" }
121
+ "properties": {
122
+ "textContent": "List of available tools:"
123
+ }
118
124
  },
119
125
  {
120
126
  "library": "web",
@@ -147,7 +153,11 @@
147
153
  "properties": {
148
154
  "name": "executeBoost",
149
155
  "selector": "digipair-chatbot",
150
- "args": [{ "reasoning": "boost-tool-add" }]
156
+ "args": [
157
+ {
158
+ "reasoning": "boost-tool-add"
159
+ }
160
+ ]
151
161
  }
152
162
  }
153
163
  ]
@@ -186,7 +196,54 @@
186
196
  "properties": {
187
197
  "name": "executeBoost",
188
198
  "selector": "digipair-chatbot",
189
- "args": [{ "reasoning": "boost-tool-add-openapi" }]
199
+ "args": [
200
+ {
201
+ "reasoning": "boost-tool-add-openapi"
202
+ }
203
+ ]
204
+ }
205
+ }
206
+ ]
207
+ }
208
+ }
209
+ ]
210
+ },
211
+ {
212
+ "library": "web",
213
+ "element": "div",
214
+ "pins": [
215
+ {
216
+ "library": "@digipair/skill-web-spectrum",
217
+ "element": "sp-card",
218
+ "pins": [
219
+ {
220
+ "library": "web",
221
+ "element": "img",
222
+ "properties": {
223
+ "src": "/public/mcp.svg",
224
+ "style": "height: 60px;",
225
+ "slot": "preview"
226
+ }
227
+ }
228
+ ],
229
+ "properties": {
230
+ "style": "overflow: hidden;\nmargin: 5px;\ncursor: pointer;",
231
+ "horizontal": true,
232
+ "subheading": "MCP Client"
233
+ },
234
+ "events": {
235
+ "click": [
236
+ {
237
+ "library": "@digipair/skill-web-interact",
238
+ "element": "execute",
239
+ "properties": {
240
+ "name": "executeBoost",
241
+ "selector": "digipair-chatbot",
242
+ "args": [
243
+ {
244
+ "reasoning": "boost-tool-add-client-mcp"
245
+ }
246
+ ]
190
247
  }
191
248
  }
192
249
  ]
@@ -228,7 +285,9 @@
228
285
  "args": [
229
286
  {
230
287
  "reasoning": "boost-tool-add-library",
231
- "context": { "library": "{{item.name}}" }
288
+ "context": {
289
+ "library": "{{item.name}}"
290
+ }
232
291
  }
233
292
  ]
234
293
  }
@@ -237,12 +296,16 @@
237
296
  }
238
297
  }
239
298
  ],
240
- "conditions": { "each": "EVALUATE:variables.tools" }
299
+ "conditions": {
300
+ "each": "EVALUATE:variables.tools"
301
+ }
241
302
  },
242
303
  {
243
304
  "library": "web",
244
305
  "element": "div",
245
- "properties": { "style": "height: 50px" }
306
+ "properties": {
307
+ "style": "height: 50px"
308
+ }
246
309
  },
247
310
  {
248
311
  "library": "@digipair/skill-web-spectrum",
@@ -268,7 +331,9 @@
268
331
  {
269
332
  "library": "@digipair/skill-web-chatbot",
270
333
  "element": "digipair-chatbot",
271
- "properties": { "code": "{{request.digipair}}" }
334
+ "properties": {
335
+ "code": "{{request.digipair}}"
336
+ }
272
337
  }
273
338
  ],
274
339
  "styleHtml": "color-scheme:light;\npadding: 60px 40px 80px 40px;",
@@ -287,7 +352,9 @@
287
352
  {
288
353
  "library": "@digipair/skill-editor",
289
354
  "element": "tools",
290
- "properties": { "language": "en" }
355
+ "properties": {
356
+ "language": "en"
357
+ }
291
358
  }
292
359
  ]
293
360
  }
@@ -298,4 +365,4 @@
298
365
  ]
299
366
  },
300
367
  "pins": []
301
- }
368
+ }
@@ -31,7 +31,9 @@
31
31
  }
32
32
  }
33
33
  ],
34
- "properties": { "href": "https://www.digipair.ai" }
34
+ "properties": {
35
+ "href": "https://www.digipair.ai"
36
+ }
35
37
  },
36
38
  {
37
39
  "library": "@digipair/skill-web-spectrum",
@@ -106,7 +108,6 @@
106
108
  "style": "background-color: white;\npadding: 0 20px 0 20px;\nposition: fixed;\nz-index: 10000;\ntop: 0;\nleft: 0;\nright: 0;"
107
109
  }
108
110
  },
109
-
110
111
  {
111
112
  "library": "web",
112
113
  "element": "h4",
@@ -192,7 +193,7 @@
192
193
  "message": "Are you sure you want to delete \"{{item.infos.name}}\" ?",
193
194
  "ok": [
194
195
  {
195
- "library": "@digipair/skill-keycloak",
196
+ "library": "@digipair/skill-web",
196
197
  "element": "executeFactory",
197
198
  "properties": {
198
199
  "execute": [
@@ -255,8 +256,14 @@
255
256
  "each": "EVALUATE:variables.digipairs[item.metadata.shared = true]"
256
257
  }
257
258
  },
258
- { "library": "web", "element": "br" },
259
- { "library": "web", "element": "br" },
259
+ {
260
+ "library": "web",
261
+ "element": "br"
262
+ },
263
+ {
264
+ "library": "web",
265
+ "element": "br"
266
+ },
260
267
  {
261
268
  "library": "web",
262
269
  "element": "h4",
@@ -270,7 +277,9 @@
270
277
  "properties": {
271
278
  "textContent": "You haven't created a technical tool agent yet? What are you waiting for?"
272
279
  },
273
- "conditions": { "if": "EVALUATE:count(variables.digipairs) <= 0" }
280
+ "conditions": {
281
+ "if": "EVALUATE:count(variables.digipairs) <= 0"
282
+ }
274
283
  },
275
284
  {
276
285
  "library": "web",
@@ -328,7 +337,9 @@
328
337
  {
329
338
  "library": "@digipair/skill-web-spectrum",
330
339
  "element": "sp-menu-item",
331
- "properties": { "textContent": "Remove" },
340
+ "properties": {
341
+ "textContent": "Remove"
342
+ },
332
343
  "events": {
333
344
  "click": [
334
345
  {
@@ -402,8 +413,14 @@
402
413
  "each": "EVALUATE: variables.digipairs[item.metadata.shared != true]"
403
414
  }
404
415
  },
405
- { "library": "web", "element": "br" },
406
- { "library": "web", "element": "br" },
416
+ {
417
+ "library": "web",
418
+ "element": "br"
419
+ },
420
+ {
421
+ "library": "web",
422
+ "element": "br"
423
+ },
407
424
  {
408
425
  "library": "@digipair/skill-web-spectrum",
409
426
  "element": "sp-action-group",
@@ -415,10 +432,15 @@
415
432
  {
416
433
  "library": "@digipair/skill-web-font-awesome",
417
434
  "element": "digipair-font-awesome-icon",
418
- "properties": { "name": "plus" }
435
+ "properties": {
436
+ "name": "plus"
437
+ }
419
438
  }
420
439
  ],
421
- "properties": { "href": "/studio/tool-add", "quiet": true }
440
+ "properties": {
441
+ "href": "/studio/tool-add",
442
+ "quiet": true
443
+ }
422
444
  }
423
445
  ]
424
446
  }
@@ -432,7 +454,9 @@
432
454
  {
433
455
  "library": "@digipair/skill-web-chatbot",
434
456
  "element": "digipair-chatbot",
435
- "properties": { "code": "{{request.digipair}}" }
457
+ "properties": {
458
+ "code": "{{request.digipair}}"
459
+ }
436
460
  }
437
461
  ],
438
462
  "styleHtml": "color-scheme:light;\npadding: 60px 40px 80px 40px;",
@@ -466,7 +490,9 @@
466
490
  {
467
491
  "library": "@digipair/skill-editor",
468
492
  "element": "digipair",
469
- "properties": { "digipair": "{{item}}" }
493
+ "properties": {
494
+ "digipair": "{{item}}"
495
+ }
470
496
  }
471
497
  ]
472
498
  }
@@ -480,7 +506,9 @@
480
506
  {
481
507
  "library": "@digipair/skill-editor",
482
508
  "element": "metadata",
483
- "properties": { "digipair": "{{item}}" }
509
+ "properties": {
510
+ "digipair": "{{item}}"
511
+ }
484
512
  }
485
513
  ]
486
514
  }
@@ -510,4 +538,4 @@
510
538
  ]
511
539
  },
512
540
  "pins": []
513
- }
541
+ }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" stroke="#8aadf4" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"><path d="M14.5 8A6.5 6.5 0 0 1 8 14.5A6.5 6.5 0 0 1 1.5 8A6.5 6.5 0 0 1 8 1.5A6.5 6.5 0 0 1 14.5 8"/><path d="M8 1.5c1.67 2 2.5 4.17 2.5 6.5s-.83 4.5-2.5 6.5m0-13A9.96 9.96 0 0 0 5.5 8c0 2.33.83 4.5 2.5 6.5m-5.5-4h11m-11-5h11"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="currentColor" d="M5.52 1.12a3.578 3.578 0 0 1 6.078 2.98a3.578 3.578 0 0 1 2.982 6.08l-3.292 3.293a.25.25 0 0 0 0 .354l.843.843a.749.749 0 1 1-1.06 1.06l-.844-.843a1.75 1.75 0 0 1 0-2.474L13.52 9.12a2.08 2.08 0 0 0 0-2.94a2.08 2.08 0 0 0-2.94 0L7.731 9.03A.75.75 0 0 1 6.67 7.97l2.85-2.85a2.08 2.08 0 0 0 0-2.94a2.08 2.08 0 0 0-2.94 0l-4.799 4.8A.75.75 0 0 1 .72 5.92Z"/><path fill="currentColor" d="M7.52 3.12a.749.749 0 1 1 1.06 1.06L5.731 7.03A2.079 2.079 0 0 0 8.67 9.97l2.85-2.85a.749.749 0 1 1 1.06 1.06l-2.849 2.85A3.578 3.578 0 0 1 4.67 5.97Z"/></svg>
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "<%= name %>",
3
+ "description": "<%= description %>",
4
+ "metadata": {
5
+ "avatar": "avatar.png",
6
+ "primary": "#51E0DC",
7
+ "textPrimary": "#242E3B",
8
+ "secondary": "#242E3B",
9
+ "textSecondary": "#FFFFFF"
10
+ },
11
+ "libraries": {
12
+ "@digipair/skill-basic": "latest",
13
+ "@digipair/skill-service": "latest",
14
+ "@digipair/skill-debug": "latest",
15
+ "@digipair/skill-tool": "latest",
16
+ "@digipair/skill-client-mcp": "latest"
17
+ },
18
+ "variables": {},
19
+ "privates": {
20
+ "CLIENT_MCP": {
21
+ "library": "@digipair/skill-client-mcp",
22
+ "element": "StreamableHTTPClient",
23
+ "properties": {
24
+ "url": "<%= api %>",
25
+ "options": {
26
+ "requestInit": {
27
+ "headers": {
28
+ "Authorization": "Bearer <%= key %>"
29
+ }
30
+ }
31
+ }
32
+ }
33
+ }
34
+ },
35
+ "digipair": "<%= digipair %>"
36
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "description": "Mécanisme d'appel d'une méthode de librairie",
3
+ "summary": "Appel d'une méthode de librairie",
4
+ "library": "@digipair/skill-tool",
5
+ "element": "task",
6
+ "metadata": {},
7
+ "properties": {
8
+ "execute": [
9
+ {
10
+ "library": "@digipair/skill-tool",
11
+ "element": "execute",
12
+ "properties": {
13
+ "execute": "EVALUATE:[{\n \"library\": \"@digipair/skill-client-mcp\",\n \"element\": \"callTool\",\n \"properties\": { \"arguments\": request.body, \"name\": request.reasoning }\n}]"
14
+ }
15
+ }
16
+ ]
17
+ },
18
+ "pins": []
19
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "description": "<%= description %>",
3
+ "summary": "<%= name %>",
4
+ "library": "@digipair/skill-service",
5
+ "element": "service",
6
+ "metadata": {},
7
+ "properties": {
8
+ "execute": [
9
+ {
10
+ "library": "@digipair/skill-client-mcp",
11
+ "element": "listTools"
12
+ },
13
+ {
14
+ "library": "@digipair/skill-basic",
15
+ "element": "transform",
16
+ "properties": {
17
+ "value": {
18
+ "openapi": "3.0.0",
19
+ "info": {
20
+ "title": "digipair:<%= digipair %>",
21
+ "summary": "<%= name %>",
22
+ "description": "<%= description %>",
23
+ "version": "1.0.0",
24
+ "x-icon": "🤖"
25
+ },
26
+ "paths": "EVALUATE: context(for tool in previous.tools return {\n key: \"/\" + tool.name,\n value: {\n post: {\n tags: [\n \"service\"\n ],\n \"x-context\": if tool.annotations.readOnlyHint = true then false else true,\n \"x-events\": [],\n summary: tool.annotations.title,\n description: tool.description,\n parameters: for parameter in get entries(tool.inputSchema.properties) return {\n name: parameter.key,\n required: list contains(tool.inputSchema.required, parameter.key),\n summary: parameter.key,\n schema: parameter.value\n }\n }\n }\n})",
27
+ "x-scene-blocks": {}
28
+ }
29
+ }
30
+ }
31
+ ]
32
+ },
33
+ "pins": []
34
+ }
@@ -1,15 +0,0 @@
1
- {
2
- "name": "<%= name %>",
3
- "description": "<%= description %>",
4
- "metadata": {
5
- "avatar": "avatar.png",
6
- "primary": "#51E0DC",
7
- "textPrimary": "#242E3B",
8
- "secondary": "#242E3B",
9
- "textSecondary": "#FFFFFF"
10
- },
11
- "libraries": {},
12
- "variables": {},
13
- "privates": {},
14
- "digipair": "<%= digipair %>"
15
- }