nexus-agents 2.98.0 → 2.100.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 (35) hide show
  1. package/dist/{chunk-DE3J2HYT.js → chunk-B364VMMP.js} +471 -193
  2. package/dist/chunk-B364VMMP.js.map +1 -0
  3. package/dist/{chunk-6ZXNMJEX.js → chunk-BFN7RO3R.js} +4 -4
  4. package/dist/{chunk-6ZXNMJEX.js.map → chunk-BFN7RO3R.js.map} +1 -1
  5. package/dist/{chunk-PK4TTHXW.js → chunk-FU2AMASK.js} +3 -3
  6. package/dist/{chunk-6IHEDRKI.js → chunk-H4LBBFCO.js} +2 -2
  7. package/dist/{chunk-G4A7SSML.js → chunk-JFFI54DW.js} +11 -1
  8. package/dist/{chunk-G4A7SSML.js.map → chunk-JFFI54DW.js.map} +1 -1
  9. package/dist/{chunk-EM7NUGMG.js → chunk-P453545L.js} +21 -2
  10. package/dist/chunk-P453545L.js.map +1 -0
  11. package/dist/{chunk-RCKLAJ2H.js → chunk-TYELRYRO.js} +10 -5
  12. package/dist/chunk-TYELRYRO.js.map +1 -0
  13. package/dist/{chunk-MKFLI5DK.js → chunk-YREYQSYA.js} +2 -2
  14. package/dist/chunk-YREYQSYA.js.map +1 -0
  15. package/dist/cli.js +17 -10
  16. package/dist/cli.js.map +1 -1
  17. package/dist/{consensus-vote-Z3BWJLRE.js → consensus-vote-PGOS5AA6.js} +4 -4
  18. package/dist/{expert-bridge-EOVHUCJ4.js → expert-bridge-L25WFHQF.js} +2 -2
  19. package/dist/{factory-NJRJAZKK.js → factory-PVN7DDNZ.js} +2 -2
  20. package/dist/{improvement-review-Q4LBTVQP.js → improvement-review-IWV2BMR7.js} +3 -3
  21. package/dist/index.d.ts +27 -0
  22. package/dist/index.js +8 -8
  23. package/dist/{setup-command-JVJ2PNL6.js → setup-command-RRBGCIBW.js} +4 -4
  24. package/package.json +1 -1
  25. package/dist/chunk-DE3J2HYT.js.map +0 -1
  26. package/dist/chunk-EM7NUGMG.js.map +0 -1
  27. package/dist/chunk-MKFLI5DK.js.map +0 -1
  28. package/dist/chunk-RCKLAJ2H.js.map +0 -1
  29. /package/dist/{chunk-PK4TTHXW.js.map → chunk-FU2AMASK.js.map} +0 -0
  30. /package/dist/{chunk-6IHEDRKI.js.map → chunk-H4LBBFCO.js.map} +0 -0
  31. /package/dist/{consensus-vote-Z3BWJLRE.js.map → consensus-vote-PGOS5AA6.js.map} +0 -0
  32. /package/dist/{expert-bridge-EOVHUCJ4.js.map → expert-bridge-L25WFHQF.js.map} +0 -0
  33. /package/dist/{factory-NJRJAZKK.js.map → factory-PVN7DDNZ.js.map} +0 -0
  34. /package/dist/{improvement-review-Q4LBTVQP.js.map → improvement-review-IWV2BMR7.js.map} +0 -0
  35. /package/dist/{setup-command-JVJ2PNL6.js.map → setup-command-RRBGCIBW.js.map} +0 -0
@@ -6,15 +6,15 @@ import {
6
6
  executeVoting,
7
7
  registerConsensusVoteTool,
8
8
  resetCorrelationTracker
9
- } from "./chunk-RCKLAJ2H.js";
9
+ } from "./chunk-TYELRYRO.js";
10
10
  import "./chunk-BO6QUVXI.js";
11
11
  import "./chunk-J76KHBF3.js";
12
- import "./chunk-G4A7SSML.js";
12
+ import "./chunk-JFFI54DW.js";
13
13
  import "./chunk-ZOBDTJNG.js";
14
14
  import "./chunk-CJODZY4U.js";
15
15
  import "./chunk-XO25FS24.js";
16
16
  import "./chunk-6T3EPABN.js";
17
- import "./chunk-EM7NUGMG.js";
17
+ import "./chunk-P453545L.js";
18
18
  import "./chunk-A7XUXJWL.js";
19
19
  import "./chunk-AH67WRET.js";
20
20
  import "./chunk-PQHVC4BD.js";
@@ -31,4 +31,4 @@ export {
31
31
  registerConsensusVoteTool,
32
32
  resetCorrelationTracker
33
33
  };
34
- //# sourceMappingURL=consensus-vote-Z3BWJLRE.js.map
34
+ //# sourceMappingURL=consensus-vote-PGOS5AA6.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executeExpert,
3
3
  shutdownExpertBridge
4
- } from "./chunk-6IHEDRKI.js";
4
+ } from "./chunk-H4LBBFCO.js";
5
5
  import "./chunk-HBZUXO4Q.js";
6
6
  import "./chunk-M774MKHE.js";
7
7
  import "./chunk-CH7QIDHQ.js";
@@ -10,4 +10,4 @@ export {
10
10
  executeExpert,
11
11
  shutdownExpertBridge
12
12
  };
13
- //# sourceMappingURL=expert-bridge-EOVHUCJ4.js.map
13
+ //# sourceMappingURL=expert-bridge-L25WFHQF.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createCliAdapter,
4
4
  getAvailableClis,
5
5
  isCliAvailable
6
- } from "./chunk-EM7NUGMG.js";
6
+ } from "./chunk-P453545L.js";
7
7
  import "./chunk-A7XUXJWL.js";
8
8
  import "./chunk-AH67WRET.js";
9
9
  import "./chunk-M774MKHE.js";
@@ -15,4 +15,4 @@ export {
15
15
  getAvailableClis,
16
16
  isCliAvailable
17
17
  };
18
- //# sourceMappingURL=factory-NJRJAZKK.js.map
18
+ //# sourceMappingURL=factory-PVN7DDNZ.js.map
@@ -8,8 +8,8 @@ import {
8
8
  loadSelfEvalSignals,
9
9
  registerImprovementReviewTool,
10
10
  runImprovementReview
11
- } from "./chunk-MKFLI5DK.js";
12
- import "./chunk-G4A7SSML.js";
11
+ } from "./chunk-YREYQSYA.js";
12
+ import "./chunk-JFFI54DW.js";
13
13
  import "./chunk-M774MKHE.js";
14
14
  import "./chunk-CH7QIDHQ.js";
15
15
  import "./chunk-PR4QN5HX.js";
@@ -24,4 +24,4 @@ export {
24
24
  registerImprovementReviewTool,
25
25
  runImprovementReview
26
26
  };
27
- //# sourceMappingURL=improvement-review-Q4LBTVQP.js.map
27
+ //# sourceMappingURL=improvement-review-IWV2BMR7.js.map
package/dist/index.d.ts CHANGED
@@ -31692,6 +31692,17 @@ interface DevPipelineStages {
31692
31692
  implement(task: PipelineTask): Promise<string>;
31693
31693
  /** QA expert reviews implementation. */
31694
31694
  qaReview(task: PipelineTask, implementation: string): Promise<QaReviewResult>;
31695
+ /**
31696
+ * Local QA quality gate (typecheck/lint/tests/build) run before ship (#3356).
31697
+ * Optional: pipelines that don't supply it simply skip the gate. Returns
31698
+ * `passed` plus actionable `feedback` from the underlying `runQualityGate`
31699
+ * engine. Whether a red gate fails the phase is governed by the
31700
+ * `qualityGate` mode in {@link DevPipelineOptions}, not this method.
31701
+ */
31702
+ qualityGate?(): Promise<{
31703
+ passed: boolean;
31704
+ feedback: string;
31705
+ }>;
31695
31706
  /** Security scan. Returns true if passed. */
31696
31707
  securityScan(): Promise<{
31697
31708
  passed: boolean;
@@ -31700,6 +31711,15 @@ interface DevPipelineStages {
31700
31711
  }
31701
31712
  /** Pipeline execution mode. */
31702
31713
  type PipelineMode = 'autonomous' | 'harness';
31714
+ /**
31715
+ * Local quality-gate mode (#3356). Controls the pre-ship typecheck/lint/tests/build gate:
31716
+ * - 'off' (default): the gate is never run. Safe for repos lacking standard scripts.
31717
+ * - 'advisory': the gate runs and its feedback is recorded, but a red gate does
31718
+ * NOT fail the pipeline.
31719
+ * - 'blocking': a red gate fails the phase, the same way a blocking security
31720
+ * scan does.
31721
+ */
31722
+ type QualityGateMode = 'off' | 'advisory' | 'blocking';
31703
31723
  /** Options for pipeline execution. */
31704
31724
  interface DevPipelineOptions {
31705
31725
  /** Session ID for checkpoint/resume. Omit for no persistence. */
@@ -31712,6 +31732,13 @@ interface DevPipelineOptions {
31712
31732
  * - 'harness': stops after decompose, returns tasks for external implementation
31713
31733
  */
31714
31734
  readonly mode?: PipelineMode | undefined;
31735
+ /**
31736
+ * Local pre-ship quality-gate mode (#3356). Default 'off' so the pipeline
31737
+ * never wedges repos that lack standard build/test scripts. See
31738
+ * {@link QualityGateMode}. Requires `stages.qualityGate` to be supplied;
31739
+ * if the stage is absent the gate is skipped regardless of mode.
31740
+ */
31741
+ readonly qualityGate?: QualityGateMode | undefined;
31715
31742
  /** Optional BeliefMemory for hindsight updates after plan outcomes (#1720). */
31716
31743
  readonly beliefMemory?: IHindsightBeliefMemory | undefined;
31717
31744
  }
package/dist/index.js CHANGED
@@ -509,7 +509,7 @@ import {
509
509
  validateWorkflow,
510
510
  validateWorkflowDependencies,
511
511
  withLogging
512
- } from "./chunk-DE3J2HYT.js";
512
+ } from "./chunk-B364VMMP.js";
513
513
  import "./chunk-3ACDP4E6.js";
514
514
  import {
515
515
  getTokenEnvVars,
@@ -529,7 +529,7 @@ import {
529
529
  } from "./chunk-V2C2MC6H.js";
530
530
  import {
531
531
  executeExpert
532
- } from "./chunk-6IHEDRKI.js";
532
+ } from "./chunk-H4LBBFCO.js";
533
533
  import {
534
534
  AgentFindingSchema,
535
535
  AgentPerformanceSchema,
@@ -601,7 +601,7 @@ import {
601
601
  registerConsensusVoteTool,
602
602
  withModelNotFoundFallback,
603
603
  wrapResilientWithFallback
604
- } from "./chunk-RCKLAJ2H.js";
604
+ } from "./chunk-TYELRYRO.js";
605
605
  import {
606
606
  AdapterModelError,
607
607
  BaseAdapter,
@@ -681,7 +681,7 @@ import {
681
681
  reconcileTrustTier,
682
682
  sanitizeInput
683
683
  } from "./chunk-VD4TXDMR.js";
684
- import "./chunk-MKFLI5DK.js";
684
+ import "./chunk-YREYQSYA.js";
685
685
  import {
686
686
  NOOP_NOTIFIER,
687
687
  PolicyConfigSchema,
@@ -705,7 +705,7 @@ import {
705
705
  toolSuccess,
706
706
  toolSuccessStructured,
707
707
  validateToolInput
708
- } from "./chunk-G4A7SSML.js";
708
+ } from "./chunk-JFFI54DW.js";
709
709
  import {
710
710
  FALLBACK_SCANNER_DATA,
711
711
  buildPlanFromAnalysis,
@@ -744,7 +744,7 @@ import {
744
744
  getKnownNexusVarNames,
745
745
  startStdioServer,
746
746
  validateNexusEnv
747
- } from "./chunk-6ZXNMJEX.js";
747
+ } from "./chunk-BFN7RO3R.js";
748
748
  import {
749
749
  AvailabilityCache,
750
750
  filterAvailableModels,
@@ -792,7 +792,7 @@ import {
792
792
  isCliAvailable,
793
793
  isRetryableError,
794
794
  sleep
795
- } from "./chunk-EM7NUGMG.js";
795
+ } from "./chunk-P453545L.js";
796
796
  import "./chunk-A7XUXJWL.js";
797
797
  import "./chunk-AH67WRET.js";
798
798
  import {
@@ -6134,7 +6134,7 @@ function buildVotingInput(plan, config) {
6134
6134
  }
6135
6135
  async function executeSingleVote(plan, config, log) {
6136
6136
  try {
6137
- const { executeVoting } = await import("./consensus-vote-Z3BWJLRE.js");
6137
+ const { executeVoting } = await import("./consensus-vote-PGOS5AA6.js");
6138
6138
  const input = buildVotingInput(plan, config);
6139
6139
  const result = await executeVoting(input, log);
6140
6140
  return parseVotingResult(result);
@@ -8,15 +8,15 @@ import {
8
8
  runWizard,
9
9
  setupCommand,
10
10
  setupCommandAsync
11
- } from "./chunk-PK4TTHXW.js";
11
+ } from "./chunk-FU2AMASK.js";
12
12
  import "./chunk-HFNHJZOK.js";
13
- import "./chunk-6ZXNMJEX.js";
13
+ import "./chunk-BFN7RO3R.js";
14
14
  import "./chunk-HBZUXO4Q.js";
15
15
  import "./chunk-CJODZY4U.js";
16
16
  import "./chunk-XO25FS24.js";
17
17
  import "./chunk-NUBSJGQZ.js";
18
18
  import "./chunk-6T3EPABN.js";
19
- import "./chunk-EM7NUGMG.js";
19
+ import "./chunk-P453545L.js";
20
20
  import "./chunk-A7XUXJWL.js";
21
21
  import "./chunk-AH67WRET.js";
22
22
  import "./chunk-ZM4O442V.js";
@@ -34,4 +34,4 @@ export {
34
34
  setupCommand,
35
35
  setupCommandAsync
36
36
  };
37
- //# sourceMappingURL=setup-command-JVJ2PNL6.js.map
37
+ //# sourceMappingURL=setup-command-RRBGCIBW.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-agents",
3
- "version": "2.98.0",
3
+ "version": "2.100.0",
4
4
  "description": "Governance substrate for AI coding agents — adversarial PR review, drift-detected rules, immutable 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",