nexus-agents 4.15.3 → 4.15.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/{child-mcp-config-HW5K2JVC.js → child-mcp-config-WGS7EAV5.js} +2 -2
- package/dist/{chunk-KBSRNMIM.js → chunk-2A4B2XAB.js} +2 -2
- package/dist/{chunk-RBQ3UYWT.js → chunk-2BWRFAAG.js} +5 -5
- package/dist/{chunk-E4JHFE2E.js → chunk-53Z7HGIH.js} +8 -8
- package/dist/{chunk-QHWMR6OT.js → chunk-5HIEY5GV.js} +3 -3
- package/dist/{chunk-YMCIDGNP.js → chunk-77XPSO4O.js} +2 -2
- package/dist/{chunk-GKGPTBTG.js → chunk-7EIWV5IW.js} +8 -8
- package/dist/{chunk-VR76FPIN.js → chunk-BH5PWPKK.js} +7 -7
- package/dist/{chunk-VPOVLDT6.js → chunk-BJZGMJU7.js} +2 -2
- package/dist/{chunk-PEISXF34.js → chunk-C6NRLEI7.js} +3 -3
- package/dist/{chunk-MHRAJ6GM.js → chunk-DQWU6U3V.js} +3 -3
- package/dist/{chunk-6LUR7LMM.js → chunk-EDZK52PE.js} +5 -5
- package/dist/{chunk-JC4QH4WC.js → chunk-HSS2FHTR.js} +2 -2
- package/dist/{chunk-BK2BNOPS.js → chunk-HYQR2PSB.js} +2 -2
- package/dist/{chunk-W2EOSNAN.js → chunk-LN3RVOQA.js} +2 -2
- package/dist/{chunk-GR2VJFBO.js → chunk-LRAFP75Q.js} +3 -3
- package/dist/{chunk-UTADCOFU.js → chunk-M5MKUJ3F.js} +2 -2
- package/dist/{chunk-XHUVJJHC.js → chunk-MNJCO2S7.js} +4 -4
- package/dist/{chunk-33QUGCOZ.js → chunk-PZJ4T7CY.js} +40 -9
- package/dist/chunk-PZJ4T7CY.js.map +1 -0
- package/dist/{chunk-5JDI34FB.js → chunk-Q5FCGF3Z.js} +4 -4
- package/dist/{chunk-32ZZ4GBB.js → chunk-SEWVNOEM.js} +2 -2
- package/dist/{chunk-YADJHL2U.js → chunk-SV7RHVNA.js} +2 -2
- package/dist/{chunk-2LJDOJ2V.js → chunk-SWCFHK54.js} +2 -2
- package/dist/{chunk-QUKSHEEJ.js → chunk-TL57RB6H.js} +7 -7
- package/dist/{chunk-XULO32DU.js → chunk-TNH4QEXR.js} +2 -2
- package/dist/{chunk-O2WHBWK5.js → chunk-TTHC3C6V.js} +4 -4
- package/dist/{chunk-T3645YDF.js → chunk-TZYSY7QD.js} +2 -2
- package/dist/{chunk-SFWBN3PE.js → chunk-VPR6LDBO.js} +40 -36
- package/dist/{chunk-SFWBN3PE.js.map → chunk-VPR6LDBO.js.map} +1 -1
- package/dist/{chunk-UHSAME2X.js → chunk-VVKZ5OT5.js} +2 -2
- package/dist/{chunk-ZGMPNBYH.js → chunk-W4KF2GUO.js} +2 -2
- package/dist/{chunk-LOMQMLJH.js → chunk-W7VA5TPI.js} +2 -2
- package/dist/{chunk-VVR2JO2I.js → chunk-WNBBPPHR.js} +2 -2
- package/dist/{chunk-74BJOUWL.js → chunk-YYNJWKMN.js} +6 -6
- package/dist/{cli-circuit-breaker-SYBXPR6Q.js → cli-circuit-breaker-KCCEKKYY.js} +3 -3
- package/dist/cli.js +40 -40
- package/dist/{composite-router-P2ZFPWEQ.js → composite-router-JAXKOWQL.js} +2 -2
- package/dist/{consensus-vote-I673JOAQ.js → consensus-vote-445IDEM4.js} +16 -16
- package/dist/{context-retriever-XLRKR2FE.js → context-retriever-GHOSKK7X.js} +8 -8
- package/dist/{doctor-deep-TBTCDJP5.js → doctor-deep-ES64EJ3L.js} +3 -3
- package/dist/{doctor-live-NANGVE6E.js → doctor-live-FYBVYAVL.js} +9 -9
- package/dist/{expert-bridge-TY74K2FE.js → expert-bridge-FWX3P4WM.js} +4 -4
- package/dist/{factory-MZCGPGEN.js → factory-G63HMXET.js} +5 -5
- package/dist/{factory-26MTUNKV.js → factory-SQMVOFRQ.js} +9 -9
- package/dist/{improvement-review-XMZIAREG.js → improvement-review-TDHG3UVQ.js} +5 -5
- package/dist/index.js +30 -30
- package/dist/{init-opencode-4IKJR7KI.js → init-opencode-KM2WSIIZ.js} +6 -6
- package/dist/issue-triage-UHC6GZLS.js +17 -0
- package/dist/{pr-reviewer-helpers-6PQ5N665.js → pr-reviewer-helpers-LFNDF5UX.js} +4 -4
- package/dist/{registry-command-43DUBO6N.js → registry-command-ZU7OJ6K6.js} +2 -2
- package/dist/{repo-security-plan-5TQRW56I.js → repo-security-plan-AF7CL7PT.js} +3 -3
- package/dist/{research-helpers-synthesize-XTVNZIQ7.js → research-helpers-synthesize-7B2HUWAO.js} +4 -4
- package/dist/{routing-memory-FB5G6AGG.js → routing-memory-ZBRAWLWW.js} +2 -2
- package/dist/{session-memory-BBSBVXGZ.js → session-memory-BFM6SH3T.js} +3 -3
- package/dist/{setup-config-7O2J7HIU.js → setup-config-3Q4PIGXS.js} +3 -3
- package/dist/{setup-custom-api-S5HGF5KY.js → setup-custom-api-UNTUUGHN.js} +4 -4
- package/dist/setup-data-dir-AER2GI57.js +28 -0
- package/dist/{tool-memory-LUE6HXAS.js → tool-memory-JSIFBM7S.js} +5 -5
- package/dist/{unified-registry-FW2GDVXD.js → unified-registry-MUYGQNBH.js} +10 -10
- package/dist/{weather-report-RABZEX2Z.js → weather-report-UEQM6BSC.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-33QUGCOZ.js.map +0 -1
- package/dist/issue-triage-LTO7DCEH.js +0 -17
- package/dist/setup-data-dir-XHS4W5YR.js +0 -28
- /package/dist/{child-mcp-config-HW5K2JVC.js.map → child-mcp-config-WGS7EAV5.js.map} +0 -0
- /package/dist/{chunk-KBSRNMIM.js.map → chunk-2A4B2XAB.js.map} +0 -0
- /package/dist/{chunk-RBQ3UYWT.js.map → chunk-2BWRFAAG.js.map} +0 -0
- /package/dist/{chunk-E4JHFE2E.js.map → chunk-53Z7HGIH.js.map} +0 -0
- /package/dist/{chunk-QHWMR6OT.js.map → chunk-5HIEY5GV.js.map} +0 -0
- /package/dist/{chunk-YMCIDGNP.js.map → chunk-77XPSO4O.js.map} +0 -0
- /package/dist/{chunk-GKGPTBTG.js.map → chunk-7EIWV5IW.js.map} +0 -0
- /package/dist/{chunk-VR76FPIN.js.map → chunk-BH5PWPKK.js.map} +0 -0
- /package/dist/{chunk-VPOVLDT6.js.map → chunk-BJZGMJU7.js.map} +0 -0
- /package/dist/{chunk-PEISXF34.js.map → chunk-C6NRLEI7.js.map} +0 -0
- /package/dist/{chunk-MHRAJ6GM.js.map → chunk-DQWU6U3V.js.map} +0 -0
- /package/dist/{chunk-6LUR7LMM.js.map → chunk-EDZK52PE.js.map} +0 -0
- /package/dist/{chunk-JC4QH4WC.js.map → chunk-HSS2FHTR.js.map} +0 -0
- /package/dist/{chunk-BK2BNOPS.js.map → chunk-HYQR2PSB.js.map} +0 -0
- /package/dist/{chunk-W2EOSNAN.js.map → chunk-LN3RVOQA.js.map} +0 -0
- /package/dist/{chunk-GR2VJFBO.js.map → chunk-LRAFP75Q.js.map} +0 -0
- /package/dist/{chunk-UTADCOFU.js.map → chunk-M5MKUJ3F.js.map} +0 -0
- /package/dist/{chunk-XHUVJJHC.js.map → chunk-MNJCO2S7.js.map} +0 -0
- /package/dist/{chunk-5JDI34FB.js.map → chunk-Q5FCGF3Z.js.map} +0 -0
- /package/dist/{chunk-32ZZ4GBB.js.map → chunk-SEWVNOEM.js.map} +0 -0
- /package/dist/{chunk-YADJHL2U.js.map → chunk-SV7RHVNA.js.map} +0 -0
- /package/dist/{chunk-2LJDOJ2V.js.map → chunk-SWCFHK54.js.map} +0 -0
- /package/dist/{chunk-QUKSHEEJ.js.map → chunk-TL57RB6H.js.map} +0 -0
- /package/dist/{chunk-XULO32DU.js.map → chunk-TNH4QEXR.js.map} +0 -0
- /package/dist/{chunk-O2WHBWK5.js.map → chunk-TTHC3C6V.js.map} +0 -0
- /package/dist/{chunk-T3645YDF.js.map → chunk-TZYSY7QD.js.map} +0 -0
- /package/dist/{chunk-UHSAME2X.js.map → chunk-VVKZ5OT5.js.map} +0 -0
- /package/dist/{chunk-ZGMPNBYH.js.map → chunk-W4KF2GUO.js.map} +0 -0
- /package/dist/{chunk-LOMQMLJH.js.map → chunk-W7VA5TPI.js.map} +0 -0
- /package/dist/{chunk-VVR2JO2I.js.map → chunk-WNBBPPHR.js.map} +0 -0
- /package/dist/{chunk-74BJOUWL.js.map → chunk-YYNJWKMN.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-SYBXPR6Q.js.map → cli-circuit-breaker-KCCEKKYY.js.map} +0 -0
- /package/dist/{composite-router-P2ZFPWEQ.js.map → composite-router-JAXKOWQL.js.map} +0 -0
- /package/dist/{consensus-vote-I673JOAQ.js.map → consensus-vote-445IDEM4.js.map} +0 -0
- /package/dist/{context-retriever-XLRKR2FE.js.map → context-retriever-GHOSKK7X.js.map} +0 -0
- /package/dist/{doctor-deep-TBTCDJP5.js.map → doctor-deep-ES64EJ3L.js.map} +0 -0
- /package/dist/{doctor-live-NANGVE6E.js.map → doctor-live-FYBVYAVL.js.map} +0 -0
- /package/dist/{expert-bridge-TY74K2FE.js.map → expert-bridge-FWX3P4WM.js.map} +0 -0
- /package/dist/{factory-26MTUNKV.js.map → factory-G63HMXET.js.map} +0 -0
- /package/dist/{factory-MZCGPGEN.js.map → factory-SQMVOFRQ.js.map} +0 -0
- /package/dist/{improvement-review-XMZIAREG.js.map → improvement-review-TDHG3UVQ.js.map} +0 -0
- /package/dist/{init-opencode-4IKJR7KI.js.map → init-opencode-KM2WSIIZ.js.map} +0 -0
- /package/dist/{issue-triage-LTO7DCEH.js.map → issue-triage-UHC6GZLS.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-6PQ5N665.js.map → pr-reviewer-helpers-LFNDF5UX.js.map} +0 -0
- /package/dist/{registry-command-43DUBO6N.js.map → registry-command-ZU7OJ6K6.js.map} +0 -0
- /package/dist/{repo-security-plan-5TQRW56I.js.map → repo-security-plan-AF7CL7PT.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-XTVNZIQ7.js.map → research-helpers-synthesize-7B2HUWAO.js.map} +0 -0
- /package/dist/{routing-memory-FB5G6AGG.js.map → routing-memory-ZBRAWLWW.js.map} +0 -0
- /package/dist/{session-memory-BBSBVXGZ.js.map → session-memory-BFM6SH3T.js.map} +0 -0
- /package/dist/{setup-config-7O2J7HIU.js.map → setup-config-3Q4PIGXS.js.map} +0 -0
- /package/dist/{setup-custom-api-S5HGF5KY.js.map → setup-custom-api-UNTUUGHN.js.map} +0 -0
- /package/dist/{setup-data-dir-XHS4W5YR.js.map → setup-data-dir-AER2GI57.js.map} +0 -0
- /package/dist/{tool-memory-LUE6HXAS.js.map → tool-memory-JSIFBM7S.js.map} +0 -0
- /package/dist/{unified-registry-FW2GDVXD.js.map → unified-registry-MUYGQNBH.js.map} +0 -0
- /package/dist/{weather-report-RABZEX2Z.js.map → weather-report-UEQM6BSC.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-RQV5ZUXT.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PZJ4T7CY.js";
|
|
7
7
|
import "./chunk-HHLCAWAV.js";
|
|
8
8
|
import "./chunk-NBMWONHE.js";
|
|
9
9
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
generateMcpConfig,
|
|
63
63
|
getDefaultAllowedTools
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=child-mcp-config-
|
|
65
|
+
//# sourceMappingURL=child-mcp-config-WGS7EAV5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PZJ4T7CY.js";
|
|
4
4
|
|
|
5
5
|
// src/cli/setup-config.ts
|
|
6
6
|
import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "fs";
|
|
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
|
|
|
77
77
|
export {
|
|
78
78
|
runConfigInitSync
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-2A4B2XAB.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
recordUsageEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TZYSY7QD.js";
|
|
5
5
|
import {
|
|
6
6
|
BaseAdapter,
|
|
7
7
|
createStream,
|
|
8
8
|
planOptionalParams,
|
|
9
9
|
requireApiKey,
|
|
10
10
|
validateApiKeyPresence
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VVKZ5OT5.js";
|
|
12
12
|
import {
|
|
13
13
|
assertCustomApiHostResolvesPublic
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SWCFHK54.js";
|
|
15
15
|
import {
|
|
16
16
|
ConfigError,
|
|
17
17
|
ModelCapability,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getTimeProvider,
|
|
23
23
|
getTokenEstimator,
|
|
24
24
|
ok
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PZJ4T7CY.js";
|
|
26
26
|
|
|
27
27
|
// src/adapters/openai-types.ts
|
|
28
28
|
var OPENAI_MODELS = {
|
|
@@ -833,4 +833,4 @@ export {
|
|
|
833
833
|
discoverModels,
|
|
834
834
|
buildOpenAICompatAdapters
|
|
835
835
|
};
|
|
836
|
-
//# sourceMappingURL=chunk-
|
|
836
|
+
//# sourceMappingURL=chunk-2BWRFAAG.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
priceBasisOf
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TZYSY7QD.js";
|
|
5
5
|
import {
|
|
6
6
|
allOf
|
|
7
7
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -22,20 +22,20 @@ import {
|
|
|
22
22
|
toolSuccess,
|
|
23
23
|
withProgressHeartbeat,
|
|
24
24
|
wrapToolWithTimeout
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DQWU6U3V.js";
|
|
26
26
|
import {
|
|
27
27
|
createEvent,
|
|
28
28
|
getGlobalRegistry
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-Q5FCGF3Z.js";
|
|
30
30
|
import {
|
|
31
31
|
getToolMemory
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TTHC3C6V.js";
|
|
33
33
|
import {
|
|
34
34
|
authRemediation,
|
|
35
35
|
delay,
|
|
36
36
|
getAvailableClis,
|
|
37
37
|
withTimeout
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-7EIWV5IW.js";
|
|
39
39
|
import {
|
|
40
40
|
AgentError,
|
|
41
41
|
CLI_NAMES,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
resolveClassGuardMs,
|
|
65
65
|
resolveModelIdentitySync,
|
|
66
66
|
resolveVoteTimeout
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-PZJ4T7CY.js";
|
|
68
68
|
import {
|
|
69
69
|
ensureLearningDir,
|
|
70
70
|
getOutcomesFile
|
|
@@ -6162,7 +6162,7 @@ async function processVotesWithCascade(engineVotes, opts) {
|
|
|
6162
6162
|
var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
|
|
6163
6163
|
async function runContrarianCheck(proposal, log) {
|
|
6164
6164
|
try {
|
|
6165
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
6165
|
+
const { executeExpert } = await import("./expert-bridge-FWX3P4WM.js");
|
|
6166
6166
|
const prompt = [
|
|
6167
6167
|
"You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
|
|
6168
6168
|
"Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
|
|
@@ -6729,4 +6729,4 @@ export {
|
|
|
6729
6729
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6730
6730
|
registerConsensusVoteTool
|
|
6731
6731
|
};
|
|
6732
|
-
//# sourceMappingURL=chunk-
|
|
6732
|
+
//# sourceMappingURL=chunk-53Z7HGIH.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W4KF2GUO.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PZJ4T7CY.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/research-helpers-synthesize.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -876,4 +876,4 @@ export {
|
|
|
876
876
|
AttributedInsightSchema,
|
|
877
877
|
synthesizeResearch
|
|
878
878
|
};
|
|
879
|
-
//# sourceMappingURL=chunk-
|
|
879
|
+
//# sourceMappingURL=chunk-5HIEY5GV.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PZJ4T7CY.js";
|
|
8
8
|
|
|
9
9
|
// src/mcp/tools/scanner-registry-fetcher.ts
|
|
10
10
|
import { z } from "zod";
|
|
@@ -721,4 +721,4 @@ export {
|
|
|
721
721
|
generateSecurityPlan,
|
|
722
722
|
buildPlanFromAnalysis
|
|
723
723
|
};
|
|
724
|
-
//# sourceMappingURL=chunk-
|
|
724
|
+
//# sourceMappingURL=chunk-77XPSO4O.js.map
|
|
@@ -5,34 +5,34 @@ import {
|
|
|
5
5
|
planOptionalParams,
|
|
6
6
|
requireApiKey,
|
|
7
7
|
validateApiKeyPresence
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VVKZ5OT5.js";
|
|
9
9
|
import {
|
|
10
10
|
CUSTOM_API_DEFAULT_MODEL
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M5MKUJ3F.js";
|
|
12
12
|
import {
|
|
13
13
|
CUSTOM_API_BASE_URL_ENV,
|
|
14
14
|
PROVIDER_ENV_KEYS,
|
|
15
15
|
assertCustomApiHostResolvesPublic,
|
|
16
16
|
validateCustomApiBaseUrl
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SWCFHK54.js";
|
|
18
18
|
import {
|
|
19
19
|
nexusMkdtempSync
|
|
20
20
|
} from "./chunk-RQV5ZUXT.js";
|
|
21
21
|
import {
|
|
22
22
|
getAvailabilityCache
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BJZGMJU7.js";
|
|
24
24
|
import {
|
|
25
25
|
extractSystemPrompt
|
|
26
26
|
} from "./chunk-QZUG667L.js";
|
|
27
27
|
import {
|
|
28
28
|
generateHyphenId
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WNBBPPHR.js";
|
|
30
30
|
import {
|
|
31
31
|
CliCircuitBreaker,
|
|
32
32
|
DEFAULT_CIRCUIT_BREAKER_CONFIG,
|
|
33
33
|
getCliCircuitBreakerSnapshot,
|
|
34
34
|
getDefaultCliCircuitBreakerRegistry
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-HSS2FHTR.js";
|
|
36
36
|
import {
|
|
37
37
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
38
38
|
CLI_TIMEOUTS,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
resolveCliAlias,
|
|
73
73
|
resolveRetryAfterMs,
|
|
74
74
|
retryAfterMsFromContext
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-PZJ4T7CY.js";
|
|
76
76
|
|
|
77
77
|
// src/cli-adapters/cli-to-model-adapter.ts
|
|
78
78
|
var CliToModelAdapter = class {
|
|
@@ -4885,4 +4885,4 @@ export {
|
|
|
4885
4885
|
SdkAdapter,
|
|
4886
4886
|
createAutoAdapter
|
|
4887
4887
|
};
|
|
4888
|
-
//# sourceMappingURL=chunk-
|
|
4888
|
+
//# sourceMappingURL=chunk-7EIWV5IW.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BJZGMJU7.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PZJ4T7CY.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-WGS7EAV5.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-SQMVOFRQ.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-JAXKOWQL.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-KCCEKKYY.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-BH5PWPKK.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MODEL_IDS,
|
|
4
4
|
getTimeProvider,
|
|
5
5
|
resolveModelIdentitySync
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PZJ4T7CY.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-BJZGMJU7.js.map
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
gateWithReputation,
|
|
13
13
|
resolveReputationGatingMode,
|
|
14
14
|
sanitizeInput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SEWVNOEM.js";
|
|
16
16
|
import {
|
|
17
17
|
createLogger,
|
|
18
18
|
getTimeProvider
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PZJ4T7CY.js";
|
|
20
20
|
|
|
21
21
|
// src/dogfooding/pr-reviewer-helpers.ts
|
|
22
22
|
import { randomUUID } from "crypto";
|
|
@@ -291,4 +291,4 @@ export {
|
|
|
291
291
|
formatReviewComment,
|
|
292
292
|
createFailedReview
|
|
293
293
|
};
|
|
294
|
-
//# sourceMappingURL=chunk-
|
|
294
|
+
//# sourceMappingURL=chunk-C6NRLEI7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
emitClawGuardViolation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W7VA5TPI.js";
|
|
4
4
|
import {
|
|
5
5
|
CACHE_TIMEOUTS,
|
|
6
6
|
MCP_TIMEOUTS,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
getTimeProvider,
|
|
17
17
|
ok,
|
|
18
18
|
resolveToolClassGuardMs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PZJ4T7CY.js";
|
|
20
20
|
import {
|
|
21
21
|
getNexusDataDir
|
|
22
22
|
} from "./chunk-NBMWONHE.js";
|
|
@@ -2042,4 +2042,4 @@ export {
|
|
|
2042
2042
|
VOTING_THRESHOLDS,
|
|
2043
2043
|
ConsensusMetricsSchema
|
|
2044
2044
|
};
|
|
2045
|
-
//# sourceMappingURL=chunk-
|
|
2045
|
+
//# sourceMappingURL=chunk-DQWU6U3V.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
loadTechniquesRegistry,
|
|
6
6
|
resolveInsideRoot,
|
|
7
7
|
savePapersRegistry
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W4KF2GUO.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveToken
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SV7RHVNA.js";
|
|
12
12
|
import {
|
|
13
13
|
getToolMemory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TTHC3C6V.js";
|
|
15
15
|
import {
|
|
16
16
|
capitalizeWords,
|
|
17
17
|
tokenizeFiltered,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
getTimeProvider,
|
|
38
38
|
ok,
|
|
39
39
|
registerPersistentDistillerFactory
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-PZJ4T7CY.js";
|
|
41
41
|
import {
|
|
42
42
|
ensureLearningDir,
|
|
43
43
|
getRulesFile
|
|
@@ -4127,4 +4127,4 @@ export {
|
|
|
4127
4127
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4128
4128
|
getContextPromptPrefix
|
|
4129
4129
|
};
|
|
4130
|
-
//# sourceMappingURL=chunk-
|
|
4130
|
+
//# sourceMappingURL=chunk-EDZK52PE.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getTimeProvider,
|
|
9
9
|
isRateLimitText,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PZJ4T7CY.js";
|
|
12
12
|
|
|
13
13
|
// src/cli-adapters/circuit-breaker-types.ts
|
|
14
14
|
var CircuitErrorCode = {
|
|
@@ -540,4 +540,4 @@ export {
|
|
|
540
540
|
CliCircuitBreakerIntegration,
|
|
541
541
|
createCliCircuitBreakerIntegration
|
|
542
542
|
};
|
|
543
|
-
//# sourceMappingURL=chunk-
|
|
543
|
+
//# sourceMappingURL=chunk-HSS2FHTR.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
getTimeProvider,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PZJ4T7CY.js";
|
|
8
8
|
|
|
9
9
|
// src/context/session-memory.ts
|
|
10
10
|
import * as fs from "fs";
|
|
@@ -352,4 +352,4 @@ export {
|
|
|
352
352
|
SessionMemory,
|
|
353
353
|
createSessionMemory
|
|
354
354
|
};
|
|
355
|
-
//# sourceMappingURL=chunk-
|
|
355
|
+
//# sourceMappingURL=chunk-HYQR2PSB.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TASK_CATEGORIES,
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
getOutcomeStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PZJ4T7CY.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-LN3RVOQA.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DQWU6U3V.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getPipelineEventBus,
|
|
20
20
|
getTimeProvider,
|
|
21
21
|
isDeclaredNeverDeprecate
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PZJ4T7CY.js";
|
|
23
23
|
import {
|
|
24
24
|
getNexusDataDir,
|
|
25
25
|
nexusDataPath
|
|
@@ -2132,4 +2132,4 @@ export {
|
|
|
2132
2132
|
runImprovementReview,
|
|
2133
2133
|
registerImprovementReviewTool
|
|
2134
2134
|
};
|
|
2135
|
-
//# sourceMappingURL=chunk-
|
|
2135
|
+
//# sourceMappingURL=chunk-LRAFP75Q.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createGetRetryConfig,
|
|
12
12
|
createGetTimeout,
|
|
13
13
|
createGetToolRateLimit
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PZJ4T7CY.js";
|
|
15
15
|
|
|
16
16
|
// src/config/defaults.ts
|
|
17
17
|
var CUSTOM_API_DEFAULT_MODEL = "gpt-5.5";
|
|
@@ -230,4 +230,4 @@ export {
|
|
|
230
230
|
CUSTOM_API_DEFAULT_MODEL,
|
|
231
231
|
DEFAULTS
|
|
232
232
|
};
|
|
233
|
-
//# sourceMappingURL=chunk-
|
|
233
|
+
//# sourceMappingURL=chunk-M5MKUJ3F.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TNH4QEXR.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveToken
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SV7RHVNA.js";
|
|
8
8
|
import {
|
|
9
9
|
err,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PZJ4T7CY.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-MNJCO2S7.js.map
|
|
@@ -2623,7 +2623,7 @@ function setDefaultRegistry(registry) {
|
|
|
2623
2623
|
}
|
|
2624
2624
|
async function reloadDefaultRegistry() {
|
|
2625
2625
|
globalRegistry = buildDefaultRegistry();
|
|
2626
|
-
const { resetGlobalRegistry } = await import("./unified-registry-
|
|
2626
|
+
const { resetGlobalRegistry } = await import("./unified-registry-MUYGQNBH.js");
|
|
2627
2627
|
resetGlobalRegistry();
|
|
2628
2628
|
return globalRegistry;
|
|
2629
2629
|
}
|
|
@@ -6493,6 +6493,36 @@ var LinUCBConfigSchema = z7.object({
|
|
|
6493
6493
|
lambda: z7.number().positive().default(1)
|
|
6494
6494
|
});
|
|
6495
6495
|
|
|
6496
|
+
// src/cli-adapters/warm-start-skips.ts
|
|
6497
|
+
var UNATTRIBUTED_ARM = "unknown";
|
|
6498
|
+
function partitionWarmStartSkips(skipped) {
|
|
6499
|
+
const byArm = {};
|
|
6500
|
+
let unattributed = 0;
|
|
6501
|
+
for (const [arm, count] of skipped) {
|
|
6502
|
+
if (arm === UNATTRIBUTED_ARM) unattributed += count;
|
|
6503
|
+
else byArm[arm] = count;
|
|
6504
|
+
}
|
|
6505
|
+
return { byArm, unattributed };
|
|
6506
|
+
}
|
|
6507
|
+
function warmStartSkipLogs(skips, replayed, knownArms) {
|
|
6508
|
+
const lines = [];
|
|
6509
|
+
if (Object.keys(skips.byArm).length > 0) {
|
|
6510
|
+
lines.push({
|
|
6511
|
+
level: "warn",
|
|
6512
|
+
message: "Warm-start skipped outcomes for arms this bandit does not have",
|
|
6513
|
+
context: { skippedByArm: skips.byArm, replayed, knownArms }
|
|
6514
|
+
});
|
|
6515
|
+
}
|
|
6516
|
+
if (skips.unattributed > 0) {
|
|
6517
|
+
lines.push({
|
|
6518
|
+
level: "debug",
|
|
6519
|
+
message: "Warm-start skipped outcomes with no resolvable CLI",
|
|
6520
|
+
context: { skippedUnattributed: skips.unattributed, replayed }
|
|
6521
|
+
});
|
|
6522
|
+
}
|
|
6523
|
+
return lines;
|
|
6524
|
+
}
|
|
6525
|
+
|
|
6496
6526
|
// src/cli-adapters/linucb-math.ts
|
|
6497
6527
|
function createIdentityMatrix(dim, lambda) {
|
|
6498
6528
|
const matrix = [];
|
|
@@ -6840,12 +6870,13 @@ var LinUCBBandit = class {
|
|
|
6840
6870
|
this.recordWarmStartModelStat(outcome.cli, outcome.model, outcome.success);
|
|
6841
6871
|
replayed++;
|
|
6842
6872
|
}
|
|
6843
|
-
|
|
6844
|
-
|
|
6845
|
-
|
|
6846
|
-
|
|
6847
|
-
|
|
6848
|
-
|
|
6873
|
+
for (const line of warmStartSkipLogs(
|
|
6874
|
+
partitionWarmStartSkips(skippedArms),
|
|
6875
|
+
replayed,
|
|
6876
|
+
this.armNames
|
|
6877
|
+
)) {
|
|
6878
|
+
if (line.level === "warn") logger5.warn(line.message, line.context);
|
|
6879
|
+
else logger5.debug(line.message, line.context);
|
|
6849
6880
|
}
|
|
6850
6881
|
return replayed;
|
|
6851
6882
|
}
|
|
@@ -15099,7 +15130,7 @@ var CompositeRouter = class _CompositeRouter {
|
|
|
15099
15130
|
*/
|
|
15100
15131
|
async consultUnifiedContext(task) {
|
|
15101
15132
|
try {
|
|
15102
|
-
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-
|
|
15133
|
+
const { getContextForTask, inferTaskCategory } = await import("./context-retriever-GHOSKK7X.js");
|
|
15103
15134
|
const ctx = await getContextForTask({
|
|
15104
15135
|
task: task.content,
|
|
15105
15136
|
category: inferTaskCategory(task.content),
|
|
@@ -16692,4 +16723,4 @@ export {
|
|
|
16692
16723
|
AgentCapability,
|
|
16693
16724
|
OrchestratorError
|
|
16694
16725
|
};
|
|
16695
|
-
//# sourceMappingURL=chunk-
|
|
16726
|
+
//# sourceMappingURL=chunk-PZJ4T7CY.js.map
|