nexus-agents 8.74.0 → 8.74.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-SP6GDPCV.js → ast-rule-runner-K35WYUOD.js} +3 -3
- package/dist/{child-mcp-config-UZ4RXW2F.js → child-mcp-config-B2CWZ2ZK.js} +2 -2
- package/dist/{chunk-SZV3CSSA.js → chunk-22VQMTR6.js} +2 -2
- package/dist/{chunk-S2ZYMPIQ.js → chunk-2KXRL4OW.js} +2 -2
- package/dist/{chunk-XCG6DOON.js → chunk-3PI3INR3.js} +5 -5
- package/dist/{chunk-KBVUK5OW.js → chunk-43RJNTUZ.js} +2 -2
- package/dist/{chunk-XCFR2LV4.js → chunk-47624RRN.js} +2 -2
- package/dist/{chunk-UNYUCKCA.js → chunk-4PWDDMLH.js} +41 -19
- package/dist/chunk-4PWDDMLH.js.map +1 -0
- package/dist/{chunk-7WGDWARC.js → chunk-5E33WGDR.js} +2 -2
- package/dist/{chunk-LSEQ67JW.js → chunk-5QE6DJMH.js} +5 -5
- package/dist/{chunk-WGKHMZEM.js → chunk-6DPQOIE7.js} +2 -2
- package/dist/{chunk-45XNEP23.js → chunk-6Y24JDBR.js} +37 -37
- package/dist/chunk-6Y24JDBR.js.map +1 -0
- package/dist/{chunk-VYROSDRZ.js → chunk-ADHIHFBA.js} +2 -2
- package/dist/{chunk-AEKVLSQ3.js → chunk-B227FYGQ.js} +4 -4
- package/dist/{chunk-MOF5OHBX.js → chunk-CYZ3DUQV.js} +2 -2
- package/dist/{chunk-FRUPNBXD.js → chunk-D5ST2Y4W.js} +3 -3
- package/dist/{chunk-7OIJTZNM.js → chunk-DSTEEVDR.js} +2 -2
- package/dist/{chunk-WPTRGYML.js → chunk-GENL3TXA.js} +2 -2
- package/dist/{chunk-W3T2HJS7.js → chunk-GW7SZ555.js} +2 -2
- package/dist/{chunk-SJT4SVUT.js → chunk-HO2UPJ7T.js} +5 -5
- package/dist/{chunk-NZOK67DA.js → chunk-I2KBD37Y.js} +3 -3
- package/dist/{chunk-VACGQIGN.js → chunk-I5DGPV2X.js} +3 -3
- package/dist/{chunk-E5MA4CRS.js → chunk-IQTHG5BO.js} +2 -2
- package/dist/{chunk-QOEW4QIY.js → chunk-M6DJ6AE3.js} +9 -9
- package/dist/{chunk-THA4QMT7.js → chunk-MYGTMAHW.js} +3 -3
- package/dist/{chunk-2Y7XYIIW.js → chunk-NC7X6WQL.js} +2 -2
- package/dist/{chunk-JSWX6BDQ.js → chunk-NLRIEHAY.js} +4 -4
- package/dist/{chunk-L7BZ4BK6.js → chunk-PWEGOADT.js} +10 -10
- package/dist/chunk-PWEGOADT.js.map +1 -0
- package/dist/{chunk-KXEPTN4C.js → chunk-QW5FSTLJ.js} +2 -2
- package/dist/{chunk-OXAVRTVL.js → chunk-RGEJZIOJ.js} +2 -2
- package/dist/{chunk-PLJRYSM3.js → chunk-ST7RKS3P.js} +2 -2
- package/dist/{chunk-KH4M5WF7.js → chunk-TL5NV5JH.js} +4 -4
- package/dist/{chunk-K3ONE7D6.js → chunk-TUTS6S2G.js} +8 -8
- package/dist/{chunk-3BLS7Y5G.js → chunk-Z2XB5IKO.js} +2 -2
- package/dist/{chunk-GLHKNSQ7.js → chunk-ZDVNHXRV.js} +2 -2
- package/dist/{chunk-KKVEMAJY.js → chunk-ZKEULHX6.js} +7 -7
- package/dist/{cli-circuit-breaker-LIGGUF62.js → cli-circuit-breaker-Q73YH6FS.js} +3 -3
- package/dist/cli.js +43 -43
- package/dist/{composite-router-3IMDHDRN.js → composite-router-XKE225G5.js} +2 -2
- package/dist/{consensus-vote-4HYOBUSH.js → consensus-vote-YCETKP4M.js} +16 -16
- package/dist/{context-retriever-42P4NR37.js → context-retriever-5BL34V6Y.js} +8 -8
- package/dist/{doctor-deep-6H22DGVW.js → doctor-deep-UYXLA4HG.js} +3 -3
- package/dist/{doctor-live-7BJ25ERV.js → doctor-live-7I6STRL7.js} +10 -10
- package/dist/{expert-bridge-LXOQUZGP.js → expert-bridge-PLY7MNUK.js} +4 -4
- package/dist/{factory-6OP35KAE.js → factory-5XIEO5EA.js} +5 -5
- package/dist/{factory-QCI576YH.js → factory-ZCMLOSDY.js} +9 -9
- package/dist/{improvement-review-3PCGWFU2.js → improvement-review-CF5SWXUB.js} +5 -5
- package/dist/index.js +31 -31
- package/dist/{init-opencode-RY7XOBEA.js → init-opencode-UTF4K2LR.js} +8 -7
- package/dist/init-opencode-UTF4K2LR.js.map +1 -0
- package/dist/issue-triage-KCRQNDYX.js +16 -0
- package/dist/{pr-reviewer-helpers-K3F54VSR.js → pr-reviewer-helpers-RMOEXYCO.js} +4 -4
- package/dist/{registry-command-MEZJBONZ.js → registry-command-XFM4XIGJ.js} +2 -2
- package/dist/{repo-security-plan-L2HFFULP.js → repo-security-plan-YWANNRJE.js} +3 -3
- package/dist/{research-helpers-synthesize-7CUSK6LU.js → research-helpers-synthesize-QFKDDHRE.js} +4 -4
- package/dist/{routing-memory-QOU5N3CJ.js → routing-memory-T22PQ5FF.js} +2 -2
- package/dist/{session-memory-2L3WJUWQ.js → session-memory-ZNIJGF7Z.js} +3 -3
- package/dist/{setup-config-W3LLNWXB.js → setup-config-XC5KSYGO.js} +3 -3
- package/dist/{setup-custom-api-33RQ4M53.js → setup-custom-api-5WL5D24S.js} +4 -4
- package/dist/setup-data-dir-6PEJ3YF7.js +31 -0
- package/dist/{tool-memory-XY5FBZHL.js → tool-memory-JNHE2VP2.js} +5 -5
- package/dist/{unified-registry-JHSNXTBN.js → unified-registry-5IIFYGBI.js} +10 -10
- package/dist/{weather-report-BHAOPRFQ.js → weather-report-3AZHFDM3.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-45XNEP23.js.map +0 -1
- package/dist/chunk-L7BZ4BK6.js.map +0 -1
- package/dist/chunk-UNYUCKCA.js.map +0 -1
- package/dist/init-opencode-RY7XOBEA.js.map +0 -1
- package/dist/issue-triage-KPAQEJGV.js +0 -16
- package/dist/setup-data-dir-Y7MW2XYL.js +0 -31
- /package/dist/{ast-rule-runner-SP6GDPCV.js.map → ast-rule-runner-K35WYUOD.js.map} +0 -0
- /package/dist/{child-mcp-config-UZ4RXW2F.js.map → child-mcp-config-B2CWZ2ZK.js.map} +0 -0
- /package/dist/{chunk-SZV3CSSA.js.map → chunk-22VQMTR6.js.map} +0 -0
- /package/dist/{chunk-S2ZYMPIQ.js.map → chunk-2KXRL4OW.js.map} +0 -0
- /package/dist/{chunk-XCG6DOON.js.map → chunk-3PI3INR3.js.map} +0 -0
- /package/dist/{chunk-KBVUK5OW.js.map → chunk-43RJNTUZ.js.map} +0 -0
- /package/dist/{chunk-XCFR2LV4.js.map → chunk-47624RRN.js.map} +0 -0
- /package/dist/{chunk-7WGDWARC.js.map → chunk-5E33WGDR.js.map} +0 -0
- /package/dist/{chunk-LSEQ67JW.js.map → chunk-5QE6DJMH.js.map} +0 -0
- /package/dist/{chunk-WGKHMZEM.js.map → chunk-6DPQOIE7.js.map} +0 -0
- /package/dist/{chunk-VYROSDRZ.js.map → chunk-ADHIHFBA.js.map} +0 -0
- /package/dist/{chunk-AEKVLSQ3.js.map → chunk-B227FYGQ.js.map} +0 -0
- /package/dist/{chunk-MOF5OHBX.js.map → chunk-CYZ3DUQV.js.map} +0 -0
- /package/dist/{chunk-FRUPNBXD.js.map → chunk-D5ST2Y4W.js.map} +0 -0
- /package/dist/{chunk-7OIJTZNM.js.map → chunk-DSTEEVDR.js.map} +0 -0
- /package/dist/{chunk-WPTRGYML.js.map → chunk-GENL3TXA.js.map} +0 -0
- /package/dist/{chunk-W3T2HJS7.js.map → chunk-GW7SZ555.js.map} +0 -0
- /package/dist/{chunk-SJT4SVUT.js.map → chunk-HO2UPJ7T.js.map} +0 -0
- /package/dist/{chunk-NZOK67DA.js.map → chunk-I2KBD37Y.js.map} +0 -0
- /package/dist/{chunk-VACGQIGN.js.map → chunk-I5DGPV2X.js.map} +0 -0
- /package/dist/{chunk-E5MA4CRS.js.map → chunk-IQTHG5BO.js.map} +0 -0
- /package/dist/{chunk-QOEW4QIY.js.map → chunk-M6DJ6AE3.js.map} +0 -0
- /package/dist/{chunk-THA4QMT7.js.map → chunk-MYGTMAHW.js.map} +0 -0
- /package/dist/{chunk-2Y7XYIIW.js.map → chunk-NC7X6WQL.js.map} +0 -0
- /package/dist/{chunk-JSWX6BDQ.js.map → chunk-NLRIEHAY.js.map} +0 -0
- /package/dist/{chunk-KXEPTN4C.js.map → chunk-QW5FSTLJ.js.map} +0 -0
- /package/dist/{chunk-OXAVRTVL.js.map → chunk-RGEJZIOJ.js.map} +0 -0
- /package/dist/{chunk-PLJRYSM3.js.map → chunk-ST7RKS3P.js.map} +0 -0
- /package/dist/{chunk-KH4M5WF7.js.map → chunk-TL5NV5JH.js.map} +0 -0
- /package/dist/{chunk-K3ONE7D6.js.map → chunk-TUTS6S2G.js.map} +0 -0
- /package/dist/{chunk-3BLS7Y5G.js.map → chunk-Z2XB5IKO.js.map} +0 -0
- /package/dist/{chunk-GLHKNSQ7.js.map → chunk-ZDVNHXRV.js.map} +0 -0
- /package/dist/{chunk-KKVEMAJY.js.map → chunk-ZKEULHX6.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-LIGGUF62.js.map → cli-circuit-breaker-Q73YH6FS.js.map} +0 -0
- /package/dist/{composite-router-3IMDHDRN.js.map → composite-router-XKE225G5.js.map} +0 -0
- /package/dist/{consensus-vote-4HYOBUSH.js.map → consensus-vote-YCETKP4M.js.map} +0 -0
- /package/dist/{context-retriever-42P4NR37.js.map → context-retriever-5BL34V6Y.js.map} +0 -0
- /package/dist/{doctor-deep-6H22DGVW.js.map → doctor-deep-UYXLA4HG.js.map} +0 -0
- /package/dist/{doctor-live-7BJ25ERV.js.map → doctor-live-7I6STRL7.js.map} +0 -0
- /package/dist/{expert-bridge-LXOQUZGP.js.map → expert-bridge-PLY7MNUK.js.map} +0 -0
- /package/dist/{factory-6OP35KAE.js.map → factory-5XIEO5EA.js.map} +0 -0
- /package/dist/{factory-QCI576YH.js.map → factory-ZCMLOSDY.js.map} +0 -0
- /package/dist/{improvement-review-3PCGWFU2.js.map → improvement-review-CF5SWXUB.js.map} +0 -0
- /package/dist/{issue-triage-KPAQEJGV.js.map → issue-triage-KCRQNDYX.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-K3F54VSR.js.map → pr-reviewer-helpers-RMOEXYCO.js.map} +0 -0
- /package/dist/{registry-command-MEZJBONZ.js.map → registry-command-XFM4XIGJ.js.map} +0 -0
- /package/dist/{repo-security-plan-L2HFFULP.js.map → repo-security-plan-YWANNRJE.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-7CUSK6LU.js.map → research-helpers-synthesize-QFKDDHRE.js.map} +0 -0
- /package/dist/{routing-memory-QOU5N3CJ.js.map → routing-memory-T22PQ5FF.js.map} +0 -0
- /package/dist/{session-memory-2L3WJUWQ.js.map → session-memory-ZNIJGF7Z.js.map} +0 -0
- /package/dist/{setup-config-W3LLNWXB.js.map → setup-config-XC5KSYGO.js.map} +0 -0
- /package/dist/{setup-custom-api-33RQ4M53.js.map → setup-custom-api-5WL5D24S.js.map} +0 -0
- /package/dist/{setup-data-dir-Y7MW2XYL.js.map → setup-data-dir-6PEJ3YF7.js.map} +0 -0
- /package/dist/{tool-memory-XY5FBZHL.js.map → tool-memory-JNHE2VP2.js.map} +0 -0
- /package/dist/{unified-registry-JHSNXTBN.js.map → unified-registry-5IIFYGBI.js.map} +0 -0
- /package/dist/{weather-report-BHAOPRFQ.js.map → weather-report-3AZHFDM3.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGitHubProvider,
|
|
3
3
|
createScmProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NLRIEHAY.js";
|
|
5
5
|
import {
|
|
6
6
|
ALLOWED_COMMANDS,
|
|
7
7
|
ARTIFACT_TYPES,
|
|
@@ -552,7 +552,7 @@ import {
|
|
|
552
552
|
withLogging,
|
|
553
553
|
withRetry,
|
|
554
554
|
withRetryWrapper
|
|
555
|
-
} from "./chunk-
|
|
555
|
+
} from "./chunk-6Y24JDBR.js";
|
|
556
556
|
import {
|
|
557
557
|
FALLBACK_SCANNER_DATA,
|
|
558
558
|
buildPlanFromAnalysis,
|
|
@@ -560,7 +560,7 @@ import {
|
|
|
560
560
|
generateSecurityPlan,
|
|
561
561
|
getRegistryManifest,
|
|
562
562
|
resolveScannerData
|
|
563
|
-
} from "./chunk-
|
|
563
|
+
} from "./chunk-CYZ3DUQV.js";
|
|
564
564
|
import {
|
|
565
565
|
analyzeGitHubRepo,
|
|
566
566
|
analyzeRepo,
|
|
@@ -578,24 +578,24 @@ import {
|
|
|
578
578
|
getBuiltInAstRulesPath,
|
|
579
579
|
loadRules,
|
|
580
580
|
runAstQaRules
|
|
581
|
-
} from "./chunk-
|
|
581
|
+
} from "./chunk-Z2XB5IKO.js";
|
|
582
582
|
import "./chunk-3KDQKVCJ.js";
|
|
583
583
|
import {
|
|
584
584
|
closeServer,
|
|
585
585
|
connectTransport,
|
|
586
586
|
createServer,
|
|
587
587
|
startStdioServer
|
|
588
|
-
} from "./chunk-
|
|
589
|
-
import "./chunk-
|
|
588
|
+
} from "./chunk-PWEGOADT.js";
|
|
589
|
+
import "./chunk-43RJNTUZ.js";
|
|
590
590
|
import {
|
|
591
591
|
OPENAI_MODELS,
|
|
592
592
|
OPENAI_MODEL_ALIASES,
|
|
593
593
|
OpenAIAdapter,
|
|
594
594
|
createOpenAIAdapter
|
|
595
|
-
} from "./chunk-
|
|
595
|
+
} from "./chunk-HO2UPJ7T.js";
|
|
596
596
|
import {
|
|
597
597
|
executeExpert
|
|
598
|
-
} from "./chunk-
|
|
598
|
+
} from "./chunk-ZKEULHX6.js";
|
|
599
599
|
import {
|
|
600
600
|
AgentFindingSchema,
|
|
601
601
|
ConsensusEngine,
|
|
@@ -644,12 +644,12 @@ import {
|
|
|
644
644
|
generateProposalId,
|
|
645
645
|
parseAgentPairKey,
|
|
646
646
|
registerConsensusVoteTool
|
|
647
|
-
} from "./chunk-
|
|
648
|
-
import "./chunk-
|
|
647
|
+
} from "./chunk-M6DJ6AE3.js";
|
|
648
|
+
import "./chunk-47624RRN.js";
|
|
649
649
|
import {
|
|
650
650
|
allOf
|
|
651
651
|
} from "./chunk-OQB3XC5O.js";
|
|
652
|
-
import "./chunk-
|
|
652
|
+
import "./chunk-MYGTMAHW.js";
|
|
653
653
|
import {
|
|
654
654
|
AgentActionSchema,
|
|
655
655
|
AuditTrail,
|
|
@@ -688,11 +688,11 @@ import {
|
|
|
688
688
|
resolveFirewallPolicyMode,
|
|
689
689
|
validateAgentAction,
|
|
690
690
|
validateCorroboration
|
|
691
|
-
} from "./chunk-
|
|
691
|
+
} from "./chunk-3PI3INR3.js";
|
|
692
692
|
import {
|
|
693
693
|
GitHubProvider,
|
|
694
694
|
ScmError
|
|
695
|
-
} from "./chunk-
|
|
695
|
+
} from "./chunk-NC7X6WQL.js";
|
|
696
696
|
import {
|
|
697
697
|
GitHubUserRoleSchema,
|
|
698
698
|
InjectionFlagSchema,
|
|
@@ -707,11 +707,11 @@ import {
|
|
|
707
707
|
assessReputation,
|
|
708
708
|
resolveReputationGatingMode,
|
|
709
709
|
sanitizeInput
|
|
710
|
-
} from "./chunk-
|
|
710
|
+
} from "./chunk-ADHIHFBA.js";
|
|
711
711
|
import {
|
|
712
712
|
ImprovementReviewInputSchema,
|
|
713
713
|
registerImprovementReviewTool
|
|
714
|
-
} from "./chunk-
|
|
714
|
+
} from "./chunk-I2KBD37Y.js";
|
|
715
715
|
import {
|
|
716
716
|
AgentPerformanceSchema,
|
|
717
717
|
ConsensusAlgorithmSchema,
|
|
@@ -748,17 +748,17 @@ import {
|
|
|
748
748
|
toolSuccess,
|
|
749
749
|
toolSuccessStructured,
|
|
750
750
|
validateToolInput
|
|
751
|
-
} from "./chunk-
|
|
751
|
+
} from "./chunk-D5ST2Y4W.js";
|
|
752
752
|
import {
|
|
753
753
|
VERSION
|
|
754
|
-
} from "./chunk-
|
|
754
|
+
} from "./chunk-QW5FSTLJ.js";
|
|
755
755
|
import {
|
|
756
756
|
RegistryAlreadyInitializedError,
|
|
757
757
|
UnifiedAdapterRegistry,
|
|
758
758
|
createUnifiedRegistry,
|
|
759
759
|
getGlobalRegistry,
|
|
760
760
|
resetGlobalRegistry
|
|
761
|
-
} from "./chunk-
|
|
761
|
+
} from "./chunk-TL5NV5JH.js";
|
|
762
762
|
import {
|
|
763
763
|
PersistentStrategyDistiller,
|
|
764
764
|
RulesSnapshotSchema,
|
|
@@ -766,18 +766,18 @@ import {
|
|
|
766
766
|
TokenCounter,
|
|
767
767
|
TokenCounterProvider,
|
|
768
768
|
createTokenCounter
|
|
769
|
-
} from "./chunk-
|
|
770
|
-
import "./chunk-
|
|
769
|
+
} from "./chunk-5QE6DJMH.js";
|
|
770
|
+
import "./chunk-GW7SZ555.js";
|
|
771
771
|
import {
|
|
772
772
|
getTokenEnvVars,
|
|
773
773
|
hasToken,
|
|
774
774
|
resolveToken
|
|
775
|
-
} from "./chunk-
|
|
775
|
+
} from "./chunk-22VQMTR6.js";
|
|
776
776
|
import {
|
|
777
777
|
MemoryError
|
|
778
|
-
} from "./chunk-
|
|
778
|
+
} from "./chunk-B227FYGQ.js";
|
|
779
779
|
import "./chunk-7LP6VJRP.js";
|
|
780
|
-
import "./chunk-
|
|
780
|
+
import "./chunk-6DPQOIE7.js";
|
|
781
781
|
import {
|
|
782
782
|
BUILT_IN_EXPERTS,
|
|
783
783
|
BuiltInExpertTypeSchema,
|
|
@@ -822,7 +822,7 @@ import {
|
|
|
822
822
|
isCliAvailable,
|
|
823
823
|
isRetryableError,
|
|
824
824
|
sleep
|
|
825
|
-
} from "./chunk-
|
|
825
|
+
} from "./chunk-TUTS6S2G.js";
|
|
826
826
|
import {
|
|
827
827
|
AdapterModelError,
|
|
828
828
|
BaseAdapter,
|
|
@@ -844,9 +844,9 @@ import {
|
|
|
844
844
|
tapStream,
|
|
845
845
|
transformStream,
|
|
846
846
|
withTimeout
|
|
847
|
-
} from "./chunk-
|
|
848
|
-
import "./chunk-
|
|
849
|
-
import "./chunk-
|
|
847
|
+
} from "./chunk-ZDVNHXRV.js";
|
|
848
|
+
import "./chunk-ST7RKS3P.js";
|
|
849
|
+
import "./chunk-5E33WGDR.js";
|
|
850
850
|
import "./chunk-HERI7LXN.js";
|
|
851
851
|
import {
|
|
852
852
|
AvailabilityCache,
|
|
@@ -856,13 +856,13 @@ import {
|
|
|
856
856
|
getFallbackChain,
|
|
857
857
|
resetAvailabilityCache,
|
|
858
858
|
resolveFallback
|
|
859
|
-
} from "./chunk-
|
|
859
|
+
} from "./chunk-RGEJZIOJ.js";
|
|
860
860
|
import "./chunk-QZUG667L.js";
|
|
861
|
-
import "./chunk-
|
|
861
|
+
import "./chunk-IQTHG5BO.js";
|
|
862
862
|
import {
|
|
863
863
|
CliCircuitBreakerIntegration,
|
|
864
864
|
createCliCircuitBreakerIntegration
|
|
865
|
-
} from "./chunk-
|
|
865
|
+
} from "./chunk-GENL3TXA.js";
|
|
866
866
|
import {
|
|
867
867
|
AgentCapability,
|
|
868
868
|
AgentError,
|
|
@@ -942,7 +942,7 @@ import {
|
|
|
942
942
|
toError,
|
|
943
943
|
unwrap,
|
|
944
944
|
unwrapOr
|
|
945
|
-
} from "./chunk-
|
|
945
|
+
} from "./chunk-4PWDDMLH.js";
|
|
946
946
|
import "./chunk-4UHDDCRB.js";
|
|
947
947
|
import "./chunk-RNDHNRSX.js";
|
|
948
948
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -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-HO2UPJ7T.js";
|
|
5
|
+
import "./chunk-47624RRN.js";
|
|
6
|
+
import "./chunk-ZDVNHXRV.js";
|
|
7
|
+
import "./chunk-5E33WGDR.js";
|
|
8
8
|
import {
|
|
9
9
|
createLogger
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4PWDDMLH.js";
|
|
11
11
|
import "./chunk-4UHDDCRB.js";
|
|
12
12
|
import "./chunk-RNDHNRSX.js";
|
|
13
13
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -35,7 +35,8 @@ function buildDefaultPermissionBlock() {
|
|
|
35
35
|
function buildNexusMcpBlock(opts) {
|
|
36
36
|
const env = {
|
|
37
37
|
NEXUS_DATA_DIR: "{env:NEXUS_DATA_DIR}",
|
|
38
|
-
NEXUS_OPENCODE_CONFIG: opts.opencodeConfigPath
|
|
38
|
+
NEXUS_OPENCODE_CONFIG: opts.opencodeConfigPath,
|
|
39
|
+
NEXUS_GATEWAY_COST: "openai-compat=free"
|
|
39
40
|
};
|
|
40
41
|
if (opts.sandboxFlavor !== void 0 && opts.sandboxFlavor !== "") {
|
|
41
42
|
env["NEXUS_SANDBOX"] = opts.sandboxFlavor;
|
|
@@ -176,4 +177,4 @@ export {
|
|
|
176
177
|
runInitOpencode,
|
|
177
178
|
runOpencodeValidate
|
|
178
179
|
};
|
|
179
|
-
//# sourceMappingURL=init-opencode-
|
|
180
|
+
//# sourceMappingURL=init-opencode-UTF4K2LR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/cli/init-opencode.ts"],"sourcesContent":["/**\n * `nexus-agents init --opencode <path>` setup helper (#2504, child 4 of #2500).\n *\n * Injects the nexus-agents MCP block + recommended environment into an\n * existing `opencode.json` without overwriting other operator-set keys.\n * Pairs with the existing `init --portable --mcp-config` (which targets\n * Claude Code's `.mcp.json`). Different harness, same merge-not-overwrite\n * pattern.\n *\n * Behaviour:\n * - File exists → merge `mcp.nexus-agents` into the existing JSON.\n * Preserve every other key the operator has set (provider config,\n * model lists, theme, …). Idempotent: re-running produces the same\n * final file.\n * - File missing → write a minimal template with the nexus-agents MCP\n * block + a stubbed `providers.openai-compat` shell the operator\n * fills in (placeholder baseURL + `{env:WORKSPACE_PROXY_KEY}`).\n * - `--dry-run` → print the diff (proposed vs existing) without writing.\n * - `--validate` → after merge (or alongside dry-run), probe\n * `providers.openai-compat.options.baseURL/v1/models` with the\n * resolved apiKey, exit non-zero if unreachable.\n *\n * @module cli/init-opencode\n */\n\nimport { existsSync, readFileSync, writeFileSync } from 'node:fs';\nimport { dirname } from 'node:path';\n\nimport { createLogger } from '../core/index.js';\nimport { readOpencodeGateway } from '../config/opencode-bridge.js';\nimport { discoverModels } from '../adapters/openai-compat-adapter.js';\n\nconst logger = createLogger({ component: 'init-opencode' });\n\nexport interface InitOpencodeOptions {\n /** Absolute or relative path to opencode.json. */\n readonly path: string;\n /** Path to the nexus-agents CLI binary that the MCP block will spawn. */\n readonly cliPath: string;\n /** Sandbox flavor written to NEXUS_SANDBOX in the MCP environment. */\n readonly sandboxFlavor?: string;\n /** Print the diff without writing. */\n readonly dryRun?: boolean;\n}\n\nexport interface InitOpencodeResult {\n readonly path: string;\n readonly action: 'created' | 'updated' | 'unchanged' | 'dry-run';\n readonly diff: string;\n}\n\ninterface OpencodeMcpBlock {\n type: 'local';\n command: string[];\n enabled: boolean;\n environment: Record<string, string>;\n}\n\ninterface OpencodeFile {\n $schema?: string;\n providers?: Record<string, unknown>;\n mcp?: Record<string, unknown>;\n permission?: Record<string, unknown>;\n [key: string]: unknown;\n}\n\n/**\n * Conservative default OpenCode `permission` block (#2658). OpenCode\n * evaluates a glob map with **last-matching-rule-winning**, so the broad\n * `\"*\"` rule is listed first and the hard `deny` patterns last.\n *\n * - `edit` — everything `ask`s; secrets, keys, and `.git/` are hard-denied\n * regardless of operator confirmation. The deny patterns come after\n * `\"*\"` so last-match-wins makes them stick.\n * - `bash` — `ask` unconditionally. Shell is the highest-risk surface.\n * - `skill` — `allow`. Skills are trusted, in-repo, CI-validated content.\n *\n * Emitted only when the operator has not already set their own\n * `permission` block — never overwrites operator config.\n */\nexport function buildDefaultPermissionBlock(): Record<string, unknown> {\n return {\n edit: {\n '*': 'ask',\n '**/.env': 'deny',\n '**/.env.*': 'deny',\n '**/*.pem': 'deny',\n '**/*.key': 'deny',\n '**/id_rsa*': 'deny',\n '**/secrets/**': 'deny',\n '**/.git/**': 'deny',\n },\n bash: 'ask',\n skill: 'allow',\n };\n}\n\n/**\n * Build the canonical nexus-agents MCP block. Mirrors what\n * `Dockerfile.sandbox` writes today plus the env vars from #2501 + #2503.\n *\n * `NEXUS_GATEWAY_COST` (#4392): the gateway this file configures is the\n * `providers.openai-compat` block, so its arm is declared `free` under\n * that endpoint key. Scoped, never bare — a bare `free` would also declare\n * any second gateway the operator adds later. `free`, not `local` — init\n * cannot know whether the proxy is on-box. A hand-edited value survives a\n * re-run: `mergeNexusBlock` spreads the existing environment over this one.\n */\nexport function buildNexusMcpBlock(opts: {\n readonly cliPath: string;\n readonly sandboxFlavor?: string;\n readonly opencodeConfigPath: string;\n}): OpencodeMcpBlock {\n const env: Record<string, string> = {\n NEXUS_DATA_DIR: '{env:NEXUS_DATA_DIR}',\n NEXUS_OPENCODE_CONFIG: opts.opencodeConfigPath,\n NEXUS_GATEWAY_COST: 'openai-compat=free',\n };\n if (opts.sandboxFlavor !== undefined && opts.sandboxFlavor !== '') {\n env['NEXUS_SANDBOX'] = opts.sandboxFlavor;\n }\n return {\n type: 'local',\n command: ['node', opts.cliPath, '--mode=server'],\n enabled: true,\n environment: env,\n };\n}\n\n/**\n * Execute the merge. Pure with respect to `opts.dryRun: true` — no fs\n * writes. Returns the final-or-proposed JSON + a diff string suitable\n * for printing.\n */\nexport function runInitOpencode(opts: InitOpencodeOptions): InitOpencodeResult {\n const existing = readExisting(opts.path);\n const merged = mergeNexusBlock(existing, opts);\n const before = existing === null ? '' : `${JSON.stringify(existing, null, 2)}\\n`;\n const after = `${JSON.stringify(merged, null, 2)}\\n`;\n const diff = simpleDiff(before, after);\n\n if (opts.dryRun === true) {\n return { path: opts.path, action: 'dry-run', diff };\n }\n\n if (existing !== null && before === after) {\n return { path: opts.path, action: 'unchanged', diff };\n }\n\n writeFileSync(opts.path, after, 'utf8');\n return { path: opts.path, action: existing === null ? 'created' : 'updated', diff };\n}\n\nfunction readExisting(path: string): OpencodeFile | null {\n if (!existsSync(path)) return null;\n try {\n const raw = readFileSync(path, 'utf8');\n const parsed = JSON.parse(raw) as unknown;\n if (typeof parsed !== 'object' || parsed === null) {\n throw new Error('opencode.json root must be an object');\n }\n return parsed as OpencodeFile;\n } catch (err: unknown) {\n const msg = err instanceof Error ? err.message : String(err);\n throw new Error(`Failed to parse opencode.json at ${path}: ${msg}`);\n }\n}\n\nfunction mergeNexusBlock(existing: OpencodeFile | null, opts: InitOpencodeOptions): OpencodeFile {\n const block = buildNexusMcpBlock({\n cliPath: opts.cliPath,\n ...(opts.sandboxFlavor !== undefined && { sandboxFlavor: opts.sandboxFlavor }),\n opencodeConfigPath: opts.path,\n });\n\n if (existing === null) {\n return {\n $schema: 'https://opencode.ai/config.json',\n providers: { 'openai-compat': stubOpenaiCompatProvider() },\n permission: buildDefaultPermissionBlock(),\n mcp: { 'nexus-agents': block },\n };\n }\n\n // Idempotent merge: preserve user-customised fields if they exist on the\n // current MCP block (e.g. `enabled: false`). Update anything else.\n const existingMcp: Record<string, unknown> = existing.mcp ?? {};\n const rawNexus = existingMcp['nexus-agents'];\n const existingNexus: Partial<OpencodeMcpBlock> =\n typeof rawNexus === 'object' && rawNexus !== null ? rawNexus : {};\n const mergedBlock: OpencodeMcpBlock = {\n type: 'local',\n command: block.command,\n enabled: existingNexus.enabled ?? block.enabled,\n environment: { ...block.environment, ...(existingNexus.environment ?? {}) },\n };\n\n // Add the default permission block only when the operator has not set\n // their own — never overwrite an existing `permission` key.\n const permission = existing.permission ?? buildDefaultPermissionBlock();\n\n return {\n ...existing,\n permission,\n mcp: { ...existingMcp, 'nexus-agents': mergedBlock },\n };\n}\n\n/**\n * Stub for `providers.openai-compat`. Operators replace the placeholder\n * baseURL + key with their workspace-proxy values. Empty by design — we\n * never overwrite an existing provider block (see `mergeNexusBlock`).\n */\nfunction stubOpenaiCompatProvider(): Record<string, unknown> {\n return {\n npm: '@ai-sdk/openai-compatible',\n options: {\n baseURL: '<replace with workspace proxy URL>',\n apiKey: '{env:WORKSPACE_PROXY_KEY}',\n },\n };\n}\n\n/**\n * Cheap line-based diff. Three-line context, +/- prefixes. Good enough\n * for an operator preview; not a unified-diff replacement.\n */\nfunction simpleDiff(before: string, after: string): string {\n if (before === after) return '(no changes)';\n const beforeLines = before.split('\\n');\n const afterLines = after.split('\\n');\n const out: string[] = [];\n const max = Math.max(beforeLines.length, afterLines.length);\n for (let i = 0; i < max; i += 1) {\n const b = beforeLines[i];\n const a = afterLines[i];\n if (b === a) {\n out.push(` ${b ?? ''}`);\n } else {\n if (b !== undefined) out.push(`- ${b}`);\n if (a !== undefined) out.push(`+ ${a}`);\n }\n }\n return out.join('\\n');\n}\n\nexport function ensureOpencodeDirExists(path: string): void {\n const dir = dirname(path);\n if (!existsSync(dir)) {\n throw new Error(\n `Parent directory does not exist: ${dir}. Create it first or pass a path under an existing dir.`\n );\n }\n logger.debug('opencode.json target directory exists', { dir });\n}\n\n/**\n * --validate flow for `init --opencode` (follow-up to #2504).\n *\n * After the merge step writes the file, optionally probe the gateway it\n * points at. Reuses the same opencode-bridge loader (#2503) that the\n * runtime uses, so what we validate is exactly what the server will see\n * at boot.\n *\n * Returns:\n * - `{ ok: true, models }` when the gateway is reachable and returns ≥1 model\n * - `{ ok: false, reason }` for every failure path (config missing,\n * probe failed, zero models)\n *\n * Caller (cli-commands-handlers) maps to exit codes + stderr / stdout.\n * The API key never reaches the returned object — only model IDs +\n * baseURL appear in the success payload.\n */\nexport interface OpencodeValidateResult {\n readonly ok: boolean;\n readonly baseURL?: string;\n readonly models?: readonly string[];\n readonly reason?: string;\n}\n\nexport async function runOpencodeValidate(opencodePath: string): Promise<OpencodeValidateResult> {\n const config = readOpencodeGateway(opencodePath);\n if (config === null) {\n return {\n ok: false,\n reason:\n 'opencode.json does not resolve a usable gateway. Check that providers.openai-compat.options.{baseURL, apiKey} are set and that any {env:VAR} interpolation references are exported.',\n };\n }\n const result = await discoverModels({ baseUrl: config.baseURL, apiKey: config.apiKey });\n if (!result.ok) {\n return { ok: false, baseURL: config.baseURL, reason: result.error.message };\n }\n if (result.value.length === 0) {\n return {\n ok: false,\n baseURL: config.baseURL,\n reason: 'gateway returned 0 models. Check upstream provider quotas / list filters.',\n };\n }\n return {\n ok: true,\n baseURL: config.baseURL,\n models: result.value.map((m) => m.id),\n };\n}\n"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IssueTriage,
|
|
3
|
+
createIssueTriage
|
|
4
|
+
} from "./chunk-3PI3INR3.js";
|
|
5
|
+
import "./chunk-NC7X6WQL.js";
|
|
6
|
+
import "./chunk-ADHIHFBA.js";
|
|
7
|
+
import "./chunk-22VQMTR6.js";
|
|
8
|
+
import "./chunk-4PWDDMLH.js";
|
|
9
|
+
import "./chunk-4UHDDCRB.js";
|
|
10
|
+
import "./chunk-RNDHNRSX.js";
|
|
11
|
+
import "./chunk-PX6F3LHL.js";
|
|
12
|
+
export {
|
|
13
|
+
IssueTriage,
|
|
14
|
+
createIssueTriage
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=issue-triage-KCRQNDYX.js.map
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
parseSeverity,
|
|
21
21
|
reviewPostingBlock,
|
|
22
22
|
sumFindings
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-I5DGPV2X.js";
|
|
24
24
|
import "./chunk-3KDQKVCJ.js";
|
|
25
25
|
import "./chunk-OQB3XC5O.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-ADHIHFBA.js";
|
|
27
|
+
import "./chunk-4PWDDMLH.js";
|
|
28
28
|
import "./chunk-4UHDDCRB.js";
|
|
29
29
|
import "./chunk-RNDHNRSX.js";
|
|
30
30
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -51,4 +51,4 @@ export {
|
|
|
51
51
|
reviewPostingBlock,
|
|
52
52
|
sumFindings
|
|
53
53
|
};
|
|
54
|
-
//# sourceMappingURL=pr-reviewer-helpers-
|
|
54
|
+
//# sourceMappingURL=pr-reviewer-helpers-RMOEXYCO.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
loadGeneratedRegistryEntries,
|
|
8
8
|
loadUserManifestOverlay,
|
|
9
9
|
reloadDefaultRegistry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4PWDDMLH.js";
|
|
11
11
|
import "./chunk-4UHDDCRB.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-XFM4XIGJ.js.map
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
buildPlanFromAnalysis,
|
|
4
4
|
generateSecurityPlan,
|
|
5
5
|
resolveScannerData
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CYZ3DUQV.js";
|
|
7
7
|
import "./chunk-4GDMHCKX.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-4PWDDMLH.js";
|
|
9
9
|
import "./chunk-4UHDDCRB.js";
|
|
10
10
|
import "./chunk-RNDHNRSX.js";
|
|
11
11
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
generateSecurityPlan,
|
|
16
16
|
resolveScannerData
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=repo-security-plan-
|
|
18
|
+
//# sourceMappingURL=repo-security-plan-YWANNRJE.js.map
|
package/dist/{research-helpers-synthesize-7CUSK6LU.js → research-helpers-synthesize-QFKDDHRE.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-MYGTMAHW.js";
|
|
5
|
+
import "./chunk-GW7SZ555.js";
|
|
6
|
+
import "./chunk-4PWDDMLH.js";
|
|
7
7
|
import "./chunk-4UHDDCRB.js";
|
|
8
8
|
import "./chunk-RNDHNRSX.js";
|
|
9
9
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
AttributedInsightSchema,
|
|
12
12
|
synthesizeResearch
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=research-helpers-synthesize-
|
|
14
|
+
//# sourceMappingURL=research-helpers-synthesize-QFKDDHRE.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-4PWDDMLH.js";
|
|
6
6
|
import "./chunk-4UHDDCRB.js";
|
|
7
7
|
import "./chunk-RNDHNRSX.js";
|
|
8
8
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -11,4 +11,4 @@ export {
|
|
|
11
11
|
RoutingMemory,
|
|
12
12
|
createRoutingMemory
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=routing-memory-
|
|
14
|
+
//# sourceMappingURL=routing-memory-T22PQ5FF.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-6DPQOIE7.js";
|
|
10
|
+
import "./chunk-4PWDDMLH.js";
|
|
11
11
|
import "./chunk-4UHDDCRB.js";
|
|
12
12
|
import "./chunk-RNDHNRSX.js";
|
|
13
13
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -20,4 +20,4 @@ export {
|
|
|
20
20
|
SessionMemoryError,
|
|
21
21
|
createSessionMemory
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=session-memory-
|
|
23
|
+
//# sourceMappingURL=session-memory-ZNIJGF7Z.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runConfigInitSync
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2KXRL4OW.js";
|
|
4
|
+
import "./chunk-4PWDDMLH.js";
|
|
5
5
|
import "./chunk-4UHDDCRB.js";
|
|
6
6
|
import "./chunk-RNDHNRSX.js";
|
|
7
7
|
import "./chunk-PX6F3LHL.js";
|
|
8
8
|
export {
|
|
9
9
|
runConfigInitSync
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=setup-config-
|
|
11
|
+
//# sourceMappingURL=setup-config-XC5KSYGO.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CUSTOM_API_DEFAULT_MODEL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ST7RKS3P.js";
|
|
4
4
|
import {
|
|
5
5
|
validateCustomApiBaseUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5E33WGDR.js";
|
|
7
7
|
import {
|
|
8
8
|
CUSTOM_API_ALLOW_PRIVATE_ENV,
|
|
9
9
|
CUSTOM_API_BASE_URL_ENV,
|
|
10
10
|
err,
|
|
11
11
|
ok
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4PWDDMLH.js";
|
|
13
13
|
import "./chunk-4UHDDCRB.js";
|
|
14
14
|
import "./chunk-RNDHNRSX.js";
|
|
15
15
|
import "./chunk-PX6F3LHL.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-5WL5D24S.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NEXUS_DATA_DIR,
|
|
3
|
+
describeDataDirFix,
|
|
4
|
+
initDataDirectories
|
|
5
|
+
} from "./chunk-PWEGOADT.js";
|
|
6
|
+
import "./chunk-43RJNTUZ.js";
|
|
7
|
+
import "./chunk-HO2UPJ7T.js";
|
|
8
|
+
import "./chunk-47624RRN.js";
|
|
9
|
+
import "./chunk-OQB3XC5O.js";
|
|
10
|
+
import "./chunk-QW5FSTLJ.js";
|
|
11
|
+
import "./chunk-TL5NV5JH.js";
|
|
12
|
+
import "./chunk-7LP6VJRP.js";
|
|
13
|
+
import "./chunk-TUTS6S2G.js";
|
|
14
|
+
import "./chunk-ZDVNHXRV.js";
|
|
15
|
+
import "./chunk-ST7RKS3P.js";
|
|
16
|
+
import "./chunk-5E33WGDR.js";
|
|
17
|
+
import "./chunk-HERI7LXN.js";
|
|
18
|
+
import "./chunk-RGEJZIOJ.js";
|
|
19
|
+
import "./chunk-QZUG667L.js";
|
|
20
|
+
import "./chunk-IQTHG5BO.js";
|
|
21
|
+
import "./chunk-GENL3TXA.js";
|
|
22
|
+
import "./chunk-4PWDDMLH.js";
|
|
23
|
+
import "./chunk-4UHDDCRB.js";
|
|
24
|
+
import "./chunk-RNDHNRSX.js";
|
|
25
|
+
import "./chunk-PX6F3LHL.js";
|
|
26
|
+
export {
|
|
27
|
+
NEXUS_DATA_DIR,
|
|
28
|
+
describeDataDirFix,
|
|
29
|
+
initDataDirectories
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=setup-data-dir-6PEJ3YF7.js.map
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
getToolMemory,
|
|
5
5
|
reinitializeMemoryBackends,
|
|
6
6
|
shutdownToolMemory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-B227FYGQ.js";
|
|
8
8
|
import "./chunk-7LP6VJRP.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-6DPQOIE7.js";
|
|
10
10
|
import "./chunk-RKLT2TOT.js";
|
|
11
11
|
import "./chunk-MUJCGBZW.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-IQTHG5BO.js";
|
|
13
|
+
import "./chunk-4PWDDMLH.js";
|
|
14
14
|
import "./chunk-4UHDDCRB.js";
|
|
15
15
|
import "./chunk-RNDHNRSX.js";
|
|
16
16
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -21,4 +21,4 @@ export {
|
|
|
21
21
|
reinitializeMemoryBackends,
|
|
22
22
|
shutdownToolMemory
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=tool-memory-
|
|
24
|
+
//# sourceMappingURL=tool-memory-JNHE2VP2.js.map
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
createUnifiedRegistry,
|
|
6
6
|
getGlobalRegistry,
|
|
7
7
|
resetGlobalRegistry
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-TL5NV5JH.js";
|
|
9
|
+
import "./chunk-TUTS6S2G.js";
|
|
10
|
+
import "./chunk-ZDVNHXRV.js";
|
|
11
|
+
import "./chunk-ST7RKS3P.js";
|
|
12
|
+
import "./chunk-5E33WGDR.js";
|
|
13
13
|
import "./chunk-HERI7LXN.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-RGEJZIOJ.js";
|
|
15
15
|
import "./chunk-QZUG667L.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-IQTHG5BO.js";
|
|
17
|
+
import "./chunk-GENL3TXA.js";
|
|
18
|
+
import "./chunk-4PWDDMLH.js";
|
|
19
19
|
import "./chunk-4UHDDCRB.js";
|
|
20
20
|
import "./chunk-RNDHNRSX.js";
|
|
21
21
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -27,4 +27,4 @@ export {
|
|
|
27
27
|
getGlobalRegistry,
|
|
28
28
|
resetGlobalRegistry
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=unified-registry-
|
|
30
|
+
//# sourceMappingURL=unified-registry-5IIFYGBI.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
getAdaptiveBonus,
|
|
4
4
|
queryWithLookback,
|
|
5
5
|
shouldExplore
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4PWDDMLH.js";
|
|
7
7
|
import "./chunk-4UHDDCRB.js";
|
|
8
8
|
import "./chunk-RNDHNRSX.js";
|
|
9
9
|
import "./chunk-PX6F3LHL.js";
|
|
@@ -13,4 +13,4 @@ export {
|
|
|
13
13
|
queryWithLookback,
|
|
14
14
|
shouldExplore
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=weather-report-
|
|
16
|
+
//# sourceMappingURL=weather-report-3AZHFDM3.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexus-agents",
|
|
3
|
-
"version": "8.74.
|
|
3
|
+
"version": "8.74.2",
|
|
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",
|