nexus-agents 11.4.2 → 11.4.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/{ast-rule-runner-UZS3CBHO.js → ast-rule-runner-UIBITXDJ.js} +5 -5
- package/dist/{child-mcp-config-353PE3ID.js → child-mcp-config-EMNCNHKM.js} +4 -4
- package/dist/{chunk-ME7LKSBK.js → chunk-4DHC2TDC.js} +5 -5
- package/dist/{chunk-J7UDMLPP.js → chunk-4IN3DHXY.js} +2 -2
- package/dist/{chunk-DS6X6MFM.js → chunk-5FYSIB3L.js} +2 -2
- package/dist/{chunk-NSELDEAX.js → chunk-5TW3NLWA.js} +2 -2
- package/dist/{chunk-MPYHD4EV.js → chunk-6MOCJOKU.js} +2 -2
- package/dist/{chunk-HQ2SMW4Y.js → chunk-773AZVR3.js} +3 -3
- package/dist/chunk-773AZVR3.js.map +1 -0
- package/dist/{chunk-YZXCE5BB.js → chunk-AH4Y7Z6S.js} +5 -5
- package/dist/{chunk-JDL5WJDM.js → chunk-BCC27PGX.js} +2 -2
- package/dist/{chunk-BPO2LQ67.js → chunk-BGELNT5F.js} +4 -4
- package/dist/{chunk-5CSM473L.js → chunk-DFRQP7AM.js} +3 -3
- package/dist/{chunk-UMLKKXBD.js → chunk-FGR6O454.js} +3 -3
- package/dist/{chunk-CVOE6Q56.js → chunk-FQFCLNYM.js} +2 -2
- package/dist/{chunk-EOIUMPFK.js → chunk-FYXIWH62.js} +2 -2
- package/dist/{chunk-7LW3PMQS.js → chunk-HNGZ5AMV.js} +62 -45
- package/dist/chunk-HNGZ5AMV.js.map +1 -0
- package/dist/{chunk-JQ4JJVH2.js → chunk-JKYOZIDM.js} +2 -2
- package/dist/{chunk-KSGJB4AF.js → chunk-KXD7ZJWM.js} +2 -2
- package/dist/{chunk-ZSPGTD4X.js → chunk-LEPAOFIF.js} +7 -7
- package/dist/{chunk-Y5YOOAXF.js → chunk-MYWMM23M.js} +2 -2
- package/dist/{chunk-KCESFTXP.js → chunk-N5DHPHPE.js} +2 -2
- package/dist/{chunk-PAYKBSXM.js → chunk-NNVA7BZX.js} +13 -13
- package/dist/{chunk-MOILTUAB.js → chunk-OUU6EOZE.js} +13 -13
- package/dist/{chunk-2PN4CAL2.js → chunk-QBP4VHJF.js} +4 -4
- package/dist/{chunk-WTZULRPO.js → chunk-V2DJZZKS.js} +2 -2
- package/dist/{chunk-6U3GRS6B.js → chunk-VA247HQO.js} +8 -8
- package/dist/{chunk-RYSLBVMQ.js → chunk-VGRTBVWC.js} +3 -3
- package/dist/{chunk-RGDZIWGS.js → chunk-VMGKPEVR.js} +6 -6
- package/dist/{chunk-VKK7ZGSY.js → chunk-W56VP6JH.js} +4 -4
- package/dist/{chunk-M7JXKUFB.js → chunk-WM2BE65D.js} +7 -7
- package/dist/chunk-WM2BE65D.js.map +1 -0
- package/dist/{chunk-54UNI6GV.js → chunk-WSLPF7BX.js} +4 -4
- package/dist/{chunk-CVT26QN5.js → chunk-XBXLA6DJ.js} +8 -8
- package/dist/{chunk-6RP53JXS.js → chunk-Y3A3VVGT.js} +4 -4
- package/dist/{chunk-2FY4QM42.js → chunk-YC6QAHC2.js} +3 -3
- package/dist/{chunk-P3ZQVHQA.js → chunk-ZDNXBCOP.js} +2 -2
- package/dist/{chunk-V552SY6A.js → chunk-ZPCTULSZ.js} +3 -3
- package/dist/{cli-circuit-breaker-4SM3OLUD.js → cli-circuit-breaker-MBEEEQUD.js} +5 -5
- package/dist/{cli-readiness-JJVQULXD.js → cli-readiness-NQKW6M27.js} +8 -8
- package/dist/{cli-server-gateway-TYVCEQBQ.js → cli-server-gateway-UQC4FDQH.js} +12 -12
- package/dist/cli.js +44 -44
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-56G2NJCH.js → composite-router-VDDTC263.js} +4 -4
- package/dist/{consensus-vote-CE7X66SQ.js → consensus-vote-3AJ54VX3.js} +16 -16
- package/dist/{context-retriever-AUOD3LIJ.js → context-retriever-BJIUY6QW.js} +10 -10
- package/dist/{doctor-deep-KMMW2MTJ.js → doctor-deep-LGOSW75C.js} +5 -5
- package/dist/{doctor-gateway-report-AOH2I4UJ.js → doctor-gateway-report-WCPLTO7X.js} +7 -7
- package/dist/{doctor-live-2IVCCWSN.js → doctor-live-DFGOZPZ2.js} +12 -12
- package/dist/{expert-bridge-PREN4ZL3.js → expert-bridge-GFO6QWXL.js} +6 -6
- package/dist/{factory-KPCJR5RB.js → factory-P45WM7Y5.js} +7 -7
- package/dist/{factory-3YILRPOA.js → factory-RZVZ6BLF.js} +11 -11
- package/dist/{improvement-review-MZMOSJM2.js → improvement-review-HTSRGEF5.js} +7 -7
- package/dist/index.d.ts +21 -0
- package/dist/index.js +30 -30
- package/dist/{init-opencode-V4G5WYRL.js → init-opencode-UTUYKUJ5.js} +6 -6
- package/dist/{issue-triage-WZZTRX4K.js → issue-triage-RUA2254S.js} +8 -8
- package/dist/{model-config-helpers-BC4JYVUU.js → model-config-helpers-ZIVSTS76.js} +3 -3
- package/dist/{openai-compat-adapter-7NPALXRG.js → openai-compat-adapter-BAHSQKIS.js} +6 -6
- package/dist/{pr-reviewer-helpers-O6URR7XX.js → pr-reviewer-helpers-WUK6PQLA.js} +6 -6
- package/dist/{registry-command-T3NTED3I.js → registry-command-BCNWYA6P.js} +2 -2
- package/dist/{repo-security-plan-BACXPNX3.js → repo-security-plan-OZHFTQB3.js} +4 -4
- package/dist/{research-helpers-synthesize-IWS2XZQN.js → research-helpers-synthesize-BY7RH4B3.js} +6 -6
- package/dist/{routing-memory-EO7VG7R3.js → routing-memory-TVITESTN.js} +4 -4
- package/dist/{session-memory-4GX3WTEB.js → session-memory-C4R2RA4D.js} +5 -5
- package/dist/{setup-config-JYHG3SGD.js → setup-config-Q6MJ7HWN.js} +5 -5
- package/dist/{setup-custom-api-GF66FJBO.js → setup-custom-api-GOM3HW5G.js} +5 -5
- package/dist/{setup-data-dir-ZJMIJWQ2.js → setup-data-dir-UOKXLPTP.js} +15 -15
- package/dist/{tool-memory-IS2S7SYW.js → tool-memory-PHPWXWS3.js} +7 -7
- package/dist/{unified-registry-IZ46TOAY.js → unified-registry-GXELRMCT.js} +11 -11
- package/dist/{weather-report-MLERG4SM.js → weather-report-OIWO4BCH.js} +4 -4
- package/package.json +1 -1
- package/dist/chunk-7LW3PMQS.js.map +0 -1
- package/dist/chunk-HQ2SMW4Y.js.map +0 -1
- package/dist/chunk-M7JXKUFB.js.map +0 -1
- /package/dist/{ast-rule-runner-UZS3CBHO.js.map → ast-rule-runner-UIBITXDJ.js.map} +0 -0
- /package/dist/{child-mcp-config-353PE3ID.js.map → child-mcp-config-EMNCNHKM.js.map} +0 -0
- /package/dist/{chunk-ME7LKSBK.js.map → chunk-4DHC2TDC.js.map} +0 -0
- /package/dist/{chunk-J7UDMLPP.js.map → chunk-4IN3DHXY.js.map} +0 -0
- /package/dist/{chunk-DS6X6MFM.js.map → chunk-5FYSIB3L.js.map} +0 -0
- /package/dist/{chunk-NSELDEAX.js.map → chunk-5TW3NLWA.js.map} +0 -0
- /package/dist/{chunk-MPYHD4EV.js.map → chunk-6MOCJOKU.js.map} +0 -0
- /package/dist/{chunk-YZXCE5BB.js.map → chunk-AH4Y7Z6S.js.map} +0 -0
- /package/dist/{chunk-JDL5WJDM.js.map → chunk-BCC27PGX.js.map} +0 -0
- /package/dist/{chunk-BPO2LQ67.js.map → chunk-BGELNT5F.js.map} +0 -0
- /package/dist/{chunk-5CSM473L.js.map → chunk-DFRQP7AM.js.map} +0 -0
- /package/dist/{chunk-UMLKKXBD.js.map → chunk-FGR6O454.js.map} +0 -0
- /package/dist/{chunk-CVOE6Q56.js.map → chunk-FQFCLNYM.js.map} +0 -0
- /package/dist/{chunk-EOIUMPFK.js.map → chunk-FYXIWH62.js.map} +0 -0
- /package/dist/{chunk-JQ4JJVH2.js.map → chunk-JKYOZIDM.js.map} +0 -0
- /package/dist/{chunk-KSGJB4AF.js.map → chunk-KXD7ZJWM.js.map} +0 -0
- /package/dist/{chunk-ZSPGTD4X.js.map → chunk-LEPAOFIF.js.map} +0 -0
- /package/dist/{chunk-Y5YOOAXF.js.map → chunk-MYWMM23M.js.map} +0 -0
- /package/dist/{chunk-KCESFTXP.js.map → chunk-N5DHPHPE.js.map} +0 -0
- /package/dist/{chunk-PAYKBSXM.js.map → chunk-NNVA7BZX.js.map} +0 -0
- /package/dist/{chunk-MOILTUAB.js.map → chunk-OUU6EOZE.js.map} +0 -0
- /package/dist/{chunk-2PN4CAL2.js.map → chunk-QBP4VHJF.js.map} +0 -0
- /package/dist/{chunk-WTZULRPO.js.map → chunk-V2DJZZKS.js.map} +0 -0
- /package/dist/{chunk-6U3GRS6B.js.map → chunk-VA247HQO.js.map} +0 -0
- /package/dist/{chunk-RYSLBVMQ.js.map → chunk-VGRTBVWC.js.map} +0 -0
- /package/dist/{chunk-RGDZIWGS.js.map → chunk-VMGKPEVR.js.map} +0 -0
- /package/dist/{chunk-VKK7ZGSY.js.map → chunk-W56VP6JH.js.map} +0 -0
- /package/dist/{chunk-54UNI6GV.js.map → chunk-WSLPF7BX.js.map} +0 -0
- /package/dist/{chunk-CVT26QN5.js.map → chunk-XBXLA6DJ.js.map} +0 -0
- /package/dist/{chunk-6RP53JXS.js.map → chunk-Y3A3VVGT.js.map} +0 -0
- /package/dist/{chunk-2FY4QM42.js.map → chunk-YC6QAHC2.js.map} +0 -0
- /package/dist/{chunk-P3ZQVHQA.js.map → chunk-ZDNXBCOP.js.map} +0 -0
- /package/dist/{chunk-V552SY6A.js.map → chunk-ZPCTULSZ.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-4SM3OLUD.js.map → cli-circuit-breaker-MBEEEQUD.js.map} +0 -0
- /package/dist/{cli-readiness-JJVQULXD.js.map → cli-readiness-NQKW6M27.js.map} +0 -0
- /package/dist/{cli-server-gateway-TYVCEQBQ.js.map → cli-server-gateway-UQC4FDQH.js.map} +0 -0
- /package/dist/{composite-router-56G2NJCH.js.map → composite-router-VDDTC263.js.map} +0 -0
- /package/dist/{consensus-vote-CE7X66SQ.js.map → consensus-vote-3AJ54VX3.js.map} +0 -0
- /package/dist/{context-retriever-AUOD3LIJ.js.map → context-retriever-BJIUY6QW.js.map} +0 -0
- /package/dist/{doctor-deep-KMMW2MTJ.js.map → doctor-deep-LGOSW75C.js.map} +0 -0
- /package/dist/{doctor-gateway-report-AOH2I4UJ.js.map → doctor-gateway-report-WCPLTO7X.js.map} +0 -0
- /package/dist/{doctor-live-2IVCCWSN.js.map → doctor-live-DFGOZPZ2.js.map} +0 -0
- /package/dist/{expert-bridge-PREN4ZL3.js.map → expert-bridge-GFO6QWXL.js.map} +0 -0
- /package/dist/{factory-3YILRPOA.js.map → factory-P45WM7Y5.js.map} +0 -0
- /package/dist/{factory-KPCJR5RB.js.map → factory-RZVZ6BLF.js.map} +0 -0
- /package/dist/{improvement-review-MZMOSJM2.js.map → improvement-review-HTSRGEF5.js.map} +0 -0
- /package/dist/{init-opencode-V4G5WYRL.js.map → init-opencode-UTUYKUJ5.js.map} +0 -0
- /package/dist/{issue-triage-WZZTRX4K.js.map → issue-triage-RUA2254S.js.map} +0 -0
- /package/dist/{model-config-helpers-BC4JYVUU.js.map → model-config-helpers-ZIVSTS76.js.map} +0 -0
- /package/dist/{openai-compat-adapter-7NPALXRG.js.map → openai-compat-adapter-BAHSQKIS.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-O6URR7XX.js.map → pr-reviewer-helpers-WUK6PQLA.js.map} +0 -0
- /package/dist/{registry-command-T3NTED3I.js.map → registry-command-BCNWYA6P.js.map} +0 -0
- /package/dist/{repo-security-plan-BACXPNX3.js.map → repo-security-plan-OZHFTQB3.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-IWS2XZQN.js.map → research-helpers-synthesize-BY7RH4B3.js.map} +0 -0
- /package/dist/{routing-memory-EO7VG7R3.js.map → routing-memory-TVITESTN.js.map} +0 -0
- /package/dist/{session-memory-4GX3WTEB.js.map → session-memory-C4R2RA4D.js.map} +0 -0
- /package/dist/{setup-config-JYHG3SGD.js.map → setup-config-Q6MJ7HWN.js.map} +0 -0
- /package/dist/{setup-custom-api-GF66FJBO.js.map → setup-custom-api-GOM3HW5G.js.map} +0 -0
- /package/dist/{setup-data-dir-ZJMIJWQ2.js.map → setup-data-dir-UOKXLPTP.js.map} +0 -0
- /package/dist/{tool-memory-IS2S7SYW.js.map → tool-memory-PHPWXWS3.js.map} +0 -0
- /package/dist/{unified-registry-IZ46TOAY.js.map → unified-registry-GXELRMCT.js.map} +0 -0
- /package/dist/{weather-report-MLERG4SM.js.map → weather-report-OIWO4BCH.js.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-BDP422B2.js";
|
|
6
6
|
import {
|
|
7
7
|
executeExpert
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XBXLA6DJ.js";
|
|
9
9
|
import {
|
|
10
10
|
JobStatusSchema,
|
|
11
11
|
RawFindingSchema,
|
|
@@ -58,11 +58,11 @@ import {
|
|
|
58
58
|
updateStage,
|
|
59
59
|
withFileLock,
|
|
60
60
|
writeJobCancelled
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-NNVA7BZX.js";
|
|
62
62
|
import {
|
|
63
63
|
normalizeTopicToCanonical,
|
|
64
64
|
synthesizeResearch
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-FGR6O454.js";
|
|
66
66
|
import {
|
|
67
67
|
IssueTriage,
|
|
68
68
|
createAuditTrail,
|
|
@@ -71,13 +71,13 @@ import {
|
|
|
71
71
|
createGraphAuditBridge,
|
|
72
72
|
emitPipelinePolicyEvent,
|
|
73
73
|
readActionRefusal
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-4DHC2TDC.js";
|
|
75
75
|
import {
|
|
76
76
|
sanitizeInput
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-773AZVR3.js";
|
|
78
78
|
import {
|
|
79
79
|
withPrerequisite
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-VGRTBVWC.js";
|
|
81
81
|
import {
|
|
82
82
|
NOOP_NOTIFIER,
|
|
83
83
|
RateLimiter,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
toolSuccess,
|
|
106
106
|
withProgressHeartbeat,
|
|
107
107
|
wrapToolWithTimeout
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-YC6QAHC2.js";
|
|
109
109
|
import {
|
|
110
110
|
generateSecurityPlan
|
|
111
111
|
} from "./chunk-6ZTMMN2N.js";
|
|
@@ -152,18 +152,18 @@ import {
|
|
|
152
152
|
parseRegistry,
|
|
153
153
|
sourceExistsInRegistry,
|
|
154
154
|
summarizeContextForPrompt
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-AH4Y7Z6S.js";
|
|
156
156
|
import {
|
|
157
157
|
REGISTRY_PATH,
|
|
158
158
|
getProjectRoot,
|
|
159
159
|
loadPapersRegistry,
|
|
160
160
|
loadTechniquesRegistry,
|
|
161
161
|
resolveRegistryRoot
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-BCC27PGX.js";
|
|
163
163
|
import {
|
|
164
164
|
getTokenEnvVars,
|
|
165
165
|
resolveToken
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-N5DHPHPE.js";
|
|
167
167
|
import {
|
|
168
168
|
DEFAULT_RELEVANCE_CONFIG,
|
|
169
169
|
MemoryImportance,
|
|
@@ -171,7 +171,7 @@ import {
|
|
|
171
171
|
calculateTextJaccardSimilarity,
|
|
172
172
|
getToolMemory,
|
|
173
173
|
memoryTrustTierTag
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-Y3A3VVGT.js";
|
|
175
175
|
import {
|
|
176
176
|
EXTERNAL_CONTENT_TRUST_TIER,
|
|
177
177
|
resolveContentTrustProvenance,
|
|
@@ -187,7 +187,7 @@ import {
|
|
|
187
187
|
import {
|
|
188
188
|
DEFAULT_TASK_TTL_MS,
|
|
189
189
|
clampTaskTtl
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-OUU6EOZE.js";
|
|
191
191
|
import {
|
|
192
192
|
allOf,
|
|
193
193
|
anyOf
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
VERSION,
|
|
197
197
|
createRequestContext,
|
|
198
198
|
measuredTrustTier
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-MYWMM23M.js";
|
|
200
200
|
import {
|
|
201
201
|
BWRAP_READ_ONLY_ARGS,
|
|
202
202
|
CliDetectionCache,
|
|
@@ -208,13 +208,13 @@ import {
|
|
|
208
208
|
getGlobalEventBus,
|
|
209
209
|
getGlobalRegistry,
|
|
210
210
|
isAbsentSeat
|
|
211
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-VA247HQO.js";
|
|
212
212
|
import {
|
|
213
213
|
ensureGatewayDiscovered,
|
|
214
214
|
getAvailabilityCache,
|
|
215
215
|
getCliForModelId,
|
|
216
216
|
resolveFallback
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-W56VP6JH.js";
|
|
218
218
|
import {
|
|
219
219
|
DEFAULTS
|
|
220
220
|
} from "./chunk-4S77S56F.js";
|
|
@@ -232,10 +232,10 @@ import {
|
|
|
232
232
|
parseGatewayExtraHeaders,
|
|
233
233
|
requireApiKey,
|
|
234
234
|
validateApiKeyPresence
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-WSLPF7BX.js";
|
|
236
236
|
import {
|
|
237
237
|
createSessionMemory
|
|
238
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-FQFCLNYM.js";
|
|
239
239
|
import {
|
|
240
240
|
TrustTierSchema
|
|
241
241
|
} from "./chunk-CJKHQ6MV.js";
|
|
@@ -249,14 +249,14 @@ import {
|
|
|
249
249
|
terminateProcessTree,
|
|
250
250
|
trackProcessTree,
|
|
251
251
|
withTimeout
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-VMGKPEVR.js";
|
|
253
253
|
import {
|
|
254
254
|
generateHyphenId,
|
|
255
255
|
generateUUID
|
|
256
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-KXD7ZJWM.js";
|
|
257
257
|
import {
|
|
258
258
|
getDefaultCliCircuitBreakerRegistry
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-ZDNXBCOP.js";
|
|
260
260
|
import {
|
|
261
261
|
sanitizeErrorDetails
|
|
262
262
|
} from "./chunk-7LKX7AUQ.js";
|
|
@@ -354,7 +354,7 @@ import {
|
|
|
354
354
|
toExpertTaskAnalysisResult,
|
|
355
355
|
truncateWithInfo,
|
|
356
356
|
withStep
|
|
357
|
-
} from "./chunk-
|
|
357
|
+
} from "./chunk-WM2BE65D.js";
|
|
358
358
|
import {
|
|
359
359
|
SUPPORTED_EXTENSIONS
|
|
360
360
|
} from "./chunk-XBEKMUTO.js";
|
|
@@ -369,13 +369,13 @@ import {
|
|
|
369
369
|
lookupInTreeCapability,
|
|
370
370
|
modelSupportsAll,
|
|
371
371
|
resolveOwnerCli
|
|
372
|
-
} from "./chunk-
|
|
372
|
+
} from "./chunk-5FYSIB3L.js";
|
|
373
373
|
import {
|
|
374
374
|
deriveEntry,
|
|
375
375
|
getDefaultRegistry,
|
|
376
376
|
resolveModelIdentity,
|
|
377
377
|
resolveModelIdentitySync
|
|
378
|
-
} from "./chunk-
|
|
378
|
+
} from "./chunk-5TW3NLWA.js";
|
|
379
379
|
import {
|
|
380
380
|
ensureLearningDir,
|
|
381
381
|
getMetaOutcomesFile,
|
|
@@ -11473,7 +11473,7 @@ var DEFAULT_MAX_OUTPUT_CHARS = 4e3;
|
|
|
11473
11473
|
var INJECTION_PATTERNS = [
|
|
11474
11474
|
/<\/?(?:system|human|assistant|instructions)(?:\s[^>]*)?>[\s\S]*?(?:<\/(?:system|human|assistant|instructions)>|$)/gi,
|
|
11475
11475
|
/<img\b[^>]*>/gi,
|
|
11476
|
-
|
|
11476
|
+
/\x3c!--[\s\S]*?-->/g
|
|
11477
11477
|
];
|
|
11478
11478
|
var PATH_TRAVERSAL_PATTERN = /(?:\.\.\/){2,}[^\s]*/g;
|
|
11479
11479
|
function sanitizeTaskContext(input) {
|
|
@@ -29770,7 +29770,7 @@ function execIdFields(executionId) {
|
|
|
29770
29770
|
async function populateUnifiedContextOnState(state, options) {
|
|
29771
29771
|
const taskCandidate = state["task"];
|
|
29772
29772
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
29773
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29773
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-BJIUY6QW.js");
|
|
29774
29774
|
const category = inferTaskCategory2(taskCandidate);
|
|
29775
29775
|
const executionId = options?.executionId;
|
|
29776
29776
|
const execFields = execIdFields(executionId);
|
|
@@ -34327,7 +34327,7 @@ var PRIOR_WAVE_HEADER = "## Prior Wave Context\n\nThe following results were pro
|
|
|
34327
34327
|
var INJECTION_PATTERNS2 = [
|
|
34328
34328
|
/<\/?(?:system|human|assistant|instructions)(?:\s[^>]*)?>[\s\S]*?(?:<\/(?:system|human|assistant|instructions)>|$)/gi,
|
|
34329
34329
|
/<img\b[^>]*>/gi,
|
|
34330
|
-
|
|
34330
|
+
/\x3c!--[\s\S]*?-->/g
|
|
34331
34331
|
];
|
|
34332
34332
|
function sanitizeWorkerOutput(input) {
|
|
34333
34333
|
if (input === "") return "";
|
|
@@ -46285,7 +46285,7 @@ async function tryIssueTriage(task) {
|
|
|
46285
46285
|
try {
|
|
46286
46286
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
46287
46287
|
if (issueMatch === null) return null;
|
|
46288
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
46288
|
+
const { createIssueTriage } = await import("./issue-triage-RUA2254S.js");
|
|
46289
46289
|
const triage = createIssueTriage();
|
|
46290
46290
|
const owner = issueMatch[1] ?? "";
|
|
46291
46291
|
const num2 = issueMatch[2] ?? "";
|
|
@@ -46313,7 +46313,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
46313
46313
|
]);
|
|
46314
46314
|
async function classifyWithLLM(task) {
|
|
46315
46315
|
try {
|
|
46316
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
46316
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-GFO6QWXL.js");
|
|
46317
46317
|
const prompt = [
|
|
46318
46318
|
"Classify this task into exactly one pipeline template.",
|
|
46319
46319
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -46682,7 +46682,7 @@ function buildVotingInput(plan, config) {
|
|
|
46682
46682
|
}
|
|
46683
46683
|
async function executeSingleVote(plan, config, log) {
|
|
46684
46684
|
try {
|
|
46685
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46685
|
+
const { executeVoting } = await import("./consensus-vote-3AJ54VX3.js");
|
|
46686
46686
|
const input = buildVotingInput(plan, config);
|
|
46687
46687
|
const result = await executeVoting(input, log);
|
|
46688
46688
|
return parseVotingResult(result);
|
|
@@ -47628,6 +47628,7 @@ async function withDevPipelineWorkspace(stages, run, install = installDependenci
|
|
|
47628
47628
|
const dependencies = await provisionDependencies(scratch.path, install, sandbox.wrapper);
|
|
47629
47629
|
const bound = stages.withWorkspace({
|
|
47630
47630
|
directory: join13(scratch.path, relative4(repoRoot, directory)),
|
|
47631
|
+
root: scratch.path,
|
|
47631
47632
|
baseline: { sha: baseSha, directory: repoRoot },
|
|
47632
47633
|
dependencies,
|
|
47633
47634
|
wrapper: sandbox.wrapper
|
|
@@ -48229,7 +48230,7 @@ var memoryInitPromise = null;
|
|
|
48229
48230
|
async function initPipelineMemory() {
|
|
48230
48231
|
if (cachedMemory !== null) return cachedMemory;
|
|
48231
48232
|
try {
|
|
48232
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
48233
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-C4R2RA4D.js");
|
|
48233
48234
|
const { getLearningDir } = await import("./learning-persistence-X24OOBYY.js");
|
|
48234
48235
|
const mem = createSessionMemory2(getLearningDir());
|
|
48235
48236
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -48291,7 +48292,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
48291
48292
|
callRecord(routingMemoryCache);
|
|
48292
48293
|
return;
|
|
48293
48294
|
}
|
|
48294
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
48295
|
+
routingMemoryInitPromise ??= import("./routing-memory-TVITESTN.js").then(({ createRoutingMemory }) => {
|
|
48295
48296
|
routingMemoryCache ??= createRoutingMemory();
|
|
48296
48297
|
return routingMemoryCache;
|
|
48297
48298
|
}).catch((error) => {
|
|
@@ -48525,7 +48526,7 @@ function createVoteStage({ config, startStage }) {
|
|
|
48525
48526
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
48526
48527
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
48527
48528
|
try {
|
|
48528
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
48529
|
+
const { executeVoting } = await import("./consensus-vote-3AJ54VX3.js");
|
|
48529
48530
|
const proposal = buildVoteProposal(plan, research);
|
|
48530
48531
|
const votingResult = await executeVoting(
|
|
48531
48532
|
{
|
|
@@ -49012,6 +49013,8 @@ var COMPLETE_SCAN_FLAGS = [
|
|
|
49012
49013
|
// Avoid mutable ignore files and hidden-ancestor skips in scratch worktrees.
|
|
49013
49014
|
// Unsupported scanner versions fail closed on this explicitly pinned flag.
|
|
49014
49015
|
"--x-ignore-semgrepignore-files",
|
|
49016
|
+
// Must exclude nothing the dev pipeline captures (PATCH_PATHS in
|
|
49017
|
+
// pipeline/dev-pipeline-workspace.ts), or a captured file ships unscanned.
|
|
49015
49018
|
"--exclude=node_modules",
|
|
49016
49019
|
"--exclude=.git"
|
|
49017
49020
|
];
|
|
@@ -49661,7 +49664,13 @@ function checkSecurityScan(targetDir, rulesets = ["p/default"], config = {}) {
|
|
|
49661
49664
|
durationMs: Date.now() - start
|
|
49662
49665
|
};
|
|
49663
49666
|
}
|
|
49664
|
-
const gateResult = await runSecurityPipeline(
|
|
49667
|
+
const gateResult = await runSecurityPipeline(
|
|
49668
|
+
result,
|
|
49669
|
+
config.dependencyTarget ?? targetDir,
|
|
49670
|
+
config,
|
|
49671
|
+
start,
|
|
49672
|
+
signal
|
|
49673
|
+
);
|
|
49665
49674
|
if (gateResult.verdict === "fail") return gateResult;
|
|
49666
49675
|
if (result.parseDiagnostics !== void 0 && result.parseDiagnostics.length > 0) {
|
|
49667
49676
|
return {
|
|
@@ -49677,7 +49686,7 @@ function checkSecurityScan(targetDir, rulesets = ["p/default"], config = {}) {
|
|
|
49677
49686
|
async function runBaselineGate(target, rulesets, config, signal) {
|
|
49678
49687
|
const start = Date.now();
|
|
49679
49688
|
const comparison = await compareSecurityBaseline(target, rulesets, config, signal);
|
|
49680
|
-
const osv = comparison.complete ? await runOsvCheck(target, config.enableOsv ?? true, signal) : OSV_EMPTY;
|
|
49689
|
+
const osv = comparison.complete ? await runOsvCheck(config.dependencyTarget ?? target, config.enableOsv ?? true, signal) : OSV_EMPTY;
|
|
49681
49690
|
throwIfAborted(signal, "Security baseline scan aborted");
|
|
49682
49691
|
const osvFailed = osv.vulnerabilities.some((v) => v.severity === "CRITICAL");
|
|
49683
49692
|
const details = comparison.complete ? `Base ${String(comparison.baseCount)}, worktree ${String(comparison.worktreeCount)} findings; ${String(comparison.introducedBlockingCount)} introduced blocking; ${buildScanSummary(comparison.worktreeCount ?? 0, comparison.introducedBlockingCount ?? 0, osv.vulnerabilities.length, osv)}` : `Security comparison incomplete: ${comparison.errors.join("; ")}`;
|
|
@@ -49961,7 +49970,7 @@ ${text}` : "";
|
|
|
49961
49970
|
}
|
|
49962
49971
|
async function getWeatherContext() {
|
|
49963
49972
|
try {
|
|
49964
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
49973
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-OIWO4BCH.js");
|
|
49965
49974
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
49966
49975
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
49967
49976
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -49979,7 +49988,7 @@ ${lines}
|
|
|
49979
49988
|
}
|
|
49980
49989
|
async function getMemoryContext(task) {
|
|
49981
49990
|
try {
|
|
49982
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
49991
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-C4R2RA4D.js");
|
|
49983
49992
|
const { getLearningDir } = await import("./learning-persistence-X24OOBYY.js");
|
|
49984
49993
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
49985
49994
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -50402,15 +50411,16 @@ function createQualityGateStage({
|
|
|
50402
50411
|
};
|
|
50403
50412
|
}
|
|
50404
50413
|
function createSecurityScanStage(deps) {
|
|
50405
|
-
const { config, startStage, workspaceDependencies, wrapper } = deps;
|
|
50414
|
+
const { config, startStage, workspaceDependencies, workspaceRoot, wrapper } = deps;
|
|
50406
50415
|
return async (signal) => {
|
|
50407
50416
|
startStage("security");
|
|
50408
50417
|
const start = getTimeProvider().now();
|
|
50409
|
-
const target = config.scanTarget ?? process.cwd();
|
|
50418
|
+
const target = workspaceRoot ?? config.scanTarget ?? process.cwd();
|
|
50410
50419
|
await postProgress(config, "Security", `Scanning ${target}...`);
|
|
50411
50420
|
const scratchBound = workspaceDependencies !== void 0;
|
|
50412
50421
|
const check = checkSecurityScan(target, void 0, {
|
|
50413
50422
|
baseline: config.securityBaseline,
|
|
50423
|
+
dependencyTarget: config.scanTarget,
|
|
50414
50424
|
env: scratchBound ? hermeticGitEnv() : void 0,
|
|
50415
50425
|
root: scratchBound ? target : void 0,
|
|
50416
50426
|
wrapper
|
|
@@ -50459,10 +50469,17 @@ function createAgentStages(config = {}) {
|
|
|
50459
50469
|
decompose: createDecomposeStage(deps),
|
|
50460
50470
|
...createExecutionStages(deps),
|
|
50461
50471
|
// #6794: execution closures share the same guard and scratch directory.
|
|
50462
|
-
withWorkspace: ({
|
|
50472
|
+
withWorkspace: ({
|
|
50473
|
+
directory,
|
|
50474
|
+
root,
|
|
50475
|
+
dependencies: workspaceDependencies,
|
|
50476
|
+
wrapper,
|
|
50477
|
+
baseline
|
|
50478
|
+
}) => {
|
|
50463
50479
|
const bound = {
|
|
50464
50480
|
...deps,
|
|
50465
50481
|
workspaceDependencies,
|
|
50482
|
+
workspaceRoot: root,
|
|
50466
50483
|
wrapper,
|
|
50467
50484
|
config: { ...config, scanTarget: directory, securityBaseline: baseline }
|
|
50468
50485
|
};
|
|
@@ -50693,7 +50710,7 @@ async function searchCodebaseForTask(task) {
|
|
|
50693
50710
|
}
|
|
50694
50711
|
async function queryResearchRegistry(task) {
|
|
50695
50712
|
try {
|
|
50696
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
50713
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-BY7RH4B3.js");
|
|
50697
50714
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
50698
50715
|
if (topic === void 0) return null;
|
|
50699
50716
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -50764,7 +50781,7 @@ function createScanStageWrapper() {
|
|
|
50764
50781
|
try {
|
|
50765
50782
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
50766
50783
|
if (slug !== void 0) {
|
|
50767
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
50784
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-OZHFTQB3.js");
|
|
50768
50785
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
50769
50786
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
50770
50787
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -54711,7 +54728,7 @@ var GitHubTaskTracker = class {
|
|
|
54711
54728
|
cachedProvider = null;
|
|
54712
54729
|
async getProvider() {
|
|
54713
54730
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
54714
|
-
const { createScmProvider } = await import("./factory-
|
|
54731
|
+
const { createScmProvider } = await import("./factory-P45WM7Y5.js");
|
|
54715
54732
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
54716
54733
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
54717
54734
|
this.cachedProvider = result.value;
|
|
@@ -55792,7 +55809,7 @@ function withCatalogueCaveat(report) {
|
|
|
55792
55809
|
var GATEWAY_TRANSPORT = "gateway";
|
|
55793
55810
|
var GATEWAY_API_ARM = "api:custom-openai";
|
|
55794
55811
|
async function gatewaySource(apiArm) {
|
|
55795
|
-
const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-
|
|
55812
|
+
const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-BAHSQKIS.js");
|
|
55796
55813
|
const config = readOpenAICompatEnv();
|
|
55797
55814
|
if (config !== null) {
|
|
55798
55815
|
return {
|
|
@@ -55811,7 +55828,7 @@ async function gatewaySource(apiArm) {
|
|
|
55811
55828
|
}
|
|
55812
55829
|
async function defaultSources(includeOpenRouter, adaptersFactory) {
|
|
55813
55830
|
const adapters = new Map(
|
|
55814
|
-
adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-
|
|
55831
|
+
adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-RZVZ6BLF.js")).createAllAdapters()
|
|
55815
55832
|
);
|
|
55816
55833
|
const apiArm = adapters.get(GATEWAY_API_ARM);
|
|
55817
55834
|
adapters.delete(GATEWAY_API_ARM);
|
|
@@ -59168,4 +59185,4 @@ export {
|
|
|
59168
59185
|
initializeSandbox,
|
|
59169
59186
|
getSandboxMode
|
|
59170
59187
|
};
|
|
59171
|
-
//# sourceMappingURL=chunk-
|
|
59188
|
+
//# sourceMappingURL=chunk-HNGZ5AMV.js.map
|