@molecule/api-ai-tools 1.0.5 → 1.0.6
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/tools.d.ts.map +1 -1
- package/dist/tools.js +6 -2
- package/package.json +1 -1
package/dist/tools.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAG9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAsBnE;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,CAAC,EAAE,eAAe,GAAG,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAG9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAsBnE;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,CAAC,EAAE,eAAe,GAAG,MAAM,EAAE,CA8qBxF"}
|
package/dist/tools.js
CHANGED
|
@@ -524,8 +524,12 @@ export function buildTools(backend, config) {
|
|
|
524
524
|
stderr,
|
|
525
525
|
exitCode: result.exitCode,
|
|
526
526
|
error: `The command was stopped after ${budgetSeconds}s, this tool's limit; the output above is ` +
|
|
527
|
-
'everything it printed until then
|
|
528
|
-
|
|
527
|
+
'everything it printed until then' +
|
|
528
|
+
(/\|\s*(tail|head)\b/.test(command)
|
|
529
|
+
? ' — and a pipe through tail/head holds everything back until the command ends, so it printed nothing: run it without the pipe (use a line reporter and let the output stream)'
|
|
530
|
+
: '') +
|
|
531
|
+
'. Run a smaller unit per command (one test file, one build step) instead of chaining ' +
|
|
532
|
+
'a build and a whole suite.',
|
|
529
533
|
};
|
|
530
534
|
}
|
|
531
535
|
return { stdout, stderr, exitCode: result.exitCode };
|