@xingular/harness 2.1.0 → 2.1.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 +10 -0
- package/README.md +3 -1
- package/dist/cli.js +731 -189
- package/dist/terminal-pi.js +105 -26
- package/docs/terminal-tui.md +31 -13
- package/package.json +1 -1
- package/src/core/bus.test.ts +15 -1
- package/src/core/bus.ts +39 -0
- package/src/sessions/contracts.ts +1 -1
- package/src/sessions/planMode.test.ts +8 -1
- package/src/sessions/planMode.ts +17 -9
- package/src/sessions/questionBatches.test.ts +15 -3
- package/src/sessions/registry.ts +8 -0
- package/src/sessions/sessions.test.ts +15 -7
- package/src/sessions/sessions.ts +3 -1
- package/src/terminal/logs.test.ts +26 -0
- package/src/terminal/logs.ts +67 -0
- package/src/terminal/piExtension.lifecycle.test.ts +28 -1
- package/src/terminal/piExtension.ts +17 -3
- package/src/terminal/terminal.test.ts +20 -0
- package/src/terminal/terminals.ts +11 -0
- package/src/terminal/tui/application.test.ts +30 -34
- package/src/terminal/tui/application.ts +72 -21
- package/src/terminal/tui/commands.test.ts +26 -2
- package/src/terminal/tui/commands.ts +20 -7
- package/src/terminal/tui/logPanel.test.ts +61 -0
- package/src/terminal/tui/logPanel.ts +175 -0
- package/src/terminal/tui/questionPicker.ts +168 -0
- package/src/terminal/tui/questions.test.ts +86 -19
- package/src/terminal/tui/questions.ts +27 -22
- package/src/terminal/tui/runtime.ts +24 -2
- package/src/tools/askUser.test.ts +23 -2
- package/src/tools/askUser.ts +15 -5
- package/src/tools/types.ts +2 -0
- package/src/web/tools.ts +27 -5
- package/src/web/web.test.ts +26 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 2.1.2 - 2026-10-19
|
|
6
|
+
|
|
7
|
+
- Add `/log`, a full-screen snapshot of redacted Harness diagnostics and current-conversation run events.
|
|
8
|
+
- Allow argument-specific, provider-classified research calls during plan-mode runs while refusing other tools before approvals.
|
|
9
|
+
- Mark recommended options in batched questions and provide a picker for staged multi-select and free-text answers.
|
|
10
|
+
|
|
11
|
+
## 2.1.1 - 2026-10-19
|
|
12
|
+
|
|
13
|
+
- Change terminal `/plan` to run one isolated, read-only planning request; queue later messages until it settles and apply plan instructions only for that run.
|
|
14
|
+
|
|
5
15
|
## 2.1.0 - 2026-10-19
|
|
6
16
|
|
|
7
17
|
- Add per-request plan mode to SDK session runs: instructions arrive as a dynamic context update, and the tool gate refuses calls outside the read-only set. The terminal uses `/plan`, `/plan on`, and `/plan off` to narrow its active tools.
|
package/README.md
CHANGED
|
@@ -281,7 +281,9 @@ changing or reloading a session. Full OMP visual parity is not established by th
|
|
|
281
281
|
verification. `/permissions` reviews device-local Pi terminal grants and the Full Permission switch;
|
|
282
282
|
tool grants apply across terminal sessions sharing this Harness state, and Full Permission requires
|
|
283
283
|
confirmation. `/trajectory` opens recorded runs for the current native conversation, with event
|
|
284
|
-
navigation and a detail inspector.
|
|
284
|
+
navigation and a detail inspector. `/log` shows a static, redacted snapshot of Harness diagnostics
|
|
285
|
+
and run events for the current conversation; press Escape to close. See
|
|
286
|
+
[terminal architecture and evidence](docs/terminal-tui.md),
|
|
285
287
|
[the decision](docs/decisions/ADR-0001-owned-terminal.md), and [third-party notices](NOTICE.md).
|
|
286
288
|
|
|
287
289
|
### `/accounts` in the terminal
|