@deathbeam/pi-delegate 0.0.26 → 0.0.27

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/isolation.ts +2 -2
  2. package/package.json +1 -1
package/isolation.ts CHANGED
@@ -117,7 +117,7 @@ export function isolationSummary(iso: IsolationState): string {
117
117
  try {
118
118
  // Staging first pulls uncommitted and untracked changes into the stat.
119
119
  git(["add", "-A"], { cwd: iso.clone });
120
- const stat = git(["diff", "--stat", iso.base], { cwd: iso.clone }).trim();
120
+ const stat = git(["diff", "--stat", iso.base], { cwd: iso.clone }).trimEnd();
121
121
  if (stat) lines.push(`Changes vs the main tree at launch:\n${stat}`);
122
122
  } catch {
123
123
  // The clone may already be applied or gone; the path alone still says where the work lives.
@@ -177,7 +177,7 @@ export function applyClone(iso: IsolationState): ApplyResult {
177
177
  // Without --binary, binary files render as a name-only "Binary files differ" line.
178
178
  return {
179
179
  kind: "applied",
180
- stat: run(["diff", "--stat", SNAPSHOT_BRANCH, "HEAD"]).trim(),
180
+ stat: run(["diff", "--stat", SNAPSHOT_BRANCH, "HEAD"]).trimEnd(),
181
181
  diff: run(["diff", SNAPSHOT_BRANCH, "HEAD"]),
182
182
  };
183
183
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deathbeam/pi-delegate",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "Minimal extension for delegating tasks to subagents.",
5
5
  "type": "module",
6
6
  "license": "MIT",