nexus-agents 2.30.1 → 2.30.3
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/{chunk-7RE6BBXJ.js → chunk-6NX44VY4.js} +2 -2
- package/dist/{chunk-DEESTIZL.js → chunk-DL4JUCGN.js} +12 -5
- package/dist/{chunk-DEESTIZL.js.map → chunk-DL4JUCGN.js.map} +1 -1
- package/dist/{chunk-ZOTDJ4UR.js → chunk-LUN3RDCO.js} +3 -3
- package/dist/cli.js +3 -3
- package/dist/index.js +2 -2
- package/dist/{setup-command-JXHUUFT3.js → setup-command-JUHRFM3A.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-7RE6BBXJ.js.map → chunk-6NX44VY4.js.map} +0 -0
- /package/dist/{chunk-ZOTDJ4UR.js.map → chunk-LUN3RDCO.js.map} +0 -0
- /package/dist/{setup-command-JXHUUFT3.js.map → setup-command-JUHRFM3A.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
VERSION,
|
|
6
6
|
initDataDirectories
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LUN3RDCO.js";
|
|
8
8
|
import {
|
|
9
9
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
10
10
|
createLogger,
|
|
@@ -1523,4 +1523,4 @@ export {
|
|
|
1523
1523
|
setupCommand,
|
|
1524
1524
|
setupCommandAsync
|
|
1525
1525
|
};
|
|
1526
|
-
//# sourceMappingURL=chunk-
|
|
1526
|
+
//# sourceMappingURL=chunk-6NX44VY4.js.map
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
import {
|
|
66
66
|
DEFAULT_TASK_TTL_MS,
|
|
67
67
|
clampTaskTtl
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-LUN3RDCO.js";
|
|
69
69
|
import {
|
|
70
70
|
createSessionMemory
|
|
71
71
|
} from "./chunk-KQIDTE52.js";
|
|
@@ -41990,11 +41990,18 @@ Verdict: PASS/NEEDS_WORK/REJECT`
|
|
|
41990
41990
|
}
|
|
41991
41991
|
};
|
|
41992
41992
|
}
|
|
41993
|
+
function extractJsonArray(response) {
|
|
41994
|
+
const start = response.indexOf("[");
|
|
41995
|
+
if (start === -1) return void 0;
|
|
41996
|
+
const end = response.lastIndexOf("]");
|
|
41997
|
+
if (end <= start) return void 0;
|
|
41998
|
+
return response.slice(start, end + 1);
|
|
41999
|
+
}
|
|
41993
42000
|
function parseTasksFromResponse(response, fallbackPlan) {
|
|
41994
42001
|
try {
|
|
41995
|
-
const
|
|
41996
|
-
if (
|
|
41997
|
-
const parsed = JSON.parse(
|
|
42002
|
+
const candidate = extractJsonArray(response);
|
|
42003
|
+
if (candidate !== void 0) {
|
|
42004
|
+
const parsed = JSON.parse(candidate);
|
|
41998
42005
|
return parsed.map((t, i) => ({
|
|
41999
42006
|
id: String(t["id"] ?? `task-${String(i + 1)}`),
|
|
42000
42007
|
title: String(t["title"] ?? `Task ${String(i + 1)}`),
|
|
@@ -53032,4 +53039,4 @@ export {
|
|
|
53032
53039
|
detectBackend,
|
|
53033
53040
|
createTaskTracker
|
|
53034
53041
|
};
|
|
53035
|
-
//# sourceMappingURL=chunk-
|
|
53042
|
+
//# sourceMappingURL=chunk-DL4JUCGN.js.map
|