nexus-agents 6.2.1 → 6.3.1
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-GM2RNTZL.js → child-mcp-config-6UXFBHW5.js} +2 -2
- package/dist/{chunk-7EXGLORM.js → chunk-2QAT5YNF.js} +4 -4
- package/dist/{chunk-B7OSEC65.js → chunk-2TP7YLBC.js} +2 -2
- package/dist/{chunk-BBROWRNT.js → chunk-47TTP5PC.js} +2 -2
- package/dist/{chunk-B5BCAZ67.js → chunk-5F36KKHM.js} +45 -8
- package/dist/chunk-5F36KKHM.js.map +1 -0
- package/dist/{chunk-Z7OXB43V.js → chunk-5KPPJRBY.js} +7 -7
- package/dist/{chunk-76E4SZ55.js → chunk-5LREI4NO.js} +3 -3
- package/dist/{chunk-VECTXFPX.js → chunk-5YZF5DUW.js} +8 -8
- package/dist/{chunk-62BXAKN4.js → chunk-64LODBD3.js} +2 -2
- package/dist/{chunk-2QKZC2TZ.js → chunk-DZQWHHGI.js} +4 -4
- package/dist/{chunk-LWDMTCTS.js → chunk-E2TILOO3.js} +5 -5
- package/dist/{chunk-PYSJGQW3.js → chunk-EPIRYAU3.js} +2 -2
- package/dist/chunk-FGP24DLV.js +7 -0
- package/dist/{chunk-5TQC5ZT3.js → chunk-GVRDLRJM.js} +2 -2
- package/dist/{chunk-A337QC7T.js → chunk-JYTDEFY6.js} +2 -2
- package/dist/{chunk-FJPF6NUY.js → chunk-KFKI2M4X.js} +2 -2
- package/dist/{chunk-UI5JIET2.js → chunk-LM5ZSWYB.js} +4 -4
- package/dist/{chunk-ZA5F5ESS.js → chunk-LVA5JGLO.js} +3 -3
- package/dist/{chunk-OTNFLBKH.js → chunk-LX4DUS4M.js} +6 -6
- package/dist/{chunk-UDOFXNIG.js → chunk-M2TFLYPC.js} +7 -7
- package/dist/{chunk-CWEAD5L5.js → chunk-MFORQ7FO.js} +2 -2
- package/dist/{chunk-56FMLTYA.js → chunk-QEZ5CS5H.js} +2 -2
- package/dist/{chunk-J2WPQTXB.js → chunk-QOF5S5Z5.js} +2 -2
- package/dist/{chunk-OIHHLQCQ.js → chunk-RLSTDKLT.js} +35 -37
- package/dist/{chunk-OIHHLQCQ.js.map → chunk-RLSTDKLT.js.map} +1 -1
- package/dist/{chunk-F7YLKM2N.js → chunk-T7NTJNCG.js} +2 -2
- package/dist/{chunk-P2KRXJI7.js → chunk-UONHQ3Q3.js} +2 -2
- package/dist/{chunk-UYNAJJQR.js → chunk-VE6ZMLCT.js} +2 -2
- package/dist/{chunk-BEVDHBLV.js → chunk-W36GQH4O.js} +8 -8
- package/dist/{chunk-L4TNK5EV.js → chunk-W3VI2AAJ.js} +3 -3
- package/dist/{chunk-NGRUMP7Q.js → chunk-XJ76EMQV.js} +5 -5
- package/dist/{chunk-2CZP5HI3.js → chunk-XWKL7QDH.js} +2 -2
- package/dist/{chunk-Q7FAI4JO.js → chunk-YZDCUGPS.js} +2 -2
- package/dist/{chunk-SMYCLSH6.js → chunk-ZCNB6YJ3.js} +4 -4
- package/dist/{chunk-LWDEI43X.js → chunk-ZT6RBA7L.js} +2 -2
- package/dist/{cli-circuit-breaker-DW7LLHDL.js → cli-circuit-breaker-U2CTVGQ7.js} +3 -3
- package/dist/cli.js +41 -41
- package/dist/{composite-router-4MOMC7ON.js → composite-router-GQOZMVH7.js} +2 -2
- package/dist/{consensus-vote-B4V5F3LW.js → consensus-vote-HUAARVF4.js} +17 -17
- package/dist/{context-retriever-3HRRVJPX.js → context-retriever-FHHESJMM.js} +8 -8
- package/dist/{doctor-deep-ADQSW3RD.js → doctor-deep-Y65MN57O.js} +3 -3
- package/dist/{doctor-live-LYCZPZ6R.js → doctor-live-SWFNSL5Y.js} +9 -9
- package/dist/{expert-bridge-7H5ZRUQQ.js → expert-bridge-Y75TQIEO.js} +4 -4
- package/dist/{factory-7OHJ6VO6.js → factory-7BW4S6PR.js} +5 -5
- package/dist/{factory-ABM4AGFY.js → factory-EBM7Z7MP.js} +9 -9
- package/dist/{improvement-review-GCW3UXQP.js → improvement-review-ZSOPFLCW.js} +6 -6
- package/dist/index.js +31 -31
- package/dist/{init-opencode-ZF56EXKA.js → init-opencode-SSEA3UCA.js} +6 -6
- package/dist/issue-triage-HQQ2TR4C.js +17 -0
- package/dist/{pr-reviewer-helpers-TZXSQZS7.js → pr-reviewer-helpers-245UWBYB.js} +4 -4
- package/dist/{registry-command-QFGRDD2U.js → registry-command-TPLFFKVI.js} +2 -2
- package/dist/{repo-security-plan-CMAAJI2S.js → repo-security-plan-C4JE7ZKQ.js} +3 -3
- package/dist/{research-helpers-synthesize-M5BOALWE.js → research-helpers-synthesize-ZZRDEX7R.js} +4 -4
- package/dist/{routing-memory-A3YJZSFO.js → routing-memory-MLMNEIZD.js} +2 -2
- package/dist/{session-memory-PHJHGRRQ.js → session-memory-43TLUGSP.js} +3 -3
- package/dist/{setup-config-QTUVOUZ4.js → setup-config-LZWSAEL7.js} +3 -3
- package/dist/{setup-custom-api-FBTU6BYC.js → setup-custom-api-UIIB2OYQ.js} +4 -4
- package/dist/setup-data-dir-5EDZL3CX.js +29 -0
- package/dist/{tool-memory-BL6YZ7WW.js → tool-memory-6HM6HC2C.js} +5 -5
- package/dist/{unified-registry-HVXWIHRL.js → unified-registry-YYHYITVO.js} +10 -10
- package/dist/{weather-report-CVPWMDQF.js → weather-report-WCWQRH3K.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-B5BCAZ67.js.map +0 -1
- package/dist/chunk-C364WBYN.js +0 -7
- package/dist/issue-triage-JCPJ27PG.js +0 -17
- package/dist/setup-data-dir-QH5D7IYY.js +0 -29
- /package/dist/{child-mcp-config-GM2RNTZL.js.map → child-mcp-config-6UXFBHW5.js.map} +0 -0
- /package/dist/{chunk-7EXGLORM.js.map → chunk-2QAT5YNF.js.map} +0 -0
- /package/dist/{chunk-B7OSEC65.js.map → chunk-2TP7YLBC.js.map} +0 -0
- /package/dist/{chunk-BBROWRNT.js.map → chunk-47TTP5PC.js.map} +0 -0
- /package/dist/{chunk-Z7OXB43V.js.map → chunk-5KPPJRBY.js.map} +0 -0
- /package/dist/{chunk-76E4SZ55.js.map → chunk-5LREI4NO.js.map} +0 -0
- /package/dist/{chunk-VECTXFPX.js.map → chunk-5YZF5DUW.js.map} +0 -0
- /package/dist/{chunk-62BXAKN4.js.map → chunk-64LODBD3.js.map} +0 -0
- /package/dist/{chunk-2QKZC2TZ.js.map → chunk-DZQWHHGI.js.map} +0 -0
- /package/dist/{chunk-LWDMTCTS.js.map → chunk-E2TILOO3.js.map} +0 -0
- /package/dist/{chunk-PYSJGQW3.js.map → chunk-EPIRYAU3.js.map} +0 -0
- /package/dist/{chunk-C364WBYN.js.map → chunk-FGP24DLV.js.map} +0 -0
- /package/dist/{chunk-5TQC5ZT3.js.map → chunk-GVRDLRJM.js.map} +0 -0
- /package/dist/{chunk-A337QC7T.js.map → chunk-JYTDEFY6.js.map} +0 -0
- /package/dist/{chunk-FJPF6NUY.js.map → chunk-KFKI2M4X.js.map} +0 -0
- /package/dist/{chunk-UI5JIET2.js.map → chunk-LM5ZSWYB.js.map} +0 -0
- /package/dist/{chunk-ZA5F5ESS.js.map → chunk-LVA5JGLO.js.map} +0 -0
- /package/dist/{chunk-OTNFLBKH.js.map → chunk-LX4DUS4M.js.map} +0 -0
- /package/dist/{chunk-UDOFXNIG.js.map → chunk-M2TFLYPC.js.map} +0 -0
- /package/dist/{chunk-CWEAD5L5.js.map → chunk-MFORQ7FO.js.map} +0 -0
- /package/dist/{chunk-56FMLTYA.js.map → chunk-QEZ5CS5H.js.map} +0 -0
- /package/dist/{chunk-J2WPQTXB.js.map → chunk-QOF5S5Z5.js.map} +0 -0
- /package/dist/{chunk-F7YLKM2N.js.map → chunk-T7NTJNCG.js.map} +0 -0
- /package/dist/{chunk-P2KRXJI7.js.map → chunk-UONHQ3Q3.js.map} +0 -0
- /package/dist/{chunk-UYNAJJQR.js.map → chunk-VE6ZMLCT.js.map} +0 -0
- /package/dist/{chunk-BEVDHBLV.js.map → chunk-W36GQH4O.js.map} +0 -0
- /package/dist/{chunk-L4TNK5EV.js.map → chunk-W3VI2AAJ.js.map} +0 -0
- /package/dist/{chunk-NGRUMP7Q.js.map → chunk-XJ76EMQV.js.map} +0 -0
- /package/dist/{chunk-2CZP5HI3.js.map → chunk-XWKL7QDH.js.map} +0 -0
- /package/dist/{chunk-Q7FAI4JO.js.map → chunk-YZDCUGPS.js.map} +0 -0
- /package/dist/{chunk-SMYCLSH6.js.map → chunk-ZCNB6YJ3.js.map} +0 -0
- /package/dist/{chunk-LWDEI43X.js.map → chunk-ZT6RBA7L.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-DW7LLHDL.js.map → cli-circuit-breaker-U2CTVGQ7.js.map} +0 -0
- /package/dist/{composite-router-4MOMC7ON.js.map → composite-router-GQOZMVH7.js.map} +0 -0
- /package/dist/{consensus-vote-B4V5F3LW.js.map → consensus-vote-HUAARVF4.js.map} +0 -0
- /package/dist/{context-retriever-3HRRVJPX.js.map → context-retriever-FHHESJMM.js.map} +0 -0
- /package/dist/{doctor-deep-ADQSW3RD.js.map → doctor-deep-Y65MN57O.js.map} +0 -0
- /package/dist/{doctor-live-LYCZPZ6R.js.map → doctor-live-SWFNSL5Y.js.map} +0 -0
- /package/dist/{expert-bridge-7H5ZRUQQ.js.map → expert-bridge-Y75TQIEO.js.map} +0 -0
- /package/dist/{factory-7OHJ6VO6.js.map → factory-7BW4S6PR.js.map} +0 -0
- /package/dist/{factory-ABM4AGFY.js.map → factory-EBM7Z7MP.js.map} +0 -0
- /package/dist/{improvement-review-GCW3UXQP.js.map → improvement-review-ZSOPFLCW.js.map} +0 -0
- /package/dist/{init-opencode-ZF56EXKA.js.map → init-opencode-SSEA3UCA.js.map} +0 -0
- /package/dist/{issue-triage-JCPJ27PG.js.map → issue-triage-HQQ2TR4C.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-TZXSQZS7.js.map → pr-reviewer-helpers-245UWBYB.js.map} +0 -0
- /package/dist/{registry-command-QFGRDD2U.js.map → registry-command-TPLFFKVI.js.map} +0 -0
- /package/dist/{repo-security-plan-CMAAJI2S.js.map → repo-security-plan-C4JE7ZKQ.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-M5BOALWE.js.map → research-helpers-synthesize-ZZRDEX7R.js.map} +0 -0
- /package/dist/{routing-memory-A3YJZSFO.js.map → routing-memory-MLMNEIZD.js.map} +0 -0
- /package/dist/{session-memory-PHJHGRRQ.js.map → session-memory-43TLUGSP.js.map} +0 -0
- /package/dist/{setup-config-QTUVOUZ4.js.map → setup-config-LZWSAEL7.js.map} +0 -0
- /package/dist/{setup-custom-api-FBTU6BYC.js.map → setup-custom-api-UIIB2OYQ.js.map} +0 -0
- /package/dist/{setup-data-dir-QH5D7IYY.js.map → setup-data-dir-5EDZL3CX.js.map} +0 -0
- /package/dist/{tool-memory-BL6YZ7WW.js.map → tool-memory-6HM6HC2C.js.map} +0 -0
- /package/dist/{unified-registry-HVXWIHRL.js.map → unified-registry-YYHYITVO.js.map} +0 -0
- /package/dist/{weather-report-CVPWMDQF.js.map → weather-report-WCWQRH3K.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-47TTP5PC.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5KPPJRBY.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-M2TFLYPC.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
VOTER_ROLES,
|
|
@@ -47,24 +47,24 @@ import {
|
|
|
47
47
|
simulationDeniedResult,
|
|
48
48
|
toJobSummary,
|
|
49
49
|
writeJobCancelled
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-W36GQH4O.js";
|
|
51
51
|
import {
|
|
52
52
|
allOf
|
|
53
53
|
} from "./chunk-OQB3XC5O.js";
|
|
54
54
|
import {
|
|
55
55
|
normalizeTopicToCanonical,
|
|
56
56
|
synthesizeResearch
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-5LREI4NO.js";
|
|
58
58
|
import {
|
|
59
59
|
IssueTriage
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-LX4DUS4M.js";
|
|
61
61
|
import {
|
|
62
62
|
resolveEnvMode,
|
|
63
63
|
sanitizeInput
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-JYTDEFY6.js";
|
|
65
65
|
import {
|
|
66
66
|
withPrerequisite
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-LVA5JGLO.js";
|
|
68
68
|
import {
|
|
69
69
|
NOOP_NOTIFIER,
|
|
70
70
|
RateLimiter,
|
|
@@ -88,18 +88,18 @@ import {
|
|
|
88
88
|
withAuditTrail,
|
|
89
89
|
withProgressHeartbeat,
|
|
90
90
|
wrapToolWithTimeout
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-2QAT5YNF.js";
|
|
92
92
|
import {
|
|
93
93
|
createAuditTrail,
|
|
94
94
|
createGraphAuditBridge,
|
|
95
95
|
emitPipelinePolicyEvent
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-QOF5S5Z5.js";
|
|
97
97
|
import {
|
|
98
98
|
EventTopics,
|
|
99
99
|
createEvent,
|
|
100
100
|
getGlobalEventBus,
|
|
101
101
|
getGlobalRegistry
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-DZQWHHGI.js";
|
|
103
103
|
import {
|
|
104
104
|
IDENTIFIER_RE,
|
|
105
105
|
LANG_VALUES,
|
|
@@ -132,29 +132,29 @@ import {
|
|
|
132
132
|
parseRegistry,
|
|
133
133
|
sourceExistsInRegistry,
|
|
134
134
|
summarizeContextForPrompt
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-XJ76EMQV.js";
|
|
136
136
|
import {
|
|
137
137
|
loadPapersRegistry,
|
|
138
138
|
loadTechniquesRegistry,
|
|
139
139
|
resolveInsideRoot
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-2TP7YLBC.js";
|
|
141
141
|
import {
|
|
142
142
|
getTokenEnvVars,
|
|
143
143
|
resolveToken
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-YZDCUGPS.js";
|
|
145
145
|
import {
|
|
146
146
|
DEFAULT_RELEVANCE_CONFIG,
|
|
147
147
|
MemoryImportance,
|
|
148
148
|
calculateTextJaccardSimilarity,
|
|
149
149
|
getToolMemory
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-ZCNB6YJ3.js";
|
|
151
151
|
import {
|
|
152
152
|
STOPWORDS,
|
|
153
153
|
truncateWithInfo
|
|
154
154
|
} from "./chunk-6T3EPABN.js";
|
|
155
155
|
import {
|
|
156
156
|
createSessionMemory
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-MFORQ7FO.js";
|
|
158
158
|
import {
|
|
159
159
|
BUILT_IN_EXPERTS,
|
|
160
160
|
BuiltInExpertTypeSchema,
|
|
@@ -172,25 +172,25 @@ import {
|
|
|
172
172
|
getAvailableClis,
|
|
173
173
|
sleep,
|
|
174
174
|
withTimeout
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-5YZF5DUW.js";
|
|
176
176
|
import {
|
|
177
177
|
BaseAdapter,
|
|
178
178
|
createStream,
|
|
179
179
|
requireApiKey,
|
|
180
180
|
validateApiKeyPresence
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-UONHQ3Q3.js";
|
|
182
182
|
import {
|
|
183
183
|
DEFAULTS
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-QEZ5CS5H.js";
|
|
185
185
|
import {
|
|
186
186
|
getAvailabilityCache,
|
|
187
187
|
getCliForModelId,
|
|
188
188
|
resolveFallback
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-XWKL7QDH.js";
|
|
190
190
|
import {
|
|
191
191
|
generateHyphenId,
|
|
192
192
|
generateUUID
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-T7NTJNCG.js";
|
|
194
194
|
import {
|
|
195
195
|
AGENT_ROUTER_TIMEOUTS,
|
|
196
196
|
API_TIMEOUTS,
|
|
@@ -296,7 +296,7 @@ import {
|
|
|
296
296
|
selectStrategyByManifest,
|
|
297
297
|
toExpertTaskAnalysisResult,
|
|
298
298
|
withStep
|
|
299
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-5F36KKHM.js";
|
|
300
300
|
import {
|
|
301
301
|
ensureLearningDir,
|
|
302
302
|
getMetaOutcomesFile,
|
|
@@ -29692,7 +29692,7 @@ function execIdFields(executionId) {
|
|
|
29692
29692
|
async function populateUnifiedContextOnState(state, options) {
|
|
29693
29693
|
const taskCandidate = state["task"];
|
|
29694
29694
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29695
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29695
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-FHHESJMM.js");
|
|
29696
29696
|
const category = inferTaskCategory2(taskCandidate);
|
|
29697
29697
|
const executionId = options?.executionId;
|
|
29698
29698
|
const execFields = execIdFields(executionId);
|
|
@@ -45525,7 +45525,7 @@ async function tryIssueTriage(task) {
|
|
|
45525
45525
|
try {
|
|
45526
45526
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45527
45527
|
if (issueMatch === null) return null;
|
|
45528
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45528
|
+
const { createIssueTriage } = await import("./issue-triage-HQQ2TR4C.js");
|
|
45529
45529
|
const triage = createIssueTriage();
|
|
45530
45530
|
const owner = issueMatch[1] ?? "";
|
|
45531
45531
|
const num = issueMatch[2] ?? "";
|
|
@@ -45553,7 +45553,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45553
45553
|
]);
|
|
45554
45554
|
async function classifyWithLLM(task) {
|
|
45555
45555
|
try {
|
|
45556
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45556
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-Y75TQIEO.js");
|
|
45557
45557
|
const prompt = [
|
|
45558
45558
|
"Classify this task into exactly one pipeline template.",
|
|
45559
45559
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -46708,7 +46708,6 @@ async function queryOsvBatch(packages, config = DEFAULT_OSV_CONFIG) {
|
|
|
46708
46708
|
|
|
46709
46709
|
// src/pipeline/security-gate.ts
|
|
46710
46710
|
var logger45 = createLogger({ component: "security-gate" });
|
|
46711
|
-
var lastOsvVulnerabilities = [];
|
|
46712
46711
|
var BLOCKING_SEVERITIES = /* @__PURE__ */ new Set(["critical", "high"]);
|
|
46713
46712
|
function checkSecurityScan(targetDir, rulesets = ["p/default"], config = {}) {
|
|
46714
46713
|
return async () => {
|
|
@@ -46734,7 +46733,6 @@ function checkSecurityScan(targetDir, rulesets = ["p/default"], config = {}) {
|
|
|
46734
46733
|
async function runSecurityPipeline(sarifResult, targetDir, config, start) {
|
|
46735
46734
|
const osv = await runOsvCheck(targetDir, config.enableOsv ?? true);
|
|
46736
46735
|
const osvVulns = osv.vulnerabilities;
|
|
46737
|
-
lastOsvVulnerabilities = osvVulns;
|
|
46738
46736
|
const blocking = getBlockingFindings(sarifResult.findings);
|
|
46739
46737
|
const details = buildScanSummary(
|
|
46740
46738
|
sarifResult.totalFindings,
|
|
@@ -47125,7 +47123,7 @@ var memoryInitPromise = null;
|
|
|
47125
47123
|
async function initPipelineMemory() {
|
|
47126
47124
|
if (cachedMemory !== null) return cachedMemory;
|
|
47127
47125
|
try {
|
|
47128
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47126
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-43TLUGSP.js");
|
|
47129
47127
|
const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
|
|
47130
47128
|
const mem = createSessionMemory2(getLearningDir());
|
|
47131
47129
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47187,7 +47185,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47187
47185
|
callRecord(routingMemoryCache);
|
|
47188
47186
|
return;
|
|
47189
47187
|
}
|
|
47190
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47188
|
+
routingMemoryInitPromise ??= import("./routing-memory-MLMNEIZD.js").then(({ createRoutingMemory }) => {
|
|
47191
47189
|
routingMemoryCache ??= createRoutingMemory();
|
|
47192
47190
|
return routingMemoryCache;
|
|
47193
47191
|
}).catch((error) => {
|
|
@@ -47221,7 +47219,7 @@ ${text}` : "";
|
|
|
47221
47219
|
}
|
|
47222
47220
|
async function getWeatherContext() {
|
|
47223
47221
|
try {
|
|
47224
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47222
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-WCWQRH3K.js");
|
|
47225
47223
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47226
47224
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47227
47225
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47239,7 +47237,7 @@ ${lines}
|
|
|
47239
47237
|
}
|
|
47240
47238
|
async function getMemoryContext(task) {
|
|
47241
47239
|
try {
|
|
47242
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47240
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-43TLUGSP.js");
|
|
47243
47241
|
const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
|
|
47244
47242
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47245
47243
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47358,7 +47356,7 @@ ${contextBlock}`;
|
|
|
47358
47356
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47359
47357
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47360
47358
|
try {
|
|
47361
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47359
|
+
const { executeVoting } = await import("./consensus-vote-HUAARVF4.js");
|
|
47362
47360
|
const votingResult = await executeVoting(
|
|
47363
47361
|
{
|
|
47364
47362
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47787,7 +47785,7 @@ async function searchCodebaseForTask(task) {
|
|
|
47787
47785
|
}
|
|
47788
47786
|
async function queryResearchRegistry(task) {
|
|
47789
47787
|
try {
|
|
47790
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
47788
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-ZZRDEX7R.js");
|
|
47791
47789
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
47792
47790
|
if (topic === void 0) return null;
|
|
47793
47791
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -47858,7 +47856,7 @@ function createScanStageWrapper() {
|
|
|
47858
47856
|
try {
|
|
47859
47857
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
47860
47858
|
if (slug !== void 0) {
|
|
47861
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
47859
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-C4JE7ZKQ.js");
|
|
47862
47860
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
47863
47861
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
47864
47862
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51002,7 +51000,7 @@ var GitHubTaskTracker = class {
|
|
|
51002
51000
|
cachedProvider = null;
|
|
51003
51001
|
async getProvider() {
|
|
51004
51002
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51005
|
-
const { createScmProvider } = await import("./factory-
|
|
51003
|
+
const { createScmProvider } = await import("./factory-7BW4S6PR.js");
|
|
51006
51004
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51007
51005
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51008
51006
|
this.cachedProvider = result.value;
|
|
@@ -51917,7 +51915,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
51917
51915
|
}
|
|
51918
51916
|
}
|
|
51919
51917
|
async function defaultSources(includeOpenRouter) {
|
|
51920
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
51918
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-EBM7Z7MP.js");
|
|
51921
51919
|
const adapters = createAllAdapters2();
|
|
51922
51920
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
51923
51921
|
}
|
|
@@ -55989,4 +55987,4 @@ export {
|
|
|
55989
55987
|
shutdownFeedbackSubscriber,
|
|
55990
55988
|
createEventBusBridge
|
|
55991
55989
|
};
|
|
55992
|
-
//# sourceMappingURL=chunk-
|
|
55990
|
+
//# sourceMappingURL=chunk-RLSTDKLT.js.map
|