@zhivex-ai/harness 1.2.0-rc.9 → 1.3.0-rc.3
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 +55 -0
- package/README.md +7 -8
- package/contracts/engine-api.json +2587 -0
- package/contracts/public-api.json +5 -0
- package/contracts/stable-api-signatures.json +28 -28
- package/dist/acp-cli.js +100 -14742
- package/dist/cli/arguments.d.ts +2 -0
- package/dist/cli/cli-credentials.d.ts +1 -1
- package/dist/cli/cli-options.d.ts +2 -41
- package/dist/cli/cli-profiles.d.ts +15 -0
- package/dist/cli/cli-stream.d.ts +2 -167
- package/dist/cli/console/console-commands.d.ts +3 -3
- package/dist/cli/console/console-input.d.ts +22 -3
- package/dist/cli/console/console-navigation.d.ts +3 -0
- package/dist/cli/console/console-presentation.d.ts +8 -2
- package/dist/cli/console/console-reasoning.d.ts +3 -0
- package/dist/cli/presentation.d.ts +3 -0
- package/dist/cli/run-document.d.ts +2 -91
- package/dist/cli/terminal/activity-history.d.ts +15 -0
- package/dist/cli/terminal/terminal-continuation.d.ts +2 -3
- package/dist/cli/terminal/tool-activity.d.ts +3 -1
- package/dist/{cli-entry-t3bay5k5.js → cli-entry-0mmeag20.js} +336 -181
- package/dist/{cli-entry-0mhbpe8j.js → cli-entry-7h9savv5.js} +3 -3
- package/dist/{cli-entry-gddtj1db.js → cli-entry-xmf48p6a.js} +725 -156
- package/dist/{cli-2dxcfrz5.js → cli-qgwvtk0w.js} +348 -188
- package/dist/cli.js +2 -2
- package/dist/client/continuation.d.ts +3 -0
- package/dist/client/json-contracts.d.ts +20 -0
- package/dist/client/run-document.d.ts +91 -0
- package/dist/client/stream.d.ts +167 -0
- package/dist/compat/cli-options.d.ts +41 -0
- package/dist/compat/code-support.d.ts +22 -0
- package/dist/compat/code-support.js +138 -0
- package/dist/config-6gtpxvjv.js +59 -0
- package/dist/{config-w1npe8mp.js → config-q32jm1e6.js} +1 -1
- package/dist/context/task-memory.d.ts +2 -2
- package/dist/engine/acp.d.ts +4 -0
- package/dist/engine/acp.js +9 -0
- package/dist/engine/client.d.ts +6 -0
- package/dist/engine/client.js +21 -0
- package/dist/engine/index.d.ts +61 -0
- package/dist/engine/index.js +477 -0
- package/dist/engine/protocol.d.ts +6 -0
- package/dist/engine/protocol.js +158 -0
- package/dist/engine/service.d.ts +5 -0
- package/dist/engine/service.js +21 -0
- package/dist/hostile-repository-demo.js +720 -449
- package/dist/index-1bx83sw4.js +4 -0
- package/dist/index-2aymdsqc.js +150 -0
- package/dist/index-41fkzt91.js +293 -0
- package/dist/index-5wjwe91x.js +9434 -0
- package/dist/index-77h9qr5h.js +326 -0
- package/dist/index-d0wrghff.js +3271 -0
- package/dist/index-f4sb0e2q.js +318 -0
- package/dist/index-fvca1xea.js +2069 -0
- package/dist/index-kfgt9yqq.js +526 -0
- package/dist/index-pgqz45fj.js +2449 -0
- package/dist/index.js +238 -18206
- package/dist/persistence/operations.d.ts +5 -1
- package/dist/persistence/state-backup-stream.d.ts +4 -0
- package/dist/providers/meta-replay.d.ts +1 -1
- package/dist/providers/qwen-context.d.ts +2 -0
- package/dist/providers/qwen-hosted-policy.d.ts +5 -0
- package/dist/providers/reasoning.d.ts +18 -0
- package/dist/runtime/config.d.ts +3 -0
- package/dist/runtime/error-diagnostics.d.ts +2 -0
- package/dist/runtime/harness.d.ts +1 -1
- package/dist/runtime/model-edit-references.d.ts +4 -2
- package/dist/runtime/runtime-policy.d.ts +5 -4
- package/dist/runtime/time-to-safe-fix.d.ts +6 -1
- package/dist/service-cli.js +10 -14257
- package/dist/{service-client-cli-1c9j6xah.js → service-client-cli-gs78wrxe.js} +66 -8
- package/dist/tools/execution.d.ts +8 -8
- package/dist/tools/workspace.d.ts +16 -16
- package/dist/verify-historical-migrations.js +889 -575
- package/dist/workspace/file-security.d.ts +6 -0
- package/dist/zhx.js +2 -2
- package/docs/CLI.md +52 -1
- package/docs/CODE_RELEASE.md +93 -0
- package/docs/DURABLE_OPERATIONS.md +8 -0
- package/docs/ENGINE_API.md +111 -0
- package/docs/EXTENSIBILITY.md +1 -1
- package/docs/FIRST_USE.md +6 -6
- package/docs/MODEL_CATALOG.md +28 -1
- package/docs/README.md +5 -0
- package/docs/STABILITY.md +6 -0
- package/evaluations/representative-assembly-matrix.json +73 -1
- package/evaluations/representative-repositories-v2.jsonl +7 -0
- package/examples/README.md +4 -4
- package/package.json +41 -10
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,61 @@ 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.3.0-rc.3 - 2026-09-28
|
|
8
|
+
|
|
9
|
+
- Release Meta stream deadlines after HTTP setup errors, stream completion, cancellation and early iterator closure; retain the original provider error and natural process exit.
|
|
10
|
+
- Certify valid approval recovery using persisted pre-approval validation receipts without accepting additional executions, new errors or mismatched approved calls.
|
|
11
|
+
- Bound Desktop smoke renderer diagnostics and retain phase timing without extending the watchdog or weakening lease/approval checks.
|
|
12
|
+
- Pin the independent Code RC to Harness RC3. Local corrected-artifact acceptance reached 41/42: OpenAI and Qwen 14/14, Meta 13/14 with one HTTP 504. The operator authorized proceeding with RC preparation despite this provider failure; protected certification remains separate and is not recorded as passed.
|
|
13
|
+
|
|
14
|
+
## 1.3.0-rc.2 - 2026-09-28
|
|
15
|
+
|
|
16
|
+
- Reject a mismatched `apply_patch` proposal digest during input validation, before requesting operator approval. Invalid calls remain non-mutating and can be corrected by the model; valid calls still require the original approval.
|
|
17
|
+
- Preserve the exact provider certification assertions after the failed RC1 attempt; no historical tag or artifact is changed.
|
|
18
|
+
- Prepare the independent Code RC with an exact Harness RC2 dependency and protected artifact/provenance publication workflow.
|
|
19
|
+
|
|
20
|
+
## 1.3.0-rc.1 - 2026-09-28
|
|
21
|
+
|
|
22
|
+
- Add explicit terminal-independent Harness engine, protocol, client, local-service and ACP entrypoints while preserving historical root exports and stable signatures.
|
|
23
|
+
- Extract the Code terminal product into its own unpublished package with the distinct `zhivex-code` binary; Harness 1.x keeps its existing binaries and state contracts.
|
|
24
|
+
- Add transitive architecture checks and installed candidate acceptance for engine approvals/recovery and Code execution/cancellation across npm, pnpm, Yarn and Bun. The new APIs target the future Harness 1.3 line; RC1 targets npm `next` and does not claim completion of the provider roadmap.
|
|
25
|
+
|
|
26
|
+
## 1.2.0 - 2026-09-27
|
|
27
|
+
|
|
28
|
+
- Promote the code validated in 1.2.0-rc.13 to the stable release line, targeting npm `latest` through the protected GitHub Actions workflow.
|
|
29
|
+
- Improve interactive CLI model/reasoning selection, activity reporting, task queues and recovery from rejected edits.
|
|
30
|
+
- Preserve user direction and conversational context across compaction, with incremental SQLite history and bounded active checkpoints using Core 1.26.0 and Agents 1.10.1.
|
|
31
|
+
- Retain governed approvals, isolated patch delivery and restart/backup recovery, including segmented exports for large histories.
|
|
32
|
+
- Keep the Meta, Qwen and OpenAI certification cohort unchanged. Gemini remains provisional and Desktop remains a separate private alpha.
|
|
33
|
+
|
|
34
|
+
## 1.2.0-rc.13 - 2026-09-26
|
|
35
|
+
|
|
36
|
+
- Store SQLite run history incrementally with published Core 1.26.0 and Agents 1.10.1. Keep the 4 MiB limit on the active checkpoint while retaining steps, tool results and compaction history separately; unchanged history is not rewritten.
|
|
37
|
+
- Export backups above 64 MiB through a bounded, versioned segment stream, preserving legacy JSON imports, checksums and atomic publication.
|
|
38
|
+
- Preserve full history through reopen and portable backup/restore, including legacy inline states. Report state-limit failures with bounded diagnostics and retain the SDK terminal failure checkpoint.
|
|
39
|
+
- Add a 200-read, 99-compaction regression covering more than 11 MB of hydrated history with a checkpoint below 48 KB. Full hydrated loads and disk retention remain proportional to history size.
|
|
40
|
+
- Prepare fresh exact-artifact, live and representative certification for RC13; RC12 publication evidence remains historical.
|
|
41
|
+
|
|
42
|
+
## 1.2.0-rc.12 - 2026-09-26
|
|
43
|
+
|
|
44
|
+
- Preserve optional edit/retry fields in OpenAI Responses tool schemas; keep runtime validation, read-bound digests and approval checks unchanged.
|
|
45
|
+
|
|
46
|
+
- Strengthen release validation with representative fixtures v2, structural workflow checks and installed-runtime regressions; preserve historical evidence and publication gates.
|
|
47
|
+
|
|
48
|
+
## 1.2.0-rc.11 - 2026-09-26
|
|
49
|
+
|
|
50
|
+
- Consume Qwen 0.16.2 with Core 1.25.0, retaining typed malformed tool-argument and SSE-event diagnostics through benchmark and release reports without exposing provider payloads or adding automatic retries.
|
|
51
|
+
|
|
52
|
+
## 1.2.0-rc.10 - 2026-09-26
|
|
53
|
+
|
|
54
|
+
- Scope deterministic test discovery to maintained root and Desktop suites, excluding historical artifacts stored locally.
|
|
55
|
+
- CLI: featured model ordering, Qwen-hosted GLM/DeepSeek/Kimi choices, phase/total timing, committed file receipts, bounded `/activity` history, and literal task queues isolated from approvals.
|
|
56
|
+
|
|
57
|
+
- Add model-to-reasoning selection, `/reasoning` and `--reasoning`, with adapter-declared levels, personal-profile persistence and durable run bindings.
|
|
58
|
+
- Reuse bounded rejected edit candidates after targeted reference recovery, without regenerating file contents or bypassing exact-payload approval.
|
|
59
|
+
- Make Qwen's local compacted conversation authoritative instead of continuing remote response chains; retain reasoning and tool history.
|
|
60
|
+
- Guide scoped implementations toward editing and checking without an unnecessary planning-only turn.
|
|
61
|
+
|
|
7
62
|
## 1.2.0-rc.9 - 2026-09-26
|
|
8
63
|
|
|
9
64
|
- Keep current user direction prominent across compaction, retain earlier task context, and migrate legacy summaries. Add a durable advisory for prolonged varied exploration without forcing edits or stopping legitimate investigation. Give the model actionable read-call and line-range corrections while preserving original error receipts and approvals.
|
package/README.md
CHANGED
|
@@ -11,12 +11,11 @@ implement a change. Conversation context retains decisions, hypotheses and bound
|
|
|
11
11
|
diagnostic excerpts across compaction. Edits and command execution keep their
|
|
12
12
|
own permission checks; a conversational summary never grants approval.
|
|
13
13
|
|
|
14
|
-
Version `1.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
1.2.0-rc.9 once published; stable users can install `@zhivex-ai/harness@latest`.
|
|
14
|
+
Version `1.3.0-rc.3` prepares the terminal-independent engine API and the local
|
|
15
|
+
Code package for candidate validation on npm `next`. Publication remains pending
|
|
16
|
+
the protected release workflow. This RC does not include the pending Anthropic,
|
|
17
|
+
Gemini/Vertex, Desktop migration or independent Code publication milestones.
|
|
18
|
+
Stable `1.2.0` remains available under npm `latest`.
|
|
20
19
|
Desktop retains its separate private alpha status.
|
|
21
20
|
|
|
22
21
|
## Quick start
|
|
@@ -24,7 +23,7 @@ Desktop retains its separate private alpha status.
|
|
|
24
23
|
Requires Node.js 22.13.0 or newer, Git and a provider API key.
|
|
25
24
|
|
|
26
25
|
```sh
|
|
27
|
-
npm install -g @zhivex-ai/harness@1.
|
|
26
|
+
npm install -g @zhivex-ai/harness@1.3.0-rc.3
|
|
28
27
|
cd /path/to/your/project
|
|
29
28
|
zhx
|
|
30
29
|
```
|
|
@@ -79,7 +78,7 @@ Gemini remains provisional. See the [support matrix](docs/SUPPORT_MATRIX.md) and
|
|
|
79
78
|
|
|
80
79
|
[Browse documentation](docs/README.md).
|
|
81
80
|
|
|
82
|
-
Version `1.
|
|
81
|
+
Version `1.2.0` is the current stable public npm release. Source checkout changes can be
|
|
83
82
|
newer than the published package. Consult the [changelog](CHANGELOG.md) and
|
|
84
83
|
[repository release status](https://raw.githubusercontent.com/Zhivex/zhivex-harness/main/release-status.json)
|
|
85
84
|
for the recorded 1.0.0 release; [release evidence](https://github.com/Zhivex/zhivex-harness/blob/main/docs/LIVE_CERTIFICATION.md)
|