claude-task-worker 0.29.0 → 0.29.1

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 +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -249,7 +249,7 @@ async function agentStart({
249
249
  return { paneId, tabId };
250
250
  }
251
251
  function toAgentStatus(value) {
252
- return value === "working" || value === "idle" || value === "blocked" ? value : "unknown";
252
+ return value === "working" || value === "idle" || value === "blocked" || value === "done" ? value : "unknown";
253
253
  }
254
254
  async function agentGet(target) {
255
255
  const result = await execHerdr(["agent", "get", target]);
@@ -399,6 +399,9 @@ function observeAgentStatus(tracker, status) {
399
399
  if (status === "working") {
400
400
  return { tracker: { ...tracker, seenWorking: true }, decision: "running" };
401
401
  }
402
+ if (status === "done") {
403
+ return { tracker, decision: "completed" };
404
+ }
402
405
  if (status === "blocked") {
403
406
  if (tracker.warnedBlocked) return { tracker, decision: "running" };
404
407
  return { tracker: { ...tracker, warnedBlocked: true }, decision: "blocked-first-seen" };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-task-worker",
3
- "version": "0.29.0",
3
+ "version": "0.29.1",
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",