@scout9/app 1.0.0-alpha.0.5.5 → 1.0.0-alpha.0.5.7
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/dist/{dev-0474d2a6.cjs → dev-cd37b736.cjs} +4 -4
- package/dist/{index-81a32056.cjs → index-2dbf44c5.cjs} +6 -6
- package/dist/index.cjs +3 -3
- package/dist/{macros-ee7553f8.cjs → macros-f855de63.cjs} +1 -1
- package/dist/{multipart-parser-f24b1f9a.cjs → multipart-parser-473467a4.cjs} +3 -3
- package/dist/schemas.cjs +1 -1
- package/dist/testing-tools.cjs +2 -2
- package/package.json +1 -1
- package/src/core/templates/app.js +117 -139
- package/src/public.d.ts +2 -0
- package/src/runtime/schemas/conversation.js +2 -2
- package/src/testing-tools/dev.js +1 -1
- package/types/index.d.ts +18 -16
- package/types/index.d.ts.map +1 -1
|
@@ -21,7 +21,7 @@ var node_url = require('node:url');
|
|
|
21
21
|
var node_events = require('node:events');
|
|
22
22
|
var Stream = require('node:stream');
|
|
23
23
|
var node_string_decoder = require('node:string_decoder');
|
|
24
|
-
var macros = require("./macros-
|
|
24
|
+
var macros = require("./macros-f855de63.cjs");
|
|
25
25
|
var readline = require('node:readline');
|
|
26
26
|
var process$2 = require('node:process');
|
|
27
27
|
var node_os = require('node:os');
|
|
@@ -35164,7 +35164,7 @@ function _loadUserPackageJson() {
|
|
|
35164
35164
|
targetPkgUrl = isTest ? packageTestJsonUrl : packageJsonUrl;
|
|
35165
35165
|
_context2.t0 = JSON;
|
|
35166
35166
|
_context2.next = 10;
|
|
35167
|
-
return fs__default["default"].readFile(new URL(targetPkgUrl, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('dev-
|
|
35167
|
+
return fs__default["default"].readFile(new URL(targetPkgUrl, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('dev-cd37b736.js', document.baseURI).href))), 'utf-8');
|
|
35168
35168
|
case 10:
|
|
35169
35169
|
_context2.t1 = _context2.sent;
|
|
35170
35170
|
pkg = _context2.t0.parse.call(_context2.t0, _context2.t1);
|
|
@@ -43303,8 +43303,8 @@ function _loadCommand3() {
|
|
|
43303
43303
|
throw new Error("Must load #project before running #loadCommand");
|
|
43304
43304
|
case 2:
|
|
43305
43305
|
commandsDir = path$2.resolve(spirits._classPrivateFieldGet(this, _src), "./commands");
|
|
43306
|
-
commandConfig = spirits._classPrivateFieldGet(this, _project).commands.find(function (
|
|
43307
|
-
return
|
|
43306
|
+
commandConfig = spirits._classPrivateFieldGet(this, _project).commands.find(function (c) {
|
|
43307
|
+
return c.entity === command || c.path === command;
|
|
43308
43308
|
});
|
|
43309
43309
|
if (commandConfig) {
|
|
43310
43310
|
_context9.next = 6;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var spirits = require("./spirits-2ab4d673.cjs");
|
|
4
|
-
var dev = require("./dev-
|
|
5
|
-
var macros = require("./macros-
|
|
4
|
+
var dev = require("./dev-cd37b736.cjs");
|
|
5
|
+
var macros = require("./macros-f855de63.cjs");
|
|
6
6
|
var require$$0 = require('fs');
|
|
7
7
|
var require$$2$1 = require('events');
|
|
8
8
|
var require$$1 = require('path');
|
|
@@ -29483,7 +29483,7 @@ class Body {
|
|
|
29483
29483
|
}
|
|
29484
29484
|
const {
|
|
29485
29485
|
toFormData
|
|
29486
|
-
} = await Promise.resolve().then(function () { return require("./multipart-parser-
|
|
29486
|
+
} = await Promise.resolve().then(function () { return require("./multipart-parser-473467a4.cjs"); });
|
|
29487
29487
|
return toFormData(this.body, ct);
|
|
29488
29488
|
}
|
|
29489
29489
|
|
|
@@ -41884,7 +41884,7 @@ function _loadUserPackageJson() {
|
|
|
41884
41884
|
targetPkgUrl = isTest ? packageTestJsonUrl : packageJsonUrl;
|
|
41885
41885
|
_context.t0 = JSON;
|
|
41886
41886
|
_context.next = 10;
|
|
41887
|
-
return fs__default["default"].readFile(new URL(targetPkgUrl, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-
|
|
41887
|
+
return fs__default["default"].readFile(new URL(targetPkgUrl, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-2dbf44c5.js', document.baseURI).href))), 'utf-8');
|
|
41888
41888
|
case 10:
|
|
41889
41889
|
_context.t1 = _context.sent;
|
|
41890
41890
|
pkg = _context.t0.parse.call(_context.t0, _context.t1);
|
|
@@ -43176,7 +43176,7 @@ var ProjectFiles = /*#__PURE__*/function () {
|
|
|
43176
43176
|
return ProjectFiles;
|
|
43177
43177
|
}();
|
|
43178
43178
|
|
|
43179
|
-
var __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-
|
|
43179
|
+
var __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-2dbf44c5.js', document.baseURI).href)));
|
|
43180
43180
|
var __dirname$1 = path__default["default"].dirname(__filename$1);
|
|
43181
43181
|
function zipDirectory(source, out) {
|
|
43182
43182
|
var archive = archiver$1('tar', {
|
|
@@ -43391,7 +43391,7 @@ function _buildApp() {
|
|
|
43391
43391
|
case 11:
|
|
43392
43392
|
_context4.t0 = JSON;
|
|
43393
43393
|
_context4.next = 14;
|
|
43394
|
-
return fs__default["default"].readFile(new URL(templatePackagePath, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-
|
|
43394
|
+
return fs__default["default"].readFile(new URL(templatePackagePath, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-2dbf44c5.js', document.baseURI).href))), 'utf-8');
|
|
43395
43395
|
case 14:
|
|
43396
43396
|
_context4.t1 = _context4.sent;
|
|
43397
43397
|
packageTemplate = _context4.t0.parse.call(_context4.t0, _context4.t1);
|
package/dist/index.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require("./index-
|
|
6
|
-
var dev = require("./dev-
|
|
5
|
+
var index = require("./index-2dbf44c5.cjs");
|
|
6
|
+
var dev = require("./dev-cd37b736.cjs");
|
|
7
7
|
require("./spirits-2ab4d673.cjs");
|
|
8
|
-
require("./macros-
|
|
8
|
+
require("./macros-f855de63.cjs");
|
|
9
9
|
require('fs');
|
|
10
10
|
require('events');
|
|
11
11
|
require('path');
|
|
@@ -4201,7 +4201,7 @@ var ConversationSchema = z.object({
|
|
|
4201
4201
|
/**
|
|
4202
4202
|
* Whether this conversation is part of a command flow
|
|
4203
4203
|
*/
|
|
4204
|
-
command:
|
|
4204
|
+
command: CommandSchema.optional()
|
|
4205
4205
|
});
|
|
4206
4206
|
|
|
4207
4207
|
var ForwardSchema = z.union([z["boolean"](), z.string(), z.object({
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
require('node:fs');
|
|
4
4
|
require('node:path');
|
|
5
|
-
var index = require("./index-
|
|
5
|
+
var index = require("./index-2dbf44c5.cjs");
|
|
6
6
|
require("./spirits-2ab4d673.cjs");
|
|
7
|
-
require("./dev-
|
|
7
|
+
require("./dev-cd37b736.cjs");
|
|
8
8
|
require('util');
|
|
9
9
|
require('stream');
|
|
10
10
|
require('path');
|
|
@@ -23,7 +23,7 @@ require('node:url');
|
|
|
23
23
|
require('node:events');
|
|
24
24
|
require('node:stream');
|
|
25
25
|
require('node:string_decoder');
|
|
26
|
-
require("./macros-
|
|
26
|
+
require("./macros-f855de63.cjs");
|
|
27
27
|
require('node:readline');
|
|
28
28
|
require('node:process');
|
|
29
29
|
require('node:os');
|
package/dist/schemas.cjs
CHANGED
package/dist/testing-tools.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var dev = require("./dev-
|
|
5
|
+
var dev = require("./dev-cd37b736.cjs");
|
|
6
6
|
require("./spirits-2ab4d673.cjs");
|
|
7
7
|
require('util');
|
|
8
8
|
require('stream');
|
|
@@ -24,7 +24,7 @@ require('node:url');
|
|
|
24
24
|
require('node:events');
|
|
25
25
|
require('node:stream');
|
|
26
26
|
require('node:string_decoder');
|
|
27
|
-
require("./macros-
|
|
27
|
+
require("./macros-f855de63.cjs");
|
|
28
28
|
require('node:readline');
|
|
29
29
|
require('node:process');
|
|
30
30
|
require('node:os');
|
package/package.json
CHANGED
|
@@ -86,10 +86,10 @@ const handleError = (e, res = undefined, tag = undefined, body = undefined) => {
|
|
|
86
86
|
let name = e?.name || 'Runtime Error';
|
|
87
87
|
let message = e?.message || 'Unknown error';
|
|
88
88
|
let code = typeof e?.code === 'number'
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
? e.code
|
|
90
|
+
: typeof e?.status === 'number'
|
|
91
|
+
? e.status
|
|
92
|
+
: 500;
|
|
93
93
|
if ('response' in e) {
|
|
94
94
|
const response = e.response;
|
|
95
95
|
if (response?.status) {
|
|
@@ -131,15 +131,15 @@ const handleError = (e, res = undefined, tag = undefined, body = undefined) => {
|
|
|
131
131
|
};
|
|
132
132
|
|
|
133
133
|
const handleZodError = ({
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}) => {
|
|
134
|
+
error,
|
|
135
|
+
res = undefined,
|
|
136
|
+
code = 500,
|
|
137
|
+
status,
|
|
138
|
+
name,
|
|
139
|
+
bodyLabel = 'Provided Input',
|
|
140
|
+
body = undefined,
|
|
141
|
+
action = ''
|
|
142
|
+
}) => {
|
|
143
143
|
res?.writeHead?.(code, {'Content-Type': 'application/json'});
|
|
144
144
|
if (error instanceof ZodError) {
|
|
145
145
|
const formattedError = simplifyZodError(error);
|
|
@@ -166,6 +166,64 @@ const handleZodError = ({
|
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
168
|
|
|
169
|
+
const handleWorkflowResponse = async ({fun, workflowEvent, tag, expressRes: res, expressReq: req}) => {
|
|
170
|
+
let response;
|
|
171
|
+
try {
|
|
172
|
+
response = await fun(workflowEvent)
|
|
173
|
+
.then((slots) => {
|
|
174
|
+
if ('toJSON' in slots) {
|
|
175
|
+
return slots.toJSON();
|
|
176
|
+
} else {
|
|
177
|
+
return slots;
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
} catch (error) {
|
|
181
|
+
if (error instanceof ZodError) {
|
|
182
|
+
handleZodError({
|
|
183
|
+
error,
|
|
184
|
+
name: `${tag} Event Request Parse Error`,
|
|
185
|
+
body: req.body.event,
|
|
186
|
+
bodyLabel: `Provided ${tag}`,
|
|
187
|
+
code: 400,
|
|
188
|
+
res,
|
|
189
|
+
status: `Invalid ${tag} Input`
|
|
190
|
+
});
|
|
191
|
+
} else {
|
|
192
|
+
handleError(error, res, `${tag} Runtime Error`, workflowEvent);
|
|
193
|
+
}
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
if (!response) {
|
|
198
|
+
throw new Error('No response');
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
try {
|
|
202
|
+
const formattedResponse = WorkflowResponseSchema.parse(response);
|
|
203
|
+
if (dev) {
|
|
204
|
+
console.log(green(`${tag} Sending Response:`));
|
|
205
|
+
console.log(grey(JSON.stringify(formattedResponse, null, 2)));
|
|
206
|
+
}
|
|
207
|
+
res.writeHead(200, {'Content-Type': 'application/json'});
|
|
208
|
+
res.end(JSON.stringify(formattedResponse));
|
|
209
|
+
} catch (error) {
|
|
210
|
+
if (error instanceof ZodError) {
|
|
211
|
+
handleZodError({
|
|
212
|
+
error,
|
|
213
|
+
name: `${tag} Event Response Parse Error`,
|
|
214
|
+
body: response,
|
|
215
|
+
bodyLabel: `Provided ${tag}Response`,
|
|
216
|
+
code: 500,
|
|
217
|
+
res,
|
|
218
|
+
status: `Invalid ${tag}Response Output`
|
|
219
|
+
});
|
|
220
|
+
} else {
|
|
221
|
+
handleError(error, res, `${tag} Runtime Parse Error`, response);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
}
|
|
226
|
+
|
|
169
227
|
const makeRequest = async (options, maxRedirects = 10) => {
|
|
170
228
|
return new Promise((resolve, reject) => {
|
|
171
229
|
|
|
@@ -262,61 +320,14 @@ app.post(dev ? '/dev/workflow' : '/', async (req, res) => {
|
|
|
262
320
|
if (!workflowEvent) {
|
|
263
321
|
return;
|
|
264
322
|
}
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
return response;
|
|
274
|
-
}
|
|
275
|
-
});
|
|
276
|
-
} catch (error) {
|
|
277
|
-
if (error instanceof ZodError) {
|
|
278
|
-
handleZodError({
|
|
279
|
-
error,
|
|
280
|
-
name: 'Workflow Template Event Request Parse Error',
|
|
281
|
-
body: req.body.event,
|
|
282
|
-
bodyLabel: 'Provided WorkflowEvent',
|
|
283
|
-
code: 400,
|
|
284
|
-
res,
|
|
285
|
-
status: 'Invalid WorkflowEvent Input'
|
|
286
|
-
});
|
|
287
|
-
} else {
|
|
288
|
-
handleError(error, res, 'Workflow Template Runtime Error', workflowEvent);
|
|
289
|
-
}
|
|
290
|
-
return;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
if (!response) {
|
|
294
|
-
throw new Error('No response');
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
try {
|
|
298
|
-
const formattedResponse = WorkflowResponseSchema.parse(response);
|
|
299
|
-
if (dev) {
|
|
300
|
-
console.log(green(`Workflow Sending Response:`));
|
|
301
|
-
console.log(grey(JSON.stringify(formattedResponse, null, 2)));
|
|
302
|
-
}
|
|
303
|
-
res.writeHead(200, {'Content-Type': 'application/json'});
|
|
304
|
-
res.end(JSON.stringify(formattedResponse));
|
|
305
|
-
} catch (error) {
|
|
306
|
-
if (error instanceof ZodError) {
|
|
307
|
-
handleZodError({
|
|
308
|
-
error,
|
|
309
|
-
name: 'Workflow Template Event Response Parse Error',
|
|
310
|
-
body: response,
|
|
311
|
-
bodyLabel: 'Provided WorkflowResponse',
|
|
312
|
-
code: 500,
|
|
313
|
-
res,
|
|
314
|
-
status: 'Invalid WorkflowResponse Output'
|
|
315
|
-
});
|
|
316
|
-
} else {
|
|
317
|
-
handleError(error, res, 'Workflow Template Runtime Parse Error', response);
|
|
318
|
-
}
|
|
319
|
-
}
|
|
323
|
+
await handleWorkflowResponse({
|
|
324
|
+
fun: projectApp,
|
|
325
|
+
workflowEvent,
|
|
326
|
+
tag: "PMTFlow",
|
|
327
|
+
expressRes: res,
|
|
328
|
+
expressReq: req,
|
|
329
|
+
});
|
|
330
|
+
return;
|
|
320
331
|
});
|
|
321
332
|
|
|
322
333
|
function isSurroundedByBrackets(str) {
|
|
@@ -350,17 +361,17 @@ async function resolveEntityApi(entity, method) {
|
|
|
350
361
|
}
|
|
351
362
|
const {api, entities} = resolveEntity(entity, method);
|
|
352
363
|
const mod = await import(pathToFileURL(path.resolve(__dirname, `./src/entities/${entities.join('/')}/api.js`)).href)
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
+
.catch((e) => {
|
|
365
|
+
switch (e.code) {
|
|
366
|
+
case 'ERR_MODULE_NOT_FOUND':
|
|
367
|
+
case 'MODULE_NOT_FOUND':
|
|
368
|
+
console.error(e);
|
|
369
|
+
throw new Error(`Invalid entity: no API method`);
|
|
370
|
+
default:
|
|
371
|
+
console.error(e);
|
|
372
|
+
throw new Error(`Invalid entity: Internal system error`);
|
|
373
|
+
}
|
|
374
|
+
});
|
|
364
375
|
if (mod[method]) {
|
|
365
376
|
return mod[method];
|
|
366
377
|
}
|
|
@@ -457,7 +468,7 @@ async function runCommandApi(req, res) {
|
|
|
457
468
|
const params = url.split('/').slice(2).filter(Boolean);
|
|
458
469
|
try {
|
|
459
470
|
const files = await getFilesRecursive(commandsDir).then(files => files.map(file => file.replace(commandsDir, '.'))
|
|
460
|
-
|
|
471
|
+
.filter(file => params.every(p => file.includes(p))));
|
|
461
472
|
file = files?.[0];
|
|
462
473
|
} catch (e) {
|
|
463
474
|
console.log('No commands found', e.message);
|
|
@@ -474,7 +485,9 @@ async function runCommandApi(req, res) {
|
|
|
474
485
|
|
|
475
486
|
let mod;
|
|
476
487
|
try {
|
|
477
|
-
|
|
488
|
+
const href = pathToFileURL(path.resolve(commandsDir, file)).href;
|
|
489
|
+
console.log(grey(`Command "${href}"`));
|
|
490
|
+
mod = await import(href);
|
|
478
491
|
} catch (e) {
|
|
479
492
|
if ('code' in e) {
|
|
480
493
|
switch (e.code) {
|
|
@@ -503,42 +516,7 @@ async function runCommandApi(req, res) {
|
|
|
503
516
|
return;
|
|
504
517
|
}
|
|
505
518
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
try {
|
|
509
|
-
result = await mod.default(workflowEvent)
|
|
510
|
-
.then((response) => {
|
|
511
|
-
if ('toJSON' in response) {
|
|
512
|
-
return response.toJSON();
|
|
513
|
-
} else {
|
|
514
|
-
return response;
|
|
515
|
-
}
|
|
516
|
-
});
|
|
517
|
-
} catch (e) {
|
|
518
|
-
console.error('Failed to run command', e);
|
|
519
|
-
res.writeHead(500, {'Content-Type': 'application/json'});
|
|
520
|
-
res.end(JSON.stringify({error: `Failed to run command: ${e.message}`}));
|
|
521
|
-
return;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
let responseBody = {};
|
|
525
|
-
let code = 500;
|
|
526
|
-
if (result) {
|
|
527
|
-
if (typeof result === 'string') {
|
|
528
|
-
responseBody = {message: result};
|
|
529
|
-
code = 200;
|
|
530
|
-
} else if (typeof result === 'object' && 'message' in result) {
|
|
531
|
-
responseBody = result;
|
|
532
|
-
code = 200;
|
|
533
|
-
} else {
|
|
534
|
-
responseBody.error = `Invalid Command Response, must either return a string or {"message": "<your message>"}`;
|
|
535
|
-
}
|
|
536
|
-
} else {
|
|
537
|
-
responseBody.error = `No command response provided`;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
res.writeHead(code, {'Content-Type': 'application/json'});
|
|
541
|
-
res.end(JSON.stringify(responseBody));
|
|
519
|
+
await handleWorkflowResponse({fun: mod.default, workflowEvent, tag: `${params.join('_').toUpperCase()} Command`, expressReq: req, expressRes: res});
|
|
542
520
|
}
|
|
543
521
|
|
|
544
522
|
app.post('/commands/:command', runCommandApi);
|
|
@@ -660,7 +638,7 @@ if (dev) {
|
|
|
660
638
|
pmt: config.pmt
|
|
661
639
|
}).then((_res => _res.data));
|
|
662
640
|
console.log(`\t${grey(`Response: ${green('"')}${bold(white(payload.message))}`)}${green(
|
|
663
|
-
|
|
641
|
+
'"')} (elapsed ${payload.ms}ms)`);
|
|
664
642
|
|
|
665
643
|
return payload;
|
|
666
644
|
};
|
|
@@ -809,6 +787,21 @@ if (dev) {
|
|
|
809
787
|
try {
|
|
810
788
|
|
|
811
789
|
return mod.default(workflowEvent)
|
|
790
|
+
.then((response) => {
|
|
791
|
+
if ('toJSON' in response) {
|
|
792
|
+
return response.toJSON();
|
|
793
|
+
} else {
|
|
794
|
+
return response;
|
|
795
|
+
}
|
|
796
|
+
})
|
|
797
|
+
.then(WorkflowResponseSchema.parse);
|
|
798
|
+
} catch (e) {
|
|
799
|
+
logger.error(`Failed to run command - ${e.message}`);
|
|
800
|
+
throw e;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
} else {
|
|
804
|
+
return projectApp(workflowEvent)
|
|
812
805
|
.then((response) => {
|
|
813
806
|
if ('toJSON' in response) {
|
|
814
807
|
return response.toJSON();
|
|
@@ -817,21 +810,6 @@ if (dev) {
|
|
|
817
810
|
}
|
|
818
811
|
})
|
|
819
812
|
.then(WorkflowResponseSchema.parse);
|
|
820
|
-
} catch (e) {
|
|
821
|
-
logger.error(`Failed to run command - ${e.message}`);
|
|
822
|
-
throw e;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
} else {
|
|
826
|
-
return projectApp(workflowEvent)
|
|
827
|
-
.then((response) => {
|
|
828
|
-
if ('toJSON' in response) {
|
|
829
|
-
return response.toJSON();
|
|
830
|
-
} else {
|
|
831
|
-
return response;
|
|
832
|
-
}
|
|
833
|
-
})
|
|
834
|
-
.then(WorkflowResponseSchema.parse);
|
|
835
813
|
}
|
|
836
814
|
},
|
|
837
815
|
generator: async (request) => {
|
|
@@ -841,10 +819,10 @@ if (dev) {
|
|
|
841
819
|
},
|
|
842
820
|
idGenerator: (prefix) => `${prefix}_test_${Date.now()}`,
|
|
843
821
|
progress: (
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
822
|
+
message,
|
|
823
|
+
level,
|
|
824
|
+
type,
|
|
825
|
+
payload
|
|
848
826
|
) => {
|
|
849
827
|
callback(message, level);
|
|
850
828
|
if (type) {
|
|
@@ -1080,12 +1058,12 @@ app.listen(process.env.PORT || 8080, async (err) => {
|
|
|
1080
1058
|
|
|
1081
1059
|
if (dev && !process.env.SCOUT9_API_KEY) {
|
|
1082
1060
|
console.log(red(
|
|
1083
|
-
|
|
1061
|
+
'Missing SCOUT9_API_KEY environment variable, your PMT application may not work without it.'));
|
|
1084
1062
|
}
|
|
1085
1063
|
|
|
1086
1064
|
if (process.env.SCOUT9_API_KEY === '<insert-scout9-api-key>') {
|
|
1087
1065
|
console.log(`${red('SCOUT9_API_KEY has not been set in your .env file.')} ${grey(
|
|
1088
|
-
|
|
1066
|
+
'You can find your API key in the Scout9 dashboard.')} ${bold(cyan('https://scout9.com'))}`);
|
|
1089
1067
|
}
|
|
1090
1068
|
|
|
1091
1069
|
if (dev) {
|
package/src/public.d.ts
CHANGED
|
@@ -417,6 +417,8 @@ export type Conversation = {
|
|
|
417
417
|
intentScore?: (number | undefined) | null;
|
|
418
418
|
/** Used to handle anticipating outcome */
|
|
419
419
|
anticipate?: ConversationAnticipate | undefined;
|
|
420
|
+
/** If conversation is assigned to a command */
|
|
421
|
+
command?: CommandConfiguration | undefined;
|
|
420
422
|
};
|
|
421
423
|
|
|
422
424
|
export type CustomerValue = boolean | number | string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { zId } from './utils.js';
|
|
3
|
-
import {
|
|
3
|
+
import { CommandSchema } from './commands.js';
|
|
4
4
|
|
|
5
5
|
export const ConversationContext = z.record(
|
|
6
6
|
z.union([
|
|
@@ -48,5 +48,5 @@ export const ConversationSchema = z.object({
|
|
|
48
48
|
/**
|
|
49
49
|
* Whether this conversation is part of a command flow
|
|
50
50
|
*/
|
|
51
|
-
command:
|
|
51
|
+
command: CommandSchema.optional()
|
|
52
52
|
});
|
package/src/testing-tools/dev.js
CHANGED
|
@@ -390,7 +390,7 @@ export class Scout9Test {
|
|
|
390
390
|
throw new Error(`Must load #project before running #loadCommand`);
|
|
391
391
|
}
|
|
392
392
|
const commandsDir = resolve(this.#src, `./commands`);
|
|
393
|
-
const commandConfig = this.#project.commands.find(
|
|
393
|
+
const commandConfig = this.#project.commands.find(c => c.entity === command || c.path === command);
|
|
394
394
|
if (!commandConfig) {
|
|
395
395
|
throw new Error(`Unable to find command "${command}"`);
|
|
396
396
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -367,6 +367,8 @@ declare module '@scout9/app' {
|
|
|
367
367
|
intentScore?: (number | undefined) | null;
|
|
368
368
|
/** Used to handle anticipating outcome */
|
|
369
369
|
anticipate?: ConversationAnticipate | undefined;
|
|
370
|
+
/** If conversation is assigned to a command */
|
|
371
|
+
command?: CommandConfiguration | undefined;
|
|
370
372
|
};
|
|
371
373
|
|
|
372
374
|
export type CustomerValue = boolean | number | string;
|
|
@@ -982,7 +984,7 @@ declare module '@scout9/app/schemas' {
|
|
|
982
984
|
/**
|
|
983
985
|
* Whether this conversation is part of a command flow
|
|
984
986
|
*/
|
|
985
|
-
command: z.ZodOptional<z.
|
|
987
|
+
command: z.ZodOptional<z.ZodObject<{
|
|
986
988
|
path: z.ZodString;
|
|
987
989
|
entity: z.ZodString;
|
|
988
990
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -991,7 +993,7 @@ declare module '@scout9/app/schemas' {
|
|
|
991
993
|
}, {
|
|
992
994
|
path: string;
|
|
993
995
|
entity: string;
|
|
994
|
-
}
|
|
996
|
+
}>>;
|
|
995
997
|
}, "strip", z.ZodTypeAny, {
|
|
996
998
|
environment: "email" | "phone" | "web";
|
|
997
999
|
$agent: string;
|
|
@@ -1022,7 +1024,7 @@ declare module '@scout9/app/schemas' {
|
|
|
1022
1024
|
command?: {
|
|
1023
1025
|
path: string;
|
|
1024
1026
|
entity: string;
|
|
1025
|
-
}
|
|
1027
|
+
} | undefined;
|
|
1026
1028
|
}, {
|
|
1027
1029
|
environment: "email" | "phone" | "web";
|
|
1028
1030
|
$agent: string;
|
|
@@ -1053,7 +1055,7 @@ declare module '@scout9/app/schemas' {
|
|
|
1053
1055
|
command?: {
|
|
1054
1056
|
path: string;
|
|
1055
1057
|
entity: string;
|
|
1056
|
-
}
|
|
1058
|
+
} | undefined;
|
|
1057
1059
|
}>;
|
|
1058
1060
|
/**
|
|
1059
1061
|
* Represents the configuration provided in src/index.{js | ts} in a project
|
|
@@ -4271,7 +4273,7 @@ declare module '@scout9/app/schemas' {
|
|
|
4271
4273
|
keywords: string[];
|
|
4272
4274
|
}[] | undefined;
|
|
4273
4275
|
}>>;
|
|
4274
|
-
command: z.ZodOptional<z.
|
|
4276
|
+
command: z.ZodOptional<z.ZodObject<{
|
|
4275
4277
|
path: z.ZodString;
|
|
4276
4278
|
entity: z.ZodString;
|
|
4277
4279
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4280,7 +4282,7 @@ declare module '@scout9/app/schemas' {
|
|
|
4280
4282
|
}, {
|
|
4281
4283
|
path: string;
|
|
4282
4284
|
entity: string;
|
|
4283
|
-
}
|
|
4285
|
+
}>>;
|
|
4284
4286
|
}, "strip", z.ZodTypeAny, {
|
|
4285
4287
|
environment: "email" | "phone" | "web";
|
|
4286
4288
|
$agent: string;
|
|
@@ -4311,7 +4313,7 @@ declare module '@scout9/app/schemas' {
|
|
|
4311
4313
|
command?: {
|
|
4312
4314
|
path: string;
|
|
4313
4315
|
entity: string;
|
|
4314
|
-
}
|
|
4316
|
+
} | undefined;
|
|
4315
4317
|
}, {
|
|
4316
4318
|
environment: "email" | "phone" | "web";
|
|
4317
4319
|
$agent: string;
|
|
@@ -4342,7 +4344,7 @@ declare module '@scout9/app/schemas' {
|
|
|
4342
4344
|
command?: {
|
|
4343
4345
|
path: string;
|
|
4344
4346
|
entity: string;
|
|
4345
|
-
}
|
|
4347
|
+
} | undefined;
|
|
4346
4348
|
}>;
|
|
4347
4349
|
context: z.ZodAny;
|
|
4348
4350
|
message: z.ZodObject<{
|
|
@@ -4647,7 +4649,7 @@ declare module '@scout9/app/schemas' {
|
|
|
4647
4649
|
command?: {
|
|
4648
4650
|
path: string;
|
|
4649
4651
|
entity: string;
|
|
4650
|
-
}
|
|
4652
|
+
} | undefined;
|
|
4651
4653
|
};
|
|
4652
4654
|
stagnationCount: number;
|
|
4653
4655
|
context?: any;
|
|
@@ -4751,7 +4753,7 @@ declare module '@scout9/app/schemas' {
|
|
|
4751
4753
|
command?: {
|
|
4752
4754
|
path: string;
|
|
4753
4755
|
entity: string;
|
|
4754
|
-
}
|
|
4756
|
+
} | undefined;
|
|
4755
4757
|
};
|
|
4756
4758
|
stagnationCount: number;
|
|
4757
4759
|
context?: any;
|
|
@@ -9418,7 +9420,7 @@ declare module '@scout9/app/schemas' {
|
|
|
9418
9420
|
keywords: string[];
|
|
9419
9421
|
}[] | undefined;
|
|
9420
9422
|
}>>;
|
|
9421
|
-
command: z.ZodOptional<z.
|
|
9423
|
+
command: z.ZodOptional<z.ZodObject<{
|
|
9422
9424
|
path: z.ZodString;
|
|
9423
9425
|
entity: z.ZodString;
|
|
9424
9426
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9427,7 +9429,7 @@ declare module '@scout9/app/schemas' {
|
|
|
9427
9429
|
}, {
|
|
9428
9430
|
path: string;
|
|
9429
9431
|
entity: string;
|
|
9430
|
-
}
|
|
9432
|
+
}>>;
|
|
9431
9433
|
}, "strip", z.ZodTypeAny, {
|
|
9432
9434
|
environment: "email" | "phone" | "web";
|
|
9433
9435
|
$agent: string;
|
|
@@ -9458,7 +9460,7 @@ declare module '@scout9/app/schemas' {
|
|
|
9458
9460
|
command?: {
|
|
9459
9461
|
path: string;
|
|
9460
9462
|
entity: string;
|
|
9461
|
-
}
|
|
9463
|
+
} | undefined;
|
|
9462
9464
|
}, {
|
|
9463
9465
|
environment: "email" | "phone" | "web";
|
|
9464
9466
|
$agent: string;
|
|
@@ -9489,7 +9491,7 @@ declare module '@scout9/app/schemas' {
|
|
|
9489
9491
|
command?: {
|
|
9490
9492
|
path: string;
|
|
9491
9493
|
entity: string;
|
|
9492
|
-
}
|
|
9494
|
+
} | undefined;
|
|
9493
9495
|
}>;
|
|
9494
9496
|
context: z.ZodAny;
|
|
9495
9497
|
message: z.ZodObject<{
|
|
@@ -9794,7 +9796,7 @@ declare module '@scout9/app/schemas' {
|
|
|
9794
9796
|
command?: {
|
|
9795
9797
|
path: string;
|
|
9796
9798
|
entity: string;
|
|
9797
|
-
}
|
|
9799
|
+
} | undefined;
|
|
9798
9800
|
};
|
|
9799
9801
|
stagnationCount: number;
|
|
9800
9802
|
context?: any;
|
|
@@ -9898,7 +9900,7 @@ declare module '@scout9/app/schemas' {
|
|
|
9898
9900
|
command?: {
|
|
9899
9901
|
path: string;
|
|
9900
9902
|
entity: string;
|
|
9901
|
-
}
|
|
9903
|
+
} | undefined;
|
|
9902
9904
|
};
|
|
9903
9905
|
stagnationCount: number;
|
|
9904
9906
|
context?: any;
|
package/types/index.d.ts.map
CHANGED
|
@@ -155,5 +155,5 @@
|
|
|
155
155
|
null,
|
|
156
156
|
null
|
|
157
157
|
],
|
|
158
|
-
"mappings": ";;;;;;;;;kBAegBA,GAAGA;;;;;;;kBAYHC,IAAIA;;;;kBAUJC,SAASA;;;;;;;;;;;eAYZC,aAAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAoDbC,QAAQA;;;;;;;;;eAaRC,YAAYA;;;;;;;;;;;;;;;;;;;;;;;;eAyBZC,OAAOA;;;;;;;;;;;;;;;;;eAkBPC,KAAKA;;;;cAINC,eAAeA;;;;;;;;;cASfC,eAAeA;;;;;;;;;;;;;cAafC,YAAYA;;;;;;;cAOZC,cAAcA;;;;;;;;;;;;;;;;cAgBdC,WAAWA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA2EPC,GAAGA;;;;;;;kBAUHC,IAAIA;;cAERC,8BAA8BA;;;;;cAK9BC,mBAAmBA;;cAEnBC,eAAeA;cACfC,aAAaA;;;;;;;;;;;;;;;;;;;kBAuBTC,OAAOA;;cAEXC,KAAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqCLC,kBAAkBA;;cAElBC,mBAAmBA;;cAEnBC,MAAMA;;cAENC,cAAcA;;cAEdC,sBAAsBA;;;;;;;;;;;;;;;;cAgBtBC,YAAYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkCZC,aAAaA;;cAEbC,QAAQA;;;;;;;;;;;;;;;;;;cAkBRC,gBAAgBA;;;;;;;;;cAShBC,sBAAsBA;;;;;;;cAOtBC,UA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