@nathapp/nax 0.58.4 → 0.58.5

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 (2) hide show
  1. package/dist/nax.js +6 -5
  2. package/package.json +1 -1
package/dist/nax.js CHANGED
@@ -19288,7 +19288,7 @@ class AcpAgentAdapter {
19288
19288
  };
19289
19289
  }
19290
19290
  async complete(prompt, _options) {
19291
- const timeoutMs = _options?.timeoutMs || 120000;
19291
+ const timeoutMs = _options?.timeoutMs ?? 120000;
19292
19292
  const permissionMode = resolvePermissions(_options?.config, "complete").mode;
19293
19293
  const workdir = _options?.workdir;
19294
19294
  const config2 = _options?.config;
@@ -22178,7 +22178,8 @@ Do NOT output the JSON to the conversation. Write the file, then reply with a br
22178
22178
  };
22179
22179
  }
22180
22180
  const proposalOutputs = successful.map((p) => p.output);
22181
- const outcome = await resolveOutcome(proposalOutputs, [], ctx.stageConfig, ctx.config, ctx.storyId, 0);
22181
+ const resolverTimeoutMs = (ctx.stageConfig.timeoutSeconds ?? 600) * 1000;
22182
+ const outcome = await resolveOutcome(proposalOutputs, [], ctx.stageConfig, ctx.config, ctx.storyId, resolverTimeoutMs);
22182
22183
  const winningOutput = successful[0].output;
22183
22184
  const proposals = successful.map((p) => ({ debater: p.debater, output: p.output }));
22184
22185
  logger?.info("debate", "debate:result", {
@@ -35651,7 +35652,7 @@ var package_default;
35651
35652
  var init_package = __esm(() => {
35652
35653
  package_default = {
35653
35654
  name: "@nathapp/nax",
35654
- version: "0.58.4",
35655
+ version: "0.58.5",
35655
35656
  description: "AI Coding Agent Orchestrator \u2014 loops until done",
35656
35657
  type: "module",
35657
35658
  bin: {
@@ -35731,8 +35732,8 @@ var init_version = __esm(() => {
35731
35732
  NAX_VERSION = package_default.version;
35732
35733
  NAX_COMMIT = (() => {
35733
35734
  try {
35734
- if (/^[0-9a-f]{6,10}$/.test("05836706"))
35735
- return "05836706";
35735
+ if (/^[0-9a-f]{6,10}$/.test("374b714e"))
35736
+ return "374b714e";
35736
35737
  } catch {}
35737
35738
  try {
35738
35739
  const result = Bun.spawnSync(["git", "rev-parse", "--short", "HEAD"], {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nathapp/nax",
3
- "version": "0.58.4",
3
+ "version": "0.58.5",
4
4
  "description": "AI Coding Agent Orchestrator — loops until done",
5
5
  "type": "module",
6
6
  "bin": {