pi-cohort 7.3.0 → 7.3.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.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/runs/shared/worktree.ts +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [7.3.1] - 2026-10-18
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Worktree patches include binary payloads, so `git apply` preserves binary modifications, additions, and deletions instead of rejecting patches that only report that binary files differ. Git writes patch bytes directly to the artifact file, avoiding subprocess stdout-buffer overflow on large assets. Paired with pi-gauntlet's review-snapshot fix.
|
|
8
|
+
|
|
3
9
|
## [7.3.0] - 2026-10-18
|
|
4
10
|
|
|
5
11
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-cohort",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.1",
|
|
4
4
|
"description": "Delegate Pi work to focused child agents: code review, scouting, implementation, parallel audits, saved chains, and background jobs.",
|
|
5
5
|
"author": "Jacek Juraszek",
|
|
6
6
|
"license": "MIT",
|
|
@@ -448,11 +448,10 @@ function captureWorktreeDiff(
|
|
|
448
448
|
removeSyntheticPathsBeforeDiff(worktree);
|
|
449
449
|
runGitChecked(worktree.path, ["add", "-A"]);
|
|
450
450
|
const diffStat = runGitChecked(worktree.path, ["diff", "--cached", "--stat", setup.baseCommit]).trim();
|
|
451
|
-
|
|
451
|
+
runGitChecked(worktree.path, ["diff", "--cached", "--binary", `--output=${path.resolve(patchPath)}`, setup.baseCommit]);
|
|
452
452
|
const numstat = runGitChecked(worktree.path, ["diff", "--cached", "--numstat", setup.baseCommit]);
|
|
453
|
-
fs.writeFileSync(patchPath, patch, "utf-8");
|
|
454
453
|
|
|
455
|
-
if (
|
|
454
|
+
if (fs.statSync(patchPath).size === 0) {
|
|
456
455
|
return emptyDiff(worktree.index, agent, worktree.branch, patchPath);
|
|
457
456
|
}
|
|
458
457
|
|