@mindstudio-ai/remy 0.1.296 → 0.1.297
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/headless.js +4 -2
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/headless.js
CHANGED
|
@@ -1803,9 +1803,11 @@ function runCli(command, args, options) {
|
|
|
1803
1803
|
child.on("close", (code) => {
|
|
1804
1804
|
const out = stdout.trim();
|
|
1805
1805
|
if (timedOut) {
|
|
1806
|
+
const detail = stderr.trim();
|
|
1806
1807
|
finish({
|
|
1807
1808
|
ok: false,
|
|
1808
|
-
output:
|
|
1809
|
+
output: `Process timed out after ${Math.round(timeout / 1e3)}s` + (detail ? `. Output before timeout:
|
|
1810
|
+
${detail}` : ""),
|
|
1809
1811
|
logs,
|
|
1810
1812
|
timedOut: true,
|
|
1811
1813
|
truncated
|
|
@@ -4577,7 +4579,7 @@ async function runBrowserAutomation(task, context, opts) {
|
|
|
4577
4579
|
auth: _input.auth,
|
|
4578
4580
|
path: _input.path
|
|
4579
4581
|
},
|
|
4580
|
-
{ timeout:
|
|
4582
|
+
{ timeout: 3e4 }
|
|
4581
4583
|
);
|
|
4582
4584
|
return JSON.stringify(result2);
|
|
4583
4585
|
} catch (err) {
|
package/dist/index.js
CHANGED
|
@@ -1320,9 +1320,11 @@ function runCli(command, args2, options) {
|
|
|
1320
1320
|
child.on("close", (code) => {
|
|
1321
1321
|
const out = stdout.trim();
|
|
1322
1322
|
if (timedOut) {
|
|
1323
|
+
const detail = stderr.trim();
|
|
1323
1324
|
finish({
|
|
1324
1325
|
ok: false,
|
|
1325
|
-
output:
|
|
1326
|
+
output: `Process timed out after ${Math.round(timeout / 1e3)}s` + (detail ? `. Output before timeout:
|
|
1327
|
+
${detail}` : ""),
|
|
1326
1328
|
logs,
|
|
1327
1329
|
timedOut: true,
|
|
1328
1330
|
truncated
|
|
@@ -5655,7 +5657,7 @@ async function runBrowserAutomation(task, context, opts) {
|
|
|
5655
5657
|
auth: _input.auth,
|
|
5656
5658
|
path: _input.path
|
|
5657
5659
|
},
|
|
5658
|
-
{ timeout:
|
|
5660
|
+
{ timeout: 3e4 }
|
|
5659
5661
|
);
|
|
5660
5662
|
return JSON.stringify(result2);
|
|
5661
5663
|
} catch (err) {
|