nexus-agents 8.76.2 → 8.78.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-PE4QQAAY.js → chunk-3K7OHJLM.js} +53 -38
- package/dist/chunk-3K7OHJLM.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-J527NA52.js → chunk-5EXZHBAQ.js} +3 -3
- package/dist/{chunk-T52Y554H.js → chunk-7RCC7WGS.js} +2 -2
- package/dist/{chunk-BAGUYKZL.js → chunk-7ZMNE7U2.js} +34 -12
- package/dist/chunk-7ZMNE7U2.js.map +1 -0
- 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-F76Y5QXV.js → chunk-ER76ZRBU.js} +9 -9
- package/dist/{chunk-T6W3N3N3.js → chunk-F7R2E74V.js} +2 -2
- package/dist/{chunk-PJZQQYLJ.js → chunk-GHNHZSDW.js} +7 -7
- package/dist/{chunk-VFTP7WSH.js → chunk-J76ZM6QF.js} +2 -2
- package/dist/{chunk-AONC4VYB.js → chunk-LIVTFARG.js} +2 -2
- package/dist/{chunk-EVBLCOEN.js → chunk-MYF73MI3.js} +2 -2
- package/dist/{chunk-MRGBENPM.js → chunk-NEIPHVTA.js} +2 -2
- package/dist/{chunk-IDPA4X6J.js → chunk-NW5MCYOE.js} +3 -3
- package/dist/{chunk-G744HQMZ.js → chunk-OZFXXGGZ.js} +75 -12
- package/dist/chunk-OZFXXGGZ.js.map +1 -0
- 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-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-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 +65 -51
- 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-3ZA6SHMI.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-VC46AY77.js} +5 -5
- package/dist/index.d.ts +75 -3
- package/dist/index.js +30 -30
- package/dist/{init-opencode-WXEXOV6X.js → init-opencode-R5JTQZG5.js} +5 -5
- package/dist/issue-triage-M7XEMQZ7.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-NQITBZYA.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-G744HQMZ.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-J527NA52.js.map → chunk-5EXZHBAQ.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-F76Y5QXV.js.map → chunk-ER76ZRBU.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-VFTP7WSH.js.map → chunk-J76ZM6QF.js.map} +0 -0
- /package/dist/{chunk-AONC4VYB.js.map → chunk-LIVTFARG.js.map} +0 -0
- /package/dist/{chunk-EVBLCOEN.js.map → chunk-MYF73MI3.js.map} +0 -0
- /package/dist/{chunk-MRGBENPM.js.map → chunk-NEIPHVTA.js.map} +0 -0
- /package/dist/{chunk-IDPA4X6J.js.map → chunk-NW5MCYOE.js.map} +0 -0
- /package/dist/{chunk-CMG3P6OI.js.map → chunk-PSCY6MSD.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-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-3ZA6SHMI.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-VC46AY77.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-M7XEMQZ7.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-NQITBZYA.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-7ZMNE7U2.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-ER76ZRBU.js";
|
|
75
75
|
import {
|
|
76
76
|
allOf,
|
|
77
77
|
anyOf
|
|
@@ -79,21 +79,22 @@ 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,
|
|
86
86
|
createDurableAuditSink,
|
|
87
87
|
createDurableAuditTrail,
|
|
88
88
|
createGraphAuditBridge,
|
|
89
|
-
emitPipelinePolicyEvent
|
|
90
|
-
|
|
89
|
+
emitPipelinePolicyEvent,
|
|
90
|
+
readActionRefusal
|
|
91
|
+
} from "./chunk-OZFXXGGZ.js";
|
|
91
92
|
import {
|
|
92
93
|
sanitizeInput
|
|
93
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-F7R2E74V.js";
|
|
94
95
|
import {
|
|
95
96
|
withPrerequisite
|
|
96
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-NW5MCYOE.js";
|
|
97
98
|
import {
|
|
98
99
|
NOOP_NOTIFIER,
|
|
99
100
|
RateLimiter,
|
|
@@ -116,14 +117,14 @@ import {
|
|
|
116
117
|
toolSuccessStructured,
|
|
117
118
|
withProgressHeartbeat,
|
|
118
119
|
wrapToolWithTimeout
|
|
119
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-5EXZHBAQ.js";
|
|
120
121
|
import {
|
|
121
122
|
EventTopics,
|
|
122
123
|
UNRESOLVED_MODEL_ID,
|
|
123
124
|
createEvent,
|
|
124
125
|
getGlobalEventBus,
|
|
125
126
|
getGlobalRegistry
|
|
126
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-PSCY6MSD.js";
|
|
127
128
|
import {
|
|
128
129
|
IDENTIFIER_RE,
|
|
129
130
|
LANG_VALUES,
|
|
@@ -156,7 +157,7 @@ import {
|
|
|
156
157
|
parseRegistry,
|
|
157
158
|
sourceExistsInRegistry,
|
|
158
159
|
summarizeContextForPrompt
|
|
159
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-EMWRUQQS.js";
|
|
160
161
|
import {
|
|
161
162
|
REGISTRY_PATH,
|
|
162
163
|
getProjectRoot,
|
|
@@ -164,25 +165,25 @@ import {
|
|
|
164
165
|
loadTechniquesRegistry,
|
|
165
166
|
resolveInsideRoot,
|
|
166
167
|
resolveRegistryRoot
|
|
167
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-NEIPHVTA.js";
|
|
168
169
|
import {
|
|
169
170
|
getTokenEnvVars,
|
|
170
171
|
resolveToken
|
|
171
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-CMZPHXDH.js";
|
|
172
173
|
import {
|
|
173
174
|
DEFAULT_RELEVANCE_CONFIG,
|
|
174
175
|
MemoryImportance,
|
|
175
176
|
MemoryType,
|
|
176
177
|
calculateTextJaccardSimilarity,
|
|
177
178
|
getToolMemory
|
|
178
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-YUDJV6JF.js";
|
|
179
180
|
import {
|
|
180
181
|
STOPWORDS,
|
|
181
182
|
truncateWithInfo
|
|
182
183
|
} from "./chunk-7LP6VJRP.js";
|
|
183
184
|
import {
|
|
184
185
|
createSessionMemory
|
|
185
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-AE2U6NUZ.js";
|
|
186
187
|
import {
|
|
187
188
|
BUILT_IN_EXPERTS,
|
|
188
189
|
BuiltInExpertTypeSchema,
|
|
@@ -200,25 +201,28 @@ import {
|
|
|
200
201
|
getAvailableClis,
|
|
201
202
|
sleep,
|
|
202
203
|
withTimeout
|
|
203
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-33HHRRKZ.js";
|
|
204
205
|
import {
|
|
205
206
|
BaseAdapter,
|
|
206
207
|
createStream,
|
|
207
208
|
requireApiKey,
|
|
208
209
|
validateApiKeyPresence
|
|
209
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-XQ34WJOM.js";
|
|
210
211
|
import {
|
|
211
212
|
DEFAULTS
|
|
212
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-WUN3IB3T.js";
|
|
214
|
+
import {
|
|
215
|
+
resolveGatewayEnv
|
|
216
|
+
} from "./chunk-ACXBBUW3.js";
|
|
213
217
|
import {
|
|
214
218
|
getAvailabilityCache,
|
|
215
219
|
getCliForModelId,
|
|
216
220
|
resolveFallback
|
|
217
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-J76ZM6QF.js";
|
|
218
222
|
import {
|
|
219
223
|
generateHyphenId,
|
|
220
224
|
generateUUID
|
|
221
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-QNRB5U7W.js";
|
|
222
226
|
import {
|
|
223
227
|
AGENT_ROUTER_TIMEOUTS,
|
|
224
228
|
API_TIMEOUTS,
|
|
@@ -331,7 +335,7 @@ import {
|
|
|
331
335
|
selectStrategyByManifest,
|
|
332
336
|
toExpertTaskAnalysisResult,
|
|
333
337
|
withStep
|
|
334
|
-
} from "./chunk-
|
|
338
|
+
} from "./chunk-5CIP4EWI.js";
|
|
335
339
|
import {
|
|
336
340
|
ensureLearningDir,
|
|
337
341
|
getMetaOutcomesFile,
|
|
@@ -1102,6 +1106,10 @@ var NexusEnvSchema = z11.object({
|
|
|
1102
1106
|
// Paths, URLs, tokens and term lists: any non-empty string is legal, so
|
|
1103
1107
|
// z.string() is the accurate type rather than a permissive stand-in.
|
|
1104
1108
|
NEXUS_CODEPR_TOKEN: z11.string().optional(),
|
|
1109
|
+
// #4392 increment 3: deprecated aliases of NEXUS_OPENAI_COMPAT_URL / _KEY
|
|
1110
|
+
// for the single-model custom-openai path, dropped in the next major
|
|
1111
|
+
// (#6291). Kept registered so a correctly spelled alias is not reported as
|
|
1112
|
+
// a typo; their use is reported in `deprecatedVars` instead.
|
|
1105
1113
|
NEXUS_CUSTOM_API_BASE_URL: z11.string().optional(),
|
|
1106
1114
|
NEXUS_CUSTOM_API_KEY: z11.string().optional(),
|
|
1107
1115
|
NEXUS_CUSTOM_MODEL: z11.string().optional(),
|
|
@@ -1298,10 +1306,11 @@ function validateNexusEnv(logger61) {
|
|
|
1298
1306
|
}
|
|
1299
1307
|
}
|
|
1300
1308
|
const ineffectiveVars = findIneffectiveVars();
|
|
1309
|
+
const deprecatedVars = resolveGatewayEnv(process.env).deprecated;
|
|
1301
1310
|
if (logger61 !== void 0) {
|
|
1302
1311
|
logValidationWarnings(logger61, unknownVars, invalidVars, ineffectiveVars);
|
|
1303
1312
|
}
|
|
1304
|
-
return { unknownVars, invalidVars, ineffectiveVars };
|
|
1313
|
+
return { unknownVars, invalidVars, ineffectiveVars, deprecatedVars };
|
|
1305
1314
|
}
|
|
1306
1315
|
function getKnownNexusVarNames() {
|
|
1307
1316
|
return KNOWN_NAMES;
|
|
@@ -30088,7 +30097,7 @@ function execIdFields(executionId) {
|
|
|
30088
30097
|
async function populateUnifiedContextOnState(state, options) {
|
|
30089
30098
|
const taskCandidate = state["task"];
|
|
30090
30099
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
30091
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
30100
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-J24ZMIZG.js");
|
|
30092
30101
|
const category = inferTaskCategory2(taskCandidate);
|
|
30093
30102
|
const executionId = options?.executionId;
|
|
30094
30103
|
const execFields = execIdFields(executionId);
|
|
@@ -40927,6 +40936,11 @@ var IssueTriageInputSchema = z78.object({
|
|
|
40927
40936
|
issueUrl: z78.string().min(1).refine((v) => /^https?:\/\//i.test(v), "Only HTTP/HTTPS URLs are allowed").describe("GitHub issue URL (e.g., https://github.com/owner/repo/issues/123)"),
|
|
40928
40937
|
dryRun: z78.boolean().optional().default(true).describe("Read-only mode (default: true). When false, may apply labels.")
|
|
40929
40938
|
});
|
|
40939
|
+
function refusalFields(action) {
|
|
40940
|
+
const refusal = readActionRefusal(action);
|
|
40941
|
+
if (!action.policyApproved) return refusal;
|
|
40942
|
+
return action.corroborated ? {} : { missingCorroboration: refusal.missingCorroboration };
|
|
40943
|
+
}
|
|
40930
40944
|
function buildTriageResponse(value) {
|
|
40931
40945
|
return {
|
|
40932
40946
|
issueNumber: value.issueNumber,
|
|
@@ -40944,7 +40958,8 @@ function buildTriageResponse(value) {
|
|
|
40944
40958
|
type: a.type,
|
|
40945
40959
|
description: a.description,
|
|
40946
40960
|
policyApproved: a.policyApproved,
|
|
40947
|
-
corroborated: a.corroborated
|
|
40961
|
+
corroborated: a.corroborated,
|
|
40962
|
+
...refusalFields(a)
|
|
40948
40963
|
})),
|
|
40949
40964
|
durationMs: value.totalDurationMs
|
|
40950
40965
|
};
|
|
@@ -45471,7 +45486,7 @@ async function tryIssueTriage(task) {
|
|
|
45471
45486
|
try {
|
|
45472
45487
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45473
45488
|
if (issueMatch === null) return null;
|
|
45474
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45489
|
+
const { createIssueTriage } = await import("./issue-triage-M7XEMQZ7.js");
|
|
45475
45490
|
const triage = createIssueTriage();
|
|
45476
45491
|
const owner = issueMatch[1] ?? "";
|
|
45477
45492
|
const num2 = issueMatch[2] ?? "";
|
|
@@ -45499,7 +45514,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45499
45514
|
]);
|
|
45500
45515
|
async function classifyWithLLM(task) {
|
|
45501
45516
|
try {
|
|
45502
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45517
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-5MFBN4ZW.js");
|
|
45503
45518
|
const prompt = [
|
|
45504
45519
|
"Classify this task into exactly one pipeline template.",
|
|
45505
45520
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -45873,7 +45888,7 @@ function buildVotingInput(plan, config) {
|
|
|
45873
45888
|
}
|
|
45874
45889
|
async function executeSingleVote(plan, config, log) {
|
|
45875
45890
|
try {
|
|
45876
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45891
|
+
const { executeVoting } = await import("./consensus-vote-3ZA6SHMI.js");
|
|
45877
45892
|
const input = buildVotingInput(plan, config);
|
|
45878
45893
|
const result = await executeVoting(input, log);
|
|
45879
45894
|
return parseVotingResult(result);
|
|
@@ -46577,7 +46592,7 @@ var memoryInitPromise = null;
|
|
|
46577
46592
|
async function initPipelineMemory() {
|
|
46578
46593
|
if (cachedMemory !== null) return cachedMemory;
|
|
46579
46594
|
try {
|
|
46580
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
46595
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-G7VGV2SC.js");
|
|
46581
46596
|
const { getLearningDir } = await import("./learning-persistence-7BEPQEGN.js");
|
|
46582
46597
|
const mem = createSessionMemory2(getLearningDir());
|
|
46583
46598
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -46639,7 +46654,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
46639
46654
|
callRecord(routingMemoryCache);
|
|
46640
46655
|
return;
|
|
46641
46656
|
}
|
|
46642
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
46657
|
+
routingMemoryInitPromise ??= import("./routing-memory-35Z7UVYC.js").then(({ createRoutingMemory }) => {
|
|
46643
46658
|
routingMemoryCache ??= createRoutingMemory();
|
|
46644
46659
|
return routingMemoryCache;
|
|
46645
46660
|
}).catch((error) => {
|
|
@@ -46840,7 +46855,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
46840
46855
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
46841
46856
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
46842
46857
|
try {
|
|
46843
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46858
|
+
const { executeVoting } = await import("./consensus-vote-3ZA6SHMI.js");
|
|
46844
46859
|
const votingResult = await executeVoting(
|
|
46845
46860
|
{
|
|
46846
46861
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -47599,7 +47614,7 @@ ${text}` : "";
|
|
|
47599
47614
|
}
|
|
47600
47615
|
async function getWeatherContext() {
|
|
47601
47616
|
try {
|
|
47602
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47617
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-RMRBC6LH.js");
|
|
47603
47618
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47604
47619
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47605
47620
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47617,7 +47632,7 @@ ${lines}
|
|
|
47617
47632
|
}
|
|
47618
47633
|
async function getMemoryContext(task) {
|
|
47619
47634
|
try {
|
|
47620
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47635
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-G7VGV2SC.js");
|
|
47621
47636
|
const { getLearningDir } = await import("./learning-persistence-7BEPQEGN.js");
|
|
47622
47637
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47623
47638
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -48184,7 +48199,7 @@ async function searchCodebaseForTask(task) {
|
|
|
48184
48199
|
}
|
|
48185
48200
|
async function queryResearchRegistry(task) {
|
|
48186
48201
|
try {
|
|
48187
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
48202
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-FZLLZSJM.js");
|
|
48188
48203
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
48189
48204
|
if (topic === void 0) return null;
|
|
48190
48205
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -48255,7 +48270,7 @@ function createScanStageWrapper() {
|
|
|
48255
48270
|
try {
|
|
48256
48271
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
48257
48272
|
if (slug !== void 0) {
|
|
48258
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
48273
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-LXKTNEGB.js");
|
|
48259
48274
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
48260
48275
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
48261
48276
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51955,7 +51970,7 @@ var GitHubTaskTracker = class {
|
|
|
51955
51970
|
cachedProvider = null;
|
|
51956
51971
|
async getProvider() {
|
|
51957
51972
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51958
|
-
const { createScmProvider } = await import("./factory-
|
|
51973
|
+
const { createScmProvider } = await import("./factory-TXEYHBQV.js");
|
|
51959
51974
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51960
51975
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51961
51976
|
this.cachedProvider = result.value;
|
|
@@ -52927,7 +52942,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
52927
52942
|
}
|
|
52928
52943
|
}
|
|
52929
52944
|
async function defaultSources(includeOpenRouter) {
|
|
52930
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
52945
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-3ZA63QDH.js");
|
|
52931
52946
|
const adapters = createAllAdapters2();
|
|
52932
52947
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
52933
52948
|
}
|
|
@@ -57003,4 +57018,4 @@ export {
|
|
|
57003
57018
|
startPipelineEventBridge,
|
|
57004
57019
|
shutdownPipelineEventBridge
|
|
57005
57020
|
};
|
|
57006
|
-
//# sourceMappingURL=chunk-
|
|
57021
|
+
//# sourceMappingURL=chunk-3K7OHJLM.js.map
|