@digipair/skill-editor 0.96.0 → 0.97.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 (2) hide show
  1. package/package.json +1 -1
  2. package/schema.json +450 -402
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-editor",
3
- "version": "0.96.0",
3
+ "version": "0.97.1",
4
4
  "keywords": [
5
5
  "digipair",
6
6
  "service",
package/schema.json CHANGED
@@ -10,7 +10,9 @@
10
10
  "paths": {
11
11
  "/reasonings": {
12
12
  "post": {
13
- "tags": ["service"],
13
+ "tags": [
14
+ "service"
15
+ ],
14
16
  "summary": "List Reasonings",
15
17
  "descriptions": "Lists the reasonings of a digipair",
16
18
  "parameters": [
@@ -33,422 +35,468 @@
33
35
  }
34
36
  }
35
37
  ],
36
- "x-events": []
37
- }
38
- },
39
- "/reasoning": {
40
- "post": {
41
- "tags": ["service"],
42
- "summary": "Reasoning Information",
43
- "parameters": [
44
- {
45
- "name": "path",
46
- "summary": "Access Path",
47
- "required": false,
48
- "description": "Access path to the digipair's directory",
49
- "schema": {
50
- "type": "string"
51
- }
52
- },
53
- {
54
- "name": "digipair",
55
- "summary": "Digipair",
56
- "required": true,
57
- "description": "Name of the digipair",
58
- "schema": {
59
- "type": "string"
60
- }
61
- },
62
- {
63
- "name": "reasoning",
64
- "summary": "Reasoning",
65
- "required": true,
66
- "description": "Name of the reasoning",
67
- "schema": {
68
- "type": "string"
38
+ "x-events": [],
39
+ "responses": {
40
+ "200": {
41
+ "description": "List of reasonings retrieved successfully",
42
+ "content": {
43
+ "application/json": {
44
+ "schema": {
45
+ "type": "array",
46
+ "items": {
47
+ "type": "string",
48
+ "description": "Name of a reasoning file"
49
+ }
50
+ }
51
+ "chatbot",
52
+ "data-processor",
53
+ "workflow-manager"
54
+ ]
69
55
  }
70
56
  }
71
- ],
72
- "x-events": []
57
+ }
73
58
  }
74
- },
75
- "/setReasoning": {
76
- "post": {
77
- "tags": ["service"],
78
- "summary": "Register a Reasoning",
79
- "parameters": [
80
- {
81
- "name": "path",
82
- "summary": "Access Path",
83
- "required": false,
84
- "description": "Access path to the digipair's directory",
85
- "schema": {
86
- "type": "string"
87
- }
88
- },
89
- {
90
- "name": "digipair",
91
- "summary": "Digipair",
92
- "required": true,
93
- "description": "Name of the digipair",
94
- "schema": {
95
- "type": "string"
96
- }
97
- },
98
- {
99
- "name": "reasoning",
100
- "summary": "Reasoning",
101
- "required": true,
102
- "description": "Name of the reasoning",
103
- "schema": {
104
- "type": "string"
105
- }
106
- },
107
- {
108
- "name": "value",
109
- "summary": "Content",
110
- "required": true,
111
- "description": "Content of the reasoning to be saved",
112
- "schema": {
113
- "type": "object"
114
- }
59
+ }
60
+ },
61
+ "/reasoning": {
62
+ "post": {
63
+ "tags": [
64
+ "service"
65
+ ],
66
+ "summary": "Reasoning Information",
67
+ "parameters": [
68
+ {
69
+ "name": "path",
70
+ "summary": "Access Path",
71
+ "required": false,
72
+ "description": "Access path to the digipair's directory",
73
+ "schema": {
74
+ "type": "string"
115
75
  }
116
- ],
117
- "x-events": []
118
- }
119
- },
120
- "/removeReasoning": {
121
- "post": {
122
- "tags": ["service"],
123
- "summary": "Remove a Reasoning",
124
- "parameters": [
125
- {
126
- "name": "path",
127
- "summary": "Access Path",
128
- "required": false,
129
- "description": "Access path to the digipair's directory",
130
- "schema": {
131
- "type": "string"
132
- }
133
- },
134
- {
135
- "name": "digipair",
136
- "summary": "Digipair",
137
- "required": true,
138
- "description": "Name of the digipair",
139
- "schema": {
140
- "type": "string"
141
- }
142
- },
143
- {
144
- "name": "reasoning",
145
- "summary": "Reasoning",
146
- "required": true,
147
- "description": "Name of the reasoning",
148
- "schema": {
149
- "type": "string"
150
- }
76
+ },
77
+ {
78
+ "name": "digipair",
79
+ "summary": "Digipair",
80
+ "required": true,
81
+ "description": "Name of the digipair",
82
+ "schema": {
83
+ "type": "string"
151
84
  }
152
- ],
153
- "x-events": []
154
- }
155
- },
156
- "/digipairs": {
157
- "post": {
158
- "tags": ["service"],
159
- "summary": "List Digipairs",
160
- "descriptions": "Lists the available digipairs",
161
- "parameters": [
162
- {
163
- "name": "path",
164
- "summary": "Access Path",
165
- "required": false,
166
- "description": "Access path to the digipair's directory",
167
- "schema": {
168
- "type": "string"
169
- }
85
+ },
86
+ {
87
+ "name": "reasoning",
88
+ "summary": "Reasoning",
89
+ "required": true,
90
+ "description": "Name of the reasoning",
91
+ "schema": {
92
+ "type": "string"
170
93
  }
171
- ],
172
- "x-events": []
173
- }
174
- },
175
- "/digipair": {
176
- "post": {
177
- "tags": ["service"],
178
- "summary": "Digipair Information",
179
- "descriptions": "Information about a digipair",
180
- "parameters": [
181
- {
182
- "name": "path",
183
- "summary": "Access Path",
184
- "required": false,
185
- "description": "Access path to the digipair's directory",
186
- "schema": {
187
- "type": "string"
188
- }
189
- },
190
- {
191
- "name": "digipair",
192
- "summary": "Digipair",
193
- "required": true,
194
- "description": "Name of the digipair",
195
- "schema": {
196
- "type": "string"
197
- }
94
+ }
95
+ ],
96
+ "x-events": []
97
+ }
98
+ },
99
+ "/setReasoning": {
100
+ "post": {
101
+ "tags": [
102
+ "service"
103
+ ],
104
+ "summary": "Register a Reasoning",
105
+ "parameters": [
106
+ {
107
+ "name": "path",
108
+ "summary": "Access Path",
109
+ "required": false,
110
+ "description": "Access path to the digipair's directory",
111
+ "schema": {
112
+ "type": "string"
198
113
  }
199
- ],
200
- "x-events": []
201
- }
202
- },
203
- "/setDigipair": {
204
- "post": {
205
- "tags": ["service"],
206
- "summary": "Register a Digipair",
207
- "parameters": [
208
- {
209
- "name": "path",
210
- "summary": "Access Path",
211
- "required": false,
212
- "description": "Access path to the digipair's directory",
213
- "schema": {
214
- "type": "string"
215
- }
216
- },
217
- {
218
- "name": "digipair",
219
- "summary": "Digipair",
220
- "required": true,
221
- "description": "Name of the digipair",
222
- "schema": {
223
- "type": "string"
224
- }
225
- },
226
- {
227
- "name": "value",
228
- "summary": "Content",
229
- "required": true,
230
- "description": "Content of the reasoning to be saved",
231
- "schema": {
232
- "type": "object"
233
- }
114
+ },
115
+ {
116
+ "name": "digipair",
117
+ "summary": "Digipair",
118
+ "required": true,
119
+ "description": "Name of the digipair",
120
+ "schema": {
121
+ "type": "string"
234
122
  }
235
- ],
236
- "x-events": []
237
- }
238
- },
239
- "/removeDigipair": {
240
- "post": {
241
- "tags": ["service"],
242
- "summary": "Remove a Digipair",
243
- "parameters": [
244
- {
245
- "name": "path",
246
- "summary": "Access Path",
247
- "required": false,
248
- "description": "Access path to the digipair's directory",
249
- "schema": {
250
- "type": "string"
251
- }
252
- },
253
- {
254
- "name": "digipair",
255
- "summary": "Digipair",
256
- "required": true,
257
- "description": "Name of the digipair",
258
- "schema": {
259
- "type": "string"
260
- }
123
+ },
124
+ {
125
+ "name": "reasoning",
126
+ "summary": "Reasoning",
127
+ "required": true,
128
+ "description": "Name of the reasoning",
129
+ "schema": {
130
+ "type": "string"
261
131
  }
262
- ],
263
- "x-events": []
264
- }
265
- },
266
- "/addDigipair": {
267
- "post": {
268
- "tags": ["service"],
269
- "summary": "Add a Digipair",
270
- "parameters": [
271
- {
272
- "name": "path",
273
- "summary": "Access Path",
274
- "required": false,
275
- "description": "Access path to the digipair's directory",
276
- "schema": {
277
- "type": "string"
278
- }
279
- },
280
- {
281
- "name": "templatesPath",
282
- "summary": "Templates Path",
283
- "required": false,
284
- "description": "Path to the templates directory",
285
- "schema": {
286
- "type": "string"
287
- }
288
- },
289
- {
290
- "name": "template",
291
- "summary": "Template",
292
- "required": true,
293
- "description": "Template to use",
294
- "schema": {
295
- "type": "string"
296
- }
297
- },
298
- {
299
- "name": "data",
300
- "summary": "Replacement Data",
301
- "required": true,
302
- "description": "Data to use in the template",
303
- "schema": {
304
- "type": "object"
305
- }
306
- },
307
- {
308
- "name": "digipair",
309
- "summary": "Digipair",
310
- "required": true,
311
- "description": "Name of the digipair",
312
- "schema": {
313
- "type": "string"
314
- }
132
+ },
133
+ {
134
+ "name": "value",
135
+ "summary": "Content",
136
+ "required": true,
137
+ "description": "Content of the reasoning to be saved",
138
+ "schema": {
139
+ "type": "object"
315
140
  }
316
- ],
317
- "x-events": []
318
- }
319
- },
320
- "/metadata": {
321
- "post": {
322
- "tags": ["service"],
323
- "summary": "Metadata",
324
- "parameters": [
325
- {
326
- "name": "path",
327
- "summary": "Access Path",
328
- "required": false,
329
- "description": "Access path to the digipair's directory",
330
- "schema": {
331
- "type": "string"
332
- }
333
- },
334
- {
335
- "name": "digipair",
336
- "summary": "Digipair",
337
- "description": "Name of the digipair",
338
- "required": true,
339
- "schema": {
340
- "type": "string"
341
- }
141
+ }
142
+ ],
143
+ "x-events": []
144
+ }
145
+ },
146
+ "/removeReasoning": {
147
+ "post": {
148
+ "tags": [
149
+ "service"
150
+ ],
151
+ "summary": "Remove a Reasoning",
152
+ "parameters": [
153
+ {
154
+ "name": "path",
155
+ "summary": "Access Path",
156
+ "required": false,
157
+ "description": "Access path to the digipair's directory",
158
+ "schema": {
159
+ "type": "string"
342
160
  }
343
- ],
344
- "x-events": []
345
- }
346
- },
347
- "/setAvatar": {
348
- "post": {
349
- "tags": ["service"],
350
- "summary": "Set avatar",
351
- "parameters": [
352
- {
353
- "name": "path",
354
- "summary": "Access Path",
355
- "required": false,
356
- "description": "Access path to the digipair's directory",
357
- "schema": {
358
- "type": "string"
359
- }
360
- },
361
- {
362
- "name": "digipair",
363
- "summary": "Digipair",
364
- "description": "Name of the digipair",
365
- "required": true,
366
- "schema": {
367
- "type": "string"
368
- }
369
- },
370
- {
371
- "name": "avatar",
372
- "summary": "Avatar",
373
- "description": "Avatar of the digipair",
374
- "required": true,
375
- "schema": {
376
- "type": "string"
377
- }
161
+ },
162
+ {
163
+ "name": "digipair",
164
+ "summary": "Digipair",
165
+ "required": true,
166
+ "description": "Name of the digipair",
167
+ "schema": {
168
+ "type": "string"
378
169
  }
379
- ],
380
- "x-events": []
381
- }
382
- },
383
- "/templates": {
384
- "post": {
385
- "tags": ["service"],
386
- "summary": "List Templates",
387
- "descriptions": "Lists the available templates",
388
- "parameters": [
389
- {
390
- "name": "path",
391
- "summary": "Access Path",
392
- "required": false,
393
- "description": "Access path to the digipair's directory",
394
- "schema": {
395
- "type": "string"
396
- }
170
+ },
171
+ {
172
+ "name": "reasoning",
173
+ "summary": "Reasoning",
174
+ "required": true,
175
+ "description": "Name of the reasoning",
176
+ "schema": {
177
+ "type": "string"
397
178
  }
398
- ],
399
- "x-events": []
400
- }
401
- },
402
- "/schemas": {
403
- "post": {
404
- "tags": ["service"],
405
- "summary": "List Schemas",
406
- "descriptions": "Lists the schemas of the libraries",
407
- "parameters": [
408
- {
409
- "name": "libraries",
410
- "summary": "Libraries",
411
- "required": true,
412
- "description": "List of libraries",
413
- "schema": {
414
- "type": "object"
415
- }
416
- },
417
- {
418
- "name": "language",
419
- "summary": "Language",
420
- "required": true,
421
- "description": "Language of the schema",
422
- "schema": {
423
- "type": "string"
424
- }
179
+ }
180
+ ],
181
+ "x-events": []
182
+ }
183
+ },
184
+ "/digipairs": {
185
+ "post": {
186
+ "tags": [
187
+ "service"
188
+ ],
189
+ "summary": "List Digipairs",
190
+ "descriptions": "Lists the available digipairs",
191
+ "parameters": [
192
+ {
193
+ "name": "path",
194
+ "summary": "Access Path",
195
+ "required": false,
196
+ "description": "Access path to the digipair's directory",
197
+ "schema": {
198
+ "type": "string"
425
199
  }
426
- ],
427
- "x-events": []
428
- }
429
- },
430
- "/tools": {
431
- "post": {
432
- "tags": ["service"],
433
- "summary": "List tools",
434
- "descriptions": "Lists the available tools",
435
- "parameters": [
436
- {
437
- "name": "language",
438
- "summary": "Language",
439
- "required": true,
440
- "description": "Language of the tools",
441
- "schema": {
442
- "type": "string"
443
- }
200
+ }
201
+ ],
202
+ "x-events": []
203
+ }
204
+ },
205
+ "/digipair": {
206
+ "post": {
207
+ "tags": [
208
+ "service"
209
+ ],
210
+ "summary": "Digipair Information",
211
+ "descriptions": "Information about a digipair",
212
+ "parameters": [
213
+ {
214
+ "name": "path",
215
+ "summary": "Access Path",
216
+ "required": false,
217
+ "description": "Access path to the digipair's directory",
218
+ "schema": {
219
+ "type": "string"
444
220
  }
445
- ],
446
- "x-events": []
447
- }
221
+ },
222
+ {
223
+ "name": "digipair",
224
+ "summary": "Digipair",
225
+ "required": true,
226
+ "description": "Name of the digipair",
227
+ "schema": {
228
+ "type": "string"
229
+ }
230
+ }
231
+ ],
232
+ "x-events": []
448
233
  }
449
234
  },
450
- "components": {
451
- "schemas": {}
235
+ "/setDigipair": {
236
+ "post": {
237
+ "tags": [
238
+ "service"
239
+ ],
240
+ "summary": "Register a Digipair",
241
+ "parameters": [
242
+ {
243
+ "name": "path",
244
+ "summary": "Access Path",
245
+ "required": false,
246
+ "description": "Access path to the digipair's directory",
247
+ "schema": {
248
+ "type": "string"
249
+ }
250
+ },
251
+ {
252
+ "name": "digipair",
253
+ "summary": "Digipair",
254
+ "required": true,
255
+ "description": "Name of the digipair",
256
+ "schema": {
257
+ "type": "string"
258
+ }
259
+ },
260
+ {
261
+ "name": "value",
262
+ "summary": "Content",
263
+ "required": true,
264
+ "description": "Content of the reasoning to be saved",
265
+ "schema": {
266
+ "type": "object"
267
+ }
268
+ }
269
+ ],
270
+ "x-events": []
271
+ }
272
+ },
273
+ "/removeDigipair": {
274
+ "post": {
275
+ "tags": [
276
+ "service"
277
+ ],
278
+ "summary": "Remove a Digipair",
279
+ "parameters": [
280
+ {
281
+ "name": "path",
282
+ "summary": "Access Path",
283
+ "required": false,
284
+ "description": "Access path to the digipair's directory",
285
+ "schema": {
286
+ "type": "string"
287
+ }
288
+ },
289
+ {
290
+ "name": "digipair",
291
+ "summary": "Digipair",
292
+ "required": true,
293
+ "description": "Name of the digipair",
294
+ "schema": {
295
+ "type": "string"
296
+ }
297
+ }
298
+ ],
299
+ "x-events": []
300
+ }
452
301
  },
453
- "x-scene-blocks": {}
454
- }
302
+ "/addDigipair": {
303
+ "post": {
304
+ "tags": [
305
+ "service"
306
+ ],
307
+ "summary": "Add a Digipair",
308
+ "parameters": [
309
+ {
310
+ "name": "path",
311
+ "summary": "Access Path",
312
+ "required": false,
313
+ "description": "Access path to the digipair's directory",
314
+ "schema": {
315
+ "type": "string"
316
+ }
317
+ },
318
+ {
319
+ "name": "templatesPath",
320
+ "summary": "Templates Path",
321
+ "required": false,
322
+ "description": "Path to the templates directory",
323
+ "schema": {
324
+ "type": "string"
325
+ }
326
+ },
327
+ {
328
+ "name": "template",
329
+ "summary": "Template",
330
+ "required": true,
331
+ "description": "Template to use",
332
+ "schema": {
333
+ "type": "string"
334
+ }
335
+ },
336
+ {
337
+ "name": "data",
338
+ "summary": "Replacement Data",
339
+ "required": true,
340
+ "description": "Data to use in the template",
341
+ "schema": {
342
+ "type": "object"
343
+ }
344
+ },
345
+ {
346
+ "name": "digipair",
347
+ "summary": "Digipair",
348
+ "required": true,
349
+ "description": "Name of the digipair",
350
+ "schema": {
351
+ "type": "string"
352
+ }
353
+ }
354
+ ],
355
+ "x-events": []
356
+ }
357
+ },
358
+ "/metadata": {
359
+ "post": {
360
+ "tags": [
361
+ "service"
362
+ ],
363
+ "summary": "Metadata",
364
+ "parameters": [
365
+ {
366
+ "name": "path",
367
+ "summary": "Access Path",
368
+ "required": false,
369
+ "description": "Access path to the digipair's directory",
370
+ "schema": {
371
+ "type": "string"
372
+ }
373
+ },
374
+ {
375
+ "name": "digipair",
376
+ "summary": "Digipair",
377
+ "description": "Name of the digipair",
378
+ "required": true,
379
+ "schema": {
380
+ "type": "string"
381
+ }
382
+ }
383
+ ],
384
+ "x-events": []
385
+ }
386
+ },
387
+ "/setAvatar": {
388
+ "post": {
389
+ "tags": [
390
+ "service"
391
+ ],
392
+ "summary": "Set avatar",
393
+ "parameters": [
394
+ {
395
+ "name": "path",
396
+ "summary": "Access Path",
397
+ "required": false,
398
+ "description": "Access path to the digipair's directory",
399
+ "schema": {
400
+ "type": "string"
401
+ }
402
+ },
403
+ {
404
+ "name": "digipair",
405
+ "summary": "Digipair",
406
+ "description": "Name of the digipair",
407
+ "required": true,
408
+ "schema": {
409
+ "type": "string"
410
+ }
411
+ },
412
+ {
413
+ "name": "avatar",
414
+ "summary": "Avatar",
415
+ "description": "Avatar of the digipair",
416
+ "required": true,
417
+ "schema": {
418
+ "type": "string"
419
+ }
420
+ }
421
+ ],
422
+ "x-events": []
423
+ }
424
+ },
425
+ "/templates": {
426
+ "post": {
427
+ "tags": [
428
+ "service"
429
+ ],
430
+ "summary": "List Templates",
431
+ "descriptions": "Lists the available templates",
432
+ "parameters": [
433
+ {
434
+ "name": "path",
435
+ "summary": "Access Path",
436
+ "required": false,
437
+ "description": "Access path to the digipair's directory",
438
+ "schema": {
439
+ "type": "string"
440
+ }
441
+ }
442
+ ],
443
+ "x-events": []
444
+ }
445
+ },
446
+ "/schemas": {
447
+ "post": {
448
+ "tags": [
449
+ "service"
450
+ ],
451
+ "summary": "List Schemas",
452
+ "descriptions": "Lists the schemas of the libraries",
453
+ "parameters": [
454
+ {
455
+ "name": "libraries",
456
+ "summary": "Libraries",
457
+ "required": true,
458
+ "description": "List of libraries",
459
+ "schema": {
460
+ "type": "object"
461
+ }
462
+ },
463
+ {
464
+ "name": "language",
465
+ "summary": "Language",
466
+ "required": true,
467
+ "description": "Language of the schema",
468
+ "schema": {
469
+ "type": "string"
470
+ }
471
+ }
472
+ ],
473
+ "x-events": []
474
+ }
475
+ },
476
+ "/tools": {
477
+ "post": {
478
+ "tags": [
479
+ "service"
480
+ ],
481
+ "summary": "List tools",
482
+ "descriptions": "Lists the available tools",
483
+ "parameters": [
484
+ {
485
+ "name": "language",
486
+ "summary": "Language",
487
+ "required": true,
488
+ "description": "Language of the tools",
489
+ "schema": {
490
+ "type": "string"
491
+ }
492
+ }
493
+ ],
494
+ "x-events": []
495
+ }
496
+ }
497
+ },
498
+ "components": {
499
+ "schemas": {}
500
+ },
501
+ "x-scene-blocks": {}
502
+ }