nexus-agents 4.12.2 → 4.13.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/{child-mcp-config-KNFWHR5B.js → child-mcp-config-OULJI7VH.js} +2 -2
- package/dist/{chunk-OS6V6AUS.js → chunk-232RDSCM.js} +2 -2
- package/dist/{chunk-U34HVKOU.js → chunk-2OAOW7E2.js} +39 -37
- package/dist/chunk-2OAOW7E2.js.map +1 -0
- package/dist/{chunk-JDX7FSEE.js → chunk-4WVGF3SL.js} +4 -3
- package/dist/{chunk-JDX7FSEE.js.map → chunk-4WVGF3SL.js.map} +1 -1
- package/dist/{chunk-SIDH6NYX.js → chunk-56LJJOBN.js} +4 -4
- package/dist/{chunk-UUHVA3EP.js → chunk-5PCTGUMF.js} +3 -3
- package/dist/{chunk-AUFZGVPH.js → chunk-6454KSCM.js} +2 -2
- package/dist/{chunk-YBR5G3FR.js → chunk-7STKQ3IH.js} +2 -2
- package/dist/{chunk-Q6TVHHJS.js → chunk-ARTQO7XZ.js} +4 -4
- package/dist/{chunk-JEOQU5YQ.js → chunk-B6C3JCQB.js} +2 -2
- package/dist/{chunk-JBNA3RWX.js → chunk-C7EXWOXQ.js} +5 -5
- package/dist/{chunk-RTLSASIG.js → chunk-EHMMTCCS.js} +5 -5
- package/dist/{chunk-3JJ3QSJ6.js → chunk-F6MUN523.js} +2 -2
- package/dist/{chunk-WFZGUWWQ.js → chunk-F6SRPGDK.js} +28 -13
- package/dist/chunk-F6SRPGDK.js.map +1 -0
- package/dist/{chunk-PIOQ22BI.js → chunk-HBF7O6CN.js} +6 -6
- package/dist/{chunk-ADKJSLYH.js → chunk-I6JMAM4J.js} +2 -2
- package/dist/{chunk-UGXR3FGB.js → chunk-IZUT5OHH.js} +2 -2
- package/dist/{chunk-K6DDDK5U.js → chunk-J6JEW4QZ.js} +7 -7
- package/dist/{chunk-XUHVOLBI.js → chunk-KUGBMQAP.js} +3 -3
- package/dist/{chunk-7H6AIQFC.js → chunk-LUBCO6ZN.js} +2 -2
- package/dist/{chunk-D7NQCYON.js → chunk-NMNTYAV2.js} +2 -2
- package/dist/{chunk-3F7XUEXM.js → chunk-P45XNRHB.js} +2 -2
- package/dist/{chunk-QWKXEUR3.js → chunk-PWSW5Z4L.js} +2 -2
- package/dist/{chunk-WDICVPNC.js → chunk-TANMACVQ.js} +2 -2
- package/dist/{chunk-MWJLA3SK.js → chunk-V253VL7S.js} +3 -3
- package/dist/{chunk-R5HKFDMX.js → chunk-VENIFAMX.js} +4 -4
- package/dist/{chunk-VAKHNSKR.js → chunk-VPTDFOAK.js} +3 -3
- package/dist/{chunk-JYXU7XFQ.js → chunk-VZVGT4MN.js} +7 -5
- package/dist/chunk-VZVGT4MN.js.map +1 -0
- package/dist/{chunk-BQTQ5FSH.js → chunk-VZWNGPUH.js} +8 -8
- package/dist/{chunk-BDJ5H6BY.js → chunk-W6IZVEIM.js} +2 -2
- package/dist/{chunk-VXSEXHLF.js → chunk-WATNLQS7.js} +2 -2
- package/dist/{chunk-Z3XRX5G6.js → chunk-XGCYJLTP.js} +8 -8
- package/dist/{chunk-Z46NIT6Y.js → chunk-XWIFBBBH.js} +2 -2
- package/dist/{chunk-U3ULCRR5.js → chunk-YHY5AZL2.js} +2 -2
- package/dist/{cli-circuit-breaker-O3SRTC2D.js → cli-circuit-breaker-4AVWA333.js} +3 -3
- package/dist/cli.js +46 -51
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-FGCCXTW7.js → composite-router-7OTZN7NS.js} +2 -2
- package/dist/{consensus-vote-6XPXNECR.js → consensus-vote-KFLDRUJJ.js} +16 -16
- package/dist/{context-retriever-5ZTWDBOB.js → context-retriever-2NZWXF6Z.js} +8 -8
- package/dist/{doctor-deep-LMVPV2XK.js → doctor-deep-MC2FGSAF.js} +3 -3
- package/dist/{doctor-live-I5EMLG2W.js → doctor-live-25LRXKBO.js} +9 -9
- package/dist/{expert-bridge-XCOFEAAH.js → expert-bridge-2YLK3E6Q.js} +4 -4
- package/dist/{factory-UWBH5S4U.js → factory-G57M6CD4.js} +5 -5
- package/dist/{factory-RO6WFMAM.js → factory-T7KN4CKD.js} +9 -9
- package/dist/{improvement-review-4WOLRVMB.js → improvement-review-FFADRM4I.js} +5 -5
- package/dist/index.d.ts +17 -0
- package/dist/index.js +30 -30
- package/dist/{init-opencode-HDVB7A2E.js → init-opencode-OSZF74AL.js} +6 -6
- package/dist/issue-triage-KVYM5FQ5.js +17 -0
- package/dist/{pr-reviewer-helpers-7ER77ZQO.js → pr-reviewer-helpers-E3QXOVMT.js} +4 -4
- package/dist/{registry-command-DKJVYKGI.js → registry-command-ZMKZ5CRZ.js} +2 -2
- package/dist/{repo-security-plan-KTLCJNJ4.js → repo-security-plan-BPET6KTP.js} +3 -3
- package/dist/{research-helpers-synthesize-D4W5C27B.js → research-helpers-synthesize-M4SONOWL.js} +4 -4
- package/dist/{routing-memory-ZV5EBOKF.js → routing-memory-3UWP6NOX.js} +2 -2
- package/dist/{session-memory-VOPXMUVU.js → session-memory-N2ABITF7.js} +3 -3
- package/dist/{setup-command-TNHWMJIJ.js → setup-command-BXIJOFRP.js} +14 -14
- package/dist/{setup-config-JUJWPZW3.js → setup-config-PJNXP57G.js} +3 -3
- package/dist/{setup-custom-api-WCVFLOCN.js → setup-custom-api-PE2M5HWL.js} +4 -4
- package/dist/{tool-memory-FSBMC4MW.js → tool-memory-CARCDHTN.js} +5 -5
- package/dist/{unified-registry-QV2LXC45.js → unified-registry-HVALHHPY.js} +10 -10
- package/dist/{weather-report-J6LIGRJ7.js → weather-report-ZA7DBOC3.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-JYXU7XFQ.js.map +0 -1
- package/dist/chunk-U34HVKOU.js.map +0 -1
- package/dist/chunk-WFZGUWWQ.js.map +0 -1
- package/dist/issue-triage-HJQK7C6D.js +0 -17
- /package/dist/{child-mcp-config-KNFWHR5B.js.map → child-mcp-config-OULJI7VH.js.map} +0 -0
- /package/dist/{chunk-OS6V6AUS.js.map → chunk-232RDSCM.js.map} +0 -0
- /package/dist/{chunk-SIDH6NYX.js.map → chunk-56LJJOBN.js.map} +0 -0
- /package/dist/{chunk-UUHVA3EP.js.map → chunk-5PCTGUMF.js.map} +0 -0
- /package/dist/{chunk-AUFZGVPH.js.map → chunk-6454KSCM.js.map} +0 -0
- /package/dist/{chunk-YBR5G3FR.js.map → chunk-7STKQ3IH.js.map} +0 -0
- /package/dist/{chunk-Q6TVHHJS.js.map → chunk-ARTQO7XZ.js.map} +0 -0
- /package/dist/{chunk-JEOQU5YQ.js.map → chunk-B6C3JCQB.js.map} +0 -0
- /package/dist/{chunk-JBNA3RWX.js.map → chunk-C7EXWOXQ.js.map} +0 -0
- /package/dist/{chunk-RTLSASIG.js.map → chunk-EHMMTCCS.js.map} +0 -0
- /package/dist/{chunk-3JJ3QSJ6.js.map → chunk-F6MUN523.js.map} +0 -0
- /package/dist/{chunk-PIOQ22BI.js.map → chunk-HBF7O6CN.js.map} +0 -0
- /package/dist/{chunk-ADKJSLYH.js.map → chunk-I6JMAM4J.js.map} +0 -0
- /package/dist/{chunk-UGXR3FGB.js.map → chunk-IZUT5OHH.js.map} +0 -0
- /package/dist/{chunk-K6DDDK5U.js.map → chunk-J6JEW4QZ.js.map} +0 -0
- /package/dist/{chunk-XUHVOLBI.js.map → chunk-KUGBMQAP.js.map} +0 -0
- /package/dist/{chunk-7H6AIQFC.js.map → chunk-LUBCO6ZN.js.map} +0 -0
- /package/dist/{chunk-D7NQCYON.js.map → chunk-NMNTYAV2.js.map} +0 -0
- /package/dist/{chunk-3F7XUEXM.js.map → chunk-P45XNRHB.js.map} +0 -0
- /package/dist/{chunk-QWKXEUR3.js.map → chunk-PWSW5Z4L.js.map} +0 -0
- /package/dist/{chunk-WDICVPNC.js.map → chunk-TANMACVQ.js.map} +0 -0
- /package/dist/{chunk-MWJLA3SK.js.map → chunk-V253VL7S.js.map} +0 -0
- /package/dist/{chunk-R5HKFDMX.js.map → chunk-VENIFAMX.js.map} +0 -0
- /package/dist/{chunk-VAKHNSKR.js.map → chunk-VPTDFOAK.js.map} +0 -0
- /package/dist/{chunk-BQTQ5FSH.js.map → chunk-VZWNGPUH.js.map} +0 -0
- /package/dist/{chunk-BDJ5H6BY.js.map → chunk-W6IZVEIM.js.map} +0 -0
- /package/dist/{chunk-VXSEXHLF.js.map → chunk-WATNLQS7.js.map} +0 -0
- /package/dist/{chunk-Z3XRX5G6.js.map → chunk-XGCYJLTP.js.map} +0 -0
- /package/dist/{chunk-Z46NIT6Y.js.map → chunk-XWIFBBBH.js.map} +0 -0
- /package/dist/{chunk-U3ULCRR5.js.map → chunk-YHY5AZL2.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-O3SRTC2D.js.map → cli-circuit-breaker-4AVWA333.js.map} +0 -0
- /package/dist/{composite-router-FGCCXTW7.js.map → composite-router-7OTZN7NS.js.map} +0 -0
- /package/dist/{consensus-vote-6XPXNECR.js.map → consensus-vote-KFLDRUJJ.js.map} +0 -0
- /package/dist/{context-retriever-5ZTWDBOB.js.map → context-retriever-2NZWXF6Z.js.map} +0 -0
- /package/dist/{doctor-deep-LMVPV2XK.js.map → doctor-deep-MC2FGSAF.js.map} +0 -0
- /package/dist/{doctor-live-I5EMLG2W.js.map → doctor-live-25LRXKBO.js.map} +0 -0
- /package/dist/{expert-bridge-XCOFEAAH.js.map → expert-bridge-2YLK3E6Q.js.map} +0 -0
- /package/dist/{factory-RO6WFMAM.js.map → factory-G57M6CD4.js.map} +0 -0
- /package/dist/{factory-UWBH5S4U.js.map → factory-T7KN4CKD.js.map} +0 -0
- /package/dist/{improvement-review-4WOLRVMB.js.map → improvement-review-FFADRM4I.js.map} +0 -0
- /package/dist/{init-opencode-HDVB7A2E.js.map → init-opencode-OSZF74AL.js.map} +0 -0
- /package/dist/{issue-triage-HJQK7C6D.js.map → issue-triage-KVYM5FQ5.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-7ER77ZQO.js.map → pr-reviewer-helpers-E3QXOVMT.js.map} +0 -0
- /package/dist/{registry-command-DKJVYKGI.js.map → registry-command-ZMKZ5CRZ.js.map} +0 -0
- /package/dist/{repo-security-plan-KTLCJNJ4.js.map → repo-security-plan-BPET6KTP.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-D4W5C27B.js.map → research-helpers-synthesize-M4SONOWL.js.map} +0 -0
- /package/dist/{routing-memory-ZV5EBOKF.js.map → routing-memory-3UWP6NOX.js.map} +0 -0
- /package/dist/{session-memory-VOPXMUVU.js.map → session-memory-N2ABITF7.js.map} +0 -0
- /package/dist/{setup-command-TNHWMJIJ.js.map → setup-command-BXIJOFRP.js.map} +0 -0
- /package/dist/{setup-config-JUJWPZW3.js.map → setup-config-PJNXP57G.js.map} +0 -0
- /package/dist/{setup-custom-api-WCVFLOCN.js.map → setup-custom-api-PE2M5HWL.js.map} +0 -0
- /package/dist/{tool-memory-FSBMC4MW.js.map → tool-memory-CARCDHTN.js.map} +0 -0
- /package/dist/{unified-registry-QV2LXC45.js.map → unified-registry-HVALHHPY.js.map} +0 -0
- /package/dist/{weather-report-J6LIGRJ7.js.map → weather-report-ZA7DBOC3.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createLogger,
|
|
6
6
|
getTimeProvider
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4WVGF3SL.js";
|
|
8
8
|
|
|
9
9
|
// src/mcp/tools/scanner-registry-fetcher.ts
|
|
10
10
|
import { z } from "zod";
|
|
@@ -721,4 +721,4 @@ export {
|
|
|
721
721
|
generateSecurityPlan,
|
|
722
722
|
buildPlanFromAnalysis
|
|
723
723
|
};
|
|
724
|
-
//# sourceMappingURL=chunk-
|
|
724
|
+
//# sourceMappingURL=chunk-XWIFBBBH.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
err,
|
|
5
5
|
getErrorMessage,
|
|
6
6
|
ok
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4WVGF3SL.js";
|
|
8
8
|
|
|
9
9
|
// src/scm/types.ts
|
|
10
10
|
var ScmError = class extends Error {
|
|
@@ -263,4 +263,4 @@ export {
|
|
|
263
263
|
ScmError,
|
|
264
264
|
GitHubProvider
|
|
265
265
|
};
|
|
266
|
-
//# sourceMappingURL=chunk-
|
|
266
|
+
//# sourceMappingURL=chunk-YHY5AZL2.js.map
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
createCliCircuitBreakerIntegration,
|
|
4
4
|
getCliCircuitBreakerSnapshot,
|
|
5
5
|
getDefaultCliCircuitBreakerRegistry
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-IZUT5OHH.js";
|
|
7
|
+
import "./chunk-4WVGF3SL.js";
|
|
8
8
|
import "./chunk-2HUC6NZN.js";
|
|
9
9
|
import "./chunk-OQLFRJCW.js";
|
|
10
10
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
getCliCircuitBreakerSnapshot,
|
|
15
15
|
getDefaultCliCircuitBreakerRegistry
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=cli-circuit-breaker-
|
|
17
|
+
//# sourceMappingURL=cli-circuit-breaker-4AVWA333.js.map
|
package/dist/cli.js
CHANGED
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
generateSummary,
|
|
14
14
|
parseFindings,
|
|
15
15
|
sumFindings
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-VPTDFOAK.js";
|
|
17
|
+
import "./chunk-WATNLQS7.js";
|
|
18
18
|
import {
|
|
19
19
|
setupCommandAsync,
|
|
20
20
|
verifyCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-C7EXWOXQ.js";
|
|
22
22
|
import "./chunk-WPLXWTUK.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-232RDSCM.js";
|
|
24
24
|
import {
|
|
25
25
|
AuthHandler,
|
|
26
26
|
DEFAULT_EXPERTS,
|
|
@@ -140,8 +140,8 @@ import {
|
|
|
140
140
|
validateCommand,
|
|
141
141
|
validateWorkflow,
|
|
142
142
|
wrapInMarkdownFence
|
|
143
|
-
} from "./chunk-
|
|
144
|
-
import "./chunk-
|
|
143
|
+
} from "./chunk-2OAOW7E2.js";
|
|
144
|
+
import "./chunk-XWIFBBBH.js";
|
|
145
145
|
import "./chunk-HFOQKCD2.js";
|
|
146
146
|
import "./chunk-RSMG2DPB.js";
|
|
147
147
|
import {
|
|
@@ -167,14 +167,14 @@ import {
|
|
|
167
167
|
loadConfig,
|
|
168
168
|
runDoctor,
|
|
169
169
|
validateNexusEnv
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-VZWNGPUH.js";
|
|
171
171
|
import {
|
|
172
172
|
buildOpenAICompatAdapters,
|
|
173
173
|
readOpenAICompatEnv
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-VZVGT4MN.js";
|
|
175
175
|
import {
|
|
176
176
|
shutdownExpertBridge
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-J6JEW4QZ.js";
|
|
178
178
|
import {
|
|
179
179
|
ConsensusVoteInputSchema,
|
|
180
180
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
@@ -184,29 +184,29 @@ import {
|
|
|
184
184
|
executeVoting,
|
|
185
185
|
mapOutcomeToDecision,
|
|
186
186
|
registerConsensusVoteTool
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-XGCYJLTP.js";
|
|
188
188
|
import {
|
|
189
189
|
loadUsageEvents,
|
|
190
190
|
rollupByModel
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-NMNTYAV2.js";
|
|
192
192
|
import {
|
|
193
193
|
allOf,
|
|
194
194
|
anyOf
|
|
195
195
|
} from "./chunk-OQB3XC5O.js";
|
|
196
196
|
import {
|
|
197
197
|
synthesizeResearch
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-5PCTGUMF.js";
|
|
199
199
|
import {
|
|
200
200
|
classifyTrust,
|
|
201
201
|
createFullGitHubProvider,
|
|
202
202
|
evaluatePolicy,
|
|
203
203
|
parsePRUrl
|
|
204
|
-
} from "./chunk-
|
|
205
|
-
import "./chunk-
|
|
204
|
+
} from "./chunk-HBF7O6CN.js";
|
|
205
|
+
import "./chunk-YHY5AZL2.js";
|
|
206
206
|
import {
|
|
207
207
|
ReputationCache,
|
|
208
208
|
sanitizeInput
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-F6MUN523.js";
|
|
210
210
|
import {
|
|
211
211
|
ImprovementReviewInputSchema,
|
|
212
212
|
calculateFitnessScore,
|
|
@@ -220,15 +220,15 @@ import {
|
|
|
220
220
|
registerImprovementReviewTool,
|
|
221
221
|
runImprovementReview,
|
|
222
222
|
scanForSecrets
|
|
223
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-KUGBMQAP.js";
|
|
224
224
|
import {
|
|
225
225
|
createDefaultPolicyFirewall
|
|
226
|
-
} from "./chunk-
|
|
227
|
-
import "./chunk-
|
|
226
|
+
} from "./chunk-V253VL7S.js";
|
|
227
|
+
import "./chunk-LUBCO6ZN.js";
|
|
228
228
|
import {
|
|
229
229
|
createUnifiedRegistry,
|
|
230
230
|
getGlobalRegistry
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-56LJJOBN.js";
|
|
232
232
|
import {
|
|
233
233
|
CodebaseIndexSchema,
|
|
234
234
|
PaperStatusSchema,
|
|
@@ -254,25 +254,25 @@ import {
|
|
|
254
254
|
loadSourcesRegistry,
|
|
255
255
|
rankDiscoveredItems,
|
|
256
256
|
saveSourcesRegistry
|
|
257
|
-
} from "./chunk-
|
|
257
|
+
} from "./chunk-EHMMTCCS.js";
|
|
258
258
|
import {
|
|
259
259
|
loadPapersRegistry,
|
|
260
260
|
loadTechniquesRegistry,
|
|
261
261
|
savePapersRegistry
|
|
262
|
-
} from "./chunk-
|
|
262
|
+
} from "./chunk-PWSW5Z4L.js";
|
|
263
263
|
import "./chunk-NUBSJGQZ.js";
|
|
264
264
|
import {
|
|
265
265
|
resolveToken
|
|
266
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-P45XNRHB.js";
|
|
267
267
|
import {
|
|
268
268
|
MemoryError,
|
|
269
269
|
shutdownToolMemory
|
|
270
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-ARTQO7XZ.js";
|
|
271
271
|
import {
|
|
272
272
|
capitalize,
|
|
273
273
|
capitalizeKebab
|
|
274
274
|
} from "./chunk-6T3EPABN.js";
|
|
275
|
-
import "./chunk-
|
|
275
|
+
import "./chunk-TANMACVQ.js";
|
|
276
276
|
import "./chunk-YPNQPT2F.js";
|
|
277
277
|
import "./chunk-XIIUIBSX.js";
|
|
278
278
|
import "./chunk-KSQSWEFH.js";
|
|
@@ -283,19 +283,19 @@ import {
|
|
|
283
283
|
isRecord,
|
|
284
284
|
probeAllClis,
|
|
285
285
|
readSubprocessDepth
|
|
286
|
-
} from "./chunk-
|
|
287
|
-
import "./chunk-
|
|
286
|
+
} from "./chunk-F6SRPGDK.js";
|
|
287
|
+
import "./chunk-6454KSCM.js";
|
|
288
288
|
import {
|
|
289
289
|
DEFAULTS
|
|
290
|
-
} from "./chunk-
|
|
291
|
-
import "./chunk-
|
|
290
|
+
} from "./chunk-B6C3JCQB.js";
|
|
291
|
+
import "./chunk-7STKQ3IH.js";
|
|
292
292
|
import {
|
|
293
293
|
nexusMkdtempSync
|
|
294
294
|
} from "./chunk-SNJNRDKZ.js";
|
|
295
|
-
import "./chunk-
|
|
295
|
+
import "./chunk-W6IZVEIM.js";
|
|
296
296
|
import "./chunk-QZUG667L.js";
|
|
297
|
-
import "./chunk-
|
|
298
|
-
import "./chunk-
|
|
297
|
+
import "./chunk-I6JMAM4J.js";
|
|
298
|
+
import "./chunk-IZUT5OHH.js";
|
|
299
299
|
import {
|
|
300
300
|
API_TIMEOUTS,
|
|
301
301
|
AgentCapability,
|
|
@@ -365,11 +365,12 @@ import {
|
|
|
365
365
|
summarizeTaskProfile,
|
|
366
366
|
symbols,
|
|
367
367
|
taskAnalysisResultToTaskProfile,
|
|
368
|
+
taskProfileToBanditContext,
|
|
368
369
|
toError,
|
|
369
370
|
validateTimeout,
|
|
370
371
|
writeEmptyLine,
|
|
371
372
|
writeLine
|
|
372
|
-
} from "./chunk-
|
|
373
|
+
} from "./chunk-4WVGF3SL.js";
|
|
373
374
|
import "./chunk-2HUC6NZN.js";
|
|
374
375
|
import {
|
|
375
376
|
applyPortableMode,
|
|
@@ -4127,7 +4128,7 @@ ${file.patch}
|
|
|
4127
4128
|
violations: policyResult.violations
|
|
4128
4129
|
});
|
|
4129
4130
|
}
|
|
4130
|
-
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-
|
|
4131
|
+
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-E3QXOVMT.js");
|
|
4131
4132
|
const body = formatReviewComment2(result);
|
|
4132
4133
|
const postResult = await provider.createReview(pr.prNumber, body, result.decision);
|
|
4133
4134
|
if (!postResult.ok) {
|
|
@@ -4864,7 +4865,6 @@ function printSuccessMessage(durationMs) {
|
|
|
4864
4865
|
var logger5 = createLogger({ component: "routing-audit" });
|
|
4865
4866
|
var sharedAnalyzer = createSharedTaskAnalyzer();
|
|
4866
4867
|
var CLI_NAMES2 = ["claude", "gemini", "codex", "opencode"];
|
|
4867
|
-
var CONTEXT_NORMALIZATION_TOKENS = 1e5;
|
|
4868
4868
|
function analyzeTaskString(taskStr) {
|
|
4869
4869
|
const task = {
|
|
4870
4870
|
id: "audit-" + String(getTimeProvider().now()),
|
|
@@ -4875,14 +4875,7 @@ function analyzeTaskString(taskStr) {
|
|
|
4875
4875
|
return taskAnalysisResultToTaskProfile(analysis);
|
|
4876
4876
|
}
|
|
4877
4877
|
function taskProfileToBanditContextFromProfile(profile) {
|
|
4878
|
-
return
|
|
4879
|
-
taskComplexity: profile.reasoningComplexity / 10,
|
|
4880
|
-
contextLengthNormalized: Math.min(profile.contextRequired / CONTEXT_NORMALIZATION_TOKENS, 1),
|
|
4881
|
-
isCodeTask: profile.codeGeneration ? 1 : 0,
|
|
4882
|
-
isReasoningTask: profile.taskType === "architecture" || profile.reasoningComplexity > 5 ? 1 : 0,
|
|
4883
|
-
budgetUtilization: 0.5,
|
|
4884
|
-
timePressure: 0.3
|
|
4885
|
-
};
|
|
4878
|
+
return taskProfileToBanditContext(profile);
|
|
4886
4879
|
}
|
|
4887
4880
|
function simulateBudgetFilter() {
|
|
4888
4881
|
return CLI_NAMES2.map((cliName) => ({
|
|
@@ -5025,7 +5018,9 @@ function formatBudgetFilter(result) {
|
|
|
5025
5018
|
const passCount = result.budgetResults.filter((r) => r.withinBudget).length;
|
|
5026
5019
|
const total = result.budgetResults.length;
|
|
5027
5020
|
lines.push(
|
|
5028
|
-
boxLine(
|
|
5021
|
+
boxLine(
|
|
5022
|
+
color(` Budget Filter (${String(passCount)}/${String(total)} pass):`, ANSI.bold) + color(" [simulated \u2014 not evaluated against real cost or config]", ANSI.dim)
|
|
5023
|
+
)
|
|
5029
5024
|
);
|
|
5030
5025
|
for (const br of result.budgetResults) {
|
|
5031
5026
|
const status = br.withinBudget ? color("\u2713", ANSI.green) : color("\u2717", ANSI.red);
|
|
@@ -17599,7 +17594,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
17599
17594
|
let running = false;
|
|
17600
17595
|
const runOnce = async () => {
|
|
17601
17596
|
try {
|
|
17602
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
17597
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-FFADRM4I.js");
|
|
17603
17598
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
17604
17599
|
const result = await runImprovementReview2(input, { logger: logger19 });
|
|
17605
17600
|
logger19.info("Scheduled improvement_review complete", {
|
|
@@ -19660,7 +19655,7 @@ function adaptConfigToLibrary(config) {
|
|
|
19660
19655
|
}
|
|
19661
19656
|
function createBeliefPromoter() {
|
|
19662
19657
|
return async (event) => {
|
|
19663
|
-
const { getToolMemory } = await import("./tool-memory-
|
|
19658
|
+
const { getToolMemory } = await import("./tool-memory-CARCDHTN.js");
|
|
19664
19659
|
const tm = getToolMemory();
|
|
19665
19660
|
await tm.recordBelief(
|
|
19666
19661
|
`skill:${event.name}`,
|
|
@@ -20847,7 +20842,7 @@ async function handleResearchCommand(args) {
|
|
|
20847
20842
|
}
|
|
20848
20843
|
}
|
|
20849
20844
|
async function handleRegistryCommand(args) {
|
|
20850
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
20845
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-ZMKZ5CRZ.js");
|
|
20851
20846
|
const subcommand = args.subcommand;
|
|
20852
20847
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
20853
20848
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -20895,12 +20890,12 @@ async function handleVerifyCommand(args) {
|
|
|
20895
20890
|
async function handleDoctorCommand(args) {
|
|
20896
20891
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
20897
20892
|
if (args.options.deep) {
|
|
20898
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
20893
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-MC2FGSAF.js");
|
|
20899
20894
|
const diag = runDeepDiagnostics2();
|
|
20900
20895
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
20901
20896
|
}
|
|
20902
20897
|
if (args.options.live) {
|
|
20903
|
-
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-
|
|
20898
|
+
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-25LRXKBO.js");
|
|
20904
20899
|
const report = await runLiveReadiness();
|
|
20905
20900
|
process.stdout.write(formatLiveReadiness(report) + "\n");
|
|
20906
20901
|
if (report.some((r) => r.levels.serves.status === "failed")) {
|
|
@@ -20953,7 +20948,7 @@ async function runInitPortableFlow(args) {
|
|
|
20953
20948
|
return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
20954
20949
|
}
|
|
20955
20950
|
async function runInitOpencodeFlow(args) {
|
|
20956
|
-
const { runInitOpencode } = await import("./init-opencode-
|
|
20951
|
+
const { runInitOpencode } = await import("./init-opencode-OSZF74AL.js");
|
|
20957
20952
|
const opencodePath = args.options.opencode;
|
|
20958
20953
|
if (opencodePath === void 0 || opencodePath === "") {
|
|
20959
20954
|
process.stderr.write("Error: --opencode requires a path argument.\n");
|
|
@@ -20979,7 +20974,7 @@ async function runInitOpencodeFlow(args) {
|
|
|
20979
20974
|
return cliExit(EXIT_CODES.SUCCESS);
|
|
20980
20975
|
}
|
|
20981
20976
|
async function renderOpencodeValidate(opencodePath) {
|
|
20982
|
-
const { runOpencodeValidate } = await import("./init-opencode-
|
|
20977
|
+
const { runOpencodeValidate } = await import("./init-opencode-OSZF74AL.js");
|
|
20983
20978
|
const result = await runOpencodeValidate(opencodePath);
|
|
20984
20979
|
if (!result.ok) {
|
|
20985
20980
|
process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
|
|
@@ -21018,7 +21013,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
21018
21013
|
return cliExitFromStatus(exitCode);
|
|
21019
21014
|
}
|
|
21020
21015
|
async function runCustomApiSetup(args) {
|
|
21021
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
21016
|
+
const { configureCustomApi } = await import("./setup-custom-api-PE2M5HWL.js");
|
|
21022
21017
|
const baseUrl = args.options.customApi;
|
|
21023
21018
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
21024
21019
|
const input = {
|