pi-better-harness 0.63.3 → 0.63.4
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/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/src/shared-navigator.ts +3 -3
- package/node_modules/pi-better-subagents/index.ts +2 -2
- 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/shared-navigator.ts +3 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-better-background-tasks",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.13",
|
|
4
4
|
"description": "Pi extension for durable background shell tasks, watchers, logs, and status inspection.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"vitest": "^3.0.0"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"pi-better-server": "0.11.
|
|
71
|
+
"pi-better-server": "0.11.4",
|
|
72
72
|
"proper-lockfile": "^4.1.2"
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"format":1,"sourceDigest":"
|
|
1
|
+
{"build":{"format":1,"sourceDigest":"794c8a72e4397b041470ca9bd145090cda4cf8898b1c53aa5a02e0fb0eec78f0","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"darwin-arm64","dependencyLockDigest":"97fbfa01a6e5a49f4f29f5c2048549391417c545cbdd52ec799629aa867d8653","protocolVersion":1,"serverVersion":"0.11.4","contentId":"5b2ee10ce118f403061145c783b1619cd92c93000d60139fdf6a581b0de3e2d7"},"sha256":"f84ae252249310706729b06cf469d63a94976f7581401e4738a3e3805061ffc4"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"format":1,"sourceDigest":"
|
|
1
|
+
{"build":{"format":1,"sourceDigest":"794c8a72e4397b041470ca9bd145090cda4cf8898b1c53aa5a02e0fb0eec78f0","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"darwin-x64","dependencyLockDigest":"97fbfa01a6e5a49f4f29f5c2048549391417c545cbdd52ec799629aa867d8653","protocolVersion":1,"serverVersion":"0.11.4","contentId":"98b0fa0a42a6628c17a02102613f5dcdbdfdc0953875e8a46021c354f7e37a56"},"sha256":"eb9002919e13ce85f6ef838d80e2592a8debe41cd69b9a888387c2f3a9a5bd71"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"format":1,"sourceDigest":"
|
|
1
|
+
{"build":{"format":1,"sourceDigest":"794c8a72e4397b041470ca9bd145090cda4cf8898b1c53aa5a02e0fb0eec78f0","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"linux-arm64","dependencyLockDigest":"97fbfa01a6e5a49f4f29f5c2048549391417c545cbdd52ec799629aa867d8653","protocolVersion":1,"serverVersion":"0.11.4","contentId":"c2039989db9695913739b6cacab0409818a9d9825d12a59cc3c2b8c4e37d5292"},"sha256":"9b79eb6ac53c74107f3f2593f44392c51735ee87de7f522f177a4edfc3d6762f"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"format":1,"sourceDigest":"
|
|
1
|
+
{"build":{"format":1,"sourceDigest":"794c8a72e4397b041470ca9bd145090cda4cf8898b1c53aa5a02e0fb0eec78f0","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"linux-x64","dependencyLockDigest":"97fbfa01a6e5a49f4f29f5c2048549391417c545cbdd52ec799629aa867d8653","protocolVersion":1,"serverVersion":"0.11.4","contentId":"25862c01939a8c789aecafd570333b7d643d143a4be6cc74d29266ddf3120a9a"},"sha256":"c9f5e9fc4a3fc80ef093fe2d1d26d84aedc6a9869eae801458115cfcde98ead6"}
|
|
@@ -62,7 +62,7 @@ export type BackgroundWorkDetail = {
|
|
|
62
62
|
subtitle?: string;
|
|
63
63
|
metadata: Array<{ label: string; value: string }>;
|
|
64
64
|
foldedSections?: Array<{ id: string; label: string; text: string; collapsedText?: string; expandedByDefault?: boolean }>;
|
|
65
|
-
evidence: { label: string; text: string };
|
|
65
|
+
evidence: { label: string; text: string; format?: "diagnostic" };
|
|
66
66
|
transcript?: Array<
|
|
67
67
|
| { type: "assistant"; content: Array<{ type: string; text?: string; thinking?: string }>; streaming: boolean }
|
|
68
68
|
| { type: "tool"; id?: string; name: string; args?: unknown; result?: unknown; isError: boolean; state: "running" | "completed" }
|
|
@@ -1693,7 +1693,7 @@ function buildDetailLines(
|
|
|
1693
1693
|
const tailEvidence = isTailEvidence(detail);
|
|
1694
1694
|
const evidenceLabel = tailEvidence ? `${detail.evidence.label} · latest ${tailRows} rows` : detail.evidence.label;
|
|
1695
1695
|
lines.push(dim(section(evidenceLabel, width), fg));
|
|
1696
|
-
const wrapped = /log/i.test(detail.evidence.label)
|
|
1696
|
+
const wrapped = detail.evidence.format === "diagnostic" || /log/i.test(detail.evidence.label)
|
|
1697
1697
|
? wrapLogText(body, width - 6)
|
|
1698
1698
|
: wrapEvidenceText(body, width - 6);
|
|
1699
1699
|
let shown = tailEvidence ? wrapped.slice(-tailRows) : wrapped;
|
|
@@ -1732,7 +1732,7 @@ function applyDefaultExpandedSections(detail: BackgroundWorkDetail | null, expan
|
|
|
1732
1732
|
}
|
|
1733
1733
|
|
|
1734
1734
|
function isFoldableEvidence(detail: BackgroundWorkDetail): boolean {
|
|
1735
|
-
return !isTailEvidence(detail);
|
|
1735
|
+
return detail.evidence.format !== "diagnostic" && !isTailEvidence(detail);
|
|
1736
1736
|
}
|
|
1737
1737
|
|
|
1738
1738
|
function isTailEvidence(detail: BackgroundWorkDetail): boolean {
|
|
@@ -1845,11 +1845,11 @@ function subagentWorkDetail(id: string, now: number, options?: { logTailLines?:
|
|
|
1845
1845
|
providerId: "subagents", id, title: "Subagent status sync", status: workObservation()?.status ?? "rebuilding", statusTone: "warning",
|
|
1846
1846
|
subtitle: "Shared status service · task status unconfirmed",
|
|
1847
1847
|
metadata: [{ label: "scope", value: "Subagent status reads; not an individual task" }],
|
|
1848
|
-
evidence: { label: "Full diagnostic", text: workObservationFailure() },
|
|
1848
|
+
evidence: { label: "Full diagnostic", text: workObservationFailure(), format: "diagnostic" },
|
|
1849
1849
|
footerActions: [],
|
|
1850
1850
|
};
|
|
1851
1851
|
const row = requestWorkDetail(id);
|
|
1852
|
-
if (!row?.detail) return { providerId: "subagents", id, title: id, status: row?.observationError ? "degraded" : "rebuilding", statusTone: "warning", metadata: [], evidence: { label: "observation", text: row?.observationError ?? workObservationFailure() } };
|
|
1852
|
+
if (!row?.detail) return { providerId: "subagents", id, title: id, status: row?.observationError ? "degraded" : "rebuilding", statusTone: "warning", metadata: [], evidence: { label: "observation", text: row?.observationError ?? workObservationFailure(), format: "diagnostic" } };
|
|
1853
1853
|
const health = row.health ? observeRunHealth({ ...row.health, status: row.assignment.processStatus === "exited" ? row.meta.status : row.assignment.processStatus, now, startedAt: row.meta.startedAt }) : undefined;
|
|
1854
1854
|
const detail = withAssignmentObservations([row], () => buildNavigatorDetail(id, {
|
|
1855
1855
|
readMeta: () => row.meta, effectiveStatus: () => row.assignment.processStatus, parseRun: () => row.detail.parsed,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-better-subagents",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.6",
|
|
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.11.
|
|
84
|
+
"pi-better-server": "0.11.4",
|
|
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":{"format":1,"sourceDigest":"
|
|
1
|
+
{"build":{"format":1,"sourceDigest":"794c8a72e4397b041470ca9bd145090cda4cf8898b1c53aa5a02e0fb0eec78f0","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"darwin-arm64","dependencyLockDigest":"97fbfa01a6e5a49f4f29f5c2048549391417c545cbdd52ec799629aa867d8653","protocolVersion":1,"serverVersion":"0.11.4","contentId":"5b2ee10ce118f403061145c783b1619cd92c93000d60139fdf6a581b0de3e2d7"},"sha256":"f84ae252249310706729b06cf469d63a94976f7581401e4738a3e3805061ffc4"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"format":1,"sourceDigest":"
|
|
1
|
+
{"build":{"format":1,"sourceDigest":"794c8a72e4397b041470ca9bd145090cda4cf8898b1c53aa5a02e0fb0eec78f0","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"darwin-x64","dependencyLockDigest":"97fbfa01a6e5a49f4f29f5c2048549391417c545cbdd52ec799629aa867d8653","protocolVersion":1,"serverVersion":"0.11.4","contentId":"98b0fa0a42a6628c17a02102613f5dcdbdfdc0953875e8a46021c354f7e37a56"},"sha256":"eb9002919e13ce85f6ef838d80e2592a8debe41cd69b9a888387c2f3a9a5bd71"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"format":1,"sourceDigest":"
|
|
1
|
+
{"build":{"format":1,"sourceDigest":"794c8a72e4397b041470ca9bd145090cda4cf8898b1c53aa5a02e0fb0eec78f0","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"linux-arm64","dependencyLockDigest":"97fbfa01a6e5a49f4f29f5c2048549391417c545cbdd52ec799629aa867d8653","protocolVersion":1,"serverVersion":"0.11.4","contentId":"c2039989db9695913739b6cacab0409818a9d9825d12a59cc3c2b8c4e37d5292"},"sha256":"9b79eb6ac53c74107f3f2593f44392c51735ee87de7f522f177a4edfc3d6762f"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"build":{"format":1,"sourceDigest":"
|
|
1
|
+
{"build":{"format":1,"sourceDigest":"794c8a72e4397b041470ca9bd145090cda4cf8898b1c53aa5a02e0fb0eec78f0","piSdkVersion":"1.7.0","nodeVersion":"24.14.1","platform":"linux-x64","dependencyLockDigest":"97fbfa01a6e5a49f4f29f5c2048549391417c545cbdd52ec799629aa867d8653","protocolVersion":1,"serverVersion":"0.11.4","contentId":"25862c01939a8c789aecafd570333b7d643d143a4be6cc74d29266ddf3120a9a"},"sha256":"c9f5e9fc4a3fc80ef093fe2d1d26d84aedc6a9869eae801458115cfcde98ead6"}
|
|
@@ -62,7 +62,7 @@ export type BackgroundWorkDetail = {
|
|
|
62
62
|
subtitle?: string;
|
|
63
63
|
metadata: Array<{ label: string; value: string }>;
|
|
64
64
|
foldedSections?: Array<{ id: string; label: string; text: string; collapsedText?: string; expandedByDefault?: boolean }>;
|
|
65
|
-
evidence: { label: string; text: string };
|
|
65
|
+
evidence: { label: string; text: string; format?: "diagnostic" };
|
|
66
66
|
transcript?: Array<
|
|
67
67
|
| { type: "assistant"; content: Array<{ type: string; text?: string; thinking?: string }>; streaming: boolean }
|
|
68
68
|
| { type: "tool"; id?: string; name: string; args?: unknown; result?: unknown; isError: boolean; state: "running" | "completed" }
|
|
@@ -1693,7 +1693,7 @@ function buildDetailLines(
|
|
|
1693
1693
|
const tailEvidence = isTailEvidence(detail);
|
|
1694
1694
|
const evidenceLabel = tailEvidence ? `${detail.evidence.label} · latest ${tailRows} rows` : detail.evidence.label;
|
|
1695
1695
|
lines.push(dim(section(evidenceLabel, width), fg));
|
|
1696
|
-
const wrapped = /log/i.test(detail.evidence.label)
|
|
1696
|
+
const wrapped = detail.evidence.format === "diagnostic" || /log/i.test(detail.evidence.label)
|
|
1697
1697
|
? wrapLogText(body, width - 6)
|
|
1698
1698
|
: wrapEvidenceText(body, width - 6);
|
|
1699
1699
|
let shown = tailEvidence ? wrapped.slice(-tailRows) : wrapped;
|
|
@@ -1732,7 +1732,7 @@ function applyDefaultExpandedSections(detail: BackgroundWorkDetail | null, expan
|
|
|
1732
1732
|
}
|
|
1733
1733
|
|
|
1734
1734
|
function isFoldableEvidence(detail: BackgroundWorkDetail): boolean {
|
|
1735
|
-
return !isTailEvidence(detail);
|
|
1735
|
+
return detail.evidence.format !== "diagnostic" && !isTailEvidence(detail);
|
|
1736
1736
|
}
|
|
1737
1737
|
|
|
1738
1738
|
function isTailEvidence(detail: BackgroundWorkDetail): boolean {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-better-harness",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.4",
|
|
4
4
|
"description": "Pi extension bundle for a write sandbox, subagents, background tasks, SSH, Goals, and Todo lists.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -74,12 +74,12 @@
|
|
|
74
74
|
"@xterm/xterm": "6.0.0",
|
|
75
75
|
"marked": "18.0.5",
|
|
76
76
|
"openai": "6.26.0",
|
|
77
|
-
"pi-better-background-tasks": "0.21.
|
|
77
|
+
"pi-better-background-tasks": "0.21.13",
|
|
78
78
|
"pi-better-goal": "0.18.4",
|
|
79
79
|
"pi-better-sandbox": "0.15.2",
|
|
80
|
-
"pi-better-server": "0.11.
|
|
80
|
+
"pi-better-server": "0.11.4",
|
|
81
81
|
"pi-better-ssh": "0.1.7",
|
|
82
|
-
"pi-better-subagents": "0.41.
|
|
82
|
+
"pi-better-subagents": "0.41.6",
|
|
83
83
|
"proper-lockfile": "^4.1.2",
|
|
84
84
|
"shell-quote": "1.12.0",
|
|
85
85
|
"smol-toml": "1.9.0",
|