nexus-agents 8.32.0 → 8.33.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/{ast-rule-runner-HTI4MOOL.js → ast-rule-runner-G2JGX2Y6.js} +3 -3
- package/dist/{child-mcp-config-WY6OA55Q.js → child-mcp-config-67WUZXUY.js} +2 -2
- package/dist/{chunk-RPYXZONL.js → chunk-26XK77HW.js} +2 -2
- package/dist/{chunk-G5A6FOFH.js → chunk-2FKD6XDX.js} +3 -3
- package/dist/{chunk-3WMRUBWA.js → chunk-2QPIZDKD.js} +2 -2
- package/dist/{chunk-HJ5B2Z62.js → chunk-2S5Q42VC.js} +2 -2
- package/dist/{chunk-D7JRDB2N.js → chunk-5DW7CTDJ.js} +9 -9
- package/dist/{chunk-57MMCJKK.js → chunk-632H3ECB.js} +3 -3
- package/dist/{chunk-6Q2WMMQJ.js → chunk-6TDBRWBP.js} +2 -2
- package/dist/{chunk-KS6PQFSD.js → chunk-7PMOK2TP.js} +2 -2
- package/dist/{chunk-7ILTIJY7.js → chunk-AR5DUSJR.js} +7 -7
- package/dist/{chunk-XRYT4IBA.js → chunk-B4ZUXJS5.js} +2 -2
- package/dist/{chunk-V56A6KDM.js → chunk-BKCYVB5L.js} +5 -5
- package/dist/{chunk-BQGUZW4E.js → chunk-BLCCPKFR.js} +74 -37
- package/dist/chunk-BLCCPKFR.js.map +1 -0
- package/dist/{chunk-UTPNVVIG.js → chunk-EK4KU632.js} +6 -6
- package/dist/{chunk-DQMUMYRB.js → chunk-F456ANG3.js} +2 -2
- package/dist/{chunk-FRSACWZT.js → chunk-FBDMXWOH.js} +2 -2
- package/dist/{chunk-UWWB7MIY.js → chunk-FOTNVPFW.js} +3 -3
- package/dist/{chunk-WGBQSUTR.js → chunk-GEUOGSCS.js} +2 -2
- package/dist/{chunk-4PUYOJ3Q.js → chunk-JEHXN5OP.js} +4 -4
- package/dist/{chunk-E2YSUFTQ.js → chunk-JFDD26YE.js} +5 -5
- package/dist/{chunk-S2SWQSD5.js → chunk-JIDYNUWN.js} +8 -8
- package/dist/{chunk-B6MP4U5E.js → chunk-JUABI24Q.js} +4 -4
- package/dist/{chunk-CM2YUTSP.js → chunk-KGSETTH5.js} +22 -6
- package/dist/{chunk-CM2YUTSP.js.map → chunk-KGSETTH5.js.map} +1 -1
- package/dist/{chunk-J7FPCOPJ.js → chunk-L4ZODI4L.js} +2 -2
- package/dist/{chunk-QFFIGF3D.js → chunk-LPY73UIV.js} +21 -6
- package/dist/chunk-LPY73UIV.js.map +1 -0
- package/dist/{chunk-W77OLNGW.js → chunk-N7KTMYU7.js} +2 -2
- package/dist/{chunk-G4IEDTP4.js → chunk-OZ6BSEWG.js} +4 -4
- package/dist/{chunk-T2R3RUYE.js → chunk-PSICREXH.js} +2 -2
- package/dist/{chunk-SJR5BXQI.js → chunk-PZ6JLXJY.js} +2 -2
- package/dist/{chunk-44V524M2.js → chunk-QBD6VIKF.js} +7 -7
- package/dist/{chunk-SXLU7QLW.js → chunk-UFLS3T5O.js} +2 -2
- package/dist/{chunk-DVHQ2EPD.js → chunk-UQUWPADT.js} +2 -2
- package/dist/{chunk-NQGDSKBG.js → chunk-W2VXZSYG.js} +2 -2
- package/dist/{chunk-SPN7FNBB.js → chunk-W5UCRZN4.js} +2 -2
- package/dist/{chunk-CZSAABT5.js → chunk-W6ERGRHU.js} +2 -2
- package/dist/{cli-circuit-breaker-V4B2BCFK.js → cli-circuit-breaker-SB5C4IET.js} +3 -3
- package/dist/cli.js +43 -43
- package/dist/{composite-router-2QDMUPKZ.js → composite-router-JSHBVU4P.js} +2 -2
- package/dist/{consensus-vote-PQCSWHNE.js → consensus-vote-Q6KPYKAK.js} +17 -17
- package/dist/{context-retriever-RDULY5VX.js → context-retriever-DPMNUHY6.js} +8 -8
- package/dist/{doctor-deep-FVZ75TLM.js → doctor-deep-3KEJPUDT.js} +3 -3
- package/dist/{doctor-live-5C65P4XA.js → doctor-live-WNHELHML.js} +9 -9
- package/dist/{expert-bridge-NV2DJLI4.js → expert-bridge-3QCSME4G.js} +4 -4
- package/dist/{factory-DQEMZMWL.js → factory-UCZLL3PX.js} +5 -5
- package/dist/{factory-PK7FEPFH.js → factory-ZWY3DVB7.js} +9 -9
- package/dist/{improvement-review-SW6IWW2M.js → improvement-review-Q7UTXUC5.js} +6 -6
- package/dist/index.d.ts +56 -0
- package/dist/index.js +31 -31
- package/dist/{init-opencode-O26PWDLR.js → init-opencode-7SRCZIZO.js} +6 -6
- package/dist/issue-triage-EVO6AVIL.js +17 -0
- package/dist/{pr-reviewer-helpers-XE66SGCA.js → pr-reviewer-helpers-TKAUWB4A.js} +4 -4
- package/dist/{registry-command-AMK6DK45.js → registry-command-AMETMJOH.js} +2 -2
- package/dist/{repo-security-plan-3DCIIY42.js → repo-security-plan-FJGRRUBP.js} +3 -3
- package/dist/{research-helpers-synthesize-NQXPB4C6.js → research-helpers-synthesize-ICFOUQKO.js} +4 -4
- package/dist/{routing-memory-JXRM6VJH.js → routing-memory-IS54K2IN.js} +2 -2
- package/dist/{session-memory-JMRDHQMW.js → session-memory-ALSJWKJB.js} +3 -3
- package/dist/{setup-config-7KZ2NTZO.js → setup-config-AKCUOUXB.js} +3 -3
- package/dist/{setup-custom-api-426HNTF6.js → setup-custom-api-K3MJ75JT.js} +4 -4
- package/dist/setup-data-dir-QXAIWWJA.js +29 -0
- package/dist/{tool-memory-CMQX5AGW.js → tool-memory-PECYC5VM.js} +5 -5
- package/dist/{unified-registry-CCGJG7PQ.js → unified-registry-UDO6YR3I.js} +10 -10
- package/dist/{weather-report-F637CDJV.js → weather-report-TTRRDJNT.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-BQGUZW4E.js.map +0 -1
- package/dist/chunk-QFFIGF3D.js.map +0 -1
- package/dist/issue-triage-7TE4R3LI.js +0 -17
- package/dist/setup-data-dir-2IQC7FR2.js +0 -29
- /package/dist/{ast-rule-runner-HTI4MOOL.js.map → ast-rule-runner-G2JGX2Y6.js.map} +0 -0
- /package/dist/{child-mcp-config-WY6OA55Q.js.map → child-mcp-config-67WUZXUY.js.map} +0 -0
- /package/dist/{chunk-RPYXZONL.js.map → chunk-26XK77HW.js.map} +0 -0
- /package/dist/{chunk-G5A6FOFH.js.map → chunk-2FKD6XDX.js.map} +0 -0
- /package/dist/{chunk-3WMRUBWA.js.map → chunk-2QPIZDKD.js.map} +0 -0
- /package/dist/{chunk-HJ5B2Z62.js.map → chunk-2S5Q42VC.js.map} +0 -0
- /package/dist/{chunk-D7JRDB2N.js.map → chunk-5DW7CTDJ.js.map} +0 -0
- /package/dist/{chunk-57MMCJKK.js.map → chunk-632H3ECB.js.map} +0 -0
- /package/dist/{chunk-6Q2WMMQJ.js.map → chunk-6TDBRWBP.js.map} +0 -0
- /package/dist/{chunk-KS6PQFSD.js.map → chunk-7PMOK2TP.js.map} +0 -0
- /package/dist/{chunk-7ILTIJY7.js.map → chunk-AR5DUSJR.js.map} +0 -0
- /package/dist/{chunk-XRYT4IBA.js.map → chunk-B4ZUXJS5.js.map} +0 -0
- /package/dist/{chunk-V56A6KDM.js.map → chunk-BKCYVB5L.js.map} +0 -0
- /package/dist/{chunk-UTPNVVIG.js.map → chunk-EK4KU632.js.map} +0 -0
- /package/dist/{chunk-DQMUMYRB.js.map → chunk-F456ANG3.js.map} +0 -0
- /package/dist/{chunk-FRSACWZT.js.map → chunk-FBDMXWOH.js.map} +0 -0
- /package/dist/{chunk-UWWB7MIY.js.map → chunk-FOTNVPFW.js.map} +0 -0
- /package/dist/{chunk-WGBQSUTR.js.map → chunk-GEUOGSCS.js.map} +0 -0
- /package/dist/{chunk-4PUYOJ3Q.js.map → chunk-JEHXN5OP.js.map} +0 -0
- /package/dist/{chunk-E2YSUFTQ.js.map → chunk-JFDD26YE.js.map} +0 -0
- /package/dist/{chunk-S2SWQSD5.js.map → chunk-JIDYNUWN.js.map} +0 -0
- /package/dist/{chunk-B6MP4U5E.js.map → chunk-JUABI24Q.js.map} +0 -0
- /package/dist/{chunk-J7FPCOPJ.js.map → chunk-L4ZODI4L.js.map} +0 -0
- /package/dist/{chunk-W77OLNGW.js.map → chunk-N7KTMYU7.js.map} +0 -0
- /package/dist/{chunk-G4IEDTP4.js.map → chunk-OZ6BSEWG.js.map} +0 -0
- /package/dist/{chunk-T2R3RUYE.js.map → chunk-PSICREXH.js.map} +0 -0
- /package/dist/{chunk-SJR5BXQI.js.map → chunk-PZ6JLXJY.js.map} +0 -0
- /package/dist/{chunk-44V524M2.js.map → chunk-QBD6VIKF.js.map} +0 -0
- /package/dist/{chunk-SXLU7QLW.js.map → chunk-UFLS3T5O.js.map} +0 -0
- /package/dist/{chunk-DVHQ2EPD.js.map → chunk-UQUWPADT.js.map} +0 -0
- /package/dist/{chunk-NQGDSKBG.js.map → chunk-W2VXZSYG.js.map} +0 -0
- /package/dist/{chunk-SPN7FNBB.js.map → chunk-W5UCRZN4.js.map} +0 -0
- /package/dist/{chunk-CZSAABT5.js.map → chunk-W6ERGRHU.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-V4B2BCFK.js.map → cli-circuit-breaker-SB5C4IET.js.map} +0 -0
- /package/dist/{composite-router-2QDMUPKZ.js.map → composite-router-JSHBVU4P.js.map} +0 -0
- /package/dist/{consensus-vote-PQCSWHNE.js.map → consensus-vote-Q6KPYKAK.js.map} +0 -0
- /package/dist/{context-retriever-RDULY5VX.js.map → context-retriever-DPMNUHY6.js.map} +0 -0
- /package/dist/{doctor-deep-FVZ75TLM.js.map → doctor-deep-3KEJPUDT.js.map} +0 -0
- /package/dist/{doctor-live-5C65P4XA.js.map → doctor-live-WNHELHML.js.map} +0 -0
- /package/dist/{expert-bridge-NV2DJLI4.js.map → expert-bridge-3QCSME4G.js.map} +0 -0
- /package/dist/{factory-DQEMZMWL.js.map → factory-UCZLL3PX.js.map} +0 -0
- /package/dist/{factory-PK7FEPFH.js.map → factory-ZWY3DVB7.js.map} +0 -0
- /package/dist/{improvement-review-SW6IWW2M.js.map → improvement-review-Q7UTXUC5.js.map} +0 -0
- /package/dist/{init-opencode-O26PWDLR.js.map → init-opencode-7SRCZIZO.js.map} +0 -0
- /package/dist/{issue-triage-7TE4R3LI.js.map → issue-triage-EVO6AVIL.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-XE66SGCA.js.map → pr-reviewer-helpers-TKAUWB4A.js.map} +0 -0
- /package/dist/{registry-command-AMK6DK45.js.map → registry-command-AMETMJOH.js.map} +0 -0
- /package/dist/{repo-security-plan-3DCIIY42.js.map → repo-security-plan-FJGRRUBP.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-NQXPB4C6.js.map → research-helpers-synthesize-ICFOUQKO.js.map} +0 -0
- /package/dist/{routing-memory-JXRM6VJH.js.map → routing-memory-IS54K2IN.js.map} +0 -0
- /package/dist/{session-memory-JMRDHQMW.js.map → session-memory-ALSJWKJB.js.map} +0 -0
- /package/dist/{setup-config-7KZ2NTZO.js.map → setup-config-AKCUOUXB.js.map} +0 -0
- /package/dist/{setup-custom-api-426HNTF6.js.map → setup-custom-api-K3MJ75JT.js.map} +0 -0
- /package/dist/{setup-data-dir-2IQC7FR2.js.map → setup-data-dir-QXAIWWJA.js.map} +0 -0
- /package/dist/{tool-memory-CMQX5AGW.js.map → tool-memory-PECYC5VM.js.map} +0 -0
- /package/dist/{unified-registry-CCGJG7PQ.js.map → unified-registry-UDO6YR3I.js.map} +0 -0
- /package/dist/{weather-report-F637CDJV.js.map → weather-report-TTRRDJNT.js.map} +0 -0
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
getBuiltInAstRulesPath,
|
|
10
10
|
loadRules,
|
|
11
11
|
runAstQaRules
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-PSICREXH.js";
|
|
13
|
+
import "./chunk-KGSETTH5.js";
|
|
14
14
|
import "./chunk-3HELETAQ.js";
|
|
15
15
|
import "./chunk-JVNJJ2VL.js";
|
|
16
16
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
loadRules,
|
|
27
27
|
runAstQaRules
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=ast-rule-runner-
|
|
29
|
+
//# sourceMappingURL=ast-rule-runner-G2JGX2Y6.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-T5GVEXSA.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KGSETTH5.js";
|
|
7
7
|
import "./chunk-3HELETAQ.js";
|
|
8
8
|
import "./chunk-JVNJJ2VL.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-67WUZXUY.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createLogger,
|
|
4
4
|
getDefaultRegistry,
|
|
5
5
|
roundToMicroUsd
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KGSETTH5.js";
|
|
7
7
|
import {
|
|
8
8
|
getNexusDataDir
|
|
9
9
|
} from "./chunk-JVNJJ2VL.js";
|
|
@@ -196,4 +196,4 @@ export {
|
|
|
196
196
|
loadUsageEvents,
|
|
197
197
|
rollupByModel
|
|
198
198
|
};
|
|
199
|
-
//# sourceMappingURL=chunk-
|
|
199
|
+
//# sourceMappingURL=chunk-26XK77HW.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
assessReputation,
|
|
12
12
|
sanitizeInput
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-F456ANG3.js";
|
|
14
14
|
import {
|
|
15
15
|
createLogger,
|
|
16
16
|
err,
|
|
17
17
|
getTimeProvider,
|
|
18
18
|
ok
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KGSETTH5.js";
|
|
20
20
|
|
|
21
21
|
// src/dogfooding/pr-reviewer-helpers.ts
|
|
22
22
|
import { randomUUID } from "node:crypto";
|
|
@@ -416,4 +416,4 @@ export {
|
|
|
416
416
|
createFailedReview,
|
|
417
417
|
reviewPostingBlock
|
|
418
418
|
};
|
|
419
|
-
//# sourceMappingURL=chunk-
|
|
419
|
+
//# sourceMappingURL=chunk-2FKD6XDX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getErrorMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KGSETTH5.js";
|
|
4
4
|
|
|
5
5
|
// src/cli/setup-config.ts
|
|
6
6
|
import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
|
|
|
77
77
|
export {
|
|
78
78
|
runConfigInitSync
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-2QPIZDKD.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KGSETTH5.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -270,4 +270,4 @@ export {
|
|
|
270
270
|
ScmError,
|
|
271
271
|
GitHubProvider
|
|
272
272
|
};
|
|
273
|
-
//# sourceMappingURL=chunk-
|
|
273
|
+
//# sourceMappingURL=chunk-2S5Q42VC.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeCostDetail,
|
|
3
3
|
priceBasisOf
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-26XK77HW.js";
|
|
5
5
|
import {
|
|
6
6
|
allOf
|
|
7
7
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LPY73UIV.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-GEUOGSCS.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
33
33
|
createEvent,
|
|
34
34
|
getGlobalRegistry
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-JUABI24Q.js";
|
|
36
36
|
import {
|
|
37
37
|
getToolMemory
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-OZ6BSEWG.js";
|
|
39
39
|
import {
|
|
40
40
|
authRemediation,
|
|
41
41
|
delay,
|
|
42
42
|
getAvailableClis,
|
|
43
43
|
sleep,
|
|
44
44
|
withTimeout
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-JIDYNUWN.js";
|
|
46
46
|
import {
|
|
47
47
|
AgentError,
|
|
48
48
|
CLI_NAMES,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
registerPersistentOutcomeStoreFactory,
|
|
71
71
|
resolveClassGuardMs,
|
|
72
72
|
resolveVoteTimeout
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-KGSETTH5.js";
|
|
74
74
|
import {
|
|
75
75
|
ensureLearningDir,
|
|
76
76
|
getOutcomesFile
|
|
@@ -7209,7 +7209,7 @@ function logPartialProposal(bounded, log) {
|
|
|
7209
7209
|
}
|
|
7210
7210
|
async function runContrarianCheck(proposal, log) {
|
|
7211
7211
|
try {
|
|
7212
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
7212
|
+
const { executeExpert } = await import("./expert-bridge-3QCSME4G.js");
|
|
7213
7213
|
const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
|
|
7214
7214
|
logPartialProposal(bounded, log);
|
|
7215
7215
|
const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
|
|
@@ -7806,4 +7806,4 @@ export {
|
|
|
7806
7806
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
7807
7807
|
registerConsensusVoteTool
|
|
7808
7808
|
};
|
|
7809
|
-
//# sourceMappingURL=chunk-
|
|
7809
|
+
//# sourceMappingURL=chunk-5DW7CTDJ.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LPY73UIV.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
getTimeProvider,
|
|
21
21
|
isDeclaredNeverDeprecate,
|
|
22
22
|
isRegisteredToolName
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KGSETTH5.js";
|
|
24
24
|
import {
|
|
25
25
|
getNexusDataDir,
|
|
26
26
|
nexusDataPath
|
|
@@ -2173,4 +2173,4 @@ export {
|
|
|
2173
2173
|
runImprovementReview,
|
|
2174
2174
|
registerImprovementReviewTool
|
|
2175
2175
|
};
|
|
2176
|
-
//# sourceMappingURL=chunk-
|
|
2176
|
+
//# sourceMappingURL=chunk-632H3ECB.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
lookupInTreeCapability,
|
|
14
14
|
ok,
|
|
15
15
|
resolveRetryAfterMs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KGSETTH5.js";
|
|
17
17
|
|
|
18
18
|
// src/config/model-parameter-support.ts
|
|
19
19
|
function parseClaudeMajorMinor(bareId) {
|
|
@@ -834,4 +834,4 @@ export {
|
|
|
834
834
|
DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
|
|
835
835
|
collectStream
|
|
836
836
|
};
|
|
837
|
-
//# sourceMappingURL=chunk-
|
|
837
|
+
//# sourceMappingURL=chunk-6TDBRWBP.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getErrorMessage,
|
|
5
5
|
getTimeProvider,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KGSETTH5.js";
|
|
8
8
|
|
|
9
9
|
// src/context/session-memory.ts
|
|
10
10
|
import * as fs from "node:fs";
|
|
@@ -370,4 +370,4 @@ export {
|
|
|
370
370
|
SessionMemory,
|
|
371
371
|
createSessionMemory
|
|
372
372
|
};
|
|
373
|
-
//# sourceMappingURL=chunk-
|
|
373
|
+
//# sourceMappingURL=chunk-7PMOK2TP.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCliSlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L4ZODI4L.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider,
|
|
7
7
|
isRateLimitText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KGSETTH5.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-67WUZXUY.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-ZWY3DVB7.js");
|
|
97
|
+
const { createCompositeRouter } = await import("./composite-router-JSHBVU4P.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-SB5C4IET.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-AR5DUSJR.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRandomProvider,
|
|
3
3
|
getTimeProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KGSETTH5.js";
|
|
5
5
|
|
|
6
6
|
// src/utils/id-utils.ts
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
generateHyphenId,
|
|
25
25
|
generateUUID
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-B4ZUXJS5.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
loadTechniquesRegistry,
|
|
6
6
|
resolveInsideRoot,
|
|
7
7
|
savePapersRegistry
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W6ERGRHU.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveToken
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-N7KTMYU7.js";
|
|
12
12
|
import {
|
|
13
13
|
getToolMemory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OZ6BSEWG.js";
|
|
15
15
|
import {
|
|
16
16
|
capitalizeWords,
|
|
17
17
|
tokenizeFiltered,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
ok,
|
|
41
41
|
registerPersistentDistillerFactory,
|
|
42
42
|
sigmoidConfidence
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-KGSETTH5.js";
|
|
44
44
|
import {
|
|
45
45
|
ensureLearningDir,
|
|
46
46
|
getRulesFile
|
|
@@ -4216,4 +4216,4 @@ export {
|
|
|
4216
4216
|
DEFAULT_CONTEXT_BUDGET_TOKENS,
|
|
4217
4217
|
getContextPromptPrefix
|
|
4218
4218
|
};
|
|
4219
|
-
//# sourceMappingURL=chunk-
|
|
4219
|
+
//# sourceMappingURL=chunk-BKCYVB5L.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UFLS3T5O.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-DGWT7DXX.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-QBD6VIKF.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-AR5DUSJR.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
VOTER_ROLES,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
toJobSummary,
|
|
56
56
|
updateStage,
|
|
57
57
|
writeJobCancelled
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-5DW7CTDJ.js";
|
|
59
59
|
import {
|
|
60
60
|
allOf,
|
|
61
61
|
anyOf
|
|
@@ -63,19 +63,19 @@ import {
|
|
|
63
63
|
import {
|
|
64
64
|
normalizeTopicToCanonical,
|
|
65
65
|
synthesizeResearch
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-FOTNVPFW.js";
|
|
67
67
|
import {
|
|
68
68
|
IssueTriage,
|
|
69
69
|
createDurableAuditSink,
|
|
70
70
|
createDurableAuditTrail
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-EK4KU632.js";
|
|
72
72
|
import {
|
|
73
73
|
resolveEnvMode,
|
|
74
74
|
sanitizeInput
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-F456ANG3.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-632H3ECB.js";
|
|
79
79
|
import {
|
|
80
80
|
NOOP_NOTIFIER,
|
|
81
81
|
RateLimiter,
|
|
@@ -100,18 +100,18 @@ import {
|
|
|
100
100
|
withAuditTrail,
|
|
101
101
|
withProgressHeartbeat,
|
|
102
102
|
wrapToolWithTimeout
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-LPY73UIV.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
107
107
|
emitPipelinePolicyEvent
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-W5UCRZN4.js";
|
|
109
109
|
import {
|
|
110
110
|
EventTopics,
|
|
111
111
|
createEvent,
|
|
112
112
|
getGlobalEventBus,
|
|
113
113
|
getGlobalRegistry
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-JUABI24Q.js";
|
|
115
115
|
import {
|
|
116
116
|
IDENTIFIER_RE,
|
|
117
117
|
LANG_VALUES,
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
parseRegistry,
|
|
145
145
|
sourceExistsInRegistry,
|
|
146
146
|
summarizeContextForPrompt
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-BKCYVB5L.js";
|
|
148
148
|
import {
|
|
149
149
|
REGISTRY_PATH,
|
|
150
150
|
getProjectRoot,
|
|
@@ -152,25 +152,25 @@ import {
|
|
|
152
152
|
loadTechniquesRegistry,
|
|
153
153
|
resolveInsideRoot,
|
|
154
154
|
resolveRegistryRoot
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-W6ERGRHU.js";
|
|
156
156
|
import {
|
|
157
157
|
getTokenEnvVars,
|
|
158
158
|
resolveToken
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-N7KTMYU7.js";
|
|
160
160
|
import {
|
|
161
161
|
DEFAULT_RELEVANCE_CONFIG,
|
|
162
162
|
MemoryImportance,
|
|
163
163
|
MemoryType,
|
|
164
164
|
calculateTextJaccardSimilarity,
|
|
165
165
|
getToolMemory
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-OZ6BSEWG.js";
|
|
167
167
|
import {
|
|
168
168
|
STOPWORDS,
|
|
169
169
|
truncateWithInfo
|
|
170
170
|
} from "./chunk-7LP6VJRP.js";
|
|
171
171
|
import {
|
|
172
172
|
createSessionMemory
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-7PMOK2TP.js";
|
|
174
174
|
import {
|
|
175
175
|
BUILT_IN_EXPERTS,
|
|
176
176
|
BuiltInExpertTypeSchema,
|
|
@@ -188,25 +188,25 @@ import {
|
|
|
188
188
|
getAvailableClis,
|
|
189
189
|
sleep,
|
|
190
190
|
withTimeout
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-JIDYNUWN.js";
|
|
192
192
|
import {
|
|
193
193
|
BaseAdapter,
|
|
194
194
|
createStream,
|
|
195
195
|
requireApiKey,
|
|
196
196
|
validateApiKeyPresence
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-6TDBRWBP.js";
|
|
198
198
|
import {
|
|
199
199
|
DEFAULTS
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-UQUWPADT.js";
|
|
201
201
|
import {
|
|
202
202
|
getAvailabilityCache,
|
|
203
203
|
getCliForModelId,
|
|
204
204
|
resolveFallback
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-L4ZODI4L.js";
|
|
206
206
|
import {
|
|
207
207
|
generateHyphenId,
|
|
208
208
|
generateUUID
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-B4ZUXJS5.js";
|
|
210
210
|
import {
|
|
211
211
|
AGENT_ROUTER_TIMEOUTS,
|
|
212
212
|
API_TIMEOUTS,
|
|
@@ -220,6 +220,8 @@ import {
|
|
|
220
220
|
ConfigError,
|
|
221
221
|
DEFAULT_CLI,
|
|
222
222
|
DEFAULT_COMPOSITE_CONFIG,
|
|
223
|
+
DEFAULT_TOPSIS_CONFIG,
|
|
224
|
+
DEFAULT_TOPSIS_CRITERIA,
|
|
223
225
|
DEFAULT_ZERO_ROUTER_CONFIG,
|
|
224
226
|
EXPERT_TIMEOUTS,
|
|
225
227
|
ErrorCode,
|
|
@@ -313,7 +315,7 @@ import {
|
|
|
313
315
|
selectStrategyByManifest,
|
|
314
316
|
toExpertTaskAnalysisResult,
|
|
315
317
|
withStep
|
|
316
|
-
} from "./chunk-
|
|
318
|
+
} from "./chunk-KGSETTH5.js";
|
|
317
319
|
import {
|
|
318
320
|
ensureLearningDir,
|
|
319
321
|
getMetaOutcomesFile,
|
|
@@ -1232,6 +1234,21 @@ function getKnownNexusVarNames() {
|
|
|
1232
1234
|
var ADAPTER_DEFAULTS = {
|
|
1233
1235
|
latencyScoreWeight: 0.2
|
|
1234
1236
|
};
|
|
1237
|
+
function adaptTopsisConfig(yaml5) {
|
|
1238
|
+
if (yaml5 === void 0) return {};
|
|
1239
|
+
const result = {
|
|
1240
|
+
criteria: yaml5.criteria ?? DEFAULT_TOPSIS_CRITERIA,
|
|
1241
|
+
minQualityThreshold: yaml5.minQualityThreshold,
|
|
1242
|
+
verbose: yaml5.verbose
|
|
1243
|
+
};
|
|
1244
|
+
if (yaml5.maxLatencyMs !== void 0) {
|
|
1245
|
+
result.maxLatencyMs = yaml5.maxLatencyMs;
|
|
1246
|
+
}
|
|
1247
|
+
if (yaml5.maxCostPerRequest !== void 0) {
|
|
1248
|
+
result.maxCostPerRequest = yaml5.maxCostPerRequest;
|
|
1249
|
+
}
|
|
1250
|
+
return result;
|
|
1251
|
+
}
|
|
1235
1252
|
function adaptZeroRouterConfig(yaml5) {
|
|
1236
1253
|
if (yaml5 === void 0) return {};
|
|
1237
1254
|
return {
|
|
@@ -1342,9 +1359,29 @@ function adaptRoutingConfig(yamlConfig) {
|
|
|
1342
1359
|
...baseConfig,
|
|
1343
1360
|
zeroRouterConfig: adaptZeroRouterConfig(config.zeroRouter),
|
|
1344
1361
|
latencyTrackerConfig: adaptLatencyTrackerConfig(config.latencyTracker),
|
|
1345
|
-
routingMemoryConfig: adaptRoutingMemoryConfig(config.routingMemory)
|
|
1362
|
+
routingMemoryConfig: adaptRoutingMemoryConfig(config.routingMemory),
|
|
1363
|
+
// #5785: the fourth stage config. It was absent here while the adapter for
|
|
1364
|
+
// it (`getTopsisConfigFromYaml`) sat unused, so a `routing.topsis` block
|
|
1365
|
+
// was validated and defaulted and then never reached the stage.
|
|
1366
|
+
topsisConfig: getTopsisConfigFromYaml(yamlConfig)
|
|
1346
1367
|
};
|
|
1347
1368
|
}
|
|
1369
|
+
function getTopsisConfigFromYaml(yamlConfig) {
|
|
1370
|
+
const config = yamlConfig ?? ADAPTER_DEFAULTS;
|
|
1371
|
+
const adapted = adaptTopsisConfig(config.topsis);
|
|
1372
|
+
const result = {
|
|
1373
|
+
criteria: adapted.criteria ?? DEFAULT_TOPSIS_CONFIG.criteria,
|
|
1374
|
+
minQualityThreshold: adapted.minQualityThreshold ?? DEFAULT_TOPSIS_CONFIG.minQualityThreshold,
|
|
1375
|
+
verbose: adapted.verbose ?? DEFAULT_TOPSIS_CONFIG.verbose
|
|
1376
|
+
};
|
|
1377
|
+
if (adapted.maxLatencyMs !== void 0) {
|
|
1378
|
+
result.maxLatencyMs = adapted.maxLatencyMs;
|
|
1379
|
+
}
|
|
1380
|
+
if (adapted.maxCostPerRequest !== void 0) {
|
|
1381
|
+
result.maxCostPerRequest = adapted.maxCostPerRequest;
|
|
1382
|
+
}
|
|
1383
|
+
return result;
|
|
1384
|
+
}
|
|
1348
1385
|
|
|
1349
1386
|
// src/config/config-manager.ts
|
|
1350
1387
|
import { z as z12 } from "zod";
|
|
@@ -29895,7 +29932,7 @@ function execIdFields(executionId) {
|
|
|
29895
29932
|
async function populateUnifiedContextOnState(state, options) {
|
|
29896
29933
|
const taskCandidate = state["task"];
|
|
29897
29934
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29898
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29935
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-DPMNUHY6.js");
|
|
29899
29936
|
const category = inferTaskCategory2(taskCandidate);
|
|
29900
29937
|
const executionId = options?.executionId;
|
|
29901
29938
|
const execFields = execIdFields(executionId);
|
|
@@ -45359,7 +45396,7 @@ async function tryIssueTriage(task) {
|
|
|
45359
45396
|
try {
|
|
45360
45397
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45361
45398
|
if (issueMatch === null) return null;
|
|
45362
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45399
|
+
const { createIssueTriage } = await import("./issue-triage-EVO6AVIL.js");
|
|
45363
45400
|
const triage = createIssueTriage();
|
|
45364
45401
|
const owner = issueMatch[1] ?? "";
|
|
45365
45402
|
const num = issueMatch[2] ?? "";
|
|
@@ -45387,7 +45424,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45387
45424
|
]);
|
|
45388
45425
|
async function classifyWithLLM(task) {
|
|
45389
45426
|
try {
|
|
45390
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45427
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-3QCSME4G.js");
|
|
45391
45428
|
const prompt = [
|
|
45392
45429
|
"Classify this task into exactly one pipeline template.",
|
|
45393
45430
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -45761,7 +45798,7 @@ function buildVotingInput(plan, config) {
|
|
|
45761
45798
|
}
|
|
45762
45799
|
async function executeSingleVote(plan, config, log) {
|
|
45763
45800
|
try {
|
|
45764
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45801
|
+
const { executeVoting } = await import("./consensus-vote-Q6KPYKAK.js");
|
|
45765
45802
|
const input = buildVotingInput(plan, config);
|
|
45766
45803
|
const result = await executeVoting(input, log);
|
|
45767
45804
|
return parseVotingResult(result);
|
|
@@ -47320,7 +47357,7 @@ var memoryInitPromise = null;
|
|
|
47320
47357
|
async function initPipelineMemory() {
|
|
47321
47358
|
if (cachedMemory !== null) return cachedMemory;
|
|
47322
47359
|
try {
|
|
47323
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47360
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ALSJWKJB.js");
|
|
47324
47361
|
const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
|
|
47325
47362
|
const mem = createSessionMemory2(getLearningDir());
|
|
47326
47363
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47382,7 +47419,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47382
47419
|
callRecord(routingMemoryCache);
|
|
47383
47420
|
return;
|
|
47384
47421
|
}
|
|
47385
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47422
|
+
routingMemoryInitPromise ??= import("./routing-memory-IS54K2IN.js").then(({ createRoutingMemory }) => {
|
|
47386
47423
|
routingMemoryCache ??= createRoutingMemory();
|
|
47387
47424
|
return routingMemoryCache;
|
|
47388
47425
|
}).catch((error) => {
|
|
@@ -47416,7 +47453,7 @@ ${text}` : "";
|
|
|
47416
47453
|
}
|
|
47417
47454
|
async function getWeatherContext() {
|
|
47418
47455
|
try {
|
|
47419
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47456
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-TTRRDJNT.js");
|
|
47420
47457
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47421
47458
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47422
47459
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47434,7 +47471,7 @@ ${lines}
|
|
|
47434
47471
|
}
|
|
47435
47472
|
async function getMemoryContext(task) {
|
|
47436
47473
|
try {
|
|
47437
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47474
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ALSJWKJB.js");
|
|
47438
47475
|
const { getLearningDir } = await import("./learning-persistence-TX2WE7Y7.js");
|
|
47439
47476
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47440
47477
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47553,7 +47590,7 @@ ${contextBlock}`;
|
|
|
47553
47590
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47554
47591
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47555
47592
|
try {
|
|
47556
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47593
|
+
const { executeVoting } = await import("./consensus-vote-Q6KPYKAK.js");
|
|
47557
47594
|
const votingResult = await executeVoting(
|
|
47558
47595
|
{
|
|
47559
47596
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47984,7 +48021,7 @@ async function searchCodebaseForTask(task) {
|
|
|
47984
48021
|
}
|
|
47985
48022
|
async function queryResearchRegistry(task) {
|
|
47986
48023
|
try {
|
|
47987
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
48024
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-ICFOUQKO.js");
|
|
47988
48025
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
47989
48026
|
if (topic === void 0) return null;
|
|
47990
48027
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -48055,7 +48092,7 @@ function createScanStageWrapper() {
|
|
|
48055
48092
|
try {
|
|
48056
48093
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
48057
48094
|
if (slug !== void 0) {
|
|
48058
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
48095
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-FJGRRUBP.js");
|
|
48059
48096
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
48060
48097
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
48061
48098
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51293,7 +51330,7 @@ var GitHubTaskTracker = class {
|
|
|
51293
51330
|
cachedProvider = null;
|
|
51294
51331
|
async getProvider() {
|
|
51295
51332
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51296
|
-
const { createScmProvider } = await import("./factory-
|
|
51333
|
+
const { createScmProvider } = await import("./factory-UCZLL3PX.js");
|
|
51297
51334
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51298
51335
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51299
51336
|
this.cachedProvider = result.value;
|
|
@@ -52197,7 +52234,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
52197
52234
|
}
|
|
52198
52235
|
}
|
|
52199
52236
|
async function defaultSources(includeOpenRouter) {
|
|
52200
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
52237
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-ZWY3DVB7.js");
|
|
52201
52238
|
const adapters = createAllAdapters2();
|
|
52202
52239
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
52203
52240
|
}
|
|
@@ -56273,4 +56310,4 @@ export {
|
|
|
56273
56310
|
shutdownFeedbackSubscriber,
|
|
56274
56311
|
createEventBusBridge
|
|
56275
56312
|
};
|
|
56276
|
-
//# sourceMappingURL=chunk-
|
|
56313
|
+
//# sourceMappingURL=chunk-BLCCPKFR.js.map
|