nexus-agents 2.131.0 → 2.131.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-M7WR4XBB.js → child-mcp-config-WREL6AH5.js} +2 -2
- package/dist/{chunk-IZO437XR.js → chunk-2QFUW2SP.js} +7 -7
- package/dist/{chunk-ZM3S6PTN.js → chunk-3P252QNW.js} +3 -3
- package/dist/{chunk-EYD6O5TQ.js → chunk-3TTMRJUQ.js} +4 -4
- package/dist/{chunk-YHBVFTRG.js → chunk-4DJNJGIB.js} +2 -2
- package/dist/{chunk-VY5WEC2D.js → chunk-4KBG4ICZ.js} +4 -4
- package/dist/{chunk-VY5WEC2D.js.map → chunk-4KBG4ICZ.js.map} +1 -1
- package/dist/{chunk-ACARS7NG.js → chunk-4SNH5EMQ.js} +2 -2
- package/dist/{chunk-TA5HYM3H.js → chunk-BDERGLIX.js} +4 -4
- package/dist/{chunk-ZQ5K3PG4.js → chunk-DEL26PXS.js} +7 -7
- package/dist/{chunk-3UXCVSLJ.js → chunk-DI6SRBCT.js} +2 -2
- package/dist/{chunk-ULIAUMQD.js → chunk-DRYU676G.js} +2 -2
- package/dist/{chunk-YEK3ZHO6.js → chunk-FCPANF6R.js} +5 -5
- package/dist/{chunk-YXFQ3L56.js → chunk-GVBEF6LQ.js} +7 -7
- package/dist/{chunk-VTTPYENR.js → chunk-HM77WNJG.js} +2 -2
- package/dist/{chunk-FFJEERPZ.js → chunk-HS3K2B7Q.js} +2 -2
- package/dist/{chunk-OGOE3NW5.js → chunk-IPPWZNTH.js} +4 -4
- package/dist/{chunk-2Z4V5THE.js → chunk-JPBPQN4U.js} +2 -2
- package/dist/{chunk-A4MPCXZ7.js → chunk-JSYFPXID.js} +2 -2
- package/dist/{chunk-4A6MSCNJ.js → chunk-JTECUWWI.js} +2 -2
- package/dist/{chunk-5GQMP7QN.js → chunk-K3CES6CG.js} +3 -3
- package/dist/{chunk-5CADWTFO.js → chunk-KMNAZ5RC.js} +3 -3
- package/dist/{chunk-PM4MZHQK.js → chunk-NINNWQ42.js} +4 -4
- package/dist/{chunk-AVRE45DO.js → chunk-O563YLBH.js} +3 -3
- package/dist/{chunk-E4LAXVQE.js → chunk-PARI43LB.js} +2 -2
- package/dist/{chunk-FDY6YOFG.js → chunk-PGGSGUO4.js} +2 -2
- package/dist/{chunk-3XLDANPJ.js → chunk-PID22PMZ.js} +7 -7
- package/dist/{chunk-TGDWL7FG.js → chunk-RF7QCPNA.js} +2 -2
- package/dist/{chunk-KY2QMH3C.js → chunk-STIX3VTX.js} +5 -5
- package/dist/{chunk-3N7TSFKQ.js → chunk-TRTCKEHS.js} +2 -2
- package/dist/{chunk-CMRQR57K.js → chunk-UZWZ72X7.js} +3 -3
- package/dist/{chunk-ADIJIYFA.js → chunk-VZ3TTUWP.js} +2 -2
- package/dist/{chunk-7IMI64LW.js → chunk-WUJCVZIQ.js} +3 -3
- package/dist/{chunk-RPT5WZAT.js → chunk-ZLQCJRYK.js} +42 -37
- package/dist/{chunk-RPT5WZAT.js.map → chunk-ZLQCJRYK.js.map} +1 -1
- package/dist/{cli-circuit-breaker-XRXLO2V6.js → cli-circuit-breaker-WLYICYAZ.js} +4 -4
- package/dist/cli.js +39 -39
- package/dist/{composite-router-V36PBE7B.js → composite-router-Y6UCDBDE.js} +2 -2
- package/dist/{consensus-vote-3REPKLK4.js → consensus-vote-PEWNN4WK.js} +13 -13
- package/dist/{context-retriever-KCSSXI6X.js → context-retriever-GRMH7WSS.js} +8 -8
- package/dist/{doctor-deep-WID6FQ2F.js → doctor-deep-HXKGXUI4.js} +3 -3
- package/dist/{expert-bridge-F4UMZFWS.js → expert-bridge-BW55FRAH.js} +4 -4
- package/dist/factory-4EV6EDZF.js +21 -0
- package/dist/{factory-YVHULPTE.js → factory-YKXAMYW6.js} +5 -5
- package/dist/{improvement-review-AMVJW3SI.js → improvement-review-N2KSQSNW.js} +4 -4
- package/dist/index.js +28 -28
- package/dist/{init-opencode-3UPZL2UQ.js → init-opencode-6K6QNJWF.js} +5 -5
- package/dist/{issue-triage-U3VC5TKV.js → issue-triage-PYHGDQHK.js} +5 -5
- package/dist/{pr-reviewer-helpers-2WBM5GL7.js → pr-reviewer-helpers-GC6DEIBT.js} +4 -4
- package/dist/{registry-command-AXNA2H35.js → registry-command-7RRDCDAU.js} +2 -2
- package/dist/{repo-security-plan-P2KJ4FDT.js → repo-security-plan-5V43DEGA.js} +3 -3
- package/dist/{research-helpers-synthesize-UHWT62F2.js → research-helpers-synthesize-EDT6REQJ.js} +4 -4
- package/dist/{routing-memory-7RNR6A45.js → routing-memory-BQ6MUC5Y.js} +2 -2
- package/dist/{session-memory-2J2UBZJA.js → session-memory-MJHN5FXI.js} +3 -3
- package/dist/{setup-command-UF7EQKAL.js → setup-command-YAQE2KRH.js} +11 -11
- package/dist/{setup-config-Y3S2L4RD.js → setup-config-OFC6SD7H.js} +3 -3
- package/dist/{setup-custom-api-AZMHKIHE.js → setup-custom-api-3JEENEKA.js} +3 -3
- package/dist/{tool-memory-MIZVB4ZT.js → tool-memory-NKBBVA7O.js} +5 -5
- package/dist/{unified-registry-V4AZ6UYA.js → unified-registry-XXAVF4AQ.js} +9 -9
- package/dist/{weather-report-WZKEEAC7.js → weather-report-7WC3RKE7.js} +2 -2
- package/package.json +1 -1
- package/dist/factory-B3SPS47O.js +0 -21
- /package/dist/{child-mcp-config-M7WR4XBB.js.map → child-mcp-config-WREL6AH5.js.map} +0 -0
- /package/dist/{chunk-IZO437XR.js.map → chunk-2QFUW2SP.js.map} +0 -0
- /package/dist/{chunk-ZM3S6PTN.js.map → chunk-3P252QNW.js.map} +0 -0
- /package/dist/{chunk-EYD6O5TQ.js.map → chunk-3TTMRJUQ.js.map} +0 -0
- /package/dist/{chunk-YHBVFTRG.js.map → chunk-4DJNJGIB.js.map} +0 -0
- /package/dist/{chunk-ACARS7NG.js.map → chunk-4SNH5EMQ.js.map} +0 -0
- /package/dist/{chunk-TA5HYM3H.js.map → chunk-BDERGLIX.js.map} +0 -0
- /package/dist/{chunk-ZQ5K3PG4.js.map → chunk-DEL26PXS.js.map} +0 -0
- /package/dist/{chunk-3UXCVSLJ.js.map → chunk-DI6SRBCT.js.map} +0 -0
- /package/dist/{chunk-ULIAUMQD.js.map → chunk-DRYU676G.js.map} +0 -0
- /package/dist/{chunk-YEK3ZHO6.js.map → chunk-FCPANF6R.js.map} +0 -0
- /package/dist/{chunk-YXFQ3L56.js.map → chunk-GVBEF6LQ.js.map} +0 -0
- /package/dist/{chunk-VTTPYENR.js.map → chunk-HM77WNJG.js.map} +0 -0
- /package/dist/{chunk-FFJEERPZ.js.map → chunk-HS3K2B7Q.js.map} +0 -0
- /package/dist/{chunk-OGOE3NW5.js.map → chunk-IPPWZNTH.js.map} +0 -0
- /package/dist/{chunk-2Z4V5THE.js.map → chunk-JPBPQN4U.js.map} +0 -0
- /package/dist/{chunk-A4MPCXZ7.js.map → chunk-JSYFPXID.js.map} +0 -0
- /package/dist/{chunk-4A6MSCNJ.js.map → chunk-JTECUWWI.js.map} +0 -0
- /package/dist/{chunk-5GQMP7QN.js.map → chunk-K3CES6CG.js.map} +0 -0
- /package/dist/{chunk-5CADWTFO.js.map → chunk-KMNAZ5RC.js.map} +0 -0
- /package/dist/{chunk-PM4MZHQK.js.map → chunk-NINNWQ42.js.map} +0 -0
- /package/dist/{chunk-AVRE45DO.js.map → chunk-O563YLBH.js.map} +0 -0
- /package/dist/{chunk-E4LAXVQE.js.map → chunk-PARI43LB.js.map} +0 -0
- /package/dist/{chunk-FDY6YOFG.js.map → chunk-PGGSGUO4.js.map} +0 -0
- /package/dist/{chunk-3XLDANPJ.js.map → chunk-PID22PMZ.js.map} +0 -0
- /package/dist/{chunk-TGDWL7FG.js.map → chunk-RF7QCPNA.js.map} +0 -0
- /package/dist/{chunk-KY2QMH3C.js.map → chunk-STIX3VTX.js.map} +0 -0
- /package/dist/{chunk-3N7TSFKQ.js.map → chunk-TRTCKEHS.js.map} +0 -0
- /package/dist/{chunk-CMRQR57K.js.map → chunk-UZWZ72X7.js.map} +0 -0
- /package/dist/{chunk-ADIJIYFA.js.map → chunk-VZ3TTUWP.js.map} +0 -0
- /package/dist/{chunk-7IMI64LW.js.map → chunk-WUJCVZIQ.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-XRXLO2V6.js.map → cli-circuit-breaker-WLYICYAZ.js.map} +0 -0
- /package/dist/{composite-router-V36PBE7B.js.map → composite-router-Y6UCDBDE.js.map} +0 -0
- /package/dist/{consensus-vote-3REPKLK4.js.map → consensus-vote-PEWNN4WK.js.map} +0 -0
- /package/dist/{context-retriever-KCSSXI6X.js.map → context-retriever-GRMH7WSS.js.map} +0 -0
- /package/dist/{doctor-deep-WID6FQ2F.js.map → doctor-deep-HXKGXUI4.js.map} +0 -0
- /package/dist/{expert-bridge-F4UMZFWS.js.map → expert-bridge-BW55FRAH.js.map} +0 -0
- /package/dist/{factory-B3SPS47O.js.map → factory-4EV6EDZF.js.map} +0 -0
- /package/dist/{factory-YVHULPTE.js.map → factory-YKXAMYW6.js.map} +0 -0
- /package/dist/{improvement-review-AMVJW3SI.js.map → improvement-review-N2KSQSNW.js.map} +0 -0
- /package/dist/{init-opencode-3UPZL2UQ.js.map → init-opencode-6K6QNJWF.js.map} +0 -0
- /package/dist/{issue-triage-U3VC5TKV.js.map → issue-triage-PYHGDQHK.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-2WBM5GL7.js.map → pr-reviewer-helpers-GC6DEIBT.js.map} +0 -0
- /package/dist/{registry-command-AXNA2H35.js.map → registry-command-7RRDCDAU.js.map} +0 -0
- /package/dist/{repo-security-plan-P2KJ4FDT.js.map → repo-security-plan-5V43DEGA.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-UHWT62F2.js.map → research-helpers-synthesize-EDT6REQJ.js.map} +0 -0
- /package/dist/{routing-memory-7RNR6A45.js.map → routing-memory-BQ6MUC5Y.js.map} +0 -0
- /package/dist/{session-memory-2J2UBZJA.js.map → session-memory-MJHN5FXI.js.map} +0 -0
- /package/dist/{setup-command-UF7EQKAL.js.map → setup-command-YAQE2KRH.js.map} +0 -0
- /package/dist/{setup-config-Y3S2L4RD.js.map → setup-config-OFC6SD7H.js.map} +0 -0
- /package/dist/{setup-custom-api-AZMHKIHE.js.map → setup-custom-api-3JEENEKA.js.map} +0 -0
- /package/dist/{tool-memory-MIZVB4ZT.js.map → tool-memory-NKBBVA7O.js.map} +0 -0
- /package/dist/{unified-registry-V4AZ6UYA.js.map → unified-registry-XXAVF4AQ.js.map} +0 -0
- /package/dist/{weather-report-WZKEEAC7.js.map → weather-report-7WC3RKE7.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TRTCKEHS.js";
|
|
4
4
|
import {
|
|
5
5
|
CodebaseIndex,
|
|
6
6
|
extractSymbolIndex,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-WAYGXUSM.js";
|
|
14
14
|
import {
|
|
15
15
|
executeExpert
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GVBEF6LQ.js";
|
|
17
17
|
import {
|
|
18
18
|
JobStatusSchema,
|
|
19
19
|
collectRealVotes,
|
|
@@ -31,24 +31,24 @@ import {
|
|
|
31
31
|
toJobSummary,
|
|
32
32
|
warnIfSimulatedOutsideTests,
|
|
33
33
|
writeJobCancelled
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-DEL26PXS.js";
|
|
35
35
|
import {
|
|
36
36
|
normalizeTopicToCanonical,
|
|
37
37
|
synthesizeResearch
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-WUJCVZIQ.js";
|
|
39
39
|
import {
|
|
40
40
|
IssueTriage,
|
|
41
41
|
createAuditTrail,
|
|
42
42
|
createGraphAuditBridge,
|
|
43
43
|
emitPipelinePolicyEvent
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-3TTMRJUQ.js";
|
|
45
45
|
import {
|
|
46
46
|
resolveEnvMode,
|
|
47
47
|
sanitizeInput
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-DI6SRBCT.js";
|
|
49
49
|
import {
|
|
50
50
|
withPrerequisite
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-KMNAZ5RC.js";
|
|
52
52
|
import {
|
|
53
53
|
NOOP_NOTIFIER,
|
|
54
54
|
RateLimiter,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
withAccessPolicy,
|
|
71
71
|
withProgressHeartbeat,
|
|
72
72
|
wrapToolWithTimeout
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-4SNH5EMQ.js";
|
|
74
74
|
import {
|
|
75
75
|
analyzeGitHubRepo
|
|
76
76
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -101,29 +101,29 @@ import {
|
|
|
101
101
|
parseRegistry,
|
|
102
102
|
sourceExistsInRegistry,
|
|
103
103
|
summarizeContextForPrompt
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-FCPANF6R.js";
|
|
105
105
|
import {
|
|
106
106
|
getTokenEnvVars,
|
|
107
107
|
resolveToken
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-4DJNJGIB.js";
|
|
109
109
|
import {
|
|
110
110
|
loadPapersRegistry,
|
|
111
111
|
loadTechniquesRegistry
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-HM77WNJG.js";
|
|
113
113
|
import {
|
|
114
114
|
DEFAULT_RELEVANCE_CONFIG,
|
|
115
115
|
MemoryImportance,
|
|
116
116
|
calculateTextJaccardSimilarity,
|
|
117
117
|
getToolMemory
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-NINNWQ42.js";
|
|
119
119
|
import {
|
|
120
120
|
createSessionMemory
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-PGGSGUO4.js";
|
|
122
122
|
import {
|
|
123
123
|
DEFAULT_TASK_TTL_MS,
|
|
124
124
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
125
125
|
clampTaskTtl
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-PID22PMZ.js";
|
|
127
127
|
import {
|
|
128
128
|
resolveInsideRoot
|
|
129
129
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
createEvent,
|
|
146
146
|
getGlobalEventBus,
|
|
147
147
|
getGlobalRegistry
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-BDERGLIX.js";
|
|
149
149
|
import {
|
|
150
150
|
CliDetectionCache,
|
|
151
151
|
asRecord,
|
|
@@ -153,19 +153,19 @@ import {
|
|
|
153
153
|
getAvailableClis,
|
|
154
154
|
sleep,
|
|
155
155
|
withTimeout
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-2QFUW2SP.js";
|
|
157
157
|
import {
|
|
158
158
|
DEFAULTS
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-JTECUWWI.js";
|
|
160
160
|
import {
|
|
161
161
|
getAvailabilityCache,
|
|
162
162
|
getCliForModelId,
|
|
163
163
|
resolveFallback
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-JPBPQN4U.js";
|
|
165
165
|
import {
|
|
166
166
|
generateHyphenId,
|
|
167
167
|
generateUUID
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-PARI43LB.js";
|
|
169
169
|
import {
|
|
170
170
|
AGENT_ROUTER_TIMEOUTS,
|
|
171
171
|
API_TIMEOUTS,
|
|
@@ -253,7 +253,7 @@ import {
|
|
|
253
253
|
routingArmDisplaySlot,
|
|
254
254
|
toExpertTaskAnalysisResult,
|
|
255
255
|
withStep
|
|
256
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-4KBG4ICZ.js";
|
|
257
257
|
import {
|
|
258
258
|
ensureLearningDir,
|
|
259
259
|
getMetaOutcomesFile,
|
|
@@ -26281,7 +26281,7 @@ function execIdFields(executionId) {
|
|
|
26281
26281
|
async function populateUnifiedContextOnState(state, options) {
|
|
26282
26282
|
const taskCandidate = state["task"];
|
|
26283
26283
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
26284
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
26284
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-GRMH7WSS.js");
|
|
26285
26285
|
const category = inferTaskCategory2(taskCandidate);
|
|
26286
26286
|
const executionId = options?.executionId;
|
|
26287
26287
|
const execFields = execIdFields(executionId);
|
|
@@ -33681,7 +33681,10 @@ async function injectMemoryContextForOrchestrate(input, logger57) {
|
|
|
33681
33681
|
mutable.context = { ...mutable.context ?? {}, priorMemorySummary: summary };
|
|
33682
33682
|
}
|
|
33683
33683
|
} catch (error) {
|
|
33684
|
-
logger57.
|
|
33684
|
+
logger57.warn("orchestrate: context retrieval failed; continuing with empty context", {
|
|
33685
|
+
category: inferTaskCategory(input.task),
|
|
33686
|
+
error: getErrorMessage(error)
|
|
33687
|
+
});
|
|
33685
33688
|
}
|
|
33686
33689
|
}
|
|
33687
33690
|
function createOrchestrateHandler(deps) {
|
|
@@ -35766,17 +35769,19 @@ function sanitizeExpertSummary(summary) {
|
|
|
35766
35769
|
}
|
|
35767
35770
|
async function maybeFetchContextPrefix(task, logger57) {
|
|
35768
35771
|
if (process.env["NEXUS_CONTEXT_RETRIEVER_INJECT"] !== "1") return void 0;
|
|
35772
|
+
const category = inferTaskCategory(task);
|
|
35769
35773
|
try {
|
|
35770
35774
|
const ctx = await getContextForTask({
|
|
35771
35775
|
task,
|
|
35772
|
-
category
|
|
35776
|
+
category,
|
|
35773
35777
|
...logger57 !== void 0 ? { logger: logger57 } : {}
|
|
35774
35778
|
});
|
|
35775
35779
|
const summary = summarizeContextForPrompt(ctx);
|
|
35776
35780
|
return summary === "" ? void 0 : summary;
|
|
35777
35781
|
} catch (error) {
|
|
35778
|
-
logger57?.
|
|
35779
|
-
|
|
35782
|
+
logger57?.warn("execute_expert: context retrieval failed; continuing without prefix", {
|
|
35783
|
+
category,
|
|
35784
|
+
error: getErrorMessage(error)
|
|
35780
35785
|
});
|
|
35781
35786
|
return void 0;
|
|
35782
35787
|
}
|
|
@@ -41199,7 +41204,7 @@ async function tryIssueTriage(task) {
|
|
|
41199
41204
|
try {
|
|
41200
41205
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
41201
41206
|
if (issueMatch === null) return null;
|
|
41202
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
41207
|
+
const { createIssueTriage } = await import("./issue-triage-PYHGDQHK.js");
|
|
41203
41208
|
const triage = createIssueTriage();
|
|
41204
41209
|
const owner = issueMatch[1] ?? "";
|
|
41205
41210
|
const num = issueMatch[2] ?? "";
|
|
@@ -41227,7 +41232,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
41227
41232
|
]);
|
|
41228
41233
|
async function classifyWithLLM(task) {
|
|
41229
41234
|
try {
|
|
41230
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
41235
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-BW55FRAH.js");
|
|
41231
41236
|
const prompt = [
|
|
41232
41237
|
"Classify this task into exactly one pipeline template.",
|
|
41233
41238
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -42993,7 +42998,7 @@ var memoryInitPromise = null;
|
|
|
42993
42998
|
async function initPipelineMemory() {
|
|
42994
42999
|
if (cachedMemory !== null) return cachedMemory;
|
|
42995
43000
|
try {
|
|
42996
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
43001
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-MJHN5FXI.js");
|
|
42997
43002
|
const { getLearningDir } = await import("./learning-persistence-C737Q6EP.js");
|
|
42998
43003
|
const mem = createSessionMemory2(getLearningDir());
|
|
42999
43004
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -43055,7 +43060,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
43055
43060
|
callRecord(routingMemoryCache);
|
|
43056
43061
|
return;
|
|
43057
43062
|
}
|
|
43058
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
43063
|
+
routingMemoryInitPromise ??= import("./routing-memory-BQ6MUC5Y.js").then(({ createRoutingMemory }) => {
|
|
43059
43064
|
routingMemoryCache ??= createRoutingMemory();
|
|
43060
43065
|
return routingMemoryCache;
|
|
43061
43066
|
}).catch((error) => {
|
|
@@ -43089,7 +43094,7 @@ ${text}` : "";
|
|
|
43089
43094
|
}
|
|
43090
43095
|
async function getWeatherContext() {
|
|
43091
43096
|
try {
|
|
43092
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
43097
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-7WC3RKE7.js");
|
|
43093
43098
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
43094
43099
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
43095
43100
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -43107,7 +43112,7 @@ ${lines}
|
|
|
43107
43112
|
}
|
|
43108
43113
|
async function getMemoryContext(task) {
|
|
43109
43114
|
try {
|
|
43110
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
43115
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-MJHN5FXI.js");
|
|
43111
43116
|
const { getLearningDir } = await import("./learning-persistence-C737Q6EP.js");
|
|
43112
43117
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
43113
43118
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -43219,7 +43224,7 @@ ${contextBlock}`;
|
|
|
43219
43224
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
43220
43225
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
43221
43226
|
try {
|
|
43222
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
43227
|
+
const { executeVoting } = await import("./consensus-vote-PEWNN4WK.js");
|
|
43223
43228
|
const votingResult = await executeVoting(
|
|
43224
43229
|
{
|
|
43225
43230
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -43656,7 +43661,7 @@ async function searchCodebaseForTask(task) {
|
|
|
43656
43661
|
}
|
|
43657
43662
|
async function queryResearchRegistry(task) {
|
|
43658
43663
|
try {
|
|
43659
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
43664
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-EDT6REQJ.js");
|
|
43660
43665
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
43661
43666
|
if (topic === void 0) return null;
|
|
43662
43667
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -43727,7 +43732,7 @@ function createScanStageWrapper() {
|
|
|
43727
43732
|
try {
|
|
43728
43733
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
43729
43734
|
if (slug !== void 0) {
|
|
43730
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
43735
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-5V43DEGA.js");
|
|
43731
43736
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
43732
43737
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
43733
43738
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -45778,7 +45783,7 @@ var GitHubTaskTracker = class {
|
|
|
45778
45783
|
cachedProvider = null;
|
|
45779
45784
|
async getProvider() {
|
|
45780
45785
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
45781
|
-
const { createScmProvider } = await import("./factory-
|
|
45786
|
+
const { createScmProvider } = await import("./factory-YKXAMYW6.js");
|
|
45782
45787
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
45783
45788
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
45784
45789
|
this.cachedProvider = result.value;
|
|
@@ -46550,7 +46555,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
46550
46555
|
}
|
|
46551
46556
|
}
|
|
46552
46557
|
async function defaultSources(includeOpenRouter) {
|
|
46553
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
46558
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-4EV6EDZF.js");
|
|
46554
46559
|
const adapters = createAllAdapters2();
|
|
46555
46560
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
46556
46561
|
}
|
|
@@ -50569,4 +50574,4 @@ export {
|
|
|
50569
50574
|
shutdownFeedbackSubscriber,
|
|
50570
50575
|
createEventBusBridge
|
|
50571
50576
|
};
|
|
50572
|
-
//# sourceMappingURL=chunk-
|
|
50577
|
+
//# sourceMappingURL=chunk-ZLQCJRYK.js.map
|