pi-better-harness 0.41.3 → 0.42.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.
Files changed (30) hide show
  1. package/CHANGELOG.md +844 -0
  2. package/README.md +26 -7
  3. package/extensions/minimal-output/hook.ts +85 -16
  4. package/extensions/task-context/compact-task-header.ts +10 -2
  5. package/extensions/task-context/index.ts +347 -99
  6. package/extensions/task-context/plan-presentation.ts +3 -28
  7. package/extensions/task-context/plan-render.ts +5 -18
  8. package/extensions/task-context/preferences.ts +8 -5
  9. package/extensions/task-context/work-ledger-actions.ts +307 -0
  10. package/extensions/task-context/work-ledger-session.ts +186 -0
  11. package/extensions/task-context/work-ledger.ts +683 -0
  12. package/extensions/task-context/workflow-plan.ts +2 -14
  13. package/node_modules/pi-better-background-tasks/package.json +1 -1
  14. package/node_modules/pi-better-background-tasks/src/navigator-provider.ts +23 -28
  15. package/node_modules/pi-better-background-tasks/src/observed-waits.ts +139 -18
  16. package/node_modules/pi-better-background-tasks/src/shared-operation-coordinator/src/operations.ts +5 -0
  17. package/node_modules/pi-better-background-tasks/src/shared-operation-coordinator/src/types.ts +2 -0
  18. package/node_modules/pi-better-subagents/README.md +16 -12
  19. package/node_modules/pi-better-subagents/batch.mjs +1 -0
  20. package/node_modules/pi-better-subagents/config.ts +15 -2
  21. package/node_modules/pi-better-subagents/docs/usage.md +32 -20
  22. package/node_modules/pi-better-subagents/effective-settings.ts +51 -4
  23. package/node_modules/pi-better-subagents/index.ts +211 -34
  24. package/node_modules/pi-better-subagents/package.json +1 -1
  25. package/node_modules/pi-better-subagents/registry.ts +2 -1
  26. package/node_modules/pi-better-subagents/settings-page.ts +43 -6
  27. package/node_modules/pi-better-subagents/shared-operation-coordinator/src/operations.ts +5 -0
  28. package/node_modules/pi-better-subagents/shared-operation-coordinator/src/types.ts +2 -0
  29. package/node_modules/pi-better-subagents/timing.ts +172 -22
  30. package/package.json +5 -4
package/CHANGELOG.md ADDED
@@ -0,0 +1,844 @@
1
+ # Changelog
2
+
3
+ ## [0.42.1] - 2026-11-10
4
+
5
+ ### Changed
6
+
7
+ - Reuse a compact tool call's rendered header and final styled line across redraws until its arguments, native call renderer, partial or final result, expansion state, width, or theme changes. An explicit invalidate clears the cached row, and animated headers still render for each frame.
8
+ - Bundle Background Tasks 0.14.4 and Subagents 0.29.1.
9
+
10
+ ### Fixed
11
+
12
+ - Project the root changelog into the Harness package during `prepack` and include `CHANGELOG.md` in the npm tarball, so compatible Pi hosts can show release notes in Extension Updates. Packing now fails when the manifest version has no root entry or that entry has no notes. (#691)
13
+
14
+ ## [0.42.0] - 2026-11-10
15
+
16
+ ### Added
17
+
18
+ - Add an optional durable work ledger for project-scoped high-level outcomes and items. It is off by default: enable **Long-term work ledger** in `/harness-settings`. `update_todo` and `get_todo` carry optional ledger payloads and selectors for create, update, attach, detach, list, and read. Updates require the current revision and preserve completed evidence and history; overall completion is refused while high-level items remain open. Attaching stores only a session reference and does not copy the ledger, start a Goal, or authorize old work.
19
+ - Add `/ledger list`, `/ledger attach <id>`, `/ledger switch <id>`, `/ledger detach`, and `/ledger show`. A resumed session restores its reference; a clean session stays unassociated. Bounded recovery reminders are rebuilt from the durable record after compaction or resume. Turning the setting off removes ledger views, queries, mutations, and hints without deleting records.
20
+ - Bundle Subagents 0.29.0 for configurable tool-wait and no-progress observation alerts.
21
+
22
+ ### Changed
23
+
24
+ - `/todo` reveals the compact Overview and returns it to automatic display instead of opening a full-screen plan. The common work-plan view (outcome, generic Todo or workflow rows, and any associated ledger summary) remains available through `get_todo` when hooks are enabled, and `/todo expand` / `/todo collapse` continue to control visible rows.
25
+
26
+ ## [0.41.3] - 2026-11-10
27
+
28
+ ### Fixed
29
+
30
+ - Record the current outcome as one hidden, persisted message at agent start only when its content changed, instead of rebuilding a reminder before every model call. The model-visible prompt prefix now stays stable across turns.
31
+ - Bundle Subagents 0.28.2, Background Tasks 0.14.3, and SSH 0.1.5 for owner-scoped navigator and failure-attention lifecycles plus Windows support.
32
+
33
+ ## [0.41.2] - 2026-11-09
34
+
35
+ ### Fixed
36
+
37
+ - Bundle Goal 0.12.3 so permission failure reports no longer pause the Goal continuation loop or require repeated manual resume.
38
+
39
+ ## [0.41.1] - 2026-11-08
40
+
41
+ ### Fixed
42
+
43
+ - Bundle Subagents 0.28.1 so sandboxed launches use the active Pi SDK even when PATH points to the managed Pi shell launcher.
44
+
45
+ ## [0.41.0] - 2026-11-08
46
+
47
+ ### Added
48
+
49
+ - Use the linked worktree as the project context boundary. Keep global AGENTS.md rules and the worktree's own rules without inheriting the main checkout or falling back when a worktree file is absent. This filtering requires a Pi host that applies structured prompt edits; it is verified on Pi 1.5.0 and remains inert on Pi 0.82.1.
50
+ - Bundle Subagents 0.28.0 and Goal 0.12.2, including skill selection controls and verified issue-workflow completion.
51
+
52
+ ### Fixed
53
+
54
+ - Bind revision-zero Rush preflight plans that carry runDir and units without runId or fleet. Read-only binding leaves the file unchanged, transitions advance its revision, and full real-path identity checks reject a different directory with the same name. The run directory cannot be changed through a transition.
55
+
56
+ ## [0.40.6] - 2026-11-07
57
+
58
+ ### Added
59
+
60
+ - Guard against foreground waits with a `tool_call` check that blocks a command waiting on CI, a merge, a deploy, or a remote service, and tells the caller to spawn it as a background task instead. A foreground wait ties its result to the turn and dies with it; a background task outlives the turn. The guard reads command shape rather than duration, so a long build whose output belongs in the foreground still runs there.
61
+ - Tool call guard (On/Off) in Harness settings gates the check itself. It takes effect on the next tool call, so turning it off needs no reload, and it is On by default.
62
+
63
+ ## [0.40.5] - 2026-11-07
64
+
65
+ ### Fixed
66
+
67
+ - Stop the tool-row shimmer latching off. The clock cleared itself once 400 ms passed without a render, but the clock is what requests those renders, so nothing could restart it: the spinner stayed dead until an unrelated render happened to arrive. Instrumenting a real session showed this needs no particular cause — with nothing displaying the TUI at all, one frame still saw the last render 522 ms old, which is enough to trip the old check. Measured over 80 seconds and 941 frames, the animation now falls to one frame a second during such a pause and returns to 80 ms as soon as the row paints again.
68
+ - Declare the shimmer cadence through `shimmerFrameDelay`, and cover the deferred-render recovery path, which is the path production uses: all 994 renders recorded in that session arrived asynchronously rather than inside a timer frame.
69
+
70
+ ## [0.40.4] - 2026-11-07
71
+
72
+ ### Fixed
73
+
74
+ - Bundle Model Router 0.1.4, which declares context limits that fit inside the providers' shared window, so a long conversation routed through `router/deepseek-flash-auto` is no longer rejected for requesting more tokens than the endpoint accepts.
75
+
76
+ ## [0.40.3] - 2026-11-06
77
+
78
+ ### Fixed
79
+
80
+ - Bundle Model Router 0.1.3, which declares the virtual model's context window so Pi no longer compacts after every routing error at any context size, and which keeps a transient provider failure retryable inside a long turn.
81
+
82
+ ## [0.40.2] - 2026-11-05
83
+
84
+ ### Fixed
85
+
86
+ - Bundle Background Tasks 0.14.2, Subagents 0.27.2, and Goal 0.12.1, which deliver their system-prompt guidance as named sections instead of returning a whole prompt.
87
+ - Publish the execution policy as the `harness_execution_policy` section, and trim the policy and wait guidance to instructions: no rationale, no worked examples, and no defaults the tool schemas already state. Harness prompt sections fall from 7,026 to about 5,200 characters while the sleep prohibition, the tool mapping, and the launch-is-not-completion rule remain.
88
+ - Remove a stale, unvendored copy of the execution policy under `extensions/task-context/`. The generator never wrote it, so it had drifted.
89
+ - Keep the previous text append on pi versions that render no custom sections. Sections are a later pi feature, and these packages still declare support back to 0.84.4, where publishing a section delivers nothing at all. Real 0.84.4 coverage caught Goal's pause instruction disappearing entirely.
90
+
91
+ ## [0.40.1] - 2026-11-04
92
+
93
+ ### Fixed
94
+
95
+ - Bundle Background Tasks 0.14.1 and Subagents 0.27.1, which stop probing process identity on the task panel's render path and keep the delegation policy in the system prompt instead of re-sending it on every request.
96
+
97
+ ## [0.40.0] - 2026-11-03
98
+
99
+ ### Added
100
+
101
+ - Bundle Background Tasks 0.14.0, Subagents 0.27.0, Goal 0.12.0 and Sandbox 0.14.1 for observed parent waits and worker park/resume. Workers keep ownership of assigned validation while supervised commands run and release their capacity slot while waiting.
102
+
103
+ ## [0.39.2] - 2026-11-03
104
+
105
+ ### Fixed
106
+
107
+ - Bundle Model Router 0.1.2, so a running turn moves to the cheaper provider at a price boundary instead of holding its first choice, and long sessions no longer append one router-state entry per request.
108
+
109
+ ## [0.39.1] - 2026-11-03
110
+
111
+ ### Fixed
112
+
113
+ - Bundle Subagents 0.26.2 and Model Router 0.1.1 so isolated router children load their declared dependencies, including Ollama Cloud, and check their model and tools before the first request.
114
+ - Declare host-provided `@sinclair/typebox` as a peer dependency instead of a Harness runtime dependency, avoiding a duplicate runtime copy.
115
+
116
+ ## [0.39.0] - 2026-11-02
117
+
118
+ ### Added
119
+
120
+ - Include Model Router 0.1.0 and its bundled Ollama Cloud provider in the Harness bundle and component installer. Select `router/deepseek-flash-auto` for price-based routing; the selected default model is unchanged. Older Pi hosts receive an upgrade notice and keep the other Harness extensions available.
121
+
122
+ ## [0.38.1] - 2026-11-02
123
+
124
+ ### Changed
125
+
126
+ - Bundle Subagents 0.26.1, which keeps delegated work alive across a reload, recovers interrupted runs, and reports exactly one completion per terminal run, and Background Tasks 0.13.1, which adds an opt-in step gate and treats only a changed watch outcome as progress. Goal 0.11.0, Sandbox 0.14.0, and SSH 0.1.4 are unchanged.
127
+
128
+ ## [0.38.0] - 2026-11-01
129
+
130
+ ### Changed
131
+
132
+ - Bundle Subagents 0.26.0 with durable saved conversations, continuation through spawn, and local/global session discovery. (#614)
133
+
134
+ ## [0.37.1] - 2026-11-01
135
+
136
+ ### Fixed
137
+
138
+ - Bundle Subagents 0.25.1 so default subagents can use native Pi codemode. (#612)
139
+
140
+ ## [0.37.0] - 2026-11-01
141
+
142
+ ### Changed
143
+
144
+ - Bundle Subagents 0.25.0. Background Tasks 0.13.0, Goal 0.11.0, Sandbox 0.14.0, and SSH 0.1.4 are unchanged.
145
+
146
+ ## [0.36.0] - 2026-10-31
147
+
148
+ ### Changed
149
+
150
+ - Bundle Subagents 0.24.0, Background Tasks 0.13.0, and Goal 0.11.0. Sandbox 0.14.0 and SSH 0.1.4 are unchanged.
151
+ - Share the sticky navigator across Goal, Outcome & Todo, Subagents, and Background Tasks rows. **Sticky navigator** in `/harness-settings` defaults On and saves `piBetterHarness.navigator`; Off moves the navigator into the conversation. (#606)
152
+
153
+ ## [0.35.3] - 2026-10-31
154
+
155
+ ### Fixed
156
+
157
+ - Bundle Subagents 0.23.3 so a role that resolves an `ollama-cloud` model starts in its isolated child with the provider's auth extension loaded.
158
+
159
+ ## [0.35.2] - 2026-10-30
160
+
161
+ ### Fixed
162
+
163
+ - Keep Harness packages off Pi's bottom status row while preserving the native footer, widgets, and permission controls.
164
+ - Bundle Subagents 0.23.2, Background Tasks 0.12.2, Goal 0.10.4, and SSH 0.1.4.
165
+
166
+ ## [0.35.1] - 2026-10-30
167
+
168
+ ### Fixed
169
+
170
+ - Bundle Subagents 0.23.1 so trusted packages that also register `apply_patch` no longer prevent sandboxed workers from starting. Keep all other component versions unchanged. (#590)
171
+
172
+ ## [0.35.0] - 2026-10-30
173
+
174
+ ### Added
175
+
176
+ - Ship a `pi-agent-catalog` executable that runs the shared worker catalog planning from the bundled Subagents package, so Pi and Codex plan agents from one catalog.
177
+
178
+ ### Changed
179
+
180
+ - Bundle Subagents 0.23.0 with shared worker catalog planning and the Developer role's failure reporting. Keep all other component versions unchanged.
181
+
182
+ ## [0.34.2] - 2026-10-29
183
+
184
+ ### Changed
185
+
186
+ - Bundle Subagents 0.22.2 and Background Tasks 0.12.1 with clickable detail-view return controls and hover highlights. Keep all other component versions unchanged.
187
+
188
+ ## [0.34.1] - 2026-10-29
189
+
190
+ ### Changed
191
+
192
+ - Reduce the gap between Todo item numbers and text while preserving alignment for multi-digit numbers and workflow issue IDs.
193
+ - Bundle Goal 0.10.3 and Subagents 0.22.1 with tighter Goal spacing and clearer agent details. Keep all other component versions unchanged.
194
+
195
+ ## [0.34.0] - 2026-10-29
196
+
197
+ ### Added
198
+
199
+ - Separate Outcome & Todo display and hooks controls. Display saved state by default, while leaving task-memory hooks Off until explicitly enabled. Preserve saved hook choices and unrelated settings.
200
+
201
+ ### Changed
202
+
203
+ - Show the accepted outcome as a single muted subtitle beneath Todo. Combine a matching Goal's status and active-time clock with the Todo header, retain click expansion, and keep full outcome details in `/todo`.
204
+ - Bundle Goal 0.10.2, Subagents 0.22.0, and Background Tasks 0.12.0 with shared clock ownership and clickable work details.
205
+
206
+ ## [0.33.1] - 2026-10-29
207
+
208
+ ### Changed
209
+
210
+ - Bundle Subagents 0.21.1 with the updated Researcher model, six-slot concurrency default, and an Agents shortcut in the Subagents settings menu. Keep all other component versions unchanged.
211
+
212
+ ## [0.33.0] - 2026-10-29
213
+
214
+ ### Added
215
+
216
+ - Bundle Sandbox 0.14.0, Subagents 0.21.0, and Background Tasks 0.11.0 with independent application, shell, and command time-limit controls.
217
+ - Show direct application commands in the compact transcript.
218
+
219
+ ## [0.32.1] - 2026-10-27
220
+
221
+ ### Changed
222
+
223
+ - Bundle Subagents 0.20.1 with fullscreen agent views, an Effort list column, and settings editable directly from agent details. Keep all other component versions unchanged.
224
+
225
+ ## [0.32.0] - 2026-10-25
226
+
227
+ ### Changed
228
+
229
+ - Bundle Sandbox 0.13.0, Subagents 0.20.0, and Background Tasks 0.10.0. Keep Goal 0.10.1, Plan 0.9.1, and SSH 0.1.3 unchanged.
230
+ - Fresh Main, Subagents, and Background tasks sandbox switches all start Off. Preserve saved choices and explicit opt-in.
231
+
232
+ ## [0.31.1] - 2026-10-18
233
+
234
+ ### Changed
235
+
236
+ - Bundle Goal 0.10.1. Keep all other component versions unchanged.
237
+
238
+ ## [0.31.0] - 2026-10-18
239
+
240
+ ### Changed
241
+
242
+ - Bundle Goal 0.10.0. Keep Sandbox 0.12.1, SSH 0.1.3, Background Tasks 0.9.1, Subagents 0.19.1, and Plan 0.9.1.
243
+
244
+ ## [0.30.1] - 2026-10-17
245
+
246
+ ### Changed
247
+
248
+ - Remove the routine minimal tool-output footer badge while preserving tool-output settings and rendering.
249
+ - Bundle Sandbox 0.12.1, SSH 0.1.3, Background Tasks 0.9.1, Subagents 0.19.1, and Goal 0.9.1. Keep Plan at 0.9.1.
250
+
251
+ ## [0.30.0] - 2026-10-16
252
+
253
+ ### Changed
254
+
255
+ - Bundle Subagents 0.19.0 with model-visible live settings, read-only capacity inspection, and launch-time enforcement of cap changes. Keep all other component versions unchanged.
256
+
257
+ ## [0.29.2] - 2026-10-16
258
+
259
+ ### Fixed
260
+
261
+ - Extend the active-tool shimmer through the entire visible tool name and detail text, preserving dim details between highlight passes and stable terminal layout.
262
+
263
+ ### Changed
264
+
265
+ - Bundle Plan 0.9.1 with eligible completion counts and delayed hiding of canceled rows. Keep all other component versions unchanged.
266
+
267
+ ## [0.29.1] - 2026-10-15
268
+
269
+ ### Changed
270
+
271
+ - Bundle Goal 0.9.0 with the workflow re-read after compaction. Keep all other component versions unchanged. (#462)
272
+
273
+ ## [0.29.0] - 2026-10-11
274
+
275
+ ### Added
276
+
277
+ - Define one execution-concurrency policy shared by Subagents, Background Tasks, and Plan. Start ready independent work concurrently, record concrete serialization constraints, and ask about unresolved fleet-availability trade-offs.
278
+
279
+ ### Changed
280
+
281
+ - Bundle Subagents 0.18.0, Background Tasks 0.9.0, and Plan 0.9.0. Keep all other component versions unchanged.
282
+
283
+ ## [0.28.2] - 2026-10-09
284
+
285
+ ### Changed
286
+
287
+ - Bundle Goal 0.8.4 with resumable workflow handbacks. Keep all other component versions unchanged. (#457)
288
+
289
+ ## [0.28.1] - 2026-10-09
290
+
291
+ ### Changed
292
+
293
+ - Bundle Goal 0.8.3 with released-workflow pauses and sticky no-progress holds. Keep all other component versions unchanged. (#455)
294
+
295
+ ## [0.28.0] - 2026-10-08
296
+
297
+ ### Added
298
+
299
+ - Add a traveling highlight to running tool names in fullscreen Pi, with a persisted Tool animation: Shimmer / Off setting. (#452)
300
+
301
+ ### Changed
302
+
303
+ - Color the tool icon and name together: accent while running, muted on completion, and error color on failure. Keep arguments dim and preserve status labels.
304
+ - Use a lighter, theme-aware highlight without moving text, changing row widths, or disturbing editor focus. Animate only visible fullscreen rows; keep scrollback rendering static.
305
+ - Keep all bundled component versions unchanged.
306
+
307
+ ## [0.27.2] - 2026-10-08
308
+
309
+ ### Changed
310
+
311
+ - Bundle Plan 0.8.0 with a compact, foldable checklist and read-only workflow handoffs. Keep all other component versions unchanged. (#450)
312
+
313
+ ## [0.27.1] - 2026-10-07
314
+
315
+ ### Fixed
316
+
317
+ - Fold custom transcript messages from any extension into quiet disclosure rows in Minimal mode, including background completion batches and subagent health/timing alerts.
318
+ - Preserve original message payloads and custom renderers when expanded through Ctrl+O or fullscreen clicks, with cleanup across reloads and shared hook owners.
319
+ - Keep all bundled component versions unchanged.
320
+
321
+ ## [0.27.0] - 2026-10-07
322
+
323
+ ### Added
324
+
325
+ - Bundle disabled-by-default, local-only sandbox permission diagnostics with redacted summaries and explicit local export. (#445)
326
+
327
+ ### Changed
328
+
329
+ - Bundle Sandbox 0.12.0, Subagents 0.17.0, and Background Tasks 0.8.0. Keep Goal, Plan, and SSH versions unchanged.
330
+
331
+ ## [0.26.1] - 2026-10-07
332
+
333
+ ### Fixed
334
+
335
+ - Collapse compaction summaries to one quiet row in Minimal mode, retaining the original summary when expanded.
336
+ - Show compact argument hints for tools without a custom call renderer, using the generic icon fallback.
337
+ - Keep all bundled component versions unchanged.
338
+
339
+ ## [0.26.0] - 2026-10-07
340
+
341
+ ### Added
342
+
343
+ - Add an Agents catalog shortcut to `/harness-settings`. Save catalog model and effort defaults with Ctrl+S. (#442)
344
+
345
+ ### Fixed
346
+
347
+ - Persist tool-output defaults in global `settings.json`, retaining branch-local choices on resume and rolling back failed saves.
348
+ - Render compact call headers for Harness tools in Minimal mode while preserving native expanded results and custom call renderers.
349
+
350
+ ### Changed
351
+
352
+ - Bundle Subagents 0.16.0, Background Tasks 0.7.1, Goal 0.8.2, and Sandbox 0.11.1 with durable global Harness defaults. Keep Plan and SSH versions unchanged.
353
+
354
+ ## [0.25.0] - 2026-10-06
355
+
356
+ ### Changed
357
+
358
+ - Bundle Plan 0.7.0 with the universal `update_plan` API for workflow binding, reloading, and saved transitions. (#440)
359
+ - Keep all other bundled component versions unchanged.
360
+
361
+ ## [0.24.0] - 2026-10-06
362
+
363
+ ### Added
364
+
365
+ - Highlight compact tool calls and completed-block disclosures on hover in fullscreen Pi, using the theme selection background or reverse video when no background is supplied. (#438)
366
+
367
+ ### Changed
368
+
369
+ - Center tool icons in a fixed three-column gutter while preserving the quiet name, argument, and state styling.
370
+ - Keep all bundled component versions unchanged.
371
+
372
+ ### Fixed
373
+
374
+ - Clear hover feedback on pointer exit, scrolling, expansion, mode changes, resize, and reload without changing click disclosure or Ctrl+O behavior.
375
+
376
+ ## [0.23.0] - 2026-10-06
377
+
378
+ ### Added
379
+
380
+ - Fold each consecutive completed tool block into an expandable summary with call and failure counts, keeping assistant text visible. (#436)
381
+
382
+ ### Changed
383
+
384
+ - Indent minimal tool rows and use one tool-specific icon whose color indicates state, with quieter tool names and dimmer arguments.
385
+ - Fold tool blocks only when the agent settles, preserving active retries and automatic continuation.
386
+ - Keep all bundled component versions unchanged.
387
+
388
+ ### Fixed
389
+
390
+ - Synchronize automatic folding with Pi's tool-expansion state so the next Ctrl+O reopens tool details.
391
+ - Preserve tool-block grouping, click disclosure, and native expansion across reload and saved-session resume.
392
+
393
+ ## [0.22.0] - 2026-10-06
394
+
395
+ ### Added
396
+
397
+ - Add Tool output: Normal / Minimal directly to `/harness-settings`, sharing the existing session preference and `/tool-output` command shortcuts. (#434)
398
+
399
+ ### Changed
400
+
401
+ - Style compact tool calls as muted activity rows with inline command/path context, distinct from conversation input.
402
+ - Preserve click-to-expand full native tool details in newer Pi fullscreen mode; Ctrl+O remains available in all terminal modes.
403
+ - Bundle Plan 0.6.0 with the implemented, review passed, and delivered row states from #429.
404
+ - Keep all other bundled component versions unchanged.
405
+
406
+ ### Fixed
407
+
408
+ - Restore tool-output session preferences across branch navigation, reload, and saved-session resume, and keep failed saves from applying rejected changes.
409
+
410
+ ## [0.21.0] - 2026-10-06
411
+
412
+ ### Added
413
+
414
+ - Add `/harness-settings` with shortcuts to loaded Sandbox, Subagents, and Goal settings. Each package retains its direct settings command and standalone configuration ownership.
415
+ - Add Completions while busy with Wait until idle and Steer active run modes. Changes autosave to the current session; Ctrl+S saves the default for future sessions without changing already-open sessions. (#425, #432)
416
+ - Record the next-prompt suggestion design, with inference deferred until safe public auth/header resolution is available. (#426)
417
+
418
+ ### Changed
419
+
420
+ - Bundle Subagents 0.15.0 and Background Tasks 0.7.0 with shared callback delivery settings and tool-boundary completion batching.
421
+ - Remove `PI_BETTER_CALLBACK_WHILE_BUSY`; configure callback delivery through `/harness-settings` instead.
422
+ - Keep Sandbox 0.11.0, Goal 0.8.1, Plan 0.5.4, and SSH 0.1.2 unchanged.
423
+
424
+ ## [0.20.0] - 2026-10-05
425
+
426
+ ### Changed
427
+
428
+ - Fold minimal tool output into one truncated call header per running or completed tool, hiding result bodies, images, boxes, and spacers while preserving full-output expansion. (#422)
429
+ - Bundle Sandbox 0.11.0, Subagents 0.14.1, Goal 0.8.1, and Background Tasks 0.6.6 with the current sandbox settings and permission-blocker fixes.
430
+ - Keep Plan 0.5.4 and SSH 0.1.2 unchanged.
431
+
432
+ ## [0.19.0] - 2026-10-04
433
+
434
+ ### Changed
435
+
436
+ - Adopt the refined pi monogram in the project and npm README headers and all eight package gallery previews.
437
+ - Bundle Goal 0.8.0, Sandbox 0.10.0, Subagents 0.14.0, and Background Tasks 0.6.5, including the newly merged goal and sandbox settings.
438
+ - Keep Plan 0.5.4 and SSH 0.1.2 unchanged.
439
+
440
+ ## [0.18.0] - 2026-10-04
441
+
442
+ ### Changed
443
+
444
+ - Bundle Goal 0.7.0 with the interactive `/goal settings` page and independent automatic continuation and conversational resume controls. (#412)
445
+ - Bundle Background Tasks 0.6.4 and Subagents 0.13.1 so ordinary completions accumulate while Pi is busy and produce one bounded aggregate when it becomes available. (#410)
446
+ - Bundle Sandbox 0.9.1, SSH 0.1.2, and Plan 0.5.4 with updated package gallery metadata and documentation.
447
+
448
+ ## [0.17.1] - 2026-10-04
449
+
450
+ ### Fixed
451
+
452
+ - Bundle Plan 0.5.3 so `resolve-issues` and other compatible workflows can display and update owner-bound task plans. (#407)
453
+
454
+ ## [0.17.0] - 2026-10-03
455
+
456
+ ### Changed
457
+
458
+ - Bundle subagents 0.13.0 and sandbox 0.9.0 with session-persisted settings and Ctrl+S default saving.
459
+ - Keep Goal 0.6.1, including its 60-second default continuation delay.
460
+
461
+ ## [0.16.0] - 2026-10-03
462
+
463
+ ### Changed
464
+
465
+ - Bundle Sandbox 0.8.2, Subagents 0.12.0, and Goal 0.6.1: independent shell sandbox profiles, unified subagent settings, and a 60-second default continuation delay.
466
+
467
+ ## [0.15.3] - 2026-10-02
468
+
469
+ ### Changed
470
+
471
+ - Bundle `pi-better-plan@0.5.2` with corrected rush-issues fleet stages and warehouse-only canary display. (#402)
472
+
473
+ ## [0.15.2] - 2026-10-02
474
+
475
+ ### Changed
476
+
477
+ - `/tool-output minimal` hides tool blocks completely, including running calls, errors, headers, summaries, and blank tool spacers. Ctrl+O and normal mode still reveal the original output; agent-facing results are unchanged.
478
+
479
+ ## [0.15.1] - 2026-10-02
480
+
481
+ ### Fixed
482
+
483
+ - Minimal tool output patches the running bundled Pi renderer instead of a separate unbundled SDK class. Tool results now hide and finished runs fold in Pi 1.0.0's bundled CLI; Ctrl+O and normal mode still reveal the original results.
484
+
485
+ ## [0.15.0] - 2026-10-02
486
+
487
+ ### Added
488
+
489
+ - `/tool-output minimal` folds each finished tool run into one line after later model text is on screen. The live run stays open. Ctrl+O and a click still reveal results.
490
+
491
+ ### Changed
492
+
493
+ - Bundle sandbox 0.8.1, subagents 0.11.0, and background-tasks 0.6.3.
494
+
495
+ ## [0.14.0] - 2026-10-01
496
+
497
+ ### Changed
498
+
499
+ - Bundle Goal 0.6.0: ten outer no-progress retries with linear backoff, timer-overflow protection, explicit held-goal recovery, and durable background-drain progress. Pi's inner network retry settings remain unchanged. Callback-inbox changes are not included.
500
+
501
+ ## [0.13.1] - 2026-09-30
502
+
503
+ ### Changed
504
+
505
+ - Bundle subagents 0.10.0 with typed foreground native Pi codemode batch launch receipts. Publish the component before this bundle; confined-child codemode and busy-period callback coalescing remain unchanged.
506
+
507
+ ## [0.13.0] - 2026-09-30
508
+
509
+ ### Added
510
+
511
+ - Global minimal tool-output toggle to keep tool output compact across the harness. (#382)
512
+
513
+ ### Changed
514
+
515
+ - Bundle sandbox 0.8.0 with foldable package/provider tool groups, single-Space toggles, and more visible selection styling. (#384)
516
+
517
+ ## [0.12.3] - 2026-09-29
518
+
519
+ ### Changed
520
+
521
+ - Bundle sandbox 0.7.3, plan 0.5.1, subagents 0.9.3, and background-tasks 0.6.2: credential permissions stay independent under broad outside writes, long-running subagents default to stall detection without elapsed-time limits, and `/plan` and `/subagents` provide argument completions.
522
+
523
+ ## [0.12.2] - 2026-09-28
524
+
525
+ ### Changed
526
+
527
+ - Bundle subagents 0.9.2: `subagent_result` states its default and maximum page budgets as the exact `max_bytes` values, 2048 and 8192 bytes.
528
+
529
+ ## [0.12.1] - 2026-09-28
530
+
531
+ ### Fixed
532
+
533
+ - Bundle sandbox 0.7.2, subagents 0.9.1 and background-tasks 0.6.1: macOS sandbox pre-checks fold case on every volume, as Seatbelt does; the Linux placeholder notice says to remove it before creating the real target.
534
+
535
+ ## [0.12.0] - 2026-09-28
536
+
537
+ ### Changed
538
+
539
+ - Bundle subagents 0.9.0: roles take and show short names (`role: "developer"`); agent ids ignore case; a blank role or agent is refused.
540
+
541
+ ## [0.11.0] - 2026-09-28
542
+
543
+ ### Changed
544
+
545
+ - Bundle subagents 0.8.0: `agents_catalog` shows each role's default model, spawn guidance says to omit `model` to use it, and the launch line flags an override or a fallback.
546
+
547
+ ## [0.10.0] - 2026-09-28
548
+
549
+ ### Changed
550
+
551
+ - Bundle goal 0.5.0: an escape-paused goal stays paused while you talk and resumes on a clear go-ahead (`goal_resume`), `/goal resume` or alt+g.
552
+
553
+ ## [0.9.0] - 2026-09-28
554
+
555
+ ### Changed
556
+
557
+ - Bundle subagents 0.7.1, background-tasks 0.6.0 and sandbox 0.7.1: a watch shows its first check and flags checks that run blind; the Linux sandbox guards only the first missing part of a dangling dotfile target; macOS sandbox pre-checks agree with the kernel on letter case; the navigator closes its overlay when another extension replaces the editor and hands typing back when one wraps it; failure-observation fixes.
558
+
559
+ ## [0.8.0] - 2026-09-28
560
+
561
+ ### Changed
562
+
563
+ - Bundle subagents 0.7.0, background-tasks 0.5.0 and sandbox 0.7.0: sandboxed subagents get a guarded `apply_patch` and the trusted tools ticked in `/sandbox` → Subagents · Tools (`web_fetch` and `web_search` by default); the Linux sandbox no longer locks a whole directory for a dotfile symlink and protects dangling symlink targets; the navigator no longer freezes the keyboard after closing a row or stacks overlays; history-only rows show their normal columns again.
564
+
565
+ ### Fixed
566
+
567
+ - The publish workflow waits up to 10 minutes (backing off 5 s to 60 s) for the new version and checks the registry's version document, not only `npm view`, so a slow but successful publish still gets its tag and GitHub release. A rerun skips a version that is already on npm. (#332)
568
+ - The navigator TUI e2e and the other root script suites run against a private registry, so they no longer leave `by-parent-active/<pid>/sa_navigator_e2e_*` markers or tasks in the real `$TMPDIR` registries. The background-tasks suite no longer leaks an empty temp directory for each fully skipped test file, and its macOS process-tree stop test counts zombies and a vanished process group as stopped. (#332)
569
+
570
+ ## [0.7.0] - 2026-09-27
571
+
572
+ ### Changed
573
+
574
+ - Bundle subagents 0.6.0, background-tasks 0.4.0, sandbox 0.6.0, and plan 0.5.0: a new sandbox Write level (write broadly, delete only where disposable) that is the subagent default outside the project; harness-owned subagent run timing (soft deadline, ceiling, stuck wake); delegation modes; `update_plan` writes the bound Rush workflow plan; failure output lists only what needs action and keeps history on request; aligned output parameters; mutation ownership; completions survive `/reload`; null intent fields no longer hide real failures; navigator detail views show 25 rows.
575
+
576
+ ## [0.6.1] - 2026-09-27
577
+
578
+ ### Fixed
579
+
580
+ - Bundle subagents 0.5.1, which fixes OpenAI-backed confined subagents failing on their first request.
581
+
582
+ ## [0.6.0] - 2026-09-27
583
+
584
+ ### Changed
585
+
586
+ - Bundle subagents 0.5.0, background-tasks 0.3.0, goal 0.4.1, and sandbox 0.5.3: bounded, paged tool output scoped to the current session (#312); failure incidents separated from history, with child tool errors no longer waking the parent (#315); goals resuming after an interrupt and alias-started workflows binding their coordinator (#317, #318).
587
+
588
+ ## [0.5.2] - 2026-09-27
589
+
590
+ ### Fixed
591
+
592
+ - Bundle sandbox 0.5.2, subagents 0.4.2, and background-tasks 0.2.20 with Linux fail-closed protection for denied paths that cannot be materialized.
593
+
594
+ ### Tests
595
+
596
+ - Require five real SDK compatibility golden paths on macOS and Linux, including isolated Keychain and Secret Service retrieval, with uploaded ALIVE/DEAD evidence.
597
+
598
+ ## [0.5.1] - 2026-09-27
599
+
600
+ ### Fixed
601
+
602
+ - Bundle sandbox `0.5.1`, subagents `0.4.1`, and background-tasks `0.2.19` for restored default temporary-file and macOS Keychain compatibility.
603
+
604
+ ## [0.5.0] - 2026-09-27
605
+
606
+ ### Changed
607
+
608
+ - Bundle `pi-better-sandbox@0.5.0`, `pi-better-subagents@0.4.0`, and `pi-better-background-tasks@0.2.18` to separate trusted Pi startup from kernel-confined task execution.
609
+ - Enabled actor profiles now reject tool implementations without a verified execution adapter. Main remains Off by default.
610
+
611
+ ## [0.4.0] - 2026-09-27
612
+
613
+ ### Changed
614
+
615
+ - Bundle `pi-better-sandbox@0.4.0`, `pi-better-subagents@0.3.0`, and `pi-better-background-tasks@0.2.17` for independent permission profiles and durable failure reporting.
616
+
617
+ ## [0.3.20] - 2026-09-25
618
+
619
+ ### Changed
620
+
621
+ - **harness**: bundle `pi-better-plan@0.3.5` with compact heading-to-step spacing
622
+
623
+ ## [0.3.19] - 2026-09-25
624
+
625
+ ### Changed
626
+
627
+ - **harness**: bundle `pi-better-subagents@0.2.0` and `pi-better-background-tasks@0.2.16`, including the catalog's TOML runtime dependency
628
+
629
+ ## [0.3.18] - 2026-09-23
630
+
631
+ ### Changed
632
+
633
+ - **harness**: bundle `pi-better-plan@0.3.4` with unified native and workflow plan styling
634
+
635
+ ## [0.3.17] - 2026-09-23
636
+
637
+ ### Changed
638
+
639
+ - **harness**: bundle `pi-better-subagents@0.1.31`, `pi-better-background-tasks@0.2.15`, and `pi-better-plan@0.3.3` with the widget spacing, heading styling, and Unicode navigator fixes
640
+
641
+ ## [0.3.16] - 2026-09-23
642
+
643
+ ### Changed
644
+
645
+ - **harness**: bundle `pi-better-plan@0.3.2` with hidden unsynced Rush workflow state
646
+
647
+ ## [0.3.15] - 2026-09-23
648
+
649
+ ### Changed
650
+
651
+ - **harness**: bundle `pi-better-plan@0.3.1` with live Rush task-plan schema compatibility
652
+
653
+ ## [0.3.14] - 2026-09-22
654
+
655
+ ### Changed
656
+
657
+ - **harness**: bundle `pi-better-plan@0.3.0` with the Rush workflow plan view and blocking TUI smoke coverage
658
+
659
+ ## [0.3.13] - 2026-09-22
660
+
661
+ ### Changed
662
+
663
+ - **harness**: bundle `pi-better-subagents@0.1.30` and `pi-better-background-tasks@0.2.14` with the transcript display fix and blocking TUI smoke check
664
+
665
+ ## [0.3.12] - 2026-09-19
666
+
667
+ ### Changed
668
+
669
+ - **harness**: bundle `pi-better-goal@0.4.0` with supervised skill and command objectives
670
+
671
+ ## [0.3.11] - 2026-09-19
672
+
673
+ ### Changed
674
+
675
+ - **harness**: bundle `pi-better-goal@0.3.1` and `pi-better-plan@0.2.1`
676
+
677
+ ## [0.3.10] - 2026-09-19
678
+
679
+ ### Changed
680
+
681
+ - **harness**: bundle `pi-better-subagents@0.1.29`, `pi-better-goal@0.3.0`, and `pi-better-plan@0.2.0`
682
+
683
+ ## [0.3.9] - 2026-09-17
684
+
685
+ ### Changed
686
+
687
+ - **harness**: bundle `pi-better-subagents@0.1.28` and `pi-better-background-tasks@0.2.13` with corrected detail transcript tails
688
+
689
+ ## [0.3.8] - 2026-09-14
690
+
691
+ ### Changed
692
+
693
+ - **harness**: bundle `pi-better-goal@0.2.3` with reliable pause-on-Escape behavior
694
+
695
+ ## [0.3.7] - 2026-09-14
696
+
697
+ ### Changed
698
+
699
+ - **harness**: bundle coordinated plan, subagent, background-task, and goal guidance from the new component patch releases
700
+
701
+ ## [0.3.6] - 2026-09-12
702
+
703
+ ### Changed
704
+
705
+ - **harness**: bundle `pi-better-plan@0.1.4` with automatic completed-plan cleanup
706
+
707
+ ## [0.3.5] - 2026-09-12
708
+
709
+ ### Changed
710
+
711
+ - **harness**: bundle the passive plan widget and background-work navigator cleanup from the new component patch releases
712
+
713
+ ## [0.3.4] - 2026-09-12
714
+
715
+ ### Added
716
+
717
+ - **harness**: include `pi-better-plan@0.1.2` in the bundled extension set and standalone installer with `update_plan`, `get_plan`, and `/plan`
718
+
719
+ ### Changed
720
+
721
+ - **harness**: require the plan shim and package entry point in CI, release tarball checks, and whole-session coverage
722
+
723
+ ## [0.3.3] - 2026-09-12
724
+
725
+ ### Added
726
+
727
+ - **harness**: include `pi-better-ssh@0.1.1` in the bundled extension set and standalone installer so short remote commands use `remote_bash`, `ssh_profile`, and `ssh_mux` by default
728
+
729
+ ### Changed
730
+
731
+ - **harness**: require the SSH entry point and vendored shared SSH core in CI and release tarball checks while continuing to exclude the unpublished plan extension
732
+
733
+ ## [0.3.2] - 2026-09-09
734
+
735
+ ### Changed
736
+
737
+ - **harness**: bundle background-tasks 0.2.10, goal 0.2.1, and subagents 0.1.25 with owner-scoped registry reads and event-driven idle behavior
738
+ - **harness**: keep the experimental plan workspace available for local development while excluding it from the npm harness bundle and installer until its standalone release is authorized
739
+
740
+ ## [0.3.1] - 2026-09-05
741
+
742
+ ### Changed
743
+
744
+ - **harness**: bundle subagents 0.1.24 and background-tasks 0.2.9 with the single-input detail overlay fix
745
+
746
+ ## [0.3.0] - 2026-09-04
747
+
748
+ ### Changed
749
+
750
+ - **harness**: bundle goal 0.2.0 and sandbox 0.3.0
751
+
752
+ ## [0.2.1] - 2026-09-03
753
+
754
+ ### Changed
755
+
756
+ - **harness**: bundle subagents 0.1.23 and background-tasks 0.2.8
757
+
758
+ ## [0.2.0] - 2026-09-02
759
+
760
+ ### Changed
761
+
762
+ - **harness**: bundle sandbox 0.2.0 and background-tasks 0.2.7; foreground confinement is now opt-in while detached subagents remain sandboxed by default
763
+
764
+ ## [0.1.27] - 2026-08-23
765
+
766
+ ### Changed
767
+
768
+ - **harness**: bundle sandbox 0.1.1, the provenance-carrying republish of 0.1.0
769
+
770
+ ## [0.1.26] - 2026-08-23
771
+
772
+ ### Added
773
+
774
+ - **harness**: load `pi-better-sandbox` by default and configure/remove it alongside the other components
775
+
776
+ ### Changed
777
+
778
+ - **harness**: bundle sandbox 0.1.0, subagents 0.1.22, and background-tasks 0.2.6
779
+
780
+ ## [0.1.25] - 2026-08-22
781
+
782
+ ### Changed
783
+
784
+ - **harness**: bundle goal 0.1.22 (multiline objective rail flattening)
785
+
786
+ ## [0.1.24] - 2026-08-21
787
+
788
+ ### Changed
789
+
790
+ - **harness**: bundle background-tasks 0.2.5 (default `bg_task_log` tail 5 lines)
791
+
792
+ ## [0.1.23] - 2026-08-21
793
+
794
+ ### Changed
795
+
796
+ - **harness**: bundle background-tasks 0.2.4 (SSH tmux probe MOTD hardening)
797
+
798
+ ## [0.1.22] - 2026-08-18
799
+
800
+ ### Changed
801
+
802
+ - **harness**: bundle subagents 0.1.21 and background-tasks 0.2.3 (aligned focused background-work detail rendering)
803
+
804
+ ## [0.1.21] - 2026-08-17
805
+
806
+ ### Changed
807
+
808
+ - **harness**: bundle subagents 0.1.20 and background-tasks 0.2.2 (quiet background-work navigator repainting)
809
+
810
+ ## [0.1.20] - 2026-08-17
811
+
812
+ ### Changed
813
+
814
+ - **harness**: bundle background-tasks 0.2.1 (clearer SSH background-task schema guidance)
815
+
816
+ ## [0.1.19] - 2026-08-17
817
+
818
+ ### Changed
819
+
820
+ - **harness**: bundle goal 0.1.21 (mid-stream `/goal` no longer stacks `Working...` / bash `Elapsed` into scrollback)
821
+
822
+ ## [0.1.18] - 2026-08-17
823
+
824
+ ### Changed
825
+
826
+ - **harness**: bundle background-tasks 0.2.0 (SSH remote-task preset: structured ssh fields, tmux lifecycle, watch polls, resume/timeouts)
827
+
828
+ ## [0.1.17] - 2026-08-14
829
+
830
+ ### Changed
831
+
832
+ - **harness**: bundle goal 0.1.20 (the active goal pauses when a running turn is interrupted; the reserved `escape` shortcut conflict is gone), background-tasks 0.1.18, and subagents 0.1.19
833
+
834
+ ## [0.1.16] - 2026-08-14
835
+
836
+ ### Changed
837
+
838
+ - **harness**: bundle goal 0.1.19, background-tasks 0.1.18, and subagents 0.1.19
839
+
840
+ ## [0.1.15] - 2026-08-13
841
+
842
+ ### Changed
843
+
844
+ - **harness**: bundle goal 0.1.19, background-tasks 0.1.17, and subagents 0.1.19