digipair 0.106.2 → 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.
- package/package.json +36 -36
- package/src/app/assets/digipairs/studio/boost-tool-add-client-mcp.json +128 -0
- package/src/app/assets/digipairs/studio/tool-add.json +78 -11
- package/src/app/assets/public/libraries/@digipair/skill-service/service.svg +1 -0
- package/src/app/assets/public/mcp.svg +1 -0
- package/src/app/assets/templates/tool-client-mcp-apikey/config.json +36 -0
- package/src/app/assets/templates/tool-client-mcp-apikey/fallback.json +19 -0
- package/src/app/assets/templates/tool-client-mcp-apikey/schema.json.json +34 -0
- package/src/app/assets/templates/business-process/config.json +0 -15
- package/src/app/assets/templates/business-process/schema.json +0 -126
- package/src/app/assets/templates/expert/avatar.png +0 -0
- package/src/app/assets/templates/expert/config.json +0 -27
- package/src/app/assets/templates/expert/conversation.json +0 -63
- package/src/app/assets/templates/expert/schema.json +0 -126
- package/src/app/assets/templates/imap-listener/action-message.json +0 -84
- package/src/app/assets/templates/imap-listener/avatar.png +0 -0
- package/src/app/assets/templates/imap-listener/config.json +0 -46
- package/src/app/assets/templates/imap-listener/conversation.json +0 -63
- package/src/app/assets/templates/imap-listener/imap.json +0 -137
- package/src/app/assets/templates/imap-listener/schema.json +0 -126
- package/src/app/assets/templates/imap-listener-oauth2/action-message.json +0 -84
- package/src/app/assets/templates/imap-listener-oauth2/avatar.png +0 -0
- package/src/app/assets/templates/imap-listener-oauth2/config.json +0 -56
- package/src/app/assets/templates/imap-listener-oauth2/conversation.json +0 -63
- package/src/app/assets/templates/imap-listener-oauth2/imap.json +0 -164
- package/src/app/assets/templates/imap-listener-oauth2/schema.json +0 -126
- /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.
|
|
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.
|
|
10
|
-
"@digipair/skill-chatbot": "0.
|
|
11
|
-
"@digipair/skill-common": "0.
|
|
12
|
-
"@digipair/skill-cron": "0.
|
|
13
|
-
"@digipair/skill-basic": "0.
|
|
14
|
-
"@digipair/skill-canvas": "0.
|
|
15
|
-
"@digipair/skill-codex": "0.
|
|
16
|
-
"@digipair/skill-debug": "0.
|
|
17
|
-
"@digipair/skill-dsp": "0.
|
|
18
|
-
"@digipair/skill-editor": "0.
|
|
19
|
-
"@digipair/skill-factory": "0.
|
|
20
|
-
"@digipair/skill-http": "0.
|
|
21
|
-
"@digipair/skill-llm": "0.
|
|
22
|
-
"@digipair/skill-openai": "0.
|
|
23
|
-
"@digipair/skill-service": "0.
|
|
24
|
-
"@digipair/skill-sse": "0.
|
|
25
|
-
"@digipair/skill-temporal": "0.
|
|
26
|
-
"@digipair/skill-tool": "0.
|
|
27
|
-
"@digipair/skill-web": "0.
|
|
28
|
-
"@digipair/skill-worker": "0.
|
|
29
|
-
"@digipair/skill-logger": "0.
|
|
30
|
-
"@digipair/skill-process": "0.
|
|
31
|
-
"@digipair/skill-oauth2": "0.
|
|
32
|
-
"@digipair/skill-imap": "0.
|
|
33
|
-
"@digipair/skill-sendmail": "0.
|
|
34
|
-
"@digipair/skill-web-debug": "0.
|
|
35
|
-
"@digipair/skill-web-jsoneditor": "0.
|
|
36
|
-
"@digipair/skill-web-notification": "0.
|
|
37
|
-
"@digipair/skill-web-chatbot": "0.
|
|
38
|
-
"@digipair/skill-web-editor": "0.
|
|
39
|
-
"@digipair/skill-web-inputs": "0.
|
|
40
|
-
"@digipair/skill-web-spectrum": "0.
|
|
41
|
-
"@digipair/skill-web-interact": "0.
|
|
42
|
-
"@digipair/skill-web-font-awesome": "0.
|
|
43
|
-
"@digipair/skill-yaml": "0.
|
|
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": {
|
|
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": {
|
|
114
|
+
"properties": {
|
|
115
|
+
"textContent": "Add a tool agent"
|
|
116
|
+
}
|
|
113
117
|
},
|
|
114
118
|
{
|
|
115
119
|
"library": "web",
|
|
116
120
|
"element": "div",
|
|
117
|
-
"properties": {
|
|
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": [
|
|
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": [
|
|
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": {
|
|
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": {
|
|
299
|
+
"conditions": {
|
|
300
|
+
"each": "EVALUATE:variables.tools"
|
|
301
|
+
}
|
|
241
302
|
},
|
|
242
303
|
{
|
|
243
304
|
"library": "web",
|
|
244
305
|
"element": "div",
|
|
245
|
-
"properties": {
|
|
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": {
|
|
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": {
|
|
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
|
+
}
|
|
@@ -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
|
-
}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openapi": "3.0.0",
|
|
3
|
-
"info": {
|
|
4
|
-
"title": "digipair:<%= digipair %>",
|
|
5
|
-
"summary": "<%= name %>",
|
|
6
|
-
"version": "0.1.0",
|
|
7
|
-
"x-icon": "🤖"
|
|
8
|
-
},
|
|
9
|
-
"paths": {
|
|
10
|
-
"/answer": {
|
|
11
|
-
"post": {
|
|
12
|
-
"tags": ["boost"],
|
|
13
|
-
"summary": "<%= name %> response",
|
|
14
|
-
"parameters": [
|
|
15
|
-
{
|
|
16
|
-
"name": "prompt",
|
|
17
|
-
"required": false,
|
|
18
|
-
"description": "User question",
|
|
19
|
-
"schema": {
|
|
20
|
-
"type": "string"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "assistant",
|
|
25
|
-
"required": true,
|
|
26
|
-
"summary": "Assistant's response",
|
|
27
|
-
"schema": {
|
|
28
|
-
"type": "string"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "userId",
|
|
33
|
-
"required": false,
|
|
34
|
-
"summary": "User Id",
|
|
35
|
-
"schema": {
|
|
36
|
-
"type": "string"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "boost",
|
|
41
|
-
"required": false,
|
|
42
|
-
"summary": "Boost used to push the user request",
|
|
43
|
-
"schema": {
|
|
44
|
-
"type": "array",
|
|
45
|
-
"items": {
|
|
46
|
-
"$ref": "#/components/schemas/Boost"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "command",
|
|
52
|
-
"required": false,
|
|
53
|
-
"summary": "Commands executed on the chatbot",
|
|
54
|
-
"schema": {
|
|
55
|
-
"type": "array",
|
|
56
|
-
"items": {
|
|
57
|
-
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"name": "boosts",
|
|
63
|
-
"required": false,
|
|
64
|
-
"summary": "List of proposed boosts",
|
|
65
|
-
"schema": {
|
|
66
|
-
"type": "object"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"name": "sources",
|
|
71
|
-
"required": false,
|
|
72
|
-
"summary": "List of sources used to respond to the user",
|
|
73
|
-
"schema": {
|
|
74
|
-
"type": "array",
|
|
75
|
-
"items": {
|
|
76
|
-
"type": "object"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"name": "logs",
|
|
82
|
-
"required": false,
|
|
83
|
-
"summary": "Useful information for debugging reasoning",
|
|
84
|
-
"schema": {
|
|
85
|
-
"type": "object"
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
"x-events": []
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"components": {
|
|
94
|
-
"schemas": {
|
|
95
|
-
"Boost": {
|
|
96
|
-
"type": "object",
|
|
97
|
-
"tags": ["boost"],
|
|
98
|
-
"summary": "Boost",
|
|
99
|
-
"properties": {
|
|
100
|
-
"prompt": {
|
|
101
|
-
"type": "boolean"
|
|
102
|
-
},
|
|
103
|
-
"required": {
|
|
104
|
-
"type": "boolean"
|
|
105
|
-
},
|
|
106
|
-
"selector": {
|
|
107
|
-
"type": "string"
|
|
108
|
-
},
|
|
109
|
-
"url": {
|
|
110
|
-
"type": "string"
|
|
111
|
-
},
|
|
112
|
-
"step": {
|
|
113
|
-
"type": "string"
|
|
114
|
-
},
|
|
115
|
-
"inputs": {
|
|
116
|
-
"type": "array",
|
|
117
|
-
"items": {
|
|
118
|
-
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"required": []
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
Binary file
|
|
@@ -1,27 +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
|
-
"@digipair/skill-service": "latest",
|
|
13
|
-
"@digipair/skill-chatbot": "latest",
|
|
14
|
-
"@digipair/skill-dsp": "latest",
|
|
15
|
-
"@digipair/skill-web": "latest",
|
|
16
|
-
"@digipair/skill-factory": "latest",
|
|
17
|
-
"@digipair/skill-basic": "latest",
|
|
18
|
-
"@digipair/skill-debug": "latest",
|
|
19
|
-
"@digipair/skill-web-debug": "latest",
|
|
20
|
-
"@digipair/skill-web-chatbot": "latest",
|
|
21
|
-
"@digipair/skill-web-inputs": "latest",
|
|
22
|
-
"@digipair/skill-web-interact": "latest"
|
|
23
|
-
},
|
|
24
|
-
"variables": {},
|
|
25
|
-
"privates": {},
|
|
26
|
-
"digipair": "<%= digipair %>"
|
|
27
|
-
}
|