@zhivex-ai/harness 1.1.1 → 1.2.0-rc.5
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 +100 -0
- package/README.md +14 -7
- package/SECURITY.md +1 -1
- package/SUPPORT.md +3 -3
- package/benchmarks/README.md +17 -0
- package/contracts/public-api.json +90 -5
- package/contracts/stable-api-signatures.json +36 -36
- package/dist/acp-cli.d.ts +2 -0
- package/dist/acp-cli.js +15106 -0
- package/dist/cli/arguments.d.ts +5 -1
- package/dist/cli/cli-credentials.d.ts +5 -0
- package/dist/cli/cli-options.d.ts +1 -1
- package/dist/cli/console/console-budget.d.ts +9 -0
- package/dist/cli/console/console-commands.d.ts +3 -3
- package/dist/cli/console/console-compaction.d.ts +18 -0
- package/dist/cli/console/console-input.d.ts +1 -1
- package/dist/cli/console/console-presentation.d.ts +1 -0
- package/dist/cli/console/console-progress.d.ts +6 -0
- package/dist/cli/doctor.d.ts +2 -2
- package/dist/cli/presentation.d.ts +5 -1
- package/dist/cli/qwen-connection.d.ts +23 -0
- package/dist/cli/terminal/session-grants.d.ts +4 -0
- package/dist/cli/terminal/terminal-markdown.d.ts +4 -3
- package/dist/cli/terminal/terminal-ui.d.ts +3 -0
- package/dist/cli/terminal/tool-activity.d.ts +10 -9
- package/dist/cli/tool-execution.d.ts +1 -0
- package/dist/cli-entry-0mhbpe8j.js +375 -0
- package/dist/cli-entry-1bx83sw4.js +4 -0
- package/dist/cli-entry-64pdp3k5.js +17 -0
- package/dist/cli-entry-dt9rtkb5.js +12557 -0
- package/dist/cli-entry-tmam2yr5.js +1818 -0
- package/dist/cli-entry.d.ts +2 -0
- package/dist/cli-ffftb7w8.js +5475 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +15 -19168
- package/dist/client/acp-stdio.d.ts +9 -0
- package/dist/client/acp.d.ts +18 -0
- package/dist/client/index.d.ts +2 -0
- package/dist/client/json-contracts.d.ts +2 -8
- package/dist/config-h87tpdy6.js +59 -0
- package/dist/context/adaptive-compaction.d.ts +2 -0
- package/dist/context/compaction.d.ts +3 -1
- package/dist/context/qwen-reasoning.d.ts +5 -0
- package/dist/context/scoped-context.d.ts +61 -0
- package/dist/context/semantic-compaction.d.ts +21 -0
- package/dist/context/task-memory.d.ts +11 -6
- package/dist/execution/execution-environment.d.ts +4 -0
- package/dist/execution/oci-observability.d.ts +2 -0
- package/dist/execution/patch-diagnostics.d.ts +6 -0
- package/dist/hostile-repository-demo.js +3619 -1717
- package/dist/index.d.ts +13 -1
- package/dist/index.js +10908 -7985
- package/dist/integrations/mcp.d.ts +23 -3
- package/dist/models/catalog.d.ts +76 -0
- package/dist/models/compaction-recommendations.d.ts +28 -0
- package/dist/models/sdk-catalog-adapter.d.ts +7 -0
- package/dist/persistence/operations.d.ts +5 -5
- package/dist/persistence/state-backup.d.ts +52 -0
- package/dist/persistence/state-gitignore.d.ts +2 -0
- package/dist/persistence/workspace-checkpoints.d.ts +149 -0
- package/dist/providers/meta-errors.d.ts +2 -0
- package/dist/runtime/config.d.ts +9 -3
- package/dist/runtime/context-runtime.d.ts +12 -0
- package/dist/runtime/error-diagnostics.d.ts +625 -0
- package/dist/runtime/harness.d.ts +13 -4
- package/dist/runtime/model-edit-references.d.ts +6 -0
- package/dist/runtime/progress-monitor.d.ts +29 -0
- package/dist/runtime/provider-diagnostics.d.ts +35 -0
- package/dist/runtime/runtime-checkpoints.d.ts +3 -0
- package/dist/runtime/runtime-diagnostics.d.ts +5 -5
- package/dist/runtime/runtime-policy.d.ts +9 -2
- package/dist/runtime/time-to-safe-fix.d.ts +289 -1
- package/dist/runtime/tool-execution.d.ts +11 -0
- package/dist/runtime/tool-policy.d.ts +55 -0
- package/dist/runtime/tool-scheduling.d.ts +5 -0
- package/dist/runtime/usage-ledger.d.ts +1 -0
- package/dist/service-cli.js +8358 -6373
- package/dist/service-client-cli-da243ef0.js +1028 -0
- package/dist/tools/dependency-read.d.ts +16 -0
- package/dist/tools/workspace.d.ts +5 -0
- package/dist/verify-historical-migrations.js +5222 -3212
- package/dist/zhx.js +15 -19168
- package/docs/ACP.md +55 -0
- package/docs/CLI.md +230 -26
- package/docs/CONTEXT_ENGINEERING.md +162 -18
- package/docs/CREDENTIALS.md +38 -6
- package/docs/DURABLE_OPERATIONS.md +2 -0
- package/docs/EXTENSIBILITY.md +85 -4
- package/docs/FIRST_USE.md +7 -5
- package/docs/MODEL_CATALOG.md +24 -0
- package/docs/README.md +1 -0
- package/docs/REPOSITORY_EDITING.md +21 -0
- package/docs/STABILITY.md +2 -0
- package/docs/SUPPORT_MATRIX_1_1.md +17 -0
- package/docs/USAGE.md +9 -0
- package/docs/WORKSPACE_CHECKPOINTS.md +27 -0
- package/docs/images/cli-conversation.png +0 -0
- package/docs/support-matrix-1.1.json +29 -0
- package/evaluations/golden-expectations.json +5 -0
- package/evaluations/representative-assembly-matrix.json +73 -1
- package/examples/README.md +2 -2
- package/package.json +17 -11
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,100 @@ All notable changes to Zhivex Harness are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The project follows Semantic Versioning. During `0.x`, minor releases may change user-facing contracts when the change is documented with a migration note. Patch releases remain backwards compatible bug fixes.
|
|
6
6
|
|
|
7
|
+
## 1.2.0-rc.5 - 2026-09-26
|
|
8
|
+
|
|
9
|
+
- Adapt the assistant loop to explanation, investigation, design and implementation without imposing a repair ceremony on read-only work. Remove the `strict`/`repair` runtime profile choice; callers requiring verified completion use `requireVerifiedDelivery` or `--require-verified-delivery` directly. This is an intentional pre-promotion API/CLI break; saved connection profiles and subagent roles remain independent.
|
|
10
|
+
- Unify bounded tool-error, invalid-argument and unknown-tool recovery across CLI, SDK and delegated runs, independently of the repair controller. Explicit fail-fast tool options remain available.
|
|
11
|
+
- Return malformed application-owned delegation arguments through bounded SDK validation feedback without launching a child. Preserve hidden-tool rejection and exact task-ID authorization.
|
|
12
|
+
- Preserve conversational decisions and bounded, redacted local error observations through repeated deterministic and model-assisted compaction. Context is working memory; approvals and verification remain tool-owned.
|
|
13
|
+
- Prioritize recent user corrections over the historical objective and assistant recollections during compaction; retain more distinct user steering within the same summary budget.
|
|
14
|
+
- Use the remaining repair output budget instead of an implicit 2,048-token per-response cap. Preserve explicit caps and provider transport compatibility. Finish after relevant checks and change review without requiring duplicate audits.
|
|
15
|
+
- Refresh discovered directory guidance after normal edits instead of aborting the conversation; retain path, link, encoding and size protections.
|
|
16
|
+
- Return the matching persisted context/accounting checkpoint in all runs, and detect repeated tool cycles even when the model changes its progress narration.
|
|
17
|
+
- Invalidate failed or superseded model edit references and explain how to recover them before another approval. Keep partially failed changes pending verification and preserve closure capacity after rejected plans or out-of-scope reads.
|
|
18
|
+
- Remove lifetime cutoffs for operator requests and discovered instruction counts; paginate task history and preserve repeated latest requests such as A → B → A. New user requests reset loop history while approval resumes retain it.
|
|
19
|
+
- Share a finite 50-step default across API and chat, and accept explicit larger step/tool-call limits without the former arbitrary ceilings.
|
|
20
|
+
- Preserve the newest correction before the historical objective under tight summary budgets, including corrections after a previous summary emptied the objective. Authenticate builtin output before semantic export; restored summaries retain user objectives and steering without exporting unproven tool diagnostics or excerpts.
|
|
21
|
+
- Prepare fresh exact-artifact certification for RC5. RC4 passed base live certification but failed its representative matrix and was not published; its tag and evidence remain unchanged.
|
|
22
|
+
|
|
23
|
+
## 1.2.0-rc.4 - 2026-09-26
|
|
24
|
+
|
|
25
|
+
- Identify the precise live-execution assertion in sanitized release diagnostics: approved tool/arguments, import reference, run status, completion marker, approval/tool sequence, tool success, host content, environment binding or durable journal.
|
|
26
|
+
- Preserve a failed run's structured cause instead of reducing it to an opaque status assertion. Existing assertions, cohort, budgets and all exact-artifact release gates remain enforced.
|
|
27
|
+
- Preserve unpublished RC3 and its failed Qwen execution evidence. One local reproduction on the same RC3 tarball passed; it does not establish the CI failure's cause or certify RC4.
|
|
28
|
+
|
|
29
|
+
## 1.2.0-rc.3 - 2026-09-25
|
|
30
|
+
|
|
31
|
+
- Model-facing reviewed edits and OCI imports no longer require copying file digests or patch IDs. The runtime binds successful prior reads/inspections before requesting approval; persisted approvals and programmatic tool contracts retain their exact references.
|
|
32
|
+
- Preserve rejection of stale files and changed OCI snapshots, including after restart. Missing reference evidence requires another read/inspection; explicit legacy references are never silently replaced.
|
|
33
|
+
- Return sanitized argument-validation receipts in CLI and representative runs within existing step/error budgets. Distinguish provider syntax failures and patch inspections in release diagnostics without retaining provider payloads or adding retries.
|
|
34
|
+
- Prepare the unchanged Meta/Qwen/OpenAI cohort and 42-case release gate for the exact RC3 artifact. RC2 failed representative validation and was not published.
|
|
35
|
+
|
|
36
|
+
## 1.2.0-rc.2 - 2026-09-25
|
|
37
|
+
|
|
38
|
+
- Speed up standalone CLI help/version loading, bounded workspace and OCI inventory reads, scoped-context validation and chat persistence reuse; enable bounded independent CLI reads with mutation barriers.
|
|
39
|
+
|
|
40
|
+
- Recover one terminal OCI patch-ID mismatch against an unchanged inspected snapshot through model feedback and a fresh approval; preserve the limit across resume.
|
|
41
|
+
- Run release live provider gates against the validated tarball and require packaged Desktop restart, effect-recovery, cancellation and worktree smokes in CI.
|
|
42
|
+
- Let Desktop offer stay/cancel before draining IPC blocked on an active run; retain draining before host shutdown.
|
|
43
|
+
|
|
44
|
+
- Preserve OCI inspection references across approval restart and emit sanitized diagnostics distinguishing submitted patch-ID mismatch, snapshot drift, unavailable review evidence and execution-binding changes; retain exact-byte import rejection.
|
|
45
|
+
|
|
46
|
+
## 1.2.0-rc.1 - 2026-09-25
|
|
47
|
+
|
|
48
|
+
- Prepare the next-channel candidate with Meta `muse-spark-1.3`, Qwen `qwen3.8-flash` and OpenAI `gpt-6-luna` across live and representative certification. Fresh exact-artifact certification and publication remain pending.
|
|
49
|
+
- Remove archived candidate notes and exploratory design assets from the working tree; preserve links to their Git history.
|
|
50
|
+
|
|
51
|
+
- Integrate the coordinated stable SDK batch (Core 1.24 / Agents 1.10): SDK-owned auxiliary compaction reservations and durable receipts, catalog recommendation contracts, and opt-in MCP HTTP/OAuth transport. Preserve the existing MCP protocol by default.
|
|
52
|
+
|
|
53
|
+
- Add opt-in model-assisted compaction with explicit provider/model selection, shared token budgets, and durable usage accounting; retain deterministic compaction by default.
|
|
54
|
+
- Enrich the model catalog with sourced context/output limits, pricing evidence, and conservative compaction recommendations available through `/compaction`.
|
|
55
|
+
- Load scoped repository instructions after authorized reads, detect repeated unproductive cycles, and execute approved independent local reads concurrently with mutation barriers.
|
|
56
|
+
- Add experimental declarative tool policies, allowlisted MCP resources, an ACP text-session stdio adapter (`zhx-acp`), and reviewable workspace checkpoint restore APIs with crash recovery and portable backups.
|
|
57
|
+
|
|
58
|
+
- Normalize fragmented Qwen reasoning losslessly in saved histories and new streams so repeated event envelopes do not exhaust compaction limits.
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
- Prevent long `runHarness` streams from exhausting the SDK replay history; retain a bounded tail with full live delivery and observe completion rejections immediately.
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
- Keep compact chat progress visible during model waits and retain grouped summaries of completed tools.
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
- Local chat now defaults to 50 steps with `/limits` controls, exposes persisted step exhaustion, and uses compact approval cards with keyboard choices and stable activity rows.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
- Interactive Qwen service/region credentials, explicit endpoint conflict handling, optional `/connection` probe, and session-scoped `/approvals` menu.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
- Add local ask/auto/restricted approval modes and approval-gated, bounded dependency metadata/type reads with task-scoped consent.
|
|
74
|
+
- Let local CLI runs recover from tool execution failures within existing error budgets and explain protected-path failures in terminal diagnostics.
|
|
75
|
+
|
|
76
|
+
- Default new local interactive sessions to continued execution without cumulative token ceilings; preserve explicit limits, saved policies and bounded automation/SDK/service defaults.
|
|
77
|
+
- Add `--token-budget` and `--context-tokens`, and distinguish retained context from cumulative usage and remaining budget in console diagnostics.
|
|
78
|
+
|
|
79
|
+
- Check estimated request input against remaining cumulative input and total tokens before contacting the provider.
|
|
80
|
+
- Update single-agent compaction thresholds with consumption from the current invocation; strict runs switch to an evidence-based final answer near their token budget.
|
|
81
|
+
- Preserve reported usage in failed checkpoints when an over-budget response is rejected before its tools execute.
|
|
82
|
+
|
|
83
|
+
## 1.1.4 - 2026-09-24
|
|
84
|
+
|
|
85
|
+
- Preserve provider-independent rejection reasons in sanitized diagnostics and Actions summaries, with bounded response inspection and separate transport/stream failures.
|
|
86
|
+
- Distinguish cleanup completion, result flushing and pending process exit; retain a completed provider failure when the supervisor later times out.
|
|
87
|
+
- Preserve all five bounded entries in a completed driver failure after a supervisor timeout, including a provider diagnostic at the end of the chain.
|
|
88
|
+
|
|
89
|
+
## 1.1.3 - 2026-09-24
|
|
90
|
+
|
|
91
|
+
- Add bounded model/HTTP-attempt, tool and OCI timing spans, phase history, timeout budgets and per-case Actions evidence links.
|
|
92
|
+
- Preserve bounded benchmark stage/event checkpoints across driver timeouts and display them in release summaries; reserve cleanup time within the existing deadline without accepting incomplete certification.
|
|
93
|
+
|
|
94
|
+
## 1.1.2 - 2026-09-24
|
|
95
|
+
|
|
96
|
+
- Update Qwen to 0.15.2 for the current QwenCloud Token Plan endpoint and supported Max/Flash models; document explicit credential and endpoint pairing.
|
|
97
|
+
- Keep successful tool activity out of the interactive transcript, retain transient TTY status and `/verbose`, and preserve Markdown formatting across streaming pauses.
|
|
98
|
+
- Repair safe owner-controlled SQLite lock permissions on macOS and exclude newly created local state from ordinary Git adds without deleting existing sessions.
|
|
99
|
+
- Show bounded Meta HTTP failure reasons and suppress duplicate terminal errors. The reported live HTTP 400 remains unconfirmed; no blanket retry is added.
|
|
100
|
+
|
|
7
101
|
## 1.1.1 - 2026-09-23
|
|
8
102
|
|
|
9
103
|
- Update the RC.10 SDK batch to its stable releases: Agents 1.9.0, Core 1.23.0, Gemini 0.12.2, Meta 0.2.7, OpenAI 0.13.5 and Qwen 0.15.1. Preserve approvals and exactly-once host effects across resume; the updated artifact still requires release certification.
|
|
@@ -841,3 +935,9 @@ No configuration, SQLite, approval, or execution-policy migration is required. E
|
|
|
841
935
|
deduplicates replay and reconciles lost responses before allowing another send.
|
|
842
936
|
- Verified packaged macOS chat with duplicate submission, failed check, expired
|
|
843
937
|
snapshot, transport interruption, renderer reload and split-secret fixtures.
|
|
938
|
+
|
|
939
|
+
- Local CLI continuity: align interactive tool/error/time limits with 50-step
|
|
940
|
+
turns; add `/continue` with retained results, exact session approvals for checks
|
|
941
|
+
and bounded dependency reads, a repeated-tool-failure circuit breaker and two
|
|
942
|
+
transport retries. Explicit policies, saved run receipts and automation defaults
|
|
943
|
+
remain authoritative.
|
package/README.md
CHANGED
|
@@ -6,18 +6,25 @@ Zhivex Harness is a local terminal assistant and TypeScript library. It supports
|
|
|
6
6
|
OpenAI, Qwen and Meta, with provisional Gemini support. Conversations and pending
|
|
7
7
|
approvals survive restarts.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
Use it to understand a repository, discuss a design, investigate a failure or
|
|
10
|
+
implement a change. Conversation context retains decisions, hypotheses and bounded
|
|
11
|
+
diagnostic excerpts across compaction. Edits and command execution keep their
|
|
12
|
+
own permission checks; a conversational summary never grants approval.
|
|
13
|
+
|
|
14
|
+
Version `1.2.0-rc.5` is prepared as an unpublished release candidate for npm `next`,
|
|
15
|
+
with console, local service and governed delegation improvements. Certification
|
|
16
|
+
and publication remain pending. The
|
|
11
17
|
[repository release status](https://raw.githubusercontent.com/Zhivex/zhivex-harness/main/release-status.json)
|
|
12
|
-
|
|
13
|
-
|
|
18
|
+
preserves historical stable evidence. The installation commands below target
|
|
19
|
+
1.2.0-rc.5 once published; stable users can install `@zhivex-ai/harness@latest`.
|
|
20
|
+
Desktop retains its separate private alpha status.
|
|
14
21
|
|
|
15
22
|
## Quick start
|
|
16
23
|
|
|
17
24
|
Requires Node.js 22.13.0 or newer, Git and a provider API key.
|
|
18
25
|
|
|
19
26
|
```sh
|
|
20
|
-
npm install -g @zhivex-ai/harness@1.
|
|
27
|
+
npm install -g @zhivex-ai/harness@1.2.0-rc.5
|
|
21
28
|
cd /path/to/your/project
|
|
22
29
|
zhx
|
|
23
30
|
```
|
|
@@ -72,8 +79,8 @@ Gemini remains provisional. See the [support matrix](docs/SUPPORT_MATRIX.md) and
|
|
|
72
79
|
|
|
73
80
|
[Browse documentation](docs/README.md).
|
|
74
81
|
|
|
75
|
-
Version `1.
|
|
82
|
+
Version `1.1.1` is the current public npm release. Source checkout changes can be
|
|
76
83
|
newer than the published package. Consult the [changelog](CHANGELOG.md) and
|
|
77
84
|
[repository release status](https://raw.githubusercontent.com/Zhivex/zhivex-harness/main/release-status.json)
|
|
78
|
-
for release
|
|
85
|
+
for the recorded 1.0.0 release; [release evidence](https://github.com/Zhivex/zhivex-harness/blob/main/docs/LIVE_CERTIFICATION.md)
|
|
79
86
|
records validation scope and limitations.
|
package/SECURITY.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Supported versions
|
|
4
4
|
|
|
5
|
-
Security fixes are provided for the latest published `1.
|
|
5
|
+
Security fixes are provided for the latest published `1.1.x` patch. Older minors and private checkpoints are not supported release channels. Registry integrity and provenance do not substitute for the separate provider and execution evidence recorded in [docs/LIVE_CERTIFICATION.md](https://github.com/Zhivex/zhivex-harness/blob/main/docs/LIVE_CERTIFICATION.md).
|
|
6
6
|
|
|
7
7
|
## Reporting a vulnerability
|
|
8
8
|
|
package/SUPPORT.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Support
|
|
2
2
|
|
|
3
|
-
Zhivex Harness `1.
|
|
3
|
+
Zhivex Harness `1.1.x` is the latest supported Node-first CLI and TypeScript library. Stable 1.x contracts follow [the stability policy](./docs/STABILITY.md); incompatible changes require a major release except documented urgent security corrections. Beta and experimental surfaces retain their declared policies. The mutable machine-readable `release-status.json` record preserves the verified 1.0.0 release; check npm for the current published version.
|
|
4
4
|
|
|
5
|
-
The 1.
|
|
5
|
+
The 1.1 support scope is tracked in the [machine-readable support matrix](./docs/support-matrix-1.1.json) and its [human-readable view](./docs/SUPPORT_MATRIX_1_1.md). The [1.0 matrix](./docs/SUPPORT_MATRIX.md) remains historical. Compatibility and removals follow [DEPRECATIONS.md](./docs/DEPRECATIONS.md) for the published 1.x line.
|
|
6
6
|
|
|
7
7
|
## Supported baseline
|
|
8
8
|
|
|
@@ -13,7 +13,7 @@ The 1.0 support scope is tracked in the [machine-readable support matrix](./docs
|
|
|
13
13
|
- the provider/model combinations marked certified in the package documentation; and
|
|
14
14
|
- HTTPS or explicitly allowed loopback-HTTP MCP endpoints using the documented bounded JSON-RPC subset.
|
|
15
15
|
|
|
16
|
-
Only the most recent published `1.
|
|
16
|
+
Only the most recent published `1.1.x` patch receives routine fixes. The exact `v1.1.1` tag passed the protected artifact, live-provider and representative release jobs. Gemini remains provisional until its complete harness live matrix passes against an exact release candidate. Live provider evidence is account-, model-, endpoint-, artifact-, and date-dependent; see [docs/LIVE_CERTIFICATION.md](https://github.com/Zhivex/zhivex-harness/blob/main/docs/LIVE_CERTIFICATION.md).
|
|
17
17
|
|
|
18
18
|
## Installation diagnostics
|
|
19
19
|
|
package/benchmarks/README.md
CHANGED
|
@@ -46,3 +46,20 @@ The opt-in [SWE-bench comparison](https://github.com/Zhivex/zhivex-harness/blob/
|
|
|
46
46
|
mini-SWE-agent and the native Zhivex OCI harness, exports actual patches, and grades
|
|
47
47
|
with the official SWE-bench evaluator. `bun run benchmark:swebench:test` validates
|
|
48
48
|
its offline contracts. Paid runs require a prepared, pinned matrix and `--live`.
|
|
49
|
+
|
|
50
|
+
## Bounded read and startup optimizations
|
|
51
|
+
|
|
52
|
+
CLI runs, resumes and conversations now enable at most four independent trusted
|
|
53
|
+
local read tools; mutation barriers and approval requirements remain in force.
|
|
54
|
+
Workspace indexing traverses at most eight directories at once and coalesces
|
|
55
|
+
only overlapping freshness checks. Later calls still validate directories and
|
|
56
|
+
ignore-file contents; there is no TTL or persistent content cache.
|
|
57
|
+
|
|
58
|
+
OCI inventory reserves each four-file batch against the aggregate workspace byte
|
|
59
|
+
limit before reading contents. Descriptor-bound reads remain capped at each
|
|
60
|
+
reserved size and fail if file identity or timestamps changed. Scoped instruction
|
|
61
|
+
validation reads at most four files concurrently and preserves durable digest checks.
|
|
62
|
+
|
|
63
|
+
The packaged CLI uses a separate lightweight help/version entrypoint and lazy
|
|
64
|
+
runtime chunks. Package smoke coverage must exercise the installed CLI and aliases
|
|
65
|
+
so missing chunks cannot pass as a working source checkout.
|
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
"NODE_ENGINE_RANGE",
|
|
76
76
|
"PROVIDERS",
|
|
77
77
|
"PROVIDER_DESCRIPTORS",
|
|
78
|
+
"SEMANTIC_COMPACTION_VERSION",
|
|
78
79
|
"SESSION_RUN_STATUSES",
|
|
79
80
|
"TERMINAL_RUN_STATUSES",
|
|
80
81
|
"TERMINAL_SESSION_RUN_STATUSES",
|
|
@@ -88,6 +89,7 @@
|
|
|
88
89
|
"Workspace",
|
|
89
90
|
"appendUserMessage",
|
|
90
91
|
"applyEditProposalInputSchema",
|
|
92
|
+
"applyHarnessToolPolicy",
|
|
91
93
|
"assertHarnessModelCapabilities",
|
|
92
94
|
"cancelHarnessRun",
|
|
93
95
|
"canonicalizeChangeEnvelope",
|
|
@@ -128,6 +130,7 @@
|
|
|
128
130
|
"compactHarnessMessages",
|
|
129
131
|
"computeChangeEnvelopeDigest",
|
|
130
132
|
"computeChangeEnvelopeEvidenceDigest",
|
|
133
|
+
"createAcpConnection",
|
|
131
134
|
"createChangeEnvelope",
|
|
132
135
|
"createEditProposal",
|
|
133
136
|
"createEmptyHarnessContextBundle",
|
|
@@ -140,9 +143,12 @@
|
|
|
140
143
|
"createHarnessRouteModels",
|
|
141
144
|
"createHarnessStateBackup",
|
|
142
145
|
"createHarnessSubagents",
|
|
146
|
+
"createHarnessToolPolicy",
|
|
143
147
|
"createHttpMcpClient",
|
|
148
|
+
"createProgressMonitor",
|
|
144
149
|
"createProviderModel",
|
|
145
150
|
"createProviderRegistry",
|
|
151
|
+
"createSemanticCompactor",
|
|
146
152
|
"createTimeToSafeFixCases",
|
|
147
153
|
"createTimeToSafeFixReport",
|
|
148
154
|
"createTimeToSafeFixSample",
|
|
@@ -172,6 +178,7 @@
|
|
|
172
178
|
"harnessLifecycleFingerprintInput",
|
|
173
179
|
"harnessLocalCredentialsSchema",
|
|
174
180
|
"harnessSkillLoadInputSchema",
|
|
181
|
+
"harnessToolPolicySchema",
|
|
175
182
|
"importHarnessStateBackup",
|
|
176
183
|
"importHarnessStateBackupFile",
|
|
177
184
|
"injectTimeToSafeFixAttack",
|
|
@@ -194,6 +201,7 @@
|
|
|
194
201
|
"openHarnessActivityStore",
|
|
195
202
|
"openHarnessPersistence",
|
|
196
203
|
"openSessionStore",
|
|
204
|
+
"openWorkspaceCheckpointStore",
|
|
197
205
|
"parseCliJsonDocument",
|
|
198
206
|
"parseCliJsonLineDocument",
|
|
199
207
|
"parseHarnessModelRoute",
|
|
@@ -203,6 +211,7 @@
|
|
|
203
211
|
"quarantineFileInputSchema",
|
|
204
212
|
"readHarnessLocalCredentials",
|
|
205
213
|
"readHarnessStateBackup",
|
|
214
|
+
"recommendCompactionModels",
|
|
206
215
|
"recoverHarnessLocalService",
|
|
207
216
|
"renderHarnessContextInstructions",
|
|
208
217
|
"requestHarnessLocalService",
|
|
@@ -217,6 +226,7 @@
|
|
|
217
226
|
"serializeHarnessModelRoutes",
|
|
218
227
|
"serializeStreamEvent",
|
|
219
228
|
"serializeStreamResult",
|
|
229
|
+
"serveAcpStdio",
|
|
220
230
|
"startHarnessLocalService",
|
|
221
231
|
"stateBackupBundleSchema",
|
|
222
232
|
"streamEventDocument",
|
|
@@ -309,6 +319,7 @@
|
|
|
309
319
|
"experimentalRuntimeExports": [
|
|
310
320
|
"DEFAULT_TIME_TO_SAFE_FIX_GOAL",
|
|
311
321
|
"HARNESS_CLIENT_PROTOCOL_VERSION",
|
|
322
|
+
"SEMANTIC_COMPACTION_VERSION",
|
|
312
323
|
"TIME_TO_SAFE_FIX_CARRIERS",
|
|
313
324
|
"TIME_TO_SAFE_FIX_DIAGNOSTIC_CODES",
|
|
314
325
|
"TIME_TO_SAFE_FIX_FAILURE_ORIGINS",
|
|
@@ -316,19 +327,28 @@
|
|
|
316
327
|
"TIME_TO_SAFE_FIX_GOALS",
|
|
317
328
|
"TIME_TO_SAFE_FIX_PROFILES",
|
|
318
329
|
"TIME_TO_SAFE_FIX_SCHEMA_VERSION",
|
|
330
|
+
"applyHarnessToolPolicy",
|
|
319
331
|
"classifyTimeToSafeFixFailure",
|
|
332
|
+
"createAcpConnection",
|
|
320
333
|
"createHarnessClientAdapter",
|
|
334
|
+
"createHarnessToolPolicy",
|
|
335
|
+
"createProgressMonitor",
|
|
336
|
+
"createSemanticCompactor",
|
|
321
337
|
"createTimeToSafeFixCases",
|
|
322
338
|
"createTimeToSafeFixReport",
|
|
323
339
|
"createTimeToSafeFixSample",
|
|
324
340
|
"harnessClientCommandSchema",
|
|
325
341
|
"harnessClientRequestSchema",
|
|
326
342
|
"harnessLocalCredentialsSchema",
|
|
343
|
+
"harnessToolPolicySchema",
|
|
327
344
|
"injectTimeToSafeFixAttack",
|
|
328
345
|
"openHarnessActivityStore",
|
|
346
|
+
"openWorkspaceCheckpointStore",
|
|
329
347
|
"readHarnessLocalCredentials",
|
|
348
|
+
"recommendCompactionModels",
|
|
330
349
|
"recoverHarnessLocalService",
|
|
331
350
|
"requestHarnessLocalService",
|
|
351
|
+
"serveAcpStdio",
|
|
332
352
|
"startHarnessLocalService",
|
|
333
353
|
"timeToSafeFixDriverResultSchema",
|
|
334
354
|
"timeToSafeFixLatencyStatistics",
|
|
@@ -498,6 +518,9 @@
|
|
|
498
518
|
"CliStreamErrorDocument",
|
|
499
519
|
"CliStreamResultDocument",
|
|
500
520
|
"CommandResult",
|
|
521
|
+
"CompactionModelAssessment",
|
|
522
|
+
"CompactionModelRecommendations",
|
|
523
|
+
"CompactionRecommendationRequest",
|
|
501
524
|
"CreateChangeEnvelopeInput",
|
|
502
525
|
"CreateHarnessOciEnvironmentOptions",
|
|
503
526
|
"CreateHarnessOptions",
|
|
@@ -560,7 +583,9 @@
|
|
|
560
583
|
"HarnessLocalServiceOptions",
|
|
561
584
|
"HarnessMcpClients",
|
|
562
585
|
"HarnessMcpConfiguration",
|
|
586
|
+
"HarnessMcpHttpOptions",
|
|
563
587
|
"HarnessMcpPermission",
|
|
588
|
+
"HarnessMcpResourceClient",
|
|
564
589
|
"HarnessMcpServerConfig",
|
|
565
590
|
"HarnessMcpTransport",
|
|
566
591
|
"HarnessMigrationResult",
|
|
@@ -588,6 +613,8 @@
|
|
|
588
613
|
"HarnessSubagentProfile",
|
|
589
614
|
"HarnessSubagentProfileDescriptor",
|
|
590
615
|
"HarnessSubagentRuntime",
|
|
616
|
+
"HarnessToolPolicy",
|
|
617
|
+
"HarnessToolPolicyDecision",
|
|
591
618
|
"ListFilesOptions",
|
|
592
619
|
"ListFilesResult",
|
|
593
620
|
"ListSessionsQuery",
|
|
@@ -605,6 +632,8 @@
|
|
|
605
632
|
"OciRunBatchRequest",
|
|
606
633
|
"OciRunRequest",
|
|
607
634
|
"OpenSessionStoreOptions",
|
|
635
|
+
"ProgressMonitorState",
|
|
636
|
+
"ProgressSignal",
|
|
608
637
|
"ProviderAvailability",
|
|
609
638
|
"ProviderCapability",
|
|
610
639
|
"ProviderCredentials",
|
|
@@ -649,8 +678,10 @@
|
|
|
649
678
|
"TimeToSafeFixTask",
|
|
650
679
|
"UpdateSessionInput",
|
|
651
680
|
"UpdateSessionRunInput",
|
|
681
|
+
"WorkspaceCheckpoint",
|
|
652
682
|
"WorkspaceFile",
|
|
653
683
|
"WorkspaceIndexDiagnostics",
|
|
684
|
+
"WorkspaceRestoreOperation",
|
|
654
685
|
"WorkspaceTopologyFile",
|
|
655
686
|
"ZhivexHarness"
|
|
656
687
|
],
|
|
@@ -815,6 +846,9 @@
|
|
|
815
846
|
"WorkspaceTopologyFile"
|
|
816
847
|
],
|
|
817
848
|
"experimentalTypeExports": [
|
|
849
|
+
"CompactionModelAssessment",
|
|
850
|
+
"CompactionModelRecommendations",
|
|
851
|
+
"CompactionRecommendationRequest",
|
|
818
852
|
"HarnessActivityEvent",
|
|
819
853
|
"HarnessActivityOptions",
|
|
820
854
|
"HarnessActivityPage",
|
|
@@ -833,6 +867,12 @@
|
|
|
833
867
|
"HarnessLocalCredentials",
|
|
834
868
|
"HarnessLocalService",
|
|
835
869
|
"HarnessLocalServiceOptions",
|
|
870
|
+
"HarnessMcpHttpOptions",
|
|
871
|
+
"HarnessMcpResourceClient",
|
|
872
|
+
"HarnessToolPolicy",
|
|
873
|
+
"HarnessToolPolicyDecision",
|
|
874
|
+
"ProgressMonitorState",
|
|
875
|
+
"ProgressSignal",
|
|
836
876
|
"TimeToSafeFixAggregate",
|
|
837
877
|
"TimeToSafeFixCarrier",
|
|
838
878
|
"TimeToSafeFixCase",
|
|
@@ -847,7 +887,9 @@
|
|
|
847
887
|
"TimeToSafeFixRatioStatistics",
|
|
848
888
|
"TimeToSafeFixReport",
|
|
849
889
|
"TimeToSafeFixSample",
|
|
850
|
-
"TimeToSafeFixTask"
|
|
890
|
+
"TimeToSafeFixTask",
|
|
891
|
+
"WorkspaceCheckpoint",
|
|
892
|
+
"WorkspaceRestoreOperation"
|
|
851
893
|
],
|
|
852
894
|
"cli": {
|
|
853
895
|
"commands": [
|
|
@@ -917,6 +959,8 @@
|
|
|
917
959
|
"allowed": [
|
|
918
960
|
"--service",
|
|
919
961
|
"--session",
|
|
962
|
+
"--compaction-model",
|
|
963
|
+
"--compaction-provider",
|
|
920
964
|
"--pricing-file",
|
|
921
965
|
"--usage-limit-usd",
|
|
922
966
|
"--provider",
|
|
@@ -932,7 +976,7 @@
|
|
|
932
976
|
"--mcp-config",
|
|
933
977
|
"--context-config",
|
|
934
978
|
"--no-project-context",
|
|
935
|
-
"--
|
|
979
|
+
"--require-verified-delivery",
|
|
936
980
|
"--execution",
|
|
937
981
|
"--oci-runtime",
|
|
938
982
|
"--oci-image",
|
|
@@ -946,6 +990,8 @@
|
|
|
946
990
|
"--oci-max-workspace-bytes",
|
|
947
991
|
"--oci-max-file-write-bytes",
|
|
948
992
|
"--oci-tmpfs-mb",
|
|
993
|
+
"--token-budget",
|
|
994
|
+
"--context-tokens",
|
|
949
995
|
"--no-token-budget",
|
|
950
996
|
"--max-steps",
|
|
951
997
|
"--timeout-ms",
|
|
@@ -968,6 +1014,7 @@
|
|
|
968
1014
|
"--require-capability",
|
|
969
1015
|
"--subagent",
|
|
970
1016
|
"--idempotency-key",
|
|
1017
|
+
"--approval-mode",
|
|
971
1018
|
"--yes",
|
|
972
1019
|
"--json",
|
|
973
1020
|
"--jsonl"
|
|
@@ -986,6 +1033,12 @@
|
|
|
986
1033
|
"--input-cost-per-million",
|
|
987
1034
|
"--output-cost-per-million"
|
|
988
1035
|
],
|
|
1036
|
+
"--token-budget": [
|
|
1037
|
+
"--no-token-budget"
|
|
1038
|
+
],
|
|
1039
|
+
"--no-token-budget": [
|
|
1040
|
+
"--token-budget"
|
|
1041
|
+
],
|
|
989
1042
|
"--max-cost-usd": [
|
|
990
1043
|
"--usage-limit-usd"
|
|
991
1044
|
],
|
|
@@ -995,6 +1048,12 @@
|
|
|
995
1048
|
"--output-cost-per-million": [
|
|
996
1049
|
"--usage-limit-usd"
|
|
997
1050
|
],
|
|
1051
|
+
"--approval-mode": [
|
|
1052
|
+
"--yes"
|
|
1053
|
+
],
|
|
1054
|
+
"--yes": [
|
|
1055
|
+
"--approval-mode"
|
|
1056
|
+
],
|
|
998
1057
|
"--json": [
|
|
999
1058
|
"--jsonl"
|
|
1000
1059
|
],
|
|
@@ -1043,6 +1102,8 @@
|
|
|
1043
1102
|
"chat": {
|
|
1044
1103
|
"allowed": [
|
|
1045
1104
|
"--service",
|
|
1105
|
+
"--compaction-model",
|
|
1106
|
+
"--compaction-provider",
|
|
1046
1107
|
"--pricing-file",
|
|
1047
1108
|
"--usage-limit-usd",
|
|
1048
1109
|
"--provider",
|
|
@@ -1058,7 +1119,7 @@
|
|
|
1058
1119
|
"--mcp-config",
|
|
1059
1120
|
"--context-config",
|
|
1060
1121
|
"--no-project-context",
|
|
1061
|
-
"--
|
|
1122
|
+
"--require-verified-delivery",
|
|
1062
1123
|
"--execution",
|
|
1063
1124
|
"--oci-runtime",
|
|
1064
1125
|
"--oci-image",
|
|
@@ -1072,6 +1133,8 @@
|
|
|
1072
1133
|
"--oci-max-workspace-bytes",
|
|
1073
1134
|
"--oci-max-file-write-bytes",
|
|
1074
1135
|
"--oci-tmpfs-mb",
|
|
1136
|
+
"--token-budget",
|
|
1137
|
+
"--context-tokens",
|
|
1075
1138
|
"--no-token-budget",
|
|
1076
1139
|
"--max-steps",
|
|
1077
1140
|
"--timeout-ms",
|
|
@@ -1093,6 +1156,7 @@
|
|
|
1093
1156
|
"--allow-check",
|
|
1094
1157
|
"--require-capability",
|
|
1095
1158
|
"--subagent",
|
|
1159
|
+
"--approval-mode",
|
|
1096
1160
|
"--yes",
|
|
1097
1161
|
"--session",
|
|
1098
1162
|
"--continue"
|
|
@@ -1111,6 +1175,12 @@
|
|
|
1111
1175
|
"--input-cost-per-million",
|
|
1112
1176
|
"--output-cost-per-million"
|
|
1113
1177
|
],
|
|
1178
|
+
"--token-budget": [
|
|
1179
|
+
"--no-token-budget"
|
|
1180
|
+
],
|
|
1181
|
+
"--no-token-budget": [
|
|
1182
|
+
"--token-budget"
|
|
1183
|
+
],
|
|
1114
1184
|
"--max-cost-usd": [
|
|
1115
1185
|
"--usage-limit-usd"
|
|
1116
1186
|
],
|
|
@@ -1120,6 +1190,12 @@
|
|
|
1120
1190
|
"--output-cost-per-million": [
|
|
1121
1191
|
"--usage-limit-usd"
|
|
1122
1192
|
],
|
|
1193
|
+
"--approval-mode": [
|
|
1194
|
+
"--yes"
|
|
1195
|
+
],
|
|
1196
|
+
"--yes": [
|
|
1197
|
+
"--approval-mode"
|
|
1198
|
+
],
|
|
1123
1199
|
"--session": [
|
|
1124
1200
|
"--continue"
|
|
1125
1201
|
],
|
|
@@ -1150,7 +1226,7 @@
|
|
|
1150
1226
|
"--mcp-config",
|
|
1151
1227
|
"--context-config",
|
|
1152
1228
|
"--no-project-context",
|
|
1153
|
-
"--
|
|
1229
|
+
"--require-verified-delivery",
|
|
1154
1230
|
"--execution",
|
|
1155
1231
|
"--oci-runtime",
|
|
1156
1232
|
"--oci-image",
|
|
@@ -1164,6 +1240,8 @@
|
|
|
1164
1240
|
"--oci-max-workspace-bytes",
|
|
1165
1241
|
"--oci-max-file-write-bytes",
|
|
1166
1242
|
"--oci-tmpfs-mb",
|
|
1243
|
+
"--token-budget",
|
|
1244
|
+
"--context-tokens",
|
|
1167
1245
|
"--no-token-budget",
|
|
1168
1246
|
"--max-steps",
|
|
1169
1247
|
"--timeout-ms",
|
|
@@ -1194,7 +1272,14 @@
|
|
|
1194
1272
|
"--require-capability",
|
|
1195
1273
|
"--subagent"
|
|
1196
1274
|
],
|
|
1197
|
-
"conflicts": {
|
|
1275
|
+
"conflicts": {
|
|
1276
|
+
"--token-budget": [
|
|
1277
|
+
"--no-token-budget"
|
|
1278
|
+
],
|
|
1279
|
+
"--no-token-budget": [
|
|
1280
|
+
"--token-budget"
|
|
1281
|
+
]
|
|
1282
|
+
}
|
|
1198
1283
|
},
|
|
1199
1284
|
"resume": {
|
|
1200
1285
|
"allowed": [
|