pi-better-harness 0.65.1 → 0.65.2

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.65.2] - 2026-12-04
4
+
5
+ ### Changed
6
+
7
+ - Interactive Pi sessions fold tool calls by default. Choose **Normal** under **Tool output** in `/harness-settings` to see full output. Harness respects saved preferences.
8
+
3
9
  ## [0.65.1] - 2026-12-04
4
10
 
5
11
  ### Fixed
package/README.md CHANGED
@@ -180,9 +180,9 @@ need interactive confirmation. Full policy: [pi-better-sandbox](https://github.c
180
180
 
181
181
  ## Minimal Tool Output
182
182
 
183
- The bundled harness provides **Tool output** with **Normal** and **Compact** in
184
- `/harness-settings`. `/harness-settings tool-output minimal`, `/harness-settings tool-output normal`, and
185
- `/harness-settings tool-output` (toggle) remain compatibility shortcuts to the same preference.
183
+ In the interactive TUI, **Tool output** defaults to **Compact**. Choose **Normal** in
184
+ `/harness-settings` for ordinary tool output.
185
+
186
186
  Minimal mode folds each tool call into a single-line header, including running
187
187
  calls. The tool-specific icon and tool name share a state color: accent while
188
188
  running, muted when completed, and error-colored when failed. In fullscreen Pi, a soft highlight travels through the entire visible running tool name and its
@@ -213,7 +213,7 @@ tool icons sit centered in a three-column gutter. Click the disclosure again to
213
213
  block; native expanded call/result clicks collapse individual details. Regular
214
214
  terminals keep mouse input for terminal selection and scrollback; Ctrl+O expands
215
215
  all original tool details in both modes and folds them again on the next toggle.
216
- `/harness-settings tool-output normal` restores ordinary rendering. Error result bodies are also
216
+ Error result bodies are also
217
217
  hidden in minimal mode and remain available when expanded.
218
218
 
219
219
  Minimal mode also covers Harness tools: Subagents, Background Tasks, Goal, Todo,
@@ -223,7 +223,7 @@ bodies. Finished calls fold into the same disclosure blocks as built-in tools;
223
223
  expanding them restores their original package renderers. Goal and Todo widgets
224
224
  and the background-work navigator are independent UI surfaces and remain visible.
225
225
 
226
- Normal mode is the initial default. Changing tool output saves the choice in
226
+ Changing tool output saves the choice in
227
227
  global `settings.json` under `piBetterHarness.toolOutput`, as well as the current
228
228
  session. New sessions inherit it; resumed branches retain their own saved choice.
229
229
  This is a version-sensitive internal TUI adapter,
@@ -19,7 +19,7 @@ function minimalOutputExtension(pi: ExtensionAPI): void {
19
19
  if (value !== undefined && (value?.version !== 1 || typeof value.enabled !== "boolean")) {
20
20
  throw new Error("Invalid tool-output default in global settings.json.");
21
21
  }
22
- return initialDefault = value?.enabled === true;
22
+ return initialDefault = value?.enabled !== false;
23
23
  }
24
24
 
25
25
  function collapseTools(ctx: ExtensionContext): void {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-better-harness",
3
- "version": "0.65.1",
3
+ "version": "0.65.2",
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",