digipair 0.99.0 → 0.99.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 -35
- package/src/app/assets/digipairs/studio/config.json +44 -1
- package/src/app/assets/digipairs/admin/avatar.png +0 -0
- package/src/app/assets/digipairs/admin/boost-add-digipair-api.json +0 -143
- package/src/app/assets/digipairs/admin/boost-add-digipair-business-process.json +0 -68
- package/src/app/assets/digipairs/admin/boost-add-digipair-expert.json +0 -68
- package/src/app/assets/digipairs/admin/boost-add-digipair-imap-listener-oauth2.json +0 -68
- package/src/app/assets/digipairs/admin/boost-add-digipair-imap-listener.json +0 -68
- package/src/app/assets/digipairs/admin/boost-add-digipair-teams.json +0 -107
- package/src/app/assets/digipairs/admin/boost-add-reasoning.json +0 -72
- package/src/app/assets/digipairs/admin/boost-duplicate-reasoning.json +0 -80
- package/src/app/assets/digipairs/admin/boost-plan-reasoning.json +0 -71
- package/src/app/assets/digipairs/admin/compute-consumption-daily.json +0 -17
- package/src/app/assets/digipairs/admin/config.json +0 -41
- package/src/app/assets/digipairs/admin/consumptions-monthly.json +0 -290
- package/src/app/assets/digipairs/admin/consumptions.json +0 -264
- package/src/app/assets/digipairs/admin/digipair-list.json +0 -581
- package/src/app/assets/digipairs/admin/json-editor.json +0 -201
- package/src/app/assets/digipairs/admin/logs.json +0 -239
- package/src/app/assets/digipairs/admin/openapi2schema.json +0 -150
- package/src/app/assets/digipairs/admin/process-list.json +0 -182
- package/src/app/assets/digipairs/admin/reasoning-editor.json +0 -296
- package/src/app/assets/digipairs/admin/reasoning-list.json +0 -810
- package/src/app/assets/digipairs/admin/schema.json +0 -115
package/package.json
CHANGED
|
@@ -1,45 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "digipair",
|
|
3
|
-
"version": "0.99.
|
|
3
|
+
"version": "0.99.1",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"bin": {
|
|
6
6
|
"digipair": "./bin/digipair.js"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@digipair/engine": "0.99.
|
|
10
|
-
"@digipair/skill-chatbot": "0.99.
|
|
11
|
-
"@digipair/skill-common": "0.99.
|
|
12
|
-
"@digipair/skill-cron": "0.99.
|
|
13
|
-
"@digipair/skill-basic": "0.99.
|
|
14
|
-
"@digipair/skill-canvas": "0.99.
|
|
15
|
-
"@digipair/skill-
|
|
16
|
-
"@digipair/skill-
|
|
17
|
-
"@digipair/skill-
|
|
18
|
-
"@digipair/skill-
|
|
19
|
-
"@digipair/skill-
|
|
20
|
-
"@digipair/skill-
|
|
21
|
-
"@digipair/skill-
|
|
22
|
-
"@digipair/skill-
|
|
23
|
-
"@digipair/skill-
|
|
24
|
-
"@digipair/skill-
|
|
25
|
-
"@digipair/skill-
|
|
26
|
-
"@digipair/skill-
|
|
27
|
-
"@digipair/skill-
|
|
28
|
-
"@digipair/skill-
|
|
29
|
-
"@digipair/skill-
|
|
30
|
-
"@digipair/skill-
|
|
31
|
-
"@digipair/skill-
|
|
32
|
-
"@digipair/skill-
|
|
33
|
-
"@digipair/skill-
|
|
34
|
-
"@digipair/skill-web-
|
|
35
|
-
"@digipair/skill-web-
|
|
36
|
-
"@digipair/skill-web-
|
|
37
|
-
"@digipair/skill-web-
|
|
38
|
-
"@digipair/skill-web-
|
|
39
|
-
"@digipair/skill-web-
|
|
40
|
-
"@digipair/skill-web-
|
|
41
|
-
"@digipair/skill-web-
|
|
42
|
-
"@digipair/skill-
|
|
9
|
+
"@digipair/engine": "0.99.1",
|
|
10
|
+
"@digipair/skill-chatbot": "0.99.1",
|
|
11
|
+
"@digipair/skill-common": "0.99.1",
|
|
12
|
+
"@digipair/skill-cron": "0.99.1",
|
|
13
|
+
"@digipair/skill-basic": "0.99.1",
|
|
14
|
+
"@digipair/skill-canvas": "0.99.1",
|
|
15
|
+
"@digipair/skill-codex": "0.99.1",
|
|
16
|
+
"@digipair/skill-debug": "0.99.1",
|
|
17
|
+
"@digipair/skill-dsp": "0.99.1",
|
|
18
|
+
"@digipair/skill-editor": "0.99.1",
|
|
19
|
+
"@digipair/skill-factory": "0.99.1",
|
|
20
|
+
"@digipair/skill-http": "0.99.1",
|
|
21
|
+
"@digipair/skill-llm": "0.99.1",
|
|
22
|
+
"@digipair/skill-openai": "0.99.1",
|
|
23
|
+
"@digipair/skill-service": "0.99.1",
|
|
24
|
+
"@digipair/skill-sse": "0.99.1",
|
|
25
|
+
"@digipair/skill-temporal": "0.99.1",
|
|
26
|
+
"@digipair/skill-tool": "0.99.1",
|
|
27
|
+
"@digipair/skill-web": "0.99.1",
|
|
28
|
+
"@digipair/skill-worker": "0.99.1",
|
|
29
|
+
"@digipair/skill-logger": "0.99.1",
|
|
30
|
+
"@digipair/skill-process": "0.99.1",
|
|
31
|
+
"@digipair/skill-oauth2": "0.99.1",
|
|
32
|
+
"@digipair/skill-imap": "0.99.1",
|
|
33
|
+
"@digipair/skill-sendmail": "0.99.1",
|
|
34
|
+
"@digipair/skill-web-debug": "0.99.1",
|
|
35
|
+
"@digipair/skill-web-jsoneditor": "0.99.1",
|
|
36
|
+
"@digipair/skill-web-notification": "0.99.1",
|
|
37
|
+
"@digipair/skill-web-chatbot": "0.99.1",
|
|
38
|
+
"@digipair/skill-web-editor": "0.99.1",
|
|
39
|
+
"@digipair/skill-web-inputs": "0.99.1",
|
|
40
|
+
"@digipair/skill-web-spectrum": "0.99.1",
|
|
41
|
+
"@digipair/skill-web-interact": "0.99.1",
|
|
42
|
+
"@digipair/skill-web-font-awesome": "0.99.1",
|
|
43
|
+
"@digipair/skill-yaml": "0.99.1",
|
|
43
44
|
"tslib": "^2.6.3",
|
|
44
45
|
"@nestjs/common": "^10.3.9",
|
|
45
46
|
"@nestjs/core": "^10.3.9",
|
|
@@ -1 +1,44 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"name": "Studio",
|
|
3
|
+
"description": "Un agent qui gère les travailleurs et supervise les tâches.",
|
|
4
|
+
"metadata": {
|
|
5
|
+
"avatar": "avatar.png",
|
|
6
|
+
"primary": "#51E0DC",
|
|
7
|
+
"textPrimary": "#242E3B",
|
|
8
|
+
"secondary": "#242E3B",
|
|
9
|
+
"textSecondary": "#FFFFFF",
|
|
10
|
+
"shared": null
|
|
11
|
+
},
|
|
12
|
+
"libraries": {
|
|
13
|
+
"@digipair/skill-service": "latest",
|
|
14
|
+
"@digipair/skill-chatbot": "latest",
|
|
15
|
+
"@digipair/skill-dsp": "latest",
|
|
16
|
+
"@digipair/skill-factory": "latest",
|
|
17
|
+
"@digipair/skill-basic": "latest",
|
|
18
|
+
"@digipair/skill-codex": "latest",
|
|
19
|
+
"@digipair/skill-editor": "latest",
|
|
20
|
+
"@digipair/skill-http": "latest",
|
|
21
|
+
"@digipair/skill-canvas": "latest",
|
|
22
|
+
"@digipair/skill-cron": "latest",
|
|
23
|
+
"@digipair/skill-web": "latest",
|
|
24
|
+
"@digipair/skill-yaml": "latest",
|
|
25
|
+
"@digipair/skill-debug": "latest",
|
|
26
|
+
"@digipair/skill-web-chatbot": "latest",
|
|
27
|
+
"@digipair/skill-web-inputs": "latest",
|
|
28
|
+
"@digipair/skill-web-interact": "latest",
|
|
29
|
+
"@digipair/skill-web-spectrum": "latest",
|
|
30
|
+
"@digipair/skill-web-font-awesome": "latest",
|
|
31
|
+
"@digipair/skill-web-notification": "latest",
|
|
32
|
+
"@digipair/skill-web-jsoneditor": "latest",
|
|
33
|
+
"@digipair/skill-web-editor": "latest",
|
|
34
|
+
"@digipair/skill-web-debug": "latest"
|
|
35
|
+
},
|
|
36
|
+
"webLibraries": {
|
|
37
|
+
"blockly": "latest",
|
|
38
|
+
"toastify-js": "latest"
|
|
39
|
+
},
|
|
40
|
+
"variables": {},
|
|
41
|
+
"privates": {},
|
|
42
|
+
"id": "config",
|
|
43
|
+
"digipair": "studio"
|
|
44
|
+
}
|
|
Binary file
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"summary": "Add a digipair from OpenAPI",
|
|
3
|
-
"description": "Adding a new digipair from OpenAPI v3.",
|
|
4
|
-
"library": "@digipair/skill-chatbot",
|
|
5
|
-
"element": "boost",
|
|
6
|
-
"metadata": { "standalone": true, "selector": "any", "url": "^$" },
|
|
7
|
-
"properties": {
|
|
8
|
-
"steps": [
|
|
9
|
-
{
|
|
10
|
-
"name": "Initialisation",
|
|
11
|
-
"execute": [
|
|
12
|
-
{
|
|
13
|
-
"library": "digipair:admin",
|
|
14
|
-
"element": "answer",
|
|
15
|
-
"properties": {
|
|
16
|
-
"assistant": "What is the id for the new digipair ?",
|
|
17
|
-
"boost": [{ "prompt": true, "required": true, "step": "Api" }]
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Api",
|
|
24
|
-
"execute": [
|
|
25
|
-
{
|
|
26
|
-
"library": "@digipair/skill-basic",
|
|
27
|
-
"element": "setVariable",
|
|
28
|
-
"properties": {
|
|
29
|
-
"name": "infos",
|
|
30
|
-
"execute": [
|
|
31
|
-
{
|
|
32
|
-
"library": "@digipair/skill-dsp",
|
|
33
|
-
"element": "generate",
|
|
34
|
-
"properties": {
|
|
35
|
-
"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\", \n description:string \"Short description of the agent from the comment\", \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\"",
|
|
36
|
-
"input": { "comment": "{{request.body.prompt}}" }
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"library": "digipair:admin",
|
|
44
|
-
"element": "answer",
|
|
45
|
-
"properties": {
|
|
46
|
-
"assistant": "What is the OpenAPI v3 JSON url ?",
|
|
47
|
-
"boost": [
|
|
48
|
-
{
|
|
49
|
-
"prompt": true,
|
|
50
|
-
"required": true,
|
|
51
|
-
"step": "Execution",
|
|
52
|
-
"inputs": [
|
|
53
|
-
{
|
|
54
|
-
"library": "@digipair/skill-web-inputs",
|
|
55
|
-
"element": "digipair-input-hidden",
|
|
56
|
-
"properties": {
|
|
57
|
-
"value": {
|
|
58
|
-
"digipair": "EVALUATE:request.body.prompt",
|
|
59
|
-
"name": "EVALUATE:variables.infos.name",
|
|
60
|
-
"description": "EVALUATE:variables.infos.description",
|
|
61
|
-
"assistant": "EVALUATE:variables.infos.assistant"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"name": "Execution",
|
|
74
|
-
"execute": [
|
|
75
|
-
{
|
|
76
|
-
"library": "@digipair/skill-basic",
|
|
77
|
-
"element": "setVariable",
|
|
78
|
-
"properties": {
|
|
79
|
-
"name": "openapi",
|
|
80
|
-
"execute": [
|
|
81
|
-
{
|
|
82
|
-
"library": "@digipair/skill-http",
|
|
83
|
-
"element": "read",
|
|
84
|
-
"properties": { "path": "EVALUATE:request.body.prompt" }
|
|
85
|
-
}
|
|
86
|
-
]
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"library": "@digipair/skill-basic",
|
|
91
|
-
"element": "setVariable",
|
|
92
|
-
"properties": {
|
|
93
|
-
"name": "schema",
|
|
94
|
-
"execute": [
|
|
95
|
-
{
|
|
96
|
-
"library": "digipair:admin",
|
|
97
|
-
"element": "openapi2schema",
|
|
98
|
-
"properties": {
|
|
99
|
-
"openapi": "EVALUATE:variables.openapi",
|
|
100
|
-
"digipair": "EVALUATE:request.body.inputs[1].value.digipair",
|
|
101
|
-
"name": "EVALUATE:request.body.inputs[1].value.name",
|
|
102
|
-
"description": "EVALUATE:request.body.inputs[1].value.description"
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
]
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"library": "@digipair/skill-editor",
|
|
110
|
-
"element": "addDigipair",
|
|
111
|
-
"properties": {
|
|
112
|
-
"template": "openapi-apikey",
|
|
113
|
-
"data": {
|
|
114
|
-
"digipair": "EVALUATE:request.body.inputs[1].value.digipair",
|
|
115
|
-
"name": "EVALUATE:request.body.inputs[1].value.name",
|
|
116
|
-
"description": "EVALUATE:request.body.inputs[1].value.description",
|
|
117
|
-
"openapi": "EVALUATE:variables.openapi",
|
|
118
|
-
"schema": "EVALUATE:variables.schema",
|
|
119
|
-
"api": "EVALUATE:request.body.prompt",
|
|
120
|
-
"key": "API_KEY"
|
|
121
|
-
},
|
|
122
|
-
"digipair": "EVALUATE:request.body.inputs[1].value.digipair"
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"library": "digipair:admin",
|
|
127
|
-
"element": "answer",
|
|
128
|
-
"properties": {
|
|
129
|
-
"assistant": "EVALUATE:request.body.inputs[1].value.assistant",
|
|
130
|
-
"command": [
|
|
131
|
-
{
|
|
132
|
-
"library": "@digipair/skill-web-interact",
|
|
133
|
-
"element": "reload"
|
|
134
|
-
}
|
|
135
|
-
]
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
]
|
|
139
|
-
}
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
"pins": []
|
|
143
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"summary": "Add a digipair business process",
|
|
3
|
-
"description": "Adding a new digipair business process.",
|
|
4
|
-
"library": "@digipair/skill-chatbot",
|
|
5
|
-
"element": "boost",
|
|
6
|
-
"metadata": { "standalone": true, "selector": "any", "url": "^$" },
|
|
7
|
-
"properties": {
|
|
8
|
-
"steps": [
|
|
9
|
-
{
|
|
10
|
-
"name": "Initialisation",
|
|
11
|
-
"execute": [
|
|
12
|
-
{
|
|
13
|
-
"library": "digipair:admin",
|
|
14
|
-
"element": "answer",
|
|
15
|
-
"properties": {
|
|
16
|
-
"assistant": "What is the id for the new digipair ?",
|
|
17
|
-
"boost": [{ "prompt": true, "required": true, "step": "Execution" }]
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Execution",
|
|
24
|
-
"execute": [
|
|
25
|
-
{
|
|
26
|
-
"library": "@digipair/skill-basic",
|
|
27
|
-
"element": "setVariable",
|
|
28
|
-
"properties": {
|
|
29
|
-
"name": "infos",
|
|
30
|
-
"execute": [
|
|
31
|
-
{
|
|
32
|
-
"library": "@digipair/skill-dsp",
|
|
33
|
-
"element": "generate",
|
|
34
|
-
"properties": {
|
|
35
|
-
"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\", \n description:string \"Short description of the agent from the comment\", \n assistant:string \"Assistant's response to confirm that the digipair has been successfully added\"",
|
|
36
|
-
"input": { "comment": "{{request.body.prompt}}" }
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"library": "@digipair/skill-editor",
|
|
44
|
-
"element": "addDigipair",
|
|
45
|
-
"properties": {
|
|
46
|
-
"template": "business-process",
|
|
47
|
-
"data": {
|
|
48
|
-
"digipair": "EVALUATE:request.body.prompt",
|
|
49
|
-
"name": "EVALUATE:variables.infos.name",
|
|
50
|
-
"description": "EVALUATE:variables.infos.description"
|
|
51
|
-
},
|
|
52
|
-
"digipair": "EVALUATE:request.body.prompt"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"library": "digipair:admin",
|
|
57
|
-
"element": "answer",
|
|
58
|
-
"properties": {
|
|
59
|
-
"assistant": "EVALUATE:variables.infos.assistant",
|
|
60
|
-
"command": [{ "library": "@digipair/skill-web-interact", "element": "reload" }]
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
"pins": []
|
|
68
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"summary": "Add a digipair expert",
|
|
3
|
-
"description": "Adding a new digipair expert.",
|
|
4
|
-
"library": "@digipair/skill-chatbot",
|
|
5
|
-
"element": "boost",
|
|
6
|
-
"metadata": { "standalone": true, "selector": "any", "url": "^$" },
|
|
7
|
-
"properties": {
|
|
8
|
-
"steps": [
|
|
9
|
-
{
|
|
10
|
-
"name": "Initialisation",
|
|
11
|
-
"execute": [
|
|
12
|
-
{
|
|
13
|
-
"library": "digipair:admin",
|
|
14
|
-
"element": "answer",
|
|
15
|
-
"properties": {
|
|
16
|
-
"assistant": "What is the id for the new digipair ?",
|
|
17
|
-
"boost": [{ "prompt": true, "required": true, "step": "Execution" }]
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Execution",
|
|
24
|
-
"execute": [
|
|
25
|
-
{
|
|
26
|
-
"library": "@digipair/skill-basic",
|
|
27
|
-
"element": "setVariable",
|
|
28
|
-
"properties": {
|
|
29
|
-
"name": "infos",
|
|
30
|
-
"execute": [
|
|
31
|
-
{
|
|
32
|
-
"library": "@digipair/skill-dsp",
|
|
33
|
-
"element": "generate",
|
|
34
|
-
"properties": {
|
|
35
|
-
"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\", \n description:string \"Short description of the agent from the comment\", \n assistant:string \"Assistant's response to confirm that the digipair has been successfully added\"",
|
|
36
|
-
"input": { "comment": "{{request.body.prompt}}" }
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"library": "@digipair/skill-editor",
|
|
44
|
-
"element": "addDigipair",
|
|
45
|
-
"properties": {
|
|
46
|
-
"template": "expert",
|
|
47
|
-
"data": {
|
|
48
|
-
"digipair": "EVALUATE:request.body.prompt",
|
|
49
|
-
"name": "EVALUATE:variables.infos.name",
|
|
50
|
-
"description": "EVALUATE:variables.infos.description"
|
|
51
|
-
},
|
|
52
|
-
"digipair": "EVALUATE:request.body.prompt"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"library": "digipair:admin",
|
|
57
|
-
"element": "answer",
|
|
58
|
-
"properties": {
|
|
59
|
-
"assistant": "EVALUATE:variables.infos.assistant",
|
|
60
|
-
"command": [{ "library": "@digipair/skill-web-interact", "element": "reload" }]
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
"pins": []
|
|
68
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"summary": "Add a digipair for an IMAP listener with OAuth2",
|
|
3
|
-
"description": "Adding a new digipair for an IMAP listener with OAuth2.",
|
|
4
|
-
"library": "@digipair/skill-chatbot",
|
|
5
|
-
"element": "boost",
|
|
6
|
-
"metadata": { "standalone": true, "selector": "any", "url": "^$" },
|
|
7
|
-
"properties": {
|
|
8
|
-
"steps": [
|
|
9
|
-
{
|
|
10
|
-
"name": "Initialisation",
|
|
11
|
-
"execute": [
|
|
12
|
-
{
|
|
13
|
-
"library": "digipair:admin",
|
|
14
|
-
"element": "answer",
|
|
15
|
-
"properties": {
|
|
16
|
-
"assistant": "What is the id for the new digipair ?",
|
|
17
|
-
"boost": [{ "prompt": true, "required": true, "step": "Execution" }]
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Execution",
|
|
24
|
-
"execute": [
|
|
25
|
-
{
|
|
26
|
-
"library": "@digipair/skill-basic",
|
|
27
|
-
"element": "setVariable",
|
|
28
|
-
"properties": {
|
|
29
|
-
"name": "infos",
|
|
30
|
-
"execute": [
|
|
31
|
-
{
|
|
32
|
-
"library": "@digipair/skill-dsp",
|
|
33
|
-
"element": "generate",
|
|
34
|
-
"properties": {
|
|
35
|
-
"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\", \n description:string \"Short description of the agent from the comment\", \n assistant:string \"Assistant's response to confirm that the digipair has been successfully added and recall to the user to update his IMPA and SMTP settings from the agent configuration\"",
|
|
36
|
-
"input": { "comment": "{{request.body.prompt}}" }
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"library": "@digipair/skill-editor",
|
|
44
|
-
"element": "addDigipair",
|
|
45
|
-
"properties": {
|
|
46
|
-
"template": "imap-listener-oauth2",
|
|
47
|
-
"data": {
|
|
48
|
-
"digipair": "EVALUATE:request.body.prompt",
|
|
49
|
-
"name": "EVALUATE:variables.infos.name",
|
|
50
|
-
"description": "EVALUATE:variables.infos.description"
|
|
51
|
-
},
|
|
52
|
-
"digipair": "EVALUATE:request.body.prompt"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"library": "digipair:admin",
|
|
57
|
-
"element": "answer",
|
|
58
|
-
"properties": {
|
|
59
|
-
"assistant": "EVALUATE:variables.infos.assistant",
|
|
60
|
-
"command": [{ "library": "@digipair/skill-web-interact", "element": "reload" }]
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
"pins": []
|
|
68
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"summary": "Add a digipair for an IMAP listener",
|
|
3
|
-
"description": "Adding a new digipair for an IMAP listener.",
|
|
4
|
-
"library": "@digipair/skill-chatbot",
|
|
5
|
-
"element": "boost",
|
|
6
|
-
"metadata": { "standalone": true, "selector": "any", "url": "^$" },
|
|
7
|
-
"properties": {
|
|
8
|
-
"steps": [
|
|
9
|
-
{
|
|
10
|
-
"name": "Initialisation",
|
|
11
|
-
"execute": [
|
|
12
|
-
{
|
|
13
|
-
"library": "digipair:admin",
|
|
14
|
-
"element": "answer",
|
|
15
|
-
"properties": {
|
|
16
|
-
"assistant": "What is the id for the new digipair ?",
|
|
17
|
-
"boost": [{ "prompt": true, "required": true, "step": "Execution" }]
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Execution",
|
|
24
|
-
"execute": [
|
|
25
|
-
{
|
|
26
|
-
"library": "@digipair/skill-basic",
|
|
27
|
-
"element": "setVariable",
|
|
28
|
-
"properties": {
|
|
29
|
-
"name": "infos",
|
|
30
|
-
"execute": [
|
|
31
|
-
{
|
|
32
|
-
"library": "@digipair/skill-dsp",
|
|
33
|
-
"element": "generate",
|
|
34
|
-
"properties": {
|
|
35
|
-
"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\", \n description:string \"Short description of the agent from the comment\", \n assistant:string \"Assistant's response to confirm that the digipair has been successfully added and recall to the user to update his IMPA and SMTP settings from the agent configuration\"",
|
|
36
|
-
"input": { "comment": "{{request.body.prompt}}" }
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"library": "@digipair/skill-editor",
|
|
44
|
-
"element": "addDigipair",
|
|
45
|
-
"properties": {
|
|
46
|
-
"template": "imap-listener",
|
|
47
|
-
"data": {
|
|
48
|
-
"digipair": "EVALUATE:request.body.prompt",
|
|
49
|
-
"name": "EVALUATE:variables.infos.name",
|
|
50
|
-
"description": "EVALUATE:variables.infos.description"
|
|
51
|
-
},
|
|
52
|
-
"digipair": "EVALUATE:request.body.prompt"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"library": "digipair:admin",
|
|
57
|
-
"element": "answer",
|
|
58
|
-
"properties": {
|
|
59
|
-
"assistant": "EVALUATE:variables.infos.assistant",
|
|
60
|
-
"command": [{ "library": "@digipair/skill-web-interact", "element": "reload" }]
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
"pins": []
|
|
68
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"summary": "Add a new agent ms teams",
|
|
3
|
-
"description": "Add a new notification agent in ms teams.",
|
|
4
|
-
"library": "@digipair/skill-chatbot",
|
|
5
|
-
"element": "boost",
|
|
6
|
-
"metadata": { "standalone": true, "selector": "any", "url": "^$" },
|
|
7
|
-
"properties": {
|
|
8
|
-
"steps": [
|
|
9
|
-
{
|
|
10
|
-
"name": "Initialisation",
|
|
11
|
-
"execute": [
|
|
12
|
-
{
|
|
13
|
-
"library": "digipair:admin",
|
|
14
|
-
"element": "answer",
|
|
15
|
-
"properties": {
|
|
16
|
-
"assistant": "What is the id for the new digipair ?",
|
|
17
|
-
"boost": [{ "prompt": true, "required": true, "step": "Api" }]
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Api",
|
|
24
|
-
"execute": [
|
|
25
|
-
{
|
|
26
|
-
"library": "@digipair/skill-basic",
|
|
27
|
-
"element": "setVariable",
|
|
28
|
-
"properties": {
|
|
29
|
-
"name": "infos",
|
|
30
|
-
"execute": [
|
|
31
|
-
{
|
|
32
|
-
"library": "@digipair/skill-dsp",
|
|
33
|
-
"element": "generate",
|
|
34
|
-
"properties": {
|
|
35
|
-
"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\", \n description:string \"Short description of the agent from the comment\", \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\"",
|
|
36
|
-
"input": { "comment": "{{request.body.prompt}}" }
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"library": "digipair:admin",
|
|
44
|
-
"element": "answer",
|
|
45
|
-
"properties": {
|
|
46
|
-
"assistant": "Please provide the Incoming Webhook teams URL for the new agent.",
|
|
47
|
-
"boost": [
|
|
48
|
-
{
|
|
49
|
-
"prompt": true,
|
|
50
|
-
"required": true,
|
|
51
|
-
"step": "Execution",
|
|
52
|
-
"inputs": [
|
|
53
|
-
{
|
|
54
|
-
"library": "@digipair/skill-web-inputs",
|
|
55
|
-
"element": "digipair-input-hidden",
|
|
56
|
-
"properties": {
|
|
57
|
-
"value": {
|
|
58
|
-
"digipair": "EVALUATE:\"tardi-\" + request.body.prompt",
|
|
59
|
-
"name": "EVALUATE:variables.infos.name",
|
|
60
|
-
"description": "EVALUATE:variables.infos.description",
|
|
61
|
-
"assistant": "EVALUATE:variables.infos.assistant"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"name": "Execution",
|
|
74
|
-
"execute": [
|
|
75
|
-
{
|
|
76
|
-
"library": "@digipair/skill-editor",
|
|
77
|
-
"element": "addDigipair",
|
|
78
|
-
"properties": {
|
|
79
|
-
"template": "msteams-incoming-webhook",
|
|
80
|
-
"data": {
|
|
81
|
-
"digipair": "EVALUATE:request.body.inputs[1].value.digipair",
|
|
82
|
-
"name": "EVALUATE:request.body.inputs[1].value.name",
|
|
83
|
-
"description": "EVALUATE:request.body.inputs[1].value.description",
|
|
84
|
-
"msteamsincomingwebhook": "EVALUATE:request.body.prompt"
|
|
85
|
-
},
|
|
86
|
-
"digipair": "EVALUATE:request.body.inputs[1].value.digipair"
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"library": "digipair:tardi-admin",
|
|
91
|
-
"element": "answer",
|
|
92
|
-
"properties": {
|
|
93
|
-
"assistant": "EVALUATE:request.body.inputs[1].value.assistant",
|
|
94
|
-
"command": [
|
|
95
|
-
{
|
|
96
|
-
"library": "@digipair/skill-web-interact",
|
|
97
|
-
"element": "reload"
|
|
98
|
-
}
|
|
99
|
-
]
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
]
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
|
-
"pins": []
|
|
107
|
-
}
|