pi-herdr-agents 2.0.2 → 2.0.3

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.
package/CHANGELOG.md CHANGED
@@ -7,13 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
9
9
 
10
- ## [v2.0.2](https://github.com/giuseppecrj/pi-herdr-agents/compare/v2.0.1...v2.0.2)
10
+ ## [v2.0.3](https://github.com/giuseppecrj/pi-herdr-agents/compare/v2.0.2...v2.0.3)
11
+
12
+ ### Commits
13
+
14
+ - fix: skip startup worktree inventory outside Herdr [`34800d7`](https://github.com/giuseppecrj/pi-herdr-agents/commit/34800d79464575063a61ad6f240cd49cc8acd730)
15
+
16
+ ## [v2.0.2](https://github.com/giuseppecrj/pi-herdr-agents/compare/v2.0.1...v2.0.2) - 2026-09-19
11
17
 
12
18
  ### Merged
13
19
 
14
20
  - fix(subagents): allow isolated same-family review fallback [`#54`](https://github.com/giuseppecrj/pi-herdr-agents/pull/54)
15
21
  - fix(subagents): remove conflicting Ctrl+J shortcut [`#53`](https://github.com/giuseppecrj/pi-herdr-agents/pull/53)
16
22
 
23
+ ### Commits
24
+
25
+ - chore: release v2.0.2 [`49efa52`](https://github.com/giuseppecrj/pi-herdr-agents/commit/49efa52bf671fbef00ad1be2d8b679188c5d1de3)
26
+
17
27
  ## [v2.0.1](https://github.com/giuseppecrj/pi-herdr-agents/compare/v2.0.0...v2.0.1) - 2026-09-18
18
28
 
19
29
  ### Merged
package/README.md CHANGED
@@ -23,7 +23,7 @@ Delegate investigation, implementation, and review without blocking the parent s
23
23
  - [Herdr](https://herdr.dev) and its CLI
24
24
  - `HERDR_ENV=1` — start Pi from inside Herdr
25
25
 
26
- Other terminal multiplexers are not supported. Worktrees isolate Git checkouts, not processes or permissions; child agents and installed Pi packages run with your user account's access.
26
+ Other terminal multiplexers are not supported. Outside Herdr, the extension skips automatic startup worktree inventory. Explicit inventory tools still report unavailable inspection as unknown. Worktrees isolate Git checkouts, not processes or permissions; child agents and installed Pi packages run with your user account's access.
27
27
 
28
28
  ## Install
29
29
 
@@ -231,7 +231,7 @@ Ignored files do not block cleanup. Inventory shows their exact file count, and
231
231
 
232
232
  Open workspaces are removed through Herdr. Git-only orphans use `git worktree remove`, verify checkout absence, and then prune stale Git registrations. Failed removal is reported, never forced. A reachable owned manifest is merge-updated to `removed` with `workspaceRemovedAt` only after success; absent cross-session manifests are reported and are not rewritten. A manifest update failure after removal is a removed-with-warning result, not a failed removal. Removed manifests provide already-removed no-op evidence only; a new checkout at the same path is classified independently. Missing and dangling manifest paths are non-matches. Permission errors, symlink loops, and other undecidable manifest identities remain blockers, as do genuine identity disagreements. Cleanup Git and Herdr calls have 30-second timeouts; a timed-out operation fails closed rather than proceeding with removal.
233
233
 
234
- Branches and their commits are always retained: cleanup never deletes, force-updates, or rewrites a branch. It never runs on completion, shutdown, or a timer. Parent session start emits only one compact inventory count when contained worktrees remain. Unsupported platforms or failed global process enumeration block removal; individual visibility gaps are disclosed warnings, never proof that an orphan is idle.
234
+ Branches and their commits are always retained: cleanup never deletes, force-updates, or rewrites a branch. It never runs on completion, shutdown, or a timer. Inside Herdr with its CLI available, parent session start emits only one compact inventory count when contained worktrees remain. Outside Herdr, startup skips the automatic inventory; explicit inventory tools remain available and report unavailable inspection as unknown. Unsupported platforms or failed global process enumeration block removal; individual visibility gaps are disclosed warnings, never proof that an orphan is idle.
235
235
 
236
236
  ## Current limits
237
237
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-herdr-agents",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Asynchronous Pi subagents in Herdr, with optional isolated Git worktrees",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -108,6 +108,7 @@ function extractHerdrWorktree(output: string): HerdrWorktreeSurface {
108
108
 
109
109
  function herdrExec(args: string[], timeout?: number): string {
110
110
  return execFileSync("herdr", args, {
111
+ stdio: "pipe",
111
112
  encoding: "utf8",
112
113
  timeout,
113
114
  killSignal: "SIGKILL",
@@ -3131,7 +3131,7 @@ export default function subagentsExtension(
3131
3131
  startStatusRefresh(pi);
3132
3132
  updateWidget();
3133
3133
  }
3134
- if (parentSession && ctx.cwd && ctx.hasUI) {
3134
+ if (parentSession && ctx.cwd && ctx.hasUI && isTerminalAvailable()) {
3135
3135
  try {
3136
3136
  const notice = worktreeInventoryNotice(
3137
3137
  await listContainedWorktrees(cleanupInput(ctx)),