nexus-agents 8.76.2 → 8.77.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-BXBBL5G7.js → ast-rule-runner-U5N43D4U.js} +3 -3
- package/dist/{child-mcp-config-3IELNFHI.js → child-mcp-config-IRZHH2TU.js} +2 -2
- package/dist/{chunk-UF3BNMOV.js → chunk-33HHRRKZ.js} +34 -31
- package/dist/chunk-33HHRRKZ.js.map +1 -0
- package/dist/{chunk-A6QRKIGL.js → chunk-4FDESAVV.js} +3 -3
- package/dist/{chunk-WFHUSSKZ.js → chunk-5CIP4EWI.js} +21 -5
- package/dist/chunk-5CIP4EWI.js.map +1 -0
- package/dist/{chunk-PE4QQAAY.js → chunk-5XAJU5ZV.js} +44 -36
- package/dist/chunk-5XAJU5ZV.js.map +1 -0
- package/dist/{chunk-IDPA4X6J.js → chunk-6IUAMO5M.js} +3 -3
- package/dist/{chunk-T52Y554H.js → chunk-7RCC7WGS.js} +2 -2
- package/dist/{chunk-CAIJB3CO.js → chunk-ACXBBUW3.js} +72 -5
- package/dist/chunk-ACXBBUW3.js.map +1 -0
- package/dist/{chunk-NBTG2OQC.js → chunk-AE2U6NUZ.js} +2 -2
- package/dist/{chunk-ZVQ2Q7OM.js → chunk-AVEDKF3J.js} +2 -2
- package/dist/{chunk-IPI4I2UW.js → chunk-CMZPHXDH.js} +2 -2
- package/dist/{chunk-MSPYAOAU.js → chunk-DWQ7TG5L.js} +2 -2
- package/dist/{chunk-6E3DFUYA.js → chunk-EMWRUQQS.js} +5 -5
- package/dist/{chunk-T6W3N3N3.js → chunk-F7R2E74V.js} +2 -2
- package/dist/{chunk-PJZQQYLJ.js → chunk-GHNHZSDW.js} +7 -7
- package/dist/{chunk-BAGUYKZL.js → chunk-GS5OJHJJ.js} +34 -12
- package/dist/chunk-GS5OJHJJ.js.map +1 -0
- package/dist/{chunk-F76Y5QXV.js → chunk-I2MSRFXZ.js} +9 -9
- package/dist/{chunk-VFTP7WSH.js → chunk-J76ZM6QF.js} +2 -2
- package/dist/{chunk-AONC4VYB.js → chunk-LIVTFARG.js} +2 -2
- package/dist/{chunk-J527NA52.js → chunk-LZGSWYDX.js} +3 -3
- package/dist/{chunk-MRGBENPM.js → chunk-NEIPHVTA.js} +2 -2
- package/dist/{chunk-CMG3P6OI.js → chunk-PSCY6MSD.js} +4 -4
- package/dist/{chunk-RC4ZQ4ZE.js → chunk-Q6JZQWQB.js} +28 -31
- package/dist/chunk-Q6JZQWQB.js.map +1 -0
- package/dist/{chunk-EVBLCOEN.js → chunk-QBZ6DBJL.js} +2 -2
- package/dist/{chunk-AWCSYKUR.js → chunk-QNRB5U7W.js} +2 -2
- package/dist/{chunk-FRHYZJGC.js → chunk-SKAPTWVH.js} +3 -3
- package/dist/{chunk-2P4HP2A6.js → chunk-T63EIQYI.js} +2 -2
- package/dist/{chunk-FMAJIIXZ.js → chunk-UNPDTD6N.js} +2 -2
- package/dist/{chunk-GOXBEH6M.js → chunk-VFFG3HIY.js} +2 -2
- package/dist/{chunk-G744HQMZ.js → chunk-VIVM7X76.js} +5 -5
- package/dist/{chunk-MCRMY7K7.js → chunk-WABZQ477.js} +4 -4
- package/dist/{chunk-VKLUJZQV.js → chunk-WUN3IB3T.js} +2 -2
- package/dist/{chunk-MSSRXYMZ.js → chunk-XQ34WJOM.js} +2 -2
- package/dist/{chunk-NOSQXAW3.js → chunk-YUDJV6JF.js} +4 -4
- package/dist/{cli-circuit-breaker-H5CESPLC.js → cli-circuit-breaker-DJU6WTWT.js} +3 -3
- package/dist/cli.js +48 -44
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-DSYVXQ7C.js → composite-router-F3D2QRHI.js} +2 -2
- package/dist/{consensus-vote-OKA2PL74.js → consensus-vote-7JRI7YF6.js} +16 -16
- package/dist/{context-retriever-C5KY23EG.js → context-retriever-J24ZMIZG.js} +8 -8
- package/dist/{doctor-deep-LBPZXYN4.js → doctor-deep-WWOPRJJS.js} +3 -3
- package/dist/{doctor-live-QAT3FLUJ.js → doctor-live-55CKYQ6V.js} +10 -10
- package/dist/{expert-bridge-F7V2AXUD.js → expert-bridge-5MFBN4ZW.js} +4 -4
- package/dist/{factory-MZTDIMCP.js → factory-3ZA63QDH.js} +9 -9
- package/dist/{factory-ECJNRE2W.js → factory-TXEYHBQV.js} +5 -5
- package/dist/{improvement-review-UEVIATKC.js → improvement-review-JVI3RM7I.js} +5 -5
- package/dist/index.d.ts +55 -2
- package/dist/index.js +30 -30
- package/dist/{init-opencode-WXEXOV6X.js → init-opencode-R5JTQZG5.js} +5 -5
- package/dist/issue-triage-6KIGFUFJ.js +16 -0
- package/dist/{pr-reviewer-helpers-VRPD3CNI.js → pr-reviewer-helpers-HRM74BLX.js} +4 -4
- package/dist/{registry-command-JZLWVBLG.js → registry-command-ZPKPR6WV.js} +2 -2
- package/dist/{repo-security-plan-IS65FSZF.js → repo-security-plan-LXKTNEGB.js} +3 -3
- package/dist/{research-helpers-synthesize-TLZPEOAU.js → research-helpers-synthesize-FZLLZSJM.js} +4 -4
- package/dist/{routing-memory-YHEH7ULH.js → routing-memory-35Z7UVYC.js} +2 -2
- package/dist/{session-memory-5MD3ZFJX.js → session-memory-G7VGV2SC.js} +3 -3
- package/dist/{setup-config-RFOBGXUH.js → setup-config-KLKXB2LM.js} +3 -3
- package/dist/{setup-custom-api-DKXRZY4C.js → setup-custom-api-TJMRUQFK.js} +14 -11
- package/dist/setup-custom-api-TJMRUQFK.js.map +1 -0
- package/dist/setup-data-dir-VCSQTZ6L.js +30 -0
- package/dist/{tool-memory-HCCMGPVI.js → tool-memory-65MWYDEP.js} +5 -5
- package/dist/{unified-registry-3TWHRO5L.js → unified-registry-2HCLBGWM.js} +10 -10
- package/dist/{weather-report-MGOA7OOC.js → weather-report-RMRBC6LH.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-BAGUYKZL.js.map +0 -1
- package/dist/chunk-CAIJB3CO.js.map +0 -1
- package/dist/chunk-PE4QQAAY.js.map +0 -1
- package/dist/chunk-RC4ZQ4ZE.js.map +0 -1
- package/dist/chunk-UF3BNMOV.js.map +0 -1
- package/dist/chunk-WFHUSSKZ.js.map +0 -1
- package/dist/issue-triage-OJZ275JY.js +0 -16
- package/dist/setup-custom-api-DKXRZY4C.js.map +0 -1
- package/dist/setup-data-dir-JXSO4FDY.js +0 -30
- /package/dist/{ast-rule-runner-BXBBL5G7.js.map → ast-rule-runner-U5N43D4U.js.map} +0 -0
- /package/dist/{child-mcp-config-3IELNFHI.js.map → child-mcp-config-IRZHH2TU.js.map} +0 -0
- /package/dist/{chunk-A6QRKIGL.js.map → chunk-4FDESAVV.js.map} +0 -0
- /package/dist/{chunk-IDPA4X6J.js.map → chunk-6IUAMO5M.js.map} +0 -0
- /package/dist/{chunk-T52Y554H.js.map → chunk-7RCC7WGS.js.map} +0 -0
- /package/dist/{chunk-NBTG2OQC.js.map → chunk-AE2U6NUZ.js.map} +0 -0
- /package/dist/{chunk-ZVQ2Q7OM.js.map → chunk-AVEDKF3J.js.map} +0 -0
- /package/dist/{chunk-IPI4I2UW.js.map → chunk-CMZPHXDH.js.map} +0 -0
- /package/dist/{chunk-MSPYAOAU.js.map → chunk-DWQ7TG5L.js.map} +0 -0
- /package/dist/{chunk-6E3DFUYA.js.map → chunk-EMWRUQQS.js.map} +0 -0
- /package/dist/{chunk-T6W3N3N3.js.map → chunk-F7R2E74V.js.map} +0 -0
- /package/dist/{chunk-PJZQQYLJ.js.map → chunk-GHNHZSDW.js.map} +0 -0
- /package/dist/{chunk-F76Y5QXV.js.map → chunk-I2MSRFXZ.js.map} +0 -0
- /package/dist/{chunk-VFTP7WSH.js.map → chunk-J76ZM6QF.js.map} +0 -0
- /package/dist/{chunk-AONC4VYB.js.map → chunk-LIVTFARG.js.map} +0 -0
- /package/dist/{chunk-J527NA52.js.map → chunk-LZGSWYDX.js.map} +0 -0
- /package/dist/{chunk-MRGBENPM.js.map → chunk-NEIPHVTA.js.map} +0 -0
- /package/dist/{chunk-CMG3P6OI.js.map → chunk-PSCY6MSD.js.map} +0 -0
- /package/dist/{chunk-EVBLCOEN.js.map → chunk-QBZ6DBJL.js.map} +0 -0
- /package/dist/{chunk-AWCSYKUR.js.map → chunk-QNRB5U7W.js.map} +0 -0
- /package/dist/{chunk-FRHYZJGC.js.map → chunk-SKAPTWVH.js.map} +0 -0
- /package/dist/{chunk-2P4HP2A6.js.map → chunk-T63EIQYI.js.map} +0 -0
- /package/dist/{chunk-FMAJIIXZ.js.map → chunk-UNPDTD6N.js.map} +0 -0
- /package/dist/{chunk-GOXBEH6M.js.map → chunk-VFFG3HIY.js.map} +0 -0
- /package/dist/{chunk-G744HQMZ.js.map → chunk-VIVM7X76.js.map} +0 -0
- /package/dist/{chunk-MCRMY7K7.js.map → chunk-WABZQ477.js.map} +0 -0
- /package/dist/{chunk-VKLUJZQV.js.map → chunk-WUN3IB3T.js.map} +0 -0
- /package/dist/{chunk-MSSRXYMZ.js.map → chunk-XQ34WJOM.js.map} +0 -0
- /package/dist/{chunk-NOSQXAW3.js.map → chunk-YUDJV6JF.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-H5CESPLC.js.map → cli-circuit-breaker-DJU6WTWT.js.map} +0 -0
- /package/dist/{composite-router-DSYVXQ7C.js.map → composite-router-F3D2QRHI.js.map} +0 -0
- /package/dist/{consensus-vote-OKA2PL74.js.map → consensus-vote-7JRI7YF6.js.map} +0 -0
- /package/dist/{context-retriever-C5KY23EG.js.map → context-retriever-J24ZMIZG.js.map} +0 -0
- /package/dist/{doctor-deep-LBPZXYN4.js.map → doctor-deep-WWOPRJJS.js.map} +0 -0
- /package/dist/{doctor-live-QAT3FLUJ.js.map → doctor-live-55CKYQ6V.js.map} +0 -0
- /package/dist/{expert-bridge-F7V2AXUD.js.map → expert-bridge-5MFBN4ZW.js.map} +0 -0
- /package/dist/{factory-ECJNRE2W.js.map → factory-3ZA63QDH.js.map} +0 -0
- /package/dist/{factory-MZTDIMCP.js.map → factory-TXEYHBQV.js.map} +0 -0
- /package/dist/{improvement-review-UEVIATKC.js.map → improvement-review-JVI3RM7I.js.map} +0 -0
- /package/dist/{init-opencode-WXEXOV6X.js.map → init-opencode-R5JTQZG5.js.map} +0 -0
- /package/dist/{issue-triage-OJZ275JY.js.map → issue-triage-6KIGFUFJ.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-VRPD3CNI.js.map → pr-reviewer-helpers-HRM74BLX.js.map} +0 -0
- /package/dist/{registry-command-JZLWVBLG.js.map → registry-command-ZPKPR6WV.js.map} +0 -0
- /package/dist/{repo-security-plan-IS65FSZF.js.map → repo-security-plan-LXKTNEGB.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-TLZPEOAU.js.map → research-helpers-synthesize-FZLLZSJM.js.map} +0 -0
- /package/dist/{routing-memory-YHEH7ULH.js.map → routing-memory-35Z7UVYC.js.map} +0 -0
- /package/dist/{session-memory-5MD3ZFJX.js.map → session-memory-G7VGV2SC.js.map} +0 -0
- /package/dist/{setup-config-RFOBGXUH.js.map → setup-config-KLKXB2LM.js.map} +0 -0
- /package/dist/{setup-data-dir-JXSO4FDY.js.map → setup-data-dir-VCSQTZ6L.js.map} +0 -0
- /package/dist/{tool-memory-HCCMGPVI.js.map → tool-memory-65MWYDEP.js.map} +0 -0
- /package/dist/{unified-registry-3TWHRO5L.js.map → unified-registry-2HCLBGWM.js.map} +0 -0
- /package/dist/{weather-report-MGOA7OOC.js.map → weather-report-RMRBC6LH.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AVEDKF3J.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzeGitHubRepo
|
|
6
6
|
} from "./chunk-4GDMHCKX.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GS5OJHJJ.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-GHNHZSDW.js";
|
|
28
28
|
import {
|
|
29
29
|
DEPRECATED_MODE_ALIAS_INPUT,
|
|
30
30
|
JobStatusSchema,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
updateStage,
|
|
72
72
|
withWarnings,
|
|
73
73
|
writeJobCancelled
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-I2MSRFXZ.js";
|
|
75
75
|
import {
|
|
76
76
|
allOf,
|
|
77
77
|
anyOf
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
import {
|
|
80
80
|
normalizeTopicToCanonical,
|
|
81
81
|
synthesizeResearch
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-4FDESAVV.js";
|
|
83
83
|
import {
|
|
84
84
|
IssueTriage,
|
|
85
85
|
createAuditTrail,
|
|
@@ -87,13 +87,13 @@ import {
|
|
|
87
87
|
createDurableAuditTrail,
|
|
88
88
|
createGraphAuditBridge,
|
|
89
89
|
emitPipelinePolicyEvent
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-VIVM7X76.js";
|
|
91
91
|
import {
|
|
92
92
|
sanitizeInput
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-F7R2E74V.js";
|
|
94
94
|
import {
|
|
95
95
|
withPrerequisite
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-6IUAMO5M.js";
|
|
97
97
|
import {
|
|
98
98
|
NOOP_NOTIFIER,
|
|
99
99
|
RateLimiter,
|
|
@@ -116,14 +116,14 @@ import {
|
|
|
116
116
|
toolSuccessStructured,
|
|
117
117
|
withProgressHeartbeat,
|
|
118
118
|
wrapToolWithTimeout
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-LZGSWYDX.js";
|
|
120
120
|
import {
|
|
121
121
|
EventTopics,
|
|
122
122
|
UNRESOLVED_MODEL_ID,
|
|
123
123
|
createEvent,
|
|
124
124
|
getGlobalEventBus,
|
|
125
125
|
getGlobalRegistry
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-PSCY6MSD.js";
|
|
127
127
|
import {
|
|
128
128
|
IDENTIFIER_RE,
|
|
129
129
|
LANG_VALUES,
|
|
@@ -156,7 +156,7 @@ import {
|
|
|
156
156
|
parseRegistry,
|
|
157
157
|
sourceExistsInRegistry,
|
|
158
158
|
summarizeContextForPrompt
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-EMWRUQQS.js";
|
|
160
160
|
import {
|
|
161
161
|
REGISTRY_PATH,
|
|
162
162
|
getProjectRoot,
|
|
@@ -164,25 +164,25 @@ import {
|
|
|
164
164
|
loadTechniquesRegistry,
|
|
165
165
|
resolveInsideRoot,
|
|
166
166
|
resolveRegistryRoot
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-NEIPHVTA.js";
|
|
168
168
|
import {
|
|
169
169
|
getTokenEnvVars,
|
|
170
170
|
resolveToken
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-CMZPHXDH.js";
|
|
172
172
|
import {
|
|
173
173
|
DEFAULT_RELEVANCE_CONFIG,
|
|
174
174
|
MemoryImportance,
|
|
175
175
|
MemoryType,
|
|
176
176
|
calculateTextJaccardSimilarity,
|
|
177
177
|
getToolMemory
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-YUDJV6JF.js";
|
|
179
179
|
import {
|
|
180
180
|
STOPWORDS,
|
|
181
181
|
truncateWithInfo
|
|
182
182
|
} from "./chunk-7LP6VJRP.js";
|
|
183
183
|
import {
|
|
184
184
|
createSessionMemory
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-AE2U6NUZ.js";
|
|
186
186
|
import {
|
|
187
187
|
BUILT_IN_EXPERTS,
|
|
188
188
|
BuiltInExpertTypeSchema,
|
|
@@ -200,25 +200,28 @@ import {
|
|
|
200
200
|
getAvailableClis,
|
|
201
201
|
sleep,
|
|
202
202
|
withTimeout
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-33HHRRKZ.js";
|
|
204
204
|
import {
|
|
205
205
|
BaseAdapter,
|
|
206
206
|
createStream,
|
|
207
207
|
requireApiKey,
|
|
208
208
|
validateApiKeyPresence
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-XQ34WJOM.js";
|
|
210
210
|
import {
|
|
211
211
|
DEFAULTS
|
|
212
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-WUN3IB3T.js";
|
|
213
|
+
import {
|
|
214
|
+
resolveGatewayEnv
|
|
215
|
+
} from "./chunk-ACXBBUW3.js";
|
|
213
216
|
import {
|
|
214
217
|
getAvailabilityCache,
|
|
215
218
|
getCliForModelId,
|
|
216
219
|
resolveFallback
|
|
217
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-J76ZM6QF.js";
|
|
218
221
|
import {
|
|
219
222
|
generateHyphenId,
|
|
220
223
|
generateUUID
|
|
221
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-QNRB5U7W.js";
|
|
222
225
|
import {
|
|
223
226
|
AGENT_ROUTER_TIMEOUTS,
|
|
224
227
|
API_TIMEOUTS,
|
|
@@ -331,7 +334,7 @@ import {
|
|
|
331
334
|
selectStrategyByManifest,
|
|
332
335
|
toExpertTaskAnalysisResult,
|
|
333
336
|
withStep
|
|
334
|
-
} from "./chunk-
|
|
337
|
+
} from "./chunk-5CIP4EWI.js";
|
|
335
338
|
import {
|
|
336
339
|
ensureLearningDir,
|
|
337
340
|
getMetaOutcomesFile,
|
|
@@ -1102,6 +1105,10 @@ var NexusEnvSchema = z11.object({
|
|
|
1102
1105
|
// Paths, URLs, tokens and term lists: any non-empty string is legal, so
|
|
1103
1106
|
// z.string() is the accurate type rather than a permissive stand-in.
|
|
1104
1107
|
NEXUS_CODEPR_TOKEN: z11.string().optional(),
|
|
1108
|
+
// #4392 increment 3: deprecated aliases of NEXUS_OPENAI_COMPAT_URL / _KEY
|
|
1109
|
+
// for the single-model custom-openai path, dropped in the next major
|
|
1110
|
+
// (#6291). Kept registered so a correctly spelled alias is not reported as
|
|
1111
|
+
// a typo; their use is reported in `deprecatedVars` instead.
|
|
1105
1112
|
NEXUS_CUSTOM_API_BASE_URL: z11.string().optional(),
|
|
1106
1113
|
NEXUS_CUSTOM_API_KEY: z11.string().optional(),
|
|
1107
1114
|
NEXUS_CUSTOM_MODEL: z11.string().optional(),
|
|
@@ -1298,10 +1305,11 @@ function validateNexusEnv(logger61) {
|
|
|
1298
1305
|
}
|
|
1299
1306
|
}
|
|
1300
1307
|
const ineffectiveVars = findIneffectiveVars();
|
|
1308
|
+
const deprecatedVars = resolveGatewayEnv(process.env).deprecated;
|
|
1301
1309
|
if (logger61 !== void 0) {
|
|
1302
1310
|
logValidationWarnings(logger61, unknownVars, invalidVars, ineffectiveVars);
|
|
1303
1311
|
}
|
|
1304
|
-
return { unknownVars, invalidVars, ineffectiveVars };
|
|
1312
|
+
return { unknownVars, invalidVars, ineffectiveVars, deprecatedVars };
|
|
1305
1313
|
}
|
|
1306
1314
|
function getKnownNexusVarNames() {
|
|
1307
1315
|
return KNOWN_NAMES;
|
|
@@ -30088,7 +30096,7 @@ function execIdFields(executionId) {
|
|
|
30088
30096
|
async function populateUnifiedContextOnState(state, options) {
|
|
30089
30097
|
const taskCandidate = state["task"];
|
|
30090
30098
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
30091
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
30099
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-J24ZMIZG.js");
|
|
30092
30100
|
const category = inferTaskCategory2(taskCandidate);
|
|
30093
30101
|
const executionId = options?.executionId;
|
|
30094
30102
|
const execFields = execIdFields(executionId);
|
|
@@ -45471,7 +45479,7 @@ async function tryIssueTriage(task) {
|
|
|
45471
45479
|
try {
|
|
45472
45480
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45473
45481
|
if (issueMatch === null) return null;
|
|
45474
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45482
|
+
const { createIssueTriage } = await import("./issue-triage-6KIGFUFJ.js");
|
|
45475
45483
|
const triage = createIssueTriage();
|
|
45476
45484
|
const owner = issueMatch[1] ?? "";
|
|
45477
45485
|
const num2 = issueMatch[2] ?? "";
|
|
@@ -45499,7 +45507,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45499
45507
|
]);
|
|
45500
45508
|
async function classifyWithLLM(task) {
|
|
45501
45509
|
try {
|
|
45502
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45510
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-5MFBN4ZW.js");
|
|
45503
45511
|
const prompt = [
|
|
45504
45512
|
"Classify this task into exactly one pipeline template.",
|
|
45505
45513
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -45873,7 +45881,7 @@ function buildVotingInput(plan, config) {
|
|
|
45873
45881
|
}
|
|
45874
45882
|
async function executeSingleVote(plan, config, log) {
|
|
45875
45883
|
try {
|
|
45876
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45884
|
+
const { executeVoting } = await import("./consensus-vote-7JRI7YF6.js");
|
|
45877
45885
|
const input = buildVotingInput(plan, config);
|
|
45878
45886
|
const result = await executeVoting(input, log);
|
|
45879
45887
|
return parseVotingResult(result);
|
|
@@ -46577,7 +46585,7 @@ var memoryInitPromise = null;
|
|
|
46577
46585
|
async function initPipelineMemory() {
|
|
46578
46586
|
if (cachedMemory !== null) return cachedMemory;
|
|
46579
46587
|
try {
|
|
46580
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
46588
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-G7VGV2SC.js");
|
|
46581
46589
|
const { getLearningDir } = await import("./learning-persistence-7BEPQEGN.js");
|
|
46582
46590
|
const mem = createSessionMemory2(getLearningDir());
|
|
46583
46591
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -46639,7 +46647,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
46639
46647
|
callRecord(routingMemoryCache);
|
|
46640
46648
|
return;
|
|
46641
46649
|
}
|
|
46642
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
46650
|
+
routingMemoryInitPromise ??= import("./routing-memory-35Z7UVYC.js").then(({ createRoutingMemory }) => {
|
|
46643
46651
|
routingMemoryCache ??= createRoutingMemory();
|
|
46644
46652
|
return routingMemoryCache;
|
|
46645
46653
|
}).catch((error) => {
|
|
@@ -46840,7 +46848,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
46840
46848
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
46841
46849
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
46842
46850
|
try {
|
|
46843
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46851
|
+
const { executeVoting } = await import("./consensus-vote-7JRI7YF6.js");
|
|
46844
46852
|
const votingResult = await executeVoting(
|
|
46845
46853
|
{
|
|
46846
46854
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47599,7 +47607,7 @@ ${text}` : "";
|
|
|
47599
47607
|
}
|
|
47600
47608
|
async function getWeatherContext() {
|
|
47601
47609
|
try {
|
|
47602
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47610
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-RMRBC6LH.js");
|
|
47603
47611
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47604
47612
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47605
47613
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47617,7 +47625,7 @@ ${lines}
|
|
|
47617
47625
|
}
|
|
47618
47626
|
async function getMemoryContext(task) {
|
|
47619
47627
|
try {
|
|
47620
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47628
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-G7VGV2SC.js");
|
|
47621
47629
|
const { getLearningDir } = await import("./learning-persistence-7BEPQEGN.js");
|
|
47622
47630
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47623
47631
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -48184,7 +48192,7 @@ async function searchCodebaseForTask(task) {
|
|
|
48184
48192
|
}
|
|
48185
48193
|
async function queryResearchRegistry(task) {
|
|
48186
48194
|
try {
|
|
48187
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
48195
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-FZLLZSJM.js");
|
|
48188
48196
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
48189
48197
|
if (topic === void 0) return null;
|
|
48190
48198
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -48255,7 +48263,7 @@ function createScanStageWrapper() {
|
|
|
48255
48263
|
try {
|
|
48256
48264
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
48257
48265
|
if (slug !== void 0) {
|
|
48258
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
48266
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-LXKTNEGB.js");
|
|
48259
48267
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
48260
48268
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
48261
48269
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51955,7 +51963,7 @@ var GitHubTaskTracker = class {
|
|
|
51955
51963
|
cachedProvider = null;
|
|
51956
51964
|
async getProvider() {
|
|
51957
51965
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51958
|
-
const { createScmProvider } = await import("./factory-
|
|
51966
|
+
const { createScmProvider } = await import("./factory-TXEYHBQV.js");
|
|
51959
51967
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51960
51968
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51961
51969
|
this.cachedProvider = result.value;
|
|
@@ -52927,7 +52935,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
52927
52935
|
}
|
|
52928
52936
|
}
|
|
52929
52937
|
async function defaultSources(includeOpenRouter) {
|
|
52930
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
52938
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-3ZA63QDH.js");
|
|
52931
52939
|
const adapters = createAllAdapters2();
|
|
52932
52940
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
52933
52941
|
}
|
|
@@ -57003,4 +57011,4 @@ export {
|
|
|
57003
57011
|
startPipelineEventBridge,
|
|
57004
57012
|
shutdownPipelineEventBridge
|
|
57005
57013
|
};
|
|
57006
|
-
//# sourceMappingURL=chunk-
|
|
57014
|
+
//# sourceMappingURL=chunk-5XAJU5ZV.js.map
|