nexus-agents 6.3.6 → 6.3.7
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-HGD32ADZ.js → child-mcp-config-LFYYHUGS.js} +2 -2
- package/dist/{chunk-NB2HJMDW.js → chunk-2XQWOM45.js} +3 -3
- package/dist/{chunk-ITB2NBB7.js → chunk-3FVDZVHH.js} +6 -6
- package/dist/{chunk-BE6FQ7XI.js → chunk-3GMPJYT4.js} +2 -2
- package/dist/{chunk-FQQYGPMC.js → chunk-5UAZH43I.js} +2 -2
- package/dist/{chunk-Z2EUE6E6.js → chunk-62AZXBVP.js} +2 -2
- package/dist/{chunk-A56ECFMH.js → chunk-7RDIWG36.js} +35 -35
- package/dist/{chunk-5FHJAPIR.js → chunk-AASDZAZV.js} +2 -2
- package/dist/{chunk-LB4UH4FF.js → chunk-DGR76SIA.js} +26 -13
- package/dist/chunk-DGR76SIA.js.map +1 -0
- package/dist/{chunk-KYHZYRMR.js → chunk-FXIIOJVB.js} +2 -2
- package/dist/{chunk-JLE24ZSP.js → chunk-G3WXFKYJ.js} +2 -2
- package/dist/{chunk-GRLN6WL5.js → chunk-GBRPYQPS.js} +3 -3
- package/dist/{chunk-QZJR42BR.js → chunk-GDHGT5KD.js} +4 -4
- package/dist/{chunk-UCW7IIX6.js → chunk-GM2XCOCX.js} +2 -2
- package/dist/{chunk-NXHPOKIO.js → chunk-GVB4SDMJ.js} +4 -4
- package/dist/{chunk-ECHZGAZO.js → chunk-HIEGEDIH.js} +2 -2
- package/dist/{chunk-FMCAOKDU.js → chunk-IJWT67PX.js} +8 -8
- package/dist/{chunk-DVRABNYU.js → chunk-J3WENFBH.js} +4 -4
- package/dist/{chunk-LMIR62SG.js → chunk-KKU5WPDS.js} +2 -2
- package/dist/{chunk-R6YU33TY.js → chunk-MGFZE3G4.js} +8 -8
- package/dist/{chunk-LPBGCX6H.js → chunk-NNDJMR4B.js} +2 -2
- package/dist/{chunk-SPRQFHVR.js → chunk-NNQ5UNVC.js} +2 -2
- package/dist/{chunk-3FPHHCY5.js → chunk-O6RUN5DT.js} +4 -4
- package/dist/{chunk-E6LGFJQE.js → chunk-P4Q76KFZ.js} +2 -2
- package/dist/{chunk-CLIZCXWB.js → chunk-P5FDXBV5.js} +5 -5
- package/dist/chunk-PQ7R2F4Y.js +7 -0
- package/dist/{chunk-JLA2YAGY.js → chunk-QZJBOADH.js} +5 -5
- package/dist/{chunk-X5S5KKDS.js → chunk-RJTESNRY.js} +7 -7
- package/dist/{chunk-Q3DEXAOB.js → chunk-RTJ6SEII.js} +7 -7
- package/dist/{chunk-NQ2CC67G.js → chunk-RUR43YSR.js} +2 -2
- package/dist/{chunk-KNBIEADY.js → chunk-TYZGLBNL.js} +2 -2
- package/dist/{chunk-TOQVL64J.js → chunk-UQO5CUBJ.js} +3 -3
- package/dist/{chunk-Y5ATK7BS.js → chunk-VGE32VIA.js} +2 -2
- package/dist/{chunk-ZNPUVXMB.js → chunk-YA3P5PPJ.js} +2 -2
- package/dist/{cli-circuit-breaker-NPISC6Q4.js → cli-circuit-breaker-HJF2QANR.js} +3 -3
- package/dist/cli.js +56 -46
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-ULU3C7ZA.js → composite-router-APL5XGOM.js} +2 -2
- package/dist/{consensus-vote-YHU7CPZ6.js → consensus-vote-G27UOZWA.js} +17 -17
- package/dist/{context-retriever-UDMXESPP.js → context-retriever-M67ALRDI.js} +8 -8
- package/dist/{doctor-deep-E2UHOIOS.js → doctor-deep-M6DSVWW7.js} +3 -3
- package/dist/{doctor-live-52MCZLBK.js → doctor-live-GQVIXCOS.js} +9 -9
- package/dist/{expert-bridge-KMJQGVUM.js → expert-bridge-Z4BFSQHJ.js} +4 -4
- package/dist/{factory-RPWJNOET.js → factory-R7VN5762.js} +9 -9
- package/dist/{factory-LCKPBDL2.js → factory-YPOKS35N.js} +5 -5
- package/dist/{improvement-review-TFSURGIZ.js → improvement-review-IEX32AA2.js} +6 -6
- package/dist/index.js +31 -31
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-AFES5ZQD.js → init-opencode-COFE4WZN.js} +6 -6
- package/dist/issue-triage-SQKNCOCG.js +17 -0
- package/dist/{pr-reviewer-helpers-EJIWNM3Z.js → pr-reviewer-helpers-UNMHQPNQ.js} +4 -4
- package/dist/{registry-command-45SBK736.js → registry-command-Y7V6IHGG.js} +2 -2
- package/dist/{repo-security-plan-Z25BUZGY.js → repo-security-plan-CCQEA4VF.js} +3 -3
- package/dist/{research-helpers-synthesize-ILCLFNSL.js → research-helpers-synthesize-EOLHDADB.js} +4 -4
- package/dist/{routing-memory-SE3MTQSU.js → routing-memory-GR5AJJEM.js} +2 -2
- package/dist/{session-memory-JOJ5SHVX.js → session-memory-OGEHQE7S.js} +3 -3
- package/dist/{setup-config-IVLUCSF2.js → setup-config-AGFQLSYA.js} +3 -3
- package/dist/{setup-custom-api-G24JS2HB.js → setup-custom-api-F72MOZXT.js} +4 -4
- package/dist/setup-data-dir-HJPS5BAF.js +29 -0
- package/dist/{tool-memory-O4XK27UO.js → tool-memory-XPHPN63A.js} +5 -5
- package/dist/{unified-registry-DPOXBGFQ.js → unified-registry-CZRMOQEC.js} +10 -10
- package/dist/{weather-report-5SMT3RHJ.js → weather-report-7WIWX53H.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-LB4UH4FF.js.map +0 -1
- package/dist/chunk-NFVOLR5N.js +0 -7
- package/dist/issue-triage-VVEGWHXP.js +0 -17
- package/dist/setup-data-dir-UHDGBKTI.js +0 -29
- /package/dist/{child-mcp-config-HGD32ADZ.js.map → child-mcp-config-LFYYHUGS.js.map} +0 -0
- /package/dist/{chunk-NB2HJMDW.js.map → chunk-2XQWOM45.js.map} +0 -0
- /package/dist/{chunk-ITB2NBB7.js.map → chunk-3FVDZVHH.js.map} +0 -0
- /package/dist/{chunk-BE6FQ7XI.js.map → chunk-3GMPJYT4.js.map} +0 -0
- /package/dist/{chunk-FQQYGPMC.js.map → chunk-5UAZH43I.js.map} +0 -0
- /package/dist/{chunk-Z2EUE6E6.js.map → chunk-62AZXBVP.js.map} +0 -0
- /package/dist/{chunk-A56ECFMH.js.map → chunk-7RDIWG36.js.map} +0 -0
- /package/dist/{chunk-5FHJAPIR.js.map → chunk-AASDZAZV.js.map} +0 -0
- /package/dist/{chunk-KYHZYRMR.js.map → chunk-FXIIOJVB.js.map} +0 -0
- /package/dist/{chunk-JLE24ZSP.js.map → chunk-G3WXFKYJ.js.map} +0 -0
- /package/dist/{chunk-GRLN6WL5.js.map → chunk-GBRPYQPS.js.map} +0 -0
- /package/dist/{chunk-QZJR42BR.js.map → chunk-GDHGT5KD.js.map} +0 -0
- /package/dist/{chunk-UCW7IIX6.js.map → chunk-GM2XCOCX.js.map} +0 -0
- /package/dist/{chunk-NXHPOKIO.js.map → chunk-GVB4SDMJ.js.map} +0 -0
- /package/dist/{chunk-ECHZGAZO.js.map → chunk-HIEGEDIH.js.map} +0 -0
- /package/dist/{chunk-FMCAOKDU.js.map → chunk-IJWT67PX.js.map} +0 -0
- /package/dist/{chunk-DVRABNYU.js.map → chunk-J3WENFBH.js.map} +0 -0
- /package/dist/{chunk-LMIR62SG.js.map → chunk-KKU5WPDS.js.map} +0 -0
- /package/dist/{chunk-R6YU33TY.js.map → chunk-MGFZE3G4.js.map} +0 -0
- /package/dist/{chunk-LPBGCX6H.js.map → chunk-NNDJMR4B.js.map} +0 -0
- /package/dist/{chunk-SPRQFHVR.js.map → chunk-NNQ5UNVC.js.map} +0 -0
- /package/dist/{chunk-3FPHHCY5.js.map → chunk-O6RUN5DT.js.map} +0 -0
- /package/dist/{chunk-E6LGFJQE.js.map → chunk-P4Q76KFZ.js.map} +0 -0
- /package/dist/{chunk-CLIZCXWB.js.map → chunk-P5FDXBV5.js.map} +0 -0
- /package/dist/{chunk-NFVOLR5N.js.map → chunk-PQ7R2F4Y.js.map} +0 -0
- /package/dist/{chunk-JLA2YAGY.js.map → chunk-QZJBOADH.js.map} +0 -0
- /package/dist/{chunk-X5S5KKDS.js.map → chunk-RJTESNRY.js.map} +0 -0
- /package/dist/{chunk-Q3DEXAOB.js.map → chunk-RTJ6SEII.js.map} +0 -0
- /package/dist/{chunk-NQ2CC67G.js.map → chunk-RUR43YSR.js.map} +0 -0
- /package/dist/{chunk-KNBIEADY.js.map → chunk-TYZGLBNL.js.map} +0 -0
- /package/dist/{chunk-TOQVL64J.js.map → chunk-UQO5CUBJ.js.map} +0 -0
- /package/dist/{chunk-Y5ATK7BS.js.map → chunk-VGE32VIA.js.map} +0 -0
- /package/dist/{chunk-ZNPUVXMB.js.map → chunk-YA3P5PPJ.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-NPISC6Q4.js.map → cli-circuit-breaker-HJF2QANR.js.map} +0 -0
- /package/dist/{composite-router-ULU3C7ZA.js.map → composite-router-APL5XGOM.js.map} +0 -0
- /package/dist/{consensus-vote-YHU7CPZ6.js.map → consensus-vote-G27UOZWA.js.map} +0 -0
- /package/dist/{context-retriever-UDMXESPP.js.map → context-retriever-M67ALRDI.js.map} +0 -0
- /package/dist/{doctor-deep-E2UHOIOS.js.map → doctor-deep-M6DSVWW7.js.map} +0 -0
- /package/dist/{doctor-live-52MCZLBK.js.map → doctor-live-GQVIXCOS.js.map} +0 -0
- /package/dist/{expert-bridge-KMJQGVUM.js.map → expert-bridge-Z4BFSQHJ.js.map} +0 -0
- /package/dist/{factory-LCKPBDL2.js.map → factory-R7VN5762.js.map} +0 -0
- /package/dist/{factory-RPWJNOET.js.map → factory-YPOKS35N.js.map} +0 -0
- /package/dist/{improvement-review-TFSURGIZ.js.map → improvement-review-IEX32AA2.js.map} +0 -0
- /package/dist/{init-opencode-AFES5ZQD.js.map → init-opencode-COFE4WZN.js.map} +0 -0
- /package/dist/{issue-triage-VVEGWHXP.js.map → issue-triage-SQKNCOCG.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-EJIWNM3Z.js.map → pr-reviewer-helpers-UNMHQPNQ.js.map} +0 -0
- /package/dist/{registry-command-45SBK736.js.map → registry-command-Y7V6IHGG.js.map} +0 -0
- /package/dist/{repo-security-plan-Z25BUZGY.js.map → repo-security-plan-CCQEA4VF.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-ILCLFNSL.js.map → research-helpers-synthesize-EOLHDADB.js.map} +0 -0
- /package/dist/{routing-memory-SE3MTQSU.js.map → routing-memory-GR5AJJEM.js.map} +0 -0
- /package/dist/{session-memory-JOJ5SHVX.js.map → session-memory-OGEHQE7S.js.map} +0 -0
- /package/dist/{setup-config-IVLUCSF2.js.map → setup-config-AGFQLSYA.js.map} +0 -0
- /package/dist/{setup-custom-api-G24JS2HB.js.map → setup-custom-api-F72MOZXT.js.map} +0 -0
- /package/dist/{setup-data-dir-UHDGBKTI.js.map → setup-data-dir-HJPS5BAF.js.map} +0 -0
- /package/dist/{tool-memory-O4XK27UO.js.map → tool-memory-XPHPN63A.js.map} +0 -0
- /package/dist/{unified-registry-DPOXBGFQ.js.map → unified-registry-CZRMOQEC.js.map} +0 -0
- /package/dist/{weather-report-5SMT3RHJ.js.map → weather-report-7WIWX53H.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
parseFindings,
|
|
20
20
|
reviewPostingBlock,
|
|
21
21
|
sumFindings
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-UQO5CUBJ.js";
|
|
23
|
+
import "./chunk-NNQ5UNVC.js";
|
|
24
24
|
import {
|
|
25
25
|
runConfigInitSync
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YA3P5PPJ.js";
|
|
27
27
|
import {
|
|
28
28
|
AuthHandler,
|
|
29
29
|
CustomExpertDefinitionSchema,
|
|
@@ -153,8 +153,8 @@ import {
|
|
|
153
153
|
validateNexusEnv,
|
|
154
154
|
validateWorkflow,
|
|
155
155
|
wrapInMarkdownFence
|
|
156
|
-
} from "./chunk-
|
|
157
|
-
import "./chunk-
|
|
156
|
+
} from "./chunk-7RDIWG36.js";
|
|
157
|
+
import "./chunk-5UAZH43I.js";
|
|
158
158
|
import "./chunk-HFOQKCD2.js";
|
|
159
159
|
import "./chunk-RSMG2DPB.js";
|
|
160
160
|
import {
|
|
@@ -172,14 +172,14 @@ import {
|
|
|
172
172
|
doctorCommand,
|
|
173
173
|
initDataDirectories,
|
|
174
174
|
runDoctor
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-RJTESNRY.js";
|
|
176
176
|
import {
|
|
177
177
|
buildOpenAICompatAdapters,
|
|
178
178
|
readOpenAICompatEnv
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-QZJBOADH.js";
|
|
180
180
|
import {
|
|
181
181
|
shutdownExpertBridge
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-RTJ6SEII.js";
|
|
183
183
|
import {
|
|
184
184
|
ConsensusVoteInputSchema,
|
|
185
185
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
@@ -191,29 +191,29 @@ import {
|
|
|
191
191
|
recordAuthenticVote,
|
|
192
192
|
registerConsensusVoteTool,
|
|
193
193
|
toRecordDecision
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-IJWT67PX.js";
|
|
195
195
|
import {
|
|
196
196
|
loadUsageEvents,
|
|
197
197
|
rollupByModel
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-HIEGEDIH.js";
|
|
199
199
|
import {
|
|
200
200
|
allOf,
|
|
201
201
|
anyOf
|
|
202
202
|
} from "./chunk-OQB3XC5O.js";
|
|
203
203
|
import {
|
|
204
204
|
synthesizeResearch
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-GBRPYQPS.js";
|
|
206
206
|
import {
|
|
207
207
|
classifyTrust,
|
|
208
208
|
createFullGitHubProvider,
|
|
209
209
|
evaluatePolicy,
|
|
210
210
|
parsePRUrl
|
|
211
|
-
} from "./chunk-
|
|
212
|
-
import "./chunk-
|
|
211
|
+
} from "./chunk-3FVDZVHH.js";
|
|
212
|
+
import "./chunk-GM2XCOCX.js";
|
|
213
213
|
import {
|
|
214
214
|
ReputationCache,
|
|
215
215
|
sanitizeInput
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-RUR43YSR.js";
|
|
217
217
|
import {
|
|
218
218
|
ImprovementReviewInputSchema,
|
|
219
219
|
calculateFitnessScore,
|
|
@@ -227,20 +227,20 @@ import {
|
|
|
227
227
|
registerImprovementReviewTool,
|
|
228
228
|
runImprovementReview,
|
|
229
229
|
scanForSecrets
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-2XQWOM45.js";
|
|
231
231
|
import {
|
|
232
232
|
createDefaultPolicyFirewall,
|
|
233
233
|
setGlobalPolicyFirewall,
|
|
234
234
|
stagePolicyFirewallForRollout
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-J3WENFBH.js";
|
|
236
236
|
import {
|
|
237
237
|
VERSION
|
|
238
|
-
} from "./chunk-
|
|
239
|
-
import "./chunk-
|
|
238
|
+
} from "./chunk-PQ7R2F4Y.js";
|
|
239
|
+
import "./chunk-FXIIOJVB.js";
|
|
240
240
|
import {
|
|
241
241
|
createUnifiedRegistry,
|
|
242
242
|
getGlobalRegistry
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-O6RUN5DT.js";
|
|
244
244
|
import {
|
|
245
245
|
CodebaseIndexSchema,
|
|
246
246
|
PaperStatusSchema,
|
|
@@ -266,24 +266,24 @@ import {
|
|
|
266
266
|
loadSourcesRegistry,
|
|
267
267
|
rankDiscoveredItems,
|
|
268
268
|
saveSourcesRegistry
|
|
269
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-P5FDXBV5.js";
|
|
270
270
|
import {
|
|
271
271
|
loadPapersRegistry,
|
|
272
272
|
loadTechniquesRegistry,
|
|
273
273
|
savePapersRegistry
|
|
274
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-3GMPJYT4.js";
|
|
275
275
|
import {
|
|
276
276
|
resolveToken
|
|
277
|
-
} from "./chunk-
|
|
277
|
+
} from "./chunk-VGE32VIA.js";
|
|
278
278
|
import {
|
|
279
279
|
MemoryError,
|
|
280
280
|
shutdownToolMemory
|
|
281
|
-
} from "./chunk-
|
|
281
|
+
} from "./chunk-GVB4SDMJ.js";
|
|
282
282
|
import {
|
|
283
283
|
capitalize,
|
|
284
284
|
capitalizeKebab
|
|
285
285
|
} from "./chunk-6T3EPABN.js";
|
|
286
|
-
import "./chunk-
|
|
286
|
+
import "./chunk-P4Q76KFZ.js";
|
|
287
287
|
import {
|
|
288
288
|
BUILT_IN_EXPERTS
|
|
289
289
|
} from "./chunk-YPNQPT2F.js";
|
|
@@ -296,19 +296,19 @@ import {
|
|
|
296
296
|
isRecord,
|
|
297
297
|
probeAllClis,
|
|
298
298
|
readSubprocessDepth
|
|
299
|
-
} from "./chunk-
|
|
300
|
-
import "./chunk-
|
|
299
|
+
} from "./chunk-MGFZE3G4.js";
|
|
300
|
+
import "./chunk-AASDZAZV.js";
|
|
301
301
|
import {
|
|
302
302
|
DEFAULTS
|
|
303
|
-
} from "./chunk-
|
|
304
|
-
import "./chunk-
|
|
303
|
+
} from "./chunk-NNDJMR4B.js";
|
|
304
|
+
import "./chunk-62AZXBVP.js";
|
|
305
305
|
import {
|
|
306
306
|
nexusMkdtempSync
|
|
307
307
|
} from "./chunk-4OW67KT2.js";
|
|
308
|
-
import "./chunk-
|
|
308
|
+
import "./chunk-TYZGLBNL.js";
|
|
309
309
|
import "./chunk-QZUG667L.js";
|
|
310
|
-
import "./chunk-
|
|
311
|
-
import "./chunk-
|
|
310
|
+
import "./chunk-G3WXFKYJ.js";
|
|
311
|
+
import "./chunk-KKU5WPDS.js";
|
|
312
312
|
import {
|
|
313
313
|
API_TIMEOUTS,
|
|
314
314
|
AgentCapability,
|
|
@@ -385,7 +385,7 @@ import {
|
|
|
385
385
|
validateTimeout,
|
|
386
386
|
writeEmptyLine,
|
|
387
387
|
writeLine
|
|
388
|
-
} from "./chunk-
|
|
388
|
+
} from "./chunk-DGR76SIA.js";
|
|
389
389
|
import "./chunk-GBHJ37V3.js";
|
|
390
390
|
import {
|
|
391
391
|
applyPortableMode,
|
|
@@ -4438,7 +4438,7 @@ ${file.patch}
|
|
|
4438
4438
|
violations: policyResult.violations
|
|
4439
4439
|
});
|
|
4440
4440
|
}
|
|
4441
|
-
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-
|
|
4441
|
+
const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-UNMHQPNQ.js");
|
|
4442
4442
|
const body = formatReviewComment2(result);
|
|
4443
4443
|
const postResult = await provider.createReview(pr.prNumber, body, result.decision);
|
|
4444
4444
|
if (!postResult.ok) {
|
|
@@ -7345,13 +7345,22 @@ function generateVoteHash(role, vote) {
|
|
|
7345
7345
|
const hash = crypto.createHash("sha256").update(data).digest("hex").slice(0, 16);
|
|
7346
7346
|
return { role, hash, timestamp: getTimeProvider().nowIso() };
|
|
7347
7347
|
}
|
|
7348
|
-
function printVoteDetails(votes) {
|
|
7348
|
+
function printVoteDetails(votes, verbose) {
|
|
7349
7349
|
writeLine(`${colors.cyan}Votes${colors.reset}
|
|
7350
7350
|
`);
|
|
7351
|
-
for (const v of votes) writeLine(formatVoteRow(v));
|
|
7351
|
+
for (const v of votes) writeLine(formatVoteRow(v, { verbose }));
|
|
7352
7352
|
writeLine("");
|
|
7353
7353
|
}
|
|
7354
|
-
|
|
7354
|
+
var MAX_REASONING_CHARS = 600;
|
|
7355
|
+
function formatReasoning(reasoning) {
|
|
7356
|
+
const trimmed = reasoning.trim();
|
|
7357
|
+
if (trimmed === "") return "";
|
|
7358
|
+
const clipped = trimmed.length > MAX_REASONING_CHARS ? `${trimmed.slice(0, MAX_REASONING_CHARS)}\u2026` : trimmed;
|
|
7359
|
+
const indented = clipped.split("\n").map((line) => ` ${colors.dim}${line}${colors.reset}`).join("\n");
|
|
7360
|
+
return `
|
|
7361
|
+
${indented}`;
|
|
7362
|
+
}
|
|
7363
|
+
function formatVoteRow(v, opts) {
|
|
7355
7364
|
const label = VOTER_ROLES[v.role].split(" - ")[0] ?? v.role;
|
|
7356
7365
|
if (v.source === "error") {
|
|
7357
7366
|
const reason = (v.error ?? "execution failed").split("\n")[0] ?? "execution failed";
|
|
@@ -7359,7 +7368,8 @@ function formatVoteRow(v) {
|
|
|
7359
7368
|
}
|
|
7360
7369
|
const icon = v.vote.decision === "approve" ? colors.green + symbols.check : v.vote.decision === "reject" ? colors.red + symbols.cross : colors.yellow + "?";
|
|
7361
7370
|
const tag = v.source === "simulation" ? ` ${colors.red}[SIMULATED]${colors.reset}` : "";
|
|
7362
|
-
|
|
7371
|
+
const grounds = opts?.verbose === true ? formatReasoning(v.vote.reasoning) : "";
|
|
7372
|
+
return ` ${icon}${colors.reset} ${label}: ${v.vote.decision.toUpperCase()} (${formatPercentage(v.vote.confidence)})${tag}${grounds}`;
|
|
7363
7373
|
}
|
|
7364
7374
|
function printSummary2(ctx) {
|
|
7365
7375
|
const { result, votes, threshold } = ctx;
|
|
@@ -7601,7 +7611,7 @@ ${colors.bold}Nexus Agents Consensus Vote${colors.reset}`);
|
|
|
7601
7611
|
);
|
|
7602
7612
|
result = await runVote(options);
|
|
7603
7613
|
}
|
|
7604
|
-
printVoteDetails(result.votes);
|
|
7614
|
+
printVoteDetails(result.votes, options.verbose === true);
|
|
7605
7615
|
printSummary2({ result: result.result, votes: result.votes, threshold: result.threshold });
|
|
7606
7616
|
if (options.verbose === true) printHashes(result.votes);
|
|
7607
7617
|
writeLine(`${colors.dim}Completed in ${String(result.totalTimeMs)}ms${colors.reset}
|
|
@@ -19579,7 +19589,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19579
19589
|
let running = false;
|
|
19580
19590
|
const runOnce = async () => {
|
|
19581
19591
|
try {
|
|
19582
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19592
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-IEX32AA2.js");
|
|
19583
19593
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19584
19594
|
const result = await runImprovementReview2(input, { logger: logger22 });
|
|
19585
19595
|
logger22.info("Scheduled improvement_review complete", {
|
|
@@ -21664,7 +21674,7 @@ function adaptConfigToLibrary(config) {
|
|
|
21664
21674
|
}
|
|
21665
21675
|
function createBeliefPromoter() {
|
|
21666
21676
|
return async (event) => {
|
|
21667
|
-
const { getToolMemory } = await import("./tool-memory-
|
|
21677
|
+
const { getToolMemory } = await import("./tool-memory-XPHPN63A.js");
|
|
21668
21678
|
const tm = getToolMemory();
|
|
21669
21679
|
await tm.recordBelief(
|
|
21670
21680
|
`skill:${event.name}`,
|
|
@@ -22885,7 +22895,7 @@ async function handleResearchCommand(args) {
|
|
|
22885
22895
|
}
|
|
22886
22896
|
}
|
|
22887
22897
|
async function handleRegistryCommand(args) {
|
|
22888
|
-
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-
|
|
22898
|
+
const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-Y7V6IHGG.js");
|
|
22889
22899
|
const subcommand = args.subcommand;
|
|
22890
22900
|
if (!isValidRegistrySubcommand(subcommand)) {
|
|
22891
22901
|
process.stdout.write(`${formatRegistryUsage()}
|
|
@@ -22933,12 +22943,12 @@ async function handleVerifyCommand(args) {
|
|
|
22933
22943
|
async function handleDoctorCommand(args) {
|
|
22934
22944
|
const exitCode = await doctorCommand({ fix: args.options.fix });
|
|
22935
22945
|
if (args.options.deep) {
|
|
22936
|
-
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-
|
|
22946
|
+
const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-M6DSVWW7.js");
|
|
22937
22947
|
const diag = runDeepDiagnostics2();
|
|
22938
22948
|
process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
|
|
22939
22949
|
}
|
|
22940
22950
|
if (args.options.live) {
|
|
22941
|
-
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-
|
|
22951
|
+
const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-GQVIXCOS.js");
|
|
22942
22952
|
const report = await runLiveReadiness();
|
|
22943
22953
|
process.stdout.write(formatLiveReadiness(report) + "\n");
|
|
22944
22954
|
if (report.some((r) => r.levels.serves.status === "failed")) {
|
|
@@ -22991,7 +23001,7 @@ async function runInitPortableFlow(args) {
|
|
|
22991
23001
|
return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
|
|
22992
23002
|
}
|
|
22993
23003
|
async function runInitOpencodeFlow(args) {
|
|
22994
|
-
const { runInitOpencode } = await import("./init-opencode-
|
|
23004
|
+
const { runInitOpencode } = await import("./init-opencode-COFE4WZN.js");
|
|
22995
23005
|
const opencodePath = args.options.opencode;
|
|
22996
23006
|
if (opencodePath === void 0 || opencodePath === "") {
|
|
22997
23007
|
process.stderr.write("Error: --opencode requires a path argument.\n");
|
|
@@ -23017,7 +23027,7 @@ async function runInitOpencodeFlow(args) {
|
|
|
23017
23027
|
return cliExit(EXIT_CODES.SUCCESS);
|
|
23018
23028
|
}
|
|
23019
23029
|
async function renderOpencodeValidate(opencodePath) {
|
|
23020
|
-
const { runOpencodeValidate } = await import("./init-opencode-
|
|
23030
|
+
const { runOpencodeValidate } = await import("./init-opencode-COFE4WZN.js");
|
|
23021
23031
|
const result = await runOpencodeValidate(opencodePath);
|
|
23022
23032
|
if (!result.ok) {
|
|
23023
23033
|
process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
|
|
@@ -23056,7 +23066,7 @@ async function handleSetupCommandAsync(args) {
|
|
|
23056
23066
|
return cliExitFromStatus(exitCode);
|
|
23057
23067
|
}
|
|
23058
23068
|
async function runCustomApiSetup(args) {
|
|
23059
|
-
const { configureCustomApi } = await import("./setup-custom-api-
|
|
23069
|
+
const { configureCustomApi } = await import("./setup-custom-api-F72MOZXT.js");
|
|
23060
23070
|
const baseUrl = args.options.customApi;
|
|
23061
23071
|
if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
|
|
23062
23072
|
const input = {
|