@digipair/skill-worker 0.97.0 → 0.98.0

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 tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23924
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
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 tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23931
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23932
23932
  }
23933
23933
  tokens1 = _to_consumable_array$1(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 tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23950
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "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 tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23969
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23970
23970
  }
23971
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23971
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23972
23972
  v: nextMatch1
23973
23973
  };
23974
23974
  };
package/index.esm.js CHANGED
@@ -23899,14 +23899,14 @@ function indent(str, spaces) {
23899
23899
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23900
23900
  // match is required
23901
23901
  if (!match) {
23902
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23902
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
23903
23903
  v: nextMatch1
23904
23904
  };
23905
23905
  }
23906
23906
  var token = match.token, offset = match.offset;
23907
23907
  i1 += offset;
23908
23908
  if (token === " ") {
23909
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23909
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23910
23910
  }
23911
23911
  tokens1 = _to_consumable_array$1(tokens1).concat([
23912
23912
  token
@@ -23925,7 +23925,7 @@ function indent(str, spaces) {
23925
23925
  if (contextKeys.some(function(el) {
23926
23926
  return el.startsWith(name);
23927
23927
  })) {
23928
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23928
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23929
23929
  }
23930
23930
  if (dateTimeIdentifiers.some(function(el) {
23931
23931
  return el === name;
@@ -23944,9 +23944,9 @@ function indent(str, spaces) {
23944
23944
  if (dateTimeIdentifiers.some(function(el) {
23945
23945
  return el.startsWith(name);
23946
23946
  })) {
23947
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23947
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23948
23948
  }
23949
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23949
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
23950
23950
  v: nextMatch1
23951
23951
  };
23952
23952
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-worker",
3
- "version": "0.97.0",
3
+ "version": "0.98.0",
4
4
  "keywords": [
5
5
  "digipair",
6
6
  "service"
package/schema.fr.json CHANGED
@@ -10,7 +10,9 @@
10
10
  "paths": {
11
11
  "/activity": {
12
12
  "post": {
13
- "tags": ["service"],
13
+ "tags": [
14
+ "service"
15
+ ],
14
16
  "summary": "Activité",
15
17
  "description": "Exécute une activité.",
16
18
  "parameters": [
@@ -54,7 +56,9 @@
54
56
  },
55
57
  "/stop": {
56
58
  "post": {
57
- "tags": ["service"],
59
+ "tags": [
60
+ "service"
61
+ ],
58
62
  "summary": "Stop",
59
63
  "description": "Stop le raisonnement",
60
64
  "parameters": [
@@ -88,7 +92,9 @@
88
92
  "/task": {
89
93
  "summary": "Tache",
90
94
  "description": "Exécution d'une tache.",
91
- "tags": ["service"],
95
+ "tags": [
96
+ "service"
97
+ ],
92
98
  "metadata": [],
93
99
  "parameters": [
94
100
  {
@@ -108,7 +114,9 @@
108
114
  "/action": {
109
115
  "summary": "Action",
110
116
  "description": "Action exécutable.",
111
- "tags": ["service"],
117
+ "tags": [
118
+ "service"
119
+ ],
112
120
  "metadata": [
113
121
  {
114
122
  "name": "parameters",
@@ -122,6 +130,15 @@
122
130
  }
123
131
  }
124
132
  },
133
+ {
134
+ "name": "output",
135
+ "summary": "Format de sortie",
136
+ "required": false,
137
+ "description": "Format de sortie de l'action",
138
+ "schema": {
139
+ "type": "object"
140
+ }
141
+ },
125
142
  {
126
143
  "name": "context",
127
144
  "summary": "Contexte",
@@ -152,7 +169,9 @@
152
169
  "schemas": {
153
170
  "Parameter": {
154
171
  "type": "object",
155
- "tags": ["service"],
172
+ "tags": [
173
+ "service"
174
+ ],
156
175
  "summary": "Parameter",
157
176
  "properties": {
158
177
  "name": {
@@ -180,8 +199,13 @@
180
199
  "type": "string"
181
200
  }
182
201
  },
183
- "required": ["name", "summary", "required", "schema"]
202
+ "required": [
203
+ "name",
204
+ "summary",
205
+ "required",
206
+ "schema"
207
+ ]
184
208
  }
185
209
  }
186
210
  }
187
- }
211
+ }
package/schema.json CHANGED
@@ -10,7 +10,9 @@
10
10
  "paths": {
11
11
  "/activity": {
12
12
  "post": {
13
- "tags": ["service"],
13
+ "tags": [
14
+ "service"
15
+ ],
14
16
  "summary": "Activity",
15
17
  "description": "Execution of an activity.",
16
18
  "parameters": [
@@ -54,7 +56,9 @@
54
56
  },
55
57
  "/stop": {
56
58
  "post": {
57
- "tags": ["service"],
59
+ "tags": [
60
+ "service"
61
+ ],
58
62
  "summary": "Stop",
59
63
  "description": "Stop the reasoning",
60
64
  "parameters": [
@@ -88,7 +92,9 @@
88
92
  "schemas": {
89
93
  "Parameter": {
90
94
  "type": "object",
91
- "tags": ["service"],
95
+ "tags": [
96
+ "service"
97
+ ],
92
98
  "summary": "Parameter",
93
99
  "properties": {
94
100
  "name": {
@@ -116,7 +122,12 @@
116
122
  "type": "string"
117
123
  }
118
124
  },
119
- "required": ["name", "summary", "required", "schema"]
125
+ "required": [
126
+ "name",
127
+ "summary",
128
+ "required",
129
+ "schema"
130
+ ]
120
131
  }
121
132
  }
122
133
  },
@@ -124,7 +135,9 @@
124
135
  "/task": {
125
136
  "summary": "Task",
126
137
  "description": "Execution of a task.",
127
- "tags": ["service"],
138
+ "tags": [
139
+ "service"
140
+ ],
128
141
  "metadata": [],
129
142
  "parameters": [
130
143
  {
@@ -144,7 +157,9 @@
144
157
  "/action": {
145
158
  "summary": "Action",
146
159
  "description": "Executable action.",
147
- "tags": ["service"],
160
+ "tags": [
161
+ "service"
162
+ ],
148
163
  "metadata": [
149
164
  {
150
165
  "name": "parameters",
@@ -158,6 +173,15 @@
158
173
  }
159
174
  }
160
175
  },
176
+ {
177
+ "name": "output",
178
+ "summary": "Output format",
179
+ "required": false,
180
+ "description": "Output format of the action",
181
+ "schema": {
182
+ "type": "object"
183
+ }
184
+ },
161
185
  {
162
186
  "name": "context",
163
187
  "summary": "Context",
@@ -184,4 +208,4 @@
184
208
  ]
185
209
  }
186
210
  }
187
- }
211
+ }