claude-task-worker 0.13.0 → 0.14.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -351,7 +351,7 @@ async function sendCtrlCToAllSessions(sessions, herdr) {
351
351
  await Promise.all(
352
352
  [...sessions.values()].map(async (session) => {
353
353
  try {
354
- await herdr.paneSendKeys(session.paneId, "ctrl-c");
354
+ await herdr.paneSendKeys(session.paneId, CTRL_C_KEY);
355
355
  } catch (error) {
356
356
  console.error(`[dispatcher] failed to send ctrl-c to session "${session.name}": ${error}`);
357
357
  }
@@ -462,7 +462,7 @@ function createDispatcherShutdownHandler(shutdown2) {
462
462
  };
463
463
  return { handle, isShuttingDown: () => shuttingDown2 };
464
464
  }
465
- var getDisplayWidth2, truncateToWidth2, padToWidth2, POLL_INTERVAL_MS, SHUTDOWN_TIMEOUT_MS, SHUTDOWN_RETRY_TIMEOUT_MS, shutdownPromise;
465
+ var getDisplayWidth2, truncateToWidth2, padToWidth2, POLL_INTERVAL_MS, SHUTDOWN_TIMEOUT_MS, SHUTDOWN_RETRY_TIMEOUT_MS, CTRL_C_KEY, shutdownPromise;
466
466
  var init_dispatcher = __esm({
467
467
  async "src/dispatcher.ts"() {
468
468
  "use strict";
@@ -470,6 +470,7 @@ var init_dispatcher = __esm({
470
470
  POLL_INTERVAL_MS = 7 * 1e3;
471
471
  SHUTDOWN_TIMEOUT_MS = 10 * 60 * 1e3;
472
472
  SHUTDOWN_RETRY_TIMEOUT_MS = 90 * 1e3;
473
+ CTRL_C_KEY = "ctrl+c";
473
474
  }
474
475
  });
475
476
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-task-worker",
3
- "version": "0.13.0",
3
+ "version": "0.14.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",