nexus-agents 2.63.4 → 2.63.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/{adaptive-memory-2UIPH67R.js → adaptive-memory-XD5O3TC4.js} +3 -3
- package/dist/{chunk-NF5KOUKM.js → chunk-3BLWO2ZM.js} +2 -2
- package/dist/{chunk-PB2EXTSV.js → chunk-3H44UAHW.js} +2 -2
- package/dist/{chunk-EBFXDM3P.js → chunk-5CYDU2VX.js} +2 -2
- package/dist/{chunk-QAOI6EIU.js → chunk-5HQJGYYM.js} +2 -2
- package/dist/{chunk-FHFNOMNK.js → chunk-6MRF2PE2.js} +2 -2
- package/dist/{chunk-RCQZMJBZ.js → chunk-CQXNX6BQ.js} +3 -3
- package/dist/{chunk-WZ7Z5VLZ.js → chunk-CUGQAPGY.js} +254 -137
- package/dist/chunk-CUGQAPGY.js.map +1 -0
- package/dist/{chunk-CDWQP3UC.js → chunk-F2YQX6Q6.js} +3 -3
- package/dist/{chunk-KLZHA5KA.js → chunk-GISQ3EJB.js} +4 -4
- package/dist/{chunk-KYRDQJLY.js → chunk-HRTGSG4L.js} +7 -7
- package/dist/{chunk-ZC4KHPRL.js → chunk-N36KDK3E.js} +12 -12
- package/dist/chunk-N36KDK3E.js.map +1 -0
- package/dist/{chunk-FAUHVWYZ.js → chunk-NV63LTMM.js} +5 -1
- package/dist/chunk-NV63LTMM.js.map +1 -0
- package/dist/{chunk-GJVHRJO2.js → chunk-O3CBMPGT.js} +2 -1
- package/dist/chunk-O3CBMPGT.js.map +1 -0
- package/dist/{chunk-KVZNQWWI.js → chunk-O4AJGETH.js} +2 -2
- package/dist/{chunk-ORYMBSGF.js → chunk-OKU3VXWC.js} +5 -5
- package/dist/{chunk-ETZULQ7Z.js → chunk-P5NBYCEC.js} +2 -2
- package/dist/{chunk-FTWGBV7S.js → chunk-R4FVXOZF.js} +2 -2
- package/dist/{chunk-46S665SD.js → chunk-SUR2TLIG.js} +7 -7
- package/dist/{chunk-I37IQ26H.js → chunk-TR74DSB4.js} +2 -2
- package/dist/{chunk-PEDEZRPR.js → chunk-TSS7VN3V.js} +8 -8
- package/dist/{chunk-MSFUOGN4.js → chunk-UFHFX2GX.js} +2 -2
- package/dist/{chunk-UDKYZ7CS.js → chunk-VOBYREAG.js} +2 -2
- package/dist/{chunk-UCQTXKTS.js → chunk-WDWKKJHZ.js} +2 -2
- package/dist/{cli-circuit-breaker-5E6OWOMI.js → cli-circuit-breaker-JE6XKLUG.js} +4 -4
- package/dist/cli.js +74 -65
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-FC3H7NKN.js → composite-router-KBOGB7GQ.js} +2 -2
- package/dist/{consensus-vote-6FKSINXV.js → consensus-vote-PIU3D3KP.js} +9 -9
- package/dist/{doctor-deep-X3YCUM4Q.js → doctor-deep-DGY2N4U2.js} +3 -3
- package/dist/{expert-bridge-R6FQWUHB.js → expert-bridge-5IPLSDJH.js} +3 -3
- package/dist/{expert-config-BTPAEZWV.js → expert-config-6X4225UC.js} +2 -2
- package/dist/{factory-BOXBN4ZS.js → factory-PSFI6WDI.js} +4 -4
- package/dist/{factory-7DJA2CIL.js → factory-ZTNGLNFH.js} +5 -5
- package/dist/index.d.ts +5 -0
- package/dist/index.js +21 -21
- package/dist/{issue-triage-DGDKQQTD.js → issue-triage-VOZNNCUG.js} +4 -4
- package/dist/{mcp-config-CHS2ZC42.js → mcp-config-PDH6LS6E.js} +3 -3
- package/dist/{mobimem-NO7I2Y4O.js → mobimem-7KQVPLAW.js} +2 -2
- package/dist/{registry-command-ZO75YQJG.js → registry-command-BS75IWSA.js} +2 -2
- package/dist/{repo-security-plan-BZ3WOIEZ.js → repo-security-plan-VZTTNXYJ.js} +3 -3
- package/dist/{research-helpers-synthesize-SH34FJIE.js → research-helpers-synthesize-B3C6BFCX.js} +3 -3
- package/dist/{routing-memory-SALB3DZI.js → routing-memory-BGK2HMC3.js} +2 -2
- package/dist/{session-memory-IOXXN6XA.js → session-memory-ESTZAPL2.js} +3 -3
- package/dist/{setup-command-UVJRDNRF.js → setup-command-J6QG2G5V.js} +9 -9
- package/dist/{setup-config-FYRXUWQH.js → setup-config-LG67TIFO.js} +3 -3
- package/dist/{setup-custom-api-VAFP4X43.js → setup-custom-api-4DZABP47.js} +4 -4
- package/dist/{weather-report-SBJRXFTW.js → weather-report-HUY35FUZ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-FAUHVWYZ.js.map +0 -1
- package/dist/chunk-GJVHRJO2.js.map +0 -1
- package/dist/chunk-WZ7Z5VLZ.js.map +0 -1
- package/dist/chunk-ZC4KHPRL.js.map +0 -1
- /package/dist/{adaptive-memory-2UIPH67R.js.map → adaptive-memory-XD5O3TC4.js.map} +0 -0
- /package/dist/{chunk-NF5KOUKM.js.map → chunk-3BLWO2ZM.js.map} +0 -0
- /package/dist/{chunk-PB2EXTSV.js.map → chunk-3H44UAHW.js.map} +0 -0
- /package/dist/{chunk-EBFXDM3P.js.map → chunk-5CYDU2VX.js.map} +0 -0
- /package/dist/{chunk-QAOI6EIU.js.map → chunk-5HQJGYYM.js.map} +0 -0
- /package/dist/{chunk-FHFNOMNK.js.map → chunk-6MRF2PE2.js.map} +0 -0
- /package/dist/{chunk-RCQZMJBZ.js.map → chunk-CQXNX6BQ.js.map} +0 -0
- /package/dist/{chunk-CDWQP3UC.js.map → chunk-F2YQX6Q6.js.map} +0 -0
- /package/dist/{chunk-KLZHA5KA.js.map → chunk-GISQ3EJB.js.map} +0 -0
- /package/dist/{chunk-KYRDQJLY.js.map → chunk-HRTGSG4L.js.map} +0 -0
- /package/dist/{chunk-KVZNQWWI.js.map → chunk-O4AJGETH.js.map} +0 -0
- /package/dist/{chunk-ORYMBSGF.js.map → chunk-OKU3VXWC.js.map} +0 -0
- /package/dist/{chunk-ETZULQ7Z.js.map → chunk-P5NBYCEC.js.map} +0 -0
- /package/dist/{chunk-FTWGBV7S.js.map → chunk-R4FVXOZF.js.map} +0 -0
- /package/dist/{chunk-46S665SD.js.map → chunk-SUR2TLIG.js.map} +0 -0
- /package/dist/{chunk-I37IQ26H.js.map → chunk-TR74DSB4.js.map} +0 -0
- /package/dist/{chunk-PEDEZRPR.js.map → chunk-TSS7VN3V.js.map} +0 -0
- /package/dist/{chunk-MSFUOGN4.js.map → chunk-UFHFX2GX.js.map} +0 -0
- /package/dist/{chunk-UDKYZ7CS.js.map → chunk-VOBYREAG.js.map} +0 -0
- /package/dist/{chunk-UCQTXKTS.js.map → chunk-WDWKKJHZ.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-5E6OWOMI.js.map → cli-circuit-breaker-JE6XKLUG.js.map} +0 -0
- /package/dist/{composite-router-FC3H7NKN.js.map → composite-router-KBOGB7GQ.js.map} +0 -0
- /package/dist/{consensus-vote-6FKSINXV.js.map → consensus-vote-PIU3D3KP.js.map} +0 -0
- /package/dist/{doctor-deep-X3YCUM4Q.js.map → doctor-deep-DGY2N4U2.js.map} +0 -0
- /package/dist/{expert-bridge-R6FQWUHB.js.map → expert-bridge-5IPLSDJH.js.map} +0 -0
- /package/dist/{expert-config-BTPAEZWV.js.map → expert-config-6X4225UC.js.map} +0 -0
- /package/dist/{factory-7DJA2CIL.js.map → factory-PSFI6WDI.js.map} +0 -0
- /package/dist/{factory-BOXBN4ZS.js.map → factory-ZTNGLNFH.js.map} +0 -0
- /package/dist/{issue-triage-DGDKQQTD.js.map → issue-triage-VOZNNCUG.js.map} +0 -0
- /package/dist/{mcp-config-CHS2ZC42.js.map → mcp-config-PDH6LS6E.js.map} +0 -0
- /package/dist/{mobimem-NO7I2Y4O.js.map → mobimem-7KQVPLAW.js.map} +0 -0
- /package/dist/{registry-command-ZO75YQJG.js.map → registry-command-BS75IWSA.js.map} +0 -0
- /package/dist/{repo-security-plan-BZ3WOIEZ.js.map → repo-security-plan-VZTTNXYJ.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-SH34FJIE.js.map → research-helpers-synthesize-B3C6BFCX.js.map} +0 -0
- /package/dist/{routing-memory-SALB3DZI.js.map → routing-memory-BGK2HMC3.js.map} +0 -0
- /package/dist/{session-memory-IOXXN6XA.js.map → session-memory-ESTZAPL2.js.map} +0 -0
- /package/dist/{setup-command-UVJRDNRF.js.map → setup-command-J6QG2G5V.js.map} +0 -0
- /package/dist/{setup-config-FYRXUWQH.js.map → setup-config-LG67TIFO.js.map} +0 -0
- /package/dist/{setup-custom-api-VAFP4X43.js.map → setup-custom-api-4DZABP47.js.map} +0 -0
- /package/dist/{weather-report-SBJRXFTW.js.map → weather-report-HUY35FUZ.js.map} +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
formatZodError,
|
|
12
12
|
getTimeProvider,
|
|
13
13
|
ok
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NV63LTMM.js";
|
|
15
15
|
|
|
16
16
|
// src/context/memory-backend-types.ts
|
|
17
17
|
import { z } from "zod";
|
|
@@ -941,4 +941,4 @@ export {
|
|
|
941
941
|
AdaptiveMemoryBackend,
|
|
942
942
|
createAdaptiveMemory
|
|
943
943
|
};
|
|
944
|
-
//# sourceMappingURL=chunk-
|
|
944
|
+
//# sourceMappingURL=chunk-O4AJGETH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runConfigInitSync
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5CYDU2VX.js";
|
|
4
4
|
import {
|
|
5
5
|
VERSION,
|
|
6
6
|
checkApiKeys,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
checkSqlite,
|
|
9
9
|
defaultConfig,
|
|
10
10
|
initDataDirectories
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HRTGSG4L.js";
|
|
12
12
|
import {
|
|
13
13
|
BUILT_IN_EXPERTS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-O3CBMPGT.js";
|
|
15
15
|
import {
|
|
16
16
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
17
17
|
colors,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getErrorMessage,
|
|
23
23
|
getTimeProvider,
|
|
24
24
|
symbols
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NV63LTMM.js";
|
|
26
26
|
|
|
27
27
|
// src/cli/setup-command.ts
|
|
28
28
|
import { existsSync as existsSync4 } from "fs";
|
|
@@ -1933,4 +1933,4 @@ export {
|
|
|
1933
1933
|
setupCommand,
|
|
1934
1934
|
setupCommandAsync
|
|
1935
1935
|
};
|
|
1936
|
-
//# sourceMappingURL=chunk-
|
|
1936
|
+
//# sourceMappingURL=chunk-OKU3VXWC.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
ok
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NV63LTMM.js";
|
|
9
9
|
|
|
10
10
|
// src/cli-adapters/circuit-breaker-types.ts
|
|
11
11
|
var CircuitErrorCode = {
|
|
@@ -353,4 +353,4 @@ export {
|
|
|
353
353
|
CircuitBreakerRegistry,
|
|
354
354
|
mapCliErrorToCategory
|
|
355
355
|
};
|
|
356
|
-
//# sourceMappingURL=chunk-
|
|
356
|
+
//# sourceMappingURL=chunk-P5NBYCEC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLogger
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NV63LTMM.js";
|
|
4
4
|
|
|
5
5
|
// src/swe-bench/mcp-config.ts
|
|
6
6
|
import { writeFile, mkdtemp, rm } from "fs/promises";
|
|
@@ -58,4 +58,4 @@ export {
|
|
|
58
58
|
generateMcpConfig,
|
|
59
59
|
getDefaultAllowedTools
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=chunk-
|
|
61
|
+
//# sourceMappingURL=chunk-R4FVXOZF.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
getTimeProvider,
|
|
4
4
|
isRateLimitText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NV63LTMM.js";
|
|
6
6
|
|
|
7
7
|
// src/pipeline/expert-bridge.ts
|
|
8
8
|
var logger = createLogger({ component: "expert-bridge" });
|
|
@@ -12,7 +12,7 @@ var cachedMcpConfigPath = null;
|
|
|
12
12
|
async function getMcpConfigPath() {
|
|
13
13
|
if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
|
|
14
14
|
try {
|
|
15
|
-
const { generateMcpConfig } = await import("./mcp-config-
|
|
15
|
+
const { generateMcpConfig } = await import("./mcp-config-PDH6LS6E.js");
|
|
16
16
|
const config = await generateMcpConfig();
|
|
17
17
|
cachedMcpConfigPath = config.configPath;
|
|
18
18
|
return cachedMcpConfigPath;
|
|
@@ -38,13 +38,13 @@ function adaptCompositeRouter(compositeRouter) {
|
|
|
38
38
|
}
|
|
39
39
|
async function getRouter() {
|
|
40
40
|
if (cachedRouter !== null) return cachedRouter;
|
|
41
|
-
const { createAllAdapters } = await import("./factory-
|
|
42
|
-
const { createCompositeRouter } = await import("./composite-router-
|
|
41
|
+
const { createAllAdapters } = await import("./factory-PSFI6WDI.js");
|
|
42
|
+
const { createCompositeRouter } = await import("./composite-router-KBOGB7GQ.js");
|
|
43
43
|
const adapters = createAllAdapters();
|
|
44
44
|
if (adapters.size === 0) return null;
|
|
45
45
|
cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
|
|
46
46
|
try {
|
|
47
|
-
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-
|
|
47
|
+
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-JE6XKLUG.js");
|
|
48
48
|
cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
|
|
49
49
|
} catch (error) {
|
|
50
50
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -93,7 +93,7 @@ async function dispatchWithRateLimitRetry(router, task, expertType, start) {
|
|
|
93
93
|
async function executeExpert(expertType, prompt) {
|
|
94
94
|
const start = getTimeProvider().now();
|
|
95
95
|
try {
|
|
96
|
-
const { BUILT_IN_EXPERTS } = await import("./expert-config-
|
|
96
|
+
const { BUILT_IN_EXPERTS } = await import("./expert-config-6X4225UC.js");
|
|
97
97
|
const config = BUILT_IN_EXPERTS[expertType];
|
|
98
98
|
const fullPrompt = `${config.systemPrompt}
|
|
99
99
|
|
|
@@ -136,4 +136,4 @@ ${prompt}`;
|
|
|
136
136
|
export {
|
|
137
137
|
executeExpert
|
|
138
138
|
};
|
|
139
|
-
//# sourceMappingURL=chunk-
|
|
139
|
+
//# sourceMappingURL=chunk-SUR2TLIG.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
getTimeProvider,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NV63LTMM.js";
|
|
8
8
|
|
|
9
9
|
// src/context/session-memory.ts
|
|
10
10
|
import * as fs from "fs";
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
SessionMemory,
|
|
352
352
|
createSessionMemory
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-TR74DSB4.js.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
CUSTOM_API_BASE_URL_ENV,
|
|
3
3
|
PROVIDER_ENV_KEYS,
|
|
4
4
|
validateCustomApiBaseUrl
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3BLWO2ZM.js";
|
|
6
6
|
import {
|
|
7
7
|
CUSTOM_API_DEFAULT_MODEL
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6MRF2PE2.js";
|
|
9
9
|
import {
|
|
10
10
|
createCliAdapter,
|
|
11
11
|
createCliDetectionCache,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
getAvailableClis,
|
|
14
14
|
isCliAvailable,
|
|
15
15
|
withTimeout
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-N36KDK3E.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionMemory
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TR74DSB4.js";
|
|
20
20
|
import {
|
|
21
21
|
AdaptiveMemoryBackend,
|
|
22
22
|
HybridMemoryBackend,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
getMemoryEntry,
|
|
26
26
|
memoryExists,
|
|
27
27
|
memoryRowToEntry
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-O4AJGETH.js";
|
|
29
29
|
import {
|
|
30
30
|
stringifyValue,
|
|
31
31
|
tokenizeFiltered
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
resolveVoteTimeout,
|
|
77
77
|
toRateLimitError,
|
|
78
78
|
validateTimeout
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-NV63LTMM.js";
|
|
80
80
|
import {
|
|
81
81
|
ensureLearningDir,
|
|
82
82
|
getOutcomesFile
|
|
@@ -12877,7 +12877,7 @@ async function processVotesWithCascade(votes, opts) {
|
|
|
12877
12877
|
var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
|
|
12878
12878
|
async function runContrarianCheck(proposal, log) {
|
|
12879
12879
|
try {
|
|
12880
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
12880
|
+
const { executeExpert } = await import("./expert-bridge-5IPLSDJH.js");
|
|
12881
12881
|
const prompt = [
|
|
12882
12882
|
"You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
|
|
12883
12883
|
"Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
|
|
@@ -13252,4 +13252,4 @@ export {
|
|
|
13252
13252
|
CONSENSUS_VOTE_OUTPUT_SCHEMA,
|
|
13253
13253
|
registerConsensusVoteTool
|
|
13254
13254
|
};
|
|
13255
|
-
//# sourceMappingURL=chunk-
|
|
13255
|
+
//# sourceMappingURL=chunk-TSS7VN3V.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TASK_CATEGORIES,
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
getOutcomeStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NV63LTMM.js";
|
|
6
6
|
|
|
7
7
|
// src/cli/doctor-deep.ts
|
|
8
8
|
var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
runDeepDiagnostics,
|
|
107
107
|
formatDeepDiagnostics
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-UFHFX2GX.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
err,
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
ok
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NV63LTMM.js";
|
|
7
7
|
|
|
8
8
|
// src/scm/types.ts
|
|
9
9
|
var ScmError = class extends Error {
|
|
@@ -243,4 +243,4 @@ export {
|
|
|
243
243
|
ScmError,
|
|
244
244
|
GitHubProvider
|
|
245
245
|
};
|
|
246
|
-
//# sourceMappingURL=chunk-
|
|
246
|
+
//# sourceMappingURL=chunk-VOBYREAG.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NV63LTMM.js";
|
|
6
6
|
|
|
7
7
|
// src/scm/token-resolver.ts
|
|
8
8
|
import { execFile } from "child_process";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
hasToken,
|
|
88
88
|
getTokenEnvVars
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-WDWKKJHZ.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CliCircuitBreakerIntegration,
|
|
3
3
|
createCliCircuitBreakerIntegration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-F2YQX6Q6.js";
|
|
5
|
+
import "./chunk-P5NBYCEC.js";
|
|
6
|
+
import "./chunk-NV63LTMM.js";
|
|
7
7
|
import "./chunk-LJT65EA7.js";
|
|
8
8
|
import "./chunk-FDNWRZNJ.js";
|
|
9
9
|
import "./chunk-UP2VWCW5.js";
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
CliCircuitBreakerIntegration,
|
|
12
12
|
createCliCircuitBreakerIntegration
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=cli-circuit-breaker-
|
|
14
|
+
//# sourceMappingURL=cli-circuit-breaker-JE6XKLUG.js.map
|
package/dist/cli.js
CHANGED
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
parseFindings,
|
|
13
13
|
sumFindings
|
|
14
14
|
} from "./chunk-6E3NMMEY.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-UFHFX2GX.js";
|
|
16
16
|
import {
|
|
17
17
|
setupCommandAsync,
|
|
18
18
|
verifyCommand
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-OKU3VXWC.js";
|
|
20
|
+
import "./chunk-5CYDU2VX.js";
|
|
21
21
|
import {
|
|
22
22
|
AuthHandler,
|
|
23
23
|
DEFAULT_EXPERTS,
|
|
@@ -142,16 +142,16 @@ import {
|
|
|
142
142
|
validateCommand,
|
|
143
143
|
validateWorkflow,
|
|
144
144
|
wrapInMarkdownFence
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-CUGQAPGY.js";
|
|
146
146
|
import "./chunk-ED6VQWNG.js";
|
|
147
147
|
import {
|
|
148
148
|
resolveToken
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-WDWKKJHZ.js";
|
|
150
150
|
import {
|
|
151
151
|
CATEGORY_DISPLAY_NAMES,
|
|
152
152
|
DEFAULT_PR_REVIEW_CONFIG
|
|
153
153
|
} from "./chunk-X2M7OF27.js";
|
|
154
|
-
import "./chunk-
|
|
154
|
+
import "./chunk-SUR2TLIG.js";
|
|
155
155
|
import {
|
|
156
156
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
157
157
|
THRESHOLD_MAP,
|
|
@@ -164,23 +164,23 @@ import {
|
|
|
164
164
|
shutdownToolMemory,
|
|
165
165
|
validateTimeout,
|
|
166
166
|
warnIfSimulatedOutsideTests
|
|
167
|
-
} from "./chunk-
|
|
168
|
-
import "./chunk-
|
|
167
|
+
} from "./chunk-TSS7VN3V.js";
|
|
168
|
+
import "./chunk-3BLWO2ZM.js";
|
|
169
169
|
import {
|
|
170
170
|
loadPapersRegistry,
|
|
171
171
|
loadTechniquesRegistry,
|
|
172
172
|
savePapersRegistry,
|
|
173
173
|
synthesizeResearch
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-3H44UAHW.js";
|
|
175
175
|
import {
|
|
176
176
|
classifyTrust,
|
|
177
177
|
createFullGitHubProvider,
|
|
178
178
|
evaluatePolicy,
|
|
179
179
|
parsePRUrl,
|
|
180
180
|
sanitizeInput
|
|
181
|
-
} from "./chunk-
|
|
182
|
-
import "./chunk-
|
|
183
|
-
import "./chunk-
|
|
181
|
+
} from "./chunk-CQXNX6BQ.js";
|
|
182
|
+
import "./chunk-VOBYREAG.js";
|
|
183
|
+
import "./chunk-5HQJGYYM.js";
|
|
184
184
|
import "./chunk-BC3M4VLP.js";
|
|
185
185
|
import "./chunk-AP2FD37C.js";
|
|
186
186
|
import "./chunk-BQ4YXGGQ.js";
|
|
@@ -202,29 +202,29 @@ import {
|
|
|
202
202
|
loadConfig,
|
|
203
203
|
runDoctor,
|
|
204
204
|
validateNexusEnv
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-HRTGSG4L.js";
|
|
206
206
|
import {
|
|
207
207
|
DEFAULTS
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-6MRF2PE2.js";
|
|
209
209
|
import "./chunk-NUBSJGQZ.js";
|
|
210
210
|
import {
|
|
211
211
|
createAllAdapters,
|
|
212
212
|
getAvailableClis,
|
|
213
213
|
isRecord
|
|
214
|
-
} from "./chunk-
|
|
215
|
-
import "./chunk-
|
|
216
|
-
import "./chunk-
|
|
214
|
+
} from "./chunk-N36KDK3E.js";
|
|
215
|
+
import "./chunk-O3CBMPGT.js";
|
|
216
|
+
import "./chunk-TR74DSB4.js";
|
|
217
217
|
import {
|
|
218
218
|
MemoryError
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-O4AJGETH.js";
|
|
220
220
|
import {
|
|
221
221
|
capitalize,
|
|
222
222
|
capitalizeKebab,
|
|
223
223
|
truncateSentence
|
|
224
224
|
} from "./chunk-633WH2ML.js";
|
|
225
|
-
import "./chunk-
|
|
226
|
-
import "./chunk-
|
|
227
|
-
import "./chunk-
|
|
225
|
+
import "./chunk-R4FVXOZF.js";
|
|
226
|
+
import "./chunk-F2YQX6Q6.js";
|
|
227
|
+
import "./chunk-P5NBYCEC.js";
|
|
228
228
|
import {
|
|
229
229
|
API_TIMEOUTS,
|
|
230
230
|
AgentCapability,
|
|
@@ -289,7 +289,7 @@ import {
|
|
|
289
289
|
toError,
|
|
290
290
|
writeEmptyLine,
|
|
291
291
|
writeLine
|
|
292
|
-
} from "./chunk-
|
|
292
|
+
} from "./chunk-NV63LTMM.js";
|
|
293
293
|
import "./chunk-LJT65EA7.js";
|
|
294
294
|
import {
|
|
295
295
|
getNexusDataDir,
|
|
@@ -17736,7 +17736,7 @@ function isValidCommand(value) {
|
|
|
17736
17736
|
}
|
|
17737
17737
|
|
|
17738
17738
|
// src/cli-commands-handlers.ts
|
|
17739
|
-
import { existsSync as
|
|
17739
|
+
import { existsSync as existsSync21 } from "fs";
|
|
17740
17740
|
|
|
17741
17741
|
// src/cli/init-portable.ts
|
|
17742
17742
|
import {
|
|
@@ -18309,7 +18309,7 @@ var DevPipelineInputSchema = z9.object({
|
|
|
18309
18309
|
"'autonomous': full pipeline. 'harness': stops after decompose, returns tasks for caller to implement."
|
|
18310
18310
|
)
|
|
18311
18311
|
});
|
|
18312
|
-
function resolveTaskInput(input) {
|
|
18312
|
+
async function resolveTaskInput(input) {
|
|
18313
18313
|
if (input.task !== void 0 && input.task.trim() !== "") {
|
|
18314
18314
|
return input.task;
|
|
18315
18315
|
}
|
|
@@ -18319,10 +18319,14 @@ function resolveTaskInput(input) {
|
|
|
18319
18319
|
if (!resolved.startsWith(cwdRoot)) {
|
|
18320
18320
|
throw new Error(`Path traversal denied: planFile must be within ${cwdRoot}`);
|
|
18321
18321
|
}
|
|
18322
|
-
|
|
18323
|
-
|
|
18322
|
+
try {
|
|
18323
|
+
return await fs17.promises.readFile(resolved, "utf-8");
|
|
18324
|
+
} catch (err2) {
|
|
18325
|
+
if (err2.code === "ENOENT") {
|
|
18326
|
+
throw new Error(`Plan file not found: ${resolved}`);
|
|
18327
|
+
}
|
|
18328
|
+
throw err2;
|
|
18324
18329
|
}
|
|
18325
|
-
return fs17.readFileSync(resolved, "utf-8");
|
|
18326
18330
|
}
|
|
18327
18331
|
throw new Error("Either task or planFile must be provided");
|
|
18328
18332
|
}
|
|
@@ -18356,39 +18360,44 @@ function buildStructuredOutput(result) {
|
|
|
18356
18360
|
}))
|
|
18357
18361
|
};
|
|
18358
18362
|
}
|
|
18363
|
+
var RUN_DEV_PIPELINE_DESCRIPTION = "Run the multi-agent development pipeline. Accepts direct task instructions, a plan file, or a spec file. Supports dry-run (plan+vote only).";
|
|
18359
18364
|
function registerDevPipelineTool(server, _deps) {
|
|
18360
|
-
server.
|
|
18361
|
-
|
|
18362
|
-
|
|
18363
|
-
|
|
18364
|
-
|
|
18365
|
-
|
|
18366
|
-
|
|
18367
|
-
|
|
18368
|
-
|
|
18369
|
-
|
|
18370
|
-
|
|
18371
|
-
|
|
18372
|
-
|
|
18373
|
-
|
|
18374
|
-
|
|
18375
|
-
|
|
18376
|
-
|
|
18377
|
-
|
|
18378
|
-
|
|
18379
|
-
|
|
18380
|
-
|
|
18381
|
-
|
|
18382
|
-
|
|
18383
|
-
|
|
18384
|
-
|
|
18385
|
-
|
|
18386
|
-
|
|
18387
|
-
|
|
18388
|
-
|
|
18389
|
-
|
|
18365
|
+
server.registerTool(
|
|
18366
|
+
"run_dev_pipeline",
|
|
18367
|
+
{ description: RUN_DEV_PIPELINE_DESCRIPTION, inputSchema: DevPipelineInputSchema.shape },
|
|
18368
|
+
async (args) => {
|
|
18369
|
+
const input = DevPipelineInputSchema.parse(args);
|
|
18370
|
+
if (input.simulateVotes) {
|
|
18371
|
+
warnIfSimulatedOutsideTests("run_dev_pipeline", createLogger({ tool: "run_dev_pipeline" }));
|
|
18372
|
+
}
|
|
18373
|
+
try {
|
|
18374
|
+
const taskText = await resolveTaskInput(input);
|
|
18375
|
+
const stages = await createStages(input);
|
|
18376
|
+
const pipelineOptions = {
|
|
18377
|
+
...input.sessionId !== void 0 ? { sessionId: input.sessionId } : {},
|
|
18378
|
+
...input.dryRun ? { dryRun: true } : {},
|
|
18379
|
+
...input.mode === "harness" ? { mode: "harness" } : {}
|
|
18380
|
+
};
|
|
18381
|
+
const hasOptions = Object.keys(pipelineOptions).length > 0;
|
|
18382
|
+
const result = await runDevPipeline(
|
|
18383
|
+
taskText,
|
|
18384
|
+
stages,
|
|
18385
|
+
hasOptions ? pipelineOptions : void 0
|
|
18386
|
+
);
|
|
18387
|
+
flushPipelineMemory();
|
|
18388
|
+
const structured = buildStructuredOutput(result);
|
|
18389
|
+
return {
|
|
18390
|
+
content: [{ type: "text", text: JSON.stringify(structured, null, 2) }],
|
|
18391
|
+
structuredContent: structured
|
|
18392
|
+
};
|
|
18393
|
+
} catch (error) {
|
|
18394
|
+
return {
|
|
18395
|
+
content: [{ type: "text", text: `Pipeline error: ${getErrorMessage(error)}` }],
|
|
18396
|
+
isError: true
|
|
18397
|
+
};
|
|
18398
|
+
}
|
|
18390
18399
|
}
|
|
18391
|
-
|
|
18400
|
+
);
|
|
18392
18401
|
}
|
|
18393
18402
|
|
|
18394
18403
|
// src/cli-server-stpa.ts
|
|
@@ -18757,8 +18766,8 @@ var UpstreamClientManager = class {
|
|
|
18757
18766
|
}
|
|
18758
18767
|
/** Shut down all upstream connections. */
|
|
18759
18768
|
async shutdownAll() {
|
|
18760
|
-
const
|
|
18761
|
-
await Promise.allSettled(
|
|
18769
|
+
const promises2 = [...this.clients.values()].map((c) => c.shutdown());
|
|
18770
|
+
await Promise.allSettled(promises2);
|
|
18762
18771
|
this.clients.clear();
|
|
18763
18772
|
this.log.info("All upstream servers shut down");
|
|
18764
18773
|
}
|
|
@@ -21076,8 +21085,8 @@ function printFirstRunHint() {
|
|
|
21076
21085
|
const isTTY = process.stderr.isTTY;
|
|
21077
21086
|
if (!isTTY) return;
|
|
21078
21087
|
const dataDir = getNexusDataDir();
|
|
21079
|
-
const hasConfig =
|
|
21080
|
-
if (
|
|
21088
|
+
const hasConfig = existsSync21("./nexus-agents.yaml") || existsSync21("./nexus-agents.yml");
|
|
21089
|
+
if (existsSync21(dataDir) || hasConfig) return;
|
|
21081
21090
|
process.stderr.write(
|
|
21082
21091
|
"\n\x1B[36mnexus-agents\x1B[0m: First time? Run \x1B[1mnexus-agents setup\x1B[0m to configure.\n\n"
|
|
21083
21092
|
);
|
|
@@ -21189,7 +21198,7 @@ async function handleResearchCommand(args) {
|
|
|
21189
21198
|
}
|
|
21190
21199
|
}
|
|
21191
21200
|
async function handleRegistryCommand(args) {
|
|
21192
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
21201
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-BS75IWSA.js");
|
|
21193
21202
|
const subcommand = args.subcommand;
|
|
21194
21203
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
21195
21204
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -21237,7 +21246,7 @@ async function handleVerifyCommand(args) {
|
|
|
21237
21246
|
async function handleDoctorCommand(args) {
|
|
21238
21247
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
21239
21248
|
if (args.options.deep) {
|
|
21240
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
21249
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-DGY2N4U2.js");
|
|
21241
21250
|
const diag = runDeepDiagnostics2();
|
|
21242
21251
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
21243
21252
|
}
|
|
@@ -21293,7 +21302,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
21293
21302
|
process.exit(exitCode === 0 ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
21294
21303
|
}
|
|
21295
21304
|
async function runCustomApiSetup(args) {
|
|
21296
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
21305
|
+
const { configureCustomApi } = await import("./setup-custom-api-4DZABP47.js");
|
|
21297
21306
|
const baseUrl = args.options.customApi;
|
|
21298
21307
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
21299
21308
|
const input = {
|