nexus-agents 2.120.3 → 2.121.0
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/{child-mcp-config-RDUL6TEN.js → child-mcp-config-2VKCPJFN.js} +2 -2
- package/dist/{chunk-HBAZPTKZ.js → chunk-2HGP6ULG.js} +3 -3
- package/dist/{chunk-PGAZT4UC.js → chunk-2RDMM34Q.js} +4 -4
- package/dist/{chunk-KDST2V5V.js → chunk-7AFG6XPX.js} +4 -4
- package/dist/{chunk-RACI64HA.js → chunk-ABEEA7GE.js} +2 -2
- package/dist/{chunk-JZUZJFR7.js → chunk-BXGM23KU.js} +2 -2
- package/dist/{chunk-74FAWZDF.js → chunk-CCXELQLN.js} +2 -2
- package/dist/{chunk-53L2CIZK.js → chunk-EQJBCD5V.js} +5 -5
- package/dist/{chunk-OQL2SBS2.js → chunk-GALPN7L7.js} +7 -7
- package/dist/{chunk-HR5IN77R.js → chunk-GH2APUQH.js} +2 -2
- package/dist/{chunk-EXC3AYWU.js → chunk-GZTEATXE.js} +2 -2
- package/dist/{chunk-JQBGO5XS.js → chunk-ISMAOCQF.js} +3 -3
- package/dist/{chunk-PN6BFDVL.js → chunk-JXJBIYB3.js} +2 -2
- package/dist/{chunk-4DUL5HKB.js → chunk-LRZDIUKF.js} +34 -32
- package/dist/{chunk-4DUL5HKB.js.map → chunk-LRZDIUKF.js.map} +1 -1
- package/dist/{chunk-4AICTG5E.js → chunk-LWGFT2SR.js} +2 -2
- package/dist/{chunk-HCBALIWN.js → chunk-MPQLSXGA.js} +7 -7
- package/dist/{chunk-TAJN2TAF.js → chunk-MPVBOJ45.js} +3 -3
- package/dist/{chunk-LICZWNOC.js → chunk-MVHXZ4QD.js} +2 -2
- package/dist/{chunk-5CIKBB4B.js → chunk-NKPQYJY7.js} +2 -2
- package/dist/{chunk-MRBKDEBX.js → chunk-Q2BZHIQ7.js} +2 -2
- package/dist/{chunk-KPZ7LI5U.js → chunk-QMEWA725.js} +4 -4
- package/dist/{chunk-XOQEPBSL.js → chunk-QRYXTJ7R.js} +7 -7
- package/dist/{chunk-OZGVNH5E.js → chunk-QSTDUYYW.js} +2 -2
- package/dist/{chunk-CBJZ5OXG.js → chunk-SOOKEFDV.js} +3 -3
- package/dist/{chunk-3A6MVIMV.js → chunk-TBD4RME4.js} +2 -2
- package/dist/{chunk-TW4DWZHR.js → chunk-WQTW3P7G.js} +104 -6
- package/dist/chunk-WQTW3P7G.js.map +1 -0
- package/dist/{chunk-S7JNS4NN.js → chunk-XH3YQ3WR.js} +3 -3
- package/dist/{chunk-DWXR7MPD.js → chunk-XKM77XGF.js} +7 -7
- package/dist/chunk-XKM77XGF.js.map +1 -0
- package/dist/{chunk-CBTGEHTF.js → chunk-XTLYRC3T.js} +3 -3
- package/dist/{chunk-NT7LFPXT.js → chunk-YB6L5KQM.js} +7 -7
- package/dist/{chunk-3A5RSSNS.js → chunk-YJQ5TT7K.js} +2 -2
- package/dist/{chunk-FUZ2LMMD.js → chunk-YLDE6JFI.js} +2 -2
- package/dist/{cli-circuit-breaker-UBXYD743.js → cli-circuit-breaker-MMQ5RKB6.js} +4 -4
- package/dist/cli.js +38 -38
- package/dist/{composite-router-MBOLQYU5.js → composite-router-XOFOTKKJ.js} +2 -2
- package/dist/{consensus-vote-ALLKZH6O.js → consensus-vote-23JQL3E6.js} +12 -12
- package/dist/{context-retriever-Z33ENLKK.js → context-retriever-HJXNWDJD.js} +8 -8
- package/dist/{doctor-deep-CNCAD3EL.js → doctor-deep-RUKMAAUU.js} +3 -3
- package/dist/{expert-bridge-I4AAMYLC.js → expert-bridge-FMVOGXK5.js} +4 -4
- package/dist/{factory-XCCAP6N5.js → factory-CLM5MU7Z.js} +5 -5
- package/dist/factory-JUBBJMOG.js +21 -0
- package/dist/{improvement-review-ZOKIYJSL.js → improvement-review-6XCXK7NM.js} +4 -4
- package/dist/index.d.ts +197 -197
- package/dist/index.js +32 -29
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-3CBGVXLE.js → init-opencode-KXWPKS7G.js} +5 -5
- package/dist/{issue-triage-O4OQWBK4.js → issue-triage-36WSQVQ6.js} +5 -5
- package/dist/{pr-reviewer-helpers-3URXL6EB.js → pr-reviewer-helpers-I453NFO2.js} +4 -4
- package/dist/{registry-command-WGRIA4KZ.js → registry-command-VN7H4OHW.js} +2 -2
- package/dist/{repo-security-plan-52QYE2BH.js → repo-security-plan-AKT576RI.js} +3 -3
- package/dist/{research-helpers-synthesize-YFCTIOSG.js → research-helpers-synthesize-C2JMQ2SJ.js} +4 -4
- package/dist/{routing-memory-PBMMTURL.js → routing-memory-ZZGCZ276.js} +2 -2
- package/dist/{session-memory-ZTHW5UXC.js → session-memory-4FAK3KM2.js} +3 -3
- package/dist/{setup-command-7X3PEAHU.js → setup-command-LRU665GR.js} +11 -11
- package/dist/{setup-config-OSTBQXXX.js → setup-config-T74AMF6L.js} +3 -3
- package/dist/{setup-custom-api-AGZEJR2A.js → setup-custom-api-XA5AACLB.js} +3 -3
- package/dist/{tool-memory-DQHPHYTA.js → tool-memory-ZE3ZLAJJ.js} +5 -5
- package/dist/{weather-report-H6ESCY7I.js → weather-report-KE53XAGC.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-DWXR7MPD.js.map +0 -1
- package/dist/chunk-TW4DWZHR.js.map +0 -1
- package/dist/factory-2ZPUMTHZ.js +0 -21
- /package/dist/{child-mcp-config-RDUL6TEN.js.map → child-mcp-config-2VKCPJFN.js.map} +0 -0
- /package/dist/{chunk-HBAZPTKZ.js.map → chunk-2HGP6ULG.js.map} +0 -0
- /package/dist/{chunk-PGAZT4UC.js.map → chunk-2RDMM34Q.js.map} +0 -0
- /package/dist/{chunk-KDST2V5V.js.map → chunk-7AFG6XPX.js.map} +0 -0
- /package/dist/{chunk-RACI64HA.js.map → chunk-ABEEA7GE.js.map} +0 -0
- /package/dist/{chunk-JZUZJFR7.js.map → chunk-BXGM23KU.js.map} +0 -0
- /package/dist/{chunk-74FAWZDF.js.map → chunk-CCXELQLN.js.map} +0 -0
- /package/dist/{chunk-53L2CIZK.js.map → chunk-EQJBCD5V.js.map} +0 -0
- /package/dist/{chunk-OQL2SBS2.js.map → chunk-GALPN7L7.js.map} +0 -0
- /package/dist/{chunk-HR5IN77R.js.map → chunk-GH2APUQH.js.map} +0 -0
- /package/dist/{chunk-EXC3AYWU.js.map → chunk-GZTEATXE.js.map} +0 -0
- /package/dist/{chunk-JQBGO5XS.js.map → chunk-ISMAOCQF.js.map} +0 -0
- /package/dist/{chunk-PN6BFDVL.js.map → chunk-JXJBIYB3.js.map} +0 -0
- /package/dist/{chunk-4AICTG5E.js.map → chunk-LWGFT2SR.js.map} +0 -0
- /package/dist/{chunk-HCBALIWN.js.map → chunk-MPQLSXGA.js.map} +0 -0
- /package/dist/{chunk-TAJN2TAF.js.map → chunk-MPVBOJ45.js.map} +0 -0
- /package/dist/{chunk-LICZWNOC.js.map → chunk-MVHXZ4QD.js.map} +0 -0
- /package/dist/{chunk-5CIKBB4B.js.map → chunk-NKPQYJY7.js.map} +0 -0
- /package/dist/{chunk-MRBKDEBX.js.map → chunk-Q2BZHIQ7.js.map} +0 -0
- /package/dist/{chunk-KPZ7LI5U.js.map → chunk-QMEWA725.js.map} +0 -0
- /package/dist/{chunk-XOQEPBSL.js.map → chunk-QRYXTJ7R.js.map} +0 -0
- /package/dist/{chunk-OZGVNH5E.js.map → chunk-QSTDUYYW.js.map} +0 -0
- /package/dist/{chunk-CBJZ5OXG.js.map → chunk-SOOKEFDV.js.map} +0 -0
- /package/dist/{chunk-3A6MVIMV.js.map → chunk-TBD4RME4.js.map} +0 -0
- /package/dist/{chunk-S7JNS4NN.js.map → chunk-XH3YQ3WR.js.map} +0 -0
- /package/dist/{chunk-CBTGEHTF.js.map → chunk-XTLYRC3T.js.map} +0 -0
- /package/dist/{chunk-NT7LFPXT.js.map → chunk-YB6L5KQM.js.map} +0 -0
- /package/dist/{chunk-3A5RSSNS.js.map → chunk-YJQ5TT7K.js.map} +0 -0
- /package/dist/{chunk-FUZ2LMMD.js.map → chunk-YLDE6JFI.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-UBXYD743.js.map → cli-circuit-breaker-MMQ5RKB6.js.map} +0 -0
- /package/dist/{composite-router-MBOLQYU5.js.map → composite-router-XOFOTKKJ.js.map} +0 -0
- /package/dist/{consensus-vote-ALLKZH6O.js.map → consensus-vote-23JQL3E6.js.map} +0 -0
- /package/dist/{context-retriever-Z33ENLKK.js.map → context-retriever-HJXNWDJD.js.map} +0 -0
- /package/dist/{doctor-deep-CNCAD3EL.js.map → doctor-deep-RUKMAAUU.js.map} +0 -0
- /package/dist/{expert-bridge-I4AAMYLC.js.map → expert-bridge-FMVOGXK5.js.map} +0 -0
- /package/dist/{factory-2ZPUMTHZ.js.map → factory-CLM5MU7Z.js.map} +0 -0
- /package/dist/{factory-XCCAP6N5.js.map → factory-JUBBJMOG.js.map} +0 -0
- /package/dist/{improvement-review-ZOKIYJSL.js.map → improvement-review-6XCXK7NM.js.map} +0 -0
- /package/dist/{init-opencode-3CBGVXLE.js.map → init-opencode-KXWPKS7G.js.map} +0 -0
- /package/dist/{issue-triage-O4OQWBK4.js.map → issue-triage-36WSQVQ6.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-3URXL6EB.js.map → pr-reviewer-helpers-I453NFO2.js.map} +0 -0
- /package/dist/{registry-command-WGRIA4KZ.js.map → registry-command-VN7H4OHW.js.map} +0 -0
- /package/dist/{repo-security-plan-52QYE2BH.js.map → repo-security-plan-AKT576RI.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-YFCTIOSG.js.map → research-helpers-synthesize-C2JMQ2SJ.js.map} +0 -0
- /package/dist/{routing-memory-PBMMTURL.js.map → routing-memory-ZZGCZ276.js.map} +0 -0
- /package/dist/{session-memory-ZTHW5UXC.js.map → session-memory-4FAK3KM2.js.map} +0 -0
- /package/dist/{setup-command-7X3PEAHU.js.map → setup-command-LRU665GR.js.map} +0 -0
- /package/dist/{setup-config-OSTBQXXX.js.map → setup-config-T74AMF6L.js.map} +0 -0
- /package/dist/{setup-custom-api-AGZEJR2A.js.map → setup-custom-api-XA5AACLB.js.map} +0 -0
- /package/dist/{tool-memory-DQHPHYTA.js.map → tool-memory-ZE3ZLAJJ.js.map} +0 -0
- /package/dist/{weather-report-H6ESCY7I.js.map → weather-report-KE53XAGC.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLogger
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WQTW3P7G.js";
|
|
4
4
|
import "./chunk-CH7QIDHQ.js";
|
|
5
5
|
import "./chunk-PR4QN5HX.js";
|
|
6
6
|
|
|
@@ -59,4 +59,4 @@ export {
|
|
|
59
59
|
generateMcpConfig,
|
|
60
60
|
getDefaultAllowedTools
|
|
61
61
|
};
|
|
62
|
-
//# sourceMappingURL=child-mcp-config-
|
|
62
|
+
//# sourceMappingURL=child-mcp-config-2VKCPJFN.js.map
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
createStream,
|
|
4
4
|
requireApiKey,
|
|
5
5
|
validateApiKeyPresence
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YJQ5TT7K.js";
|
|
7
7
|
import {
|
|
8
8
|
ModelCapability,
|
|
9
9
|
err,
|
|
10
10
|
getCliModelName,
|
|
11
11
|
getTokenEstimator,
|
|
12
12
|
ok
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WQTW3P7G.js";
|
|
14
14
|
|
|
15
15
|
// src/adapters/openai-types.ts
|
|
16
16
|
var OPENAI_MODELS = {
|
|
@@ -553,4 +553,4 @@ export {
|
|
|
553
553
|
OpenAIAdapter,
|
|
554
554
|
createOpenAIAdapter
|
|
555
555
|
};
|
|
556
|
-
//# sourceMappingURL=chunk-
|
|
556
|
+
//# sourceMappingURL=chunk-2HGP6ULG.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-6T3EPABN.js";
|
|
6
6
|
import {
|
|
7
7
|
generateId
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MVHXZ4QD.js";
|
|
9
9
|
import {
|
|
10
10
|
getMemoryRegistry
|
|
11
11
|
} from "./chunk-PQHVC4BD.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionMemory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BXGM23KU.js";
|
|
15
15
|
import {
|
|
16
16
|
ErrorCode,
|
|
17
17
|
NexusError,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
getTimeProvider,
|
|
25
25
|
ok,
|
|
26
26
|
setSharedMobiMemDbPathResolver
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WQTW3P7G.js";
|
|
28
28
|
import {
|
|
29
29
|
nexusDataPath
|
|
30
30
|
} from "./chunk-CH7QIDHQ.js";
|
|
@@ -5612,4 +5612,4 @@ export {
|
|
|
5612
5612
|
reinitializeMemoryBackends,
|
|
5613
5613
|
ToolMemoryManager
|
|
5614
5614
|
};
|
|
5615
|
-
//# sourceMappingURL=chunk-
|
|
5615
|
+
//# sourceMappingURL=chunk-2RDMM34Q.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TBD4RME4.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveToken
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GH2APUQH.js";
|
|
8
8
|
import {
|
|
9
9
|
err,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WQTW3P7G.js";
|
|
12
12
|
|
|
13
13
|
// src/scm/factory.ts
|
|
14
14
|
async function createScmProvider(config) {
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
createScmProvider,
|
|
42
42
|
createGitHubProvider
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-7AFG6XPX.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
createLogger,
|
|
16
16
|
err,
|
|
17
17
|
ok
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WQTW3P7G.js";
|
|
19
19
|
|
|
20
20
|
// src/config/defaults.ts
|
|
21
21
|
var CUSTOM_API_DEFAULT_MODEL = "gpt-4o";
|
|
@@ -396,4 +396,4 @@ export {
|
|
|
396
396
|
validateCustomApiBaseUrl,
|
|
397
397
|
assertCustomApiHostResolvesPublic
|
|
398
398
|
};
|
|
399
|
-
//# sourceMappingURL=chunk-
|
|
399
|
+
//# sourceMappingURL=chunk-ABEEA7GE.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
getTimeProvider,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WQTW3P7G.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-BXGM23KU.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WQTW3P7G.js";
|
|
7
7
|
|
|
8
8
|
// src/config/model-availability.ts
|
|
9
9
|
var DEFAULT_TTL_MS = 6e4;
|
|
@@ -150,4 +150,4 @@ export {
|
|
|
150
150
|
resetAvailabilityCache,
|
|
151
151
|
filterAvailableModels
|
|
152
152
|
};
|
|
153
|
-
//# sourceMappingURL=chunk-
|
|
153
|
+
//# sourceMappingURL=chunk-CCXELQLN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runConfigInitSync
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QSTDUYYW.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-QRYXTJ7R.js";
|
|
12
12
|
import {
|
|
13
13
|
probeAllClis
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YB6L5KQM.js";
|
|
15
15
|
import {
|
|
16
16
|
BUILT_IN_EXPERTS
|
|
17
17
|
} from "./chunk-ZM4O442V.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
getErrorMessage,
|
|
26
26
|
getTimeProvider,
|
|
27
27
|
symbols
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WQTW3P7G.js";
|
|
29
29
|
import {
|
|
30
30
|
ensureGitignored,
|
|
31
31
|
findRepoRoot
|
|
@@ -2000,4 +2000,4 @@ export {
|
|
|
2000
2000
|
setupCommand,
|
|
2001
2001
|
setupCommandAsync
|
|
2002
2002
|
};
|
|
2003
|
-
//# sourceMappingURL=chunk-
|
|
2003
|
+
//# sourceMappingURL=chunk-EQJBCD5V.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CCXELQLN.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WQTW3P7G.js";
|
|
9
9
|
|
|
10
10
|
// src/pipeline/expert-bridge.ts
|
|
11
11
|
function resolveCliFromModelString(model) {
|
|
@@ -21,7 +21,7 @@ async function getMcpConfigPath() {
|
|
|
21
21
|
if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
|
|
22
22
|
mcpConfigInitPromise ??= (async () => {
|
|
23
23
|
try {
|
|
24
|
-
const { generateMcpConfig } = await import("./child-mcp-config-
|
|
24
|
+
const { generateMcpConfig } = await import("./child-mcp-config-2VKCPJFN.js");
|
|
25
25
|
const config = await generateMcpConfig();
|
|
26
26
|
cachedMcpConfigPath = config.configPath;
|
|
27
27
|
cachedMcpConfigCleanup = config.cleanup;
|
|
@@ -93,8 +93,8 @@ var routerInitPromise = null;
|
|
|
93
93
|
async function getRouter() {
|
|
94
94
|
if (cachedRouter !== null) return cachedRouter;
|
|
95
95
|
routerInitPromise ??= (async () => {
|
|
96
|
-
const { createAllAdapters } = await import("./factory-
|
|
97
|
-
const { createCompositeRouter } = await import("./composite-router-
|
|
96
|
+
const { createAllAdapters } = await import("./factory-JUBBJMOG.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-XOFOTKKJ.js");
|
|
98
98
|
const adapters = createAllAdapters();
|
|
99
99
|
if (adapters.size === 0) {
|
|
100
100
|
routerInitPromise = null;
|
|
@@ -102,7 +102,7 @@ async function getRouter() {
|
|
|
102
102
|
}
|
|
103
103
|
cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
|
|
104
104
|
try {
|
|
105
|
-
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-
|
|
105
|
+
const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-MMQ5RKB6.js");
|
|
106
106
|
cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
|
|
107
107
|
} catch (error) {
|
|
108
108
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
tokenSplitFromUsage,
|
|
214
214
|
executeExpert
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-GALPN7L7.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
err,
|
|
4
4
|
ok
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WQTW3P7G.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-GH2APUQH.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
ok
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WQTW3P7G.js";
|
|
9
9
|
|
|
10
10
|
// src/cli-adapters/circuit-breaker-types.ts
|
|
11
11
|
var CircuitErrorCode = {
|
|
@@ -372,4 +372,4 @@ export {
|
|
|
372
372
|
mapCliErrorToCategory,
|
|
373
373
|
mapModelErrorToCategory
|
|
374
374
|
};
|
|
375
|
-
//# sourceMappingURL=chunk-
|
|
375
|
+
//# sourceMappingURL=chunk-GZTEATXE.js.map
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
CircuitBreakerRegistry,
|
|
3
3
|
CircuitError,
|
|
4
4
|
mapCliErrorToCategory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GZTEATXE.js";
|
|
6
6
|
import {
|
|
7
7
|
createLogger,
|
|
8
8
|
err,
|
|
9
9
|
getFallbackChainForCategory,
|
|
10
10
|
getTimeProvider,
|
|
11
11
|
ok
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WQTW3P7G.js";
|
|
13
13
|
|
|
14
14
|
// src/cli-adapters/cli-circuit-breaker.ts
|
|
15
15
|
var CATEGORY_TO_FALLBACK = {
|
|
@@ -152,4 +152,4 @@ export {
|
|
|
152
152
|
CliCircuitBreakerIntegration,
|
|
153
153
|
createCliCircuitBreakerIntegration
|
|
154
154
|
};
|
|
155
|
-
//# sourceMappingURL=chunk-
|
|
155
|
+
//# sourceMappingURL=chunk-ISMAOCQF.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CACHE_TIMEOUTS,
|
|
3
3
|
createLogger,
|
|
4
4
|
getTimeProvider
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WQTW3P7G.js";
|
|
6
6
|
|
|
7
7
|
// src/security/trust-types.ts
|
|
8
8
|
import { z } from "zod";
|
|
@@ -560,4 +560,4 @@ export {
|
|
|
560
560
|
resolveReputationGatingMode,
|
|
561
561
|
gateWithReputation
|
|
562
562
|
};
|
|
563
|
-
//# sourceMappingURL=chunk-
|
|
563
|
+
//# sourceMappingURL=chunk-JXJBIYB3.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-3ACDP4E6.js";
|
|
6
6
|
import {
|
|
7
7
|
executeExpert
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GALPN7L7.js";
|
|
9
9
|
import {
|
|
10
10
|
EventTopics,
|
|
11
11
|
JobStatusSchema,
|
|
@@ -26,23 +26,23 @@ import {
|
|
|
26
26
|
writeJobComplete,
|
|
27
27
|
writeJobFailed,
|
|
28
28
|
writeJobPending
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-MPQLSXGA.js";
|
|
30
30
|
import {
|
|
31
31
|
normalizeTopicToCanonical,
|
|
32
32
|
synthesizeResearch
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-XTLYRC3T.js";
|
|
34
34
|
import {
|
|
35
35
|
IssueTriage,
|
|
36
36
|
createAuditTrail,
|
|
37
37
|
createGraphAuditBridge
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QMEWA725.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveEnvMode,
|
|
41
41
|
sanitizeInput
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-JXJBIYB3.js";
|
|
43
43
|
import {
|
|
44
44
|
withPrerequisite
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-XH3YQ3WR.js";
|
|
46
46
|
import {
|
|
47
47
|
NOOP_NOTIFIER,
|
|
48
48
|
RateLimiter,
|
|
@@ -64,10 +64,10 @@ import {
|
|
|
64
64
|
withAccessPolicy,
|
|
65
65
|
withProgressHeartbeat,
|
|
66
66
|
wrapToolWithTimeout
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-YLDE6JFI.js";
|
|
68
68
|
import {
|
|
69
69
|
generateSecurityPlan
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-NKPQYJY7.js";
|
|
71
71
|
import {
|
|
72
72
|
analyzeGitHubRepo
|
|
73
73
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -98,26 +98,26 @@ import {
|
|
|
98
98
|
parseRegistry,
|
|
99
99
|
sourceExistsInRegistry,
|
|
100
100
|
summarizeContextForPrompt
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-XKM77XGF.js";
|
|
102
102
|
import {
|
|
103
103
|
getTokenEnvVars,
|
|
104
104
|
resolveToken
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-GH2APUQH.js";
|
|
106
106
|
import {
|
|
107
107
|
loadPapersRegistry,
|
|
108
108
|
loadTechniquesRegistry
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-Q2BZHIQ7.js";
|
|
110
110
|
import {
|
|
111
111
|
DEFAULT_RELEVANCE_CONFIG,
|
|
112
112
|
MemoryImportance,
|
|
113
113
|
calculateTextJaccardSimilarity,
|
|
114
114
|
getToolMemory
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-2RDMM34Q.js";
|
|
116
116
|
import {
|
|
117
117
|
DEFAULT_TASK_TTL_MS,
|
|
118
118
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
119
119
|
clampTaskTtl
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-QRYXTJ7R.js";
|
|
121
121
|
import {
|
|
122
122
|
resolveInsideRoot
|
|
123
123
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -132,19 +132,19 @@ import {
|
|
|
132
132
|
getAvailableClis,
|
|
133
133
|
sleep,
|
|
134
134
|
withTimeout
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-YB6L5KQM.js";
|
|
136
136
|
import {
|
|
137
137
|
DEFAULTS
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-ABEEA7GE.js";
|
|
139
139
|
import {
|
|
140
140
|
getAvailabilityCache,
|
|
141
141
|
getCliForModelId,
|
|
142
142
|
resolveFallback
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-CCXELQLN.js";
|
|
144
144
|
import {
|
|
145
145
|
generateHyphenId,
|
|
146
146
|
generateUUID
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-MVHXZ4QD.js";
|
|
148
148
|
import {
|
|
149
149
|
BUILT_IN_EXPERTS,
|
|
150
150
|
BuiltInExpertTypeSchema,
|
|
@@ -156,7 +156,7 @@ import {
|
|
|
156
156
|
} from "./chunk-PQHVC4BD.js";
|
|
157
157
|
import {
|
|
158
158
|
createSessionMemory
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-BXGM23KU.js";
|
|
160
160
|
import {
|
|
161
161
|
AGENT_ROUTER_TIMEOUTS,
|
|
162
162
|
ARCHITECTURE_KEYWORDS,
|
|
@@ -226,12 +226,13 @@ import {
|
|
|
226
226
|
lookupInTreeCapability,
|
|
227
227
|
modelSupportsAll,
|
|
228
228
|
ok,
|
|
229
|
+
recordRoutingGaps,
|
|
229
230
|
resolveModelIdentity,
|
|
230
231
|
resolveModelIdentitySync,
|
|
231
232
|
routingArmDisplaySlot,
|
|
232
233
|
toExpertTaskAnalysisResult,
|
|
233
234
|
withStep
|
|
234
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-WQTW3P7G.js";
|
|
235
236
|
import {
|
|
236
237
|
nexusDataPath,
|
|
237
238
|
nexusDataPathEnsure
|
|
@@ -26287,7 +26288,7 @@ async function populateUnifiedContextOnState(state) {
|
|
|
26287
26288
|
try {
|
|
26288
26289
|
const taskCandidate = state["task"];
|
|
26289
26290
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
26290
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
26291
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-HJXNWDJD.js");
|
|
26291
26292
|
const ctx = await getContextForTask2({
|
|
26292
26293
|
task: taskCandidate,
|
|
26293
26294
|
category: inferTaskCategory2(taskCandidate),
|
|
@@ -33040,6 +33041,7 @@ function routeAndPrepare(input, deps, router) {
|
|
|
33040
33041
|
const logger56 = deps.logger ?? createLogger({ tool: "orchestrate" });
|
|
33041
33042
|
const workflowRouter = router ?? createWorkflowRouter({ logger: logger56 });
|
|
33042
33043
|
const decision = workflowRouter.route({ description: input.task });
|
|
33044
|
+
recordRoutingGaps(decision, { goal: input.task });
|
|
33043
33045
|
const orchType = mapPatternToOrchestratorType(decision.pattern);
|
|
33044
33046
|
logger56.info("Workflow pattern selected", {
|
|
33045
33047
|
pattern: decision.pattern,
|
|
@@ -40900,7 +40902,7 @@ async function tryIssueTriage(task) {
|
|
|
40900
40902
|
try {
|
|
40901
40903
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
40902
40904
|
if (issueMatch === null) return null;
|
|
40903
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
40905
|
+
const { createIssueTriage } = await import("./issue-triage-36WSQVQ6.js");
|
|
40904
40906
|
const triage = createIssueTriage();
|
|
40905
40907
|
const owner = issueMatch[1] ?? "";
|
|
40906
40908
|
const num = issueMatch[2] ?? "";
|
|
@@ -40928,7 +40930,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
40928
40930
|
]);
|
|
40929
40931
|
async function classifyWithLLM(task) {
|
|
40930
40932
|
try {
|
|
40931
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
40933
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-FMVOGXK5.js");
|
|
40932
40934
|
const prompt = [
|
|
40933
40935
|
"Classify this task into exactly one pipeline template.",
|
|
40934
40936
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -41899,7 +41901,7 @@ var memoryInitPromise = null;
|
|
|
41899
41901
|
async function initPipelineMemory() {
|
|
41900
41902
|
if (cachedMemory !== null) return cachedMemory;
|
|
41901
41903
|
try {
|
|
41902
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
41904
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-4FAK3KM2.js");
|
|
41903
41905
|
const { getLearningDir } = await import("./learning-persistence-UKPO7RYK.js");
|
|
41904
41906
|
const mem = createSessionMemory2(getLearningDir());
|
|
41905
41907
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -41956,7 +41958,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0)
|
|
|
41956
41958
|
callRecord(routingMemoryCache);
|
|
41957
41959
|
return;
|
|
41958
41960
|
}
|
|
41959
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
41961
|
+
routingMemoryInitPromise ??= import("./routing-memory-ZZGCZ276.js").then(({ createRoutingMemory }) => {
|
|
41960
41962
|
routingMemoryCache ??= createRoutingMemory();
|
|
41961
41963
|
return routingMemoryCache;
|
|
41962
41964
|
}).catch((error) => {
|
|
@@ -41990,7 +41992,7 @@ ${text}` : "";
|
|
|
41990
41992
|
}
|
|
41991
41993
|
async function getWeatherContext() {
|
|
41992
41994
|
try {
|
|
41993
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
41995
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-KE53XAGC.js");
|
|
41994
41996
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
41995
41997
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
41996
41998
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -42008,7 +42010,7 @@ ${lines}
|
|
|
42008
42010
|
}
|
|
42009
42011
|
async function getMemoryContext(task) {
|
|
42010
42012
|
try {
|
|
42011
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
42013
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-4FAK3KM2.js");
|
|
42012
42014
|
const { getLearningDir } = await import("./learning-persistence-UKPO7RYK.js");
|
|
42013
42015
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
42014
42016
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -42119,7 +42121,7 @@ ${contextBlock}`;
|
|
|
42119
42121
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
42120
42122
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
42121
42123
|
try {
|
|
42122
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
42124
|
+
const { executeVoting } = await import("./consensus-vote-23JQL3E6.js");
|
|
42123
42125
|
const votingResult = await executeVoting(
|
|
42124
42126
|
{
|
|
42125
42127
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -43204,7 +43206,7 @@ async function searchCodebaseForTask(task) {
|
|
|
43204
43206
|
}
|
|
43205
43207
|
async function queryResearchRegistry(task) {
|
|
43206
43208
|
try {
|
|
43207
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
43209
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-C2JMQ2SJ.js");
|
|
43208
43210
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
43209
43211
|
if (topic === void 0) return null;
|
|
43210
43212
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -43275,7 +43277,7 @@ function createScanStageWrapper() {
|
|
|
43275
43277
|
try {
|
|
43276
43278
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
43277
43279
|
if (slug !== void 0) {
|
|
43278
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
43280
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-AKT576RI.js");
|
|
43279
43281
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
43280
43282
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
43281
43283
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -44801,7 +44803,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
44801
44803
|
}
|
|
44802
44804
|
}
|
|
44803
44805
|
async function defaultSources(includeOpenRouter) {
|
|
44804
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
44806
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-JUBBJMOG.js");
|
|
44805
44807
|
const adapters = createAllAdapters2();
|
|
44806
44808
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
44807
44809
|
}
|
|
@@ -48442,7 +48444,7 @@ var GitHubTaskTracker = class {
|
|
|
48442
48444
|
cachedProvider = null;
|
|
48443
48445
|
async getProvider() {
|
|
48444
48446
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
48445
|
-
const { createScmProvider } = await import("./factory-
|
|
48447
|
+
const { createScmProvider } = await import("./factory-CLM5MU7Z.js");
|
|
48446
48448
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
48447
48449
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
48448
48450
|
this.cachedProvider = result.value;
|
|
@@ -49134,4 +49136,4 @@ export {
|
|
|
49134
49136
|
detectBackend,
|
|
49135
49137
|
createTaskTracker
|
|
49136
49138
|
};
|
|
49137
|
-
//# sourceMappingURL=chunk-
|
|
49139
|
+
//# sourceMappingURL=chunk-LRZDIUKF.js.map
|