nexus-agents 8.27.0 → 8.27.2
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-G6IOGUCV.js → ast-rule-runner-5ME3NKTJ.js} +3 -3
- package/dist/{child-mcp-config-GDTLUXGR.js → child-mcp-config-FDWGLGES.js} +2 -2
- package/dist/{chunk-W5WSXEAB.js → chunk-2IF67JY7.js} +2 -2
- package/dist/{chunk-5O5FKZUU.js → chunk-4W4SEFTP.js} +3 -3
- package/dist/{chunk-KAWGEKXW.js → chunk-4YO5HTKZ.js} +2 -2
- package/dist/{chunk-3VBOYUPH.js → chunk-5KLZYR2Z.js} +2 -2
- package/dist/chunk-5KLZYR2Z.js.map +1 -0
- package/dist/{chunk-BCYTVOQM.js → chunk-5RCAK7OJ.js} +9 -9
- package/dist/{chunk-JC3O7WTI.js → chunk-6KHMPRYZ.js} +4 -4
- package/dist/{chunk-X3NYQGE5.js → chunk-7DOKQYPJ.js} +2 -2
- package/dist/{chunk-Q777UIJY.js → chunk-AJPEXONL.js} +7 -7
- package/dist/{chunk-YOT4GWJV.js → chunk-BYKPEGQ3.js} +2 -2
- package/dist/{chunk-CH2VUXZ4.js → chunk-CJXIOHYE.js} +3 -3
- package/dist/{chunk-UOKUUBJP.js → chunk-CPG63LP5.js} +2 -2
- package/dist/{chunk-GEKIA6CI.js → chunk-DDRX4MYC.js} +2 -2
- package/dist/{chunk-TPBPFBO3.js → chunk-DFOHTKIX.js} +21 -10
- package/dist/{chunk-TPBPFBO3.js.map → chunk-DFOHTKIX.js.map} +1 -1
- package/dist/{chunk-C2EZXKVE.js → chunk-DR2YTUKD.js} +2 -2
- package/dist/{chunk-OUOBB5XR.js → chunk-FBHZC6TX.js} +10 -5
- package/dist/chunk-FBHZC6TX.js.map +1 -0
- package/dist/{chunk-4E6T32D3.js → chunk-FKBY5BYW.js} +2 -2
- package/dist/{chunk-CHP7WNJS.js → chunk-HKHCMV2W.js} +2 -2
- package/dist/{chunk-4O7NQB46.js → chunk-HMZ7J6GD.js} +4 -4
- package/dist/{chunk-UHPPNVK6.js → chunk-JGSTXWLE.js} +6 -6
- package/dist/{chunk-BTZ7BKID.js → chunk-KKMZSJQL.js} +2 -2
- package/dist/{chunk-IXGDK6QY.js → chunk-M2SLEIT7.js} +4 -4
- package/dist/{chunk-Q5J7PV3G.js → chunk-MCVIFYS4.js} +2 -2
- package/dist/{chunk-22EEMQUS.js → chunk-N2KJVGTA.js} +2 -2
- package/dist/{chunk-OZD3IGK6.js → chunk-N2Z6AP7V.js} +2 -2
- package/dist/{chunk-VH43TS6U.js → chunk-PZUFJCWX.js} +36 -37
- package/dist/chunk-PZUFJCWX.js.map +1 -0
- package/dist/{chunk-QOKSFHWH.js → chunk-QBSYQRJO.js} +41 -15
- package/dist/{chunk-QOKSFHWH.js.map → chunk-QBSYQRJO.js.map} +1 -1
- package/dist/{chunk-3S3KL7WX.js → chunk-UB6YWIPG.js} +2 -2
- package/dist/{chunk-OYTRYITB.js → chunk-UYHM222K.js} +2 -2
- package/dist/{chunk-PMO7TY2K.js → chunk-UZ53V2JF.js} +5 -5
- package/dist/{chunk-BDOOCFTD.js → chunk-XAJOCGYO.js} +4 -4
- package/dist/{chunk-QEZGPM4S.js → chunk-XMPJ2R6H.js} +2 -2
- package/dist/{chunk-R4LL75Z7.js → chunk-YH4YJKDR.js} +3 -3
- package/dist/{chunk-UWE6AN65.js → chunk-ZUMNK2HR.js} +2 -2
- package/dist/{chunk-CN3VAMQD.js → chunk-ZXBBL3BL.js} +7 -7
- package/dist/{cli-circuit-breaker-QV5J45LJ.js → cli-circuit-breaker-YSMUFSLN.js} +3 -3
- package/dist/cli.js +234 -114
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-5AAXEJI3.js → composite-router-TGWPPPTA.js} +2 -2
- package/dist/{consensus-vote-IFERTMFX.js → consensus-vote-QFFMSUFX.js} +17 -17
- package/dist/{context-retriever-GB4EC3XI.js → context-retriever-G4VB43FN.js} +8 -8
- package/dist/{doctor-deep-FDASNUC6.js → doctor-deep-XPIJHU2Z.js} +3 -3
- package/dist/{doctor-live-M2A46PS3.js → doctor-live-65A4V7IZ.js} +9 -9
- package/dist/{expert-bridge-M6OU7IYP.js → expert-bridge-PBVEWN3X.js} +4 -4
- package/dist/{factory-LY7TCXMK.js → factory-275Q74NB.js} +5 -5
- package/dist/{factory-OPVHIZ3G.js → factory-CRIWINXF.js} +9 -9
- package/dist/{improvement-review-2RXHBKXD.js → improvement-review-QU66LLN7.js} +6 -6
- package/dist/index.d.ts +8 -0
- package/dist/index.js +31 -31
- package/dist/{init-opencode-2PVLMIJK.js → init-opencode-EJS4V7LV.js} +6 -6
- package/dist/issue-triage-W7PAWKTC.js +17 -0
- package/dist/{pr-reviewer-helpers-F2FE5WSV.js → pr-reviewer-helpers-MQ4MAH3I.js} +4 -4
- package/dist/{registry-command-GAL4MBUA.js → registry-command-ZN5GFIS6.js} +2 -2
- package/dist/{repo-security-plan-ZUZJEUIS.js → repo-security-plan-KC4C7MKD.js} +3 -3
- package/dist/{research-helpers-synthesize-Z2PJPIJD.js → research-helpers-synthesize-WVDTNKFQ.js} +4 -4
- package/dist/{routing-memory-N7YBCDAV.js → routing-memory-HLFY4ZWV.js} +2 -2
- package/dist/{session-memory-PRSYLZO7.js → session-memory-VX36KHCG.js} +3 -3
- package/dist/{setup-config-KF2VUAFU.js → setup-config-PFR6NQWU.js} +3 -3
- package/dist/{setup-custom-api-T47OPCDE.js → setup-custom-api-MC7ZWR5K.js} +4 -4
- package/dist/setup-data-dir-YBPVK2F6.js +29 -0
- package/dist/{tool-memory-CLV7MXC4.js → tool-memory-UEXXDRFR.js} +5 -5
- package/dist/{unified-registry-33QL65WE.js → unified-registry-MGN2LSQO.js} +10 -10
- package/dist/{weather-report-VFWJVLP3.js → weather-report-TSEUPJKB.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-3VBOYUPH.js.map +0 -1
- package/dist/chunk-OUOBB5XR.js.map +0 -1
- package/dist/chunk-VH43TS6U.js.map +0 -1
- package/dist/issue-triage-CAHM52S5.js +0 -17
- package/dist/setup-data-dir-EVTC3IYW.js +0 -29
- /package/dist/{ast-rule-runner-G6IOGUCV.js.map → ast-rule-runner-5ME3NKTJ.js.map} +0 -0
- /package/dist/{child-mcp-config-GDTLUXGR.js.map → child-mcp-config-FDWGLGES.js.map} +0 -0
- /package/dist/{chunk-W5WSXEAB.js.map → chunk-2IF67JY7.js.map} +0 -0
- /package/dist/{chunk-5O5FKZUU.js.map → chunk-4W4SEFTP.js.map} +0 -0
- /package/dist/{chunk-KAWGEKXW.js.map → chunk-4YO5HTKZ.js.map} +0 -0
- /package/dist/{chunk-BCYTVOQM.js.map → chunk-5RCAK7OJ.js.map} +0 -0
- /package/dist/{chunk-JC3O7WTI.js.map → chunk-6KHMPRYZ.js.map} +0 -0
- /package/dist/{chunk-X3NYQGE5.js.map → chunk-7DOKQYPJ.js.map} +0 -0
- /package/dist/{chunk-Q777UIJY.js.map → chunk-AJPEXONL.js.map} +0 -0
- /package/dist/{chunk-YOT4GWJV.js.map → chunk-BYKPEGQ3.js.map} +0 -0
- /package/dist/{chunk-CH2VUXZ4.js.map → chunk-CJXIOHYE.js.map} +0 -0
- /package/dist/{chunk-UOKUUBJP.js.map → chunk-CPG63LP5.js.map} +0 -0
- /package/dist/{chunk-GEKIA6CI.js.map → chunk-DDRX4MYC.js.map} +0 -0
- /package/dist/{chunk-C2EZXKVE.js.map → chunk-DR2YTUKD.js.map} +0 -0
- /package/dist/{chunk-4E6T32D3.js.map → chunk-FKBY5BYW.js.map} +0 -0
- /package/dist/{chunk-CHP7WNJS.js.map → chunk-HKHCMV2W.js.map} +0 -0
- /package/dist/{chunk-4O7NQB46.js.map → chunk-HMZ7J6GD.js.map} +0 -0
- /package/dist/{chunk-UHPPNVK6.js.map → chunk-JGSTXWLE.js.map} +0 -0
- /package/dist/{chunk-BTZ7BKID.js.map → chunk-KKMZSJQL.js.map} +0 -0
- /package/dist/{chunk-IXGDK6QY.js.map → chunk-M2SLEIT7.js.map} +0 -0
- /package/dist/{chunk-Q5J7PV3G.js.map → chunk-MCVIFYS4.js.map} +0 -0
- /package/dist/{chunk-22EEMQUS.js.map → chunk-N2KJVGTA.js.map} +0 -0
- /package/dist/{chunk-OZD3IGK6.js.map → chunk-N2Z6AP7V.js.map} +0 -0
- /package/dist/{chunk-3S3KL7WX.js.map → chunk-UB6YWIPG.js.map} +0 -0
- /package/dist/{chunk-OYTRYITB.js.map → chunk-UYHM222K.js.map} +0 -0
- /package/dist/{chunk-PMO7TY2K.js.map → chunk-UZ53V2JF.js.map} +0 -0
- /package/dist/{chunk-BDOOCFTD.js.map → chunk-XAJOCGYO.js.map} +0 -0
- /package/dist/{chunk-QEZGPM4S.js.map → chunk-XMPJ2R6H.js.map} +0 -0
- /package/dist/{chunk-R4LL75Z7.js.map → chunk-YH4YJKDR.js.map} +0 -0
- /package/dist/{chunk-UWE6AN65.js.map → chunk-ZUMNK2HR.js.map} +0 -0
- /package/dist/{chunk-CN3VAMQD.js.map → chunk-ZXBBL3BL.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-QV5J45LJ.js.map → cli-circuit-breaker-YSMUFSLN.js.map} +0 -0
- /package/dist/{composite-router-5AAXEJI3.js.map → composite-router-TGWPPPTA.js.map} +0 -0
- /package/dist/{consensus-vote-IFERTMFX.js.map → consensus-vote-QFFMSUFX.js.map} +0 -0
- /package/dist/{context-retriever-GB4EC3XI.js.map → context-retriever-G4VB43FN.js.map} +0 -0
- /package/dist/{doctor-deep-FDASNUC6.js.map → doctor-deep-XPIJHU2Z.js.map} +0 -0
- /package/dist/{doctor-live-M2A46PS3.js.map → doctor-live-65A4V7IZ.js.map} +0 -0
- /package/dist/{expert-bridge-M6OU7IYP.js.map → expert-bridge-PBVEWN3X.js.map} +0 -0
- /package/dist/{factory-LY7TCXMK.js.map → factory-275Q74NB.js.map} +0 -0
- /package/dist/{factory-OPVHIZ3G.js.map → factory-CRIWINXF.js.map} +0 -0
- /package/dist/{improvement-review-2RXHBKXD.js.map → improvement-review-QU66LLN7.js.map} +0 -0
- /package/dist/{init-opencode-2PVLMIJK.js.map → init-opencode-EJS4V7LV.js.map} +0 -0
- /package/dist/{issue-triage-CAHM52S5.js.map → issue-triage-W7PAWKTC.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-F2FE5WSV.js.map → pr-reviewer-helpers-MQ4MAH3I.js.map} +0 -0
- /package/dist/{registry-command-GAL4MBUA.js.map → registry-command-ZN5GFIS6.js.map} +0 -0
- /package/dist/{repo-security-plan-ZUZJEUIS.js.map → repo-security-plan-KC4C7MKD.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-Z2PJPIJD.js.map → research-helpers-synthesize-WVDTNKFQ.js.map} +0 -0
- /package/dist/{routing-memory-N7YBCDAV.js.map → routing-memory-HLFY4ZWV.js.map} +0 -0
- /package/dist/{session-memory-PRSYLZO7.js.map → session-memory-VX36KHCG.js.map} +0 -0
- /package/dist/{setup-config-KF2VUAFU.js.map → setup-config-PFR6NQWU.js.map} +0 -0
- /package/dist/{setup-custom-api-T47OPCDE.js.map → setup-custom-api-MC7ZWR5K.js.map} +0 -0
- /package/dist/{setup-data-dir-EVTC3IYW.js.map → setup-data-dir-YBPVK2F6.js.map} +0 -0
- /package/dist/{tool-memory-CLV7MXC4.js.map → tool-memory-UEXXDRFR.js.map} +0 -0
- /package/dist/{unified-registry-33QL65WE.js.map → unified-registry-MGN2LSQO.js.map} +0 -0
- /package/dist/{weather-report-VFWJVLP3.js.map → weather-report-TSEUPJKB.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N2KJVGTA.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-AJPEXONL.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZXBBL3BL.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-5RCAK7OJ.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-4W4SEFTP.js";
|
|
67
67
|
import {
|
|
68
68
|
IssueTriage,
|
|
69
69
|
createDurableAuditSink,
|
|
70
70
|
createDurableAuditTrail
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-JGSTXWLE.js";
|
|
72
72
|
import {
|
|
73
73
|
resolveEnvMode,
|
|
74
74
|
sanitizeInput
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-UYHM222K.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-CJXIOHYE.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-M2SLEIT7.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
107
107
|
emitPipelinePolicyEvent
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-BYKPEGQ3.js";
|
|
109
109
|
import {
|
|
110
110
|
EventTopics,
|
|
111
111
|
createEvent,
|
|
112
112
|
getGlobalEventBus,
|
|
113
113
|
getGlobalRegistry
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-HMZ7J6GD.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-UZ53V2JF.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-DR2YTUKD.js";
|
|
156
156
|
import {
|
|
157
157
|
getTokenEnvVars,
|
|
158
158
|
resolveToken
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-CPG63LP5.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-6KHMPRYZ.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-2IF67JY7.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-DFOHTKIX.js";
|
|
192
192
|
import {
|
|
193
193
|
BaseAdapter,
|
|
194
194
|
createStream,
|
|
195
195
|
requireApiKey,
|
|
196
196
|
validateApiKeyPresence
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-5KLZYR2Z.js";
|
|
198
198
|
import {
|
|
199
199
|
DEFAULTS
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-DDRX4MYC.js";
|
|
201
201
|
import {
|
|
202
202
|
getAvailabilityCache,
|
|
203
203
|
getCliForModelId,
|
|
204
204
|
resolveFallback
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-ZUMNK2HR.js";
|
|
206
206
|
import {
|
|
207
207
|
generateHyphenId,
|
|
208
208
|
generateUUID
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-HKHCMV2W.js";
|
|
210
210
|
import {
|
|
211
211
|
AGENT_ROUTER_TIMEOUTS,
|
|
212
212
|
API_TIMEOUTS,
|
|
@@ -312,7 +312,7 @@ import {
|
|
|
312
312
|
selectStrategyByManifest,
|
|
313
313
|
toExpertTaskAnalysisResult,
|
|
314
314
|
withStep
|
|
315
|
-
} from "./chunk-
|
|
315
|
+
} from "./chunk-QBSYQRJO.js";
|
|
316
316
|
import {
|
|
317
317
|
ensureLearningDir,
|
|
318
318
|
getMetaOutcomesFile,
|
|
@@ -996,7 +996,6 @@ var NexusEnvSchema = z11.object({
|
|
|
996
996
|
NEXUS_WORKER_MAX_CALLS: positiveIntStr.optional(),
|
|
997
997
|
// --- Server ---
|
|
998
998
|
NEXUS_AUTH_ENABLED: boolStr.optional(),
|
|
999
|
-
NEXUS_AUTH_METHOD: z11.string().optional(),
|
|
1000
999
|
// --- Logging ---
|
|
1001
1000
|
NEXUS_LOG_LEVEL: z11.enum(["trace", "debug", "info", "warn", "error", "fatal", "silent"]).optional(),
|
|
1002
1001
|
// --- Features ---
|
|
@@ -29870,7 +29869,7 @@ function execIdFields(executionId) {
|
|
|
29870
29869
|
async function populateUnifiedContextOnState(state, options) {
|
|
29871
29870
|
const taskCandidate = state["task"];
|
|
29872
29871
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29873
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29872
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-G4VB43FN.js");
|
|
29874
29873
|
const category = inferTaskCategory2(taskCandidate);
|
|
29875
29874
|
const executionId = options?.executionId;
|
|
29876
29875
|
const execFields = execIdFields(executionId);
|
|
@@ -45275,7 +45274,7 @@ async function tryIssueTriage(task) {
|
|
|
45275
45274
|
try {
|
|
45276
45275
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45277
45276
|
if (issueMatch === null) return null;
|
|
45278
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45277
|
+
const { createIssueTriage } = await import("./issue-triage-W7PAWKTC.js");
|
|
45279
45278
|
const triage = createIssueTriage();
|
|
45280
45279
|
const owner = issueMatch[1] ?? "";
|
|
45281
45280
|
const num = issueMatch[2] ?? "";
|
|
@@ -45303,7 +45302,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45303
45302
|
]);
|
|
45304
45303
|
async function classifyWithLLM(task) {
|
|
45305
45304
|
try {
|
|
45306
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45305
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-PBVEWN3X.js");
|
|
45307
45306
|
const prompt = [
|
|
45308
45307
|
"Classify this task into exactly one pipeline template.",
|
|
45309
45308
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -45677,7 +45676,7 @@ function buildVotingInput(plan, config) {
|
|
|
45677
45676
|
}
|
|
45678
45677
|
async function executeSingleVote(plan, config, log) {
|
|
45679
45678
|
try {
|
|
45680
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45679
|
+
const { executeVoting } = await import("./consensus-vote-QFFMSUFX.js");
|
|
45681
45680
|
const input = buildVotingInput(plan, config);
|
|
45682
45681
|
const result = await executeVoting(input, log);
|
|
45683
45682
|
return parseVotingResult(result);
|
|
@@ -47236,7 +47235,7 @@ var memoryInitPromise = null;
|
|
|
47236
47235
|
async function initPipelineMemory() {
|
|
47237
47236
|
if (cachedMemory !== null) return cachedMemory;
|
|
47238
47237
|
try {
|
|
47239
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47238
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-VX36KHCG.js");
|
|
47240
47239
|
const { getLearningDir } = await import("./learning-persistence-JK2FELZL.js");
|
|
47241
47240
|
const mem = createSessionMemory2(getLearningDir());
|
|
47242
47241
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47298,7 +47297,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47298
47297
|
callRecord(routingMemoryCache);
|
|
47299
47298
|
return;
|
|
47300
47299
|
}
|
|
47301
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47300
|
+
routingMemoryInitPromise ??= import("./routing-memory-HLFY4ZWV.js").then(({ createRoutingMemory }) => {
|
|
47302
47301
|
routingMemoryCache ??= createRoutingMemory();
|
|
47303
47302
|
return routingMemoryCache;
|
|
47304
47303
|
}).catch((error) => {
|
|
@@ -47332,7 +47331,7 @@ ${text}` : "";
|
|
|
47332
47331
|
}
|
|
47333
47332
|
async function getWeatherContext() {
|
|
47334
47333
|
try {
|
|
47335
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47334
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-TSEUPJKB.js");
|
|
47336
47335
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47337
47336
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47338
47337
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47350,7 +47349,7 @@ ${lines}
|
|
|
47350
47349
|
}
|
|
47351
47350
|
async function getMemoryContext(task) {
|
|
47352
47351
|
try {
|
|
47353
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47352
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-VX36KHCG.js");
|
|
47354
47353
|
const { getLearningDir } = await import("./learning-persistence-JK2FELZL.js");
|
|
47355
47354
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47356
47355
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47469,7 +47468,7 @@ ${contextBlock}`;
|
|
|
47469
47468
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47470
47469
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47471
47470
|
try {
|
|
47472
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47471
|
+
const { executeVoting } = await import("./consensus-vote-QFFMSUFX.js");
|
|
47473
47472
|
const votingResult = await executeVoting(
|
|
47474
47473
|
{
|
|
47475
47474
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47900,7 +47899,7 @@ async function searchCodebaseForTask(task) {
|
|
|
47900
47899
|
}
|
|
47901
47900
|
async function queryResearchRegistry(task) {
|
|
47902
47901
|
try {
|
|
47903
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
47902
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-WVDTNKFQ.js");
|
|
47904
47903
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
47905
47904
|
if (topic === void 0) return null;
|
|
47906
47905
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -47971,7 +47970,7 @@ function createScanStageWrapper() {
|
|
|
47971
47970
|
try {
|
|
47972
47971
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
47973
47972
|
if (slug !== void 0) {
|
|
47974
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
47973
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-KC4C7MKD.js");
|
|
47975
47974
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
47976
47975
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
47977
47976
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51205,7 +51204,7 @@ var GitHubTaskTracker = class {
|
|
|
51205
51204
|
cachedProvider = null;
|
|
51206
51205
|
async getProvider() {
|
|
51207
51206
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51208
|
-
const { createScmProvider } = await import("./factory-
|
|
51207
|
+
const { createScmProvider } = await import("./factory-275Q74NB.js");
|
|
51209
51208
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51210
51209
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51211
51210
|
this.cachedProvider = result.value;
|
|
@@ -52109,7 +52108,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
52109
52108
|
}
|
|
52110
52109
|
}
|
|
52111
52110
|
async function defaultSources(includeOpenRouter) {
|
|
52112
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
52111
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-CRIWINXF.js");
|
|
52113
52112
|
const adapters = createAllAdapters2();
|
|
52114
52113
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
52115
52114
|
}
|
|
@@ -56185,4 +56184,4 @@ export {
|
|
|
56185
56184
|
shutdownFeedbackSubscriber,
|
|
56186
56185
|
createEventBusBridge
|
|
56187
56186
|
};
|
|
56188
|
-
//# sourceMappingURL=chunk-
|
|
56187
|
+
//# sourceMappingURL=chunk-PZUFJCWX.js.map
|