claude-task-worker 0.133.0 → 0.134.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.
@@ -64,8 +64,9 @@ async function waitForWorkerStartup(paneId, herdr, options) {
64
64
  for (; ; ) {
65
65
  const { foregroundProcesses } = await herdr.paneProcessInfo(paneId);
66
66
  if (foregroundProcesses.some(isWorkerProcess)) return "started";
67
- if (foregroundProcesses.length > 0 && !foregroundProcesses.every(isShellProcess)) return "other";
68
- if (Date.now() >= deadline) return "shell";
67
+ if (Date.now() >= deadline) {
68
+ return foregroundProcesses.length > 0 && !foregroundProcesses.every(isShellProcess) ? "other" : "shell";
69
+ }
69
70
  await sleep(pollIntervalMs);
70
71
  }
71
72
  }
package/dist/index.js CHANGED
@@ -1751,7 +1751,7 @@ if (hasProjectFilter()) {
1751
1751
  let sessions = /* @__PURE__ */ new Map();
1752
1752
  let monitorHandle;
1753
1753
  const herdr = await import("./herdr-NDLUM6JF.js");
1754
- const dispatcher = await import("./dispatcher-CIAW3Z6X.js");
1754
+ const dispatcher = await import("./dispatcher-UTBV3L5Z.js");
1755
1755
  captureConsole();
1756
1756
  const shutdownController = dispatcher.createDispatcherShutdownHandler(
1757
1757
  (options) => dispatcher.shutdownDispatcher(sessions, monitorHandle, options)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-task-worker",
3
- "version": "0.133.0",
3
+ "version": "0.134.0",
4
4
  "description": "CLI tool that polls GitHub Issues/PRs and delegates work to Claude CLI",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",