nexus-agents 4.0.0 → 4.1.1

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.
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-THTBIBCW.js";
11
+ } from "./chunk-RCSHGEIL.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-YPNQPT2F.js";
@@ -2001,4 +2001,4 @@ export {
2001
2001
  setupCommand,
2002
2002
  setupCommandAsync
2003
2003
  };
2004
- //# sourceMappingURL=chunk-6XQYOWU3.js.map
2004
+ //# sourceMappingURL=chunk-ZBLX5SPO.js.map
package/dist/cli.js CHANGED
@@ -18,7 +18,7 @@ import "./chunk-EXX6WINJ.js";
18
18
  import {
19
19
  setupCommandAsync,
20
20
  verifyCommand
21
- } from "./chunk-6XQYOWU3.js";
21
+ } from "./chunk-ZBLX5SPO.js";
22
22
  import "./chunk-6SBSQDCX.js";
23
23
  import {
24
24
  AuthHandler,
@@ -139,7 +139,7 @@ import {
139
139
  validateCommand,
140
140
  validateWorkflow,
141
141
  wrapInMarkdownFence
142
- } from "./chunk-7LCLCIGM.js";
142
+ } from "./chunk-UFWTULMJ.js";
143
143
  import "./chunk-FD3I5B4X.js";
144
144
  import "./chunk-HFOQKCD2.js";
145
145
  import "./chunk-RSMG2DPB.js";
@@ -166,7 +166,7 @@ import {
166
166
  loadConfig,
167
167
  runDoctor,
168
168
  validateNexusEnv
169
- } from "./chunk-THTBIBCW.js";
169
+ } from "./chunk-RCSHGEIL.js";
170
170
  import {
171
171
  buildOpenAICompatAdapters,
172
172
  readOpenAICompatEnv
package/dist/index.d.ts CHANGED
@@ -24935,7 +24935,31 @@ interface DevPipelineResult {
24935
24935
  readonly tasks: readonly PipelineTask[];
24936
24936
  readonly voteIterations: number;
24937
24937
  readonly qaIterations: number;
24938
+ /**
24939
+ * Whether the security gate passed.
24940
+ *
24941
+ * Read together with {@link DevPipelineResult.securityRan} (#4772): `false`
24942
+ * with `securityRan: false` means the gate never executed — a dry run stops
24943
+ * after plan+vote — and is NOT a failed security review.
24944
+ */
24938
24945
  readonly securityPassed: boolean;
24946
+ /**
24947
+ * Whether the security gate actually ran (#4772).
24948
+ *
24949
+ * Absent on results from before the distinction existed. `false` means the
24950
+ * run stopped before security, so `securityPassed: false` reports absence,
24951
+ * not a verdict.
24952
+ */
24953
+ readonly securityRan?: boolean;
24954
+ /**
24955
+ * Why planning produced no usable plan, when it did not (#4772).
24956
+ *
24957
+ * Absent means the plan is a real plan. `'empty'` means the planner returned
24958
+ * nothing — previously the stage substituted the PROMPT for the plan, so a
24959
+ * failed run was indistinguishable from a successful one and downstream
24960
+ * stages voted on the input text.
24961
+ */
24962
+ readonly planStatus?: 'empty';
24939
24963
  }
24940
24964
  /** Pluggable stage implementations — inject real or mock agents. */
24941
24965
  interface DevPipelineStages {
package/dist/index.js CHANGED
@@ -541,7 +541,7 @@ import {
541
541
  withLogging,
542
542
  withRetry,
543
543
  withRetryWrapper
544
- } from "./chunk-7LCLCIGM.js";
544
+ } from "./chunk-UFWTULMJ.js";
545
545
  import {
546
546
  FALLBACK_SCANNER_DATA,
547
547
  buildPlanFromAnalysis,
@@ -575,7 +575,7 @@ import {
575
575
  getKnownNexusVarNames,
576
576
  startStdioServer,
577
577
  validateNexusEnv
578
- } from "./chunk-THTBIBCW.js";
578
+ } from "./chunk-RCSHGEIL.js";
579
579
  import {
580
580
  OPENAI_MODELS,
581
581
  OPENAI_MODEL_ALIASES,
@@ -8,9 +8,9 @@ import {
8
8
  runWizard,
9
9
  setupCommand,
10
10
  setupCommandAsync
11
- } from "./chunk-6XQYOWU3.js";
11
+ } from "./chunk-ZBLX5SPO.js";
12
12
  import "./chunk-6SBSQDCX.js";
13
- import "./chunk-THTBIBCW.js";
13
+ import "./chunk-RCSHGEIL.js";
14
14
  import "./chunk-NZHI7FHX.js";
15
15
  import "./chunk-BYDUN7A5.js";
16
16
  import "./chunk-OQB3XC5O.js";
@@ -41,4 +41,4 @@ export {
41
41
  setupCommand,
42
42
  setupCommandAsync
43
43
  };
44
- //# sourceMappingURL=setup-command-MKCEHLU7.js.map
44
+ //# sourceMappingURL=setup-command-S2VR7PE7.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-agents",
3
- "version": "4.0.0",
3
+ "version": "4.1.1",
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",