nexus-agents 8.85.0 → 8.85.2
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-LXMZIGCY.js → ast-rule-runner-GDCEI7BW.js} +3 -3
- package/dist/{child-mcp-config-OBHZQG2Q.js → child-mcp-config-HAXDNULH.js} +2 -2
- package/dist/{chunk-LEYBZKK2.js → chunk-23DTC2UV.js} +4 -4
- package/dist/{chunk-6Q7EYNH2.js → chunk-3EK4V5JS.js} +2 -2
- package/dist/{chunk-R5ASFO5P.js → chunk-4RHGZLKP.js} +2 -2
- package/dist/{chunk-CH2WD3MA.js → chunk-7L6KI365.js} +3 -3
- package/dist/{chunk-RSDKRBZC.js → chunk-7NLTUPYN.js} +2 -2
- package/dist/{chunk-OSEM44EE.js → chunk-ARWTQGSY.js} +9 -9
- package/dist/{chunk-JN42TCDE.js → chunk-B3PR26HR.js} +2 -2
- package/dist/{chunk-DWZXQYUL.js → chunk-CDHUCQ44.js} +10 -10
- package/dist/{chunk-UA6FZ2WV.js → chunk-FOODF33L.js} +4 -4
- package/dist/{chunk-BXOXALDW.js → chunk-GFFQHVSC.js} +2 -2
- package/dist/{chunk-6FXHSNXA.js → chunk-HSMW4KIV.js} +2 -2
- package/dist/{chunk-FJVOWWD5.js → chunk-IKLDY3HI.js} +48 -38
- package/dist/{chunk-FJVOWWD5.js.map → chunk-IKLDY3HI.js.map} +1 -1
- package/dist/{chunk-UQR4SSUJ.js → chunk-ILGHDIYO.js} +2 -2
- package/dist/{chunk-NHLKZ3KC.js → chunk-JHNS5FYV.js} +2 -2
- package/dist/{chunk-BKRAZWLA.js → chunk-K6VACGLH.js} +3 -3
- package/dist/{chunk-DY5FNADP.js → chunk-KC3AZWVQ.js} +3 -3
- package/dist/{chunk-LNX6D7GM.js → chunk-L3PGHZH7.js} +3 -3
- package/dist/{chunk-WUUZ5KH2.js → chunk-M6U6UHFA.js} +2 -2
- package/dist/{chunk-XRPHJNVB.js → chunk-NL7I35TJ.js} +4 -4
- package/dist/{chunk-BHLPPZZ6.js → chunk-P5BZ3DNM.js} +7 -7
- package/dist/{chunk-ZA627SSQ.js → chunk-PB4SXWBA.js} +2 -2
- package/dist/{chunk-45EJ4PBT.js → chunk-PBXABL7H.js} +2 -2
- package/dist/{chunk-IPWGHYXZ.js → chunk-QLYONNVR.js} +2 -2
- package/dist/{chunk-HFPR4I3U.js → chunk-TYHKIUUX.js} +2 -2
- package/dist/{chunk-FFUIQBDD.js → chunk-U33OOJOK.js} +2 -2
- package/dist/{chunk-UB7PB7GI.js → chunk-VYZRGIY5.js} +4 -4
- package/dist/{chunk-2EBCZOVZ.js → chunk-WIBR5HMY.js} +2 -2
- package/dist/{chunk-Y6QNLP5P.js → chunk-WKZSEYV7.js} +8 -8
- package/dist/{chunk-OBTPPT3M.js → chunk-WZRXZ6P2.js} +5 -5
- package/dist/{chunk-EX5EN5B6.js → chunk-XLYTLQAT.js} +2 -2
- package/dist/{chunk-7LGBEEKB.js → chunk-Y2ARXXPF.js} +2 -2
- package/dist/{chunk-HXOEF3YP.js → chunk-YGOTLETF.js} +17 -3
- package/dist/chunk-YGOTLETF.js.map +1 -0
- package/dist/{chunk-AKM6ILIM.js → chunk-Z33AE45S.js} +5 -5
- package/dist/{cli-circuit-breaker-GJWYQL6L.js → cli-circuit-breaker-TOE7GRYI.js} +3 -3
- package/dist/cli.js +69 -49
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-TL5XKK5X.js → composite-router-UD3FGSSS.js} +2 -2
- package/dist/{consensus-vote-H363QXSE.js → consensus-vote-YW6LAIH7.js} +16 -16
- package/dist/{context-retriever-CC3W7XS6.js → context-retriever-CH3GEH2Z.js} +8 -8
- package/dist/{doctor-deep-XBJ5HS3B.js → doctor-deep-LMEUFKDA.js} +3 -3
- package/dist/{doctor-live-CNKTVDK6.js → doctor-live-O25NTC5D.js} +10 -10
- package/dist/{expert-bridge-YPVHOWFB.js → expert-bridge-ZQSYVUC2.js} +4 -4
- package/dist/{factory-JHBJB2O2.js → factory-O4U4BJFT.js} +9 -9
- package/dist/{factory-MRSIKSPG.js → factory-ZOM2QJPC.js} +5 -5
- package/dist/{improvement-review-TSSTONUQ.js → improvement-review-RL6VHCCY.js} +5 -5
- package/dist/index.js +30 -30
- package/dist/{init-opencode-FH2LR62J.js → init-opencode-RMMHBIQ2.js} +5 -5
- package/dist/issue-triage-DQAOBZEP.js +16 -0
- package/dist/{pr-reviewer-helpers-QG53KLXL.js → pr-reviewer-helpers-S53B7TYK.js} +4 -4
- package/dist/{registry-command-IX7IISYC.js → registry-command-TWHRKWDB.js} +2 -2
- package/dist/{repo-security-plan-FE2KXATO.js → repo-security-plan-HYJ7HTOS.js} +3 -3
- package/dist/{research-helpers-synthesize-TRAPPDBV.js → research-helpers-synthesize-G3WV7AHW.js} +4 -4
- package/dist/{routing-memory-IXTZH2LJ.js → routing-memory-HQTEZF2S.js} +2 -2
- package/dist/{session-memory-LG3G33MF.js → session-memory-M5MEGJJZ.js} +3 -3
- package/dist/{setup-config-HAIUEE4A.js → setup-config-L5QGPDH6.js} +3 -3
- package/dist/{setup-custom-api-437P3KVD.js → setup-custom-api-LRL6J7RN.js} +4 -4
- package/dist/setup-data-dir-WZXMTSDN.js +32 -0
- package/dist/{tool-memory-A7C3WO3Q.js → tool-memory-24PMDECK.js} +5 -5
- package/dist/{unified-registry-YF3B3PDU.js → unified-registry-NODUOBMA.js} +10 -10
- package/dist/{weather-report-NDQU55YN.js → weather-report-IGEXNIWL.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-HXOEF3YP.js.map +0 -1
- package/dist/issue-triage-TI6R4XZL.js +0 -16
- package/dist/setup-data-dir-BVALVICE.js +0 -32
- /package/dist/{ast-rule-runner-LXMZIGCY.js.map → ast-rule-runner-GDCEI7BW.js.map} +0 -0
- /package/dist/{child-mcp-config-OBHZQG2Q.js.map → child-mcp-config-HAXDNULH.js.map} +0 -0
- /package/dist/{chunk-LEYBZKK2.js.map → chunk-23DTC2UV.js.map} +0 -0
- /package/dist/{chunk-6Q7EYNH2.js.map → chunk-3EK4V5JS.js.map} +0 -0
- /package/dist/{chunk-R5ASFO5P.js.map → chunk-4RHGZLKP.js.map} +0 -0
- /package/dist/{chunk-CH2WD3MA.js.map → chunk-7L6KI365.js.map} +0 -0
- /package/dist/{chunk-RSDKRBZC.js.map → chunk-7NLTUPYN.js.map} +0 -0
- /package/dist/{chunk-OSEM44EE.js.map → chunk-ARWTQGSY.js.map} +0 -0
- /package/dist/{chunk-JN42TCDE.js.map → chunk-B3PR26HR.js.map} +0 -0
- /package/dist/{chunk-DWZXQYUL.js.map → chunk-CDHUCQ44.js.map} +0 -0
- /package/dist/{chunk-UA6FZ2WV.js.map → chunk-FOODF33L.js.map} +0 -0
- /package/dist/{chunk-BXOXALDW.js.map → chunk-GFFQHVSC.js.map} +0 -0
- /package/dist/{chunk-6FXHSNXA.js.map → chunk-HSMW4KIV.js.map} +0 -0
- /package/dist/{chunk-UQR4SSUJ.js.map → chunk-ILGHDIYO.js.map} +0 -0
- /package/dist/{chunk-NHLKZ3KC.js.map → chunk-JHNS5FYV.js.map} +0 -0
- /package/dist/{chunk-BKRAZWLA.js.map → chunk-K6VACGLH.js.map} +0 -0
- /package/dist/{chunk-DY5FNADP.js.map → chunk-KC3AZWVQ.js.map} +0 -0
- /package/dist/{chunk-LNX6D7GM.js.map → chunk-L3PGHZH7.js.map} +0 -0
- /package/dist/{chunk-WUUZ5KH2.js.map → chunk-M6U6UHFA.js.map} +0 -0
- /package/dist/{chunk-XRPHJNVB.js.map → chunk-NL7I35TJ.js.map} +0 -0
- /package/dist/{chunk-BHLPPZZ6.js.map → chunk-P5BZ3DNM.js.map} +0 -0
- /package/dist/{chunk-ZA627SSQ.js.map → chunk-PB4SXWBA.js.map} +0 -0
- /package/dist/{chunk-45EJ4PBT.js.map → chunk-PBXABL7H.js.map} +0 -0
- /package/dist/{chunk-IPWGHYXZ.js.map → chunk-QLYONNVR.js.map} +0 -0
- /package/dist/{chunk-HFPR4I3U.js.map → chunk-TYHKIUUX.js.map} +0 -0
- /package/dist/{chunk-FFUIQBDD.js.map → chunk-U33OOJOK.js.map} +0 -0
- /package/dist/{chunk-UB7PB7GI.js.map → chunk-VYZRGIY5.js.map} +0 -0
- /package/dist/{chunk-2EBCZOVZ.js.map → chunk-WIBR5HMY.js.map} +0 -0
- /package/dist/{chunk-Y6QNLP5P.js.map → chunk-WKZSEYV7.js.map} +0 -0
- /package/dist/{chunk-OBTPPT3M.js.map → chunk-WZRXZ6P2.js.map} +0 -0
- /package/dist/{chunk-EX5EN5B6.js.map → chunk-XLYTLQAT.js.map} +0 -0
- /package/dist/{chunk-7LGBEEKB.js.map → chunk-Y2ARXXPF.js.map} +0 -0
- /package/dist/{chunk-AKM6ILIM.js.map → chunk-Z33AE45S.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-GJWYQL6L.js.map → cli-circuit-breaker-TOE7GRYI.js.map} +0 -0
- /package/dist/{composite-router-TL5XKK5X.js.map → composite-router-UD3FGSSS.js.map} +0 -0
- /package/dist/{consensus-vote-H363QXSE.js.map → consensus-vote-YW6LAIH7.js.map} +0 -0
- /package/dist/{context-retriever-CC3W7XS6.js.map → context-retriever-CH3GEH2Z.js.map} +0 -0
- /package/dist/{doctor-deep-XBJ5HS3B.js.map → doctor-deep-LMEUFKDA.js.map} +0 -0
- /package/dist/{doctor-live-CNKTVDK6.js.map → doctor-live-O25NTC5D.js.map} +0 -0
- /package/dist/{expert-bridge-YPVHOWFB.js.map → expert-bridge-ZQSYVUC2.js.map} +0 -0
- /package/dist/{factory-JHBJB2O2.js.map → factory-O4U4BJFT.js.map} +0 -0
- /package/dist/{factory-MRSIKSPG.js.map → factory-ZOM2QJPC.js.map} +0 -0
- /package/dist/{improvement-review-TSSTONUQ.js.map → improvement-review-RL6VHCCY.js.map} +0 -0
- /package/dist/{init-opencode-FH2LR62J.js.map → init-opencode-RMMHBIQ2.js.map} +0 -0
- /package/dist/{issue-triage-TI6R4XZL.js.map → issue-triage-DQAOBZEP.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-QG53KLXL.js.map → pr-reviewer-helpers-S53B7TYK.js.map} +0 -0
- /package/dist/{registry-command-IX7IISYC.js.map → registry-command-TWHRKWDB.js.map} +0 -0
- /package/dist/{repo-security-plan-FE2KXATO.js.map → repo-security-plan-HYJ7HTOS.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-TRAPPDBV.js.map → research-helpers-synthesize-G3WV7AHW.js.map} +0 -0
- /package/dist/{routing-memory-IXTZH2LJ.js.map → routing-memory-HQTEZF2S.js.map} +0 -0
- /package/dist/{session-memory-LG3G33MF.js.map → session-memory-M5MEGJJZ.js.map} +0 -0
- /package/dist/{setup-config-HAIUEE4A.js.map → setup-config-L5QGPDH6.js.map} +0 -0
- /package/dist/{setup-custom-api-437P3KVD.js.map → setup-custom-api-LRL6J7RN.js.map} +0 -0
- /package/dist/{setup-data-dir-BVALVICE.js.map → setup-data-dir-WZXMTSDN.js.map} +0 -0
- /package/dist/{tool-memory-A7C3WO3Q.js.map → tool-memory-24PMDECK.js.map} +0 -0
- /package/dist/{unified-registry-YF3B3PDU.js.map → unified-registry-NODUOBMA.js.map} +0 -0
- /package/dist/{weather-report-NDQU55YN.js.map → weather-report-IGEXNIWL.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GitHubProvider,
|
|
3
3
|
ScmError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M6U6UHFA.js";
|
|
5
5
|
import {
|
|
6
6
|
ROLE_DEFAULT_TRUST,
|
|
7
7
|
ReputationCache,
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
resolveEnvMode,
|
|
13
13
|
resolveReputationGatingMode,
|
|
14
14
|
sanitizeInput
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PB4SXWBA.js";
|
|
16
16
|
import {
|
|
17
17
|
hasToken
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WIBR5HMY.js";
|
|
19
19
|
import {
|
|
20
20
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
21
21
|
createLogger,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
getErrorMessage,
|
|
24
24
|
getTimeProvider,
|
|
25
25
|
ok
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YGOTLETF.js";
|
|
27
27
|
|
|
28
28
|
// src/security/firewall/firewall-policy-mode.ts
|
|
29
29
|
import { z } from "zod";
|
|
@@ -2650,4 +2650,4 @@ export {
|
|
|
2650
2650
|
IssueTriage,
|
|
2651
2651
|
createIssueTriage
|
|
2652
2652
|
};
|
|
2653
|
-
//# sourceMappingURL=chunk-
|
|
2653
|
+
//# sourceMappingURL=chunk-Z33AE45S.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-JHNS5FYV.js";
|
|
7
|
+
import "./chunk-YGOTLETF.js";
|
|
8
8
|
import "./chunk-4UHDDCRB.js";
|
|
9
9
|
import "./chunk-RNDHNRSX.js";
|
|
10
10
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
getCliCircuitBreakerSnapshot,
|
|
15
15
|
getDefaultCliCircuitBreakerRegistry
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=cli-circuit-breaker-
|
|
17
|
+
//# sourceMappingURL=cli-circuit-breaker-TOE7GRYI.js.map
|
package/dist/cli.js
CHANGED
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
parseExpertReview,
|
|
24
24
|
reviewPostingBlock,
|
|
25
25
|
sumFindings
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-7L6KI365.js";
|
|
27
|
+
import "./chunk-XLYTLQAT.js";
|
|
28
28
|
import {
|
|
29
29
|
runConfigInitSync
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-HSMW4KIV.js";
|
|
31
31
|
import {
|
|
32
32
|
AuthHandler,
|
|
33
33
|
CustomExpertDefinitionSchema,
|
|
@@ -155,11 +155,11 @@ import {
|
|
|
155
155
|
validateNexusEnv,
|
|
156
156
|
validateWorkflow,
|
|
157
157
|
wrapInMarkdownFence
|
|
158
|
-
} from "./chunk-
|
|
159
|
-
import "./chunk-
|
|
158
|
+
} from "./chunk-IKLDY3HI.js";
|
|
159
|
+
import "./chunk-3EK4V5JS.js";
|
|
160
160
|
import "./chunk-4GDMHCKX.js";
|
|
161
161
|
import "./chunk-7ETWTSTB.js";
|
|
162
|
-
import "./chunk-
|
|
162
|
+
import "./chunk-4RHGZLKP.js";
|
|
163
163
|
import {
|
|
164
164
|
CATEGORY_DISPLAY_NAMES,
|
|
165
165
|
DEFAULT_PR_REVIEW_CONFIG
|
|
@@ -175,11 +175,11 @@ import {
|
|
|
175
175
|
doctorCommand,
|
|
176
176
|
initDataDirectories,
|
|
177
177
|
runDoctor
|
|
178
|
-
} from "./chunk-
|
|
179
|
-
import "./chunk-
|
|
178
|
+
} from "./chunk-CDHUCQ44.js";
|
|
179
|
+
import "./chunk-GFFQHVSC.js";
|
|
180
180
|
import {
|
|
181
181
|
shutdownExpertBridge
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-P5BZ3DNM.js";
|
|
183
183
|
import {
|
|
184
184
|
ConsensusVoteInputSchema,
|
|
185
185
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
@@ -197,19 +197,19 @@ import {
|
|
|
197
197
|
registerConsensusVoteTool,
|
|
198
198
|
seatFallbacks,
|
|
199
199
|
toRecordDecision
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-ARWTQGSY.js";
|
|
201
201
|
import {
|
|
202
202
|
buildOpenAICompatAdapters,
|
|
203
203
|
readOpenAICompatEndpoint,
|
|
204
204
|
readOpenAICompatEnv
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-NL7I35TJ.js";
|
|
206
206
|
import {
|
|
207
207
|
allOf,
|
|
208
208
|
anyOf
|
|
209
209
|
} from "./chunk-OQB3XC5O.js";
|
|
210
210
|
import {
|
|
211
211
|
synthesizeResearch
|
|
212
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-KC3AZWVQ.js";
|
|
213
213
|
import {
|
|
214
214
|
DRAFT_REPLY_BODY_MAX_LENGTH,
|
|
215
215
|
configureUntrustedInputFirewall,
|
|
@@ -220,12 +220,12 @@ import {
|
|
|
220
220
|
runUntrustedInputFirewall,
|
|
221
221
|
validateActionCorroboration,
|
|
222
222
|
validateAgentAction
|
|
223
|
-
} from "./chunk-
|
|
224
|
-
import "./chunk-
|
|
223
|
+
} from "./chunk-Z33AE45S.js";
|
|
224
|
+
import "./chunk-M6U6UHFA.js";
|
|
225
225
|
import {
|
|
226
226
|
ReputationCache,
|
|
227
227
|
sanitizeInput
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-PB4SXWBA.js";
|
|
229
229
|
import {
|
|
230
230
|
ImprovementReviewInputSchema,
|
|
231
231
|
calculateFitnessScore,
|
|
@@ -239,7 +239,7 @@ import {
|
|
|
239
239
|
registerImprovementReviewTool,
|
|
240
240
|
runImprovementReview,
|
|
241
241
|
scanForSecrets
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-L3PGHZH7.js";
|
|
243
243
|
import {
|
|
244
244
|
createDefaultPolicyFirewall,
|
|
245
245
|
formatPolicyRolloutMode,
|
|
@@ -249,17 +249,17 @@ import {
|
|
|
249
249
|
setGlobalPolicyFirewall,
|
|
250
250
|
setSecureHandlerAuditLogger,
|
|
251
251
|
stagePolicyFirewallForRollout
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-K6VACGLH.js";
|
|
253
253
|
import {
|
|
254
254
|
NODE_ENGINE_RANGE,
|
|
255
255
|
VERSION,
|
|
256
256
|
isNodeVersionSupported
|
|
257
|
-
} from "./chunk-
|
|
257
|
+
} from "./chunk-ILGHDIYO.js";
|
|
258
258
|
import {
|
|
259
259
|
claimGlobalRegistry,
|
|
260
260
|
createUnifiedRegistry,
|
|
261
261
|
getGlobalRegistry
|
|
262
|
-
} from "./chunk-
|
|
262
|
+
} from "./chunk-FOODF33L.js";
|
|
263
263
|
import {
|
|
264
264
|
CodebaseIndexSchema,
|
|
265
265
|
PaperStatusSchema,
|
|
@@ -285,7 +285,7 @@ import {
|
|
|
285
285
|
loadSourcesRegistry,
|
|
286
286
|
rankDiscoveredItems,
|
|
287
287
|
saveSourcesRegistry
|
|
288
|
-
} from "./chunk-
|
|
288
|
+
} from "./chunk-WZRXZ6P2.js";
|
|
289
289
|
import {
|
|
290
290
|
getTsMorph
|
|
291
291
|
} from "./chunk-W654ME6B.js";
|
|
@@ -293,21 +293,21 @@ import {
|
|
|
293
293
|
loadPapersRegistry,
|
|
294
294
|
loadTechniquesRegistry,
|
|
295
295
|
savePapersRegistry
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-U33OOJOK.js";
|
|
297
297
|
import {
|
|
298
298
|
resolveToken
|
|
299
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-WIBR5HMY.js";
|
|
300
300
|
import {
|
|
301
301
|
MemoryError,
|
|
302
302
|
configureToolMemory,
|
|
303
303
|
shutdownToolMemory
|
|
304
|
-
} from "./chunk-
|
|
304
|
+
} from "./chunk-VYZRGIY5.js";
|
|
305
305
|
import {
|
|
306
306
|
capitalize,
|
|
307
307
|
capitalizeKebab,
|
|
308
308
|
truncateText
|
|
309
309
|
} from "./chunk-7LP6VJRP.js";
|
|
310
|
-
import "./chunk-
|
|
310
|
+
import "./chunk-QLYONNVR.js";
|
|
311
311
|
import {
|
|
312
312
|
BUILT_IN_EXPERTS
|
|
313
313
|
} from "./chunk-AHI43IQB.js";
|
|
@@ -321,34 +321,36 @@ import {
|
|
|
321
321
|
probeAllClis,
|
|
322
322
|
readSubprocessDepth,
|
|
323
323
|
safeJsonParse
|
|
324
|
-
} from "./chunk-
|
|
325
|
-
import "./chunk-
|
|
324
|
+
} from "./chunk-WKZSEYV7.js";
|
|
325
|
+
import "./chunk-7NLTUPYN.js";
|
|
326
326
|
import {
|
|
327
327
|
DEFAULTS
|
|
328
|
-
} from "./chunk-
|
|
328
|
+
} from "./chunk-Y2ARXXPF.js";
|
|
329
329
|
import {
|
|
330
330
|
hostnameOf,
|
|
331
331
|
warnDeprecatedGatewayEnvOnce
|
|
332
|
-
} from "./chunk-
|
|
332
|
+
} from "./chunk-B3PR26HR.js";
|
|
333
333
|
import {
|
|
334
334
|
getNexusTmpDir,
|
|
335
335
|
nexusMkdtempSync
|
|
336
336
|
} from "./chunk-HERI7LXN.js";
|
|
337
|
-
import "./chunk-
|
|
337
|
+
import "./chunk-PBXABL7H.js";
|
|
338
338
|
import "./chunk-2NDA4DHW.js";
|
|
339
339
|
import {
|
|
340
340
|
DEFAULT_EXECUTION_MODE
|
|
341
341
|
} from "./chunk-ECJ52NSK.js";
|
|
342
342
|
import "./chunk-QZUG667L.js";
|
|
343
|
-
import "./chunk-
|
|
343
|
+
import "./chunk-TYHKIUUX.js";
|
|
344
344
|
import {
|
|
345
345
|
getDefaultCliCircuitBreakerRegistry,
|
|
346
346
|
mapModelErrorToCategory
|
|
347
|
-
} from "./chunk-
|
|
347
|
+
} from "./chunk-JHNS5FYV.js";
|
|
348
348
|
import {
|
|
349
349
|
API_TIMEOUTS,
|
|
350
350
|
AgentCapability,
|
|
351
351
|
AgentError,
|
|
352
|
+
BANDIT_INTERCEPT_FEATURES,
|
|
353
|
+
BANDIT_INTERCEPT_NOTE,
|
|
352
354
|
CLI_NAMES,
|
|
353
355
|
CLI_SUBPROCESS_TIMEOUTS,
|
|
354
356
|
ConfigError,
|
|
@@ -387,6 +389,7 @@ import {
|
|
|
387
389
|
findModelsByInputModality,
|
|
388
390
|
findModelsByOutputModality,
|
|
389
391
|
findModelsByToolCapability,
|
|
392
|
+
formatBanditFeatureLabel,
|
|
390
393
|
formatCodeBlock,
|
|
391
394
|
formatCost,
|
|
392
395
|
formatDuration,
|
|
@@ -406,6 +409,7 @@ import {
|
|
|
406
409
|
getRandomProvider,
|
|
407
410
|
getTimeProvider,
|
|
408
411
|
getTuneAdjustmentStore,
|
|
412
|
+
isBanditInterceptFeature,
|
|
409
413
|
isDurableCapacityError,
|
|
410
414
|
isEndpointArmId,
|
|
411
415
|
isRateLimitLikeError,
|
|
@@ -433,7 +437,7 @@ import {
|
|
|
433
437
|
validateTimeout,
|
|
434
438
|
writeEmptyLine,
|
|
435
439
|
writeLine
|
|
436
|
-
} from "./chunk-
|
|
440
|
+
} from "./chunk-YGOTLETF.js";
|
|
437
441
|
import "./chunk-4UHDDCRB.js";
|
|
438
442
|
import {
|
|
439
443
|
applyPortableMode,
|
|
@@ -4530,7 +4534,7 @@ Provide a structured review with:
|
|
|
4530
4534
|
* (Source: Issue #828 — Wire policy gate into production pipeline)
|
|
4531
4535
|
*/
|
|
4532
4536
|
async postReviewToGitHub(provider, pr, result, context) {
|
|
4533
|
-
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-
|
|
4537
|
+
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-S53B7TYK.js");
|
|
4534
4538
|
const formattedBody = formatReviewComment2(result);
|
|
4535
4539
|
const body = truncateText(formattedBody, DRAFT_REPLY_BODY_MAX_LENGTH, "\u2026[review truncated]");
|
|
4536
4540
|
const sources = buildReviewCitations(pr.files);
|
|
@@ -5334,7 +5338,8 @@ function computeBanditStats(bandit) {
|
|
|
5334
5338
|
}));
|
|
5335
5339
|
return {
|
|
5336
5340
|
detailedArms,
|
|
5337
|
-
exploration: explorationStats
|
|
5341
|
+
exploration: explorationStats,
|
|
5342
|
+
interceptFeatures: BANDIT_INTERCEPT_FEATURES
|
|
5338
5343
|
};
|
|
5339
5344
|
}
|
|
5340
5345
|
function determineSelectedCli(deterministic, topsisSelectedModel, banditArmName) {
|
|
@@ -5534,16 +5539,22 @@ function formatExplorationSection(stats) {
|
|
|
5534
5539
|
function formatFeatureImportanceSection(stats) {
|
|
5535
5540
|
const lines = [];
|
|
5536
5541
|
lines.push(boxLine(color(" Feature Importance by Arm:", ANSI.bold), ANSI.yellow));
|
|
5542
|
+
let showedIntercept = false;
|
|
5537
5543
|
for (const arm of stats.detailedArms) {
|
|
5538
5544
|
lines.push(boxLine(` ${color(arm.cliName, ANSI.cyan)}:`, ANSI.yellow));
|
|
5539
5545
|
const top3 = arm.featureImportance.slice(0, 3);
|
|
5540
5546
|
for (const fi of top3) {
|
|
5541
5547
|
const pct2 = formatPercentage(fi.importance, 1);
|
|
5548
|
+
showedIntercept ||= isBanditInterceptFeature(fi.feature);
|
|
5549
|
+
const label = formatBanditFeatureLabel(fi.feature);
|
|
5542
5550
|
lines.push(
|
|
5543
|
-
color("\u2502", ANSI.yellow) + ` ${
|
|
5551
|
+
color("\u2502", ANSI.yellow) + ` ${label.padEnd(18)} ${pct2.padStart(6)}`.padEnd(BOX_WIDTH - 2) + color("\u2502", ANSI.yellow)
|
|
5544
5552
|
);
|
|
5545
5553
|
}
|
|
5546
5554
|
}
|
|
5555
|
+
if (showedIntercept) {
|
|
5556
|
+
lines.push(boxLine(` ${BANDIT_INTERCEPT_NOTE}`, ANSI.yellow));
|
|
5557
|
+
}
|
|
5547
5558
|
lines.push(color("\u2570" + horizontalLine() + "\u256F", ANSI.yellow));
|
|
5548
5559
|
return lines;
|
|
5549
5560
|
}
|
|
@@ -12209,7 +12220,7 @@ function probeGrammars(register, parse6, probes = GRAMMAR_PROBES) {
|
|
|
12209
12220
|
}
|
|
12210
12221
|
async function loadGrammarModules() {
|
|
12211
12222
|
const [{ ensurePolyglotLangs }, napi] = await Promise.all([
|
|
12212
|
-
import("./ast-rule-runner-
|
|
12223
|
+
import("./ast-rule-runner-GDCEI7BW.js"),
|
|
12213
12224
|
import("@ast-grep/napi")
|
|
12214
12225
|
]);
|
|
12215
12226
|
return { register: ensurePolyglotLangs, parse: napi.parse };
|
|
@@ -12720,7 +12731,8 @@ function computeBanditProgress(banditStats, explorationStats) {
|
|
|
12720
12731
|
totalPulls: explorationStats.totalPulls,
|
|
12721
12732
|
explorationRatio: explorationStats.explorationRatio,
|
|
12722
12733
|
armDistribution: armDistributionWithPercent,
|
|
12723
|
-
topFeatures
|
|
12734
|
+
topFeatures,
|
|
12735
|
+
interceptFeatures: BANDIT_INTERCEPT_FEATURES
|
|
12724
12736
|
};
|
|
12725
12737
|
}
|
|
12726
12738
|
function computeRewardTrend(routingMetrics) {
|
|
@@ -12854,7 +12866,11 @@ function formatFeatureImportance(features) {
|
|
|
12854
12866
|
for (const fi of features) {
|
|
12855
12867
|
const importance = formatPercentage(fi.importance, 1);
|
|
12856
12868
|
const arrow = fi.direction === "positive" ? color("\u2191", ANSI3.green) : color("\u2193", ANSI3.red);
|
|
12857
|
-
|
|
12869
|
+
const label = formatBanditFeatureLabel(fi.feature);
|
|
12870
|
+
lines.push(boxLine(` ${arrow} ${label.padEnd(20)} ${importance.padStart(6)}`));
|
|
12871
|
+
}
|
|
12872
|
+
if (features.some((fi) => isBanditInterceptFeature(fi.feature))) {
|
|
12873
|
+
lines.push(boxLine(` ${BANDIT_INTERCEPT_NOTE}`));
|
|
12858
12874
|
}
|
|
12859
12875
|
lines.push(color("\u251C" + horizontalLine() + "\u2524", ANSI3.cyan));
|
|
12860
12876
|
return lines;
|
|
@@ -19675,7 +19691,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19675
19691
|
let running = false;
|
|
19676
19692
|
const runOnce = async () => {
|
|
19677
19693
|
try {
|
|
19678
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19694
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-RL6VHCCY.js");
|
|
19679
19695
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19680
19696
|
const result = await runImprovementReview2(input, { logger: logger22 });
|
|
19681
19697
|
logger22.info("Scheduled improvement_review complete", {
|
|
@@ -21969,7 +21985,7 @@ function adaptConfigToLibrary(config) {
|
|
|
21969
21985
|
}
|
|
21970
21986
|
function createBeliefPromoter() {
|
|
21971
21987
|
return async (event) => {
|
|
21972
|
-
const { getToolMemory } = await import("./tool-memory-
|
|
21988
|
+
const { getToolMemory } = await import("./tool-memory-24PMDECK.js");
|
|
21973
21989
|
const tm = getToolMemory();
|
|
21974
21990
|
await tm.recordBelief(
|
|
21975
21991
|
`skill:${event.name}`,
|
|
@@ -22090,7 +22106,7 @@ function initializeAuditLogger(securityConfig, logger22) {
|
|
|
22090
22106
|
void 0,
|
|
22091
22107
|
logger22
|
|
22092
22108
|
);
|
|
22093
|
-
auditLogger.logSystemStartupBegin({ auditLogDir: logDir });
|
|
22109
|
+
auditLogger.logSystemStartupBegin({ auditLogDir: logDir, packageVersion: VERSION });
|
|
22094
22110
|
logger22.info("Audit logging enabled", { logDir });
|
|
22095
22111
|
return auditLogger;
|
|
22096
22112
|
}
|
|
@@ -22108,14 +22124,18 @@ async function shutdownAuditLogger(auditLogger, logger22) {
|
|
|
22108
22124
|
}
|
|
22109
22125
|
}
|
|
22110
22126
|
function recordStartupComplete(auditLogger, mode) {
|
|
22111
|
-
auditLogger?.logSystemStartup({ mode });
|
|
22127
|
+
auditLogger?.logSystemStartup({ mode, packageVersion: VERSION });
|
|
22112
22128
|
}
|
|
22113
22129
|
async function recordStartupFailure(auditLogger, step, run) {
|
|
22114
22130
|
try {
|
|
22115
22131
|
return await run();
|
|
22116
22132
|
} catch (error) {
|
|
22117
22133
|
auditLogger?.logSystemStartup(
|
|
22118
|
-
{
|
|
22134
|
+
{
|
|
22135
|
+
failedAt: step,
|
|
22136
|
+
error: error instanceof Error ? error.message : String(error),
|
|
22137
|
+
packageVersion: VERSION
|
|
22138
|
+
},
|
|
22119
22139
|
"failure"
|
|
22120
22140
|
);
|
|
22121
22141
|
throw error;
|
|
@@ -23196,7 +23216,7 @@ async function handleResearchCommand(args) {
|
|
|
23196
23216
|
}
|
|
23197
23217
|
}
|
|
23198
23218
|
async function handleRegistryCommand(args) {
|
|
23199
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
23219
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-TWHRKWDB.js");
|
|
23200
23220
|
const subcommand = args.subcommand;
|
|
23201
23221
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
23202
23222
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -23244,12 +23264,12 @@ async function handleVerifyCommand(args) {
|
|
|
23244
23264
|
async function handleDoctorCommand(args) {
|
|
23245
23265
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
23246
23266
|
if (args.options.deep) {
|
|
23247
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
23267
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-LMEUFKDA.js");
|
|
23248
23268
|
const diag = runDeepDiagnostics2();
|
|
23249
23269
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
23250
23270
|
}
|
|
23251
23271
|
if (args.options.live) {
|
|
23252
|
-
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-
|
|
23272
|
+
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-O25NTC5D.js");
|
|
23253
23273
|
const report = await runLiveReadiness();
|
|
23254
23274
|
process.stdout.write(formatLiveReadiness(report) + "\n");
|
|
23255
23275
|
if (report.some((r) => r.levels.serves.status === "failed")) {
|
|
@@ -23982,7 +24002,7 @@ async function runInitPortableFlow(args) {
|
|
|
23982
24002
|
return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
23983
24003
|
}
|
|
23984
24004
|
async function runInitOpencodeFlow(args) {
|
|
23985
|
-
const { runInitOpencode } = await import("./init-opencode-
|
|
24005
|
+
const { runInitOpencode } = await import("./init-opencode-RMMHBIQ2.js");
|
|
23986
24006
|
const opencodePath = args.options.opencode;
|
|
23987
24007
|
if (opencodePath === void 0 || opencodePath === "") {
|
|
23988
24008
|
process.stderr.write("Error: --opencode requires a path argument.\n");
|
|
@@ -24008,7 +24028,7 @@ async function runInitOpencodeFlow(args) {
|
|
|
24008
24028
|
return cliExit(EXIT_CODES.SUCCESS);
|
|
24009
24029
|
}
|
|
24010
24030
|
async function renderOpencodeValidate(opencodePath) {
|
|
24011
|
-
const { runOpencodeValidate } = await import("./init-opencode-
|
|
24031
|
+
const { runOpencodeValidate } = await import("./init-opencode-RMMHBIQ2.js");
|
|
24012
24032
|
const result = await runOpencodeValidate(opencodePath);
|
|
24013
24033
|
if (!result.ok) {
|
|
24014
24034
|
process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
|
|
@@ -24047,7 +24067,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
24047
24067
|
return cliExitFromStatus(exitCode);
|
|
24048
24068
|
}
|
|
24049
24069
|
async function runCustomApiSetup(args) {
|
|
24050
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
24070
|
+
const { configureCustomApi } = await import("./setup-custom-api-LRL6J7RN.js");
|
|
24051
24071
|
const baseUrl = args.options.customApi;
|
|
24052
24072
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
24053
24073
|
const input = {
|