nexus-agents 8.49.2 → 8.49.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-SUEOULTY.js → ast-rule-runner-JMLDPMK6.js} +3 -3
- package/dist/{child-mcp-config-Y3GST6L4.js → child-mcp-config-CWUA3BOE.js} +2 -2
- package/dist/{chunk-53EL53NC.js → chunk-372VJU2A.js} +2 -2
- package/dist/{chunk-MOVW4ZFU.js → chunk-43LGGVVL.js} +2 -2
- package/dist/{chunk-YYQ6NX5R.js → chunk-4T27HYPK.js} +2 -2
- package/dist/{chunk-A4WAADEC.js → chunk-5T35FQ7M.js} +5 -5
- package/dist/{chunk-GTCZLDKW.js → chunk-7CH3W57O.js} +2 -2
- package/dist/{chunk-2PSE4DWT.js → chunk-7MIW3J7Y.js} +4 -4
- package/dist/{chunk-4Y5TFSYP.js → chunk-7W52VFPC.js} +2 -2
- package/dist/{chunk-P6D43B4F.js → chunk-AM2GECED.js} +2 -2
- package/dist/{chunk-SQMOYI5K.js → chunk-ATLURWUL.js} +8 -8
- package/dist/{chunk-ZQVU3NKP.js → chunk-BDYQFMQK.js} +6 -6
- package/dist/{chunk-2CB4RKGK.js → chunk-BN6K5SJZ.js} +2 -2
- package/dist/{chunk-NEKNNWPU.js → chunk-CCDNACJ3.js} +2 -2
- package/dist/{chunk-CE6OZA5X.js → chunk-CWQKDINZ.js} +4 -4
- package/dist/{chunk-VKBFV6OD.js → chunk-DFU7VH63.js} +3 -3
- package/dist/{chunk-BRFZ37RM.js → chunk-FPYDHQD3.js} +9 -9
- package/dist/{chunk-PJKJF6FQ.js → chunk-FYNWNO5U.js} +2 -2
- package/dist/{chunk-F6LB2JEI.js → chunk-FZ5RDVFM.js} +4 -4
- package/dist/{chunk-KITJQPDR.js → chunk-HMV2IMRW.js} +2 -2
- package/dist/{chunk-FASXNWT3.js → chunk-IMBB776Y.js} +5 -5
- package/dist/{chunk-QMC6VZIG.js → chunk-JOGUFMAL.js} +36 -36
- package/dist/{chunk-RJSW5FD3.js → chunk-JPKYVL2B.js} +2 -2
- package/dist/{chunk-ZWJOB76B.js → chunk-KFCG7WOU.js} +2 -2
- package/dist/{chunk-RCTVIHUT.js → chunk-KFWKOCQM.js} +2 -2
- package/dist/{chunk-MPJILKDK.js → chunk-LGCWDR3L.js} +3 -3
- package/dist/{chunk-FYFHFTZG.js → chunk-NWFBGL2J.js} +2 -2
- package/dist/{chunk-N56KU4KM.js → chunk-P3Z7SLZM.js} +2 -2
- package/dist/{chunk-GFW5IMOF.js → chunk-PJV4K6Z5.js} +18 -10
- package/dist/{chunk-GFW5IMOF.js.map → chunk-PJV4K6Z5.js.map} +1 -1
- package/dist/{chunk-YLTUPAKL.js → chunk-V6U6RRB3.js} +2 -2
- package/dist/{chunk-V6RCRB2O.js → chunk-W3JNCSL7.js} +3 -3
- package/dist/{chunk-VDBBLFZR.js → chunk-W7S4KPBE.js} +2 -2
- package/dist/{chunk-6GKP2RLC.js → chunk-WBLXK2PO.js} +4 -4
- package/dist/{chunk-GLDK3R2H.js → chunk-XPEKWXUS.js} +7 -7
- package/dist/{chunk-6AX4544S.js → chunk-XZCTSPLL.js} +3 -3
- package/dist/{chunk-WNEVQONR.js → chunk-Y6MCG2MI.js} +2 -2
- package/dist/{cli-circuit-breaker-BDQFZL7E.js → cli-circuit-breaker-ENYC7JUO.js} +3 -3
- package/dist/cli.js +43 -43
- package/dist/{composite-router-XPWI4EAG.js → composite-router-KKE6E2IX.js} +2 -2
- package/dist/{consensus-vote-VJCYTWP3.js → consensus-vote-EL7K6J3C.js} +17 -17
- package/dist/{context-retriever-JLTSIPDG.js → context-retriever-5U4EAFB5.js} +8 -8
- package/dist/{doctor-deep-CGDO6NJC.js → doctor-deep-TTTTOC56.js} +3 -3
- package/dist/{doctor-live-A56SMTQ7.js → doctor-live-2LI55VNZ.js} +9 -9
- package/dist/{expert-bridge-GK7M6JDD.js → expert-bridge-GUECULZG.js} +4 -4
- package/dist/{factory-K6QWZRX3.js → factory-HQQQGPHK.js} +9 -9
- package/dist/{factory-AX4DQMR4.js → factory-ZZ7GTBR7.js} +5 -5
- package/dist/{improvement-review-7RFCJQHT.js → improvement-review-BKFCKNNM.js} +6 -6
- package/dist/index.d.ts +21 -2
- package/dist/index.js +31 -31
- package/dist/{init-opencode-ED575MZA.js → init-opencode-GBITMGWN.js} +6 -6
- package/dist/issue-triage-NOI4YDMO.js +17 -0
- package/dist/{pr-reviewer-helpers-FYY7JOX6.js → pr-reviewer-helpers-HNSX5MSM.js} +4 -4
- package/dist/{registry-command-TKJBG3DI.js → registry-command-ZDDXIEUR.js} +2 -2
- package/dist/{repo-security-plan-MTS46MYL.js → repo-security-plan-MSUGXPG5.js} +3 -3
- package/dist/{research-helpers-synthesize-5LWQYXLC.js → research-helpers-synthesize-KH7Q7F3V.js} +4 -4
- package/dist/{routing-memory-S3FP5MQY.js → routing-memory-H4GFL6DB.js} +2 -2
- package/dist/{session-memory-JUYGIQI4.js → session-memory-AFBQBZWJ.js} +3 -3
- package/dist/{setup-config-KIZ2V5PW.js → setup-config-NPB727MH.js} +3 -3
- package/dist/{setup-custom-api-DUEOVPOA.js → setup-custom-api-UJ2HMFNQ.js} +4 -4
- package/dist/setup-data-dir-BJHHVQ4X.js +30 -0
- package/dist/{tool-memory-XD7YZBBU.js → tool-memory-DJCIJKCY.js} +5 -5
- package/dist/{unified-registry-MUUCHM4T.js → unified-registry-FV7H4A4H.js} +10 -10
- package/dist/{weather-report-7M3VSROJ.js → weather-report-PW24UU5Q.js} +2 -2
- package/package.json +1 -1
- package/dist/issue-triage-7QOEFZP5.js +0 -17
- package/dist/setup-data-dir-RDELPXMZ.js +0 -30
- /package/dist/{ast-rule-runner-SUEOULTY.js.map → ast-rule-runner-JMLDPMK6.js.map} +0 -0
- /package/dist/{child-mcp-config-Y3GST6L4.js.map → child-mcp-config-CWUA3BOE.js.map} +0 -0
- /package/dist/{chunk-53EL53NC.js.map → chunk-372VJU2A.js.map} +0 -0
- /package/dist/{chunk-MOVW4ZFU.js.map → chunk-43LGGVVL.js.map} +0 -0
- /package/dist/{chunk-YYQ6NX5R.js.map → chunk-4T27HYPK.js.map} +0 -0
- /package/dist/{chunk-A4WAADEC.js.map → chunk-5T35FQ7M.js.map} +0 -0
- /package/dist/{chunk-GTCZLDKW.js.map → chunk-7CH3W57O.js.map} +0 -0
- /package/dist/{chunk-2PSE4DWT.js.map → chunk-7MIW3J7Y.js.map} +0 -0
- /package/dist/{chunk-4Y5TFSYP.js.map → chunk-7W52VFPC.js.map} +0 -0
- /package/dist/{chunk-P6D43B4F.js.map → chunk-AM2GECED.js.map} +0 -0
- /package/dist/{chunk-SQMOYI5K.js.map → chunk-ATLURWUL.js.map} +0 -0
- /package/dist/{chunk-ZQVU3NKP.js.map → chunk-BDYQFMQK.js.map} +0 -0
- /package/dist/{chunk-2CB4RKGK.js.map → chunk-BN6K5SJZ.js.map} +0 -0
- /package/dist/{chunk-NEKNNWPU.js.map → chunk-CCDNACJ3.js.map} +0 -0
- /package/dist/{chunk-CE6OZA5X.js.map → chunk-CWQKDINZ.js.map} +0 -0
- /package/dist/{chunk-VKBFV6OD.js.map → chunk-DFU7VH63.js.map} +0 -0
- /package/dist/{chunk-BRFZ37RM.js.map → chunk-FPYDHQD3.js.map} +0 -0
- /package/dist/{chunk-PJKJF6FQ.js.map → chunk-FYNWNO5U.js.map} +0 -0
- /package/dist/{chunk-F6LB2JEI.js.map → chunk-FZ5RDVFM.js.map} +0 -0
- /package/dist/{chunk-KITJQPDR.js.map → chunk-HMV2IMRW.js.map} +0 -0
- /package/dist/{chunk-FASXNWT3.js.map → chunk-IMBB776Y.js.map} +0 -0
- /package/dist/{chunk-QMC6VZIG.js.map → chunk-JOGUFMAL.js.map} +0 -0
- /package/dist/{chunk-RJSW5FD3.js.map → chunk-JPKYVL2B.js.map} +0 -0
- /package/dist/{chunk-ZWJOB76B.js.map → chunk-KFCG7WOU.js.map} +0 -0
- /package/dist/{chunk-RCTVIHUT.js.map → chunk-KFWKOCQM.js.map} +0 -0
- /package/dist/{chunk-MPJILKDK.js.map → chunk-LGCWDR3L.js.map} +0 -0
- /package/dist/{chunk-FYFHFTZG.js.map → chunk-NWFBGL2J.js.map} +0 -0
- /package/dist/{chunk-N56KU4KM.js.map → chunk-P3Z7SLZM.js.map} +0 -0
- /package/dist/{chunk-YLTUPAKL.js.map → chunk-V6U6RRB3.js.map} +0 -0
- /package/dist/{chunk-V6RCRB2O.js.map → chunk-W3JNCSL7.js.map} +0 -0
- /package/dist/{chunk-VDBBLFZR.js.map → chunk-W7S4KPBE.js.map} +0 -0
- /package/dist/{chunk-6GKP2RLC.js.map → chunk-WBLXK2PO.js.map} +0 -0
- /package/dist/{chunk-GLDK3R2H.js.map → chunk-XPEKWXUS.js.map} +0 -0
- /package/dist/{chunk-6AX4544S.js.map → chunk-XZCTSPLL.js.map} +0 -0
- /package/dist/{chunk-WNEVQONR.js.map → chunk-Y6MCG2MI.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-BDQFZL7E.js.map → cli-circuit-breaker-ENYC7JUO.js.map} +0 -0
- /package/dist/{composite-router-XPWI4EAG.js.map → composite-router-KKE6E2IX.js.map} +0 -0
- /package/dist/{consensus-vote-VJCYTWP3.js.map → consensus-vote-EL7K6J3C.js.map} +0 -0
- /package/dist/{context-retriever-JLTSIPDG.js.map → context-retriever-5U4EAFB5.js.map} +0 -0
- /package/dist/{doctor-deep-CGDO6NJC.js.map → doctor-deep-TTTTOC56.js.map} +0 -0
- /package/dist/{doctor-live-A56SMTQ7.js.map → doctor-live-2LI55VNZ.js.map} +0 -0
- /package/dist/{expert-bridge-GK7M6JDD.js.map → expert-bridge-GUECULZG.js.map} +0 -0
- /package/dist/{factory-AX4DQMR4.js.map → factory-HQQQGPHK.js.map} +0 -0
- /package/dist/{factory-K6QWZRX3.js.map → factory-ZZ7GTBR7.js.map} +0 -0
- /package/dist/{improvement-review-7RFCJQHT.js.map → improvement-review-BKFCKNNM.js.map} +0 -0
- /package/dist/{init-opencode-ED575MZA.js.map → init-opencode-GBITMGWN.js.map} +0 -0
- /package/dist/{issue-triage-7QOEFZP5.js.map → issue-triage-NOI4YDMO.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-FYY7JOX6.js.map → pr-reviewer-helpers-HNSX5MSM.js.map} +0 -0
- /package/dist/{registry-command-TKJBG3DI.js.map → registry-command-ZDDXIEUR.js.map} +0 -0
- /package/dist/{repo-security-plan-MTS46MYL.js.map → repo-security-plan-MSUGXPG5.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-5LWQYXLC.js.map → research-helpers-synthesize-KH7Q7F3V.js.map} +0 -0
- /package/dist/{routing-memory-S3FP5MQY.js.map → routing-memory-H4GFL6DB.js.map} +0 -0
- /package/dist/{session-memory-JUYGIQI4.js.map → session-memory-AFBQBZWJ.js.map} +0 -0
- /package/dist/{setup-config-KIZ2V5PW.js.map → setup-config-NPB727MH.js.map} +0 -0
- /package/dist/{setup-custom-api-DUEOVPOA.js.map → setup-custom-api-UJ2HMFNQ.js.map} +0 -0
- /package/dist/{setup-data-dir-RDELPXMZ.js.map → setup-data-dir-BJHHVQ4X.js.map} +0 -0
- /package/dist/{tool-memory-XD7YZBBU.js.map → tool-memory-DJCIJKCY.js.map} +0 -0
- /package/dist/{unified-registry-MUUCHM4T.js.map → unified-registry-FV7H4A4H.js.map} +0 -0
- /package/dist/{weather-report-7M3VSROJ.js.map → weather-report-PW24UU5Q.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateSecurityPlan
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JPKYVL2B.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-ATLURWUL.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XPEKWXUS.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
VOTER_ROLES,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
toJobSummary,
|
|
58
58
|
updateStage,
|
|
59
59
|
writeJobCancelled
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-FPYDHQD3.js";
|
|
61
61
|
import {
|
|
62
62
|
allOf,
|
|
63
63
|
anyOf
|
|
@@ -65,19 +65,19 @@ import {
|
|
|
65
65
|
import {
|
|
66
66
|
normalizeTopicToCanonical,
|
|
67
67
|
synthesizeResearch
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-LGCWDR3L.js";
|
|
69
69
|
import {
|
|
70
70
|
IssueTriage,
|
|
71
71
|
createDurableAuditSink,
|
|
72
72
|
createDurableAuditTrail
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-BDYQFMQK.js";
|
|
74
74
|
import {
|
|
75
75
|
resolveEnvMode,
|
|
76
76
|
sanitizeInput
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-7W52VFPC.js";
|
|
78
78
|
import {
|
|
79
79
|
withPrerequisite
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-W3JNCSL7.js";
|
|
81
81
|
import {
|
|
82
82
|
NOOP_NOTIFIER,
|
|
83
83
|
RateLimiter,
|
|
@@ -102,18 +102,18 @@ import {
|
|
|
102
102
|
withAuditTrail,
|
|
103
103
|
withProgressHeartbeat,
|
|
104
104
|
wrapToolWithTimeout
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-7MIW3J7Y.js";
|
|
106
106
|
import {
|
|
107
107
|
createAuditTrail,
|
|
108
108
|
createGraphAuditBridge,
|
|
109
109
|
emitPipelinePolicyEvent
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-43LGGVVL.js";
|
|
111
111
|
import {
|
|
112
112
|
EventTopics,
|
|
113
113
|
createEvent,
|
|
114
114
|
getGlobalEventBus,
|
|
115
115
|
getGlobalRegistry
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-WBLXK2PO.js";
|
|
117
117
|
import {
|
|
118
118
|
IDENTIFIER_RE,
|
|
119
119
|
LANG_VALUES,
|
|
@@ -146,7 +146,7 @@ import {
|
|
|
146
146
|
parseRegistry,
|
|
147
147
|
sourceExistsInRegistry,
|
|
148
148
|
summarizeContextForPrompt
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-IMBB776Y.js";
|
|
150
150
|
import {
|
|
151
151
|
REGISTRY_PATH,
|
|
152
152
|
getProjectRoot,
|
|
@@ -154,25 +154,25 @@ import {
|
|
|
154
154
|
loadTechniquesRegistry,
|
|
155
155
|
resolveInsideRoot,
|
|
156
156
|
resolveRegistryRoot
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-Y6MCG2MI.js";
|
|
158
158
|
import {
|
|
159
159
|
getTokenEnvVars,
|
|
160
160
|
resolveToken
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-372VJU2A.js";
|
|
162
162
|
import {
|
|
163
163
|
DEFAULT_RELEVANCE_CONFIG,
|
|
164
164
|
MemoryImportance,
|
|
165
165
|
MemoryType,
|
|
166
166
|
calculateTextJaccardSimilarity,
|
|
167
167
|
getToolMemory
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-FZ5RDVFM.js";
|
|
169
169
|
import {
|
|
170
170
|
STOPWORDS,
|
|
171
171
|
truncateWithInfo
|
|
172
172
|
} from "./chunk-7LP6VJRP.js";
|
|
173
173
|
import {
|
|
174
174
|
createSessionMemory
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-BN6K5SJZ.js";
|
|
176
176
|
import {
|
|
177
177
|
BUILT_IN_EXPERTS,
|
|
178
178
|
BuiltInExpertTypeSchema,
|
|
@@ -190,25 +190,25 @@ import {
|
|
|
190
190
|
getAvailableClis,
|
|
191
191
|
sleep,
|
|
192
192
|
withTimeout
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-PJV4K6Z5.js";
|
|
194
194
|
import {
|
|
195
195
|
BaseAdapter,
|
|
196
196
|
createStream,
|
|
197
197
|
requireApiKey,
|
|
198
198
|
validateApiKeyPresence
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-V6U6RRB3.js";
|
|
200
200
|
import {
|
|
201
201
|
DEFAULTS
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-KFCG7WOU.js";
|
|
203
203
|
import {
|
|
204
204
|
getAvailabilityCache,
|
|
205
205
|
getCliForModelId,
|
|
206
206
|
resolveFallback
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-HMV2IMRW.js";
|
|
208
208
|
import {
|
|
209
209
|
generateHyphenId,
|
|
210
210
|
generateUUID
|
|
211
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-AM2GECED.js";
|
|
212
212
|
import {
|
|
213
213
|
AGENT_ROUTER_TIMEOUTS,
|
|
214
214
|
API_TIMEOUTS,
|
|
@@ -320,7 +320,7 @@ import {
|
|
|
320
320
|
selectStrategyByManifest,
|
|
321
321
|
toExpertTaskAnalysisResult,
|
|
322
322
|
withStep
|
|
323
|
-
} from "./chunk-
|
|
323
|
+
} from "./chunk-DFU7VH63.js";
|
|
324
324
|
import {
|
|
325
325
|
ensureLearningDir,
|
|
326
326
|
getMetaOutcomesFile,
|
|
@@ -30029,7 +30029,7 @@ function execIdFields(executionId) {
|
|
|
30029
30029
|
async function populateUnifiedContextOnState(state, options) {
|
|
30030
30030
|
const taskCandidate = state["task"];
|
|
30031
30031
|
if (typeof taskCandidate !== "string" || taskCandidate === "") return;
|
|
30032
|
-
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-
|
|
30032
|
+
const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-5U4EAFB5.js");
|
|
30033
30033
|
const category = inferTaskCategory2(taskCandidate);
|
|
30034
30034
|
const executionId = options?.executionId;
|
|
30035
30035
|
const execFields = execIdFields(executionId);
|
|
@@ -45762,7 +45762,7 @@ async function tryIssueTriage(task) {
|
|
|
45762
45762
|
try {
|
|
45763
45763
|
const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
|
|
45764
45764
|
if (issueMatch === null) return null;
|
|
45765
|
-
const { createIssueTriage } = await import("./issue-triage-
|
|
45765
|
+
const { createIssueTriage } = await import("./issue-triage-NOI4YDMO.js");
|
|
45766
45766
|
const triage = createIssueTriage();
|
|
45767
45767
|
const owner = issueMatch[1] ?? "";
|
|
45768
45768
|
const num = issueMatch[2] ?? "";
|
|
@@ -45790,7 +45790,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45790
45790
|
]);
|
|
45791
45791
|
async function classifyWithLLM(task) {
|
|
45792
45792
|
try {
|
|
45793
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45793
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-GUECULZG.js");
|
|
45794
45794
|
const prompt = [
|
|
45795
45795
|
"Classify this task into exactly one pipeline template.",
|
|
45796
45796
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -46164,7 +46164,7 @@ function buildVotingInput(plan, config) {
|
|
|
46164
46164
|
}
|
|
46165
46165
|
async function executeSingleVote(plan, config, log) {
|
|
46166
46166
|
try {
|
|
46167
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
46167
|
+
const { executeVoting } = await import("./consensus-vote-EL7K6J3C.js");
|
|
46168
46168
|
const input = buildVotingInput(plan, config);
|
|
46169
46169
|
const result = await executeVoting(input, log);
|
|
46170
46170
|
return parseVotingResult(result);
|
|
@@ -47726,7 +47726,7 @@ var memoryInitPromise = null;
|
|
|
47726
47726
|
async function initPipelineMemory() {
|
|
47727
47727
|
if (cachedMemory !== null) return cachedMemory;
|
|
47728
47728
|
try {
|
|
47729
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47729
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-AFBQBZWJ.js");
|
|
47730
47730
|
const { getLearningDir } = await import("./learning-persistence-TQJVPLDN.js");
|
|
47731
47731
|
const mem = createSessionMemory2(getLearningDir());
|
|
47732
47732
|
mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
|
|
@@ -47788,7 +47788,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
|
|
|
47788
47788
|
callRecord(routingMemoryCache);
|
|
47789
47789
|
return;
|
|
47790
47790
|
}
|
|
47791
|
-
routingMemoryInitPromise ??= import("./routing-memory-
|
|
47791
|
+
routingMemoryInitPromise ??= import("./routing-memory-H4GFL6DB.js").then(({ createRoutingMemory }) => {
|
|
47792
47792
|
routingMemoryCache ??= createRoutingMemory();
|
|
47793
47793
|
return routingMemoryCache;
|
|
47794
47794
|
}).catch((error) => {
|
|
@@ -47822,7 +47822,7 @@ ${text}` : "";
|
|
|
47822
47822
|
}
|
|
47823
47823
|
async function getWeatherContext() {
|
|
47824
47824
|
try {
|
|
47825
|
-
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-
|
|
47825
|
+
const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-PW24UU5Q.js");
|
|
47826
47826
|
const report = generateWeatherReport2({ includeAdaptive: true });
|
|
47827
47827
|
const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
|
|
47828
47828
|
if (!Array.isArray(mappings) || mappings.length === 0) return "";
|
|
@@ -47840,7 +47840,7 @@ ${lines}
|
|
|
47840
47840
|
}
|
|
47841
47841
|
async function getMemoryContext(task) {
|
|
47842
47842
|
try {
|
|
47843
|
-
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-
|
|
47843
|
+
const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-AFBQBZWJ.js");
|
|
47844
47844
|
const { getLearningDir } = await import("./learning-persistence-TQJVPLDN.js");
|
|
47845
47845
|
const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
|
|
47846
47846
|
const learnings = memory.searchLearnings(task.slice(0, 200));
|
|
@@ -47959,7 +47959,7 @@ ${contextBlock}`;
|
|
|
47959
47959
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47960
47960
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47961
47961
|
try {
|
|
47962
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47962
|
+
const { executeVoting } = await import("./consensus-vote-EL7K6J3C.js");
|
|
47963
47963
|
const votingResult = await executeVoting(
|
|
47964
47964
|
{
|
|
47965
47965
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -48390,7 +48390,7 @@ async function searchCodebaseForTask(task) {
|
|
|
48390
48390
|
}
|
|
48391
48391
|
async function queryResearchRegistry(task) {
|
|
48392
48392
|
try {
|
|
48393
|
-
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-
|
|
48393
|
+
const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-KH7Q7F3V.js");
|
|
48394
48394
|
const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
|
|
48395
48395
|
if (topic === void 0) return null;
|
|
48396
48396
|
const result = await synthesizeResearch2(topic.slice(0, 50));
|
|
@@ -48461,7 +48461,7 @@ function createScanStageWrapper() {
|
|
|
48461
48461
|
try {
|
|
48462
48462
|
const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
|
|
48463
48463
|
if (slug !== void 0) {
|
|
48464
|
-
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-
|
|
48464
|
+
const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-MSUGXPG5.js");
|
|
48465
48465
|
const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
|
|
48466
48466
|
const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
|
|
48467
48467
|
return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
|
|
@@ -51866,7 +51866,7 @@ var GitHubTaskTracker = class {
|
|
|
51866
51866
|
cachedProvider = null;
|
|
51867
51867
|
async getProvider() {
|
|
51868
51868
|
if (this.cachedProvider !== null) return this.cachedProvider;
|
|
51869
|
-
const { createScmProvider } = await import("./factory-
|
|
51869
|
+
const { createScmProvider } = await import("./factory-ZZ7GTBR7.js");
|
|
51870
51870
|
const result = await createScmProvider({ repo: this.config.repo ?? "" });
|
|
51871
51871
|
if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
|
|
51872
51872
|
this.cachedProvider = result.value;
|
|
@@ -52797,7 +52797,7 @@ async function probeSource(source, includeModelIds) {
|
|
|
52797
52797
|
}
|
|
52798
52798
|
}
|
|
52799
52799
|
async function defaultSources(includeOpenRouter) {
|
|
52800
|
-
const { createAllAdapters: createAllAdapters2 } = await import("./factory-
|
|
52800
|
+
const { createAllAdapters: createAllAdapters2 } = await import("./factory-HQQQGPHK.js");
|
|
52801
52801
|
const adapters = createAllAdapters2();
|
|
52802
52802
|
return buildDefaultModelSources(adapters, { includeOpenRouter });
|
|
52803
52803
|
}
|
|
@@ -56865,4 +56865,4 @@ export {
|
|
|
56865
56865
|
startPipelineEventBridge,
|
|
56866
56866
|
shutdownPipelineEventBridge
|
|
56867
56867
|
};
|
|
56868
|
-
//# sourceMappingURL=chunk-
|
|
56868
|
+
//# sourceMappingURL=chunk-JOGUFMAL.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DFU7VH63.js";
|
|
8
8
|
|
|
9
9
|
// src/mcp/tools/scanner-registry-fetcher.ts
|
|
10
10
|
import { z } from "zod";
|
|
@@ -740,4 +740,4 @@ export {
|
|
|
740
740
|
generateSecurityPlan,
|
|
741
741
|
buildPlanFromAnalysis
|
|
742
742
|
};
|
|
743
|
-
//# sourceMappingURL=chunk-
|
|
743
|
+
//# sourceMappingURL=chunk-JPKYVL2B.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
MCP_TIMEOUTS,
|
|
6
6
|
TEST_TIMEOUTS,
|
|
7
7
|
WORKFLOW_TIMEOUTS
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DFU7VH63.js";
|
|
9
9
|
import {
|
|
10
10
|
createGetEnvVarDocumentation,
|
|
11
11
|
createGetTimeout,
|
|
@@ -224,4 +224,4 @@ export {
|
|
|
224
224
|
CUSTOM_API_DEFAULT_MODEL,
|
|
225
225
|
DEFAULTS
|
|
226
226
|
};
|
|
227
|
-
//# sourceMappingURL=chunk-
|
|
227
|
+
//# sourceMappingURL=chunk-KFCG7WOU.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DFU7VH63.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -281,4 +281,4 @@ export {
|
|
|
281
281
|
ScmError,
|
|
282
282
|
GitHubProvider
|
|
283
283
|
};
|
|
284
|
-
//# sourceMappingURL=chunk-
|
|
284
|
+
//# sourceMappingURL=chunk-KFWKOCQM.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPapersRegistry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Y6MCG2MI.js";
|
|
4
4
|
import {
|
|
5
5
|
getErrorMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DFU7VH63.js";
|
|
7
7
|
|
|
8
8
|
// src/cli/research-helpers-synthesize.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -876,4 +876,4 @@ export {
|
|
|
876
876
|
AttributedInsightSchema,
|
|
877
877
|
synthesizeResearch
|
|
878
878
|
};
|
|
879
|
-
//# sourceMappingURL=chunk-
|
|
879
|
+
//# sourceMappingURL=chunk-LGCWDR3L.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
import semver from "semver";
|
|
3
|
-
var VERSION = true ? "8.49.
|
|
3
|
+
var VERSION = true ? "8.49.4" : "dev";
|
|
4
4
|
var NODE_ENGINE_RANGE = ">=22.5.0";
|
|
5
5
|
function isNodeVersionSupported(version) {
|
|
6
6
|
return semver.satisfies(version, NODE_ENGINE_RANGE);
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
NODE_ENGINE_RANGE,
|
|
12
12
|
isNodeVersionSupported
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-NWFBGL2J.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getTimeProvider,
|
|
9
9
|
isRateLimitText,
|
|
10
10
|
ok
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DFU7VH63.js";
|
|
12
12
|
|
|
13
13
|
// src/cli-adapters/circuit-breaker-types.ts
|
|
14
14
|
var CircuitErrorCode = {
|
|
@@ -541,4 +541,4 @@ export {
|
|
|
541
541
|
CliCircuitBreakerIntegration,
|
|
542
542
|
createCliCircuitBreakerIntegration
|
|
543
543
|
};
|
|
544
|
-
//# sourceMappingURL=chunk-
|
|
544
|
+
//# sourceMappingURL=chunk-P3Z7SLZM.js.map
|
|
@@ -5,34 +5,34 @@ import {
|
|
|
5
5
|
planOptionalParams,
|
|
6
6
|
requireApiKey,
|
|
7
7
|
validateApiKeyPresence
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-V6U6RRB3.js";
|
|
9
9
|
import {
|
|
10
10
|
CUSTOM_API_DEFAULT_MODEL
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KFCG7WOU.js";
|
|
12
12
|
import {
|
|
13
13
|
CUSTOM_API_BASE_URL_ENV,
|
|
14
14
|
PROVIDER_ENV_KEYS,
|
|
15
15
|
assertCustomApiHostResolvesPublic,
|
|
16
16
|
validateCustomApiBaseUrl
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-W7S4KPBE.js";
|
|
18
18
|
import {
|
|
19
19
|
nexusMkdtempSync
|
|
20
20
|
} from "./chunk-T46RV7Y7.js";
|
|
21
21
|
import {
|
|
22
22
|
getAvailabilityCache
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HMV2IMRW.js";
|
|
24
24
|
import {
|
|
25
25
|
extractSystemPrompt
|
|
26
26
|
} from "./chunk-QZUG667L.js";
|
|
27
27
|
import {
|
|
28
28
|
generateHyphenId
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AM2GECED.js";
|
|
30
30
|
import {
|
|
31
31
|
CliCircuitBreaker,
|
|
32
32
|
DEFAULT_CIRCUIT_BREAKER_CONFIG,
|
|
33
33
|
getCliCircuitBreakerSnapshot,
|
|
34
34
|
getDefaultCliCircuitBreakerRegistry
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-P3Z7SLZM.js";
|
|
36
36
|
import {
|
|
37
37
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
38
38
|
CLI_TIMEOUTS,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
resolveCliModelName,
|
|
74
74
|
resolveRetryAfterMs,
|
|
75
75
|
retryAfterMsFromContext
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-DFU7VH63.js";
|
|
77
77
|
import {
|
|
78
78
|
parseBoolValue
|
|
79
79
|
} from "./chunk-BTYRPZON.js";
|
|
@@ -3833,6 +3833,10 @@ var CODEX_LEGACY_DEFAULTS = {
|
|
|
3833
3833
|
inputCost: 1.1,
|
|
3834
3834
|
outputCost: 4.4
|
|
3835
3835
|
};
|
|
3836
|
+
var CODEX_LEGACY_LANDLOCK_CONFIG = "features.use_legacy_landlock=true";
|
|
3837
|
+
function codexPlatformSandboxArgs(platform = process.platform) {
|
|
3838
|
+
return platform === "linux" ? ["-c", CODEX_LEGACY_LANDLOCK_CONFIG] : [];
|
|
3839
|
+
}
|
|
3836
3840
|
function toCodexModelSlug(model, logger6) {
|
|
3837
3841
|
const slug = resolveCliModelName("codex", model);
|
|
3838
3842
|
if (slug === void 0) {
|
|
@@ -3849,9 +3853,11 @@ var CodexCliAdapter = class extends SubprocessCliAdapter {
|
|
|
3849
3853
|
name = "codex";
|
|
3850
3854
|
parser = new CodexResponseParser();
|
|
3851
3855
|
model;
|
|
3856
|
+
platform;
|
|
3852
3857
|
constructor(options) {
|
|
3853
3858
|
super(options?.logger);
|
|
3854
3859
|
this.model = options?.model ?? getCliModelName(getDefaultModelForCli("codex"));
|
|
3860
|
+
this.platform = options?.platform ?? process.platform;
|
|
3855
3861
|
}
|
|
3856
3862
|
/** Key-free model enumeration via the models.dev snapshot (#3405). */
|
|
3857
3863
|
listModels() {
|
|
@@ -3884,7 +3890,7 @@ var CodexCliAdapter = class extends SubprocessCliAdapter {
|
|
|
3884
3890
|
if (model !== "") {
|
|
3885
3891
|
args.push("-m", toCodexModelSlug(model, this.logger));
|
|
3886
3892
|
}
|
|
3887
|
-
args.push("-s", "read-only");
|
|
3893
|
+
args.push("-s", "read-only", ...codexPlatformSandboxArgs(this.platform));
|
|
3888
3894
|
args.push("--skip-git-repo-check");
|
|
3889
3895
|
let cleanup;
|
|
3890
3896
|
if (task.systemPrompt !== void 0 && task.systemPrompt !== "") {
|
|
@@ -3966,12 +3972,14 @@ var CodexMcpAdapter = class extends BaseCliAdapter {
|
|
|
3966
3972
|
name = "codex";
|
|
3967
3973
|
transport = "mcp";
|
|
3968
3974
|
model;
|
|
3975
|
+
platform;
|
|
3969
3976
|
client;
|
|
3970
3977
|
mcpTransport;
|
|
3971
3978
|
connected = false;
|
|
3972
3979
|
constructor(options) {
|
|
3973
3980
|
super(options?.logger ?? createLogger({ component: "codex-mcp-adapter" }));
|
|
3974
3981
|
this.model = options?.model ?? getCliModelName(getDefaultModelForCli("codex"));
|
|
3982
|
+
this.platform = options?.platform ?? process.platform;
|
|
3975
3983
|
}
|
|
3976
3984
|
/**
|
|
3977
3985
|
* Key-free model enumeration via the models.dev snapshot (#3405), matching
|
|
@@ -4016,7 +4024,7 @@ var CodexMcpAdapter = class extends BaseCliAdapter {
|
|
|
4016
4024
|
try {
|
|
4017
4025
|
this.mcpTransport = new StdioClientTransport({
|
|
4018
4026
|
command: "codex",
|
|
4019
|
-
args: ["mcp-server"],
|
|
4027
|
+
args: ["mcp-server", ...codexPlatformSandboxArgs(this.platform)],
|
|
4020
4028
|
stderr: "pipe",
|
|
4021
4029
|
env: { [NEXUS_MCP_DEPTH_ENV]: childDepth }
|
|
4022
4030
|
});
|
|
@@ -4992,4 +5000,4 @@ export {
|
|
|
4992
5000
|
SdkAdapter,
|
|
4993
5001
|
createAutoAdapter
|
|
4994
5002
|
};
|
|
4995
|
-
//# sourceMappingURL=chunk-
|
|
5003
|
+
//# sourceMappingURL=chunk-PJV4K6Z5.js.map
|