@zhivex-ai/harness 1.2.0 → 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.
Files changed (55) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +7 -8
  3. package/contracts/engine-api.json +2587 -0
  4. package/dist/acp-cli.js +95 -14996
  5. package/dist/cli/cli-options.d.ts +2 -41
  6. package/dist/cli/cli-stream.d.ts +2 -167
  7. package/dist/cli/run-document.d.ts +2 -91
  8. package/dist/cli/terminal/terminal-continuation.d.ts +2 -3
  9. package/dist/{cli-entry-427869g9.js → cli-entry-0mmeag20.js} +49 -1
  10. package/dist/{cli-entry-b1mfvmxe.js → cli-entry-7h9savv5.js} +1 -2
  11. package/dist/{cli-entry-c2f58zj2.js → cli-entry-xmf48p6a.js} +27 -18
  12. package/dist/{cli-3jmy4h5h.js → cli-qgwvtk0w.js} +5 -6
  13. package/dist/cli.js +2 -2
  14. package/dist/client/continuation.d.ts +3 -0
  15. package/dist/client/run-document.d.ts +91 -0
  16. package/dist/client/stream.d.ts +167 -0
  17. package/dist/compat/cli-options.d.ts +41 -0
  18. package/dist/compat/code-support.d.ts +22 -0
  19. package/dist/compat/code-support.js +138 -0
  20. package/dist/config-6gtpxvjv.js +59 -0
  21. package/dist/{config-1k9t4jhh.js → config-q32jm1e6.js} +1 -1
  22. package/dist/engine/acp.d.ts +4 -0
  23. package/dist/engine/acp.js +9 -0
  24. package/dist/engine/client.d.ts +6 -0
  25. package/dist/engine/client.js +21 -0
  26. package/dist/engine/index.d.ts +61 -0
  27. package/dist/engine/index.js +477 -0
  28. package/dist/engine/protocol.d.ts +6 -0
  29. package/dist/engine/protocol.js +158 -0
  30. package/dist/engine/service.d.ts +5 -0
  31. package/dist/engine/service.js +21 -0
  32. package/dist/hostile-repository-demo.js +59 -1
  33. package/dist/index-1bx83sw4.js +4 -0
  34. package/dist/index-2aymdsqc.js +150 -0
  35. package/dist/index-41fkzt91.js +293 -0
  36. package/dist/index-5wjwe91x.js +9434 -0
  37. package/dist/index-77h9qr5h.js +326 -0
  38. package/dist/index-d0wrghff.js +3271 -0
  39. package/dist/index-f4sb0e2q.js +318 -0
  40. package/dist/index-fvca1xea.js +2069 -0
  41. package/dist/index-kfgt9yqq.js +526 -0
  42. package/dist/index-pgqz45fj.js +2449 -0
  43. package/dist/index.js +238 -18649
  44. package/dist/service-cli.js +10 -14502
  45. package/dist/{service-client-cli-yx56n0hc.js → service-client-cli-gs78wrxe.js} +2 -2
  46. package/dist/verify-historical-migrations.js +59 -1
  47. package/dist/zhx.js +2 -2
  48. package/docs/CODE_RELEASE.md +93 -0
  49. package/docs/ENGINE_API.md +111 -0
  50. package/docs/FIRST_USE.md +6 -6
  51. package/docs/README.md +5 -0
  52. package/docs/STABILITY.md +6 -0
  53. package/evaluations/representative-assembly-matrix.json +28 -1
  54. package/examples/README.md +1 -1
  55. package/package.json +35 -4
package/CHANGELOG.md CHANGED
@@ -4,6 +4,25 @@ 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
+
7
26
  ## 1.2.0 - 2026-09-27
8
27
 
9
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.
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.2.0` is prepared for stable publication to npm `latest`, based on
15
- published RC13 and its successful protected release workflow. It includes incremental
16
- durable history and bounded active checkpoints for long conversations. Stable
17
- publication remains pending; the installation commands below target 1.2.0 once
18
- published. The [repository release status](https://raw.githubusercontent.com/Zhivex/zhivex-harness/main/release-status.json)
19
- preserves historical stable evidence.
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.2.0
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.1.1` is the current public npm release. Source checkout changes can be
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)