pi-better-harness 0.68.4 → 0.69.0
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 +18 -0
- package/node_modules/pi-better-background-tasks/package.json +2 -2
- package/node_modules/pi-better-background-tasks/runtime-client/artifacts/darwin-arm64.json +1 -1
- package/node_modules/pi-better-background-tasks/runtime-client/artifacts/darwin-x64.json +1 -1
- package/node_modules/pi-better-background-tasks/runtime-client/artifacts/linux-arm64.json +1 -1
- package/node_modules/pi-better-background-tasks/runtime-client/artifacts/linux-x64.json +1 -1
- package/node_modules/pi-better-background-tasks/runtime-client/artifacts/win32-x64.json +1 -1
- package/node_modules/pi-better-background-tasks/src/shared-sandbox-core.ts +2 -3
- package/node_modules/pi-better-goal/package.json +1 -1
- package/node_modules/pi-better-sandbox/package.json +1 -1
- package/node_modules/pi-better-sandbox/shared-sandbox-core.ts +2 -3
- package/node_modules/pi-better-subagents/package.json +2 -2
- package/node_modules/pi-better-subagents/runtime-client/artifacts/darwin-arm64.json +1 -1
- package/node_modules/pi-better-subagents/runtime-client/artifacts/darwin-x64.json +1 -1
- package/node_modules/pi-better-subagents/runtime-client/artifacts/linux-arm64.json +1 -1
- package/node_modules/pi-better-subagents/runtime-client/artifacts/linux-x64.json +1 -1
- package/node_modules/pi-better-subagents/runtime-client/artifacts/win32-x64.json +1 -1
- package/node_modules/pi-better-subagents/shared-sandbox-core.ts +2 -3
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.69.0] - 2026-12-06
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Run `pi-better-doctor` or `/harness-doctor` to inspect runtime archives, cache selection, launcher availability, and effective execution modes. The default report is read-only and redacts account details. Use `--probe` to opt into bounded launch checks.
|
|
8
|
+
- Set a default runtime mode for the Harness and override it separately for Subagents and Background Tasks. Existing work stays with the backend that started it.
|
|
9
|
+
- Choose Compact or Full tool output in the Navigator. Supervisor can review merge-queue workflows when their observed state diverges from delivery rules.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Background Tasks can run directly under the foreground Pi session. Auto mode can switch to Direct when Managed confirms that it did not admit the work.
|
|
14
|
+
- The Server package stores one compressed runtime source shared across supported platforms. Subagents and Background Tasks verify the assembled archive before starting it.
|
|
15
|
+
- On native Windows, required sandbox confinement refuses the operation before starting it. The updated diagnostics explain why and show the setting for explicitly unconfined work.
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- On Windows, refuse direct launches of command scripts whose required wrapper is unavailable.
|
|
20
|
+
|
|
3
21
|
## [0.68.4] - 2026-12-06
|
|
4
22
|
|
|
5
23
|
### Changed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-better-background-tasks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "Pi extension for durable background shell tasks, watchers, logs, and status inspection.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"vitest": "^3.0.0"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"pi-better-server": "0.
|
|
74
|
+
"pi-better-server": "0.12.0",
|
|
75
75
|
"proper-lockfile": "^4.1.2"
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"backgroundResultRecovery":1,"contentId":"
|
|
1
|
+
{"build":{"backgroundResultRecovery":1,"contentId":"29164bcf732a433ee6257fe5a2be8cfeaf3f6ba2be2c9de830ef912295f59091","dependencyLockDigest":"4643e416af0b366e78fbaf142d8f69b0591f8a4d3c9db6c07d2ae25157ec9180","format":1,"nodeVersion":"24.14.1","piSdkVersion":"1.7.0","platform":"darwin-arm64","protocolVersion":1,"serverVersion":"0.12.0","sourceDigest":"39f4a65e43fa3632c5d0a1c6a615e38586201f10b4db77c6af00de191b906a75"},"sha256":"cc9ff064fe416af6eef1b1c4fb7f4baad021feda2da4c76f7665d201b52d709b"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"backgroundResultRecovery":1,"contentId":"
|
|
1
|
+
{"build":{"backgroundResultRecovery":1,"contentId":"1cde623876dc7503aabe6f624d2289dd07d7c6e5ace66c468cede4e617b384dd","dependencyLockDigest":"4643e416af0b366e78fbaf142d8f69b0591f8a4d3c9db6c07d2ae25157ec9180","format":1,"nodeVersion":"24.14.1","piSdkVersion":"1.7.0","platform":"darwin-x64","protocolVersion":1,"serverVersion":"0.12.0","sourceDigest":"39f4a65e43fa3632c5d0a1c6a615e38586201f10b4db77c6af00de191b906a75"},"sha256":"3a19c092647aa74c723c84e5d400e8c9633976d862364e2c4569e2a7148dfd10"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"backgroundResultRecovery":1,"contentId":"
|
|
1
|
+
{"build":{"backgroundResultRecovery":1,"contentId":"98074532a6649a439f3b7513fb1d8b149be9f4d3f238052ee9cd89422d6edd1d","dependencyLockDigest":"4643e416af0b366e78fbaf142d8f69b0591f8a4d3c9db6c07d2ae25157ec9180","format":1,"nodeVersion":"24.14.1","piSdkVersion":"1.7.0","platform":"linux-arm64","protocolVersion":1,"serverVersion":"0.12.0","sourceDigest":"39f4a65e43fa3632c5d0a1c6a615e38586201f10b4db77c6af00de191b906a75"},"sha256":"1f901e85052bc7fdabc0b6f0e217136e3b0f59b20a781f4952cc09ad3e89d04f"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"backgroundResultRecovery":1,"contentId":"
|
|
1
|
+
{"build":{"backgroundResultRecovery":1,"contentId":"706fe98797c77e57e1249f9fb6ed47d448297e168b31b6aeb45406f89fe86ae2","dependencyLockDigest":"4643e416af0b366e78fbaf142d8f69b0591f8a4d3c9db6c07d2ae25157ec9180","format":1,"nodeVersion":"24.14.1","piSdkVersion":"1.7.0","platform":"linux-x64","protocolVersion":1,"serverVersion":"0.12.0","sourceDigest":"39f4a65e43fa3632c5d0a1c6a615e38586201f10b4db77c6af00de191b906a75"},"sha256":"e29cc64e403239192cc3e4d4be13dd8a9d17e59db081161e71d0df04c78bf100"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"backgroundResultRecovery":1,"contentId":"
|
|
1
|
+
{"build":{"backgroundResultRecovery":1,"contentId":"c39aff1740f8c544731051d2654927cce4b7cfebd34d7421f7b44f62e90a304a","dependencyLockDigest":"4643e416af0b366e78fbaf142d8f69b0591f8a4d3c9db6c07d2ae25157ec9180","format":1,"nodeVersion":"24.14.1","piSdkVersion":"1.7.0","platform":"win32-x64","protocolVersion":1,"serverVersion":"0.12.0","sourceDigest":"39f4a65e43fa3632c5d0a1c6a615e38586201f10b4db77c6af00de191b906a75"},"sha256":"b92f512358647a27ed37ef30310cd3c2861e49695fab380a614bb043b44afd30"}
|
|
@@ -1765,8 +1765,7 @@ export function maybeBuildSandboxCommand(
|
|
|
1765
1765
|
|
|
1766
1766
|
/**
|
|
1767
1767
|
* Return the selected backend's executable and ordered argv wrapper around the
|
|
1768
|
-
* target.
|
|
1769
|
-
* that bypass the request-policy helper above.
|
|
1768
|
+
* target. Windows requires a Windows backend, including for legacy policies.
|
|
1770
1769
|
*/
|
|
1771
1770
|
export function buildSandboxCommand(
|
|
1772
1771
|
args: SandboxCommandArgs,
|
|
@@ -1776,7 +1775,7 @@ export function buildSandboxCommand(
|
|
|
1776
1775
|
throw new Error("Sandbox commands permission is off; enable commands before launching a sandboxed process (including bootstrap).");
|
|
1777
1776
|
}
|
|
1778
1777
|
const backend = selectedSandboxBackend(seams);
|
|
1779
|
-
if (!backend && args.policy.permissions) {
|
|
1778
|
+
if (!backend && (args.policy.permissions || currentPlatform(seams) === "win32")) {
|
|
1780
1779
|
throw new Error(`Cannot enforce sandbox permissions: ${sandboxUnavailableMessage(seams)}`);
|
|
1781
1780
|
}
|
|
1782
1781
|
return (backend ?? macOSSandboxBackend).buildCommand(args, seams);
|
|
@@ -1765,8 +1765,7 @@ export function maybeBuildSandboxCommand(
|
|
|
1765
1765
|
|
|
1766
1766
|
/**
|
|
1767
1767
|
* Return the selected backend's executable and ordered argv wrapper around the
|
|
1768
|
-
* target.
|
|
1769
|
-
* that bypass the request-policy helper above.
|
|
1768
|
+
* target. Windows requires a Windows backend, including for legacy policies.
|
|
1770
1769
|
*/
|
|
1771
1770
|
export function buildSandboxCommand(
|
|
1772
1771
|
args: SandboxCommandArgs,
|
|
@@ -1776,7 +1775,7 @@ export function buildSandboxCommand(
|
|
|
1776
1775
|
throw new Error("Sandbox commands permission is off; enable commands before launching a sandboxed process (including bootstrap).");
|
|
1777
1776
|
}
|
|
1778
1777
|
const backend = selectedSandboxBackend(seams);
|
|
1779
|
-
if (!backend && args.policy.permissions) {
|
|
1778
|
+
if (!backend && (args.policy.permissions || currentPlatform(seams) === "win32")) {
|
|
1780
1779
|
throw new Error(`Cannot enforce sandbox permissions: ${sandboxUnavailableMessage(seams)}`);
|
|
1781
1780
|
}
|
|
1782
1781
|
return (backend ?? macOSSandboxBackend).buildCommand(args, seams);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-better-subagents",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.43.0",
|
|
4
4
|
"description": "Pi extension for detached, sandboxed subagent runs that keep the foreground session free.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@earendil-works/pi-tui": "*"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"pi-better-server": "0.
|
|
84
|
+
"pi-better-server": "0.12.0",
|
|
85
85
|
"proper-lockfile": "^4.1.2",
|
|
86
86
|
"shell-quote": "1.12.0",
|
|
87
87
|
"smol-toml": "1.9.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"backgroundResultRecovery":1,"contentId":"
|
|
1
|
+
{"build":{"backgroundResultRecovery":1,"contentId":"29164bcf732a433ee6257fe5a2be8cfeaf3f6ba2be2c9de830ef912295f59091","dependencyLockDigest":"4643e416af0b366e78fbaf142d8f69b0591f8a4d3c9db6c07d2ae25157ec9180","format":1,"nodeVersion":"24.14.1","piSdkVersion":"1.7.0","platform":"darwin-arm64","protocolVersion":1,"serverVersion":"0.12.0","sourceDigest":"39f4a65e43fa3632c5d0a1c6a615e38586201f10b4db77c6af00de191b906a75"},"sha256":"cc9ff064fe416af6eef1b1c4fb7f4baad021feda2da4c76f7665d201b52d709b"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"backgroundResultRecovery":1,"contentId":"
|
|
1
|
+
{"build":{"backgroundResultRecovery":1,"contentId":"1cde623876dc7503aabe6f624d2289dd07d7c6e5ace66c468cede4e617b384dd","dependencyLockDigest":"4643e416af0b366e78fbaf142d8f69b0591f8a4d3c9db6c07d2ae25157ec9180","format":1,"nodeVersion":"24.14.1","piSdkVersion":"1.7.0","platform":"darwin-x64","protocolVersion":1,"serverVersion":"0.12.0","sourceDigest":"39f4a65e43fa3632c5d0a1c6a615e38586201f10b4db77c6af00de191b906a75"},"sha256":"3a19c092647aa74c723c84e5d400e8c9633976d862364e2c4569e2a7148dfd10"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"backgroundResultRecovery":1,"contentId":"
|
|
1
|
+
{"build":{"backgroundResultRecovery":1,"contentId":"98074532a6649a439f3b7513fb1d8b149be9f4d3f238052ee9cd89422d6edd1d","dependencyLockDigest":"4643e416af0b366e78fbaf142d8f69b0591f8a4d3c9db6c07d2ae25157ec9180","format":1,"nodeVersion":"24.14.1","piSdkVersion":"1.7.0","platform":"linux-arm64","protocolVersion":1,"serverVersion":"0.12.0","sourceDigest":"39f4a65e43fa3632c5d0a1c6a615e38586201f10b4db77c6af00de191b906a75"},"sha256":"1f901e85052bc7fdabc0b6f0e217136e3b0f59b20a781f4952cc09ad3e89d04f"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"backgroundResultRecovery":1,"contentId":"
|
|
1
|
+
{"build":{"backgroundResultRecovery":1,"contentId":"706fe98797c77e57e1249f9fb6ed47d448297e168b31b6aeb45406f89fe86ae2","dependencyLockDigest":"4643e416af0b366e78fbaf142d8f69b0591f8a4d3c9db6c07d2ae25157ec9180","format":1,"nodeVersion":"24.14.1","piSdkVersion":"1.7.0","platform":"linux-x64","protocolVersion":1,"serverVersion":"0.12.0","sourceDigest":"39f4a65e43fa3632c5d0a1c6a615e38586201f10b4db77c6af00de191b906a75"},"sha256":"e29cc64e403239192cc3e4d4be13dd8a9d17e59db081161e71d0df04c78bf100"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"backgroundResultRecovery":1,"contentId":"
|
|
1
|
+
{"build":{"backgroundResultRecovery":1,"contentId":"c39aff1740f8c544731051d2654927cce4b7cfebd34d7421f7b44f62e90a304a","dependencyLockDigest":"4643e416af0b366e78fbaf142d8f69b0591f8a4d3c9db6c07d2ae25157ec9180","format":1,"nodeVersion":"24.14.1","piSdkVersion":"1.7.0","platform":"win32-x64","protocolVersion":1,"serverVersion":"0.12.0","sourceDigest":"39f4a65e43fa3632c5d0a1c6a615e38586201f10b4db77c6af00de191b906a75"},"sha256":"b92f512358647a27ed37ef30310cd3c2861e49695fab380a614bb043b44afd30"}
|
|
@@ -1765,8 +1765,7 @@ export function maybeBuildSandboxCommand(
|
|
|
1765
1765
|
|
|
1766
1766
|
/**
|
|
1767
1767
|
* Return the selected backend's executable and ordered argv wrapper around the
|
|
1768
|
-
* target.
|
|
1769
|
-
* that bypass the request-policy helper above.
|
|
1768
|
+
* target. Windows requires a Windows backend, including for legacy policies.
|
|
1770
1769
|
*/
|
|
1771
1770
|
export function buildSandboxCommand(
|
|
1772
1771
|
args: SandboxCommandArgs,
|
|
@@ -1776,7 +1775,7 @@ export function buildSandboxCommand(
|
|
|
1776
1775
|
throw new Error("Sandbox commands permission is off; enable commands before launching a sandboxed process (including bootstrap).");
|
|
1777
1776
|
}
|
|
1778
1777
|
const backend = selectedSandboxBackend(seams);
|
|
1779
|
-
if (!backend && args.policy.permissions) {
|
|
1778
|
+
if (!backend && (args.policy.permissions || currentPlatform(seams) === "win32")) {
|
|
1780
1779
|
throw new Error(`Cannot enforce sandbox permissions: ${sandboxUnavailableMessage(seams)}`);
|
|
1781
1780
|
}
|
|
1782
1781
|
return (backend ?? macOSSandboxBackend).buildCommand(args, seams);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-better-harness",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.69.0",
|
|
4
4
|
"description": "Make Pi a reliable coding agent. Run background tasks, delegate code reviews to subagents, and track work with Goals and Todo. Includes an opt-in write sandbox and SSH tools.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
"@xterm/xterm": "6.0.0",
|
|
83
83
|
"marked": "18.0.5",
|
|
84
84
|
"openai": "6.26.0",
|
|
85
|
-
"pi-better-background-tasks": "0.
|
|
86
|
-
"pi-better-goal": "0.18.
|
|
87
|
-
"pi-better-sandbox": "0.15.
|
|
88
|
-
"pi-better-server": "0.
|
|
85
|
+
"pi-better-background-tasks": "0.22.0",
|
|
86
|
+
"pi-better-goal": "0.18.8",
|
|
87
|
+
"pi-better-sandbox": "0.15.7",
|
|
88
|
+
"pi-better-server": "0.12.0",
|
|
89
89
|
"pi-better-ssh": "0.1.7",
|
|
90
|
-
"pi-better-subagents": "0.
|
|
90
|
+
"pi-better-subagents": "0.43.0",
|
|
91
91
|
"proper-lockfile": "^4.1.2",
|
|
92
92
|
"shell-quote": "1.12.0",
|
|
93
93
|
"smol-toml": "1.9.0",
|