nexus-agents 2.111.1 → 2.113.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/{chunk-GJ47JWNS.js → chunk-5KBR7SYI.js} +181 -335
  2. package/dist/chunk-5KBR7SYI.js.map +1 -0
  3. package/dist/{chunk-354QTTF2.js → chunk-5NE37CDW.js} +64 -10
  4. package/dist/{chunk-354QTTF2.js.map → chunk-5NE37CDW.js.map} +1 -1
  5. package/dist/{chunk-XOKGSQIB.js → chunk-5VGGVVPG.js} +48 -2
  6. package/dist/chunk-5VGGVVPG.js.map +1 -0
  7. package/dist/{chunk-5P5KCVTX.js → chunk-7E2ZCYKA.js} +162 -2
  8. package/dist/chunk-7E2ZCYKA.js.map +1 -0
  9. package/dist/{chunk-RA25HAZE.js → chunk-JPCEQZPE.js} +3 -3
  10. package/dist/{chunk-SQSBG6CW.js → chunk-OMZD4OZP.js} +2 -2
  11. package/dist/cli.js +7 -7
  12. package/dist/{consensus-vote-SB2G2W6G.js → consensus-vote-EW5HWO6Z.js} +3 -3
  13. package/dist/{improvement-review-GFCDFNYV.js → improvement-review-7R5Q4OD3.js} +5 -3
  14. package/dist/index.d.ts +1 -1
  15. package/dist/index.js +18 -18
  16. package/dist/index.js.map +1 -1
  17. package/dist/{setup-command-QVVFQ2RD.js → setup-command-UZTCNASI.js} +3 -3
  18. package/package.json +1 -1
  19. package/dist/chunk-5P5KCVTX.js.map +0 -1
  20. package/dist/chunk-GJ47JWNS.js.map +0 -1
  21. package/dist/chunk-XOKGSQIB.js.map +0 -1
  22. /package/dist/{chunk-RA25HAZE.js.map → chunk-JPCEQZPE.js.map} +0 -0
  23. /package/dist/{chunk-SQSBG6CW.js.map → chunk-OMZD4OZP.js.map} +0 -0
  24. /package/dist/{consensus-vote-SB2G2W6G.js.map → consensus-vote-EW5HWO6Z.js.map} +0 -0
  25. /package/dist/{improvement-review-GFCDFNYV.js.map → improvement-review-7R5Q4OD3.js.map} +0 -0
  26. /package/dist/{setup-command-QVVFQ2RD.js.map → setup-command-UZTCNASI.js.map} +0 -0
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-RA25HAZE.js";
11
+ } from "./chunk-JPCEQZPE.js";
12
12
  import {
13
13
  probeAllClis
14
14
  } from "./chunk-F2ULTSZ6.js";
@@ -1987,4 +1987,4 @@ export {
1987
1987
  setupCommand,
1988
1988
  setupCommandAsync
1989
1989
  };
1990
- //# sourceMappingURL=chunk-SQSBG6CW.js.map
1990
+ //# sourceMappingURL=chunk-OMZD4OZP.js.map
package/dist/cli.js CHANGED
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  setupCommandAsync,
26
26
  verifyCommand
27
- } from "./chunk-SQSBG6CW.js";
27
+ } from "./chunk-OMZD4OZP.js";
28
28
  import "./chunk-VQVKI4XO.js";
29
29
  import {
30
30
  AuthHandler,
@@ -166,7 +166,7 @@ import {
166
166
  validateCommand,
167
167
  validateWorkflow,
168
168
  wrapInMarkdownFence
169
- } from "./chunk-354QTTF2.js";
169
+ } from "./chunk-5NE37CDW.js";
170
170
  import "./chunk-3ACDP4E6.js";
171
171
  import {
172
172
  resolveToken
@@ -189,7 +189,7 @@ import {
189
189
  executeVoting,
190
190
  registerConsensusVoteTool,
191
191
  warnIfSimulatedOutsideTests
192
- } from "./chunk-GJ47JWNS.js";
192
+ } from "./chunk-5KBR7SYI.js";
193
193
  import {
194
194
  loadPapersRegistry,
195
195
  loadTechniquesRegistry,
@@ -213,7 +213,7 @@ import {
213
213
  createFitnessScoreCalculator,
214
214
  registerImprovementReviewTool,
215
215
  runImprovementReview
216
- } from "./chunk-XOKGSQIB.js";
216
+ } from "./chunk-5VGGVVPG.js";
217
217
  import {
218
218
  createDefaultPolicyFirewall,
219
219
  createSecureHandler,
@@ -223,7 +223,7 @@ import {
223
223
  toolStructuredError,
224
224
  toolSuccessStructured,
225
225
  wrapToolWithTimeout
226
- } from "./chunk-5P5KCVTX.js";
226
+ } from "./chunk-7E2ZCYKA.js";
227
227
  import "./chunk-LMMMFZ64.js";
228
228
  import "./chunk-HFOQKCD2.js";
229
229
  import "./chunk-KWHJL7HX.js";
@@ -249,7 +249,7 @@ import {
249
249
  loadConfig,
250
250
  runDoctor,
251
251
  validateNexusEnv
252
- } from "./chunk-RA25HAZE.js";
252
+ } from "./chunk-JPCEQZPE.js";
253
253
  import "./chunk-NUBSJGQZ.js";
254
254
  import {
255
255
  capitalize,
@@ -17672,7 +17672,7 @@ function startImprovementReviewScheduler(options) {
17672
17672
  let running = false;
17673
17673
  const runOnce = async () => {
17674
17674
  try {
17675
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-GFCDFNYV.js");
17675
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-7R5Q4OD3.js");
17676
17676
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
17677
17677
  const result = await runImprovementReview2(input, { logger: logger18 });
17678
17678
  logger18.info("Scheduled improvement_review complete", {
@@ -6,8 +6,8 @@ import {
6
6
  executeVoting,
7
7
  registerConsensusVoteTool,
8
8
  resetCorrelationTracker
9
- } from "./chunk-GJ47JWNS.js";
10
- import "./chunk-5P5KCVTX.js";
9
+ } from "./chunk-5KBR7SYI.js";
10
+ import "./chunk-7E2ZCYKA.js";
11
11
  import "./chunk-P2K5GCLL.js";
12
12
  import "./chunk-6T3EPABN.js";
13
13
  import "./chunk-F2ULTSZ6.js";
@@ -30,4 +30,4 @@ export {
30
30
  registerConsensusVoteTool,
31
31
  resetCorrelationTracker
32
32
  };
33
- //# sourceMappingURL=consensus-vote-SB2G2W6G.js.map
33
+ //# sourceMappingURL=consensus-vote-EW5HWO6Z.js.map
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  ImprovementReviewInputSchema,
3
3
  detectCliPerformanceFloor,
4
+ detectConsensusRejectionSignals,
4
5
  detectFailureCategoryConcentration,
5
6
  detectFitnessSignals,
6
7
  detectSelfEvalSignals,
@@ -8,14 +9,15 @@ import {
8
9
  loadSelfEvalSignals,
9
10
  registerImprovementReviewTool,
10
11
  runImprovementReview
11
- } from "./chunk-XOKGSQIB.js";
12
- import "./chunk-5P5KCVTX.js";
12
+ } from "./chunk-5VGGVVPG.js";
13
+ import "./chunk-7E2ZCYKA.js";
13
14
  import "./chunk-JRBUSUYD.js";
14
15
  import "./chunk-CH7QIDHQ.js";
15
16
  import "./chunk-PR4QN5HX.js";
16
17
  export {
17
18
  ImprovementReviewInputSchema,
18
19
  detectCliPerformanceFloor,
20
+ detectConsensusRejectionSignals,
19
21
  detectFailureCategoryConcentration,
20
22
  detectFitnessSignals,
21
23
  detectSelfEvalSignals,
@@ -24,4 +26,4 @@ export {
24
26
  registerImprovementReviewTool,
25
27
  runImprovementReview
26
28
  };
27
- //# sourceMappingURL=improvement-review-GFCDFNYV.js.map
29
+ //# sourceMappingURL=improvement-review-7R5Q4OD3.js.map
package/dist/index.d.ts CHANGED
@@ -24320,7 +24320,7 @@ declare const ImprovementReviewInputSchema: z.ZodObject<{
24320
24320
  selfEvalReportPath: z.ZodOptional<z.ZodString>;
24321
24321
  }, z.core.$strip>;
24322
24322
  type ImprovementReviewInput = z.infer<typeof ImprovementReviewInputSchema>;
24323
- type SignalCategory = 'routing' | 'tech-debt' | 'bug' | 'security';
24323
+ type SignalCategory = 'routing' | 'tech-debt' | 'bug' | 'security' | 'consensus';
24324
24324
  interface ImprovementSignal {
24325
24325
  readonly category: SignalCategory;
24326
24326
  /** Stable key used for dedup against existing issues. */
package/dist/index.js CHANGED
@@ -517,7 +517,7 @@ import {
517
517
  validateWorkflow,
518
518
  validateWorkflowDependencies,
519
519
  withLogging
520
- } from "./chunk-354QTTF2.js";
520
+ } from "./chunk-5NE37CDW.js";
521
521
  import "./chunk-3ACDP4E6.js";
522
522
  import {
523
523
  getTokenEnvVars,
@@ -540,18 +540,12 @@ import {
540
540
  } from "./chunk-NCWD4UOI.js";
541
541
  import {
542
542
  AgentFindingSchema,
543
- AgentPerformanceSchema,
544
- ConsensusAlgorithmSchema,
545
543
  ConsensusEngine,
546
- ConsensusEngineConfigSchema,
547
544
  ConsensusError,
548
- ConsensusMetricsSchema,
549
- ConsensusResultSchema,
550
545
  ConsensusVoteInputSchema,
551
546
  CorrelationCoefficientSchema,
552
547
  CorrelationTracker,
553
548
  CorrelationTrackerStatsSchema,
554
- DEFAULT_CONSENSUS_CONFIG,
555
549
  DEFAULT_HIGHER_ORDER_CONFIG,
556
550
  DEFAULT_VOTING_PROTOCOL_CONFIG,
557
551
  DEFAULT_WEIGHTED_VOTING_CONFIG,
@@ -565,16 +559,10 @@ import {
565
559
  PairwiseVotingHistorySchema,
566
560
  PersistentOutcomeStore,
567
561
  ProofOfLearningStrategy,
568
- ProposalSchema,
569
- ProposalStatusSchema,
570
- REJECTION_CATEGORIES,
571
- RejectionCategorySchema,
572
562
  SimpleMajorityStrategy,
573
563
  SupermajorityStrategy,
574
564
  UnanimousStrategy,
575
565
  UnifiedAdapterRegistry,
576
- VOTING_THRESHOLDS,
577
- VoteSchema,
578
566
  VotingObservationSchema,
579
567
  VotingProtocol,
580
568
  VotingProtocolConfigSchema,
@@ -604,7 +592,7 @@ import {
604
592
  resetGlobalRegistry,
605
593
  withModelNotFoundFallback,
606
594
  wrapResilientWithFallback
607
- } from "./chunk-GJ47JWNS.js";
595
+ } from "./chunk-5KBR7SYI.js";
608
596
  import "./chunk-ZSJG7EB2.js";
609
597
  import {
610
598
  AgentActionSchema,
@@ -660,13 +648,25 @@ import {
660
648
  import {
661
649
  ImprovementReviewInputSchema,
662
650
  registerImprovementReviewTool
663
- } from "./chunk-XOKGSQIB.js";
651
+ } from "./chunk-5VGGVVPG.js";
664
652
  import {
653
+ AgentPerformanceSchema,
654
+ ConsensusAlgorithmSchema,
655
+ ConsensusEngineConfigSchema,
656
+ ConsensusMetricsSchema,
657
+ ConsensusResultSchema,
658
+ DEFAULT_CONSENSUS_CONFIG,
665
659
  NOOP_NOTIFIER,
666
660
  PolicyConfigSchema,
667
661
  PolicyError,
668
662
  PolicyFirewall,
663
+ ProposalSchema,
664
+ ProposalStatusSchema,
665
+ REJECTION_CATEGORIES,
669
666
  RateLimiter,
667
+ RejectionCategorySchema,
668
+ VOTING_THRESHOLDS,
669
+ VoteSchema,
670
670
  actorFromContext,
671
671
  createDefaultPolicyFirewall,
672
672
  createDefaultRateLimiter,
@@ -684,7 +684,7 @@ import {
684
684
  toolSuccess,
685
685
  toolSuccessStructured,
686
686
  validateToolInput
687
- } from "./chunk-5P5KCVTX.js";
687
+ } from "./chunk-7E2ZCYKA.js";
688
688
  import {
689
689
  FALLBACK_SCANNER_DATA,
690
690
  buildPlanFromAnalysis,
@@ -723,7 +723,7 @@ import {
723
723
  getKnownNexusVarNames,
724
724
  startStdioServer,
725
725
  validateNexusEnv
726
- } from "./chunk-RA25HAZE.js";
726
+ } from "./chunk-JPCEQZPE.js";
727
727
  import "./chunk-NUBSJGQZ.js";
728
728
  import "./chunk-6T3EPABN.js";
729
729
  import {
@@ -6082,7 +6082,7 @@ function buildVotingInput(plan, config) {
6082
6082
  }
6083
6083
  async function executeSingleVote(plan, config, log) {
6084
6084
  try {
6085
- const { executeVoting } = await import("./consensus-vote-SB2G2W6G.js");
6085
+ const { executeVoting } = await import("./consensus-vote-EW5HWO6Z.js");
6086
6086
  const input = buildVotingInput(plan, config);
6087
6087
  const result = await executeVoting(input, log);
6088
6088
  return parseVotingResult(result);