pi-better-harness 0.68.0 → 0.68.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 +7 -0
- package/README.md +44 -35
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.68.1] - 2026-12-05
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Open the terminal demo from the top of the package README. Platform badges sit below the recording, followed by installation instructions and three feature demos.
|
|
8
|
+
- Compare eight Harness features in an illustrated reference with links to each feature's behavior and configuration.
|
|
9
|
+
|
|
3
10
|
## [0.68.0] - 2026-12-04
|
|
4
11
|
|
|
5
12
|
### Changed
|
package/README.md
CHANGED
|
@@ -2,21 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
<p align="center">Track each step in <a href="https://pi.dev">Pi</a> and keep using the prompt while tests run or a second Pi reviews your code.</p>
|
|
4
4
|
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
5
|
+
[<picture><source media="(prefers-reduced-motion: no-preference)" srcset="https://raw.githubusercontent.com/1aboveio/pi-better-harness/main/docs/images/package-gallery/csv-release-check.webp"></picture>](https://cdn.jsdelivr.net/gh/1aboveio/pi-better-harness@readme-media-v1/csv-release-check.mp4)
|
|
6
|
+
|
|
7
|
+
<div align="right">
|
|
8
|
+
|
|
9
|
+
[](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/README.md#compatibility)
|
|
10
|
+
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
<a name="try-it"></a><a name="install-the-whole-harness"></a>
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
With Pi installed, run these commands in your project.
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
npx pi-better-harness install
|
|
21
|
+
pi
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Windows x64 supports managed tasks that can run without kernel sandboxing.
|
|
25
|
+
|
|
26
|
+
In a project with tests, try this prompt.
|
|
27
|
+
|
|
28
|
+
> Run npm test in the background. Tell me when it starts so I can ask a question.
|
|
29
|
+
|
|
30
|
+
[More installation options](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/docs/usage.md#install) · [Settings](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/README.md#harness-settings) · [Platform support](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/README.md#compatibility)
|
|
20
31
|
|
|
21
32
|
<a name="watch-native-pi-and-harness-side-by-side"></a><a name="core-features"></a>
|
|
22
33
|
|
|
@@ -28,42 +39,40 @@ Each recording uses the same CSV exporter project. **Native Pi** is on the left
|
|
|
28
39
|
|
|
29
40
|
Watch the checklist go from **0/2 to 2/2** as Pi inspects the exporter and runs its tests. When Pi finishes, Harness folds the eight tool calls into one line by default.
|
|
30
41
|
|
|
31
|
-
[](https://cdn.jsdelivr.net/gh/1aboveio/pi-better-harness@
|
|
42
|
+
[](https://cdn.jsdelivr.net/gh/1aboveio/pi-better-harness@readme-media-v1/compare/todo.mp4)
|
|
32
43
|
|
|
33
|
-
[Todo setup](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/docs/usage.md#goal--todo) · [Tool output settings](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/README.md#minimal-tool-output) · [MP4 · 18s](https://cdn.jsdelivr.net/gh/1aboveio/pi-better-harness@
|
|
44
|
+
[Todo setup](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/docs/usage.md#goal--todo) · [Tool output settings](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/README.md#minimal-tool-output) · [MP4 · 18s](https://cdn.jsdelivr.net/gh/1aboveio/pi-better-harness@readme-media-v1/compare/todo.mp4)
|
|
34
45
|
|
|
35
46
|
### Subagents
|
|
36
47
|
|
|
37
48
|
Ask a second Pi to review how the exporter handles commas. **The main prompt is ready** while the reviewer works. Its findings come back to the same conversation.
|
|
38
49
|
|
|
39
|
-
[](https://cdn.jsdelivr.net/gh/1aboveio/pi-better-harness@
|
|
50
|
+
[](https://cdn.jsdelivr.net/gh/1aboveio/pi-better-harness@readme-media-v1/compare/subagent.mp4)
|
|
40
51
|
|
|
41
|
-
[Subagent tools](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-subagents/docs/usage.md#tools) · [MP4 · 21s](https://cdn.jsdelivr.net/gh/1aboveio/pi-better-harness@
|
|
52
|
+
[Subagent tools](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-subagents/docs/usage.md#tools) · [MP4 · 21s](https://cdn.jsdelivr.net/gh/1aboveio/pi-better-harness@readme-media-v1/compare/subagent.mp4)
|
|
42
53
|
|
|
43
54
|
### Background tasks
|
|
44
55
|
|
|
45
56
|
Ask Pi a question while `npm test` runs. The task row shows elapsed time, and **Pi reports the result** when all three tests pass. An active Goal can check that result against its acceptance criteria.
|
|
46
57
|
|
|
47
|
-
[](https://cdn.jsdelivr.net/gh/1aboveio/pi-better-harness@
|
|
58
|
+
[](https://cdn.jsdelivr.net/gh/1aboveio/pi-better-harness@readme-media-v1/compare/background-task.mp4)
|
|
48
59
|
|
|
49
|
-
[Background task tools](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-background-tasks/docs/usage.md#tools) · [Completion callbacks](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-background-tasks/docs/usage.md#completion-callbacks) · [MP4 · 37s](https://cdn.jsdelivr.net/gh/1aboveio/pi-better-harness@
|
|
60
|
+
[Background task tools](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-background-tasks/docs/usage.md#tools) · [Completion callbacks](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-background-tasks/docs/usage.md#completion-callbacks) · [MP4 · 37s](https://cdn.jsdelivr.net/gh/1aboveio/pi-better-harness@readme-media-v1/compare/background-task.mp4)
|
|
50
61
|
|
|
51
|
-
|
|
62
|
+
## Feature Reference
|
|
52
63
|
|
|
53
|
-
|
|
64
|
+
| Icon | Feature and behavior |
|
|
65
|
+
| :---: | --- |
|
|
66
|
+
|  | **[Background tasks](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-background-tasks/docs/usage.md#tools)**<br> Run a build or test with `bg_task_spawn` and keep using the prompt. Pi receives a completion notice and can inspect the task's status and logs after `/reload`. |
|
|
67
|
+
|  | **[Subagents](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-subagents/docs/usage.md#tools)**<br> Delegate a review or run several workers in parallel. The parent can read each worker's findings with `subagent_result` and continue the same worker conversation for a follow-up. |
|
|
68
|
+
|  | **[Goal & Todo](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-goal/README.md#goal--todo-in-harness)**<br> The checklist survives reload and context compaction. An active Goal can resume when background work finishes. To mark it complete, the agent must close open Todo items and provide evidence for each recorded acceptance criterion. |
|
|
69
|
+
|  | **[Sandbox](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-sandbox/README.md)**<br> Set file and network permissions separately for the main session, subagents, and local background tasks. For example, give a reviewer read-only project access while the main session edits. Each profile starts off in fresh settings. |
|
|
70
|
+
|  | **[Prompt Manager](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/README.md#try-a-prompt-edit)**<br> Edit and version Harness instructions in the Web console. Replay a captured request against two revisions and review the results before promoting a change. |
|
|
71
|
+
|  | **[Visual task tracking](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/README.md#harness-settings)**<br> Tree view groups background jobs under the agent that launched them, with status and logs for each job. In the transcript, consecutive tool calls fold into one row. Press Ctrl+O to inspect the original output. |
|
|
72
|
+
|  | **[OpenAI Optimization](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/README.md#openai-native-compaction)**<br> On supported OpenAI and Codex Responses routes, native compaction saves a context window Pi can reuse after restart. Separately, you can enable [official Codex instruction templates](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/README.md#official-codex-model-prompts) for matching models. |
|
|
73
|
+
|  | **[SSH](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-ssh/README.md#choose-the-right-tool)**<br> Run a short command with `remote_bash` over a reusable SSH connection. For a long remote job, use `bg_task_spawn` with the `ssh` parameter so Pi can keep working and check the result later. |
|
|
54
74
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
```sh
|
|
58
|
-
npx pi-better-harness install
|
|
59
|
-
pi
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
In a project with tests, try this prompt.
|
|
63
|
-
|
|
64
|
-
> Run npm test in the background. Tell me when it starts so I can ask a question.
|
|
65
|
-
|
|
66
|
-
[More installation options](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/docs/usage.md#install) · [Settings](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/README.md#harness-settings) · [Platform support](https://github.com/1aboveio/pi-better-harness/blob/main/packages/pi-better-harness/README.md#compatibility)
|
|
75
|
+
[Full tool and command index](https://github.com/1aboveio/pi-better-harness/blob/main/llms.txt) · [Compare Pi extensions by task](https://github.com/1aboveio/pi-better-harness/blob/main/docs/extension-comparison.md)
|
|
67
76
|
|
|
68
77
|
## Resources
|
|
69
78
|
|