digipair 0.118.3 → 0.119.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/assets/digipairs/studio/boost-tool-add-client-mcp.json +24 -18
- package/assets/digipairs/studio/boost-tool-add-library.json +31 -7
- package/assets/digipairs/studio/boost-tool-add-openapi.json +19 -3
- package/assets/digipairs/studio/boost-tool-add.json +30 -6
- package/assets/digipairs/studio/boost-worker-add-client-mcp.json +134 -0
- package/assets/digipairs/studio/boost-worker-add.json +21 -5
- package/assets/digipairs/studio/tool-add.json +40 -6
- package/assets/digipairs/studio/tool-tasks.json +224 -1
- package/assets/digipairs/studio/tool-tool-add.json +38 -5
- package/assets/digipairs/studio/tools.json +263 -4
- package/assets/digipairs/studio/worker-add.json +36 -5
- package/assets/digipairs/studio/worker-edit.json +21 -1
- package/assets/digipairs/studio/worker-tasks.json +225 -2
- package/assets/digipairs/studio/worker-tool-add.json +62 -5
- package/assets/digipairs/studio/workers.json +273 -6
- package/assets/templates/openapi-apikey/config.json +1 -0
- package/assets/templates/pair/config.json +1 -0
- package/assets/templates/tool/config.json +1 -0
- package/assets/templates/tool-client-mcp-apikey/config.json +1 -0
- package/assets/templates/tool-library/config.json +1 -0
- package/assets/templates/worker/config.json +1 -0
- package/assets/templates/worker-client-mcp-apikey/avatar.png +0 -0
- package/assets/templates/worker-client-mcp-apikey/config.json +38 -0
- package/assets/templates/worker-client-mcp-apikey/fallback.json +19 -0
- package/assets/templates/worker-client-mcp-apikey/schema.json.json +34 -0
- package/package.json +38 -38
- package/src/app/assets/digipairs/studio/boost-tool-add-client-mcp.json +24 -18
- package/src/app/assets/digipairs/studio/boost-tool-add-library.json +31 -7
- package/src/app/assets/digipairs/studio/boost-tool-add-openapi.json +19 -3
- package/src/app/assets/digipairs/studio/boost-tool-add.json +30 -6
- package/src/app/assets/digipairs/studio/boost-worker-add-client-mcp.json +134 -0
- package/src/app/assets/digipairs/studio/boost-worker-add.json +21 -5
- package/src/app/assets/digipairs/studio/tool-add.json +40 -6
- package/src/app/assets/digipairs/studio/tool-tasks.json +224 -1
- package/src/app/assets/digipairs/studio/tool-tool-add.json +38 -5
- package/src/app/assets/digipairs/studio/tools.json +263 -4
- package/src/app/assets/digipairs/studio/worker-add.json +36 -5
- package/src/app/assets/digipairs/studio/worker-edit.json +21 -1
- package/src/app/assets/digipairs/studio/worker-tasks.json +225 -2
- package/src/app/assets/digipairs/studio/worker-tool-add.json +62 -5
- package/src/app/assets/digipairs/studio/workers.json +273 -6
- package/src/app/assets/templates/openapi-apikey/config.json +1 -0
- package/src/app/assets/templates/pair/config.json +1 -0
- package/src/app/assets/templates/tool/config.json +1 -0
- package/src/app/assets/templates/tool-client-mcp-apikey/config.json +1 -0
- package/src/app/assets/templates/tool-library/config.json +1 -0
- package/src/app/assets/templates/worker/config.json +1 -0
- package/src/app/assets/templates/worker-client-mcp-apikey/avatar.png +0 -0
- package/src/app/assets/templates/worker-client-mcp-apikey/config.json +38 -0
- package/src/app/assets/templates/worker-client-mcp-apikey/fallback.json +19 -0
- package/src/app/assets/templates/worker-client-mcp-apikey/schema.json.json +34 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "Adding a digipair from
|
|
3
|
-
"summary": "Adding a digipair from
|
|
2
|
+
"description": "Adding a digipair from a MCP.",
|
|
3
|
+
"summary": "Adding a digipair from a MCP.",
|
|
4
4
|
"library": "@digipair/skill-chatbot",
|
|
5
5
|
"element": "boost",
|
|
6
|
-
"metadata": {
|
|
7
|
-
"standalone": true
|
|
8
|
-
},
|
|
6
|
+
"metadata": { "standalone": true, "context": [] },
|
|
9
7
|
"properties": {
|
|
10
8
|
"steps": [
|
|
11
9
|
{
|
|
12
10
|
"name": "Initialisation",
|
|
13
11
|
"execute": [
|
|
12
|
+
{
|
|
13
|
+
"library": "@digipair/skill-basic",
|
|
14
|
+
"element": "setVariable",
|
|
15
|
+
"properties": {
|
|
16
|
+
"name": "toolType",
|
|
17
|
+
"value": "FEEL: if request.body.context.type != null then request.body.context.type else \"tool\""
|
|
18
|
+
}
|
|
19
|
+
},
|
|
14
20
|
{
|
|
15
21
|
"library": "digipair:studio",
|
|
16
22
|
"element": "action-answer",
|
|
17
23
|
"properties": {
|
|
18
|
-
"assistant": "What is the summary of this new MCP
|
|
19
|
-
"boost": [
|
|
20
|
-
{
|
|
21
|
-
"prompt": true,
|
|
22
|
-
"required": true,
|
|
23
|
-
"step": "Api"
|
|
24
|
-
}
|
|
25
|
-
]
|
|
24
|
+
"assistant": "What is the summary of this new MCP {{variables.workerType}} agent?",
|
|
25
|
+
"boost": [{ "prompt": true, "required": true, "step": "Api" }]
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
]
|
|
@@ -41,14 +41,20 @@
|
|
|
41
41
|
"element": "generate",
|
|
42
42
|
"properties": {
|
|
43
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
|
-
}
|
|
44
|
+
"input": { "comment": "{{request.body.prompt}}" }
|
|
47
45
|
}
|
|
48
46
|
}
|
|
49
47
|
]
|
|
50
48
|
}
|
|
51
49
|
},
|
|
50
|
+
{
|
|
51
|
+
"library": "@digipair/skill-basic",
|
|
52
|
+
"element": "setVariable",
|
|
53
|
+
"properties": {
|
|
54
|
+
"name": "toolType",
|
|
55
|
+
"value": "FEEL: if request.body.context.type != null then request.body.context.type else \"tool\""
|
|
56
|
+
}
|
|
57
|
+
},
|
|
52
58
|
{
|
|
53
59
|
"library": "digipair:studio",
|
|
54
60
|
"element": "action-answer",
|
|
@@ -65,7 +71,7 @@
|
|
|
65
71
|
"element": "digipair-input-hidden",
|
|
66
72
|
"properties": {
|
|
67
73
|
"value": {
|
|
68
|
-
"digipair": "FEEL: \"
|
|
74
|
+
"digipair": "FEEL: variables.toolType + \"-\" + kebabCase(request.body.prompt)",
|
|
69
75
|
"name": "FEEL: variables.infos.name",
|
|
70
76
|
"description": "FEEL: variables.infos.description",
|
|
71
77
|
"assistant": "FEEL: variables.infos.assistant"
|
|
@@ -125,4 +131,4 @@
|
|
|
125
131
|
]
|
|
126
132
|
},
|
|
127
133
|
"pins": []
|
|
128
|
-
}
|
|
134
|
+
}
|
|
@@ -12,11 +12,19 @@
|
|
|
12
12
|
{
|
|
13
13
|
"name": "Initialisation",
|
|
14
14
|
"execute": [
|
|
15
|
+
{
|
|
16
|
+
"library": "@digipair/skill-basic",
|
|
17
|
+
"element": "setVariable",
|
|
18
|
+
"properties": {
|
|
19
|
+
"name": "toolType",
|
|
20
|
+
"value": "FEEL: if request.body.context.type != null then request.body.context.type else \"tool\""
|
|
21
|
+
}
|
|
22
|
+
},
|
|
15
23
|
{
|
|
16
24
|
"library": "digipair:studio",
|
|
17
25
|
"element": "action-answer",
|
|
18
26
|
"properties": {
|
|
19
|
-
"assistant": "What is the summary of this new
|
|
27
|
+
"assistant": "What is the summary of this new {{variables.toolType}} agent?",
|
|
20
28
|
"boost": [
|
|
21
29
|
{
|
|
22
30
|
"prompt": true,
|
|
@@ -59,6 +67,22 @@
|
|
|
59
67
|
]
|
|
60
68
|
}
|
|
61
69
|
},
|
|
70
|
+
{
|
|
71
|
+
"library": "@digipair/skill-basic",
|
|
72
|
+
"element": "setVariable",
|
|
73
|
+
"properties": {
|
|
74
|
+
"name": "toolType",
|
|
75
|
+
"value": "FEEL: if request.body.context.type != null then request.body.context.type else \"tool\""
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"library": "@digipair/skill-basic",
|
|
80
|
+
"element": "setVariable",
|
|
81
|
+
"properties": {
|
|
82
|
+
"name": "digipairId",
|
|
83
|
+
"value": "FEEL: variables.toolType + \"-\" + kebabCase(request.body.prompt)"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
62
86
|
{
|
|
63
87
|
"library": "@digipair/skill-basic",
|
|
64
88
|
"element": "setVariable",
|
|
@@ -77,7 +101,7 @@
|
|
|
77
101
|
"library": "@digipair/skill-basic",
|
|
78
102
|
"element": "transform",
|
|
79
103
|
"properties": {
|
|
80
|
-
"value": "FEEL: context merge(\n previous[1], \n {\n info: context merge(previous[1].info, { \n title: \"digipair
|
|
104
|
+
"value": "FEEL: context merge(\n previous[1], \n {\n info: context merge(previous[1].info, { \n title: \"digipair:\" + variables.digipairId \n })\n }\n)"
|
|
81
105
|
}
|
|
82
106
|
}
|
|
83
107
|
]
|
|
@@ -89,20 +113,20 @@
|
|
|
89
113
|
"properties": {
|
|
90
114
|
"template": "tool-library",
|
|
91
115
|
"data": {
|
|
92
|
-
"digipair": "FEEL:
|
|
116
|
+
"digipair": "FEEL: variables.digipairId",
|
|
93
117
|
"name": "FEEL: variables.infos.name",
|
|
94
118
|
"description": "FEEL: variables.infos.description",
|
|
95
119
|
"library": "FEEL: request.body.inputs[1].value",
|
|
96
120
|
"schema": "FEEL: variables.schema"
|
|
97
121
|
},
|
|
98
|
-
"digipair": "FEEL:
|
|
122
|
+
"digipair": "FEEL: variables.digipairId"
|
|
99
123
|
}
|
|
100
124
|
},
|
|
101
125
|
{
|
|
102
126
|
"library": "@digipair/skill-editor",
|
|
103
127
|
"element": "reasonings",
|
|
104
128
|
"properties": {
|
|
105
|
-
"digipair": "FEEL:
|
|
129
|
+
"digipair": "FEEL: variables.digipairId"
|
|
106
130
|
}
|
|
107
131
|
},
|
|
108
132
|
{
|
|
@@ -115,7 +139,7 @@
|
|
|
115
139
|
"library": "@digipair/skill-web-interact",
|
|
116
140
|
"element": "goTo",
|
|
117
141
|
"properties": {
|
|
118
|
-
"url": "
|
|
142
|
+
"url": "/studio/tool-edit/{{variables.digipairId}}"
|
|
119
143
|
}
|
|
120
144
|
}
|
|
121
145
|
]
|
|
@@ -126,4 +150,4 @@
|
|
|
126
150
|
]
|
|
127
151
|
},
|
|
128
152
|
"pins": []
|
|
129
|
-
}
|
|
153
|
+
}
|
|
@@ -11,11 +11,19 @@
|
|
|
11
11
|
{
|
|
12
12
|
"name": "Initialisation",
|
|
13
13
|
"execute": [
|
|
14
|
+
{
|
|
15
|
+
"library": "@digipair/skill-basic",
|
|
16
|
+
"element": "setVariable",
|
|
17
|
+
"properties": {
|
|
18
|
+
"name": "toolType",
|
|
19
|
+
"value": "FEEL: if request.body.context.type != null then request.body.context.type else \"tool\""
|
|
20
|
+
}
|
|
21
|
+
},
|
|
14
22
|
{
|
|
15
23
|
"library": "digipair:studio",
|
|
16
24
|
"element": "action-answer",
|
|
17
25
|
"properties": {
|
|
18
|
-
"assistant": "What is the summary of this new
|
|
26
|
+
"assistant": "What is the summary of this new {{variables.toolType}} agent?",
|
|
19
27
|
"boost": [
|
|
20
28
|
{
|
|
21
29
|
"prompt": true,
|
|
@@ -49,6 +57,14 @@
|
|
|
49
57
|
]
|
|
50
58
|
}
|
|
51
59
|
},
|
|
60
|
+
{
|
|
61
|
+
"library": "@digipair/skill-basic",
|
|
62
|
+
"element": "setVariable",
|
|
63
|
+
"properties": {
|
|
64
|
+
"name": "toolType",
|
|
65
|
+
"value": "FEEL: if request.body.context.type != null then request.body.context.type else \"tool\""
|
|
66
|
+
}
|
|
67
|
+
},
|
|
52
68
|
{
|
|
53
69
|
"library": "digipair:studio",
|
|
54
70
|
"element": "action-answer",
|
|
@@ -65,7 +81,7 @@
|
|
|
65
81
|
"element": "digipair-input-hidden",
|
|
66
82
|
"properties": {
|
|
67
83
|
"value": {
|
|
68
|
-
"digipair": "FEEL: \"
|
|
84
|
+
"digipair": "FEEL: variables.toolType + \"-\" + kebabCase(request.body.prompt)",
|
|
69
85
|
"name": "FEEL: variables.infos.name",
|
|
70
86
|
"description": "FEEL: variables.infos.description",
|
|
71
87
|
"assistant": "FEEL: variables.infos.assistant"
|
|
@@ -200,4 +216,4 @@
|
|
|
200
216
|
]
|
|
201
217
|
},
|
|
202
218
|
"pins": []
|
|
203
|
-
}
|
|
219
|
+
}
|
|
@@ -11,11 +11,19 @@
|
|
|
11
11
|
{
|
|
12
12
|
"name": "Initialisation",
|
|
13
13
|
"execute": [
|
|
14
|
+
{
|
|
15
|
+
"library": "@digipair/skill-basic",
|
|
16
|
+
"element": "setVariable",
|
|
17
|
+
"properties": {
|
|
18
|
+
"name": "toolType",
|
|
19
|
+
"value": "FEEL: if request.body.context.type != null then request.body.context.type else \"tool\""
|
|
20
|
+
}
|
|
21
|
+
},
|
|
14
22
|
{
|
|
15
23
|
"library": "digipair:studio",
|
|
16
24
|
"element": "action-answer",
|
|
17
25
|
"properties": {
|
|
18
|
-
"assistant": "What is the summary of this new
|
|
26
|
+
"assistant": "What is the summary of this new {{variables.toolType}} agent?",
|
|
19
27
|
"boost": [
|
|
20
28
|
{
|
|
21
29
|
"prompt": true,
|
|
@@ -49,24 +57,40 @@
|
|
|
49
57
|
]
|
|
50
58
|
}
|
|
51
59
|
},
|
|
60
|
+
{
|
|
61
|
+
"library": "@digipair/skill-basic",
|
|
62
|
+
"element": "setVariable",
|
|
63
|
+
"properties": {
|
|
64
|
+
"name": "toolType",
|
|
65
|
+
"value": "FEEL: if request.body.context.type != null then request.body.context.type else \"tool\""
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"library": "@digipair/skill-basic",
|
|
70
|
+
"element": "setVariable",
|
|
71
|
+
"properties": {
|
|
72
|
+
"name": "digipairId",
|
|
73
|
+
"value": "FEEL: variables.toolType + \"-\" + request.body.prompt"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
52
76
|
{
|
|
53
77
|
"library": "@digipair/skill-editor",
|
|
54
78
|
"element": "addDigipair",
|
|
55
79
|
"properties": {
|
|
56
80
|
"template": "tool",
|
|
57
81
|
"data": {
|
|
58
|
-
"digipair": "FEEL:
|
|
82
|
+
"digipair": "FEEL: variables.digipairId",
|
|
59
83
|
"name": "FEEL: variables.infos.name",
|
|
60
84
|
"description": "FEEL: variables.infos.description"
|
|
61
85
|
},
|
|
62
|
-
"digipair": "FEEL:
|
|
86
|
+
"digipair": "FEEL: variables.digipairId"
|
|
63
87
|
}
|
|
64
88
|
},
|
|
65
89
|
{
|
|
66
90
|
"library": "@digipair/skill-editor",
|
|
67
91
|
"element": "reasonings",
|
|
68
92
|
"properties": {
|
|
69
|
-
"digipair": "FEEL:
|
|
93
|
+
"digipair": "FEEL: variables.digipairId"
|
|
70
94
|
}
|
|
71
95
|
},
|
|
72
96
|
{
|
|
@@ -79,7 +103,7 @@
|
|
|
79
103
|
"library": "@digipair/skill-web-interact",
|
|
80
104
|
"element": "goTo",
|
|
81
105
|
"properties": {
|
|
82
|
-
"url": "
|
|
106
|
+
"url": "/studio/tool-edit/{{variables.digipairId}}"
|
|
83
107
|
}
|
|
84
108
|
}
|
|
85
109
|
]
|
|
@@ -90,4 +114,4 @@
|
|
|
90
114
|
]
|
|
91
115
|
},
|
|
92
116
|
"pins": []
|
|
93
|
-
}
|
|
117
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Adding a digipair from a MCP.",
|
|
3
|
+
"summary": "Adding a digipair from a MCP.",
|
|
4
|
+
"library": "@digipair/skill-chatbot",
|
|
5
|
+
"element": "boost",
|
|
6
|
+
"metadata": { "standalone": true, "context": [] },
|
|
7
|
+
"properties": {
|
|
8
|
+
"steps": [
|
|
9
|
+
{
|
|
10
|
+
"name": "Initialisation",
|
|
11
|
+
"execute": [
|
|
12
|
+
{
|
|
13
|
+
"library": "@digipair/skill-basic",
|
|
14
|
+
"element": "setVariable",
|
|
15
|
+
"properties": {
|
|
16
|
+
"name": "workerType",
|
|
17
|
+
"value": "FEEL: if request.body.context.type != null then request.body.context.type else \"worker\""
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"library": "digipair:studio",
|
|
22
|
+
"element": "action-answer",
|
|
23
|
+
"properties": {
|
|
24
|
+
"assistant": "What is the summary of this new MCP {{variables.workerType}} agent?",
|
|
25
|
+
"boost": [{ "prompt": true, "required": true, "step": "Api" }]
|
|
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": { "comment": "{{request.body.prompt}}" }
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"library": "@digipair/skill-basic",
|
|
52
|
+
"element": "setVariable",
|
|
53
|
+
"properties": {
|
|
54
|
+
"name": "workerType",
|
|
55
|
+
"value": "FEEL: if request.body.context.type != null then request.body.context.type else \"worker\""
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"library": "digipair:studio",
|
|
60
|
+
"element": "action-answer",
|
|
61
|
+
"properties": {
|
|
62
|
+
"assistant": "What is the URL of the MCP server?",
|
|
63
|
+
"boost": [
|
|
64
|
+
{
|
|
65
|
+
"prompt": true,
|
|
66
|
+
"required": true,
|
|
67
|
+
"step": "Execution",
|
|
68
|
+
"inputs": [
|
|
69
|
+
{
|
|
70
|
+
"library": "@digipair/skill-web-inputs",
|
|
71
|
+
"element": "digipair-input-hidden",
|
|
72
|
+
"properties": {
|
|
73
|
+
"value": {
|
|
74
|
+
"digipair": "FEEL: variables.workerType + \"-\" + request.body.prompt",
|
|
75
|
+
"name": "FEEL: variables.infos.name",
|
|
76
|
+
"description": "FEEL: variables.infos.description",
|
|
77
|
+
"assistant": "FEEL: variables.infos.assistant"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "Execution",
|
|
90
|
+
"execute": [
|
|
91
|
+
{
|
|
92
|
+
"library": "@digipair/skill-editor",
|
|
93
|
+
"element": "addDigipair",
|
|
94
|
+
"properties": {
|
|
95
|
+
"template": "worker-client-mcp-apikey",
|
|
96
|
+
"data": {
|
|
97
|
+
"digipair": "FEEL: request.body.inputs[1].value.digipair",
|
|
98
|
+
"name": "FEEL: request.body.inputs[1].value.name",
|
|
99
|
+
"description": "FEEL: request.body.inputs[1].value.description",
|
|
100
|
+
"api": "FEEL: request.body.prompt",
|
|
101
|
+
"key": "API_KEY"
|
|
102
|
+
},
|
|
103
|
+
"digipair": "FEEL: request.body.inputs[1].value.digipair"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"library": "@digipair/skill-editor",
|
|
108
|
+
"element": "reasonings",
|
|
109
|
+
"properties": {
|
|
110
|
+
"digipair": "FEEL: request.body.inputs[1].value.digipair"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"library": "digipair:studio",
|
|
115
|
+
"element": "action-answer",
|
|
116
|
+
"properties": {
|
|
117
|
+
"assistant": "FEEL: request.body.inputs[1].value.assistant",
|
|
118
|
+
"command": [
|
|
119
|
+
{
|
|
120
|
+
"library": "@digipair/skill-web-interact",
|
|
121
|
+
"element": "goTo",
|
|
122
|
+
"properties": {
|
|
123
|
+
"url": "/studio/worker-edit/{{request.body.inputs.[0].value.digipair}}"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"pins": []
|
|
134
|
+
}
|
|
@@ -49,24 +49,40 @@
|
|
|
49
49
|
]
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
+
{
|
|
53
|
+
"library": "@digipair/skill-basic",
|
|
54
|
+
"element": "setVariable",
|
|
55
|
+
"properties": {
|
|
56
|
+
"name": "workerType",
|
|
57
|
+
"value": "FEEL: if request.body.context.type != null then request.body.context.type else \"worker\""
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"library": "@digipair/skill-basic",
|
|
62
|
+
"element": "setVariable",
|
|
63
|
+
"properties": {
|
|
64
|
+
"name": "digipairId",
|
|
65
|
+
"value": "FEEL: variables.workerType + \"-\" + kebabCase(request.body.prompt)"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
52
68
|
{
|
|
53
69
|
"library": "@digipair/skill-editor",
|
|
54
70
|
"element": "addDigipair",
|
|
55
71
|
"properties": {
|
|
56
72
|
"template": "worker",
|
|
57
73
|
"data": {
|
|
58
|
-
"digipair": "FEEL:
|
|
74
|
+
"digipair": "FEEL: variables.digipairId",
|
|
59
75
|
"name": "FEEL: variables.infos.name",
|
|
60
76
|
"description": "FEEL: variables.infos.description"
|
|
61
77
|
},
|
|
62
|
-
"digipair": "FEEL:
|
|
78
|
+
"digipair": "FEEL: variables.digipairId"
|
|
63
79
|
}
|
|
64
80
|
},
|
|
65
81
|
{
|
|
66
82
|
"library": "@digipair/skill-editor",
|
|
67
83
|
"element": "reasonings",
|
|
68
84
|
"properties": {
|
|
69
|
-
"digipair": "FEEL:
|
|
85
|
+
"digipair": "FEEL: variables.digipairId"
|
|
70
86
|
}
|
|
71
87
|
},
|
|
72
88
|
{
|
|
@@ -79,7 +95,7 @@
|
|
|
79
95
|
"library": "@digipair/skill-web-interact",
|
|
80
96
|
"element": "goTo",
|
|
81
97
|
"properties": {
|
|
82
|
-
"url": "
|
|
98
|
+
"url": "/studio/worker-edit/{{variables.digipairId}}"
|
|
83
99
|
}
|
|
84
100
|
}
|
|
85
101
|
]
|
|
@@ -90,4 +106,4 @@
|
|
|
90
106
|
]
|
|
91
107
|
},
|
|
92
108
|
"pins": []
|
|
93
|
-
}
|
|
109
|
+
}
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"library": "web",
|
|
113
113
|
"element": "h4",
|
|
114
114
|
"properties": {
|
|
115
|
-
"textContent": "Add a
|
|
115
|
+
"textContent": "Add a {{variables.toolType}} agent"
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
118
|
{
|
|
@@ -155,7 +155,10 @@
|
|
|
155
155
|
"selector": "digipair-chatbot",
|
|
156
156
|
"args": [
|
|
157
157
|
{
|
|
158
|
-
"reasoning": "boost-tool-add"
|
|
158
|
+
"reasoning": "boost-tool-add",
|
|
159
|
+
"context": {
|
|
160
|
+
"type": "FEEL: variables.toolType"
|
|
161
|
+
}
|
|
159
162
|
}
|
|
160
163
|
]
|
|
161
164
|
}
|
|
@@ -198,7 +201,10 @@
|
|
|
198
201
|
"selector": "digipair-chatbot",
|
|
199
202
|
"args": [
|
|
200
203
|
{
|
|
201
|
-
"reasoning": "boost-tool-add-openapi"
|
|
204
|
+
"reasoning": "boost-tool-add-openapi",
|
|
205
|
+
"context": {
|
|
206
|
+
"type": "FEEL: variables.toolType"
|
|
207
|
+
}
|
|
202
208
|
}
|
|
203
209
|
]
|
|
204
210
|
}
|
|
@@ -241,7 +247,10 @@
|
|
|
241
247
|
"selector": "digipair-chatbot",
|
|
242
248
|
"args": [
|
|
243
249
|
{
|
|
244
|
-
"reasoning": "boost-tool-add-client-mcp"
|
|
250
|
+
"reasoning": "boost-tool-add-client-mcp",
|
|
251
|
+
"context": {
|
|
252
|
+
"type": "FEEL: variables.toolType"
|
|
253
|
+
}
|
|
245
254
|
}
|
|
246
255
|
]
|
|
247
256
|
}
|
|
@@ -286,7 +295,8 @@
|
|
|
286
295
|
{
|
|
287
296
|
"reasoning": "boost-tool-add-library",
|
|
288
297
|
"context": {
|
|
289
|
-
"library": "{{item.name}}"
|
|
298
|
+
"library": "{{item.name}}",
|
|
299
|
+
"type": "FEEL: variables.toolType"
|
|
290
300
|
}
|
|
291
301
|
}
|
|
292
302
|
]
|
|
@@ -361,8 +371,32 @@
|
|
|
361
371
|
}
|
|
362
372
|
]
|
|
363
373
|
}
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"library": "@digipair/skill-basic",
|
|
377
|
+
"element": "setVariable",
|
|
378
|
+
"properties": {
|
|
379
|
+
"name": "toolType",
|
|
380
|
+
"execute": [
|
|
381
|
+
{
|
|
382
|
+
"library": "@digipair/skill-web",
|
|
383
|
+
"element": "executeFactory",
|
|
384
|
+
"properties": {
|
|
385
|
+
"execute": [
|
|
386
|
+
{
|
|
387
|
+
"library": "@digipair/skill-basic",
|
|
388
|
+
"element": "transform",
|
|
389
|
+
"properties": {
|
|
390
|
+
"value": "FEEL: if request.params[1] != null then request.params[1] else \"tool\""
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
]
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
]
|
|
397
|
+
}
|
|
364
398
|
}
|
|
365
399
|
]
|
|
366
400
|
},
|
|
367
401
|
"pins": []
|
|
368
|
-
}
|
|
402
|
+
}
|