nexus-agents 2.79.4 → 2.80.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.
Files changed (119) hide show
  1. package/dist/{child-mcp-config-DFRYTRBK.js → child-mcp-config-Q6UMCPGZ.js} +3 -3
  2. package/dist/{chunk-UWDVEMYZ.js → chunk-23XU4LE2.js} +4 -4
  3. package/dist/chunk-2JQXC3CK.js +317 -0
  4. package/dist/chunk-2JQXC3CK.js.map +1 -0
  5. package/dist/{chunk-DOI7RE3X.js → chunk-33LDLZCC.js} +2 -2
  6. package/dist/{chunk-UNRTM43V.js → chunk-54UT2JUQ.js} +2 -2
  7. package/dist/{chunk-OGV7J5WG.js → chunk-5WN3WGXG.js} +3 -3
  8. package/dist/{chunk-NJPFN75N.js → chunk-7UM5XRGG.js} +2 -2
  9. package/dist/{chunk-JMRCMMZ5.js → chunk-7ZKZ7K7J.js} +2 -2
  10. package/dist/{chunk-45NUO4FE.js → chunk-ALDKPBOZ.js} +2 -2
  11. package/dist/{chunk-DW3UTO43.js → chunk-D3MQ4U2R.js} +51 -21
  12. package/dist/chunk-D3MQ4U2R.js.map +1 -0
  13. package/dist/{chunk-NVSJXN4S.js → chunk-D4NEYNBO.js} +8 -5
  14. package/dist/chunk-D4NEYNBO.js.map +1 -0
  15. package/dist/{chunk-42MM7GKW.js → chunk-D5C5N5Q4.js} +2 -2
  16. package/dist/{chunk-BIH2CBC5.js → chunk-EPZMFIAX.js} +105 -10
  17. package/dist/chunk-EPZMFIAX.js.map +1 -0
  18. package/dist/{chunk-ACP4YARI.js → chunk-GODRGVF4.js} +3 -3
  19. package/dist/{chunk-IPDUZJPH.js → chunk-HR7C4DSA.js} +4 -4
  20. package/dist/{chunk-PAKVXGS2.js → chunk-I5KYDT23.js} +2 -2
  21. package/dist/{chunk-PDCLBWH5.js → chunk-L7433REX.js} +4 -4
  22. package/dist/{chunk-3ENBGGYA.js → chunk-LDD272PW.js} +959 -885
  23. package/dist/chunk-LDD272PW.js.map +1 -0
  24. package/dist/{chunk-OFRDE7MK.js → chunk-MUIA32LU.js} +2 -2
  25. package/dist/{chunk-TN5ZKSGC.js → chunk-MVIYQMQM.js} +2 -2
  26. package/dist/{chunk-NXNNT5XW.js → chunk-NALIFUBD.js} +4 -4
  27. package/dist/{chunk-LFTK5ZQG.js → chunk-NCBWA6RU.js} +2 -2
  28. package/dist/{chunk-BXI6DKBU.js → chunk-O2ECPTFH.js} +3 -3
  29. package/dist/{chunk-UNFS6YBY.js → chunk-Q4DXTNGR.js} +2 -2
  30. package/dist/{chunk-BSQ4KTY4.js → chunk-SX3P2PD2.js} +2 -2
  31. package/dist/{chunk-UQOSVOEU.js → chunk-T4E6UFFC.js} +16 -14
  32. package/dist/chunk-T4E6UFFC.js.map +1 -0
  33. package/dist/{chunk-UOR2JWFH.js → chunk-TFTP7EUQ.js} +82 -57
  34. package/dist/chunk-TFTP7EUQ.js.map +1 -0
  35. package/dist/{chunk-PHBRELUK.js → chunk-UEKTTIDA.js} +7 -7
  36. package/dist/{chunk-SU3Y6LU2.js → chunk-WZ2T4T7N.js} +32 -6
  37. package/dist/chunk-WZ2T4T7N.js.map +1 -0
  38. package/dist/{cli-circuit-breaker-T75HOLZK.js → cli-circuit-breaker-EUERR2HK.js} +5 -5
  39. package/dist/cli.d.ts +1 -1
  40. package/dist/cli.js +618 -567
  41. package/dist/cli.js.map +1 -1
  42. package/dist/{composite-router-OPSK5FCQ.js → composite-router-ZP72LQFH.js} +3 -3
  43. package/dist/{consensus-vote-CYUPIJXR.js → consensus-vote-TU3TQ4VH.js} +12 -12
  44. package/dist/{context-retriever-6AWHCHRP.js → context-retriever-OTLV46DF.js} +6 -6
  45. package/dist/{doctor-deep-XBPRQ6ZP.js → doctor-deep-ZMBSG2DF.js} +4 -4
  46. package/dist/expert-bridge-IK4TY7HA.js +11 -0
  47. package/dist/{factory-Y3TMP4OQ.js → factory-45NHZFLK.js} +5 -5
  48. package/dist/factory-QDHYIYVE.js +14 -0
  49. package/dist/index.d.ts +40 -5
  50. package/dist/index.js +25 -25
  51. package/dist/{init-opencode-RV6IQEMS.js → init-opencode-WFL4OXMB.js} +6 -6
  52. package/dist/issue-triage-UHFCGTEJ.js +15 -0
  53. package/dist/{learning-persistence-Q3HTOGTU.js → learning-persistence-TGOBRUUU.js} +2 -2
  54. package/dist/{registry-command-6KJWW3W7.js → registry-command-YMZPSW7S.js} +3 -3
  55. package/dist/{repo-security-plan-HNLMF7J7.js → repo-security-plan-TGDXTSHS.js} +4 -4
  56. package/dist/{research-helpers-synthesize-77TLYSW4.js → research-helpers-synthesize-5BAN353Y.js} +4 -4
  57. package/dist/{routing-memory-6DV6ZPAH.js → routing-memory-RG3U2MC2.js} +3 -3
  58. package/dist/{session-memory-XZ3NJIR4.js → session-memory-C5GC2JAX.js} +4 -4
  59. package/dist/{setup-command-QOXG36UV.js → setup-command-OXJ32UAI.js} +13 -11
  60. package/dist/setup-config-KNMVMGDD.js +10 -0
  61. package/dist/{setup-custom-api-PJ6TGHJH.js → setup-custom-api-4EYRKCHB.js} +5 -5
  62. package/dist/{tool-memory-K2QPTPKV.js → tool-memory-LUXUOE6Q.js} +5 -5
  63. package/dist/{weather-report-ZB4AKOIA.js → weather-report-3KSDTC7T.js} +3 -3
  64. package/package.json +1 -1
  65. package/dist/chunk-3ENBGGYA.js.map +0 -1
  66. package/dist/chunk-7BMOZJYS.js +0 -83
  67. package/dist/chunk-7BMOZJYS.js.map +0 -1
  68. package/dist/chunk-BIH2CBC5.js.map +0 -1
  69. package/dist/chunk-DW3UTO43.js.map +0 -1
  70. package/dist/chunk-NVSJXN4S.js.map +0 -1
  71. package/dist/chunk-SU3Y6LU2.js.map +0 -1
  72. package/dist/chunk-UOR2JWFH.js.map +0 -1
  73. package/dist/chunk-UQOSVOEU.js.map +0 -1
  74. package/dist/expert-bridge-5YOPK5IT.js +0 -11
  75. package/dist/factory-DN7SJZ5Z.js +0 -14
  76. package/dist/issue-triage-UTWKXLKC.js +0 -15
  77. package/dist/setup-config-B4V4QHDP.js +0 -10
  78. /package/dist/{child-mcp-config-DFRYTRBK.js.map → child-mcp-config-Q6UMCPGZ.js.map} +0 -0
  79. /package/dist/{chunk-UWDVEMYZ.js.map → chunk-23XU4LE2.js.map} +0 -0
  80. /package/dist/{chunk-DOI7RE3X.js.map → chunk-33LDLZCC.js.map} +0 -0
  81. /package/dist/{chunk-UNRTM43V.js.map → chunk-54UT2JUQ.js.map} +0 -0
  82. /package/dist/{chunk-OGV7J5WG.js.map → chunk-5WN3WGXG.js.map} +0 -0
  83. /package/dist/{chunk-NJPFN75N.js.map → chunk-7UM5XRGG.js.map} +0 -0
  84. /package/dist/{chunk-JMRCMMZ5.js.map → chunk-7ZKZ7K7J.js.map} +0 -0
  85. /package/dist/{chunk-45NUO4FE.js.map → chunk-ALDKPBOZ.js.map} +0 -0
  86. /package/dist/{chunk-42MM7GKW.js.map → chunk-D5C5N5Q4.js.map} +0 -0
  87. /package/dist/{chunk-ACP4YARI.js.map → chunk-GODRGVF4.js.map} +0 -0
  88. /package/dist/{chunk-IPDUZJPH.js.map → chunk-HR7C4DSA.js.map} +0 -0
  89. /package/dist/{chunk-PAKVXGS2.js.map → chunk-I5KYDT23.js.map} +0 -0
  90. /package/dist/{chunk-PDCLBWH5.js.map → chunk-L7433REX.js.map} +0 -0
  91. /package/dist/{chunk-OFRDE7MK.js.map → chunk-MUIA32LU.js.map} +0 -0
  92. /package/dist/{chunk-TN5ZKSGC.js.map → chunk-MVIYQMQM.js.map} +0 -0
  93. /package/dist/{chunk-NXNNT5XW.js.map → chunk-NALIFUBD.js.map} +0 -0
  94. /package/dist/{chunk-LFTK5ZQG.js.map → chunk-NCBWA6RU.js.map} +0 -0
  95. /package/dist/{chunk-BXI6DKBU.js.map → chunk-O2ECPTFH.js.map} +0 -0
  96. /package/dist/{chunk-UNFS6YBY.js.map → chunk-Q4DXTNGR.js.map} +0 -0
  97. /package/dist/{chunk-BSQ4KTY4.js.map → chunk-SX3P2PD2.js.map} +0 -0
  98. /package/dist/{chunk-PHBRELUK.js.map → chunk-UEKTTIDA.js.map} +0 -0
  99. /package/dist/{cli-circuit-breaker-T75HOLZK.js.map → cli-circuit-breaker-EUERR2HK.js.map} +0 -0
  100. /package/dist/{composite-router-OPSK5FCQ.js.map → composite-router-ZP72LQFH.js.map} +0 -0
  101. /package/dist/{consensus-vote-CYUPIJXR.js.map → consensus-vote-TU3TQ4VH.js.map} +0 -0
  102. /package/dist/{context-retriever-6AWHCHRP.js.map → context-retriever-OTLV46DF.js.map} +0 -0
  103. /package/dist/{doctor-deep-XBPRQ6ZP.js.map → doctor-deep-ZMBSG2DF.js.map} +0 -0
  104. /package/dist/{expert-bridge-5YOPK5IT.js.map → expert-bridge-IK4TY7HA.js.map} +0 -0
  105. /package/dist/{factory-DN7SJZ5Z.js.map → factory-45NHZFLK.js.map} +0 -0
  106. /package/dist/{factory-Y3TMP4OQ.js.map → factory-QDHYIYVE.js.map} +0 -0
  107. /package/dist/{init-opencode-RV6IQEMS.js.map → init-opencode-WFL4OXMB.js.map} +0 -0
  108. /package/dist/{issue-triage-UTWKXLKC.js.map → issue-triage-UHFCGTEJ.js.map} +0 -0
  109. /package/dist/{learning-persistence-Q3HTOGTU.js.map → learning-persistence-TGOBRUUU.js.map} +0 -0
  110. /package/dist/{registry-command-6KJWW3W7.js.map → registry-command-YMZPSW7S.js.map} +0 -0
  111. /package/dist/{repo-security-plan-HNLMF7J7.js.map → repo-security-plan-TGDXTSHS.js.map} +0 -0
  112. /package/dist/{research-helpers-synthesize-77TLYSW4.js.map → research-helpers-synthesize-5BAN353Y.js.map} +0 -0
  113. /package/dist/{routing-memory-6DV6ZPAH.js.map → routing-memory-RG3U2MC2.js.map} +0 -0
  114. /package/dist/{session-memory-XZ3NJIR4.js.map → session-memory-C5GC2JAX.js.map} +0 -0
  115. /package/dist/{setup-command-QOXG36UV.js.map → setup-command-OXJ32UAI.js.map} +0 -0
  116. /package/dist/{setup-config-B4V4QHDP.js.map → setup-config-KNMVMGDD.js.map} +0 -0
  117. /package/dist/{setup-custom-api-PJ6TGHJH.js.map → setup-custom-api-4EYRKCHB.js.map} +0 -0
  118. /package/dist/{tool-memory-K2QPTPKV.js.map → tool-memory-LUXUOE6Q.js.map} +0 -0
  119. /package/dist/{weather-report-ZB4AKOIA.js.map → weather-report-3KSDTC7T.js.map} +0 -0
@@ -4,8 +4,8 @@ import {
4
4
  CompositeRoutingError,
5
5
  DEFAULT_COMPOSITE_CONFIG,
6
6
  createCompositeRouter
7
- } from "./chunk-UQOSVOEU.js";
8
- import "./chunk-7BMOZJYS.js";
7
+ } from "./chunk-T4E6UFFC.js";
8
+ import "./chunk-2JQXC3CK.js";
9
9
  import "./chunk-UP2VWCW5.js";
10
10
  export {
11
11
  CompositeRouter,
@@ -14,4 +14,4 @@ export {
14
14
  DEFAULT_COMPOSITE_CONFIG,
15
15
  createCompositeRouter
16
16
  };
17
- //# sourceMappingURL=composite-router-OPSK5FCQ.js.map
17
+ //# sourceMappingURL=composite-router-ZP72LQFH.js.map
@@ -5,19 +5,19 @@ import {
5
5
  executeVoting,
6
6
  registerConsensusVoteTool,
7
7
  resetCorrelationTracker
8
- } from "./chunk-DW3UTO43.js";
9
- import "./chunk-PAKVXGS2.js";
10
- import "./chunk-DOI7RE3X.js";
11
- import "./chunk-NXNNT5XW.js";
12
- import "./chunk-42MM7GKW.js";
13
- import "./chunk-UNRTM43V.js";
8
+ } from "./chunk-D3MQ4U2R.js";
9
+ import "./chunk-I5KYDT23.js";
10
+ import "./chunk-33LDLZCC.js";
11
+ import "./chunk-NALIFUBD.js";
12
+ import "./chunk-D5C5N5Q4.js";
13
+ import "./chunk-54UT2JUQ.js";
14
14
  import "./chunk-633WH2ML.js";
15
- import "./chunk-BIH2CBC5.js";
16
- import "./chunk-NJPFN75N.js";
15
+ import "./chunk-EPZMFIAX.js";
16
+ import "./chunk-7UM5XRGG.js";
17
17
  import "./chunk-PQHVC4BD.js";
18
- import "./chunk-45NUO4FE.js";
19
- import "./chunk-UQOSVOEU.js";
20
- import "./chunk-7BMOZJYS.js";
18
+ import "./chunk-ALDKPBOZ.js";
19
+ import "./chunk-T4E6UFFC.js";
20
+ import "./chunk-2JQXC3CK.js";
21
21
  import "./chunk-UP2VWCW5.js";
22
22
  export {
23
23
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
@@ -27,4 +27,4 @@ export {
27
27
  registerConsensusVoteTool,
28
28
  resetCorrelationTracker
29
29
  };
30
- //# sourceMappingURL=consensus-vote-CYUPIJXR.js.map
30
+ //# sourceMappingURL=consensus-vote-TU3TQ4VH.js.map
@@ -2,17 +2,17 @@ import {
2
2
  getContextForTask,
3
3
  inferTaskCategory,
4
4
  summarizeContextForPrompt
5
- } from "./chunk-PDCLBWH5.js";
6
- import "./chunk-NXNNT5XW.js";
5
+ } from "./chunk-L7433REX.js";
6
+ import "./chunk-NALIFUBD.js";
7
7
  import "./chunk-633WH2ML.js";
8
8
  import "./chunk-PQHVC4BD.js";
9
- import "./chunk-45NUO4FE.js";
10
- import "./chunk-UQOSVOEU.js";
11
- import "./chunk-7BMOZJYS.js";
9
+ import "./chunk-ALDKPBOZ.js";
10
+ import "./chunk-T4E6UFFC.js";
11
+ import "./chunk-2JQXC3CK.js";
12
12
  import "./chunk-UP2VWCW5.js";
13
13
  export {
14
14
  getContextForTask,
15
15
  inferTaskCategory,
16
16
  summarizeContextForPrompt
17
17
  };
18
- //# sourceMappingURL=context-retriever-6AWHCHRP.js.map
18
+ //# sourceMappingURL=context-retriever-OTLV46DF.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  formatDeepDiagnostics,
3
3
  runDeepDiagnostics
4
- } from "./chunk-JMRCMMZ5.js";
5
- import "./chunk-UQOSVOEU.js";
6
- import "./chunk-7BMOZJYS.js";
4
+ } from "./chunk-7ZKZ7K7J.js";
5
+ import "./chunk-T4E6UFFC.js";
6
+ import "./chunk-2JQXC3CK.js";
7
7
  import "./chunk-UP2VWCW5.js";
8
8
  export {
9
9
  formatDeepDiagnostics,
10
10
  runDeepDiagnostics
11
11
  };
12
- //# sourceMappingURL=doctor-deep-XBPRQ6ZP.js.map
12
+ //# sourceMappingURL=doctor-deep-ZMBSG2DF.js.map
@@ -0,0 +1,11 @@
1
+ import {
2
+ executeExpert
3
+ } from "./chunk-UEKTTIDA.js";
4
+ import "./chunk-MUIA32LU.js";
5
+ import "./chunk-T4E6UFFC.js";
6
+ import "./chunk-2JQXC3CK.js";
7
+ import "./chunk-UP2VWCW5.js";
8
+ export {
9
+ executeExpert
10
+ };
11
+ //# sourceMappingURL=expert-bridge-IK4TY7HA.js.map
@@ -3,10 +3,10 @@ import {
3
3
  createCliAdapter,
4
4
  getAvailableClis,
5
5
  isCliAvailable
6
- } from "./chunk-BIH2CBC5.js";
7
- import "./chunk-NJPFN75N.js";
8
- import "./chunk-UQOSVOEU.js";
9
- import "./chunk-7BMOZJYS.js";
6
+ } from "./chunk-EPZMFIAX.js";
7
+ import "./chunk-7UM5XRGG.js";
8
+ import "./chunk-T4E6UFFC.js";
9
+ import "./chunk-2JQXC3CK.js";
10
10
  import "./chunk-UP2VWCW5.js";
11
11
  export {
12
12
  createAllAdapters,
@@ -14,4 +14,4 @@ export {
14
14
  getAvailableClis,
15
15
  isCliAvailable
16
16
  };
17
- //# sourceMappingURL=factory-Y3TMP4OQ.js.map
17
+ //# sourceMappingURL=factory-45NHZFLK.js.map
@@ -0,0 +1,14 @@
1
+ import {
2
+ createGitHubProvider,
3
+ createScmProvider
4
+ } from "./chunk-23XU4LE2.js";
5
+ import "./chunk-NCBWA6RU.js";
6
+ import "./chunk-SX3P2PD2.js";
7
+ import "./chunk-T4E6UFFC.js";
8
+ import "./chunk-2JQXC3CK.js";
9
+ import "./chunk-UP2VWCW5.js";
10
+ export {
11
+ createGitHubProvider,
12
+ createScmProvider
13
+ };
14
+ //# sourceMappingURL=factory-QDHYIYVE.js.map
package/dist/index.d.ts CHANGED
@@ -13978,6 +13978,14 @@ declare class AgenticAdapter implements IAgenticAdapter {
13978
13978
  * to record everything and let the next turn be the budget breaker).
13979
13979
  */
13980
13980
  private processToolCallsParallel;
13981
+ /**
13982
+ * Records one settled parallel-tool outcome into history. Mutates
13983
+ * `state.turns` / `toolResultBlocks` in place and returns `true` when
13984
+ * the outcome signals a tool error (the caller stops *after* draining
13985
+ * every outcome — #2864). Extracted from `processToolCallsParallel`
13986
+ * to keep that method's cyclomatic complexity under the gate.
13987
+ */
13988
+ private drainParallelOutcome;
13981
13989
  /**
13982
13990
  * Per-call wrapper used by parallel execution. Returns a captured
13983
13991
  * outcome (turn + result-block, OR turn + tool-error flag) without
@@ -21620,6 +21628,13 @@ interface ProposalState {
21620
21628
  timeoutId?: ReturnType<typeof setTimeout>;
21621
21629
  /** Number of incremental quorum expansions applied (Issue #1408). */
21622
21630
  expansionRounds?: number;
21631
+ /**
21632
+ * True while a quorum expansion is awaiting its callback for this
21633
+ * proposal. Concurrent `vote()` calls check this to avoid double-
21634
+ * expanding across the `await` gap (Issue #2861). Per-proposal so
21635
+ * independent proposals never block each other.
21636
+ */
21637
+ expansionInFlight?: boolean;
21623
21638
  }
21624
21639
  /**
21625
21640
  * Consensus metrics for monitoring.
@@ -24834,6 +24849,14 @@ declare abstract class BaseCliAdapter implements ICliAdapter {
24834
24849
  * Computes effective timeout for a task.
24835
24850
  */
24836
24851
  private computeTimeout;
24852
+ /**
24853
+ * Whether the shared outer retry loop ({@link executeCliRetryLoop}) is
24854
+ * allowed to retry this adapter's failures. The base adapter honors the
24855
+ * caller's `allowRetry`. Subprocess adapters override this to suppress
24856
+ * the outer loop when their own transient-retry layer is active, so the
24857
+ * two layers do not nest into multiplied spawns (#2824).
24858
+ */
24859
+ protected shouldOuterRetry(opts: Required<ExecutionOptions$1>): boolean;
24837
24860
  /**
24838
24861
  * Executes task with retry logic via shared retry loop.
24839
24862
  */
@@ -24984,6 +25007,16 @@ declare abstract class SubprocessCliAdapter extends BaseCliAdapter {
24984
25007
  protected abstract readonly parser: ICliResponseParser;
24985
25008
  /** Transient-error retry config. Override in subclass to enable. */
24986
25009
  protected readonly transientRetry: TransientRetryConfig;
25010
+ /**
25011
+ * The inner {@link retryTransient} layer is the single retry authority
25012
+ * for subprocess CLIs. When it is enabled (the default), the shared
25013
+ * outer retry loop must not also retry: nesting both meant up to 6
25014
+ * subprocess spawns and ~10-minute hangs on a persistent TIMEOUT, since
25015
+ * the inner layer's timeout extension compounds on every outer attempt
25016
+ * (#2824). The outer loop still runs once, so circuit-breaker failure
25017
+ * recording is unaffected.
25018
+ */
25019
+ protected shouldOuterRetry(opts: Required<ExecutionOptions$1>): boolean;
24987
25020
  /**
24988
25021
  * Gets CLI command and arguments for execution.
24989
25022
  * If stdin is provided, it will be written to the process stdin.
@@ -25348,9 +25381,10 @@ declare class OpenCodeCliAdapter extends SubprocessCliAdapter {
25348
25381
  protected getCommand(task: CliTask): CommandConfig;
25349
25382
  /**
25350
25383
  * (#2540) Lists models the local OpenCode installation can route to.
25351
- * Wraps the existing `probeAvailableModels()` (already 5-min cached)
25352
- * and reshapes the result into the CliModelInfo schema. Splits
25353
- * `provider/model` ids when present.
25384
+ * Wraps the existing `probeAvailableModels()` (cached for the process
25385
+ * lifetime see `cachedModels` at the top of this file) and reshapes
25386
+ * the result into the CliModelInfo schema. Splits `provider/model` ids
25387
+ * when present.
25354
25388
  */
25355
25389
  listModels(): Promise<readonly CliModelInfo[]>;
25356
25390
  }
@@ -30733,7 +30767,7 @@ interface PipelineExecuteOptions {
30733
30767
  readonly continueOnFailure?: boolean;
30734
30768
  /** EventBus for trace persistence. When provided, creates a TraceWriter. */
30735
30769
  readonly eventBus?: IEventBus;
30736
- /** Override base directory for trace output (default: ./runs). */
30770
+ /** Override base directory for trace output (default: `<getNexusDataDir()>/runs`). */
30737
30771
  readonly runsDir?: string;
30738
30772
  }
30739
30773
  /** Compile result type. */
@@ -31323,7 +31357,8 @@ declare function checkForResearchTriggers(config?: ResearchTriggerConfig): Promi
31323
31357
  * DRY: reuses ensureCheckpointDir from wave-checkpoint-persistence for
31324
31358
  * directory management and path security. Pipeline-specific JSONL schema.
31325
31359
  *
31326
- * Storage: ~/.nexus-agents/checkpoints/pipeline-{sessionId}.jsonl
31360
+ * Storage: <repo>/.nexus-agents/checkpoints/pipeline-{sessionId}.jsonl
31361
+ * (checkpoints/ is per-repo state — epic #2872)
31327
31362
  *
31328
31363
  * @module pipeline/pipeline-checkpoint
31329
31364
  */
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createGitHubProvider,
3
3
  createScmProvider
4
- } from "./chunk-UWDVEMYZ.js";
4
+ } from "./chunk-23XU4LE2.js";
5
5
  import {
6
6
  ALLOWED_COMMANDS,
7
7
  ARTIFACT_TYPES,
@@ -518,7 +518,7 @@ import {
518
518
  validateWorkflow,
519
519
  validateWorkflowDependencies,
520
520
  withLogging
521
- } from "./chunk-3ENBGGYA.js";
521
+ } from "./chunk-LDD272PW.js";
522
522
  import "./chunk-AP2FD37C.js";
523
523
  import {
524
524
  SharedMemoryStore
@@ -527,21 +527,21 @@ import {
527
527
  getTokenEnvVars,
528
528
  hasToken,
529
529
  resolveToken
530
- } from "./chunk-LFTK5ZQG.js";
530
+ } from "./chunk-NCBWA6RU.js";
531
531
  import "./chunk-X2M7OF27.js";
532
532
  import {
533
533
  OPENAI_MODELS,
534
534
  OPENAI_MODEL_ALIASES,
535
535
  OpenAIAdapter,
536
536
  createOpenAIAdapter
537
- } from "./chunk-OGV7J5WG.js";
537
+ } from "./chunk-5WN3WGXG.js";
538
538
  import {
539
539
  CliCircuitBreakerIntegration,
540
540
  createCliCircuitBreakerIntegration
541
- } from "./chunk-ACP4YARI.js";
541
+ } from "./chunk-GODRGVF4.js";
542
542
  import {
543
543
  executeExpert
544
- } from "./chunk-PHBRELUK.js";
544
+ } from "./chunk-UEKTTIDA.js";
545
545
  import {
546
546
  AgentFindingSchema,
547
547
  AgentPerformanceSchema,
@@ -637,10 +637,10 @@ import {
637
637
  validateToolInput,
638
638
  withModelNotFoundFallback,
639
639
  wrapResilientWithFallback
640
- } from "./chunk-DW3UTO43.js";
640
+ } from "./chunk-D3MQ4U2R.js";
641
641
  import {
642
642
  PROVIDER_ENV_KEYS
643
- } from "./chunk-PAKVXGS2.js";
643
+ } from "./chunk-I5KYDT23.js";
644
644
  import {
645
645
  AdapterModelError,
646
646
  BaseAdapter,
@@ -664,8 +664,8 @@ import {
664
664
  transformStream,
665
665
  validateApiKeyPresence,
666
666
  withTimeout
667
- } from "./chunk-DOI7RE3X.js";
668
- import "./chunk-UNFS6YBY.js";
667
+ } from "./chunk-33LDLZCC.js";
668
+ import "./chunk-Q4DXTNGR.js";
669
669
  import {
670
670
  AgentActionSchema,
671
671
  GitHubReviewer,
@@ -698,11 +698,11 @@ import {
698
698
  sanitizeInput,
699
699
  validateAgentAction,
700
700
  validateCorroboration
701
- } from "./chunk-BXI6DKBU.js";
701
+ } from "./chunk-O2ECPTFH.js";
702
702
  import {
703
703
  GitHubProvider,
704
704
  ScmError
705
- } from "./chunk-BSQ4KTY4.js";
705
+ } from "./chunk-SX3P2PD2.js";
706
706
  import {
707
707
  FALLBACK_SCANNER_DATA,
708
708
  buildPlanFromAnalysis,
@@ -710,7 +710,7 @@ import {
710
710
  generateSecurityPlan,
711
711
  getRegistryManifest,
712
712
  resolveScannerData
713
- } from "./chunk-TN5ZKSGC.js";
713
+ } from "./chunk-MVIYQMQM.js";
714
714
  import {
715
715
  analyzeGitHubRepo,
716
716
  analyzeRepo,
@@ -720,10 +720,10 @@ import "./chunk-BQ4YXGGQ.js";
720
720
  import {
721
721
  PersistentStrategyDistiller,
722
722
  RulesSnapshotSchema
723
- } from "./chunk-PDCLBWH5.js";
723
+ } from "./chunk-L7433REX.js";
724
724
  import {
725
725
  MemoryError
726
- } from "./chunk-NXNNT5XW.js";
726
+ } from "./chunk-NALIFUBD.js";
727
727
  import {
728
728
  AppConfigSchema,
729
729
  ExpertConfigSchema,
@@ -742,7 +742,7 @@ import {
742
742
  getKnownNexusVarNames,
743
743
  startStdioServer,
744
744
  validateNexusEnv
745
- } from "./chunk-UOR2JWFH.js";
745
+ } from "./chunk-TFTP7EUQ.js";
746
746
  import {
747
747
  AvailabilityCache,
748
748
  filterAvailableModels,
@@ -751,15 +751,15 @@ import {
751
751
  getFallbackChain,
752
752
  resetAvailabilityCache,
753
753
  resolveFallback
754
- } from "./chunk-OFRDE7MK.js";
754
+ } from "./chunk-MUIA32LU.js";
755
755
  import {
756
756
  AvailableModelsCache,
757
757
  getDefaultAvailableModelsCache,
758
758
  setDefaultAvailableModelsCache
759
- } from "./chunk-42MM7GKW.js";
759
+ } from "./chunk-D5C5N5Q4.js";
760
760
  import {
761
761
  DEFAULTS
762
- } from "./chunk-UNRTM43V.js";
762
+ } from "./chunk-54UT2JUQ.js";
763
763
  import "./chunk-NUBSJGQZ.js";
764
764
  import "./chunk-633WH2ML.js";
765
765
  import {
@@ -790,8 +790,8 @@ import {
790
790
  isCliAvailable,
791
791
  isRetryableError,
792
792
  sleep
793
- } from "./chunk-BIH2CBC5.js";
794
- import "./chunk-NJPFN75N.js";
793
+ } from "./chunk-EPZMFIAX.js";
794
+ import "./chunk-7UM5XRGG.js";
795
795
  import {
796
796
  BUILT_IN_EXPERTS,
797
797
  BuiltInExpertTypeSchema,
@@ -802,7 +802,7 @@ import {
802
802
  validateExpertConfig
803
803
  } from "./chunk-ZM4O442V.js";
804
804
  import "./chunk-PQHVC4BD.js";
805
- import "./chunk-45NUO4FE.js";
805
+ import "./chunk-ALDKPBOZ.js";
806
806
  import {
807
807
  AgentCapability,
808
808
  AgentError,
@@ -879,8 +879,8 @@ import {
879
879
  toError,
880
880
  unwrap,
881
881
  unwrapOr
882
- } from "./chunk-UQOSVOEU.js";
883
- import "./chunk-7BMOZJYS.js";
882
+ } from "./chunk-T4E6UFFC.js";
883
+ import "./chunk-2JQXC3CK.js";
884
884
  import "./chunk-UP2VWCW5.js";
885
885
 
886
886
  // src/adapters/factory.ts
@@ -5984,7 +5984,7 @@ function buildVotingInput(plan, config) {
5984
5984
  }
5985
5985
  async function executeSingleVote(plan, config, log) {
5986
5986
  try {
5987
- const { executeVoting } = await import("./consensus-vote-CYUPIJXR.js");
5987
+ const { executeVoting } = await import("./consensus-vote-TU3TQ4VH.js");
5988
5988
  const input = buildVotingInput(plan, config);
5989
5989
  const result = await executeVoting(input, log);
5990
5990
  return parseVotingResult(result);
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  discoverModels,
3
3
  readOpencodeGateway
4
- } from "./chunk-IPDUZJPH.js";
5
- import "./chunk-OGV7J5WG.js";
6
- import "./chunk-DOI7RE3X.js";
4
+ } from "./chunk-HR7C4DSA.js";
5
+ import "./chunk-5WN3WGXG.js";
6
+ import "./chunk-33LDLZCC.js";
7
7
  import {
8
8
  createLogger
9
- } from "./chunk-UQOSVOEU.js";
10
- import "./chunk-7BMOZJYS.js";
9
+ } from "./chunk-T4E6UFFC.js";
10
+ import "./chunk-2JQXC3CK.js";
11
11
  import "./chunk-UP2VWCW5.js";
12
12
 
13
13
  // src/cli/init-opencode.ts
@@ -174,4 +174,4 @@ export {
174
174
  runInitOpencode,
175
175
  runOpencodeValidate
176
176
  };
177
- //# sourceMappingURL=init-opencode-RV6IQEMS.js.map
177
+ //# sourceMappingURL=init-opencode-WFL4OXMB.js.map
@@ -0,0 +1,15 @@
1
+ import {
2
+ IssueTriage,
3
+ createIssueTriage,
4
+ formatTriageComment
5
+ } from "./chunk-O2ECPTFH.js";
6
+ import "./chunk-SX3P2PD2.js";
7
+ import "./chunk-T4E6UFFC.js";
8
+ import "./chunk-2JQXC3CK.js";
9
+ import "./chunk-UP2VWCW5.js";
10
+ export {
11
+ IssueTriage,
12
+ createIssueTriage,
13
+ formatTriageComment
14
+ };
15
+ //# sourceMappingURL=issue-triage-UHFCGTEJ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getOutcomesFile,
5
5
  getRulesFile,
6
6
  isPersistenceEnabled
7
- } from "./chunk-7BMOZJYS.js";
7
+ } from "./chunk-2JQXC3CK.js";
8
8
  import "./chunk-UP2VWCW5.js";
9
9
  export {
10
10
  ensureLearningDir,
@@ -13,4 +13,4 @@ export {
13
13
  getRulesFile,
14
14
  isPersistenceEnabled
15
15
  };
16
- //# sourceMappingURL=learning-persistence-Q3HTOGTU.js.map
16
+ //# sourceMappingURL=learning-persistence-TGOBRUUU.js.map
@@ -2,10 +2,10 @@ import {
2
2
  ModelCapabilitySchema,
3
3
  createLogger,
4
4
  getInTreeCapabilitiesMatrix
5
- } from "./chunk-UQOSVOEU.js";
5
+ } from "./chunk-T4E6UFFC.js";
6
6
  import {
7
7
  nexusDataPath
8
- } from "./chunk-7BMOZJYS.js";
8
+ } from "./chunk-2JQXC3CK.js";
9
9
  import "./chunk-UP2VWCW5.js";
10
10
 
11
11
  // src/cli/registry-command.ts
@@ -575,4 +575,4 @@ export {
575
575
  isValidRegistrySubcommand,
576
576
  registryCommand
577
577
  };
578
- //# sourceMappingURL=registry-command-6KJWW3W7.js.map
578
+ //# sourceMappingURL=registry-command-YMZPSW7S.js.map
@@ -3,10 +3,10 @@ import {
3
3
  buildPlanFromAnalysis,
4
4
  generateSecurityPlan,
5
5
  resolveScannerData
6
- } from "./chunk-TN5ZKSGC.js";
6
+ } from "./chunk-MVIYQMQM.js";
7
7
  import "./chunk-7J7PNOJQ.js";
8
- import "./chunk-UQOSVOEU.js";
9
- import "./chunk-7BMOZJYS.js";
8
+ import "./chunk-T4E6UFFC.js";
9
+ import "./chunk-2JQXC3CK.js";
10
10
  import "./chunk-UP2VWCW5.js";
11
11
  export {
12
12
  FALLBACK_SCANNER_DATA,
@@ -14,4 +14,4 @@ export {
14
14
  generateSecurityPlan,
15
15
  resolveScannerData
16
16
  };
17
- //# sourceMappingURL=repo-security-plan-HNLMF7J7.js.map
17
+ //# sourceMappingURL=repo-security-plan-TGDXTSHS.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AttributedInsightSchema,
3
3
  synthesizeResearch
4
- } from "./chunk-UNFS6YBY.js";
4
+ } from "./chunk-Q4DXTNGR.js";
5
5
  import "./chunk-NUBSJGQZ.js";
6
- import "./chunk-UQOSVOEU.js";
7
- import "./chunk-7BMOZJYS.js";
6
+ import "./chunk-T4E6UFFC.js";
7
+ import "./chunk-2JQXC3CK.js";
8
8
  import "./chunk-UP2VWCW5.js";
9
9
  export {
10
10
  AttributedInsightSchema,
11
11
  synthesizeResearch
12
12
  };
13
- //# sourceMappingURL=research-helpers-synthesize-77TLYSW4.js.map
13
+ //# sourceMappingURL=research-helpers-synthesize-5BAN353Y.js.map
@@ -2,12 +2,12 @@ import {
2
2
  DEFAULT_ROUTING_MEMORY_CONFIG,
3
3
  RoutingMemory,
4
4
  createRoutingMemory
5
- } from "./chunk-UQOSVOEU.js";
6
- import "./chunk-7BMOZJYS.js";
5
+ } from "./chunk-T4E6UFFC.js";
6
+ import "./chunk-2JQXC3CK.js";
7
7
  import "./chunk-UP2VWCW5.js";
8
8
  export {
9
9
  DEFAULT_ROUTING_MEMORY_CONFIG,
10
10
  RoutingMemory,
11
11
  createRoutingMemory
12
12
  };
13
- //# sourceMappingURL=routing-memory-6DV6ZPAH.js.map
13
+ //# sourceMappingURL=routing-memory-RG3U2MC2.js.map
@@ -6,9 +6,9 @@ import {
6
6
  SessionMemory,
7
7
  SessionMemoryError,
8
8
  createSessionMemory
9
- } from "./chunk-45NUO4FE.js";
10
- import "./chunk-UQOSVOEU.js";
11
- import "./chunk-7BMOZJYS.js";
9
+ } from "./chunk-ALDKPBOZ.js";
10
+ import "./chunk-T4E6UFFC.js";
11
+ import "./chunk-2JQXC3CK.js";
12
12
  import "./chunk-UP2VWCW5.js";
13
13
  export {
14
14
  CompletedTaskSchema,
@@ -19,4 +19,4 @@ export {
19
19
  SessionMemoryError,
20
20
  createSessionMemory
21
21
  };
22
- //# sourceMappingURL=session-memory-XZ3NJIR4.js.map
22
+ //# sourceMappingURL=session-memory-C5GC2JAX.js.map
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  detectEnvironment,
3
+ ensureRepoGitignoredAndHint,
3
4
  generateMcpSnippet,
4
5
  generateRulesContent,
5
6
  printSetupResult,
@@ -7,22 +8,23 @@ import {
7
8
  runWizard,
8
9
  setupCommand,
9
10
  setupCommandAsync
10
- } from "./chunk-SU3Y6LU2.js";
11
- import "./chunk-NVSJXN4S.js";
12
- import "./chunk-UOR2JWFH.js";
13
- import "./chunk-OFRDE7MK.js";
14
- import "./chunk-42MM7GKW.js";
15
- import "./chunk-UNRTM43V.js";
11
+ } from "./chunk-WZ2T4T7N.js";
12
+ import "./chunk-D4NEYNBO.js";
13
+ import "./chunk-TFTP7EUQ.js";
14
+ import "./chunk-MUIA32LU.js";
15
+ import "./chunk-D5C5N5Q4.js";
16
+ import "./chunk-54UT2JUQ.js";
16
17
  import "./chunk-NUBSJGQZ.js";
17
18
  import "./chunk-633WH2ML.js";
18
- import "./chunk-BIH2CBC5.js";
19
- import "./chunk-NJPFN75N.js";
19
+ import "./chunk-EPZMFIAX.js";
20
+ import "./chunk-7UM5XRGG.js";
20
21
  import "./chunk-ZM4O442V.js";
21
- import "./chunk-UQOSVOEU.js";
22
- import "./chunk-7BMOZJYS.js";
22
+ import "./chunk-T4E6UFFC.js";
23
+ import "./chunk-2JQXC3CK.js";
23
24
  import "./chunk-UP2VWCW5.js";
24
25
  export {
25
26
  detectEnvironment,
27
+ ensureRepoGitignoredAndHint,
26
28
  generateMcpSnippet,
27
29
  generateRulesContent,
28
30
  printSetupResult,
@@ -31,4 +33,4 @@ export {
31
33
  setupCommand,
32
34
  setupCommandAsync
33
35
  };
34
- //# sourceMappingURL=setup-command-QOXG36UV.js.map
36
+ //# sourceMappingURL=setup-command-OXJ32UAI.js.map
@@ -0,0 +1,10 @@
1
+ import {
2
+ runConfigInitSync
3
+ } from "./chunk-D4NEYNBO.js";
4
+ import "./chunk-T4E6UFFC.js";
5
+ import "./chunk-2JQXC3CK.js";
6
+ import "./chunk-UP2VWCW5.js";
7
+ export {
8
+ runConfigInitSync
9
+ };
10
+ //# sourceMappingURL=setup-config-KNMVMGDD.js.map
@@ -2,15 +2,15 @@ import {
2
2
  CUSTOM_API_ALLOW_PRIVATE_ENV,
3
3
  CUSTOM_API_BASE_URL_ENV,
4
4
  validateCustomApiBaseUrl
5
- } from "./chunk-PAKVXGS2.js";
5
+ } from "./chunk-I5KYDT23.js";
6
6
  import {
7
7
  CUSTOM_API_DEFAULT_MODEL
8
- } from "./chunk-UNRTM43V.js";
8
+ } from "./chunk-54UT2JUQ.js";
9
9
  import {
10
10
  err,
11
11
  ok
12
- } from "./chunk-UQOSVOEU.js";
13
- import "./chunk-7BMOZJYS.js";
12
+ } from "./chunk-T4E6UFFC.js";
13
+ import "./chunk-2JQXC3CK.js";
14
14
  import "./chunk-UP2VWCW5.js";
15
15
 
16
16
  // src/cli/setup-custom-api.ts
@@ -106,4 +106,4 @@ function buildShellFragment(params) {
106
106
  export {
107
107
  configureCustomApi
108
108
  };
109
- //# sourceMappingURL=setup-custom-api-PJ6TGHJH.js.map
109
+ //# sourceMappingURL=setup-custom-api-4EYRKCHB.js.map