@digipair/skill-worker 0.111.2 → 0.112.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/index.cjs.js CHANGED
@@ -23921,14 +23921,14 @@ function indent(str, spaces) {
23921
23921
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23922
23922
  // match is required
23923
23923
  if (!match) {
23924
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23924
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23925
23925
  v: nextMatch1
23926
23926
  };
23927
23927
  }
23928
23928
  var token = match.token, offset = match.offset;
23929
23929
  i1 += offset;
23930
23930
  if (token === " ") {
23931
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23931
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23932
23932
  }
23933
23933
  tokens1 = _to_consumable_array$4(tokens1).concat([
23934
23934
  token
@@ -23947,7 +23947,7 @@ function indent(str, spaces) {
23947
23947
  if (contextKeys.some(function(el) {
23948
23948
  return el.startsWith(name);
23949
23949
  })) {
23950
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23950
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23951
23951
  }
23952
23952
  if (dateTimeIdentifiers.some(function(el) {
23953
23953
  return el === name;
@@ -23966,9 +23966,9 @@ function indent(str, spaces) {
23966
23966
  if (dateTimeIdentifiers.some(function(el) {
23967
23967
  return el.startsWith(name);
23968
23968
  })) {
23969
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23969
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23970
23970
  }
23971
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23971
+ return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23972
23972
  v: nextMatch1
23973
23973
  };
23974
23974
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-worker",
3
- "version": "0.111.2",
3
+ "version": "0.112.1",
4
4
  "keywords": [
5
5
  "digipair",
6
6
  "service"
package/schema.fr.json CHANGED
@@ -258,6 +258,18 @@
258
258
  "schema": {
259
259
  "type": "boolean"
260
260
  }
261
+ },
262
+ {
263
+ "name": "prompts",
264
+ "summary": "Prompts",
265
+ "required": true,
266
+ "description": "Liste des exemples de prompts",
267
+ "schema": {
268
+ "type": "array",
269
+ "items": {
270
+ "$ref": "#/components/schemas/Prompts"
271
+ }
272
+ }
261
273
  }
262
274
  ],
263
275
  "parameters": [
@@ -337,6 +349,38 @@
337
349
  "summary": "UUID"
338
350
  }
339
351
  }
352
+ },
353
+ "Prompt": {
354
+ "type": "object",
355
+ "tags": [
356
+ "service"
357
+ ],
358
+ "summary": "Prompt",
359
+ "properties": {
360
+ "title": {
361
+ "type": "string",
362
+ "summary": "Titre"
363
+ },
364
+ "description": {
365
+ "type": "string",
366
+ "summary": "Description"
367
+ },
368
+ "prompt": {
369
+ "type": "string",
370
+ "summary": "Prompt"
371
+ },
372
+ "icon": {
373
+ "type": "string",
374
+ "summary": "Icône"
375
+ },
376
+ "tags": {
377
+ "type": "array",
378
+ "summary": "Tags",
379
+ "items": {
380
+ "type": "string"
381
+ }
382
+ }
383
+ }
340
384
  }
341
385
  }
342
386
  }
package/schema.json CHANGED
@@ -260,6 +260,38 @@
260
260
  "summary": "UUID"
261
261
  }
262
262
  }
263
+ },
264
+ "Prompt": {
265
+ "type": "object",
266
+ "tags": [
267
+ "service"
268
+ ],
269
+ "summary": "Prompt",
270
+ "properties": {
271
+ "title": {
272
+ "type": "string",
273
+ "summary": "Title"
274
+ },
275
+ "description": {
276
+ "type": "string",
277
+ "summary": "Description"
278
+ },
279
+ "prompt": {
280
+ "type": "string",
281
+ "summary": "Prompt"
282
+ },
283
+ "icon": {
284
+ "type": "string",
285
+ "summary": "Icon"
286
+ },
287
+ "tags": {
288
+ "type": "array",
289
+ "summary": "Tags",
290
+ "items": {
291
+ "type": "string"
292
+ }
293
+ }
294
+ }
263
295
  }
264
296
  }
265
297
  },
@@ -322,6 +354,18 @@
322
354
  "schema": {
323
355
  "type": "boolean"
324
356
  }
357
+ },
358
+ {
359
+ "name": "prompts",
360
+ "summary": "Prompts",
361
+ "required": true,
362
+ "description": "Prompts for the action",
363
+ "schema": {
364
+ "type": "array",
365
+ "items": {
366
+ "$ref": "#/components/schemas/Prompts"
367
+ }
368
+ }
325
369
  }
326
370
  ],
327
371
  "parameters": [