nexus-agents 8.77.0 → 8.78.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 (28) hide show
  1. package/dist/{chunk-5XAJU5ZV.js → chunk-3K7OHJLM.js} +18 -11
  2. package/dist/{chunk-5XAJU5ZV.js.map → chunk-3K7OHJLM.js.map} +1 -1
  3. package/dist/{chunk-LZGSWYDX.js → chunk-5EXZHBAQ.js} +2 -2
  4. package/dist/{chunk-GS5OJHJJ.js → chunk-7ZMNE7U2.js} +3 -3
  5. package/dist/{chunk-I2MSRFXZ.js → chunk-ER76ZRBU.js} +3 -3
  6. package/dist/{chunk-QBZ6DBJL.js → chunk-MYF73MI3.js} +2 -2
  7. package/dist/{chunk-6IUAMO5M.js → chunk-NW5MCYOE.js} +2 -2
  8. package/dist/{chunk-VIVM7X76.js → chunk-OZFXXGGZ.js} +71 -8
  9. package/dist/chunk-OZFXXGGZ.js.map +1 -0
  10. package/dist/cli.js +25 -15
  11. package/dist/cli.js.map +1 -1
  12. package/dist/{consensus-vote-7JRI7YF6.js → consensus-vote-3ZA6SHMI.js} +4 -4
  13. package/dist/{improvement-review-JVI3RM7I.js → improvement-review-VC46AY77.js} +4 -4
  14. package/dist/index.d.ts +20 -1
  15. package/dist/index.js +7 -7
  16. package/dist/{issue-triage-6KIGFUFJ.js → issue-triage-M7XEMQZ7.js} +2 -2
  17. package/dist/{setup-data-dir-VCSQTZ6L.js → setup-data-dir-NQITBZYA.js} +3 -3
  18. package/package.json +1 -1
  19. package/dist/chunk-VIVM7X76.js.map +0 -1
  20. /package/dist/{chunk-LZGSWYDX.js.map → chunk-5EXZHBAQ.js.map} +0 -0
  21. /package/dist/{chunk-GS5OJHJJ.js.map → chunk-7ZMNE7U2.js.map} +0 -0
  22. /package/dist/{chunk-I2MSRFXZ.js.map → chunk-ER76ZRBU.js.map} +0 -0
  23. /package/dist/{chunk-QBZ6DBJL.js.map → chunk-MYF73MI3.js.map} +0 -0
  24. /package/dist/{chunk-6IUAMO5M.js.map → chunk-NW5MCYOE.js.map} +0 -0
  25. /package/dist/{consensus-vote-7JRI7YF6.js.map → consensus-vote-3ZA6SHMI.js.map} +0 -0
  26. /package/dist/{improvement-review-JVI3RM7I.js.map → improvement-review-VC46AY77.js.map} +0 -0
  27. /package/dist/{issue-triage-6KIGFUFJ.js.map → issue-triage-M7XEMQZ7.js.map} +0 -0
  28. /package/dist/{setup-data-dir-VCSQTZ6L.js.map → setup-data-dir-NQITBZYA.js.map} +0 -0
@@ -10,11 +10,11 @@ import {
10
10
  resetCorrelationTracker,
11
11
  runConsensusForGoal,
12
12
  unwrapVoteOrThrow
13
- } from "./chunk-I2MSRFXZ.js";
13
+ } from "./chunk-ER76ZRBU.js";
14
14
  import "./chunk-Q6JZQWQB.js";
15
15
  import "./chunk-OQB3XC5O.js";
16
- import "./chunk-LZGSWYDX.js";
17
- import "./chunk-QBZ6DBJL.js";
16
+ import "./chunk-5EXZHBAQ.js";
17
+ import "./chunk-MYF73MI3.js";
18
18
  import "./chunk-PSCY6MSD.js";
19
19
  import "./chunk-YUDJV6JF.js";
20
20
  import "./chunk-7LP6VJRP.js";
@@ -47,4 +47,4 @@ export {
47
47
  runConsensusForGoal,
48
48
  unwrapVoteOrThrow
49
49
  };
50
- //# sourceMappingURL=consensus-vote-7JRI7YF6.js.map
50
+ //# sourceMappingURL=consensus-vote-3ZA6SHMI.js.map
@@ -10,9 +10,9 @@ import {
10
10
  loadSelfEvalSignals,
11
11
  registerImprovementReviewTool,
12
12
  runImprovementReview
13
- } from "./chunk-6IUAMO5M.js";
14
- import "./chunk-LZGSWYDX.js";
15
- import "./chunk-QBZ6DBJL.js";
13
+ } from "./chunk-NW5MCYOE.js";
14
+ import "./chunk-5EXZHBAQ.js";
15
+ import "./chunk-MYF73MI3.js";
16
16
  import "./chunk-5CIP4EWI.js";
17
17
  import "./chunk-4UHDDCRB.js";
18
18
  import "./chunk-RNDHNRSX.js";
@@ -30,4 +30,4 @@ export {
30
30
  registerImprovementReviewTool,
31
31
  runImprovementReview
32
32
  };
33
- //# sourceMappingURL=improvement-review-JVI3RM7I.js.map
33
+ //# sourceMappingURL=improvement-review-VC46AY77.js.map
package/dist/index.d.ts CHANGED
@@ -25456,6 +25456,12 @@ interface IssueTriageResponse {
25456
25456
  readonly description: string;
25457
25457
  readonly policyApproved: boolean;
25458
25458
  readonly corroborated: boolean;
25459
+ /** Present when refused: the rules the policy gate (or a corroboration refusal) recorded (#6309). */
25460
+ readonly policyViolations?: readonly string[];
25461
+ /** Present when refused or uncorroborated: the unmet corroboration requirements. */
25462
+ readonly missingCorroboration?: readonly string[];
25463
+ /** Present when the firewall refused the action at its corroboration stage under `enforce`. */
25464
+ readonly refusedAtStage?: 'corroboration';
25459
25465
  }>;
25460
25466
  readonly durationMs: number;
25461
25467
  }
@@ -32775,9 +32781,16 @@ interface FirewallError {
32775
32781
  * stage (#5383) — the structured form of the rules `message` names, so a
32776
32782
  * consumer that maps a refusal onto its own action record can list the rule
32777
32783
  * ids without parsing the message. Absent for every other code, and for the
32778
- * corroboration stage's refusal, which carries no `Violation` list.
32784
+ * corroboration stage's refusal, which carries `missing` instead.
32779
32785
  */
32780
32786
  readonly violations?: readonly Violation[];
32787
+ /**
32788
+ * The unmet corroboration requirements behind a `POLICY_REFUSED` from the
32789
+ * corroboration stage (#6309) — the structured form of what `message`
32790
+ * names, so a consumer recording the refusal can list them without parsing
32791
+ * prose. Absent for every other code and stage.
32792
+ */
32793
+ readonly missing?: readonly string[];
32781
32794
  }
32782
32795
 
32783
32796
  /**
@@ -32954,6 +32967,12 @@ type ActionValidation = {
32954
32967
  /** Unmet corroboration requirements; empty when satisfied. */
32955
32968
  readonly missing: readonly string[];
32956
32969
  readonly corroboratingSources: readonly SourceCitation[];
32970
+ /**
32971
+ * The validator's #5796 marker: the floor was cleared, and only by
32972
+ * `repoFile` citations the producer found absent from the base ref.
32973
+ * Carried so a consumer can report it without re-deriving the rule.
32974
+ */
32975
+ readonly clearedOnlyByUnverifiedSources: boolean;
32957
32976
  readonly policyMode: FirewallPolicyMode;
32958
32977
  /** Whether `enforce` would have refused this action (see FirewallResult). */
32959
32978
  readonly wouldRefuse: boolean;
package/dist/index.js CHANGED
@@ -552,7 +552,7 @@ import {
552
552
  withLogging,
553
553
  withRetry,
554
554
  withRetryWrapper
555
- } from "./chunk-5XAJU5ZV.js";
555
+ } from "./chunk-3K7OHJLM.js";
556
556
  import {
557
557
  FALLBACK_SCANNER_DATA,
558
558
  buildPlanFromAnalysis,
@@ -585,7 +585,7 @@ import {
585
585
  connectTransport,
586
586
  createServer,
587
587
  startStdioServer
588
- } from "./chunk-GS5OJHJJ.js";
588
+ } from "./chunk-7ZMNE7U2.js";
589
589
  import "./chunk-DWQ7TG5L.js";
590
590
  import {
591
591
  executeExpert
@@ -638,7 +638,7 @@ import {
638
638
  generateProposalId,
639
639
  parseAgentPairKey,
640
640
  registerConsensusVoteTool
641
- } from "./chunk-I2MSRFXZ.js";
641
+ } from "./chunk-ER76ZRBU.js";
642
642
  import {
643
643
  OPENAI_MODELS,
644
644
  OPENAI_MODEL_ALIASES,
@@ -687,7 +687,7 @@ import {
687
687
  resolveFirewallPolicyMode,
688
688
  validateAgentAction,
689
689
  validateCorroboration
690
- } from "./chunk-VIVM7X76.js";
690
+ } from "./chunk-OZFXXGGZ.js";
691
691
  import {
692
692
  GitHubProvider,
693
693
  ScmError
@@ -710,7 +710,7 @@ import {
710
710
  import {
711
711
  ImprovementReviewInputSchema,
712
712
  registerImprovementReviewTool
713
- } from "./chunk-6IUAMO5M.js";
713
+ } from "./chunk-NW5MCYOE.js";
714
714
  import {
715
715
  AgentPerformanceSchema,
716
716
  ConsensusAlgorithmSchema,
@@ -747,10 +747,10 @@ import {
747
747
  toolSuccess,
748
748
  toolSuccessStructured,
749
749
  validateToolInput
750
- } from "./chunk-LZGSWYDX.js";
750
+ } from "./chunk-5EXZHBAQ.js";
751
751
  import {
752
752
  VERSION
753
- } from "./chunk-QBZ6DBJL.js";
753
+ } from "./chunk-MYF73MI3.js";
754
754
  import {
755
755
  RegistryAlreadyInitializedError,
756
756
  UnifiedAdapterRegistry,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  IssueTriage,
3
3
  createIssueTriage
4
- } from "./chunk-VIVM7X76.js";
4
+ } from "./chunk-OZFXXGGZ.js";
5
5
  import "./chunk-VFFG3HIY.js";
6
6
  import "./chunk-F7R2E74V.js";
7
7
  import "./chunk-CMZPHXDH.js";
@@ -13,4 +13,4 @@ export {
13
13
  IssueTriage,
14
14
  createIssueTriage
15
15
  };
16
- //# sourceMappingURL=issue-triage-6KIGFUFJ.js.map
16
+ //# sourceMappingURL=issue-triage-M7XEMQZ7.js.map
@@ -2,11 +2,11 @@ import {
2
2
  NEXUS_DATA_DIR,
3
3
  describeDataDirFix,
4
4
  initDataDirectories
5
- } from "./chunk-GS5OJHJJ.js";
5
+ } from "./chunk-7ZMNE7U2.js";
6
6
  import "./chunk-DWQ7TG5L.js";
7
7
  import "./chunk-Q6JZQWQB.js";
8
8
  import "./chunk-OQB3XC5O.js";
9
- import "./chunk-QBZ6DBJL.js";
9
+ import "./chunk-MYF73MI3.js";
10
10
  import "./chunk-PSCY6MSD.js";
11
11
  import "./chunk-7LP6VJRP.js";
12
12
  import "./chunk-33HHRRKZ.js";
@@ -27,4 +27,4 @@ export {
27
27
  describeDataDirFix,
28
28
  initDataDirectories
29
29
  };
30
- //# sourceMappingURL=setup-data-dir-VCSQTZ6L.js.map
30
+ //# sourceMappingURL=setup-data-dir-NQITBZYA.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-agents",
3
- "version": "8.77.0",
3
+ "version": "8.78.0",
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",