nexus-agents 8.3.1 → 8.3.3
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-IPF4QIVB.js → child-mcp-config-RNWGSHLP.js} +2 -2
- package/dist/{chunk-PGUZPMT4.js → chunk-44TOYOLL.js} +2 -2
- package/dist/{chunk-F33RCSOC.js → chunk-4EKFQECD.js} +5 -5
- package/dist/{chunk-LW6FPSPN.js → chunk-5HQ64BQJ.js} +7 -7
- package/dist/{chunk-OFUJNXH3.js → chunk-5IBBBAK4.js} +133 -119
- package/dist/chunk-5IBBBAK4.js.map +1 -0
- package/dist/{chunk-EWKBHDAU.js → chunk-6RGAAA4U.js} +4 -4
- package/dist/{chunk-6SPKOLVU.js → chunk-AYVIQAGJ.js} +8 -8
- package/dist/{chunk-U5YJKJK2.js → chunk-B6HNAXBM.js} +2 -2
- package/dist/{chunk-6MPT2NRF.js → chunk-D2WWKJMI.js} +2 -2
- package/dist/{chunk-3MBGQAO2.js → chunk-DC2OJAIB.js} +3 -3
- package/dist/{chunk-2XXKUAQS.js → chunk-F4WIX5UH.js} +3 -3
- package/dist/{chunk-6LDUEA4I.js → chunk-FECYCZZR.js} +2 -2
- package/dist/{chunk-JGBXLELL.js → chunk-I2FSX2XS.js} +6 -6
- package/dist/{chunk-K6EHC227.js → chunk-JB3BG47N.js} +2 -2
- package/dist/{chunk-UZULX2DZ.js → chunk-K7WPK63Q.js} +8 -8
- package/dist/{chunk-OM5BVTVF.js → chunk-KHARSVPD.js} +2 -2
- package/dist/{chunk-TO5LX5VU.js → chunk-L2WZSYQ4.js} +2 -2
- package/dist/chunk-LV3LWVWI.js +7 -0
- package/dist/{chunk-W2R6UVZJ.js → chunk-LWLQZEG7.js} +2 -2
- package/dist/{chunk-FKWMYLSZ.js → chunk-OAP5CFEN.js} +2 -2
- package/dist/{chunk-4U62WRPL.js → chunk-OI7VYOYS.js} +15 -4
- package/dist/chunk-OI7VYOYS.js.map +1 -0
- package/dist/{chunk-ZYPEHPRM.js → chunk-PJAMCYKJ.js} +2 -2
- package/dist/{chunk-AQF22T74.js → chunk-Q5EBPILX.js} +3 -3
- package/dist/{chunk-5YC3SC34.js → chunk-QETXUEHY.js} +2 -2
- package/dist/{chunk-PSAXQXL5.js → chunk-RHZ7OTUR.js} +3 -3
- package/dist/{chunk-QP423I4T.js → chunk-RLP56UYX.js} +2 -2
- package/dist/{chunk-F4AT3BCP.js → chunk-RO6W6DUN.js} +4 -4
- package/dist/{chunk-FFZNRJ5Q.js → chunk-RQFYOMCK.js} +2 -2
- package/dist/{chunk-TSZWXRF7.js → chunk-T5SLVJCK.js} +26 -11
- package/dist/chunk-T5SLVJCK.js.map +1 -0
- package/dist/{chunk-7RLFZ6OB.js → chunk-U4QKZICX.js} +2 -2
- package/dist/{chunk-CCRTVIXF.js → chunk-UDZBQWWH.js} +7 -7
- package/dist/{chunk-HBHTXBA4.js → chunk-UFF3NTS3.js} +2 -2
- package/dist/{chunk-Y5I3F3YC.js → chunk-YMBWWR5K.js} +2 -2
- package/dist/{chunk-T7XKLZPC.js → chunk-ZR2AT5Y4.js} +5 -5
- package/dist/{cli-circuit-breaker-KRIR74SW.js → cli-circuit-breaker-BAV6CS55.js} +3 -3
- package/dist/cli.js +41 -41
- package/dist/{composite-router-VTPCCQQU.js → composite-router-ZBUAKNWH.js} +2 -2
- package/dist/{consensus-vote-44WT45UN.js → consensus-vote-LWFXKJMK.js} +17 -17
- package/dist/{context-retriever-ASWO5E6N.js → context-retriever-EUAU2AMR.js} +8 -8
- package/dist/{doctor-deep-WLVSUPFA.js → doctor-deep-ZHCMOZFP.js} +3 -3
- package/dist/{doctor-live-5L4RI4GW.js → doctor-live-BUHVK3DK.js} +9 -9
- package/dist/{expert-bridge-K4FSDGPL.js → expert-bridge-UPCLL7ND.js} +4 -4
- package/dist/{factory-X4PUAG26.js → factory-3OOZ2ZQP.js} +9 -9
- package/dist/{factory-DQWPXJHP.js → factory-6HNECKBF.js} +5 -5
- package/dist/{improvement-review-P7JBYDL6.js → improvement-review-GDIYQPNP.js} +6 -6
- package/dist/index.d.ts +41 -21
- package/dist/index.js +31 -31
- package/dist/{init-opencode-73YZUQQX.js → init-opencode-CKCCZOT3.js} +6 -6
- package/dist/issue-triage-4S5K7TSE.js +17 -0
- package/dist/{pr-reviewer-helpers-NRVB6RVY.js → pr-reviewer-helpers-RKAK33X2.js} +4 -4
- package/dist/{registry-command-O7TLGMNL.js → registry-command-3J5SNWG2.js} +2 -2
- package/dist/{repo-security-plan-OAOLRK5Z.js → repo-security-plan-VUA76IN3.js} +3 -3
- package/dist/{research-helpers-synthesize-J66KQW2N.js → research-helpers-synthesize-6EEGTTZY.js} +4 -4
- package/dist/{routing-memory-TLALXQEY.js → routing-memory-LLGBBX7P.js} +2 -2
- package/dist/{session-memory-DMXEXMOD.js → session-memory-FJOIX7BQ.js} +3 -3
- package/dist/{setup-config-THXHCRSH.js → setup-config-R26W2YIS.js} +3 -3
- package/dist/{setup-custom-api-EETAAEAD.js → setup-custom-api-MN6BPPK5.js} +4 -4
- package/dist/setup-data-dir-NXOVPIK7.js +29 -0
- package/dist/{tool-memory-RSRUWJFE.js → tool-memory-B6OUGSGS.js} +5 -5
- package/dist/{unified-registry-OHYTMXKA.js → unified-registry-4CXEC2UP.js} +10 -10
- package/dist/{weather-report-R5NAYRQK.js → weather-report-2MF7IEQ4.js} +2 -2
- package/package.json +2 -2
- package/dist/chunk-2OS7HTUM.js +0 -7
- package/dist/chunk-4U62WRPL.js.map +0 -1
- package/dist/chunk-OFUJNXH3.js.map +0 -1
- package/dist/chunk-TSZWXRF7.js.map +0 -1
- package/dist/issue-triage-6W5G6LC6.js +0 -17
- package/dist/setup-data-dir-Y4F4R2BJ.js +0 -29
- /package/dist/{child-mcp-config-IPF4QIVB.js.map → child-mcp-config-RNWGSHLP.js.map} +0 -0
- /package/dist/{chunk-PGUZPMT4.js.map → chunk-44TOYOLL.js.map} +0 -0
- /package/dist/{chunk-F33RCSOC.js.map → chunk-4EKFQECD.js.map} +0 -0
- /package/dist/{chunk-LW6FPSPN.js.map → chunk-5HQ64BQJ.js.map} +0 -0
- /package/dist/{chunk-EWKBHDAU.js.map → chunk-6RGAAA4U.js.map} +0 -0
- /package/dist/{chunk-6SPKOLVU.js.map → chunk-AYVIQAGJ.js.map} +0 -0
- /package/dist/{chunk-U5YJKJK2.js.map → chunk-B6HNAXBM.js.map} +0 -0
- /package/dist/{chunk-6MPT2NRF.js.map → chunk-D2WWKJMI.js.map} +0 -0
- /package/dist/{chunk-3MBGQAO2.js.map → chunk-DC2OJAIB.js.map} +0 -0
- /package/dist/{chunk-2XXKUAQS.js.map → chunk-F4WIX5UH.js.map} +0 -0
- /package/dist/{chunk-6LDUEA4I.js.map → chunk-FECYCZZR.js.map} +0 -0
- /package/dist/{chunk-JGBXLELL.js.map → chunk-I2FSX2XS.js.map} +0 -0
- /package/dist/{chunk-K6EHC227.js.map → chunk-JB3BG47N.js.map} +0 -0
- /package/dist/{chunk-UZULX2DZ.js.map → chunk-K7WPK63Q.js.map} +0 -0
- /package/dist/{chunk-OM5BVTVF.js.map → chunk-KHARSVPD.js.map} +0 -0
- /package/dist/{chunk-TO5LX5VU.js.map → chunk-L2WZSYQ4.js.map} +0 -0
- /package/dist/{chunk-2OS7HTUM.js.map → chunk-LV3LWVWI.js.map} +0 -0
- /package/dist/{chunk-W2R6UVZJ.js.map → chunk-LWLQZEG7.js.map} +0 -0
- /package/dist/{chunk-FKWMYLSZ.js.map → chunk-OAP5CFEN.js.map} +0 -0
- /package/dist/{chunk-ZYPEHPRM.js.map → chunk-PJAMCYKJ.js.map} +0 -0
- /package/dist/{chunk-AQF22T74.js.map → chunk-Q5EBPILX.js.map} +0 -0
- /package/dist/{chunk-5YC3SC34.js.map → chunk-QETXUEHY.js.map} +0 -0
- /package/dist/{chunk-PSAXQXL5.js.map → chunk-RHZ7OTUR.js.map} +0 -0
- /package/dist/{chunk-QP423I4T.js.map → chunk-RLP56UYX.js.map} +0 -0
- /package/dist/{chunk-F4AT3BCP.js.map → chunk-RO6W6DUN.js.map} +0 -0
- /package/dist/{chunk-FFZNRJ5Q.js.map → chunk-RQFYOMCK.js.map} +0 -0
- /package/dist/{chunk-7RLFZ6OB.js.map → chunk-U4QKZICX.js.map} +0 -0
- /package/dist/{chunk-CCRTVIXF.js.map → chunk-UDZBQWWH.js.map} +0 -0
- /package/dist/{chunk-HBHTXBA4.js.map → chunk-UFF3NTS3.js.map} +0 -0
- /package/dist/{chunk-Y5I3F3YC.js.map → chunk-YMBWWR5K.js.map} +0 -0
- /package/dist/{chunk-T7XKLZPC.js.map → chunk-ZR2AT5Y4.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-KRIR74SW.js.map → cli-circuit-breaker-BAV6CS55.js.map} +0 -0
- /package/dist/{composite-router-VTPCCQQU.js.map → composite-router-ZBUAKNWH.js.map} +0 -0
- /package/dist/{consensus-vote-44WT45UN.js.map → consensus-vote-LWFXKJMK.js.map} +0 -0
- /package/dist/{context-retriever-ASWO5E6N.js.map → context-retriever-EUAU2AMR.js.map} +0 -0
- /package/dist/{doctor-deep-WLVSUPFA.js.map → doctor-deep-ZHCMOZFP.js.map} +0 -0
- /package/dist/{doctor-live-5L4RI4GW.js.map → doctor-live-BUHVK3DK.js.map} +0 -0
- /package/dist/{expert-bridge-K4FSDGPL.js.map → expert-bridge-UPCLL7ND.js.map} +0 -0
- /package/dist/{factory-DQWPXJHP.js.map → factory-3OOZ2ZQP.js.map} +0 -0
- /package/dist/{factory-X4PUAG26.js.map → factory-6HNECKBF.js.map} +0 -0
- /package/dist/{improvement-review-P7JBYDL6.js.map → improvement-review-GDIYQPNP.js.map} +0 -0
- /package/dist/{init-opencode-73YZUQQX.js.map → init-opencode-CKCCZOT3.js.map} +0 -0
- /package/dist/{issue-triage-6W5G6LC6.js.map → issue-triage-4S5K7TSE.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-NRVB6RVY.js.map → pr-reviewer-helpers-RKAK33X2.js.map} +0 -0
- /package/dist/{registry-command-O7TLGMNL.js.map → registry-command-3J5SNWG2.js.map} +0 -0
- /package/dist/{repo-security-plan-OAOLRK5Z.js.map → repo-security-plan-VUA76IN3.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-J66KQW2N.js.map → research-helpers-synthesize-6EEGTTZY.js.map} +0 -0
- /package/dist/{routing-memory-TLALXQEY.js.map → routing-memory-LLGBBX7P.js.map} +0 -0
- /package/dist/{session-memory-DMXEXMOD.js.map → session-memory-FJOIX7BQ.js.map} +0 -0
- /package/dist/{setup-config-THXHCRSH.js.map → setup-config-R26W2YIS.js.map} +0 -0
- /package/dist/{setup-custom-api-EETAAEAD.js.map → setup-custom-api-MN6BPPK5.js.map} +0 -0
- /package/dist/{setup-data-dir-Y4F4R2BJ.js.map → setup-data-dir-NXOVPIK7.js.map} +0 -0
- /package/dist/{tool-memory-RSRUWJFE.js.map → tool-memory-B6OUGSGS.js.map} +0 -0
- /package/dist/{unified-registry-OHYTMXKA.js.map → unified-registry-4CXEC2UP.js.map} +0 -0
- /package/dist/{weather-report-R5NAYRQK.js.map → weather-report-2MF7IEQ4.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -27268,6 +27268,46 @@ interface PrReviewCoverage {
|
|
|
27268
27268
|
readonly strategy: 'budget';
|
|
27269
27269
|
}
|
|
27270
27270
|
|
|
27271
|
+
/**
|
|
27272
|
+
* Proposal construction for `pr_review`.
|
|
27273
|
+
*
|
|
27274
|
+
* Extracted from `pr-review-tool.ts` (#5385), which sat at 398 of its 400-line
|
|
27275
|
+
* budget — threading the sanitization disclosure through pushed it over, and
|
|
27276
|
+
* this is the cohesive piece to move, because the builder IS the sanitization
|
|
27277
|
+
* concern. A pure move apart from the `removedBeforeThisCall` parameter that
|
|
27278
|
+
* issue adds.
|
|
27279
|
+
*
|
|
27280
|
+
* `pr-review-tool.ts` re-exports the symbol, so both barrels
|
|
27281
|
+
* (`mcp/index.ts`, `mcp/tools/index.ts`), the published `exports/mcp.ts`, and
|
|
27282
|
+
* `scripts/pr-review-local.ts` / `scripts/pr-review-eval-run.ts` keep importing
|
|
27283
|
+
* it unchanged. The `PrReviewInput` import is type-only and therefore erased,
|
|
27284
|
+
* so the re-export creates no runtime cycle.
|
|
27285
|
+
*
|
|
27286
|
+
* @module mcp/tools/pr-review-proposal
|
|
27287
|
+
*/
|
|
27288
|
+
|
|
27289
|
+
/** Builds the proposal text passed to voters. The voters are designed for
|
|
27290
|
+
* yes/no proposals — by framing the diff as "should this PR be merged?" we
|
|
27291
|
+
* get usable output without needing new system prompts (Child 3 will add
|
|
27292
|
+
* those).
|
|
27293
|
+
*
|
|
27294
|
+
* **Sanitization lives HERE, not at the tool boundary (#5258 item B).** The
|
|
27295
|
+
* `securityTier: 'external'` declared on the registered tool only protects the
|
|
27296
|
+
* MCP path, because the middleware is constructed inside `registerPrReviewTool`.
|
|
27297
|
+
* Three other callers reach the voters without it — `.github/workflows/
|
|
27298
|
+
* pr-review.yml`, `scripts/pr-review-local.ts` (the documented default path)
|
|
27299
|
+
* and `scripts/pr-review-eval-run.ts` — each importing this builder directly
|
|
27300
|
+
* from `dist/index.js`. On those paths a hostile PR body reached five voters
|
|
27301
|
+
* unfenced, next to the words "should it be merged as-is?".
|
|
27302
|
+
*
|
|
27303
|
+
* This function is the one chokepoint all four callers pass through, so the
|
|
27304
|
+
* protection is attached to the data rather than to one entry point. The MCP
|
|
27305
|
+
* tier check still runs earlier and still refuses; this is the floor beneath
|
|
27306
|
+
* it, and it strips rather than refuses so the script paths degrade instead of
|
|
27307
|
+
* failing shut. Double-sanitizing on the MCP path is idempotent and harmless.
|
|
27308
|
+
*/
|
|
27309
|
+
declare function buildPrReviewProposal(input: Pick<PrReviewInput, 'prTitle' | 'prDescription' | 'prDiff' | 'repoContext' | 'baseRef' | 'headRef'>, removedBeforeThisCall?: number): string;
|
|
27310
|
+
|
|
27271
27311
|
/**
|
|
27272
27312
|
* nexus-agents/mcp - PR Review Tool (#2233 Child 1)
|
|
27273
27313
|
*
|
|
@@ -27418,27 +27458,7 @@ declare function mapVoteDecisionToPrDecision(voteDecision: 'approve' | 'reject'
|
|
|
27418
27458
|
* the baseline behavior.
|
|
27419
27459
|
*/
|
|
27420
27460
|
declare function aggregatePrDecisions(reviews: readonly PrReviewVote[], errorPolicy?: 'standard' | 'absolute_quorum'): PrReviewAggregate;
|
|
27421
|
-
|
|
27422
|
-
* yes/no proposals — by framing the diff as "should this PR be merged?" we
|
|
27423
|
-
* get usable output without needing new system prompts (Child 3 will add
|
|
27424
|
-
* those).
|
|
27425
|
-
*
|
|
27426
|
-
* **Sanitization lives HERE, not at the tool boundary (#5258 item B).** The
|
|
27427
|
-
* `securityTier: 'external'` declared on the registered tool only protects the
|
|
27428
|
-
* MCP path, because the middleware is constructed inside `registerPrReviewTool`.
|
|
27429
|
-
* Three other callers reach the voters without it — `.github/workflows/
|
|
27430
|
-
* pr-review.yml`, `scripts/pr-review-local.ts` (the documented default path)
|
|
27431
|
-
* and `scripts/pr-review-eval-run.ts` — each importing this builder directly
|
|
27432
|
-
* from `dist/index.js`. On those paths a hostile PR body reached five voters
|
|
27433
|
-
* unfenced, next to the words "should it be merged as-is?".
|
|
27434
|
-
*
|
|
27435
|
-
* This function is the one chokepoint all four callers pass through, so the
|
|
27436
|
-
* protection is attached to the data rather than to one entry point. The MCP
|
|
27437
|
-
* tier check still runs earlier and still refuses; this is the floor beneath
|
|
27438
|
-
* it, and it strips rather than refuses so the script paths degrade instead of
|
|
27439
|
-
* failing shut. Double-sanitizing on the MCP path is idempotent and harmless.
|
|
27440
|
-
*/
|
|
27441
|
-
declare function buildPrReviewProposal(input: Pick<PrReviewInput, 'prTitle' | 'prDescription' | 'prDiff' | 'repoContext' | 'baseRef' | 'headRef'>): string;
|
|
27461
|
+
|
|
27442
27462
|
/** @category MCP */
|
|
27443
27463
|
declare function registerPrReviewTool(server: McpServer, deps: PrReviewDeps): void;
|
|
27444
27464
|
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGitHubProvider,
|
|
3
3
|
createScmProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6RGAAA4U.js";
|
|
5
5
|
import {
|
|
6
6
|
ALLOWED_COMMANDS,
|
|
7
7
|
ARTIFACT_TYPES,
|
|
@@ -553,7 +553,7 @@ import {
|
|
|
553
553
|
withLogging,
|
|
554
554
|
withRetry,
|
|
555
555
|
withRetryWrapper
|
|
556
|
-
} from "./chunk-
|
|
556
|
+
} from "./chunk-5IBBBAK4.js";
|
|
557
557
|
import {
|
|
558
558
|
FALLBACK_SCANNER_DATA,
|
|
559
559
|
buildPlanFromAnalysis,
|
|
@@ -561,7 +561,7 @@ import {
|
|
|
561
561
|
generateSecurityPlan,
|
|
562
562
|
getRegistryManifest,
|
|
563
563
|
resolveScannerData
|
|
564
|
-
} from "./chunk-
|
|
564
|
+
} from "./chunk-PJAMCYKJ.js";
|
|
565
565
|
import {
|
|
566
566
|
analyzeGitHubRepo,
|
|
567
567
|
analyzeRepo,
|
|
@@ -574,16 +574,16 @@ import {
|
|
|
574
574
|
connectTransport,
|
|
575
575
|
createServer,
|
|
576
576
|
startStdioServer
|
|
577
|
-
} from "./chunk-
|
|
577
|
+
} from "./chunk-5HQ64BQJ.js";
|
|
578
578
|
import {
|
|
579
579
|
OPENAI_MODELS,
|
|
580
580
|
OPENAI_MODEL_ALIASES,
|
|
581
581
|
OpenAIAdapter,
|
|
582
582
|
createOpenAIAdapter
|
|
583
|
-
} from "./chunk-
|
|
583
|
+
} from "./chunk-ZR2AT5Y4.js";
|
|
584
584
|
import {
|
|
585
585
|
executeExpert
|
|
586
|
-
} from "./chunk-
|
|
586
|
+
} from "./chunk-UDZBQWWH.js";
|
|
587
587
|
import {
|
|
588
588
|
AgentFindingSchema,
|
|
589
589
|
ConsensusEngine,
|
|
@@ -632,12 +632,12 @@ import {
|
|
|
632
632
|
generateProposalId,
|
|
633
633
|
parseAgentPairKey,
|
|
634
634
|
registerConsensusVoteTool
|
|
635
|
-
} from "./chunk-
|
|
636
|
-
import "./chunk-
|
|
635
|
+
} from "./chunk-AYVIQAGJ.js";
|
|
636
|
+
import "./chunk-FECYCZZR.js";
|
|
637
637
|
import {
|
|
638
638
|
allOf
|
|
639
639
|
} from "./chunk-OQB3XC5O.js";
|
|
640
|
-
import "./chunk-
|
|
640
|
+
import "./chunk-F4WIX5UH.js";
|
|
641
641
|
import {
|
|
642
642
|
AgentActionSchema,
|
|
643
643
|
GitHubReviewer,
|
|
@@ -660,11 +660,11 @@ import {
|
|
|
660
660
|
requiresHumanApproval,
|
|
661
661
|
validateAgentAction,
|
|
662
662
|
validateCorroboration
|
|
663
|
-
} from "./chunk-
|
|
663
|
+
} from "./chunk-I2FSX2XS.js";
|
|
664
664
|
import {
|
|
665
665
|
GitHubProvider,
|
|
666
666
|
ScmError
|
|
667
|
-
} from "./chunk-
|
|
667
|
+
} from "./chunk-RLP56UYX.js";
|
|
668
668
|
import {
|
|
669
669
|
GitHubUserRoleSchema,
|
|
670
670
|
InjectionFlagSchema,
|
|
@@ -681,11 +681,11 @@ import {
|
|
|
681
681
|
resolveEnvMode,
|
|
682
682
|
resolveReputationGatingMode,
|
|
683
683
|
sanitizeInput
|
|
684
|
-
} from "./chunk-
|
|
684
|
+
} from "./chunk-44TOYOLL.js";
|
|
685
685
|
import {
|
|
686
686
|
ImprovementReviewInputSchema,
|
|
687
687
|
registerImprovementReviewTool
|
|
688
|
-
} from "./chunk-
|
|
688
|
+
} from "./chunk-Q5EBPILX.js";
|
|
689
689
|
import {
|
|
690
690
|
AgentPerformanceSchema,
|
|
691
691
|
ConsensusAlgorithmSchema,
|
|
@@ -721,10 +721,10 @@ import {
|
|
|
721
721
|
toolSuccess,
|
|
722
722
|
toolSuccessStructured,
|
|
723
723
|
validateToolInput
|
|
724
|
-
} from "./chunk-
|
|
724
|
+
} from "./chunk-T5SLVJCK.js";
|
|
725
725
|
import {
|
|
726
726
|
VERSION
|
|
727
|
-
} from "./chunk-
|
|
727
|
+
} from "./chunk-LV3LWVWI.js";
|
|
728
728
|
import {
|
|
729
729
|
AuditTrail,
|
|
730
730
|
MAX_STRIPPED_ELEMENTS_PER_EVENT,
|
|
@@ -736,13 +736,13 @@ import {
|
|
|
736
736
|
emitReputationEvent,
|
|
737
737
|
emitSanitizationEvent,
|
|
738
738
|
emitTrustEvent
|
|
739
|
-
} from "./chunk-
|
|
739
|
+
} from "./chunk-B6HNAXBM.js";
|
|
740
740
|
import {
|
|
741
741
|
UnifiedAdapterRegistry,
|
|
742
742
|
createUnifiedRegistry,
|
|
743
743
|
getGlobalRegistry,
|
|
744
744
|
resetGlobalRegistry
|
|
745
|
-
} from "./chunk-
|
|
745
|
+
} from "./chunk-RO6W6DUN.js";
|
|
746
746
|
import {
|
|
747
747
|
PersistentStrategyDistiller,
|
|
748
748
|
RulesSnapshotSchema,
|
|
@@ -750,18 +750,18 @@ import {
|
|
|
750
750
|
TokenCounter,
|
|
751
751
|
TokenCounterProvider,
|
|
752
752
|
createTokenCounter
|
|
753
|
-
} from "./chunk-
|
|
754
|
-
import "./chunk-
|
|
753
|
+
} from "./chunk-4EKFQECD.js";
|
|
754
|
+
import "./chunk-JB3BG47N.js";
|
|
755
755
|
import {
|
|
756
756
|
getTokenEnvVars,
|
|
757
757
|
hasToken,
|
|
758
758
|
resolveToken
|
|
759
|
-
} from "./chunk-
|
|
759
|
+
} from "./chunk-QETXUEHY.js";
|
|
760
760
|
import {
|
|
761
761
|
MemoryError
|
|
762
|
-
} from "./chunk-
|
|
762
|
+
} from "./chunk-OI7VYOYS.js";
|
|
763
763
|
import "./chunk-6T3EPABN.js";
|
|
764
|
-
import "./chunk-
|
|
764
|
+
import "./chunk-UFF3NTS3.js";
|
|
765
765
|
import {
|
|
766
766
|
BUILT_IN_EXPERTS,
|
|
767
767
|
BuiltInExpertTypeSchema,
|
|
@@ -806,7 +806,7 @@ import {
|
|
|
806
806
|
isCliAvailable,
|
|
807
807
|
isRetryableError,
|
|
808
808
|
sleep
|
|
809
|
-
} from "./chunk-
|
|
809
|
+
} from "./chunk-K7WPK63Q.js";
|
|
810
810
|
import {
|
|
811
811
|
AdapterModelError,
|
|
812
812
|
BaseAdapter,
|
|
@@ -828,11 +828,11 @@ import {
|
|
|
828
828
|
tapStream,
|
|
829
829
|
transformStream,
|
|
830
830
|
withTimeout
|
|
831
|
-
} from "./chunk-
|
|
832
|
-
import "./chunk-
|
|
831
|
+
} from "./chunk-RQFYOMCK.js";
|
|
832
|
+
import "./chunk-YMBWWR5K.js";
|
|
833
833
|
import {
|
|
834
834
|
PROVIDER_ENV_KEYS
|
|
835
|
-
} from "./chunk-
|
|
835
|
+
} from "./chunk-L2WZSYQ4.js";
|
|
836
836
|
import "./chunk-4HXPNLZS.js";
|
|
837
837
|
import {
|
|
838
838
|
AvailabilityCache,
|
|
@@ -842,13 +842,13 @@ import {
|
|
|
842
842
|
getFallbackChain,
|
|
843
843
|
resetAvailabilityCache,
|
|
844
844
|
resolveFallback
|
|
845
|
-
} from "./chunk-
|
|
845
|
+
} from "./chunk-KHARSVPD.js";
|
|
846
846
|
import "./chunk-QZUG667L.js";
|
|
847
|
-
import "./chunk-
|
|
847
|
+
import "./chunk-U4QKZICX.js";
|
|
848
848
|
import {
|
|
849
849
|
CliCircuitBreakerIntegration,
|
|
850
850
|
createCliCircuitBreakerIntegration
|
|
851
|
-
} from "./chunk-
|
|
851
|
+
} from "./chunk-LWLQZEG7.js";
|
|
852
852
|
import {
|
|
853
853
|
AgentCapability,
|
|
854
854
|
AgentError,
|
|
@@ -924,7 +924,7 @@ import {
|
|
|
924
924
|
toError,
|
|
925
925
|
unwrap,
|
|
926
926
|
unwrapOr
|
|
927
|
-
} from "./chunk-
|
|
927
|
+
} from "./chunk-DC2OJAIB.js";
|
|
928
928
|
import "./chunk-ITCKXMOH.js";
|
|
929
929
|
import "./chunk-MM223CVS.js";
|
|
930
930
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -4890,7 +4890,7 @@ function buildVotingInput(plan, config) {
|
|
|
4890
4890
|
}
|
|
4891
4891
|
async function executeSingleVote(plan, config, log) {
|
|
4892
4892
|
try {
|
|
4893
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
4893
|
+
const { executeVoting } = await import("./consensus-vote-LWFXKJMK.js");
|
|
4894
4894
|
const input = buildVotingInput(plan, config);
|
|
4895
4895
|
const result = await executeVoting(input, log);
|
|
4896
4896
|
return parseVotingResult(result);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
discoverModels,
|
|
3
3
|
readOpencodeGateway
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-ZR2AT5Y4.js";
|
|
5
|
+
import "./chunk-FECYCZZR.js";
|
|
6
|
+
import "./chunk-RQFYOMCK.js";
|
|
7
|
+
import "./chunk-L2WZSYQ4.js";
|
|
8
8
|
import {
|
|
9
9
|
createLogger
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DC2OJAIB.js";
|
|
11
11
|
import "./chunk-ITCKXMOH.js";
|
|
12
12
|
import "./chunk-MM223CVS.js";
|
|
13
13
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -176,4 +176,4 @@ export {
|
|
|
176
176
|
runInitOpencode,
|
|
177
177
|
runOpencodeValidate
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=init-opencode-
|
|
179
|
+
//# sourceMappingURL=init-opencode-CKCCZOT3.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IssueTriage,
|
|
3
|
+
createIssueTriage
|
|
4
|
+
} from "./chunk-I2FSX2XS.js";
|
|
5
|
+
import "./chunk-RLP56UYX.js";
|
|
6
|
+
import "./chunk-44TOYOLL.js";
|
|
7
|
+
import "./chunk-B6HNAXBM.js";
|
|
8
|
+
import "./chunk-QETXUEHY.js";
|
|
9
|
+
import "./chunk-DC2OJAIB.js";
|
|
10
|
+
import "./chunk-ITCKXMOH.js";
|
|
11
|
+
import "./chunk-MM223CVS.js";
|
|
12
|
+
import "./chunk-ZPWHCABL.js";
|
|
13
|
+
export {
|
|
14
|
+
IssueTriage,
|
|
15
|
+
createIssueTriage
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=issue-triage-4S5K7TSE.js.map
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
parseSeverity,
|
|
19
19
|
reviewPostingBlock,
|
|
20
20
|
sumFindings
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RHZ7OTUR.js";
|
|
22
22
|
import "./chunk-BYUVLVN7.js";
|
|
23
23
|
import "./chunk-OQB3XC5O.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-44TOYOLL.js";
|
|
25
|
+
import "./chunk-DC2OJAIB.js";
|
|
26
26
|
import "./chunk-ITCKXMOH.js";
|
|
27
27
|
import "./chunk-MM223CVS.js";
|
|
28
28
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -47,4 +47,4 @@ export {
|
|
|
47
47
|
reviewPostingBlock,
|
|
48
48
|
sumFindings
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=pr-reviewer-helpers-
|
|
50
|
+
//# sourceMappingURL=pr-reviewer-helpers-RKAK33X2.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
loadGeneratedRegistryEntries,
|
|
8
8
|
loadUserManifestOverlay,
|
|
9
9
|
reloadDefaultRegistry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DC2OJAIB.js";
|
|
11
11
|
import "./chunk-ITCKXMOH.js";
|
|
12
12
|
import {
|
|
13
13
|
nexusDataPath
|
|
@@ -249,4 +249,4 @@ export {
|
|
|
249
249
|
isValidRegistrySubcommand,
|
|
250
250
|
registryCommand
|
|
251
251
|
};
|
|
252
|
-
//# sourceMappingURL=registry-command-
|
|
252
|
+
//# sourceMappingURL=registry-command-3J5SNWG2.js.map
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
buildPlanFromAnalysis,
|
|
4
4
|
generateSecurityPlan,
|
|
5
5
|
resolveScannerData
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PJAMCYKJ.js";
|
|
7
7
|
import "./chunk-DGWT7DXX.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-DC2OJAIB.js";
|
|
9
9
|
import "./chunk-ITCKXMOH.js";
|
|
10
10
|
import "./chunk-MM223CVS.js";
|
|
11
11
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
generateSecurityPlan,
|
|
16
16
|
resolveScannerData
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=repo-security-plan-
|
|
18
|
+
//# sourceMappingURL=repo-security-plan-VUA76IN3.js.map
|
package/dist/{research-helpers-synthesize-J66KQW2N.js → research-helpers-synthesize-6EEGTTZY.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AttributedInsightSchema,
|
|
3
3
|
synthesizeResearch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-F4WIX5UH.js";
|
|
5
|
+
import "./chunk-JB3BG47N.js";
|
|
6
|
+
import "./chunk-DC2OJAIB.js";
|
|
7
7
|
import "./chunk-ITCKXMOH.js";
|
|
8
8
|
import "./chunk-MM223CVS.js";
|
|
9
9
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
AttributedInsightSchema,
|
|
12
12
|
synthesizeResearch
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=research-helpers-synthesize-
|
|
14
|
+
//# sourceMappingURL=research-helpers-synthesize-6EEGTTZY.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
DEFAULT_ROUTING_MEMORY_CONFIG,
|
|
3
3
|
RoutingMemory,
|
|
4
4
|
createRoutingMemory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DC2OJAIB.js";
|
|
6
6
|
import "./chunk-ITCKXMOH.js";
|
|
7
7
|
import "./chunk-MM223CVS.js";
|
|
8
8
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
RoutingMemory,
|
|
12
12
|
createRoutingMemory
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=routing-memory-
|
|
14
|
+
//# sourceMappingURL=routing-memory-LLGBBX7P.js.map
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
SessionMemory,
|
|
7
7
|
SessionMemoryError,
|
|
8
8
|
createSessionMemory
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-UFF3NTS3.js";
|
|
10
|
+
import "./chunk-DC2OJAIB.js";
|
|
11
11
|
import "./chunk-ITCKXMOH.js";
|
|
12
12
|
import "./chunk-MM223CVS.js";
|
|
13
13
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -20,4 +20,4 @@ export {
|
|
|
20
20
|
SessionMemoryError,
|
|
21
21
|
createSessionMemory
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=session-memory-
|
|
23
|
+
//# sourceMappingURL=session-memory-FJOIX7BQ.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runConfigInitSync
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-OAP5CFEN.js";
|
|
4
|
+
import "./chunk-DC2OJAIB.js";
|
|
5
5
|
import "./chunk-ITCKXMOH.js";
|
|
6
6
|
import "./chunk-MM223CVS.js";
|
|
7
7
|
import "./chunk-ZPWHCABL.js";
|
|
8
8
|
export {
|
|
9
9
|
runConfigInitSync
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=setup-config-
|
|
11
|
+
//# sourceMappingURL=setup-config-R26W2YIS.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CUSTOM_API_DEFAULT_MODEL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YMBWWR5K.js";
|
|
4
4
|
import {
|
|
5
5
|
CUSTOM_API_ALLOW_PRIVATE_ENV,
|
|
6
6
|
CUSTOM_API_BASE_URL_ENV,
|
|
7
7
|
validateCustomApiBaseUrl
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-L2WZSYQ4.js";
|
|
9
9
|
import {
|
|
10
10
|
err,
|
|
11
11
|
ok
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DC2OJAIB.js";
|
|
13
13
|
import "./chunk-ITCKXMOH.js";
|
|
14
14
|
import "./chunk-MM223CVS.js";
|
|
15
15
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -107,4 +107,4 @@ function buildShellFragment(params) {
|
|
|
107
107
|
export {
|
|
108
108
|
configureCustomApi
|
|
109
109
|
};
|
|
110
|
-
//# sourceMappingURL=setup-custom-api-
|
|
110
|
+
//# sourceMappingURL=setup-custom-api-MN6BPPK5.js.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NEXUS_DATA_DIR,
|
|
3
|
+
describeDataDirFix,
|
|
4
|
+
initDataDirectories
|
|
5
|
+
} from "./chunk-5HQ64BQJ.js";
|
|
6
|
+
import "./chunk-ZR2AT5Y4.js";
|
|
7
|
+
import "./chunk-FECYCZZR.js";
|
|
8
|
+
import "./chunk-OQB3XC5O.js";
|
|
9
|
+
import "./chunk-LV3LWVWI.js";
|
|
10
|
+
import "./chunk-6T3EPABN.js";
|
|
11
|
+
import "./chunk-K7WPK63Q.js";
|
|
12
|
+
import "./chunk-RQFYOMCK.js";
|
|
13
|
+
import "./chunk-YMBWWR5K.js";
|
|
14
|
+
import "./chunk-L2WZSYQ4.js";
|
|
15
|
+
import "./chunk-4HXPNLZS.js";
|
|
16
|
+
import "./chunk-KHARSVPD.js";
|
|
17
|
+
import "./chunk-QZUG667L.js";
|
|
18
|
+
import "./chunk-U4QKZICX.js";
|
|
19
|
+
import "./chunk-LWLQZEG7.js";
|
|
20
|
+
import "./chunk-DC2OJAIB.js";
|
|
21
|
+
import "./chunk-ITCKXMOH.js";
|
|
22
|
+
import "./chunk-MM223CVS.js";
|
|
23
|
+
import "./chunk-ZPWHCABL.js";
|
|
24
|
+
export {
|
|
25
|
+
NEXUS_DATA_DIR,
|
|
26
|
+
describeDataDirFix,
|
|
27
|
+
initDataDirectories
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=setup-data-dir-NXOVPIK7.js.map
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
getToolMemory,
|
|
4
4
|
reinitializeMemoryBackends,
|
|
5
5
|
shutdownToolMemory
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OI7VYOYS.js";
|
|
7
7
|
import "./chunk-6T3EPABN.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-UFF3NTS3.js";
|
|
9
9
|
import "./chunk-ODBLHHTP.js";
|
|
10
10
|
import "./chunk-YYJFZ7TO.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-U4QKZICX.js";
|
|
12
|
+
import "./chunk-DC2OJAIB.js";
|
|
13
13
|
import "./chunk-ITCKXMOH.js";
|
|
14
14
|
import "./chunk-MM223CVS.js";
|
|
15
15
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -19,4 +19,4 @@ export {
|
|
|
19
19
|
reinitializeMemoryBackends,
|
|
20
20
|
shutdownToolMemory
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=tool-memory-
|
|
22
|
+
//# sourceMappingURL=tool-memory-B6OUGSGS.js.map
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
createUnifiedRegistry,
|
|
4
4
|
getGlobalRegistry,
|
|
5
5
|
resetGlobalRegistry
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-RO6W6DUN.js";
|
|
7
|
+
import "./chunk-K7WPK63Q.js";
|
|
8
|
+
import "./chunk-RQFYOMCK.js";
|
|
9
|
+
import "./chunk-YMBWWR5K.js";
|
|
10
|
+
import "./chunk-L2WZSYQ4.js";
|
|
11
11
|
import "./chunk-4HXPNLZS.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-KHARSVPD.js";
|
|
13
13
|
import "./chunk-QZUG667L.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-U4QKZICX.js";
|
|
15
|
+
import "./chunk-LWLQZEG7.js";
|
|
16
|
+
import "./chunk-DC2OJAIB.js";
|
|
17
17
|
import "./chunk-ITCKXMOH.js";
|
|
18
18
|
import "./chunk-MM223CVS.js";
|
|
19
19
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
getGlobalRegistry,
|
|
24
24
|
resetGlobalRegistry
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=unified-registry-
|
|
26
|
+
//# sourceMappingURL=unified-registry-4CXEC2UP.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getModelWeatherSummary,
|
|
6
6
|
queryWithLookback,
|
|
7
7
|
shouldExplore
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DC2OJAIB.js";
|
|
9
9
|
import "./chunk-ITCKXMOH.js";
|
|
10
10
|
import "./chunk-MM223CVS.js";
|
|
11
11
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
queryWithLookback,
|
|
18
18
|
shouldExplore
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=weather-report-
|
|
20
|
+
//# sourceMappingURL=weather-report-2MF7IEQ4.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexus-agents",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.3",
|
|
4
4
|
"description": "Governance substrate for AI coding agents — adversarial PR review, drift-detected rules, tamper-evident audit, and closed-loop outcome routing for Claude, Codex, Gemini, and OpenCode",
|
|
5
5
|
"mcpName": "io.github.nexus-substrate/nexus-agents",
|
|
6
6
|
"license": "MIT",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
116
|
"scripts": {
|
|
117
|
-
"build": "tsup &&
|
|
117
|
+
"build": "tsup && pnpm exec tsx ../../scripts/check-dist-assets.ts",
|
|
118
118
|
"dev": "tsup --watch",
|
|
119
119
|
"test": "vitest run",
|
|
120
120
|
"test:e2e": "vitest run --config vitest.config.e2e.ts",
|