@taskless-app/swarm 0.6.36 → 0.6.37

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
@@ -3274,7 +3274,7 @@ var init_package = __esm({
3274
3274
  "package.json"() {
3275
3275
  package_default = {
3276
3276
  name: "@taskless-app/swarm",
3277
- version: "0.6.36",
3277
+ version: "0.6.37",
3278
3278
  type: "module",
3279
3279
  description: "Local control plane for a fleet of AI coding agents (drones), coordinating through Taskless. The overmind runs the swarm.",
3280
3280
  keywords: [
@@ -3325,7 +3325,7 @@ var init_package = __esm({
3325
3325
  execa: "^10.0.0",
3326
3326
  zod: "3.25.76"
3327
3327
  },
3328
- gitHead: "2d673b2bafb12ef0ced20b2469d798f7ae712b3a"
3328
+ gitHead: "3b1a04ef992f6bba42847d1dc29d22e39cadfc25"
3329
3329
  };
3330
3330
  }
3331
3331
  });
package/dist/overmind.js CHANGED
@@ -11863,7 +11863,7 @@ function parkReasonUnretriable(reason) {
11863
11863
  // package.json
11864
11864
  var package_default = {
11865
11865
  name: "@taskless-app/swarm",
11866
- version: "0.6.36",
11866
+ version: "0.6.37",
11867
11867
  type: "module",
11868
11868
  description: "Local control plane for a fleet of AI coding agents (drones), coordinating through Taskless. The overmind runs the swarm.",
11869
11869
  keywords: [
@@ -11914,7 +11914,7 @@ var package_default = {
11914
11914
  execa: "^10.0.0",
11915
11915
  zod: "3.25.76"
11916
11916
  },
11917
- gitHead: "2d673b2bafb12ef0ced20b2469d798f7ae712b3a"
11917
+ gitHead: "3b1a04ef992f6bba42847d1dc29d22e39cadfc25"
11918
11918
  };
11919
11919
 
11920
11920
  // src/version.ts
@@ -18942,7 +18942,8 @@ async function wakeAuthorOnChanges(deps, run, now, droneCap) {
18942
18942
  }
18943
18943
  }
18944
18944
  const wt = run.worktree_path;
18945
- const worktreeReady = !!wt && (deps.worktreeExists ?? existsSync20)(wt);
18945
+ const wtPath = wt || (deps.worktreesDir ? droneWorktreePath(deps.worktreesDir, normalizeRepo(run.repo || deps.repoFallback || ""), run.task_slug) : null);
18946
+ const worktreeReady = !!wtPath && (deps.worktreeExists ?? existsSync20)(wtPath);
18946
18947
  if (!worktreeReady && !await freshChangesWakeAllowed(deps, run, prUrl, now)) return false;
18947
18948
  try {
18948
18949
  await deps.respawn(run, "fix");
@@ -21639,6 +21640,9 @@ async function runDaemon(opts) {
21639
21640
  });
21640
21641
  const deps = {
21641
21642
  db,
21643
+ // Корень worktree-ов: по нему гейт фикс-итерации судит о наличии каталога на ДИСКЕ,
21644
+ // а не по рантайм-полю прогона, которого у client-режима нет (TASWM-402).
21645
+ worktreesDir,
21642
21646
  // TASWM-472: реконсайлу от очереди нужен ровно исход `base_stale` (см. needsBaseRefreshNow).
21643
21647
  ...SWARM_MERGE_QUEUE ? { mergeQueue: mergeParts.queue } : {},
21644
21648
  narrate: narrator.narrate,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taskless-app/swarm",
3
- "version": "0.6.36",
3
+ "version": "0.6.37",
4
4
  "type": "module",
5
5
  "description": "Local control plane for a fleet of AI coding agents (drones), coordinating through Taskless. The overmind runs the swarm.",
6
6
  "keywords": [
@@ -39,7 +39,7 @@
39
39
  "execa": "^10.0.0",
40
40
  "zod": "3.25.76"
41
41
  },
42
- "gitHead": "2d673b2bafb12ef0ced20b2469d798f7ae712b3a",
42
+ "gitHead": "3b1a04ef992f6bba42847d1dc29d22e39cadfc25",
43
43
  "scripts": {
44
44
  "overmind": "NODE_OPTIONS=\"${NODE_OPTIONS:-} --conditions=development\" tsx src/overmind.ts",
45
45
  "swarm": "NODE_OPTIONS=\"${NODE_OPTIONS:-} --conditions=development\" tsx src/cli.ts",