nexus-agents 8.76.2 → 8.77.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-BXBBL5G7.js → ast-rule-runner-U5N43D4U.js} +3 -3
- package/dist/{child-mcp-config-3IELNFHI.js → child-mcp-config-IRZHH2TU.js} +2 -2
- package/dist/{chunk-UF3BNMOV.js → chunk-33HHRRKZ.js} +34 -31
- package/dist/chunk-33HHRRKZ.js.map +1 -0
- package/dist/{chunk-A6QRKIGL.js → chunk-4FDESAVV.js} +3 -3
- package/dist/{chunk-WFHUSSKZ.js → chunk-5CIP4EWI.js} +21 -5
- package/dist/chunk-5CIP4EWI.js.map +1 -0
- package/dist/{chunk-PE4QQAAY.js → chunk-5XAJU5ZV.js} +44 -36
- package/dist/chunk-5XAJU5ZV.js.map +1 -0
- package/dist/{chunk-IDPA4X6J.js → chunk-6IUAMO5M.js} +3 -3
- package/dist/{chunk-T52Y554H.js → chunk-7RCC7WGS.js} +2 -2
- package/dist/{chunk-CAIJB3CO.js → chunk-ACXBBUW3.js} +72 -5
- package/dist/chunk-ACXBBUW3.js.map +1 -0
- package/dist/{chunk-NBTG2OQC.js → chunk-AE2U6NUZ.js} +2 -2
- package/dist/{chunk-ZVQ2Q7OM.js → chunk-AVEDKF3J.js} +2 -2
- package/dist/{chunk-IPI4I2UW.js → chunk-CMZPHXDH.js} +2 -2
- package/dist/{chunk-MSPYAOAU.js → chunk-DWQ7TG5L.js} +2 -2
- package/dist/{chunk-6E3DFUYA.js → chunk-EMWRUQQS.js} +5 -5
- package/dist/{chunk-T6W3N3N3.js → chunk-F7R2E74V.js} +2 -2
- package/dist/{chunk-PJZQQYLJ.js → chunk-GHNHZSDW.js} +7 -7
- package/dist/{chunk-BAGUYKZL.js → chunk-GS5OJHJJ.js} +34 -12
- package/dist/chunk-GS5OJHJJ.js.map +1 -0
- package/dist/{chunk-F76Y5QXV.js → chunk-I2MSRFXZ.js} +9 -9
- package/dist/{chunk-VFTP7WSH.js → chunk-J76ZM6QF.js} +2 -2
- package/dist/{chunk-AONC4VYB.js → chunk-LIVTFARG.js} +2 -2
- package/dist/{chunk-J527NA52.js → chunk-LZGSWYDX.js} +3 -3
- package/dist/{chunk-MRGBENPM.js → chunk-NEIPHVTA.js} +2 -2
- package/dist/{chunk-CMG3P6OI.js → chunk-PSCY6MSD.js} +4 -4
- package/dist/{chunk-RC4ZQ4ZE.js → chunk-Q6JZQWQB.js} +28 -31
- package/dist/chunk-Q6JZQWQB.js.map +1 -0
- package/dist/{chunk-EVBLCOEN.js → chunk-QBZ6DBJL.js} +2 -2
- package/dist/{chunk-AWCSYKUR.js → chunk-QNRB5U7W.js} +2 -2
- package/dist/{chunk-FRHYZJGC.js → chunk-SKAPTWVH.js} +3 -3
- package/dist/{chunk-2P4HP2A6.js → chunk-T63EIQYI.js} +2 -2
- package/dist/{chunk-FMAJIIXZ.js → chunk-UNPDTD6N.js} +2 -2
- package/dist/{chunk-GOXBEH6M.js → chunk-VFFG3HIY.js} +2 -2
- package/dist/{chunk-G744HQMZ.js → chunk-VIVM7X76.js} +5 -5
- package/dist/{chunk-MCRMY7K7.js → chunk-WABZQ477.js} +4 -4
- package/dist/{chunk-VKLUJZQV.js → chunk-WUN3IB3T.js} +2 -2
- package/dist/{chunk-MSSRXYMZ.js → chunk-XQ34WJOM.js} +2 -2
- package/dist/{chunk-NOSQXAW3.js → chunk-YUDJV6JF.js} +4 -4
- package/dist/{cli-circuit-breaker-H5CESPLC.js → cli-circuit-breaker-DJU6WTWT.js} +3 -3
- package/dist/cli.js +48 -44
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-DSYVXQ7C.js → composite-router-F3D2QRHI.js} +2 -2
- package/dist/{consensus-vote-OKA2PL74.js → consensus-vote-7JRI7YF6.js} +16 -16
- package/dist/{context-retriever-C5KY23EG.js → context-retriever-J24ZMIZG.js} +8 -8
- package/dist/{doctor-deep-LBPZXYN4.js → doctor-deep-WWOPRJJS.js} +3 -3
- package/dist/{doctor-live-QAT3FLUJ.js → doctor-live-55CKYQ6V.js} +10 -10
- package/dist/{expert-bridge-F7V2AXUD.js → expert-bridge-5MFBN4ZW.js} +4 -4
- package/dist/{factory-MZTDIMCP.js → factory-3ZA63QDH.js} +9 -9
- package/dist/{factory-ECJNRE2W.js → factory-TXEYHBQV.js} +5 -5
- package/dist/{improvement-review-UEVIATKC.js → improvement-review-JVI3RM7I.js} +5 -5
- package/dist/index.d.ts +55 -2
- package/dist/index.js +30 -30
- package/dist/{init-opencode-WXEXOV6X.js → init-opencode-R5JTQZG5.js} +5 -5
- package/dist/issue-triage-6KIGFUFJ.js +16 -0
- package/dist/{pr-reviewer-helpers-VRPD3CNI.js → pr-reviewer-helpers-HRM74BLX.js} +4 -4
- package/dist/{registry-command-JZLWVBLG.js → registry-command-ZPKPR6WV.js} +2 -2
- package/dist/{repo-security-plan-IS65FSZF.js → repo-security-plan-LXKTNEGB.js} +3 -3
- package/dist/{research-helpers-synthesize-TLZPEOAU.js → research-helpers-synthesize-FZLLZSJM.js} +4 -4
- package/dist/{routing-memory-YHEH7ULH.js → routing-memory-35Z7UVYC.js} +2 -2
- package/dist/{session-memory-5MD3ZFJX.js → session-memory-G7VGV2SC.js} +3 -3
- package/dist/{setup-config-RFOBGXUH.js → setup-config-KLKXB2LM.js} +3 -3
- package/dist/{setup-custom-api-DKXRZY4C.js → setup-custom-api-TJMRUQFK.js} +14 -11
- package/dist/setup-custom-api-TJMRUQFK.js.map +1 -0
- package/dist/setup-data-dir-VCSQTZ6L.js +30 -0
- package/dist/{tool-memory-HCCMGPVI.js → tool-memory-65MWYDEP.js} +5 -5
- package/dist/{unified-registry-3TWHRO5L.js → unified-registry-2HCLBGWM.js} +10 -10
- package/dist/{weather-report-MGOA7OOC.js → weather-report-RMRBC6LH.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-BAGUYKZL.js.map +0 -1
- package/dist/chunk-CAIJB3CO.js.map +0 -1
- package/dist/chunk-PE4QQAAY.js.map +0 -1
- package/dist/chunk-RC4ZQ4ZE.js.map +0 -1
- package/dist/chunk-UF3BNMOV.js.map +0 -1
- package/dist/chunk-WFHUSSKZ.js.map +0 -1
- package/dist/issue-triage-OJZ275JY.js +0 -16
- package/dist/setup-custom-api-DKXRZY4C.js.map +0 -1
- package/dist/setup-data-dir-JXSO4FDY.js +0 -30
- /package/dist/{ast-rule-runner-BXBBL5G7.js.map → ast-rule-runner-U5N43D4U.js.map} +0 -0
- /package/dist/{child-mcp-config-3IELNFHI.js.map → child-mcp-config-IRZHH2TU.js.map} +0 -0
- /package/dist/{chunk-A6QRKIGL.js.map → chunk-4FDESAVV.js.map} +0 -0
- /package/dist/{chunk-IDPA4X6J.js.map → chunk-6IUAMO5M.js.map} +0 -0
- /package/dist/{chunk-T52Y554H.js.map → chunk-7RCC7WGS.js.map} +0 -0
- /package/dist/{chunk-NBTG2OQC.js.map → chunk-AE2U6NUZ.js.map} +0 -0
- /package/dist/{chunk-ZVQ2Q7OM.js.map → chunk-AVEDKF3J.js.map} +0 -0
- /package/dist/{chunk-IPI4I2UW.js.map → chunk-CMZPHXDH.js.map} +0 -0
- /package/dist/{chunk-MSPYAOAU.js.map → chunk-DWQ7TG5L.js.map} +0 -0
- /package/dist/{chunk-6E3DFUYA.js.map → chunk-EMWRUQQS.js.map} +0 -0
- /package/dist/{chunk-T6W3N3N3.js.map → chunk-F7R2E74V.js.map} +0 -0
- /package/dist/{chunk-PJZQQYLJ.js.map → chunk-GHNHZSDW.js.map} +0 -0
- /package/dist/{chunk-F76Y5QXV.js.map → chunk-I2MSRFXZ.js.map} +0 -0
- /package/dist/{chunk-VFTP7WSH.js.map → chunk-J76ZM6QF.js.map} +0 -0
- /package/dist/{chunk-AONC4VYB.js.map → chunk-LIVTFARG.js.map} +0 -0
- /package/dist/{chunk-J527NA52.js.map → chunk-LZGSWYDX.js.map} +0 -0
- /package/dist/{chunk-MRGBENPM.js.map → chunk-NEIPHVTA.js.map} +0 -0
- /package/dist/{chunk-CMG3P6OI.js.map → chunk-PSCY6MSD.js.map} +0 -0
- /package/dist/{chunk-EVBLCOEN.js.map → chunk-QBZ6DBJL.js.map} +0 -0
- /package/dist/{chunk-AWCSYKUR.js.map → chunk-QNRB5U7W.js.map} +0 -0
- /package/dist/{chunk-FRHYZJGC.js.map → chunk-SKAPTWVH.js.map} +0 -0
- /package/dist/{chunk-2P4HP2A6.js.map → chunk-T63EIQYI.js.map} +0 -0
- /package/dist/{chunk-FMAJIIXZ.js.map → chunk-UNPDTD6N.js.map} +0 -0
- /package/dist/{chunk-GOXBEH6M.js.map → chunk-VFFG3HIY.js.map} +0 -0
- /package/dist/{chunk-G744HQMZ.js.map → chunk-VIVM7X76.js.map} +0 -0
- /package/dist/{chunk-MCRMY7K7.js.map → chunk-WABZQ477.js.map} +0 -0
- /package/dist/{chunk-VKLUJZQV.js.map → chunk-WUN3IB3T.js.map} +0 -0
- /package/dist/{chunk-MSSRXYMZ.js.map → chunk-XQ34WJOM.js.map} +0 -0
- /package/dist/{chunk-NOSQXAW3.js.map → chunk-YUDJV6JF.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-H5CESPLC.js.map → cli-circuit-breaker-DJU6WTWT.js.map} +0 -0
- /package/dist/{composite-router-DSYVXQ7C.js.map → composite-router-F3D2QRHI.js.map} +0 -0
- /package/dist/{consensus-vote-OKA2PL74.js.map → consensus-vote-7JRI7YF6.js.map} +0 -0
- /package/dist/{context-retriever-C5KY23EG.js.map → context-retriever-J24ZMIZG.js.map} +0 -0
- /package/dist/{doctor-deep-LBPZXYN4.js.map → doctor-deep-WWOPRJJS.js.map} +0 -0
- /package/dist/{doctor-live-QAT3FLUJ.js.map → doctor-live-55CKYQ6V.js.map} +0 -0
- /package/dist/{expert-bridge-F7V2AXUD.js.map → expert-bridge-5MFBN4ZW.js.map} +0 -0
- /package/dist/{factory-ECJNRE2W.js.map → factory-3ZA63QDH.js.map} +0 -0
- /package/dist/{factory-MZTDIMCP.js.map → factory-TXEYHBQV.js.map} +0 -0
- /package/dist/{improvement-review-UEVIATKC.js.map → improvement-review-JVI3RM7I.js.map} +0 -0
- /package/dist/{init-opencode-WXEXOV6X.js.map → init-opencode-R5JTQZG5.js.map} +0 -0
- /package/dist/{issue-triage-OJZ275JY.js.map → issue-triage-6KIGFUFJ.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-VRPD3CNI.js.map → pr-reviewer-helpers-HRM74BLX.js.map} +0 -0
- /package/dist/{registry-command-JZLWVBLG.js.map → registry-command-ZPKPR6WV.js.map} +0 -0
- /package/dist/{repo-security-plan-IS65FSZF.js.map → repo-security-plan-LXKTNEGB.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-TLZPEOAU.js.map → research-helpers-synthesize-FZLLZSJM.js.map} +0 -0
- /package/dist/{routing-memory-YHEH7ULH.js.map → routing-memory-35Z7UVYC.js.map} +0 -0
- /package/dist/{session-memory-5MD3ZFJX.js.map → session-memory-G7VGV2SC.js.map} +0 -0
- /package/dist/{setup-config-RFOBGXUH.js.map → setup-config-KLKXB2LM.js.map} +0 -0
- /package/dist/{setup-data-dir-JXSO4FDY.js.map → setup-data-dir-VCSQTZ6L.js.map} +0 -0
- /package/dist/{tool-memory-HCCMGPVI.js.map → tool-memory-65MWYDEP.js.map} +0 -0
- /package/dist/{unified-registry-3TWHRO5L.js.map → unified-registry-2HCLBGWM.js.map} +0 -0
- /package/dist/{weather-report-MGOA7OOC.js.map → weather-report-RMRBC6LH.js.map} +0 -0
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-SKAPTWVH.js";
|
|
27
|
+
import "./chunk-T63EIQYI.js";
|
|
28
28
|
import {
|
|
29
29
|
runConfigInitSync
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-UNPDTD6N.js";
|
|
31
31
|
import {
|
|
32
32
|
AuthHandler,
|
|
33
33
|
CustomExpertDefinitionSchema,
|
|
@@ -156,11 +156,11 @@ import {
|
|
|
156
156
|
validateNexusEnv,
|
|
157
157
|
validateWorkflow,
|
|
158
158
|
wrapInMarkdownFence
|
|
159
|
-
} from "./chunk-
|
|
160
|
-
import "./chunk-
|
|
159
|
+
} from "./chunk-5XAJU5ZV.js";
|
|
160
|
+
import "./chunk-AVEDKF3J.js";
|
|
161
161
|
import "./chunk-4GDMHCKX.js";
|
|
162
162
|
import "./chunk-7ETWTSTB.js";
|
|
163
|
-
import "./chunk-
|
|
163
|
+
import "./chunk-LIVTFARG.js";
|
|
164
164
|
import {
|
|
165
165
|
CATEGORY_DISPLAY_NAMES,
|
|
166
166
|
DEFAULT_PR_REVIEW_CONFIG
|
|
@@ -176,11 +176,11 @@ import {
|
|
|
176
176
|
doctorCommand,
|
|
177
177
|
initDataDirectories,
|
|
178
178
|
runDoctor
|
|
179
|
-
} from "./chunk-
|
|
180
|
-
import "./chunk-
|
|
179
|
+
} from "./chunk-GS5OJHJJ.js";
|
|
180
|
+
import "./chunk-DWQ7TG5L.js";
|
|
181
181
|
import {
|
|
182
182
|
shutdownExpertBridge
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-GHNHZSDW.js";
|
|
184
184
|
import {
|
|
185
185
|
ConsensusVoteInputSchema,
|
|
186
186
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
@@ -198,19 +198,19 @@ import {
|
|
|
198
198
|
registerConsensusVoteTool,
|
|
199
199
|
seatFallbacks,
|
|
200
200
|
toRecordDecision
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-I2MSRFXZ.js";
|
|
202
202
|
import {
|
|
203
203
|
buildOpenAICompatAdapters,
|
|
204
204
|
readOpenAICompatEndpoint,
|
|
205
205
|
readOpenAICompatEnv
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-Q6JZQWQB.js";
|
|
207
207
|
import {
|
|
208
208
|
allOf,
|
|
209
209
|
anyOf
|
|
210
210
|
} from "./chunk-OQB3XC5O.js";
|
|
211
211
|
import {
|
|
212
212
|
synthesizeResearch
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-4FDESAVV.js";
|
|
214
214
|
import {
|
|
215
215
|
DRAFT_REPLY_BODY_MAX_LENGTH,
|
|
216
216
|
configureUntrustedInputFirewall,
|
|
@@ -221,12 +221,12 @@ import {
|
|
|
221
221
|
runUntrustedInputFirewall,
|
|
222
222
|
validateAgentAction,
|
|
223
223
|
validateCorroboration
|
|
224
|
-
} from "./chunk-
|
|
225
|
-
import "./chunk-
|
|
224
|
+
} from "./chunk-VIVM7X76.js";
|
|
225
|
+
import "./chunk-VFFG3HIY.js";
|
|
226
226
|
import {
|
|
227
227
|
ReputationCache,
|
|
228
228
|
sanitizeInput
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-F7R2E74V.js";
|
|
230
230
|
import {
|
|
231
231
|
ImprovementReviewInputSchema,
|
|
232
232
|
calculateFitnessScore,
|
|
@@ -240,23 +240,23 @@ import {
|
|
|
240
240
|
registerImprovementReviewTool,
|
|
241
241
|
runImprovementReview,
|
|
242
242
|
scanForSecrets
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-6IUAMO5M.js";
|
|
244
244
|
import {
|
|
245
245
|
createDefaultPolicyFirewall,
|
|
246
246
|
setGlobalPolicyFirewall,
|
|
247
247
|
setSecureHandlerAuditLogger,
|
|
248
248
|
stagePolicyFirewallForRollout
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-LZGSWYDX.js";
|
|
250
250
|
import {
|
|
251
251
|
NODE_ENGINE_RANGE,
|
|
252
252
|
VERSION,
|
|
253
253
|
isNodeVersionSupported
|
|
254
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-QBZ6DBJL.js";
|
|
255
255
|
import {
|
|
256
256
|
claimGlobalRegistry,
|
|
257
257
|
createUnifiedRegistry,
|
|
258
258
|
getGlobalRegistry
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-PSCY6MSD.js";
|
|
260
260
|
import {
|
|
261
261
|
CodebaseIndexSchema,
|
|
262
262
|
PaperStatusSchema,
|
|
@@ -282,7 +282,7 @@ import {
|
|
|
282
282
|
loadSourcesRegistry,
|
|
283
283
|
rankDiscoveredItems,
|
|
284
284
|
saveSourcesRegistry
|
|
285
|
-
} from "./chunk-
|
|
285
|
+
} from "./chunk-EMWRUQQS.js";
|
|
286
286
|
import {
|
|
287
287
|
getTsMorph
|
|
288
288
|
} from "./chunk-W654ME6B.js";
|
|
@@ -290,21 +290,21 @@ import {
|
|
|
290
290
|
loadPapersRegistry,
|
|
291
291
|
loadTechniquesRegistry,
|
|
292
292
|
savePapersRegistry
|
|
293
|
-
} from "./chunk-
|
|
293
|
+
} from "./chunk-NEIPHVTA.js";
|
|
294
294
|
import {
|
|
295
295
|
resolveToken
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-CMZPHXDH.js";
|
|
297
297
|
import {
|
|
298
298
|
MemoryError,
|
|
299
299
|
configureToolMemory,
|
|
300
300
|
shutdownToolMemory
|
|
301
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-YUDJV6JF.js";
|
|
302
302
|
import {
|
|
303
303
|
capitalize,
|
|
304
304
|
capitalizeKebab,
|
|
305
305
|
truncateText
|
|
306
306
|
} from "./chunk-7LP6VJRP.js";
|
|
307
|
-
import "./chunk-
|
|
307
|
+
import "./chunk-AE2U6NUZ.js";
|
|
308
308
|
import {
|
|
309
309
|
BUILT_IN_EXPERTS
|
|
310
310
|
} from "./chunk-AHI43IQB.js";
|
|
@@ -318,23 +318,26 @@ import {
|
|
|
318
318
|
probeAllClis,
|
|
319
319
|
readSubprocessDepth,
|
|
320
320
|
safeJsonParse
|
|
321
|
-
} from "./chunk-
|
|
322
|
-
import "./chunk-
|
|
321
|
+
} from "./chunk-33HHRRKZ.js";
|
|
322
|
+
import "./chunk-XQ34WJOM.js";
|
|
323
323
|
import {
|
|
324
324
|
DEFAULTS
|
|
325
|
-
} from "./chunk-
|
|
326
|
-
import
|
|
325
|
+
} from "./chunk-WUN3IB3T.js";
|
|
326
|
+
import {
|
|
327
|
+
hostnameOf,
|
|
328
|
+
warnDeprecatedGatewayEnvOnce
|
|
329
|
+
} from "./chunk-ACXBBUW3.js";
|
|
327
330
|
import {
|
|
328
331
|
getNexusTmpDir,
|
|
329
332
|
nexusMkdtempSync
|
|
330
333
|
} from "./chunk-HERI7LXN.js";
|
|
331
|
-
import "./chunk-
|
|
334
|
+
import "./chunk-J76ZM6QF.js";
|
|
332
335
|
import "./chunk-QZUG667L.js";
|
|
333
|
-
import "./chunk-
|
|
336
|
+
import "./chunk-QNRB5U7W.js";
|
|
334
337
|
import {
|
|
335
338
|
getDefaultCliCircuitBreakerRegistry,
|
|
336
339
|
mapModelErrorToCategory
|
|
337
|
-
} from "./chunk-
|
|
340
|
+
} from "./chunk-7RCC7WGS.js";
|
|
338
341
|
import {
|
|
339
342
|
API_TIMEOUTS,
|
|
340
343
|
AgentCapability,
|
|
@@ -422,7 +425,7 @@ import {
|
|
|
422
425
|
validateTimeout,
|
|
423
426
|
writeEmptyLine,
|
|
424
427
|
writeLine
|
|
425
|
-
} from "./chunk-
|
|
428
|
+
} from "./chunk-5CIP4EWI.js";
|
|
426
429
|
import "./chunk-4UHDDCRB.js";
|
|
427
430
|
import {
|
|
428
431
|
applyPortableMode,
|
|
@@ -4572,7 +4575,7 @@ Provide a structured review with:
|
|
|
4572
4575
|
* (Source: Issue #828 — Wire policy gate into production pipeline)
|
|
4573
4576
|
*/
|
|
4574
4577
|
async postReviewToGitHub(provider, pr, result, gateDecision, reputation) {
|
|
4575
|
-
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-
|
|
4578
|
+
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-HRM74BLX.js");
|
|
4576
4579
|
const formattedBody = formatReviewComment2(result);
|
|
4577
4580
|
const body = truncateText(formattedBody, DRAFT_REPLY_BODY_MAX_LENGTH, "\u2026[review truncated]");
|
|
4578
4581
|
const sources = buildReviewCitations(pr.files);
|
|
@@ -12244,7 +12247,7 @@ function probeGrammars(register, parse6, probes = GRAMMAR_PROBES) {
|
|
|
12244
12247
|
}
|
|
12245
12248
|
async function loadGrammarModules() {
|
|
12246
12249
|
const [{ ensurePolyglotLangs }, napi] = await Promise.all([
|
|
12247
|
-
import("./ast-rule-runner-
|
|
12250
|
+
import("./ast-rule-runner-U5N43D4U.js"),
|
|
12248
12251
|
import("@ast-grep/napi")
|
|
12249
12252
|
]);
|
|
12250
12253
|
return { register: ensurePolyglotLangs, parse: napi.parse };
|
|
@@ -19710,7 +19713,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19710
19713
|
let running = false;
|
|
19711
19714
|
const runOnce = async () => {
|
|
19712
19715
|
try {
|
|
19713
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19716
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-JVI3RM7I.js");
|
|
19714
19717
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19715
19718
|
const result = await runImprovementReview2(input, { logger: logger22 });
|
|
19716
19719
|
logger22.info("Scheduled improvement_review complete", {
|
|
@@ -20994,6 +20997,7 @@ var GatewayArmAdapter = class {
|
|
|
20994
20997
|
|
|
20995
20998
|
// src/cli-server-gateway.ts
|
|
20996
20999
|
async function tryWireGatewayAdapters(logger22) {
|
|
21000
|
+
warnDeprecatedGatewayEnvOnce(process.env, logger22);
|
|
20997
21001
|
const sandboxActive = detectSandbox().active;
|
|
20998
21002
|
const env2 = readOpenAICompatEnv();
|
|
20999
21003
|
if (env2 === null) {
|
|
@@ -21017,7 +21021,7 @@ async function tryWireGatewayAdapters(logger22) {
|
|
|
21017
21021
|
return void 0;
|
|
21018
21022
|
}
|
|
21019
21023
|
logger22.info("OpenAI-compatible gateway wired", {
|
|
21020
|
-
|
|
21024
|
+
host: hostnameOf(env2.baseUrl),
|
|
21021
21025
|
modelCount: result.value.length,
|
|
21022
21026
|
models: result.value.map((a) => a.modelId)
|
|
21023
21027
|
});
|
|
@@ -21996,7 +22000,7 @@ function adaptConfigToLibrary(config) {
|
|
|
21996
22000
|
}
|
|
21997
22001
|
function createBeliefPromoter() {
|
|
21998
22002
|
return async (event) => {
|
|
21999
|
-
const { getToolMemory } = await import("./tool-memory-
|
|
22003
|
+
const { getToolMemory } = await import("./tool-memory-65MWYDEP.js");
|
|
22000
22004
|
const tm = getToolMemory();
|
|
22001
22005
|
await tm.recordBelief(
|
|
22002
22006
|
`skill:${event.name}`,
|
|
@@ -23270,7 +23274,7 @@ async function handleResearchCommand(args) {
|
|
|
23270
23274
|
}
|
|
23271
23275
|
}
|
|
23272
23276
|
async function handleRegistryCommand(args) {
|
|
23273
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
23277
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-ZPKPR6WV.js");
|
|
23274
23278
|
const subcommand = args.subcommand;
|
|
23275
23279
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
23276
23280
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -23318,12 +23322,12 @@ async function handleVerifyCommand(args) {
|
|
|
23318
23322
|
async function handleDoctorCommand(args) {
|
|
23319
23323
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
23320
23324
|
if (args.options.deep) {
|
|
23321
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
23325
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-WWOPRJJS.js");
|
|
23322
23326
|
const diag = runDeepDiagnostics2();
|
|
23323
23327
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
23324
23328
|
}
|
|
23325
23329
|
if (args.options.live) {
|
|
23326
|
-
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-
|
|
23330
|
+
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-55CKYQ6V.js");
|
|
23327
23331
|
const report = await runLiveReadiness();
|
|
23328
23332
|
process.stdout.write(formatLiveReadiness(report) + "\n");
|
|
23329
23333
|
if (report.some((r) => r.levels.serves.status === "failed")) {
|
|
@@ -24056,7 +24060,7 @@ async function runInitPortableFlow(args) {
|
|
|
24056
24060
|
return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
24057
24061
|
}
|
|
24058
24062
|
async function runInitOpencodeFlow(args) {
|
|
24059
|
-
const { runInitOpencode } = await import("./init-opencode-
|
|
24063
|
+
const { runInitOpencode } = await import("./init-opencode-R5JTQZG5.js");
|
|
24060
24064
|
const opencodePath = args.options.opencode;
|
|
24061
24065
|
if (opencodePath === void 0 || opencodePath === "") {
|
|
24062
24066
|
process.stderr.write("Error: --opencode requires a path argument.\n");
|
|
@@ -24082,7 +24086,7 @@ async function runInitOpencodeFlow(args) {
|
|
|
24082
24086
|
return cliExit(EXIT_CODES.SUCCESS);
|
|
24083
24087
|
}
|
|
24084
24088
|
async function renderOpencodeValidate(opencodePath) {
|
|
24085
|
-
const { runOpencodeValidate } = await import("./init-opencode-
|
|
24089
|
+
const { runOpencodeValidate } = await import("./init-opencode-R5JTQZG5.js");
|
|
24086
24090
|
const result = await runOpencodeValidate(opencodePath);
|
|
24087
24091
|
if (!result.ok) {
|
|
24088
24092
|
process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
|
|
@@ -24121,7 +24125,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
24121
24125
|
return cliExitFromStatus(exitCode);
|
|
24122
24126
|
}
|
|
24123
24127
|
async function runCustomApiSetup(args) {
|
|
24124
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
24128
|
+
const { configureCustomApi } = await import("./setup-custom-api-TJMRUQFK.js");
|
|
24125
24129
|
const baseUrl = args.options.customApi;
|
|
24126
24130
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
24127
24131
|
const input = {
|
|
@@ -24137,7 +24141,7 @@ async function runCustomApiSetup(args) {
|
|
|
24137
24141
|
return EXIT_CODES.SERVER_START_FAILED;
|
|
24138
24142
|
}
|
|
24139
24143
|
const { baseUrl: canonical, model, probeSucceeded, shellFragment } = result.value;
|
|
24140
|
-
process.stdout.write(`\u2713 Gateway validated: ${canonical}
|
|
24144
|
+
process.stdout.write(`\u2713 Gateway validated: ${hostnameOf(canonical)}
|
|
24141
24145
|
`);
|
|
24142
24146
|
process.stdout.write(`\u2713 Model: ${model}
|
|
24143
24147
|
`);
|