nexus-agents 2.46.0 → 2.48.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.
package/dist/cli.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  import "./chunk-YDCRFMFQ.js";
16
16
  import {
17
17
  setupCommandAsync
18
- } from "./chunk-KCOGC24K.js";
18
+ } from "./chunk-CH722DBX.js";
19
19
  import "./chunk-MWLAUEG5.js";
20
20
  import {
21
21
  AuthHandler,
@@ -151,7 +151,7 @@ import {
151
151
  validateNexusEnv,
152
152
  validateWorkflow,
153
153
  wrapInMarkdownFence
154
- } from "./chunk-GVK2Z7PV.js";
154
+ } from "./chunk-UXRR7M6E.js";
155
155
  import {
156
156
  resolveToken
157
157
  } from "./chunk-QFDXRHNX.js";
@@ -201,7 +201,7 @@ import {
201
201
  doctorCommand,
202
202
  initDataDirectories,
203
203
  runDoctor
204
- } from "./chunk-5Y7QBD2H.js";
204
+ } from "./chunk-M53BBBCB.js";
205
205
  import "./chunk-ULDKSIS7.js";
206
206
  import {
207
207
  MemoryError
package/dist/index.d.ts CHANGED
@@ -28931,6 +28931,22 @@ interface AgentExecutionResult {
28931
28931
  readonly tokensUsed: number;
28932
28932
  readonly durationMs: number;
28933
28933
  }
28934
+ /**
28935
+ * Result of a post-patch verification attempt (#2032 integration).
28936
+ */
28937
+ interface VerifyResult {
28938
+ readonly passed: boolean;
28939
+ readonly stderr: string;
28940
+ readonly stdout: string;
28941
+ }
28942
+ /**
28943
+ * Adapter that runs the instance's test suite against a freshly-applied
28944
+ * patch (#2032 integration). Verification is opt-in — when no adapter
28945
+ * is provided, the runner behaves exactly as before.
28946
+ */
28947
+ interface IVerifyAdapter {
28948
+ verify(instance: SWEBenchInstance, patch: string, workDir: string): Promise<VerifyResult>;
28949
+ }
28934
28950
  /**
28935
28951
  * Options for running an agent on an instance.
28936
28952
  */
@@ -28941,6 +28957,15 @@ interface RunOptions {
28941
28957
  readonly signal?: AbortSignal;
28942
28958
  /** Override system prompt (e.g., with memory-enriched version). */
28943
28959
  readonly systemPrompt?: string;
28960
+ /**
28961
+ * Optional post-patch verify adapter (#2032). When provided, successful
28962
+ * patches are verified by running the instance's test suite; failures
28963
+ * trigger a bounded retry loop using the classification + retry-hint
28964
+ * logic from `verify-loop.ts`. Default cap: 2 retries.
28965
+ */
28966
+ readonly verifyAdapter?: IVerifyAdapter;
28967
+ /** Override max verify retries (default 2). */
28968
+ readonly maxVerifyRetries?: number;
28944
28969
  }
28945
28970
  /**
28946
28971
  * Runs an agent on a SWE-bench instance.
package/dist/index.js CHANGED
@@ -656,7 +656,7 @@ import {
656
656
  validateWorkflowDependencies,
657
657
  withLogging,
658
658
  writePredictions
659
- } from "./chunk-GVK2Z7PV.js";
659
+ } from "./chunk-UXRR7M6E.js";
660
660
  import {
661
661
  getTokenEnvVars,
662
662
  hasToken,
@@ -851,7 +851,7 @@ import {
851
851
  connectTransport,
852
852
  createServer,
853
853
  startStdioServer
854
- } from "./chunk-5Y7QBD2H.js";
854
+ } from "./chunk-M53BBBCB.js";
855
855
  import "./chunk-ULDKSIS7.js";
856
856
  import {
857
857
  MemoryError
@@ -7,9 +7,9 @@ import {
7
7
  runWizard,
8
8
  setupCommand,
9
9
  setupCommandAsync
10
- } from "./chunk-KCOGC24K.js";
10
+ } from "./chunk-CH722DBX.js";
11
11
  import "./chunk-MWLAUEG5.js";
12
- import "./chunk-5Y7QBD2H.js";
12
+ import "./chunk-M53BBBCB.js";
13
13
  import "./chunk-633WH2ML.js";
14
14
  import "./chunk-XXHVHW4K.js";
15
15
  import "./chunk-5XX5ROV6.js";
@@ -26,4 +26,4 @@ export {
26
26
  setupCommand,
27
27
  setupCommandAsync
28
28
  };
29
- //# sourceMappingURL=setup-command-OF4QXTBF.js.map
29
+ //# sourceMappingURL=setup-command-PLGFVKLM.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-agents",
3
- "version": "2.46.0",
3
+ "version": "2.48.0",
4
4
  "description": "Intelligent orchestration platform for AI coding tools — routes tasks to the best model, learns from outcomes, and enforces quality through multi-model consensus",
5
5
  "mcpName": "io.github.williamzujkowski/nexus-agents",
6
6
  "license": "MIT",