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 (
|
|
68
|
-
|
|
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-
|
|
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)
|