nexus-agents 8.44.3 → 8.46.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-EBTFBTKZ.js → ast-rule-runner-367HC4UY.js} +5 -5
- package/dist/{child-mcp-config-A3YWHFOY.js → child-mcp-config-2IJ3TXG5.js} +5 -5
- package/dist/{chunk-5XEPU5ZV.js → chunk-45V73GBS.js} +7 -7
- package/dist/{chunk-5OHQT3IJ.js → chunk-5NQPBDRX.js} +2 -2
- package/dist/{chunk-RNFQP4HB.js → chunk-63BQ4CVP.js} +2 -2
- package/dist/{chunk-4XESQ3X6.js → chunk-7BHQKEC2.js} +2 -2
- package/dist/{chunk-336MFOVV.js → chunk-A2CMDQFD.js} +2 -2
- package/dist/{chunk-HD6E32PW.js → chunk-AEIHBQCV.js} +10 -10
- package/dist/{chunk-UIVQ2B7J.js → chunk-AWZKJQHK.js} +3 -13
- package/dist/{chunk-UIVQ2B7J.js.map → chunk-AWZKJQHK.js.map} +1 -1
- package/dist/{chunk-HFZMMDZJ.js → chunk-BI6AHQKQ.js} +5 -5
- package/dist/{chunk-PWLSN7FQ.js → chunk-BLXOJN3P.js} +2 -2
- package/dist/{chunk-WD6CZRSW.js → chunk-CB75PV3Y.js} +4 -4
- package/dist/{chunk-KO3KUF5M.js → chunk-CI45MILR.js} +3 -3
- package/dist/{chunk-F5O7U6W5.js → chunk-DFNBVXOU.js} +2 -2
- package/dist/{chunk-WIJZ57H3.js → chunk-ENJLFHMA.js} +2 -2
- package/dist/{chunk-6GAUJAMO.js → chunk-FQHRDJZH.js} +3 -11
- package/dist/chunk-FQHRDJZH.js.map +1 -0
- package/dist/{chunk-O5TIFR2H.js → chunk-GEUZK7QR.js} +7 -7
- package/dist/{chunk-7PPGN5C5.js → chunk-H6JJL3PK.js} +2 -2
- package/dist/{chunk-WRGVTEKL.js → chunk-HI7VU3WE.js} +6 -6
- package/dist/{chunk-2QZVFXR7.js → chunk-HRJ4TWXZ.js} +3 -3
- package/dist/{chunk-YIKC3GNF.js → chunk-LEKS5OZR.js} +2 -2
- package/dist/{chunk-JVNJJ2VL.js → chunk-MBAREN43.js} +5 -78
- package/dist/chunk-MBAREN43.js.map +1 -0
- package/dist/{chunk-QN5ME2N2.js → chunk-NAC62SMO.js} +2 -2
- package/dist/{chunk-JH4L3SH4.js → chunk-NX4QAUSU.js} +2 -2
- package/dist/{chunk-BBH3SKC3.js → chunk-O335AIP4.js} +6 -6
- package/dist/{chunk-ZYJT5CMY.js → chunk-PUKFCRHE.js} +3 -3
- package/dist/{chunk-3HELETAQ.js → chunk-S72HKOOH.js} +2 -2
- package/dist/{chunk-AOQDLJHG.js → chunk-SECO5QH5.js} +2 -2
- package/dist/{chunk-RZF4GUMI.js → chunk-SMYK36R3.js} +6 -6
- package/dist/{chunk-ACDZL6ZM.js → chunk-T6KMATAB.js} +10 -10
- package/dist/{chunk-BPS4XQR2.js → chunk-T6KTCUCO.js} +4 -4
- package/dist/{chunk-NNL4EPHA.js → chunk-TTLQO25X.js} +2 -2
- package/dist/{chunk-OZXILWVN.js → chunk-UCIAHROV.js} +5 -5
- package/dist/{chunk-GFXWGCWS.js → chunk-URM6RDIR.js} +2 -2
- package/dist/{chunk-XJZF7HTC.js → chunk-USD7DWRG.js} +2 -2
- package/dist/{chunk-26E2ECC5.js → chunk-VWW2POE3.js} +4 -4
- package/dist/{chunk-T5GVEXSA.js → chunk-WLKZ6PNC.js} +2 -2
- package/dist/{chunk-KM4MVL7X.js → chunk-WR76BZG6.js} +11 -11
- package/dist/{chunk-7CPTOL6L.js → chunk-YEGJ5GWY.js} +47 -69
- package/dist/chunk-YEGJ5GWY.js.map +1 -0
- package/dist/{chunk-TIUE5KC4.js → chunk-YOCOC4DG.js} +2 -2
- package/dist/{cli-circuit-breaker-DNKQCKSD.js → cli-circuit-breaker-ROZJLYNB.js} +5 -5
- package/dist/cli.js +47 -47
- package/dist/{composite-router-CKTUXIDB.js → composite-router-2TDAOPFD.js} +4 -4
- package/dist/{consensus-vote-BIGG6IYH.js → consensus-vote-OJZZXQHS.js} +21 -21
- package/dist/{context-retriever-I4VJWGPK.js → context-retriever-E2Q7RLL5.js} +11 -11
- package/dist/doctor-deep-EN2IAJ6Q.js +13 -0
- package/dist/{doctor-live-LBTEIOOH.js → doctor-live-KIXE3UGI.js} +12 -12
- package/dist/{expert-bridge-6KCCGNC3.js → expert-bridge-ULRWQKFB.js} +6 -6
- package/dist/factory-GUD4XQK6.js +25 -0
- package/dist/factory-N3RPD7NP.js +15 -0
- package/dist/{improvement-review-5VMK5YJK.js → improvement-review-6QP66XN2.js} +8 -8
- package/dist/index.d.ts +16 -1
- package/dist/index.js +35 -35
- package/dist/{init-opencode-2MM576TQ.js → init-opencode-YIRTOTBD.js} +8 -8
- package/dist/issue-triage-SUTFBOAF.js +17 -0
- package/dist/{learning-persistence-TX2WE7Y7.js → learning-persistence-P4WE4M27.js} +3 -3
- package/dist/{pr-reviewer-helpers-G5MW4CBB.js → pr-reviewer-helpers-Q6XF2YBR.js} +6 -6
- package/dist/{registry-command-E4FZ56OB.js → registry-command-EZVZ52OP.js} +4 -4
- package/dist/{repo-security-plan-3FGTIZY4.js → repo-security-plan-54YQQ7BM.js} +5 -5
- package/dist/research-helpers-synthesize-SWBJP7GK.js +14 -0
- package/dist/{routing-memory-CRDEOBRO.js → routing-memory-ZES5DGQA.js} +4 -4
- package/dist/{session-memory-XPBKOHCX.js → session-memory-ZDI6VNTB.js} +5 -5
- package/dist/setup-config-6ZAUJKVT.js +11 -0
- package/dist/{setup-custom-api-GWZIDL3X.js → setup-custom-api-5ZIZUPJO.js} +6 -6
- package/dist/setup-data-dir-IVU6HU3M.js +29 -0
- package/dist/{tool-memory-EUBYXYAI.js → tool-memory-WZKIW5HV.js} +8 -8
- package/dist/{tool-memory-registry-adapters-LU44GFKH.js → tool-memory-registry-adapters-GZGXUBEN.js} +3 -3
- package/dist/unified-registry-PN2VQQJK.js +26 -0
- package/dist/{weather-report-Q4EJXE5F.js → weather-report-BBEUSTYU.js} +4 -4
- package/package.json +9 -9
- package/dist/chunk-6GAUJAMO.js.map +0 -1
- package/dist/chunk-7CPTOL6L.js.map +0 -1
- package/dist/chunk-JVNJJ2VL.js.map +0 -1
- package/dist/doctor-deep-JOFIWKO5.js +0 -13
- package/dist/factory-HJPJTSHY.js +0 -15
- package/dist/factory-YIFRH73W.js +0 -25
- package/dist/issue-triage-D43CVBDL.js +0 -17
- package/dist/research-helpers-synthesize-LRYFH55A.js +0 -14
- package/dist/setup-config-7G2UV4FN.js +0 -11
- package/dist/setup-data-dir-FWBXXCHF.js +0 -29
- package/dist/unified-registry-H6DRGQ37.js +0 -26
- /package/dist/{ast-rule-runner-EBTFBTKZ.js.map → ast-rule-runner-367HC4UY.js.map} +0 -0
- /package/dist/{child-mcp-config-A3YWHFOY.js.map → child-mcp-config-2IJ3TXG5.js.map} +0 -0
- /package/dist/{chunk-5XEPU5ZV.js.map → chunk-45V73GBS.js.map} +0 -0
- /package/dist/{chunk-5OHQT3IJ.js.map → chunk-5NQPBDRX.js.map} +0 -0
- /package/dist/{chunk-RNFQP4HB.js.map → chunk-63BQ4CVP.js.map} +0 -0
- /package/dist/{chunk-4XESQ3X6.js.map → chunk-7BHQKEC2.js.map} +0 -0
- /package/dist/{chunk-336MFOVV.js.map → chunk-A2CMDQFD.js.map} +0 -0
- /package/dist/{chunk-HD6E32PW.js.map → chunk-AEIHBQCV.js.map} +0 -0
- /package/dist/{chunk-HFZMMDZJ.js.map → chunk-BI6AHQKQ.js.map} +0 -0
- /package/dist/{chunk-PWLSN7FQ.js.map → chunk-BLXOJN3P.js.map} +0 -0
- /package/dist/{chunk-WD6CZRSW.js.map → chunk-CB75PV3Y.js.map} +0 -0
- /package/dist/{chunk-KO3KUF5M.js.map → chunk-CI45MILR.js.map} +0 -0
- /package/dist/{chunk-F5O7U6W5.js.map → chunk-DFNBVXOU.js.map} +0 -0
- /package/dist/{chunk-WIJZ57H3.js.map → chunk-ENJLFHMA.js.map} +0 -0
- /package/dist/{chunk-O5TIFR2H.js.map → chunk-GEUZK7QR.js.map} +0 -0
- /package/dist/{chunk-7PPGN5C5.js.map → chunk-H6JJL3PK.js.map} +0 -0
- /package/dist/{chunk-WRGVTEKL.js.map → chunk-HI7VU3WE.js.map} +0 -0
- /package/dist/{chunk-2QZVFXR7.js.map → chunk-HRJ4TWXZ.js.map} +0 -0
- /package/dist/{chunk-YIKC3GNF.js.map → chunk-LEKS5OZR.js.map} +0 -0
- /package/dist/{chunk-QN5ME2N2.js.map → chunk-NAC62SMO.js.map} +0 -0
- /package/dist/{chunk-JH4L3SH4.js.map → chunk-NX4QAUSU.js.map} +0 -0
- /package/dist/{chunk-BBH3SKC3.js.map → chunk-O335AIP4.js.map} +0 -0
- /package/dist/{chunk-ZYJT5CMY.js.map → chunk-PUKFCRHE.js.map} +0 -0
- /package/dist/{chunk-3HELETAQ.js.map → chunk-S72HKOOH.js.map} +0 -0
- /package/dist/{chunk-AOQDLJHG.js.map → chunk-SECO5QH5.js.map} +0 -0
- /package/dist/{chunk-RZF4GUMI.js.map → chunk-SMYK36R3.js.map} +0 -0
- /package/dist/{chunk-ACDZL6ZM.js.map → chunk-T6KMATAB.js.map} +0 -0
- /package/dist/{chunk-BPS4XQR2.js.map → chunk-T6KTCUCO.js.map} +0 -0
- /package/dist/{chunk-NNL4EPHA.js.map → chunk-TTLQO25X.js.map} +0 -0
- /package/dist/{chunk-OZXILWVN.js.map → chunk-UCIAHROV.js.map} +0 -0
- /package/dist/{chunk-GFXWGCWS.js.map → chunk-URM6RDIR.js.map} +0 -0
- /package/dist/{chunk-XJZF7HTC.js.map → chunk-USD7DWRG.js.map} +0 -0
- /package/dist/{chunk-26E2ECC5.js.map → chunk-VWW2POE3.js.map} +0 -0
- /package/dist/{chunk-T5GVEXSA.js.map → chunk-WLKZ6PNC.js.map} +0 -0
- /package/dist/{chunk-KM4MVL7X.js.map → chunk-WR76BZG6.js.map} +0 -0
- /package/dist/{chunk-TIUE5KC4.js.map → chunk-YOCOC4DG.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-DNKQCKSD.js.map → cli-circuit-breaker-ROZJLYNB.js.map} +0 -0
- /package/dist/{composite-router-CKTUXIDB.js.map → composite-router-2TDAOPFD.js.map} +0 -0
- /package/dist/{consensus-vote-BIGG6IYH.js.map → consensus-vote-OJZZXQHS.js.map} +0 -0
- /package/dist/{context-retriever-I4VJWGPK.js.map → context-retriever-E2Q7RLL5.js.map} +0 -0
- /package/dist/{doctor-deep-JOFIWKO5.js.map → doctor-deep-EN2IAJ6Q.js.map} +0 -0
- /package/dist/{doctor-live-LBTEIOOH.js.map → doctor-live-KIXE3UGI.js.map} +0 -0
- /package/dist/{expert-bridge-6KCCGNC3.js.map → expert-bridge-ULRWQKFB.js.map} +0 -0
- /package/dist/{factory-HJPJTSHY.js.map → factory-GUD4XQK6.js.map} +0 -0
- /package/dist/{factory-YIFRH73W.js.map → factory-N3RPD7NP.js.map} +0 -0
- /package/dist/{improvement-review-5VMK5YJK.js.map → improvement-review-6QP66XN2.js.map} +0 -0
- /package/dist/{init-opencode-2MM576TQ.js.map → init-opencode-YIRTOTBD.js.map} +0 -0
- /package/dist/{issue-triage-D43CVBDL.js.map → issue-triage-SUTFBOAF.js.map} +0 -0
- /package/dist/{learning-persistence-TX2WE7Y7.js.map → learning-persistence-P4WE4M27.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-G5MW4CBB.js.map → pr-reviewer-helpers-Q6XF2YBR.js.map} +0 -0
- /package/dist/{registry-command-E4FZ56OB.js.map → registry-command-EZVZ52OP.js.map} +0 -0
- /package/dist/{repo-security-plan-3FGTIZY4.js.map → repo-security-plan-54YQQ7BM.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-LRYFH55A.js.map → research-helpers-synthesize-SWBJP7GK.js.map} +0 -0
- /package/dist/{routing-memory-CRDEOBRO.js.map → routing-memory-ZES5DGQA.js.map} +0 -0
- /package/dist/{session-memory-XPBKOHCX.js.map → session-memory-ZDI6VNTB.js.map} +0 -0
- /package/dist/{setup-config-7G2UV4FN.js.map → setup-config-6ZAUJKVT.js.map} +0 -0
- /package/dist/{setup-custom-api-GWZIDL3X.js.map → setup-custom-api-5ZIZUPJO.js.map} +0 -0
- /package/dist/{setup-data-dir-FWBXXCHF.js.map → setup-data-dir-IVU6HU3M.js.map} +0 -0
- /package/dist/{tool-memory-EUBYXYAI.js.map → tool-memory-WZKIW5HV.js.map} +0 -0
- /package/dist/{tool-memory-registry-adapters-LU44GFKH.js.map → tool-memory-registry-adapters-GZGXUBEN.js.map} +0 -0
- /package/dist/{unified-registry-H6DRGQ37.js.map → unified-registry-PN2VQQJK.js.map} +0 -0
- /package/dist/{weather-report-Q4EJXE5F.js.map → weather-report-BBEUSTYU.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DFNBVXOU.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-AEIHBQCV.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-GEUZK7QR.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-WR76BZG6.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-AWZKJQHK.js";
|
|
67
67
|
import {
|
|
68
68
|
IssueTriage,
|
|
69
69
|
createDurableAuditSink,
|
|
70
70
|
createDurableAuditTrail
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-O335AIP4.js";
|
|
72
72
|
import {
|
|
73
73
|
resolveEnvMode,
|
|
74
74
|
sanitizeInput
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-YOCOC4DG.js";
|
|
76
76
|
import {
|
|
77
77
|
withPrerequisite
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-T6KTCUCO.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-BI6AHQKQ.js";
|
|
104
104
|
import {
|
|
105
105
|
createAuditTrail,
|
|
106
106
|
createGraphAuditBridge,
|
|
107
107
|
emitPipelinePolicyEvent
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-NAC62SMO.js";
|
|
109
109
|
import {
|
|
110
110
|
EventTopics,
|
|
111
111
|
createEvent,
|
|
112
112
|
getGlobalEventBus,
|
|
113
113
|
getGlobalRegistry
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-VWW2POE3.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-45V73GBS.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-CI45MILR.js";
|
|
156
156
|
import {
|
|
157
157
|
getTokenEnvVars,
|
|
158
158
|
resolveToken
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-NX4QAUSU.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-HI7VU3WE.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-URM6RDIR.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-T6KMATAB.js";
|
|
192
192
|
import {
|
|
193
193
|
BaseAdapter,
|
|
194
194
|
createStream,
|
|
195
195
|
requireApiKey,
|
|
196
196
|
validateApiKeyPresence
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-A2CMDQFD.js";
|
|
198
198
|
import {
|
|
199
199
|
DEFAULTS
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-FQHRDJZH.js";
|
|
201
201
|
import {
|
|
202
202
|
getAvailabilityCache,
|
|
203
203
|
getCliForModelId,
|
|
204
204
|
resolveFallback
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-SECO5QH5.js";
|
|
206
206
|
import {
|
|
207
207
|
generateHyphenId,
|
|
208
208
|
generateUUID
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-7BHQKEC2.js";
|
|
210
210
|
import {
|
|
211
211
|
AGENT_ROUTER_TIMEOUTS,
|
|
212
212
|
API_TIMEOUTS,
|
|
@@ -318,19 +318,19 @@ import {
|
|
|
318
318
|
selectStrategyByManifest,
|
|
319
319
|
toExpertTaskAnalysisResult,
|
|
320
320
|
withStep
|
|
321
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-SMYK36R3.js";
|
|
322
322
|
import {
|
|
323
323
|
ensureLearningDir,
|
|
324
324
|
getMetaOutcomesFile,
|
|
325
325
|
isPersistenceEnabled
|
|
326
|
-
} from "./chunk-
|
|
326
|
+
} from "./chunk-S72HKOOH.js";
|
|
327
327
|
import {
|
|
328
328
|
findRepoRoot,
|
|
329
329
|
getNexusDataDir,
|
|
330
330
|
nexusDataPath,
|
|
331
331
|
nexusDataPathEnsure,
|
|
332
332
|
parseBoolEnv
|
|
333
|
-
} from "./chunk-
|
|
333
|
+
} from "./chunk-MBAREN43.js";
|
|
334
334
|
|
|
335
335
|
// src/config/schemas-core.ts
|
|
336
336
|
import { z } from "zod";
|
|
@@ -974,27 +974,15 @@ var NexusEnvSchema = z11.object({
|
|
|
974
974
|
NEXUS_TIMEOUT_CLASS_NETWORK_FETCH_MS: positiveIntStr.optional(),
|
|
975
975
|
NEXUS_TIMEOUT_CLASS_ASYNC_JOB_BODY_MS: positiveIntStr.optional(),
|
|
976
976
|
// --- Retry ---
|
|
977
|
-
NEXUS_RETRY_MAX_RETRIES: positiveIntStr.optional(),
|
|
978
|
-
NEXUS_RETRY_BASE_DELAY: positiveIntStr.optional(),
|
|
979
|
-
NEXUS_RETRY_MAX_DELAY: positiveIntStr.optional(),
|
|
980
|
-
NEXUS_RETRY_JITTER: floatStr.optional(),
|
|
981
977
|
// --- Rate Limit ---
|
|
982
978
|
// Read via parseBoolEnv (config/defaults-env.ts), so `1`/`0` work at runtime;
|
|
983
979
|
// the strict `boolStr` shape reported them invalid. Caught by the #5155 ratchet.
|
|
984
|
-
NEXUS_RATE_LIMIT_ENABLED: boolLooseStr.optional(),
|
|
985
|
-
NEXUS_RATE_LIMIT_RPM: positiveIntStr.optional(),
|
|
986
|
-
NEXUS_RATE_LIMIT_MAX_CONCURRENT: positiveIntStr.optional(),
|
|
987
|
-
NEXUS_RATE_LIMIT_CAPACITY: positiveIntStr.optional(),
|
|
988
|
-
NEXUS_RATE_LIMIT_REFILL_RATE: positiveIntStr.optional(),
|
|
989
|
-
NEXUS_RATE_LIMIT_REFILL_INTERVAL: positiveIntStr.optional(),
|
|
990
980
|
// --- Workers & Concurrency ---
|
|
991
981
|
NEXUS_MAX_CONCURRENT_EXPERTS: positiveIntStr.optional(),
|
|
992
982
|
// NEXUS_WORKERS_* + NEXUS_WORKFLOW_MAX_PARALLEL + NEXUS_TEST_PARALLELISM +
|
|
993
983
|
// NEXUS_EVALUATION_MAX_WORKERS + NEXUS_SWARM_OBSERVER_MAX_EVENTS removed in
|
|
994
984
|
// #2977 — these had zero production consumers (silent no-ops).
|
|
995
985
|
// --- Circuit Breaker ---
|
|
996
|
-
NEXUS_CIRCUIT_BREAKER_THRESHOLD: positiveIntStr.optional(),
|
|
997
|
-
NEXUS_CIRCUIT_BREAKER_RESET_TIMEOUT: positiveIntStr.optional(),
|
|
998
986
|
// --- V2 Pipeline ---
|
|
999
987
|
NEXUS_V2_MODE: z11.enum(["off", "partial", "full"]).optional(),
|
|
1000
988
|
NEXUS_V2_DELEGATE: boolStr.optional(),
|
|
@@ -1423,20 +1411,8 @@ var ENV_VAR_MAP = {
|
|
|
1423
1411
|
"TIMEOUT_DEFAULTS.cliMs": "NEXUS_TIMEOUT_CLI",
|
|
1424
1412
|
"TIMEOUT_DEFAULTS.apiMs": "NEXUS_TIMEOUT_API",
|
|
1425
1413
|
"TIMEOUT_DEFAULTS.workflowMs": "NEXUS_TIMEOUT_WORKFLOW",
|
|
1426
|
-
"TIMEOUT_DEFAULTS.mcpMs": "NEXUS_TIMEOUT_MCP"
|
|
1427
|
-
"RATE_LIMIT_DEFAULTS.requestsPerMinute": "NEXUS_RATE_LIMIT_RPM",
|
|
1428
|
-
"RATE_LIMIT_DEFAULTS.enabled": "NEXUS_RATE_LIMIT_ENABLED",
|
|
1429
|
-
"RATE_LIMIT_DEFAULTS.maxConcurrent": "NEXUS_RATE_LIMIT_MAX_CONCURRENT",
|
|
1430
|
-
"RATE_LIMIT_DEFAULTS.capacity": "NEXUS_RATE_LIMIT_CAPACITY",
|
|
1431
|
-
"RATE_LIMIT_DEFAULTS.refillRate": "NEXUS_RATE_LIMIT_REFILL_RATE",
|
|
1432
|
-
"RATE_LIMIT_DEFAULTS.refillIntervalMs": "NEXUS_RATE_LIMIT_REFILL_INTERVAL",
|
|
1433
|
-
"RETRY_DEFAULTS.maxRetries": "NEXUS_RETRY_MAX_RETRIES",
|
|
1434
|
-
"RETRY_DEFAULTS.baseDelayMs": "NEXUS_RETRY_BASE_DELAY",
|
|
1435
|
-
"RETRY_DEFAULTS.maxDelayMs": "NEXUS_RETRY_MAX_DELAY",
|
|
1436
|
-
"RETRY_DEFAULTS.jitterFactor": "NEXUS_RETRY_JITTER",
|
|
1414
|
+
"TIMEOUT_DEFAULTS.mcpMs": "NEXUS_TIMEOUT_MCP"
|
|
1437
1415
|
// WORKER_DEFAULTS.* mappings removed in #2977 — zero production consumers.
|
|
1438
|
-
"CIRCUIT_BREAKER_DEFAULTS.failureThreshold": "NEXUS_CIRCUIT_BREAKER_THRESHOLD",
|
|
1439
|
-
"CIRCUIT_BREAKER_DEFAULTS.resetTimeoutMs": "NEXUS_CIRCUIT_BREAKER_RESET_TIMEOUT"
|
|
1440
1416
|
};
|
|
1441
1417
|
function parseEnvValue(envValue, defaultValue) {
|
|
1442
1418
|
if (typeof defaultValue === "number") {
|
|
@@ -30015,7 +29991,7 @@ function execIdFields(executionId) {
|
|
|
30015
29991
|
async function populateUnifiedContextOnState(state, options) {
|
|
30016
29992
|
const taskCandidate = state["task"];
|
|
30017
29993
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
30018
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
29994
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-E2Q7RLL5.js");
|
|
30019
29995
|
const category = inferTaskCategory2(taskCandidate);
|
|
30020
29996
|
const executionId = options?.executionId;
|
|
30021
29997
|
const execFields = execIdFields(executionId);
|
|
@@ -40260,8 +40236,8 @@ var ResearchDiscoverInputSchema = z74.object({
|
|
|
40260
40236
|
});
|
|
40261
40237
|
async function getExistingArxivIds() {
|
|
40262
40238
|
const result = await loadPapersRegistry();
|
|
40263
|
-
if (!result.ok) return /* @__PURE__ */ new Set();
|
|
40264
|
-
return new Set(Object.keys(result.value.papers));
|
|
40239
|
+
if (!result.ok) return { ids: /* @__PURE__ */ new Set(), consulted: false };
|
|
40240
|
+
return { ids: new Set(Object.keys(result.value.papers)), consulted: true };
|
|
40265
40241
|
}
|
|
40266
40242
|
function extractArxivId(url) {
|
|
40267
40243
|
return url.match(/(\d{4}\.\d{4,5})/)?.[1] ?? "";
|
|
@@ -40401,13 +40377,13 @@ async function executeDiscovery(rawInput, logger55) {
|
|
|
40401
40377
|
...rawInput,
|
|
40402
40378
|
topic: normalizeTopicToCanonical(rawInput.topic)
|
|
40403
40379
|
};
|
|
40404
|
-
const
|
|
40380
|
+
const registry = await getExistingArxivIds();
|
|
40405
40381
|
const {
|
|
40406
40382
|
sources: sourcesToQuery,
|
|
40407
40383
|
failedSources,
|
|
40408
40384
|
items: allItems
|
|
40409
40385
|
} = await queryAllSources(input, logger55);
|
|
40410
|
-
markExistingItems(allItems,
|
|
40386
|
+
markExistingItems(allItems, registry.ids);
|
|
40411
40387
|
const totalFound = allItems.length;
|
|
40412
40388
|
const inRegistry = allItems.filter((i) => i.alreadyInRegistry).length;
|
|
40413
40389
|
const threshold = input.relevanceThreshold;
|
|
@@ -40431,6 +40407,7 @@ async function executeDiscovery(rawInput, logger55) {
|
|
|
40431
40407
|
items: relevantItems,
|
|
40432
40408
|
totalFound,
|
|
40433
40409
|
alreadyInRegistry: inRegistry,
|
|
40410
|
+
registryConsulted: registry.consulted,
|
|
40434
40411
|
newItems: relevantItems.length,
|
|
40435
40412
|
filteredByRelevance: filteredOut
|
|
40436
40413
|
};
|
|
@@ -40575,6 +40552,7 @@ var RESEARCH_DISCOVER_OUTPUT_SCHEMA = {
|
|
|
40575
40552
|
items: z74.array(z74.unknown()).optional(),
|
|
40576
40553
|
totalFound: z74.number().optional(),
|
|
40577
40554
|
alreadyInRegistry: z74.number().optional(),
|
|
40555
|
+
registryConsulted: z74.boolean().optional(),
|
|
40578
40556
|
newItems: z74.number().optional(),
|
|
40579
40557
|
filteredByRelevance: z74.number().optional()
|
|
40580
40558
|
};
|
|
@@ -45618,7 +45596,7 @@ async function tryIssueTriage(task) {
|
|
|
45618
45596
|
try {
|
|
45619
45597
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45620
45598
|
if (issueMatch === null) return null;
|
|
45621
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45599
|
+
const { createIssueTriage } = await import("./issue-triage-SUTFBOAF.js");
|
|
45622
45600
|
const triage = createIssueTriage();
|
|
45623
45601
|
const owner = issueMatch[1] ?? "";
|
|
45624
45602
|
const num = issueMatch[2] ?? "";
|
|
@@ -45646,7 +45624,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45646
45624
|
]);
|
|
45647
45625
|
async function classifyWithLLM(task) {
|
|
45648
45626
|
try {
|
|
45649
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45627
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-ULRWQKFB.js");
|
|
45650
45628
|
const prompt = [
|
|
45651
45629
|
"Classify this task into exactly one pipeline template.",
|
|
45652
45630
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -46020,7 +45998,7 @@ function buildVotingInput(plan, config) {
|
|
|
46020
45998
|
}
|
|
46021
45999
|
async function executeSingleVote(plan, config, log) {
|
|
46022
46000
|
try {
|
|
46023
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46001
|
+
const { executeVoting } = await import("./consensus-vote-OJZZXQHS.js");
|
|
46024
46002
|
const input = buildVotingInput(plan, config);
|
|
46025
46003
|
const result = await executeVoting(input, log);
|
|
46026
46004
|
return parseVotingResult(result);
|
|
@@ -47582,8 +47560,8 @@ var memoryInitPromise = null;
|
|
|
47582
47560
|
async function initPipelineMemory() {
|
|
47583
47561
|
if (cachedMemory !== null) return cachedMemory;
|
|
47584
47562
|
try {
|
|
47585
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47586
|
-
const { getLearningDir } = await import("./learning-persistence-
|
|
47563
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ZDI6VNTB.js");
|
|
47564
|
+
const { getLearningDir } = await import("./learning-persistence-P4WE4M27.js");
|
|
47587
47565
|
const mem = createSessionMemory2(getLearningDir());
|
|
47588
47566
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
47589
47567
|
cachedMemory = {
|
|
@@ -47644,7 +47622,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47644
47622
|
callRecord(routingMemoryCache);
|
|
47645
47623
|
return;
|
|
47646
47624
|
}
|
|
47647
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47625
|
+
routingMemoryInitPromise ??= import("./routing-memory-ZES5DGQA.js").then(({ createRoutingMemory }) => {
|
|
47648
47626
|
routingMemoryCache ??= createRoutingMemory();
|
|
47649
47627
|
return routingMemoryCache;
|
|
47650
47628
|
}).catch((error) => {
|
|
@@ -47678,7 +47656,7 @@ ${text}` : "";
|
|
|
47678
47656
|
}
|
|
47679
47657
|
async function getWeatherContext() {
|
|
47680
47658
|
try {
|
|
47681
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47659
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-BBEUSTYU.js");
|
|
47682
47660
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47683
47661
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47684
47662
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47696,8 +47674,8 @@ ${lines}
|
|
|
47696
47674
|
}
|
|
47697
47675
|
async function getMemoryContext(task) {
|
|
47698
47676
|
try {
|
|
47699
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47700
|
-
const { getLearningDir } = await import("./learning-persistence-
|
|
47677
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ZDI6VNTB.js");
|
|
47678
|
+
const { getLearningDir } = await import("./learning-persistence-P4WE4M27.js");
|
|
47701
47679
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47702
47680
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
47703
47681
|
if (learnings.length === 0) return "";
|
|
@@ -47815,7 +47793,7 @@ ${contextBlock}`;
|
|
|
47815
47793
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47816
47794
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47817
47795
|
try {
|
|
47818
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47796
|
+
const { executeVoting } = await import("./consensus-vote-OJZZXQHS.js");
|
|
47819
47797
|
const votingResult = await executeVoting(
|
|
47820
47798
|
{
|
|
47821
47799
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -48246,7 +48224,7 @@ async function searchCodebaseForTask(task) {
|
|
|
48246
48224
|
}
|
|
48247
48225
|
async function queryResearchRegistry(task) {
|
|
48248
48226
|
try {
|
|
48249
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
48227
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-SWBJP7GK.js");
|
|
48250
48228
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
48251
48229
|
if (topic === void 0) return null;
|
|
48252
48230
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -48317,7 +48295,7 @@ function createScanStageWrapper() {
|
|
|
48317
48295
|
try {
|
|
48318
48296
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
48319
48297
|
if (slug !== void 0) {
|
|
48320
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
48298
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-54YQQ7BM.js");
|
|
48321
48299
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
48322
48300
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
48323
48301
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51557,7 +51535,7 @@ var GitHubTaskTracker = class {
|
|
|
51557
51535
|
cachedProvider = null;
|
|
51558
51536
|
async getProvider() {
|
|
51559
51537
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51560
|
-
const { createScmProvider } = await import("./factory-
|
|
51538
|
+
const { createScmProvider } = await import("./factory-N3RPD7NP.js");
|
|
51561
51539
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51562
51540
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51563
51541
|
this.cachedProvider = result.value;
|
|
@@ -52488,7 +52466,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
52488
52466
|
}
|
|
52489
52467
|
}
|
|
52490
52468
|
async function defaultSources(includeOpenRouter) {
|
|
52491
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
52469
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-GUD4XQK6.js");
|
|
52492
52470
|
const adapters = createAllAdapters2();
|
|
52493
52471
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
52494
52472
|
}
|
|
@@ -56541,4 +56519,4 @@ export {
|
|
|
56541
56519
|
startPipelineEventBridge,
|
|
56542
56520
|
shutdownPipelineEventBridge
|
|
56543
56521
|
};
|
|
56544
|
-
//# sourceMappingURL=chunk-
|
|
56522
|
+
//# sourceMappingURL=chunk-YEGJ5GWY.js.map
|