nexus-agents 2.63.3 → 2.63.5
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-53FRKIEQ.js → chunk-3K6O2OL5.js} +7 -7
- 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-CDWQP3UC.js → chunk-F2YQX6Q6.js} +3 -3
- package/dist/{chunk-KLZHA5KA.js → chunk-GISQ3EJB.js} +4 -4
- package/dist/{chunk-F4XV6DGK.js → chunk-LDLLFUM4.js} +5 -5
- package/dist/{chunk-WYKMVZZS.js → chunk-LQPW7LIC.js} +144 -103
- package/dist/chunk-LQPW7LIC.js.map +1 -0
- 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-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 +61 -56
- 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-2JSXOAIS.js → setup-command-F3NRMEDS.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-WYKMVZZS.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-53FRKIEQ.js.map → chunk-3K6O2OL5.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-F4XV6DGK.js.map → chunk-LDLLFUM4.js.map} +0 -0
- /package/dist/{chunk-KVZNQWWI.js.map → chunk-O4AJGETH.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-2JSXOAIS.js.map → setup-command-F3NRMEDS.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
|
|
@@ -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-LDLLFUM4.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-LQPW7LIC.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-3K6O2OL5.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,
|
|
@@ -18356,39 +18356,44 @@ function buildStructuredOutput(result) {
|
|
|
18356
18356
|
}))
|
|
18357
18357
|
};
|
|
18358
18358
|
}
|
|
18359
|
+
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
18360
|
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
|
-
|
|
18361
|
+
server.registerTool(
|
|
18362
|
+
"run_dev_pipeline",
|
|
18363
|
+
{ description: RUN_DEV_PIPELINE_DESCRIPTION, inputSchema: DevPipelineInputSchema.shape },
|
|
18364
|
+
async (args) => {
|
|
18365
|
+
const input = DevPipelineInputSchema.parse(args);
|
|
18366
|
+
if (input.simulateVotes) {
|
|
18367
|
+
warnIfSimulatedOutsideTests("run_dev_pipeline", createLogger({ tool: "run_dev_pipeline" }));
|
|
18368
|
+
}
|
|
18369
|
+
try {
|
|
18370
|
+
const taskText = resolveTaskInput(input);
|
|
18371
|
+
const stages = await createStages(input);
|
|
18372
|
+
const pipelineOptions = {
|
|
18373
|
+
...input.sessionId !== void 0 ? { sessionId: input.sessionId } : {},
|
|
18374
|
+
...input.dryRun ? { dryRun: true } : {},
|
|
18375
|
+
...input.mode === "harness" ? { mode: "harness" } : {}
|
|
18376
|
+
};
|
|
18377
|
+
const hasOptions = Object.keys(pipelineOptions).length > 0;
|
|
18378
|
+
const result = await runDevPipeline(
|
|
18379
|
+
taskText,
|
|
18380
|
+
stages,
|
|
18381
|
+
hasOptions ? pipelineOptions : void 0
|
|
18382
|
+
);
|
|
18383
|
+
flushPipelineMemory();
|
|
18384
|
+
const structured = buildStructuredOutput(result);
|
|
18385
|
+
return {
|
|
18386
|
+
content: [{ type: "text", text: JSON.stringify(structured, null, 2) }],
|
|
18387
|
+
structuredContent: structured
|
|
18388
|
+
};
|
|
18389
|
+
} catch (error) {
|
|
18390
|
+
return {
|
|
18391
|
+
content: [{ type: "text", text: `Pipeline error: ${getErrorMessage(error)}` }],
|
|
18392
|
+
isError: true
|
|
18393
|
+
};
|
|
18394
|
+
}
|
|
18390
18395
|
}
|
|
18391
|
-
|
|
18396
|
+
);
|
|
18392
18397
|
}
|
|
18393
18398
|
|
|
18394
18399
|
// src/cli-server-stpa.ts
|
|
@@ -21189,7 +21194,7 @@ async function handleResearchCommand(args) {
|
|
|
21189
21194
|
}
|
|
21190
21195
|
}
|
|
21191
21196
|
async function handleRegistryCommand(args) {
|
|
21192
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
21197
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-BS75IWSA.js");
|
|
21193
21198
|
const subcommand = args.subcommand;
|
|
21194
21199
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
21195
21200
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -21237,7 +21242,7 @@ async function handleVerifyCommand(args) {
|
|
|
21237
21242
|
async function handleDoctorCommand(args) {
|
|
21238
21243
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
21239
21244
|
if (args.options.deep) {
|
|
21240
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
21245
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-DGY2N4U2.js");
|
|
21241
21246
|
const diag = runDeepDiagnostics2();
|
|
21242
21247
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
21243
21248
|
}
|
|
@@ -21293,7 +21298,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
21293
21298
|
process.exit(exitCode === 0 ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
21294
21299
|
}
|
|
21295
21300
|
async function runCustomApiSetup(args) {
|
|
21296
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
21301
|
+
const { configureCustomApi } = await import("./setup-custom-api-4DZABP47.js");
|
|
21297
21302
|
const baseUrl = args.options.customApi;
|
|
21298
21303
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
21299
21304
|
const input = {
|