@xingular/harness 1.1.1 → 1.2.0
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 +13 -0
- package/README.md +28 -25
- package/dist/cli.js +6675 -2501
- package/dist/sdk/accounts/accounts.d.ts +27 -3
- package/dist/sdk/accounts/accounts.js +78 -24
- package/dist/sdk/accounts/secrets.d.ts +12 -0
- package/dist/sdk/accounts/secrets.js +114 -7
- package/dist/sdk/accounts/store.d.ts +26 -1
- package/dist/sdk/accounts/store.js +1 -1
- package/dist/sdk/agents/builtin.js +15 -1
- package/dist/sdk/agents/planResearch.d.ts +5 -0
- package/dist/sdk/agents/planResearch.js +19 -0
- package/dist/sdk/agents/profiles.d.ts +2 -1
- package/dist/sdk/agents/profiles.js +9 -4
- package/dist/sdk/annotations/pageScript.js +349 -48
- package/dist/sdk/annotations/part.js +34 -23
- package/dist/sdk/annotations/store.d.ts +7 -0
- package/dist/sdk/annotations/store.js +13 -5
- package/dist/sdk/browser/backend.d.ts +16 -0
- package/dist/sdk/browser/backend.js +17 -0
- package/dist/sdk/browser/contracts.d.ts +19 -0
- package/dist/sdk/browser/contracts.js +116 -0
- package/dist/sdk/browser/tools.d.ts +1 -4
- package/dist/sdk/browser/tools.js +14 -91
- package/dist/sdk/cli.js +5 -4
- package/dist/sdk/commands/list.d.ts +3 -0
- package/dist/sdk/commands/list.js +75 -0
- package/dist/sdk/commands/registry.d.ts +250 -0
- package/dist/sdk/commands/registry.js +47 -0
- package/dist/sdk/commands/routes.d.ts +16 -0
- package/dist/sdk/commands/routes.js +33 -0
- package/dist/sdk/core/commandBudget.d.ts +23 -0
- package/dist/sdk/core/commandBudget.js +57 -0
- package/dist/sdk/core/index.js +17 -1
- package/dist/sdk/core/interactiveProfile.d.ts +46 -0
- package/dist/sdk/core/interactiveProfile.js +143 -0
- package/dist/sdk/core/workspace.d.ts +13 -0
- package/dist/sdk/core/workspace.js +88 -0
- package/dist/sdk/core/workspaceBashTool.d.ts +4 -0
- package/dist/sdk/core/workspaceBashTool.js +36 -0
- package/dist/sdk/core/workspaceSandbox.d.ts +31 -0
- package/dist/sdk/core/workspaceSandbox.js +320 -0
- package/dist/sdk/core/workspaceWriteOperations.d.ts +22 -0
- package/dist/sdk/core/workspaceWriteOperations.js +206 -0
- package/dist/sdk/doctor/types.d.ts +2 -2
- package/dist/sdk/harness.d.ts +7 -0
- package/dist/sdk/harness.js +42 -2
- package/dist/sdk/index.d.ts +6 -1
- package/dist/sdk/index.js +3 -0
- package/dist/sdk/pi/runtime.d.ts +2 -1
- package/dist/sdk/pi/runtime.js +2 -2
- package/dist/sdk/plugins/builtin.js +29 -12
- package/dist/sdk/plugins/builtinRegistry.d.ts +10 -3
- package/dist/sdk/plugins/builtinRegistry.js +30 -8
- package/dist/sdk/plugins/catalogue.js +2 -1
- package/dist/sdk/plugins/commandPrefix.d.ts +8 -0
- package/dist/sdk/plugins/commandPrefix.js +21 -0
- package/dist/sdk/plugins/firstParty.d.ts +1 -1
- package/dist/sdk/plugins/firstParty.js +8 -2
- package/dist/sdk/plugins/inventory.js +4 -3
- package/dist/sdk/plugins/manifest.d.ts +2 -0
- package/dist/sdk/plugins/manifest.js +2 -1
- package/dist/sdk/plugins/surfaces.d.ts +5 -0
- package/dist/sdk/plugins/surfaces.js +11 -0
- package/dist/sdk/plugins/types.d.ts +15 -0
- package/dist/sdk/prompt/compile.d.ts +14 -0
- package/dist/sdk/prompt/compile.js +65 -29
- package/dist/sdk/prompt/standard.d.ts +17 -0
- package/dist/sdk/prompt/standard.js +21 -0
- package/dist/sdk/server/methods.js +18 -0
- package/dist/sdk/server/remote.js +36 -11
- package/dist/sdk/sessions/compactionCheckpoint.d.ts +11 -0
- package/dist/sdk/sessions/compactionCheckpoint.js +79 -0
- package/dist/sdk/sessions/continuation.d.ts +3 -0
- package/dist/sdk/sessions/continuation.js +5 -1
- package/dist/sdk/sessions/contracts.d.ts +168 -0
- package/dist/sdk/sessions/contracts.js +59 -1
- package/dist/sdk/sessions/control.d.ts +72 -0
- package/dist/sdk/sessions/control.js +158 -0
- package/dist/sdk/sessions/initialBash.d.ts +7 -0
- package/dist/sdk/sessions/initialBash.js +7 -0
- package/dist/sdk/sessions/planMode.d.ts +14 -3
- package/dist/sdk/sessions/planMode.js +73 -16
- package/dist/sdk/sessions/registry.d.ts +1 -1
- package/dist/sdk/sessions/registry.js +2 -2
- package/dist/sdk/sessions/runStore.d.ts +14 -0
- package/dist/sdk/sessions/runStore.js +35 -0
- package/dist/sdk/sessions/runner.d.ts +40 -2
- package/dist/sdk/sessions/runner.js +161 -13
- package/dist/sdk/sessions/sessions.d.ts +23 -3
- package/dist/sdk/sessions/sessions.js +202 -17
- package/dist/sdk/sessions/subagentService.d.ts +9 -0
- package/dist/sdk/sessions/subagentService.js +63 -4
- package/dist/sdk/sessions/workSlice.d.ts +103 -0
- package/dist/sdk/sessions/workSlice.js +297 -0
- package/dist/sdk/sessions/workspaceBoundary.d.ts +15 -0
- package/dist/sdk/sessions/workspaceBoundary.js +46 -0
- package/dist/sdk/terminal/browserControl.js +2 -1
- package/dist/sdk/terminal/controller.d.ts +11 -3
- package/dist/sdk/terminal/controller.js +40 -13
- package/dist/sdk/terminal/opentui/theme.d.ts +43 -0
- package/dist/sdk/terminal/opentui/theme.js +87 -0
- package/dist/sdk/terminal/piExtension.d.ts +6 -1
- package/dist/sdk/terminal/piExtension.js +154 -54
- package/dist/sdk/terminal/standalone.d.ts +7 -0
- package/dist/sdk/terminal/standalone.js +72 -13
- package/dist/sdk/terminal/subagentMonitor.d.ts +11 -2
- package/dist/sdk/terminal/subagentMonitor.js +32 -1
- package/dist/sdk/terminal/terminals.d.ts +19 -2
- package/dist/sdk/terminal/terminals.js +245 -35
- package/dist/sdk/terminal/tui/annotateCommand.d.ts +1 -1
- package/dist/sdk/terminal/tui/annotateCommand.js +3 -3
- package/dist/sdk/terminal/tui/commandPages.d.ts +3 -1
- package/dist/sdk/terminal/tui/commandPages.js +3 -0
- package/dist/sdk/terminal/tui/commands.d.ts +2 -0
- package/dist/sdk/terminal/tui/commands.js +205 -124
- package/dist/sdk/terminal/tui/list.d.ts +14 -1
- package/dist/sdk/terminal/tui/list.js +96 -14
- package/dist/sdk/terminal/tui/pageOverlay.js +13 -4
- package/dist/sdk/terminal/tui/pages/annotatePage.d.ts +1 -1
- package/dist/sdk/terminal/tui/pages/notesPage.d.ts +5 -5
- package/dist/sdk/terminal/tui/pages/notesPage.js +18 -18
- package/dist/sdk/terminal/tui/pages/pluginsPage.d.ts +0 -5
- package/dist/sdk/terminal/tui/pages/pluginsPage.js +9 -3
- package/dist/sdk/terminal/tui/pages/subagentsPage.d.ts +1 -0
- package/dist/sdk/terminal/tui/pages/subagentsPage.js +98 -16
- package/dist/sdk/terminal/tui/pages/usagePage.d.ts +43 -0
- package/dist/sdk/terminal/tui/pages/usagePage.js +370 -0
- package/dist/sdk/terminal/tui/piAdapter.d.ts +1 -2
- package/dist/sdk/terminal/tui/piAdapter.js +3 -5
- package/dist/sdk/terminal/tui/pluginCommands.d.ts +2 -0
- package/dist/sdk/terminal/tui/pluginCommands.js +13 -9
- package/dist/sdk/terminal/tui/runtime.js +23 -3
- package/dist/sdk/terminal/tui/sessionPicker.d.ts +40 -0
- package/dist/sdk/terminal/tui/sessionPicker.js +141 -0
- package/dist/sdk/tools/checklist.js +1 -0
- package/dist/sdk/tools/checkpoint.d.ts +27 -0
- package/dist/sdk/tools/checkpoint.js +154 -0
- package/dist/sdk/tools/getCapabilities.d.ts +31 -0
- package/dist/sdk/tools/getCapabilities.js +34 -0
- package/dist/sdk/tools/spawnSubagent.js +4 -3
- package/dist/sdk/usage/analytics.d.ts +20 -0
- package/dist/sdk/usage/analytics.js +151 -0
- package/dist/sdk/usage/ledger.d.ts +38 -0
- package/dist/sdk/usage/ledger.js +142 -0
- package/dist/sdk/usage/limits/adapters.d.ts +11 -0
- package/dist/sdk/usage/limits/adapters.js +349 -0
- package/dist/sdk/usage/limits/capture.d.ts +8 -0
- package/dist/sdk/usage/limits/capture.js +47 -0
- package/dist/sdk/usage/limits/http.d.ts +12 -0
- package/dist/sdk/usage/limits/http.js +51 -0
- package/dist/sdk/usage/limits/normalize.d.ts +15 -0
- package/dist/sdk/usage/limits/normalize.js +211 -0
- package/dist/sdk/usage/limits/service.d.ts +30 -0
- package/dist/sdk/usage/limits/service.js +176 -0
- package/dist/sdk/usage/limits/types.d.ts +65 -0
- package/dist/sdk/usage/limits/types.js +1 -0
- package/dist/sdk/usage/serverMethods.d.ts +3 -0
- package/dist/sdk/usage/serverMethods.js +22 -0
- package/dist/sdk/usage/service.d.ts +32 -0
- package/dist/sdk/usage/service.js +66 -0
- package/dist/sdk/usage/settings.d.ts +7 -0
- package/dist/sdk/usage/settings.js +28 -0
- package/dist/sdk/usage/types.d.ts +60 -0
- package/dist/sdk/usage/types.js +4 -0
- package/dist/terminal-opentui.js +5207 -1883
- package/dist/terminal-pi.js +1658 -271
- package/docs/architecture/02-sessions-and-runs.md +128 -26
- package/docs/architecture/04-prompt.md +50 -12
- package/docs/architecture/06-plugins-and-capabilities.md +24 -7
- package/docs/architecture/07-tools-and-gate.md +104 -24
- package/docs/architecture/08-memory-and-history.md +4 -2
- package/docs/architecture/09-accounts-and-connectors.md +31 -1
- package/docs/architecture/10-server-protocol.md +58 -3
- package/docs/architecture/11-terminal.md +105 -42
- package/docs/architecture/12-storage.md +30 -2
- package/docs/architecture/13-world-tools.md +22 -1
- package/docs/architecture/14-surfaces-and-parity.md +54 -7
- package/docs/architecture/README.md +3 -1
- package/docs/architecture/proposals/PROP-0017-page-annotations.md +6 -2
- package/docs/architecture/proposals/PROP-0018-annotation-queue-and-app-targets.md +1 -1
- package/docs/architecture/proposals/PROP-0031-plugin-command-owner-namespaces.md +54 -0
- package/docs/architecture/proposals/PROP-0032-planning-quality.md +196 -0
- package/docs/architecture/proposals/PROP-0033-compaction-plan-checkpoints.md +75 -0
- package/docs/architecture/proposals/PROP-0034-conversation-fast-mode.md +120 -0
- package/docs/architecture/proposals/PROP-0035-retain-subagent-status.md +47 -0
- package/docs/architecture/proposals/PROP-0036-first-class-harness-commands.md +59 -0
- package/docs/architecture/proposals/PROP-0037-workspace-write-boundary.md +63 -0
- package/docs/architecture/proposals/PROP-0038-annotate-open-shadow-roots.md +73 -0
- package/docs/architecture/proposals/PROP-0039-workspace-boundary-hardening.md +139 -0
- package/docs/architecture/proposals/PROP-0040-one-launch-path.md +87 -0
- package/docs/architecture/proposals/PROP-0041-bounded-work-slices.md +247 -0
- package/docs/architecture/proposals/PROP-0042-usage-and-provider-limits.md +127 -0
- package/docs/architecture/proposals/PROP-0043-read-only-plan-bash.md +74 -0
- package/docs/architecture/proposals/README.md +14 -0
- package/docs/decisions/ADR-0001-owned-terminal.md +1 -1
- package/docs/decisions/ADR-0021-required-command-namespaces.md +1 -1
- package/docs/decisions/ADR-0031-plugin-command-owner-namespaces.md +37 -0
- package/docs/decisions/ADR-0032-compaction-run-checkpoints.md +33 -0
- package/docs/decisions/ADR-0033-plan-mode-research-delegation.md +47 -0
- package/docs/decisions/ADR-0034-first-class-harness-terminal-commands.md +25 -0
- package/docs/decisions/ADR-0035-one-launch-path.md +40 -0
- package/docs/decisions/ADR-0036-workspace-write-operation-boundary.md +54 -0
- package/docs/decisions/ADR-0037-usage-ledger-and-provider-limits.md +44 -0
- package/docs/decisions/ADR-0038-plan-bash-os-read-only.md +29 -0
- package/docs/experiments/EXP-0003-performance-audit/data/session-runtime-replication.json +420 -0
- package/docs/experiments/EXP-0003-performance-audit/data/session-runtime.json +420 -0
- package/docs/experiments/EXP-0003-performance-audit/data/terminal-compact.json +376 -0
- package/docs/experiments/EXP-0003-performance-audit/data/terminal-history.json +422 -0
- package/docs/experiments/EXP-0003-performance-audit/data/terminal-question.json +95 -0
- package/docs/experiments/EXP-0003-performance-audit/data/terminal-wide.json +1036 -0
- package/docs/experiments/EXP-0003-performance-audit/plan.md +109 -0
- package/docs/experiments/EXP-0003-performance-audit/results.md +151 -0
- package/docs/handoff-2026-10-25-app-parity-and-solo-tabs.md +202 -0
- package/docs/parity.md +80 -24
- package/docs/releases/1.1.1.md +28 -0
- package/docs/releases/1.2.0.md +49 -0
- package/docs/releases/4.0.0.md +10 -9
- package/docs/releases/README.md +35 -30
- package/docs/study/00-index.md +3 -0
- package/docs/study/STUDY-0003-long-horizon-runs.md +210 -0
- package/docs/terminal-tui.md +100 -59
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.0 — workspace safety and terminal capabilities
|
|
4
|
+
|
|
5
|
+
- Scope model-controlled file writes and Bash to the active project workspace by default; reject the filesystem root as a workspace. Native writes use revalidated atomic replacement; Bash fails closed on incomplete hard-link scans or unavailable sandboxing (macOS also blocks workspace-local hard links). Explicit outside-scope Bash requires approval before one execution, showing the complete escaped command; output never triggers approval or retry.
|
|
6
|
+
- Let plan mode run Bash in a read-only OS sandbox (no writes except a discarded temp folder, no network, nothing that widens it), so plans can check claims with commands such as `git log` (PROP-0043).
|
|
7
|
+
- Make plan mode evidence-grounded and allow bounded read-only research delegation. Rehydrate the active checklist and plan instructions after compaction, and retain the latest subagent status until the next run.
|
|
8
|
+
- Give plugin-owned terminal commands stable owner namespaces and make Harness-owned routes first-class core commands. Prior command forms remain hidden compatibility aliases for one release; update scripts and keybindings to canonical routes.
|
|
9
|
+
- Extend page annotations into open shadow roots while preserving existing document-only annotation targets. Closed shadow roots and frames remain unsupported.
|
|
10
|
+
- Record each run's resolved workspace root as an additive run-record field; older records remain readable.
|
|
11
|
+
- Add a searchable saved-session picker and composer history for user prompts, Bash commands and executed slash commands, restoring the draft, cursor, mode and attachments while browsing. Fix compact question-dock sizing/scrolling and narrow-page footer rendering.
|
|
12
|
+
- Add reproducible PTY and session-runtime profiling plus [EXP-0003's baseline report](docs/experiments/EXP-0003-performance-audit/results.md); it measures 1.1.1 on a dirty worktree, not 1.2.0.
|
|
13
|
+
- Update the pinned Pi runtime to 1.4.0, with the terminal adapter's private hooks and HTTP dispatcher chunk rechecked against it.
|
|
14
|
+
- Fix the work-slice stall guard reporting a reply's own checklist updates as repeated work. A call's identity is its name and every argument, hashed, instead of six fixed field names that made every `checklist_write` look alike; the counts and the nudge start fresh in each reply, so a terminal session no longer carries a repeat from one reply into the next. Three identical calls are still named once, and a repeat after that still ends the slice.
|
|
15
|
+
|
|
3
16
|
## 1.1.1 — agent profiles and named subagents
|
|
4
17
|
|
|
5
18
|
The first published release of the 1.1 line, and npm `latest`. It follows the 1.0.0 baseline; earlier 2.x–4.x numbers keep their existing meaning and are not reused. The 1.1.0 tag was pushed, but its release run stopped before publishing, so nothing was published under 1.1.0. This release carries the same changes, plus the release-pipeline fixes below.
|
package/README.md
CHANGED
|
@@ -161,7 +161,8 @@ working folder brings.
|
|
|
161
161
|
and `editor` become the run's question events; `notify`, `setStatus` and `setWidget` become
|
|
162
162
|
`extension.notice` run events. What needs a terminal (custom components, key handlers, themes)
|
|
163
163
|
does nothing. A tool an extension registered is offered to the model and asks before every
|
|
164
|
-
call. A command
|
|
164
|
+
call. A terminal command runs as `/<owner-prefix>:<command>`; package extensions use their
|
|
165
|
+
normalized package name, or an optional `harness.commandPrefix` from `package.json`.
|
|
165
166
|
- **The gate runs last.** In an SDK session it is an inline extension, loaded after those on
|
|
166
167
|
disk. A terminal retains its final prepared `--extension` bridge argument; the owned frontend
|
|
167
168
|
loads that bridge as the final trusted inline factory. A plugin that changes a tool call's
|
|
@@ -304,29 +305,29 @@ worktree: a detached checkout under `<state dir>/worktrees/` that carries your u
|
|
|
304
305
|
changes, copies ignored files named in `.worktreeinclude`, and runs the repository's
|
|
305
306
|
`.xharness/worktree-setup` once you trust it (`xagent worktree trust-setup`). The 15 most recent
|
|
306
307
|
managed worktrees per repository are kept; older ones are pruned, and unsaved work is kept as a
|
|
307
|
-
snapshot you can restore. `/
|
|
308
|
+
snapshot you can restore. `/worktree` in a session, `xagent worktree <command>` in a shell, and
|
|
308
309
|
the `worktrees.*` server methods offer the same actions: new, switch, create branch, hand off to
|
|
309
310
|
or from the main checkout, remove, restore, prune and adopt. An application passes a worktree's id
|
|
310
311
|
as `run.worktreeId` and the session works in it. See
|
|
311
312
|
[PROP-0016](docs/architecture/proposals/PROP-0016-managed-worktrees.md).
|
|
312
313
|
|
|
313
|
-
###
|
|
314
|
+
### Web annotations
|
|
314
315
|
|
|
315
|
-
`/
|
|
316
|
-
agent's browser).
|
|
317
|
-
|
|
316
|
+
`/annotate:` (or `/annotate:annotate [url]`) opens a visible capture browser (its own window and profile, separate from the
|
|
317
|
+
agent's browser). Annotate the whole page, select a passage, or click an element there, then write a
|
|
318
|
+
comment in the terminal. `/annotate:notes` lists, edits, resolves, reveals and deletes annotations. An annotation is private
|
|
318
319
|
until you share it with the session; its agent then reads it with `page_notes_list` and
|
|
319
|
-
`page_notes_read`, with quoted page text marked untrusted.
|
|
320
|
+
`page_notes_read`, with quoted page text marked untrusted. Annotations live in `<data root>/annotations/`
|
|
320
321
|
and the `annotations.*` server methods give a host the same store. A host with its own web view
|
|
321
322
|
runs the same page helper (`annotations.pageScript`). See
|
|
322
323
|
[PROP-0017](docs/architecture/proposals/PROP-0017-page-annotations.md).
|
|
323
324
|
|
|
324
|
-
`/
|
|
325
|
+
`/annotate:` opens the inspector:
|
|
325
326
|
- Hover a component in the browser or an app window, click it, and write a comment in the popover.
|
|
326
327
|
- Then keep it as a note, add it to the agent's queue, or send it now. The agent reports back with `page_notes_mark_fixed`.
|
|
327
328
|
- App windows work two ways:
|
|
328
|
-
- **DevTools port:** start an Electron app with `--remote-debugging-port=9229` and run `/
|
|
329
|
-
- **Page bridge:** for a macOS web view such as Tauri, run `/
|
|
329
|
+
- **DevTools port:** start an Electron app with `--remote-debugging-port=9229` and run `/annotate:annotate --app 9229`.
|
|
330
|
+
- **Page bridge:** for a macOS web view such as Tauri, run `/annotate:annotate --bridge` and load the script tag it shows while developing the app. Allow `http://127.0.0.1:<port>` in the app's `script-src` and `connect-src`.
|
|
330
331
|
- A host drives the same flow with `annotations.capture.*`, and sends to its own sessions with `annotations.compose` and `annotations.delivered`.
|
|
331
332
|
|
|
332
333
|
See [PROP-0018](docs/architecture/proposals/PROP-0018-annotation-queue-and-app-targets.md).
|
|
@@ -346,9 +347,13 @@ Pi supplies the persistent execution runtime, native history and rich content co
|
|
|
346
347
|
existing isolated account, compiled context, approval gate, telemetry and Wiki/socket commands
|
|
347
348
|
remain behind the terminal. No Pi `InteractiveMode` is constructed.
|
|
348
349
|
|
|
349
|
-
|
|
350
|
-
`/
|
|
351
|
-
|
|
350
|
+
Harness terminal commands stay unprefixed: `/doctor`, `/worktree`, `/trajectory`, `/subagents`,
|
|
351
|
+
`/agents`, and `/mcp`. `/history` continues to navigate session branches. These commands are
|
|
352
|
+
registered independently of feature-plugin command metadata. Other plugin-owned commands use
|
|
353
|
+
`/<owner-prefix>:<command>`; for example, annotate a page with `/annotate:annotate
|
|
354
|
+
https://example.com`, or open the default annotation pane with `/annotate:`. Former owner-qualified
|
|
355
|
+
and `/plugin:<command>` routes for promoted Harness commands remain hidden compatibility aliases for
|
|
356
|
+
one release; help and completion show only canonical forms.
|
|
352
357
|
|
|
353
358
|
`/resume` stays inside the prepared account history and working folder. Cancel an active response
|
|
354
359
|
before changing or reloading a session. Full OMP visual parity is not established by the current
|
|
@@ -363,10 +368,10 @@ To keep an existing message and attachments, open Ctrl+K, choose Skills, then Us
|
|
|
363
368
|
Variant inspection distinguishes the pinned session version from the latest saved version.
|
|
364
369
|
Adding a library skill or rule creates a validated version for future sessions.
|
|
365
370
|
|
|
366
|
-
`/accounts`, `/permissions`, `/settings`, `/
|
|
371
|
+
`/accounts`, `/permissions`, `/settings`, `/trajectory` and `/log` retain their own centered pages.
|
|
367
372
|
`/permissions` reviews device-local Pi terminal grants and the Full Permission switch; tool grants
|
|
368
373
|
apply across terminal sessions sharing this Harness state, and Full Permission requires confirmation.
|
|
369
|
-
`/
|
|
374
|
+
`/trajectory` opens recorded runs for the current native conversation,
|
|
370
375
|
with event navigation and a detail inspector. `/log` shows a static, redacted snapshot of Harness
|
|
371
376
|
diagnostics and run events for the current conversation; press Escape to close. See
|
|
372
377
|
[terminal architecture and evidence](docs/terminal-tui.md),
|
|
@@ -496,24 +501,22 @@ omit this option retain the existing lifecycle and direct-write contract.
|
|
|
496
501
|
|
|
497
502
|
## Readiness diagnostics
|
|
498
503
|
|
|
499
|
-
Use `/
|
|
504
|
+
Use `/doctor` in the terminal for local readiness checks and explicitly selected live probes. The same
|
|
500
505
|
structured jobs are available through `harness.doctor` and `doctor.*` server methods. See
|
|
501
506
|
[Doctor](docs/doctor.md) for coverage, consent, isolation, and provider callbacks.
|
|
502
507
|
|
|
503
|
-
## Public
|
|
508
|
+
## Public package
|
|
504
509
|
|
|
505
|
-
The
|
|
510
|
+
The package is ESM: import from `@xingular/harness` or supported subpaths such as
|
|
506
511
|
`@xingular/harness/variant/seed`. JavaScript and declarations are shipped in `dist/sdk`; a
|
|
507
|
-
TypeScript loader is not required. Node 22.19 or later is required. The interactive terminal
|
|
508
|
-
|
|
512
|
+
TypeScript loader is not required. Node 22.19 or later is required. The interactive terminal also
|
|
513
|
+
requires Bun (release builds use 1.4.2); the CLI reports its version with `xagent --version`.
|
|
509
514
|
Original project code is Apache-2.0. See LICENSE, NOTICE.md and THIRD_PARTY_LICENSES.md.
|
|
510
515
|
|
|
511
516
|
A host providing its own browser tools sets `browser: false` on `createHarness` to disable the
|
|
512
517
|
generic backend and prevent tool-name collisions. The desktop App uses this for shared tabs.
|
|
513
518
|
The default standalone Harness keeps its isolated browser backend enabled.
|
|
514
519
|
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
Publication requires registry verification, green CI on supported operating systems, and approval of
|
|
519
|
-
the exact candidate and tag push.
|
|
520
|
+
See the [1.2.0 release notes](docs/releases/1.2.0.md), [1.1.1 release notes](docs/releases/1.1.1.md),
|
|
521
|
+
and the [release procedure](docs/releases/README.md). Publication requires pre-tag review of the exact candidate, two-OS CI, a separate protected
|
|
522
|
+
`npm-publish` approval, registry verification, and npm provenance.
|