@zhivex-ai/harness 1.6.3 → 1.7.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +8 -1
  2. package/README.md +4 -4
  3. package/SECURITY.md +1 -1
  4. package/SUPPORT.md +2 -2
  5. package/benchmarks/README.md +72 -0
  6. package/contracts/engine-api.json +30 -0
  7. package/dist/acp-cli.js +8 -8
  8. package/dist/approvals/auto-approve.d.ts +1 -1
  9. package/dist/audit/index.js +3 -3
  10. package/dist/{audit-pack-s9n693by.js → audit-pack-y02n8zd0.js} +3 -3
  11. package/dist/{cli-entry-1epvek01.js → cli-entry-j6jcb2jb.js} +2 -2
  12. package/dist/{cli-entry-rsx0wpvs.js → cli-entry-td04s0fa.js} +340 -248
  13. package/dist/{cli-entry-mbcq96nx.js → cli-entry-v5db3eb2.js} +6 -2
  14. package/dist/{cli-entry-nyzyvf24.js → cli-entry-ynahz9qc.js} +68 -36
  15. package/dist/{cli-yxvq8qf1.js → cli-zw18kdqx.js} +6 -6
  16. package/dist/cli.js +2 -2
  17. package/dist/compat/code-support.d.ts +1 -0
  18. package/dist/compat/code-support.js +6 -6
  19. package/dist/context/scoped-context.d.ts +17 -5
  20. package/dist/engine/acp.js +9 -9
  21. package/dist/engine/client.js +8 -8
  22. package/dist/engine/desktop-state-v1.js +5 -5
  23. package/dist/engine/index.d.ts +4 -0
  24. package/dist/engine/index.js +17 -11
  25. package/dist/engine/mcp-stdio-v1.js +4 -4
  26. package/dist/engine/service.js +9 -9
  27. package/dist/hostile-repository-demo.js +570 -463
  28. package/dist/{index-2yyfg69h.js → index-ebb5d4s3.js} +33 -12
  29. package/dist/{index-vn91b9z1.js → index-h8r80xhk.js} +233 -118
  30. package/dist/{index-rgqzdgv6.js → index-k1a1xesg.js} +3 -3
  31. package/dist/{index-fqqz1yt8.js → index-qz4fs9f9.js} +14 -3
  32. package/dist/{index-5nmm0642.js → index-r0q0r88h.js} +2 -2
  33. package/dist/{index-amjttjaj.js → index-t6sjhxh8.js} +2 -2
  34. package/dist/{index-j466sekf.js → index-tc2r2n8b.js} +5 -5
  35. package/dist/{index-nxmk6re7.js → index-tgt8gtq7.js} +2 -2
  36. package/dist/{index-w0m1nckc.js → index-v17e1xs8.js} +22 -22
  37. package/dist/{index-4mn6m3bq.js → index-v86bh0eg.js} +2 -2
  38. package/dist/{index-3wwfn5n6.js → index-x9hv1a34.js} +6 -2
  39. package/dist/{index-hhrnrqfc.js → index-yp0jtaxp.js} +1 -1
  40. package/dist/index.js +10 -10
  41. package/dist/runtime/agent-profile.d.ts +12 -0
  42. package/dist/runtime/harness.d.ts +11 -0
  43. package/dist/runtime/known-file-preload.d.ts +35 -0
  44. package/dist/service-cli.js +9 -9
  45. package/dist/{service-client-cli-xbj7j5kj.js → service-client-cli-gtk26axb.js} +3 -3
  46. package/dist/verify-historical-migrations.js +384 -277
  47. package/dist/zhx.js +2 -2
  48. package/docs/CODE_RELEASE.md +8 -4
  49. package/docs/CONTEXT_ENGINEERING.md +66 -0
  50. package/docs/ENGINE_API.md +8 -1
  51. package/docs/FIRST_USE.md +6 -6
  52. package/docs/PROJECT_MEMORY.md +1 -1
  53. package/docs/README.md +12 -4
  54. package/evaluations/representative-assembly-matrix.json +10 -1
  55. package/examples/README.md +4 -4
  56. package/package.json +6 -2
package/dist/zhx.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  HARNESS_VERSION,
4
4
  NODE_ENGINE_RANGE,
5
5
  shortCliHelp
6
- } from "./cli-entry-mbcq96nx.js";
6
+ } from "./cli-entry-v5db3eb2.js";
7
7
  import {
8
8
  __require
9
9
  } from "./cli-entry-1bx83sw4.js";
@@ -41,6 +41,6 @@ if (argv.length === 1 && ["--version", "-v", "version"].includes(argv[0])) {
41
41
  process.stdout.write(`${shortCliHelp(HARNESS_VERSION)}
42
42
  `);
43
43
  } else {
44
- const { runCli } = await import("./cli-yxvq8qf1.js");
44
+ const { runCli } = await import("./cli-zw18kdqx.js");
45
45
  await runCli(argv);
46
46
  }
@@ -1,10 +1,14 @@
1
1
  # Code release procedure
2
2
 
3
- ## Prepared patch: Code 0.4.2
3
+ ## Prepared patch: Code 0.4.3
4
4
 
5
- Code `0.4.2` pins Harness `1.6.3` exactly and is pending publication to `latest`. Published Code `0.4.1` and Harness `1.6.2` remain unchanged. The private Web development dependency stays on the published Harness `1.6.2` so clean CI can install its frozen lockfile before the candidate exists in the registry; offline tests explicitly link the built `1.6.3` candidate.
5
+ The source candidate is Code `0.4.3`, pinned exactly to Harness `1.7.0`. Publication remains pending and must follow verification of the new Harness registry artifact. The private Web development pin remains `1.6.2` for reproducible bootstrap installation; offline validation explicitly links the built candidate. See the [preparation report](https://github.com/Zhivex/zhivex-harness/blob/main/docs/reports/RELEASE_1_7_0_CODE_0_4_3.md).
6
6
 
7
- After Harness publication and registry/provenance verification, use annotated `code-v0.4.2` on the same reviewed main SHA, `channel=latest`, `mode=oidc`, and the protected `release-code.yml` workflow. The final Code gate must resolve the real published Harness dependency without candidate overrides, then verify retained-artifact installation and provenance. Local paired-artifact tests do not substitute for that registry gate. See [the preparation report](https://github.com/Zhivex/zhivex-harness/blob/main/docs/reports/RELEASE_1_6_3_CODE_0_4_2.md).
7
+ ## Published patch: Code 0.4.2
8
+
9
+ Code `0.4.2` is published and verified on npm `latest`, pinned exactly to Harness `1.6.3`. Annotated `code-v0.4.2` resolves to `7ba14a08e4a3fd60f3ea50263cb0bebdd5fc125a`, the same commit as `v1.6.3`. The [protected OIDC workflow](https://github.com/Zhivex/zhivex-harness/actions/runs/42873027805) passed actual registry resolution of the already verified Harness release, retained-artifact terminal/Web journeys and four-manager acceptance before publication. Independent verification confirmed the published bytes, `latest` and source-bound provenance. See [publication evidence](https://github.com/Zhivex/zhivex-harness/blob/main/docs/reports/PUBLICATION_1_6_3_CODE_0_4_2.md).
10
+
11
+ The private Web development dependency remains pinned to Harness `1.6.2`; offline contributor setup links the built candidate explicitly. This development pin is separate from the published Code dependency on Harness `1.6.3`. Published npm `next` remains Code `0.3.0-rc.8` and Harness `1.4.0-rc.8`.
8
12
 
9
13
  ## Published patch: Code 0.4.1
10
14
 
@@ -294,7 +298,7 @@ Harness `1.3.0` dependency. Code `0.1.0` was the verified npm `latest` release
294
298
  until the separately approved `0.2.0` publication. That candidate added guided
295
299
  approval diffs, reviewed checkpoints, per-run estimated budgets and the offline
296
300
  first-use tutorial. See the [candidate changelog](https://github.com/Zhivex/zhivex-harness/blob/main/packages/code/CHANGELOG.md)
297
- and [release readiness](https://github.com/Zhivex/zhivex-harness/blob/main/docs/reports/CODE_0_2_0_READINESS_2026-10-03.md).
301
+ and [release readiness](https://github.com/Zhivex/zhivex-harness/blob/a87499d4cd78ae5edcf18c22f2e97f9828e8099f/docs/reports/CODE_0_2_0_READINESS_2026-10-03.md).
298
302
 
299
303
  That was a Code-only release: no Harness version change or new paid six-provider
300
304
  certification campaign is required. Engine API tiers and provisional provider
@@ -510,3 +510,69 @@ Qwen routes are excluded from this option until an output-cap route is certified
510
510
  It does not add a service/wire-protocol field or enable this token pool for
511
511
  application-owned review groups. Monetary accounting and its existing output
512
512
  clamp remain separate. No provider calls are required by the regression suite.
513
+
514
+ ## Explicit known-file preload (experimental)
515
+
516
+ Hosts that already know which local files a task needs can opt in through
517
+ `runHarnessTask` from `@zhivex-ai/harness/code-support`. Omission preserves the
518
+ ordinary model-directed read flow. There is no automatic file selection or CLI
519
+ flag, and `runHarness`'s stable options are unchanged.
520
+
521
+ ```ts
522
+ import { createHarness } from "@zhivex-ai/harness";
523
+ import { runHarnessTask } from "@zhivex-ai/harness/code-support";
524
+
525
+ const harness = await createHarness({ workspace: process.cwd(), provider: "openai" });
526
+ try {
527
+ const result = await runHarnessTask(harness, {
528
+ prompt: "Review billing logic against its documented contract."
529
+ }, {
530
+ preloadFiles: {
531
+ files: [
532
+ { path: "src/billing.ts", startLine: 1, endLine: 120 },
533
+ { path: "docs/billing.md" }
534
+ ],
535
+ maxBytes: 16_000
536
+ }
537
+ });
538
+ } finally {
539
+ await harness.close();
540
+ }
541
+ ```
542
+
543
+ `files` accepts 1–20 explicit path/range requests with inclusive positive line
544
+ numbers. The existing workspace reader enforces protected paths, regular-file
545
+ and no-symlink checks, source-size and batch-size limits, and bounded rendered
546
+ slices. `maxBytes` caps the serialized snapshot (default 32,000; maximum 64,000);
547
+ it cannot raise any workspace limit. An exceeded cap fails before model use,
548
+ rather than silently dropping requested files. Existing rendered slices can
549
+ still report truncation; select smaller ranges when full content is required.
550
+ The model input remains subject to normal token admission and compaction limits.
551
+
552
+ Preload calls the original policy-wrapped `read_files` executor through the
553
+ runtime's context, task-budget and telemetry wrappers. A successful read
554
+ triggers normal scoped `AGENTS.md` discovery before the first model request.
555
+ Tool policies can deny it; approval-required reads are refused and must use the
556
+ ordinary approval flow. The option is not consent to bypass an approval.
557
+
558
+ This first version supports **new local runs only**. Resumes with `preloadFiles`,
559
+ OCI/isolated MCP sessions, execution-environment overrides, tool catalog
560
+ overrides, explicit-review mode and custom tool guards are rejected before
561
+ preload. The original agent approval policy is evaluated; an approval override
562
+ is unsupported. No environment falls back silently to reading the host tree.
563
+
564
+ Snapshots are supplied as a separate user-context message, labelled as untrusted
565
+ file data, not as a system instruction or fabricated model/tool exchange. The
566
+ message contains bounded content and file digests. State metadata under
567
+ `zhivexKnownFilePreload` records selected ranges, serialized bytes and aggregate
568
+ SHA-256. The host read is measured as a tool operation but is not a model-issued
569
+ tool call and does not appear in `result.toolResults`. Failure before SDK run
570
+ admission need not produce a durable run state. Do not treat caller-supplied
571
+ metadata as an authorization receipt.
572
+
573
+ Files are read afresh for each explicit new invocation. On resume, omit this
574
+ option: saved snapshots are historical context, not a freshness guarantee or
575
+ permission to edit. Normal tools can reread changed files; existing edit
576
+ validation remains authoritative. Snapshot labels do not establish resistance
577
+ to prompt injection. Preloading irrelevant or large context can increase cost,
578
+ so callers should select only files needed by the task.
@@ -1,13 +1,20 @@
1
1
  # Engine API and Code integration
2
2
 
3
3
  The terminal-independent package entrypoints shipped in Harness 1.3.0 and remain
4
- in Harness 1.6.2, published on npm `latest`. They are not present in Harness 1.2.0.
4
+ in Harness 1.6.3, published on npm `latest`. They are not present in Harness 1.2.0.
5
5
  The protected workflow validated the exact stable tarball, live gates and
6
6
  registry integrity/provenance; local candidate smoke remains contributor evidence. Do not install registry 1.2.0 and
7
7
  expect the new entrypoints to exist.
8
8
 
9
9
  ## Entry points
10
10
 
11
+ The current source candidate adds experimental `createProfiledHarness`,
12
+ `CreateProfiledHarnessOptions`, `HarnessAgentProfile`, `harnessAgentProfileSchema`
13
+ and `GENERAL_ASSISTANT_PROFILE` to `/engine`. These are not in the published
14
+ 1.6.3 artifact. The existing stable constructor and coding defaults are unchanged.
15
+ See [Assistant profiles and persistent host](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_HOST.md) for contracts and
16
+ local-candidate setup.
17
+
11
18
  | Import | Use | Runtime |
12
19
  | --- | --- | --- |
13
20
  | `@zhivex-ai/harness/engine` | Configuration, execution, policies, approvals, tools, stores, providers and historical non-terminal library APIs | Node |
package/docs/FIRST_USE.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # First use
2
2
 
3
- This guide targets source candidate `1.6.3`, pending publication. Registry commands below apply after publication; current npm `latest` remains `1.6.2`.
3
+ This guide targets stable `1.7.0`, prepared for npm `latest`; publication is pending. Registry commands below become available after publication.
4
4
 
5
5
  ## Install and start
6
6
 
7
7
  Install Node.js 22.13.0 or newer and Git. Then:
8
8
 
9
9
  ```sh
10
- npm install -g @zhivex-ai/harness@1.6.3
10
+ npm install -g @zhivex-ai/harness@1.7.0
11
11
  cd /path/to/your/project
12
12
  zhx
13
13
  ```
@@ -82,16 +82,16 @@ For command execution, configure [OCI isolation](EXECUTION_ENVIRONMENTS.md).
82
82
  With Bun 1.4.0 or newer and a supported Node runtime:
83
83
 
84
84
  ```sh
85
- bun add --global @zhivex-ai/harness@1.6.3
85
+ bun add --global @zhivex-ai/harness@1.7.0
86
86
  zhx
87
87
  ```
88
88
 
89
89
  For a disposable version/help/environment check without a global installation:
90
90
 
91
91
  ```sh
92
- bunx @zhivex-ai/harness@1.6.3 --version
93
- bunx @zhivex-ai/harness@1.6.3 --help
94
- bunx @zhivex-ai/harness@1.6.3 doctor
92
+ bunx @zhivex-ai/harness@1.7.0 --version
93
+ bunx @zhivex-ai/harness@1.7.0 --help
94
+ bunx @zhivex-ai/harness@1.7.0 doctor
95
95
  ```
96
96
 
97
97
  For source development, use the [contributor guide](https://github.com/Zhivex/zhivex-harness/blob/main/CONTRIBUTING.md).
@@ -7,7 +7,7 @@ generated automatically; hosts may submit a suggestion for operator review.
7
7
 
8
8
  ## CLI
9
9
 
10
- Use `zhx` with Harness 1.6.2, published on `latest`. `zhivex-code` is Code 0.4.1, published on `latest` and pinned exactly to Harness 1.6.2. Commands
10
+ Use `zhx` with Harness 1.6.3, published on `latest`. `zhivex-code` is Code 0.4.2, published on `latest` and pinned exactly to Harness 1.6.3. Commands
11
11
  print bounded JSON, including the selected workspace/scope hashes. Quote content
12
12
  as one argument. Memory commands do not start a model or read credentials.
13
13
 
package/docs/README.md CHANGED
@@ -13,6 +13,8 @@ Start with [First use](FIRST_USE.md). You only need `zhx` for everyday conversat
13
13
  - [Azure OpenAI](AZURE_OPENAI.md): provisional endpoint, deployment, and API-key route.
14
14
  - [Credentials](CREDENTIALS.md): system keychain, temporary keys and automation.
15
15
  - [Project instructions and context](CONTEXT_ENGINEERING.md).
16
+ - [Project memory](PROJECT_MEMORY.md): explicit notes, retrieval budgets and deletion semantics.
17
+ - [Optional Web limits](WEB_LIMITS.md): interactive defaults and observed thresholds.
16
18
  - [Execution environments](EXECUTION_ENVIRONMENTS.md): isolated command execution.
17
19
  - [Desktop](https://github.com/Zhivex/zhivex-harness/blob/main/desktop/README.md): separate macOS alpha application.
18
20
  - [Support](../SUPPORT.md), [support matrix](SUPPORT_MATRIX.md), [security policy](../SECURITY.md).
@@ -33,19 +35,25 @@ Start with [First use](FIRST_USE.md). You only need `zhx` for everyday conversat
33
35
  - [Audit pack](AUDIT_PACK.md): experimental signed export of one run or guided task.
34
36
  - [Threat model](THREAT_MODEL.md) and [public repository security](PUBLIC_SECURITY.md).
35
37
 
38
+ ## Assistant
39
+
40
+ - [MVP scope and phase status](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_MVP_PLAN.md) and [contracts](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_CONTRACTS.md).
41
+ - [Persistent host](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_HOST.md), [Telegram](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_TELEGRAM.md) and [Calendar](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_CALENDAR.md).
42
+ - [Automations](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_AUTOMATIONS.md), [extensions](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_EXTENSIONS.md) and [pilot acceptance](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_PILOT.md).
43
+ - [Web interface](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_WEB.md) and [first-day setup](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_FIRST_DAY.md).
44
+
45
+ - [Daily tools](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_DAILY_TOOLS.md), [Microsoft](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_MICROSOFT.md) and [proactive notices](https://github.com/Zhivex/zhivex-harness/blob/main/docs/ASSISTANT_PROACTIVE.md).
46
+
36
47
  ## Contribute and maintain
37
48
 
38
49
  - [Harness/Code boundary proposal (ADR 0001)](https://github.com/Zhivex/zhivex-harness/blob/main/docs/adr/0001-harness-code-public-boundary.md): ownership, public APIs and the proposed 1.x transition.
39
50
 
40
51
  [Contributor guide](https://github.com/Zhivex/zhivex-harness/blob/main/CONTRIBUTING.md) ·
41
52
  [Maintenance and release evidence](https://github.com/Zhivex/zhivex-harness/blob/main/docs/MAINTENANCE.md) ·
53
+ [Historical reports](https://github.com/Zhivex/zhivex-harness/blob/main/docs/reports/README.md) ·
42
54
  [Changelog](../CHANGELOG.md)
43
55
 
44
56
  Primary guides are maintained in English. Historical reports preserve their original
45
57
  language and evidence. Maintainer procedures and reports remain in the repository
46
58
  and are excluded from the npm package. Published validation applies to the exact
47
59
  release artifact, not automatically to later source changes.
48
-
49
- - [Project memory](PROJECT_MEMORY.md): experimental explicit notes, review, retrieval budgets and deletion semantics.
50
-
51
- - [Optional Web limits and interactive defaults](WEB_LIMITS.md)
@@ -68,7 +68,8 @@
68
68
  "v1.6.0",
69
69
  "v1.6.1",
70
70
  "v1.6.2",
71
- "v1.6.3"
71
+ "v1.6.3",
72
+ "v1.7.0"
72
73
  ],
73
74
  "expectedModels": [
74
75
  {
@@ -606,6 +607,14 @@
606
607
  "qwen": "qwen3.8-flash",
607
608
  "openai": "gpt-6-luna"
608
609
  }
610
+ },
611
+ {
612
+ "releaseTag": "v1.7.0",
613
+ "models": {
614
+ "meta": "muse-spark-1.3-contributor",
615
+ "qwen": "qwen3.8-flash",
616
+ "openai": "gpt-6-luna"
617
+ }
609
618
  }
610
619
  ],
611
620
  "expectedCases": [
@@ -1,20 +1,20 @@
1
- # Examples for Zhivex Harness 1.4
1
+ # Examples for Zhivex Harness 1.7
2
2
 
3
3
  ## Isolated Bun installation
4
4
 
5
- Requirements: Bun 1.4.0+, Node.js 22.13.0+, and Git on macOS or Linux. After publication, this installs the 1.6.3 artifact in a temporary consumer, without building the source checkout or changing global tools:
5
+ Requirements: Bun 1.4.0+, Node.js 22.13.0+, and Git on macOS or Linux. After publication, this installs the 1.7.0 artifact in a temporary consumer, without building the source checkout or changing global tools:
6
6
 
7
7
  ```bash
8
8
  harness_demo_dir=$(mktemp -d)
9
9
  cd "$harness_demo_dir"
10
10
  printf '{"name":"harness-first-run","private":true}\n' > package.json
11
- bun add --exact --ignore-scripts @zhivex-ai/harness@1.6.3
11
+ bun add --exact --ignore-scripts @zhivex-ai/harness@1.7.0
12
12
  ./node_modules/.bin/zhx --version
13
13
  ./node_modules/.bin/zhx --help
14
14
  ./node_modules/.bin/zhx doctor --provider openai --json
15
15
  ```
16
16
 
17
- Version must print `1.6.3`; help lists commands. Doctor does not contact a provider. Without `OPENAI_API_KEY`, it reports the missing credential and exits with code `3`; inspect the JSON checks before proceeding. A directory without Git initialization can also produce a diagnostic warning. No paid model call is required for these checks. Both `zhx` and `zhivex-harness` are installed aliases; Bun manages installation, and their shebang runs Node.
17
+ Version must print `1.7.0`; help lists commands. Doctor does not contact a provider. Without `OPENAI_API_KEY`, it reports the missing credential and exits with code `3`; inspect the JSON checks before proceeding. A directory without Git initialization can also produce a diagnostic warning. No paid model call is required for these checks. Both `zhx` and `zhivex-harness` are installed aliases; Bun manages installation, and their shebang runs Node.
18
18
 
19
19
  To continue in your actual project, use the [global installation and credential setup](../README.md#quick-start), then `zhx init --profile daily --provider openai` and `zhx doctor --profile daily`. Real tasks require the selected provider credential in the process environment. Profiles store provider/model choices, never credentials. See [CLI](../docs/CLI.md) and [support](../SUPPORT.md).
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhivex-ai/harness",
3
- "version": "1.6.3",
3
+ "version": "1.7.0",
4
4
  "description": "Governed, provider-portable runtime for coding agents with durable approvals and isolated repository execution.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -168,6 +168,7 @@
168
168
  "test": "bun test --preload ./tests/preload-bedrock-mock.ts ./tests ./desktop/tests",
169
169
  "evaluate": "bun run scripts/evaluate.ts",
170
170
  "benchmark:workspace": "bun run scripts/benchmark-workspace.ts",
171
+ "benchmark:harness": "bun run scripts/benchmark-harness-overhead.ts",
171
172
  "benchmark:workspace:ci": "bun run scripts/benchmark-workspace.ts --files 1000 --page-size 100 --repetitions 3 --warmups 0",
172
173
  "benchmark:oci": "bun run scripts/benchmark-oci.ts",
173
174
  "benchmark:safe-fix": "bun run scripts/benchmark-time-to-safe-fix.ts",
@@ -214,7 +215,10 @@
214
215
  "typecheck:code": "bun run --cwd packages/code typecheck",
215
216
  "evaluate:tasks": "bun run scripts/task-acceptance.ts",
216
217
  "prepare:desktop": "bun run build && bun pm pack --ignore-scripts --quiet --filename desktop/.harness-candidate.tgz && bun run desktop/scripts/prepare-harness.ts desktop/.harness-candidate.tgz",
217
- "smoke:mcp:installed": "bun run build && bun scripts/mcp-installed-smoke.ts"
218
+ "smoke:mcp:installed": "bun run build && bun scripts/mcp-installed-smoke.ts",
219
+ "prepare:assistant": "bun run build && bun install --cwd packages/assistant --frozen-lockfile --ignore-scripts && bun run --cwd packages/assistant prepare:local",
220
+ "check:assistant": "bun run --cwd packages/assistant typecheck && bun run --cwd packages/assistant test && bun run --cwd packages/assistant smoke && bun run --cwd packages/assistant smoke:installed",
221
+ "smoke:assistant:web": "bun run --cwd packages/assistant build && bun run --cwd packages/assistant smoke:daily-web && bun run --cwd packages/assistant smoke:microsoft-web"
218
222
  },
219
223
  "dependencies": {
220
224
  "@zhivex-ai/agents": "1.12.0",