nexus-agents 2.120.2 → 2.120.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{child-mcp-config-RDUL6TEN.js → child-mcp-config-GXXGPY2Z.js} +2 -2
- package/dist/{chunk-3A6MVIMV.js → chunk-4YJZIDJR.js} +2 -2
- package/dist/{chunk-OQL2SBS2.js → chunk-5FAYL4WJ.js} +7 -7
- package/dist/{chunk-HR5IN77R.js → chunk-676XDCVT.js} +2 -2
- package/dist/{chunk-PGAZT4UC.js → chunk-7CI66JLH.js} +4 -4
- package/dist/{chunk-GR46LD2P.js → chunk-7LWSWRFA.js} +7 -7
- package/dist/{chunk-74FAWZDF.js → chunk-AUHDHVJM.js} +2 -2
- package/dist/{chunk-HCBALIWN.js → chunk-BAMOW5QO.js} +7 -7
- package/dist/{chunk-4AICTG5E.js → chunk-CF66J4EQ.js} +2 -2
- package/dist/{chunk-TW4DWZHR.js → chunk-CKV7MN2T.js} +2 -2
- package/dist/{chunk-PN6BFDVL.js → chunk-EXW2SEG2.js} +2 -2
- package/dist/{chunk-KPZ7LI5U.js → chunk-FHGOYI55.js} +4 -4
- package/dist/{chunk-MRBKDEBX.js → chunk-G7FOXXVF.js} +2 -2
- package/dist/{chunk-FUZ2LMMD.js → chunk-JF5UH6PJ.js} +2 -2
- package/dist/{chunk-JZUZJFR7.js → chunk-JOQWVX7Y.js} +2 -2
- package/dist/{chunk-RACI64HA.js → chunk-LBWANANM.js} +2 -2
- package/dist/{chunk-5CIKBB4B.js → chunk-MDZK23FR.js} +2 -2
- package/dist/{chunk-CBJZ5OXG.js → chunk-N2TYF2SY.js} +3 -3
- package/dist/{chunk-NT7LFPXT.js → chunk-NATXDUQO.js} +7 -7
- package/dist/{chunk-TAJN2TAF.js → chunk-P72SXNG3.js} +3 -3
- package/dist/{chunk-CBTGEHTF.js → chunk-RI4J5RZ4.js} +3 -3
- package/dist/{chunk-VPTSHWYO.js → chunk-RTAEKZW4.js} +45 -40
- package/dist/{chunk-VPTSHWYO.js.map → chunk-RTAEKZW4.js.map} +1 -1
- package/dist/{chunk-BFVNQQZ3.js → chunk-SJPCTISD.js} +5 -5
- package/dist/{chunk-HBAZPTKZ.js → chunk-W77ZZVBS.js} +3 -3
- package/dist/{chunk-OZGVNH5E.js → chunk-WCIUIGWF.js} +2 -2
- package/dist/{chunk-S7JNS4NN.js → chunk-WGMAS53Z.js} +3 -3
- package/dist/{chunk-3A5RSSNS.js → chunk-XK6LVWD7.js} +2 -2
- package/dist/{chunk-EXC3AYWU.js → chunk-XRYZICAV.js} +2 -2
- package/dist/{chunk-DWXR7MPD.js → chunk-Z5CZK7Q2.js} +7 -7
- package/dist/chunk-Z5CZK7Q2.js.map +1 -0
- package/dist/{chunk-KDST2V5V.js → chunk-ZRGKRP6E.js} +4 -4
- package/dist/{chunk-LICZWNOC.js → chunk-ZRGQPGDS.js} +2 -2
- package/dist/{chunk-JQBGO5XS.js → chunk-ZZ5FQ5L4.js} +3 -3
- package/dist/{cli-circuit-breaker-UBXYD743.js → cli-circuit-breaker-244ZHL2O.js} +4 -4
- package/dist/cli.js +38 -38
- package/dist/{composite-router-MBOLQYU5.js → composite-router-CEV72ZOX.js} +2 -2
- package/dist/{consensus-vote-ALLKZH6O.js → consensus-vote-OXURUCKK.js} +12 -12
- package/dist/{context-retriever-Z33ENLKK.js → context-retriever-NQDBZNLM.js} +8 -8
- package/dist/{doctor-deep-CNCAD3EL.js → doctor-deep-P6HGEKP7.js} +3 -3
- package/dist/{expert-bridge-I4AAMYLC.js → expert-bridge-H3QGRZFL.js} +4 -4
- package/dist/{factory-XCCAP6N5.js → factory-IF4YQPMS.js} +5 -5
- package/dist/factory-JLCWIOK7.js +21 -0
- package/dist/{improvement-review-ZOKIYJSL.js → improvement-review-WFOD4PWF.js} +4 -4
- package/dist/index.js +27 -27
- package/dist/{init-opencode-3CBGVXLE.js → init-opencode-TS63FNJE.js} +5 -5
- package/dist/{issue-triage-O4OQWBK4.js → issue-triage-CDPINSSI.js} +5 -5
- package/dist/{pr-reviewer-helpers-3URXL6EB.js → pr-reviewer-helpers-E36DLNDA.js} +4 -4
- package/dist/{registry-command-WGRIA4KZ.js → registry-command-72QPDZV3.js} +2 -2
- package/dist/{repo-security-plan-52QYE2BH.js → repo-security-plan-53CF46BI.js} +3 -3
- package/dist/{research-helpers-synthesize-YFCTIOSG.js → research-helpers-synthesize-U225IRTF.js} +4 -4
- package/dist/{routing-memory-PBMMTURL.js → routing-memory-DFCTSZSJ.js} +2 -2
- package/dist/{session-memory-ZTHW5UXC.js → session-memory-XJ3J3YRF.js} +3 -3
- package/dist/{setup-command-ZBSX6HOB.js → setup-command-VU4GOOW7.js} +11 -11
- package/dist/{setup-config-OSTBQXXX.js → setup-config-ZILNSVKZ.js} +3 -3
- package/dist/{setup-custom-api-AGZEJR2A.js → setup-custom-api-AQLXNF7P.js} +3 -3
- package/dist/{tool-memory-DQHPHYTA.js → tool-memory-7A6QKXRW.js} +5 -5
- package/dist/{weather-report-H6ESCY7I.js → weather-report-2TI2FV3K.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-DWXR7MPD.js.map +0 -1
- package/dist/factory-2ZPUMTHZ.js +0 -21
- /package/dist/{child-mcp-config-RDUL6TEN.js.map → child-mcp-config-GXXGPY2Z.js.map} +0 -0
- /package/dist/{chunk-3A6MVIMV.js.map → chunk-4YJZIDJR.js.map} +0 -0
- /package/dist/{chunk-OQL2SBS2.js.map → chunk-5FAYL4WJ.js.map} +0 -0
- /package/dist/{chunk-HR5IN77R.js.map → chunk-676XDCVT.js.map} +0 -0
- /package/dist/{chunk-PGAZT4UC.js.map → chunk-7CI66JLH.js.map} +0 -0
- /package/dist/{chunk-GR46LD2P.js.map → chunk-7LWSWRFA.js.map} +0 -0
- /package/dist/{chunk-74FAWZDF.js.map → chunk-AUHDHVJM.js.map} +0 -0
- /package/dist/{chunk-HCBALIWN.js.map → chunk-BAMOW5QO.js.map} +0 -0
- /package/dist/{chunk-4AICTG5E.js.map → chunk-CF66J4EQ.js.map} +0 -0
- /package/dist/{chunk-TW4DWZHR.js.map → chunk-CKV7MN2T.js.map} +0 -0
- /package/dist/{chunk-PN6BFDVL.js.map → chunk-EXW2SEG2.js.map} +0 -0
- /package/dist/{chunk-KPZ7LI5U.js.map → chunk-FHGOYI55.js.map} +0 -0
- /package/dist/{chunk-MRBKDEBX.js.map → chunk-G7FOXXVF.js.map} +0 -0
- /package/dist/{chunk-FUZ2LMMD.js.map → chunk-JF5UH6PJ.js.map} +0 -0
- /package/dist/{chunk-JZUZJFR7.js.map → chunk-JOQWVX7Y.js.map} +0 -0
- /package/dist/{chunk-RACI64HA.js.map → chunk-LBWANANM.js.map} +0 -0
- /package/dist/{chunk-5CIKBB4B.js.map → chunk-MDZK23FR.js.map} +0 -0
- /package/dist/{chunk-CBJZ5OXG.js.map → chunk-N2TYF2SY.js.map} +0 -0
- /package/dist/{chunk-NT7LFPXT.js.map → chunk-NATXDUQO.js.map} +0 -0
- /package/dist/{chunk-TAJN2TAF.js.map → chunk-P72SXNG3.js.map} +0 -0
- /package/dist/{chunk-CBTGEHTF.js.map → chunk-RI4J5RZ4.js.map} +0 -0
- /package/dist/{chunk-BFVNQQZ3.js.map → chunk-SJPCTISD.js.map} +0 -0
- /package/dist/{chunk-HBAZPTKZ.js.map → chunk-W77ZZVBS.js.map} +0 -0
- /package/dist/{chunk-OZGVNH5E.js.map → chunk-WCIUIGWF.js.map} +0 -0
- /package/dist/{chunk-S7JNS4NN.js.map → chunk-WGMAS53Z.js.map} +0 -0
- /package/dist/{chunk-3A5RSSNS.js.map → chunk-XK6LVWD7.js.map} +0 -0
- /package/dist/{chunk-EXC3AYWU.js.map → chunk-XRYZICAV.js.map} +0 -0
- /package/dist/{chunk-KDST2V5V.js.map → chunk-ZRGKRP6E.js.map} +0 -0
- /package/dist/{chunk-LICZWNOC.js.map → chunk-ZRGQPGDS.js.map} +0 -0
- /package/dist/{chunk-JQBGO5XS.js.map → chunk-ZZ5FQ5L4.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-UBXYD743.js.map → cli-circuit-breaker-244ZHL2O.js.map} +0 -0
- /package/dist/{composite-router-MBOLQYU5.js.map → composite-router-CEV72ZOX.js.map} +0 -0
- /package/dist/{consensus-vote-ALLKZH6O.js.map → consensus-vote-OXURUCKK.js.map} +0 -0
- /package/dist/{context-retriever-Z33ENLKK.js.map → context-retriever-NQDBZNLM.js.map} +0 -0
- /package/dist/{doctor-deep-CNCAD3EL.js.map → doctor-deep-P6HGEKP7.js.map} +0 -0
- /package/dist/{expert-bridge-I4AAMYLC.js.map → expert-bridge-H3QGRZFL.js.map} +0 -0
- /package/dist/{factory-2ZPUMTHZ.js.map → factory-IF4YQPMS.js.map} +0 -0
- /package/dist/{factory-XCCAP6N5.js.map → factory-JLCWIOK7.js.map} +0 -0
- /package/dist/{improvement-review-ZOKIYJSL.js.map → improvement-review-WFOD4PWF.js.map} +0 -0
- /package/dist/{init-opencode-3CBGVXLE.js.map → init-opencode-TS63FNJE.js.map} +0 -0
- /package/dist/{issue-triage-O4OQWBK4.js.map → issue-triage-CDPINSSI.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-3URXL6EB.js.map → pr-reviewer-helpers-E36DLNDA.js.map} +0 -0
- /package/dist/{registry-command-WGRIA4KZ.js.map → registry-command-72QPDZV3.js.map} +0 -0
- /package/dist/{repo-security-plan-52QYE2BH.js.map → repo-security-plan-53CF46BI.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-YFCTIOSG.js.map → research-helpers-synthesize-U225IRTF.js.map} +0 -0
- /package/dist/{routing-memory-PBMMTURL.js.map → routing-memory-DFCTSZSJ.js.map} +0 -0
- /package/dist/{session-memory-ZTHW5UXC.js.map → session-memory-XJ3J3YRF.js.map} +0 -0
- /package/dist/{setup-command-ZBSX6HOB.js.map → setup-command-VU4GOOW7.js.map} +0 -0
- /package/dist/{setup-config-OSTBQXXX.js.map → setup-config-ZILNSVKZ.js.map} +0 -0
- /package/dist/{setup-custom-api-AGZEJR2A.js.map → setup-custom-api-AQLXNF7P.js.map} +0 -0
- /package/dist/{tool-memory-DQHPHYTA.js.map → tool-memory-7A6QKXRW.js.map} +0 -0
- /package/dist/{weather-report-H6ESCY7I.js.map → weather-report-2TI2FV3K.js.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-3ACDP4E6.js";
|
|
6
6
|
import {
|
|
7
7
|
executeExpert
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5FAYL4WJ.js";
|
|
9
9
|
import {
|
|
10
10
|
EventTopics,
|
|
11
11
|
JobStatusSchema,
|
|
@@ -26,23 +26,23 @@ import {
|
|
|
26
26
|
writeJobComplete,
|
|
27
27
|
writeJobFailed,
|
|
28
28
|
writeJobPending
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BAMOW5QO.js";
|
|
30
30
|
import {
|
|
31
31
|
normalizeTopicToCanonical,
|
|
32
32
|
synthesizeResearch
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RI4J5RZ4.js";
|
|
34
34
|
import {
|
|
35
35
|
IssueTriage,
|
|
36
36
|
createAuditTrail,
|
|
37
37
|
createGraphAuditBridge
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-FHGOYI55.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveEnvMode,
|
|
41
41
|
sanitizeInput
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-EXW2SEG2.js";
|
|
43
43
|
import {
|
|
44
44
|
withPrerequisite
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-WGMAS53Z.js";
|
|
46
46
|
import {
|
|
47
47
|
NOOP_NOTIFIER,
|
|
48
48
|
RateLimiter,
|
|
@@ -64,10 +64,10 @@ import {
|
|
|
64
64
|
withAccessPolicy,
|
|
65
65
|
withProgressHeartbeat,
|
|
66
66
|
wrapToolWithTimeout
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-JF5UH6PJ.js";
|
|
68
68
|
import {
|
|
69
69
|
generateSecurityPlan
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-MDZK23FR.js";
|
|
71
71
|
import {
|
|
72
72
|
analyzeGitHubRepo
|
|
73
73
|
} from "./chunk-HFOQKCD2.js";
|
|
@@ -98,26 +98,26 @@ import {
|
|
|
98
98
|
parseRegistry,
|
|
99
99
|
sourceExistsInRegistry,
|
|
100
100
|
summarizeContextForPrompt
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-Z5CZK7Q2.js";
|
|
102
102
|
import {
|
|
103
103
|
getTokenEnvVars,
|
|
104
104
|
resolveToken
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-676XDCVT.js";
|
|
106
106
|
import {
|
|
107
107
|
loadPapersRegistry,
|
|
108
108
|
loadTechniquesRegistry
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-G7FOXXVF.js";
|
|
110
110
|
import {
|
|
111
111
|
DEFAULT_RELEVANCE_CONFIG,
|
|
112
112
|
MemoryImportance,
|
|
113
113
|
calculateTextJaccardSimilarity,
|
|
114
114
|
getToolMemory
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-7CI66JLH.js";
|
|
116
116
|
import {
|
|
117
117
|
DEFAULT_TASK_TTL_MS,
|
|
118
118
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
119
119
|
clampTaskTtl
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-7LWSWRFA.js";
|
|
121
121
|
import {
|
|
122
122
|
resolveInsideRoot
|
|
123
123
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -132,19 +132,19 @@ import {
|
|
|
132
132
|
getAvailableClis,
|
|
133
133
|
sleep,
|
|
134
134
|
withTimeout
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-NATXDUQO.js";
|
|
136
136
|
import {
|
|
137
137
|
DEFAULTS
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-LBWANANM.js";
|
|
139
139
|
import {
|
|
140
140
|
getAvailabilityCache,
|
|
141
141
|
getCliForModelId,
|
|
142
142
|
resolveFallback
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-AUHDHVJM.js";
|
|
144
144
|
import {
|
|
145
145
|
generateHyphenId,
|
|
146
146
|
generateUUID
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-ZRGQPGDS.js";
|
|
148
148
|
import {
|
|
149
149
|
BUILT_IN_EXPERTS,
|
|
150
150
|
BuiltInExpertTypeSchema,
|
|
@@ -156,7 +156,7 @@ import {
|
|
|
156
156
|
} from "./chunk-PQHVC4BD.js";
|
|
157
157
|
import {
|
|
158
158
|
createSessionMemory
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-JOQWVX7Y.js";
|
|
160
160
|
import {
|
|
161
161
|
AGENT_ROUTER_TIMEOUTS,
|
|
162
162
|
ARCHITECTURE_KEYWORDS,
|
|
@@ -231,7 +231,7 @@ import {
|
|
|
231
231
|
routingArmDisplaySlot,
|
|
232
232
|
toExpertTaskAnalysisResult,
|
|
233
233
|
withStep
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-CKV7MN2T.js";
|
|
235
235
|
import {
|
|
236
236
|
nexusDataPath,
|
|
237
237
|
nexusDataPathEnsure
|
|
@@ -26287,7 +26287,7 @@ async function populateUnifiedContextOnState(state) {
|
|
|
26287
26287
|
try {
|
|
26288
26288
|
const taskCandidate = state["task"];
|
|
26289
26289
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
26290
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
26290
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-NQDBZNLM.js");
|
|
26291
26291
|
const ctx = await getContextForTask2({
|
|
26292
26292
|
task: taskCandidate,
|
|
26293
26293
|
category: inferTaskCategory2(taskCandidate),
|
|
@@ -36581,19 +36581,24 @@ async function discoverFromExtendedSource(source, topic, maxResults, logger56, s
|
|
|
36581
36581
|
return { items: toDiscoveredItems(result.value), failed: false };
|
|
36582
36582
|
}
|
|
36583
36583
|
function computeRelevanceScore(item, topic) {
|
|
36584
|
-
const keywords =
|
|
36584
|
+
const keywords = [
|
|
36585
|
+
...new Set(
|
|
36586
|
+
topic.toLowerCase().split(/[\s,;+\-/]+/).filter((w) => w.length >= 3)
|
|
36587
|
+
)
|
|
36588
|
+
];
|
|
36585
36589
|
if (keywords.length === 0) return 1;
|
|
36586
36590
|
const titleLower = item.title.toLowerCase();
|
|
36587
36591
|
const descLower = item.description.toLowerCase();
|
|
36588
|
-
let
|
|
36589
|
-
let
|
|
36592
|
+
let matched = 0;
|
|
36593
|
+
let titleHits = 0;
|
|
36590
36594
|
for (const keyword of keywords) {
|
|
36591
|
-
|
|
36592
|
-
if (descLower.includes(keyword))
|
|
36595
|
+
const inTitle = titleLower.includes(keyword);
|
|
36596
|
+
if (inTitle || descLower.includes(keyword)) matched++;
|
|
36597
|
+
if (inTitle) titleHits++;
|
|
36593
36598
|
}
|
|
36594
|
-
const
|
|
36595
|
-
const
|
|
36596
|
-
return Math.min(1,
|
|
36599
|
+
const coverage = matched / keywords.length;
|
|
36600
|
+
const titleFraction = titleHits / keywords.length;
|
|
36601
|
+
return Math.min(1, coverage * 0.8 + titleFraction * 0.2);
|
|
36597
36602
|
}
|
|
36598
36603
|
function filterByRelevance2(items, topic, threshold) {
|
|
36599
36604
|
const scored = items.map((item) => ({
|
|
@@ -40895,7 +40900,7 @@ async function tryIssueTriage(task) {
|
|
|
40895
40900
|
try {
|
|
40896
40901
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
40897
40902
|
if (issueMatch === null) return null;
|
|
40898
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
40903
|
+
const { createIssueTriage } = await import("./issue-triage-CDPINSSI.js");
|
|
40899
40904
|
const triage = createIssueTriage();
|
|
40900
40905
|
const owner = issueMatch[1] ?? "";
|
|
40901
40906
|
const num = issueMatch[2] ?? "";
|
|
@@ -40923,7 +40928,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
40923
40928
|
]);
|
|
40924
40929
|
async function classifyWithLLM(task) {
|
|
40925
40930
|
try {
|
|
40926
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
40931
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-H3QGRZFL.js");
|
|
40927
40932
|
const prompt = [
|
|
40928
40933
|
"Classify this task into exactly one pipeline template.",
|
|
40929
40934
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -41894,7 +41899,7 @@ var memoryInitPromise = null;
|
|
|
41894
41899
|
async function initPipelineMemory() {
|
|
41895
41900
|
if (cachedMemory !== null) return cachedMemory;
|
|
41896
41901
|
try {
|
|
41897
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
41902
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-XJ3J3YRF.js");
|
|
41898
41903
|
const { getLearningDir } = await import("./learning-persistence-UKPO7RYK.js");
|
|
41899
41904
|
const mem = createSessionMemory2(getLearningDir());
|
|
41900
41905
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -41951,7 +41956,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0)
|
|
|
41951
41956
|
callRecord(routingMemoryCache);
|
|
41952
41957
|
return;
|
|
41953
41958
|
}
|
|
41954
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
41959
|
+
routingMemoryInitPromise ??= import("./routing-memory-DFCTSZSJ.js").then(({ createRoutingMemory }) => {
|
|
41955
41960
|
routingMemoryCache ??= createRoutingMemory();
|
|
41956
41961
|
return routingMemoryCache;
|
|
41957
41962
|
}).catch((error) => {
|
|
@@ -41985,7 +41990,7 @@ ${text}` : "";
|
|
|
41985
41990
|
}
|
|
41986
41991
|
async function getWeatherContext() {
|
|
41987
41992
|
try {
|
|
41988
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
41993
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-2TI2FV3K.js");
|
|
41989
41994
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
41990
41995
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
41991
41996
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -42003,7 +42008,7 @@ ${lines}
|
|
|
42003
42008
|
}
|
|
42004
42009
|
async function getMemoryContext(task) {
|
|
42005
42010
|
try {
|
|
42006
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
42011
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-XJ3J3YRF.js");
|
|
42007
42012
|
const { getLearningDir } = await import("./learning-persistence-UKPO7RYK.js");
|
|
42008
42013
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
42009
42014
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -42114,7 +42119,7 @@ ${contextBlock}`;
|
|
|
42114
42119
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
42115
42120
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
42116
42121
|
try {
|
|
42117
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
42122
|
+
const { executeVoting } = await import("./consensus-vote-OXURUCKK.js");
|
|
42118
42123
|
const votingResult = await executeVoting(
|
|
42119
42124
|
{
|
|
42120
42125
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -43199,7 +43204,7 @@ async function searchCodebaseForTask(task) {
|
|
|
43199
43204
|
}
|
|
43200
43205
|
async function queryResearchRegistry(task) {
|
|
43201
43206
|
try {
|
|
43202
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
43207
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-U225IRTF.js");
|
|
43203
43208
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
43204
43209
|
if (topic === void 0) return null;
|
|
43205
43210
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -43270,7 +43275,7 @@ function createScanStageWrapper() {
|
|
|
43270
43275
|
try {
|
|
43271
43276
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
43272
43277
|
if (slug !== void 0) {
|
|
43273
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
43278
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-53CF46BI.js");
|
|
43274
43279
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
43275
43280
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
43276
43281
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -44796,7 +44801,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
44796
44801
|
}
|
|
44797
44802
|
}
|
|
44798
44803
|
async function defaultSources(includeOpenRouter) {
|
|
44799
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
44804
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-JLCWIOK7.js");
|
|
44800
44805
|
const adapters = createAllAdapters2();
|
|
44801
44806
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
44802
44807
|
}
|
|
@@ -48437,7 +48442,7 @@ var GitHubTaskTracker = class {
|
|
|
48437
48442
|
cachedProvider = null;
|
|
48438
48443
|
async getProvider() {
|
|
48439
48444
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
48440
|
-
const { createScmProvider } = await import("./factory-
|
|
48445
|
+
const { createScmProvider } = await import("./factory-IF4YQPMS.js");
|
|
48441
48446
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
48442
48447
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
48443
48448
|
this.cachedProvider = result.value;
|
|
@@ -49129,4 +49134,4 @@ export {
|
|
|
49129
49134
|
detectBackend,
|
|
49130
49135
|
createTaskTracker
|
|
49131
49136
|
};
|
|
49132
|
-
//# sourceMappingURL=chunk-
|
|
49137
|
+
//# sourceMappingURL=chunk-RTAEKZW4.js.map
|