From 53995cb6cf6321a518880cf2b39c99f9d9883b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Baldur=20P=C3=A1ll=20H=C3=B3lmgeirsson?= Date: Sun, 4 Oct 2026 19:54:56 +0000 Subject: [PATCH] chore(release): 2.1.1 --- .changeset/brave-paths-match.md | 5 ----- .changeset/calm-ids-refused.md | 5 ----- .changeset/idle-agents-wait.md | 5 ----- .changeset/quiet-panes-rest.md | 5 ----- .changeset/quiet-skills-listen.md | 5 ----- .changeset/stale-pids-linger.md | 5 ----- CHANGELOG.md | 11 +++++++++++ docs/src/lib/site-meta.ts | 2 +- package.json | 2 +- 9 files changed, 13 insertions(+), 32 deletions(-) delete mode 100644 .changeset/brave-paths-match.md delete mode 100644 .changeset/calm-ids-refused.md delete mode 100644 .changeset/idle-agents-wait.md delete mode 100644 .changeset/quiet-panes-rest.md delete mode 100644 .changeset/quiet-skills-listen.md delete mode 100644 .changeset/stale-pids-linger.md diff --git a/.changeset/brave-paths-match.md b/.changeset/brave-paths-match.md deleted file mode 100644 index 938698f..0000000 --- a/.changeset/brave-paths-match.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@northguild/worktree": patch ---- - -`worktree remove` and `worktree cleanup` no longer fail with "is not a working tree" when another worktree's path, or the main checkout's, ends in the same name as the branch being removed — for example a checkout directory named like the branch, or branches `demo` and `x/demo` side by side. diff --git a/.changeset/calm-ids-refused.md b/.changeset/calm-ids-refused.md deleted file mode 100644 index f78ac18..0000000 --- a/.changeset/calm-ids-refused.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@northguild/worktree": patch ---- - -`worktree branch` now reports a malformed `--github` issue id or `--jira` issue key as `invalid_value` and exits 2, like any other refused value, instead of exiting 1 with `failed`. An issue that does not exist, or a failed lookup, still exits 1. diff --git a/.changeset/idle-agents-wait.md b/.changeset/idle-agents-wait.md deleted file mode 100644 index a61287e..0000000 --- a/.changeset/idle-agents-wait.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@northguild/worktree": patch ---- - -`worktree list --agents` now marks an interactive agent session as `waiting` when it has finished its turn or is blocked on a question, as it already did for background sessions. That includes the agents `worktree branch` starts through Herdr, so a coordinator polling `list --agents --json` can see a worker finish. The text list shows such a session as `[interactive, waiting]`. A session is now `waiting` only when every source agrees: one the runtime calls idle while Herdr reports it working is not, and Herdr's `done` (a finished turn nobody has looked at yet) counts as waiting. diff --git a/.changeset/quiet-panes-rest.md b/.changeset/quiet-panes-rest.md deleted file mode 100644 index 928d1a5..0000000 --- a/.changeset/quiet-panes-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@northguild/worktree": patch ---- - -`worktree cleanup` no longer holds back a merged worktree just because an agent session in it is idle, such as a Claude pane left open at its prompt. A session that is working, blocked or in an unknown state still holds its worktree back. diff --git a/.changeset/quiet-skills-listen.md b/.changeset/quiet-skills-listen.md deleted file mode 100644 index 4f3a453..0000000 --- a/.changeset/quiet-skills-listen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@northguild/worktree": patch ---- - -The bundled worktree skill now states that issue content only feeds the branch name, its examples no longer hand a coding agent an issue to read, and it tells a coordinating agent not to copy issue text into a worker's brief. diff --git a/.changeset/stale-pids-linger.md b/.changeset/stale-pids-linger.md deleted file mode 100644 index 5338f96..0000000 --- a/.changeset/stale-pids-linger.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@northguild/worktree": patch ---- - -`worktree cleanup` no longer removes a worktree whose agent session the runtime reports as done while its process is still running. Such a session now counts as live, so it holds the worktree back unless it is idle, and `worktree list --agents` no longer marks it `[done]`. diff --git a/CHANGELOG.md b/CHANGELOG.md index f31a5f5..5dd6f88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # @northguild/worktree +## 2.1.1 + +### Patch Changes + +- bf8adc9: `worktree remove` and `worktree cleanup` no longer fail with "is not a working tree" when another worktree's path, or the main checkout's, ends in the same name as the branch being removed — for example a checkout directory named like the branch, or branches `demo` and `x/demo` side by side. +- 81bbfe4: `worktree branch` now reports a malformed `--github` issue id or `--jira` issue key as `invalid_value` and exits 2, like any other refused value, instead of exiting 1 with `failed`. An issue that does not exist, or a failed lookup, still exits 1. +- 4d63b22: `worktree list --agents` now marks an interactive agent session as `waiting` when it has finished its turn or is blocked on a question, as it already did for background sessions. That includes the agents `worktree branch` starts through Herdr, so a coordinator polling `list --agents --json` can see a worker finish. The text list shows such a session as `[interactive, waiting]`. A session is now `waiting` only when every source agrees: one the runtime calls idle while Herdr reports it working is not, and Herdr's `done` (a finished turn nobody has looked at yet) counts as waiting. +- a3e32fb: `worktree cleanup` no longer holds back a merged worktree just because an agent session in it is idle, such as a Claude pane left open at its prompt. A session that is working, blocked or in an unknown state still holds its worktree back. +- 93afc0e: The bundled worktree skill now states that issue content only feeds the branch name, its examples no longer hand a coding agent an issue to read, and it tells a coordinating agent not to copy issue text into a worker's brief. +- 7e2f80e: `worktree cleanup` no longer removes a worktree whose agent session the runtime reports as done while its process is still running. Such a session now counts as live, so it holds the worktree back unless it is idle, and `worktree list --agents` no longer marks it `[done]`. + ## 2.1.0 ### Minor Changes diff --git a/docs/src/lib/site-meta.ts b/docs/src/lib/site-meta.ts index 0d57276..f6d0164 100644 --- a/docs/src/lib/site-meta.ts +++ b/docs/src/lib/site-meta.ts @@ -1,7 +1,7 @@ // Generated file. Do not edit directly. import type { Metadata } from "next"; -export const cliVersion = "2.1.0"; +export const cliVersion = "2.1.1"; export const projectName = "Worktree"; export const projectDescription = "A CLI tool for managing git worktrees with enhanced workflow features"; diff --git a/package.json b/package.json index cc70132..88c630b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@northguild/worktree", - "version": "2.1.0", + "version": "2.1.1", "description": "A CLI tool for managing git worktrees with enhanced workflow features", "main": "./bin/run.js", "type": "module",