@zhivex-ai/harness 1.7.0 → 1.8.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 +8 -2
- package/README.md +17 -5
- package/SECURITY.md +1 -1
- package/SUPPORT.md +2 -2
- package/benchmarks/README.md +26 -0
- package/contracts/engine-api.json +1557 -0
- package/contracts/public-api.json +114 -0
- package/contracts/stable-api-signatures.json +17 -17
- package/dist/acp-cli.js +37 -1090
- package/dist/application/agenda.d.ts +10 -0
- package/dist/application/approval-review.d.ts +61 -0
- package/dist/application/assistant/automation/scheduler.d.ts +21 -0
- package/dist/application/assistant/automation/summary.d.ts +29 -0
- package/dist/application/assistant/automation/time.d.ts +10 -0
- package/dist/application/assistant/calendar/calendar.d.ts +238 -0
- package/dist/application/assistant/calendar/connection.d.ts +50 -0
- package/dist/application/assistant/calendar/create-event.d.ts +75 -0
- package/dist/application/assistant/calendar/environment.d.ts +2 -0
- package/dist/application/assistant/calendar/http.d.ts +6 -0
- package/dist/application/assistant/calendar/oauth.d.ts +68 -0
- package/dist/application/assistant/calendar/store.d.ts +11 -0
- package/dist/application/assistant/calendar/tools.d.ts +78 -0
- package/dist/application/assistant/client.d.ts +10 -0
- package/dist/application/assistant/config.d.ts +9 -0
- package/dist/application/assistant/contracts.d.ts +77 -0
- package/dist/application/assistant/daily/service.d.ts +181 -0
- package/dist/application/assistant/doctor.d.ts +22 -0
- package/dist/application/assistant/evaluation.d.ts +81 -0
- package/dist/application/assistant/host.d.ts +399 -0
- package/dist/application/assistant/integrations/google.d.ts +117 -0
- package/dist/application/assistant/integrations/public-web.d.ts +16 -0
- package/dist/application/assistant/managed/secrets.d.ts +10 -0
- package/dist/application/assistant/managed/setup-state.d.ts +346 -0
- package/dist/application/assistant/managed/setup.d.ts +492 -0
- package/dist/application/assistant/microsoft/connection.d.ts +73 -0
- package/dist/application/assistant/microsoft/tools.d.ts +78 -0
- package/dist/application/assistant/modules/calendar.d.ts +3 -0
- package/dist/application/assistant/modules/catalog.d.ts +38 -0
- package/dist/application/assistant/modules/daily.d.ts +5 -0
- package/dist/application/assistant/modules/github.d.ts +5 -0
- package/dist/application/assistant/modules/google.d.ts +3 -0
- package/dist/application/assistant/modules/mcp.d.ts +11 -0
- package/dist/application/assistant/modules/microsoft.d.ts +3 -0
- package/dist/application/assistant/modules/module.d.ts +224 -0
- package/dist/application/assistant/modules/tools.d.ts +11 -0
- package/dist/application/assistant/modules/web.d.ts +7 -0
- package/dist/application/assistant/private-directory.d.ts +3 -0
- package/dist/application/assistant/proactive/service.d.ts +142 -0
- package/dist/application/assistant/providers/openai-compatible.d.ts +66 -0
- package/dist/application/assistant/providers/provider.d.ts +141 -0
- package/dist/application/assistant/providers/web-citations.d.ts +2 -0
- package/dist/application/assistant/runtime.d.ts +16 -0
- package/dist/application/assistant/task-metrics.d.ts +304 -0
- package/dist/application/assistant/telegram/api.d.ts +47 -0
- package/dist/application/assistant/telegram/bridge.d.ts +69 -0
- package/dist/application/assistant/telegram/store.d.ts +10 -0
- package/dist/application/automation.d.ts +5 -0
- package/dist/application/calendar-review.d.ts +5 -0
- package/dist/application/checkpoint-review.d.ts +30 -0
- package/dist/application/client.d.ts +18 -0
- package/dist/application/code/context.d.ts +5 -0
- package/dist/application/code/delivery.d.ts +6 -0
- package/dist/application/code/git-delivery.d.ts +54 -0
- package/dist/application/code/github-git-transport.d.ts +15 -0
- package/dist/application/code/github-pr-transport.d.ts +6 -0
- package/dist/application/code/host.d.ts +25 -0
- package/dist/application/code/pr-delivery.d.ts +79 -0
- package/dist/application/code/projects.d.ts +90 -0
- package/dist/application/code/remote-delivery.d.ts +80 -0
- package/dist/application/code/repository.d.ts +9 -0
- package/dist/application/code/worktrees.d.ts +123 -0
- package/dist/application/contracts.d.ts +288 -0
- package/dist/application/coordinator-client.d.ts +33 -0
- package/dist/application/coordinator-discovery.d.ts +17 -0
- package/dist/application/coordinator-launcher.d.ts +2 -0
- package/dist/application/coordinator.d.ts +27 -0
- package/dist/application/credential-process.d.ts +13 -0
- package/dist/application/host.d.ts +7 -0
- package/dist/application/management.d.ts +68 -0
- package/dist/application/notes.d.ts +5 -0
- package/dist/application/offline-migration.d.ts +16 -0
- package/dist/application/personal-state.d.ts +5 -0
- package/dist/application/review-channel.d.ts +23 -0
- package/dist/application/review-tickets.d.ts +29 -0
- package/dist/application/runtime-binding.d.ts +4 -0
- package/dist/application-cli-wfh08g41.js +184 -0
- package/dist/application-cli-z3f9pvcf.js +209 -0
- package/dist/approvals/auto-approve.d.ts +1 -1
- package/dist/arguments-75r85mvc.js +27 -0
- package/dist/arguments-x24bbqvd.js +22 -0
- package/dist/audit/index.js +16 -472
- package/dist/audit-pack-1gnych0m.js +93 -0
- package/dist/{audit-pack-y02n8zd0.js → audit-pack-h44kjkbj.js} +17 -11
- package/dist/calendar-2xw0rr7b.js +49 -0
- package/dist/cli/application-cli.d.ts +2 -0
- package/dist/cli/arguments.d.ts +14 -1
- package/dist/cli/auto-approve-setup.d.ts +13 -0
- package/dist/cli/configured-harness.d.ts +1 -2
- package/dist/cli/console/console-budget.d.ts +16 -2
- package/dist/cli/console/console-checkpoints.d.ts +12 -0
- package/dist/cli/console/console-commands.d.ts +3 -3
- package/dist/cli/console/console-compaction.d.ts +1 -1
- package/dist/cli/console/console-diff.d.ts +2 -0
- package/dist/cli/console/console-input.d.ts +29 -1
- package/dist/cli/console/console-navigation.d.ts +2 -2
- package/dist/cli/console/console-outcome.d.ts +10 -0
- package/dist/cli/console/console-presentation.d.ts +17 -2
- package/dist/cli/console/console-pricing.d.ts +14 -0
- package/dist/cli/console/console-reasoning.d.ts +1 -1
- package/dist/cli/console/console-recovery.d.ts +2 -0
- package/dist/cli/console/console-review.d.ts +34 -0
- package/dist/cli/console/console-run-policy.d.ts +5 -0
- package/dist/cli/console/console-run-view.d.ts +28 -0
- package/dist/cli/console/console-task.d.ts +30 -0
- package/dist/cli/console/console-welcome.d.ts +13 -3
- package/dist/cli/console/review-diff.d.ts +20 -0
- package/dist/cli/presentation.d.ts +8 -6
- package/dist/cli/service-checkpoints.d.ts +234 -0
- package/dist/cli/terminal/activity-history.d.ts +4 -2
- package/dist/cli/terminal/activity-stream.d.ts +33 -0
- package/dist/cli/terminal/file-diff.d.ts +11 -0
- package/dist/cli/terminal/terminal-theme.d.ts +9 -0
- package/dist/cli/terminal/terminal-ui.d.ts +44 -2
- package/dist/cli/terminal/tool-activity.d.ts +6 -2
- package/dist/{cli-entry-hdtfef27.js → cli-entry-68kqraj7.js} +95 -43
- package/dist/{cli-entry-j6jcb2jb.js → cli-entry-86rcbmwh.js} +294 -14
- package/dist/cli-entry-btkpb4h1.js +3627 -0
- package/dist/cli-entry-bxjbs6qq.js +200 -0
- package/dist/cli-entry-cpm89r9q.js +624 -0
- package/dist/{cli-entry-v5db3eb2.js → cli-entry-dksm56sj.js} +39 -297
- package/dist/{cli-entry-td04s0fa.js → cli-entry-eka68ttb.js} +3919 -4549
- package/dist/cli-entry-h7dcah4p.js +137 -0
- package/dist/cli-entry-kwk23ktq.js +33 -0
- package/dist/{cli-entry-ynahz9qc.js → cli-entry-vmce694z.js} +1251 -3139
- package/dist/cli-entry-wanv05db.js +1113 -0
- package/dist/{cli-zw18kdqx.js → cli-z7vhm1rk.js} +1767 -380
- package/dist/cli.js +8 -6
- package/dist/client/json-contracts.d.ts +153 -0
- package/dist/client/local-service.d.ts +7 -12
- package/dist/client/local-transport.d.ts +14 -0
- package/dist/client/protocol.d.ts +43 -1
- package/dist/compat/cli-options.d.ts +7 -1
- package/dist/compat/cli.d.ts +2 -0
- package/dist/compat/cli.js +4043 -0
- package/dist/compat/code-support.d.ts +3 -0
- package/dist/compat/code-support.js +50 -28
- package/dist/{config-r9fdhce6.js → config-hw78440t.js} +5 -5
- package/dist/{config-vyajmksy.js → config-v7s8hp37.js} +1 -1
- package/dist/context/adaptive-compaction.d.ts +1 -0
- package/dist/context/lossless-lines.d.ts +13 -0
- package/dist/context/numbered-read-lines.d.ts +15 -0
- package/dist/context/read-attempts.d.ts +21 -0
- package/dist/context/request-projection.d.ts +32 -4
- package/dist/context/scoped-context.d.ts +14 -0
- package/dist/context/working-read-replay.d.ts +12 -0
- package/dist/coordinator-client-nzysqxf0.js +10 -0
- package/dist/engine/acp.js +27 -21
- package/dist/engine/application-client.d.ts +11 -0
- package/dist/engine/application-client.js +18 -0
- package/dist/engine/application-protocol.d.ts +5 -0
- package/dist/engine/application-protocol.js +7 -0
- package/dist/engine/application.d.ts +43 -0
- package/dist/engine/application.js +206 -0
- package/dist/engine/assistant/automation/scheduler.d.ts +2 -0
- package/dist/engine/assistant/automation/scheduler.js +11 -0
- package/dist/engine/assistant/automation/summary.d.ts +3 -0
- package/dist/engine/assistant/automation/summary.js +8 -0
- package/dist/engine/assistant/automation/time.d.ts +5 -0
- package/dist/engine/assistant/automation/time.js +15 -0
- package/dist/engine/assistant/calendar/calendar.d.ts +5 -0
- package/dist/engine/assistant/calendar/calendar.js +12 -0
- package/dist/engine/assistant/calendar/connection.d.ts +2 -0
- package/dist/engine/assistant/calendar/connection.js +11 -0
- package/dist/engine/assistant/calendar/environment.d.ts +1 -0
- package/dist/engine/assistant/calendar/environment.js +7 -0
- package/dist/engine/assistant/calendar/http.d.ts +3 -0
- package/dist/engine/assistant/calendar/http.js +9 -0
- package/dist/engine/assistant/calendar/oauth.d.ts +5 -0
- package/dist/engine/assistant/calendar/oauth.js +12 -0
- package/dist/engine/assistant/calendar/store.d.ts +2 -0
- package/dist/engine/assistant/calendar/store.js +8 -0
- package/dist/engine/assistant/calendar/tools.d.ts +2 -0
- package/dist/engine/assistant/calendar/tools.js +46 -0
- package/dist/engine/assistant/client.d.ts +2 -0
- package/dist/engine/assistant/client.js +33 -0
- package/dist/engine/assistant/config.d.ts +1 -0
- package/dist/engine/assistant/config.js +102 -0
- package/dist/engine/assistant/contracts.d.ts +10 -0
- package/dist/engine/assistant/contracts.js +78 -0
- package/dist/engine/assistant/daily/service.d.ts +12 -0
- package/dist/engine/assistant/daily/service.js +27 -0
- package/dist/engine/assistant/doctor.d.ts +1 -0
- package/dist/engine/assistant/doctor.js +116 -0
- package/dist/engine/assistant/evaluation.d.ts +2 -0
- package/dist/engine/assistant/evaluation.js +76 -0
- package/dist/engine/assistant/host.d.ts +2 -0
- package/dist/engine/assistant/host.js +63 -0
- package/dist/engine/assistant/integrations/google.d.ts +9 -0
- package/dist/engine/assistant/integrations/google.js +30 -0
- package/dist/engine/assistant/integrations/public-web.d.ts +3 -0
- package/dist/engine/assistant/integrations/public-web.js +11 -0
- package/dist/engine/assistant/managed/secrets.d.ts +1 -0
- package/dist/engine/assistant/managed/secrets.js +0 -0
- package/dist/engine/assistant/managed/setup-state.d.ts +11 -0
- package/dist/engine/assistant/managed/setup-state.js +84 -0
- package/dist/engine/assistant/managed/setup.d.ts +3 -0
- package/dist/engine/assistant/managed/setup.js +85 -0
- package/dist/engine/assistant/microsoft/connection.d.ts +7 -0
- package/dist/engine/assistant/microsoft/connection.js +21 -0
- package/dist/engine/assistant/microsoft/tools.d.ts +8 -0
- package/dist/engine/assistant/microsoft/tools.js +30 -0
- package/dist/engine/assistant/modules/calendar.d.ts +1 -0
- package/dist/engine/assistant/modules/calendar.js +49 -0
- package/dist/engine/assistant/modules/catalog.d.ts +3 -0
- package/dist/engine/assistant/modules/catalog.js +67 -0
- package/dist/engine/assistant/modules/daily.d.ts +1 -0
- package/dist/engine/assistant/modules/daily.js +48 -0
- package/dist/engine/assistant/modules/github.d.ts +1 -0
- package/dist/engine/assistant/modules/github.js +43 -0
- package/dist/engine/assistant/modules/google.d.ts +1 -0
- package/dist/engine/assistant/modules/google.js +53 -0
- package/dist/engine/assistant/modules/mcp.d.ts +1 -0
- package/dist/engine/assistant/modules/mcp.js +42 -0
- package/dist/engine/assistant/modules/microsoft.d.ts +1 -0
- package/dist/engine/assistant/modules/microsoft.js +53 -0
- package/dist/engine/assistant/modules/module.d.ts +5 -0
- package/dist/engine/assistant/modules/module.js +42 -0
- package/dist/engine/assistant/modules/tools.d.ts +2 -0
- package/dist/engine/assistant/modules/tools.js +42 -0
- package/dist/engine/assistant/modules/web.d.ts +1 -0
- package/dist/engine/assistant/modules/web.js +45 -0
- package/dist/engine/assistant/private-directory.d.ts +1 -0
- package/dist/engine/assistant/private-directory.js +7 -0
- package/dist/engine/assistant/proactive/service.d.ts +6 -0
- package/dist/engine/assistant/proactive/service.js +16 -0
- package/dist/engine/assistant/providers/openai-compatible.d.ts +4 -0
- package/dist/engine/assistant/providers/openai-compatible.js +12 -0
- package/dist/engine/assistant/providers/provider.d.ts +7 -0
- package/dist/engine/assistant/providers/provider.js +54 -0
- package/dist/engine/assistant/providers/web-citations.d.ts +1 -0
- package/dist/engine/assistant/providers/web-citations.js +7 -0
- package/dist/engine/assistant/runtime.d.ts +2 -0
- package/dist/engine/assistant/runtime.js +73 -0
- package/dist/engine/assistant/task-metrics.d.ts +8 -0
- package/dist/engine/assistant/task-metrics.js +17 -0
- package/dist/engine/assistant/telegram/api.d.ts +5 -0
- package/dist/engine/assistant/telegram/api.js +11 -0
- package/dist/engine/assistant/telegram/bridge.d.ts +2 -0
- package/dist/engine/assistant/telegram/bridge.js +40 -0
- package/dist/engine/assistant/telegram/store.d.ts +2 -0
- package/dist/engine/assistant/telegram/store.js +8 -0
- package/dist/engine/client.js +26 -18
- package/dist/engine/desktop-providers-v1.js +4 -4
- package/dist/engine/desktop-state-v1.js +16 -13
- package/dist/engine/index.js +111 -159
- package/dist/engine/mcp-stdio-v1.js +13 -12
- package/dist/engine/models.js +65 -23
- package/dist/engine/protocol.js +10 -6
- package/dist/engine/service.js +32 -21
- package/dist/hostile-repository-demo.js +1822 -696
- package/dist/index-09rsdr2d.js +1744 -0
- package/dist/index-0csc5sc7.js +139 -0
- package/dist/{index-v86bh0eg.js → index-0dkty795.js} +8 -6
- package/dist/index-0kkgqvg7.js +0 -0
- package/dist/index-0mzz9axm.js +58 -0
- package/dist/index-1e69ar8r.js +38 -0
- package/dist/index-1z0xhkh9.js +18 -0
- package/dist/index-2cef1k92.js +356 -0
- package/dist/{index-k1a1xesg.js → index-2j0v1xwr.js} +17 -13
- package/dist/index-2jw9jd7h.js +116 -0
- package/dist/index-2n9qx4km.js +0 -0
- package/dist/index-3rvk23e8.js +877 -0
- package/dist/index-3wa4j0yk.js +71 -0
- package/dist/index-41q1k17x.js +210 -0
- package/dist/index-4vz4bqqw.js +33 -0
- package/dist/index-5jxm2wy5.js +123 -0
- package/dist/index-5rk6ss42.js +216 -0
- package/dist/index-5v1skxf7.js +1852 -0
- package/dist/{index-qz4fs9f9.js → index-6ehtssyz.js} +355 -332
- package/dist/index-76kpdbpw.js +80 -0
- package/dist/{index-r0q0r88h.js → index-7nbmhmw5.js} +10 -10
- package/dist/index-8mx0yrkz.js +31 -0
- package/dist/index-8tjev5ds.js +11 -0
- package/dist/index-91n5wr6s.js +163 -0
- package/dist/index-91trs3ew.js +151 -0
- package/dist/index-9y8p5vy5.js +222 -0
- package/dist/index-abxahprd.js +55 -0
- package/dist/index-aptyr511.js +84 -0
- package/dist/{index-8sm2a1wa.js → index-ay26xfxt.js} +28 -20
- package/dist/index-b4yed1s3.js +657 -0
- package/dist/index-bb7phvtg.js +23 -0
- package/dist/index-bk5tn9b8.js +236 -0
- package/dist/index-bw34861c.js +292 -0
- package/dist/index-c6fnjhgv.js +55 -0
- package/dist/{index-qfsrrnz6.js → index-cjevq9s8.js} +2 -2
- package/dist/{index-c39197wq.js → index-ctcwrkrc.js} +4 -4
- package/dist/{index-yx52bt4a.js → index-cztmcesv.js} +2 -2
- package/dist/index-dpbmxnrf.js +564 -0
- package/dist/index-ekxdcy36.js +134 -0
- package/dist/index-f8zpcsx3.js +289 -0
- package/dist/{index-6dxrbnxm.js → index-f970qtb4.js} +7 -143
- package/dist/index-fatcn6fp.js +2791 -0
- package/dist/index-fbzykqxy.js +105 -0
- package/dist/{index-1265j7t2.js → index-fwf274vc.js} +24 -14
- package/dist/index-fy4w0a7v.js +0 -0
- package/dist/index-gvva3e5x.js +76 -0
- package/dist/index-h7dcah4p.js +137 -0
- package/dist/index-hm9r120s.js +42 -0
- package/dist/index-j3d2tw97.js +328 -0
- package/dist/index-jfqj20x8.js +41 -0
- package/dist/{index-yp0jtaxp.js → index-k529a278.js} +6 -6
- package/dist/{index-bt2p8x7r.js → index-kbrf5bx7.js} +110 -106
- package/dist/index-kwk23ktq.js +33 -0
- package/dist/index-kz857p1j.js +557 -0
- package/dist/{index-tc2r2n8b.js → index-mkt5yrax.js} +31 -105
- package/dist/{index-tgt8gtq7.js → index-ndgnvjez.js} +18 -18
- package/dist/index-nemn4epv.js +43 -0
- package/dist/index-nkwy5bjr.js +1225 -0
- package/dist/index-nvvzr4ny.js +136 -0
- package/dist/index-pkspzsfs.js +78 -0
- package/dist/{index-fm84men1.js → index-px1tnqgt.js} +2 -2
- package/dist/index-q7qdw883.js +79 -0
- package/dist/{index-mzydbzp8.js → index-qvbg6tx1.js} +65 -23
- package/dist/index-r3mwr5fb.js +0 -0
- package/dist/index-rdr78m0k.js +91 -0
- package/dist/index-rtamqsfs.js +59 -0
- package/dist/index-s125ss45.js +38 -0
- package/dist/{index-h8r80xhk.js → index-sx1t6dnd.js} +4005 -2781
- package/dist/index-tar0ngkm.js +359 -0
- package/dist/index-tn58cr6w.js +471 -0
- package/dist/{index-v17e1xs8.js → index-v79s9bf9.js} +96 -23
- package/dist/index-vk3rq21m.js +17 -0
- package/dist/index-vmvnr28y.js +72 -0
- package/dist/index-vz629cg8.js +49 -0
- package/dist/{index-eps3c3g6.js → index-w292hdpz.js} +197 -960
- package/dist/{index-t6sjhxh8.js → index-w9eqg6p9.js} +24 -302
- package/dist/index-wj96kdw2.js +57 -0
- package/dist/index-wyck5yhd.js +141 -0
- package/dist/index-xvtk8pxs.js +674 -0
- package/dist/{index-bpc596v3.js → index-xwb691v9.js} +2 -2
- package/dist/index-ym69x168.js +518 -0
- package/dist/index-yprdjk9v.js +65 -0
- package/dist/index-z2a81ccr.js +35 -0
- package/dist/{index-3ah1f369.js → index-z69cqk74.js} +3 -3
- package/dist/index-zaakvmzq.js +62 -0
- package/dist/index-zk3m4mzg.js +232 -0
- package/dist/index-zx3wgvx4.js +218 -0
- package/dist/index.js +102 -83
- package/dist/persistence/migration-guard.d.ts +3 -0
- package/dist/runtime/harness.d.ts +2 -0
- package/dist/service-cli.js +130 -40
- package/dist/service-client-cli-2rzxy5mj.js +1166 -0
- package/dist/service-client-cli-5ne8q5ej.js +543 -0
- package/dist/tools/ooxml-zip.d.ts +21 -0
- package/dist/tools/presentations.d.ts +47 -0
- package/dist/tools/tabular-data.d.ts +114 -0
- package/dist/tools/workspace.d.ts +76 -0
- package/dist/verify-historical-migrations.js +1923 -797
- package/dist/workspace/workspace.d.ts +13 -1
- package/dist/zhx.js +8 -6
- package/docs/APPLICATION_MIGRATION.md +32 -0
- package/docs/CLI.md +166 -2
- package/docs/CODE_RELEASE.md +5 -3
- package/docs/CODE_WEB_TASKS.md +3 -114
- package/docs/CONTEXT_ENGINEERING.md +27 -0
- package/docs/ENGINE_API.md +1 -1
- package/docs/EXTENSIBILITY.md +1 -1
- package/docs/FIRST_USE.md +6 -6
- package/docs/INTERNAL_ARCHIVE.md +43 -0
- package/docs/LOCAL_SERVICE.md +1 -1
- package/docs/MODEL_CATALOG.md +14 -0
- package/docs/README.md +13 -2
- package/evaluations/representative-assembly-matrix.json +10 -1
- package/examples/README.md +3 -3
- package/examples/assistant/compatible-calendar.json +17 -0
- package/examples/assistant/composed-modules.json +23 -0
- package/examples/assistant/connected-tools.json +9 -0
- package/examples/assistant/daily-tools.json +6 -0
- package/examples/assistant/offline.mjs +24 -0
- package/fixtures/cli-compatibility/README.md +10 -0
- package/fixtures/cli-compatibility/inventory.json +7858 -0
- package/package.json +230 -28
- package/dist/cli/console/console-model-catalog.d.ts +0 -8
- package/dist/index-4gt045j0.js +0 -288
- package/dist/index-4jw3tvy8.js +0 -301
- package/dist/index-ebb5d4s3.js +0 -640
- package/dist/index-x9hv1a34.js +0 -274
- package/dist/service-client-cli-gtk26axb.js +0 -1251
|
@@ -31,3 +31,6 @@ export { createTaskTelemetry } from '../runtime/task-telemetry.js';
|
|
|
31
31
|
export { runHarnessTask } from '../runtime/harness.js';
|
|
32
32
|
export type { HarnessTaskRunOptions } from '../runtime/harness.js';
|
|
33
33
|
export type { KnownFilePreload } from "../runtime/known-file-preload.js";
|
|
34
|
+
export { appendAutoApproval, approvalFacts, buildSnapshots, classifyApproval, createAutoApprovalEntry, decideBatch, loadApprovalConfig, publicAutoApproval, readAutoApprovals, readWorkspaceSnapshot, resolveAutoApprovePolicy, revertAutoApproval, writeApprovalConfig } from "../approvals/auto-approve.js";
|
|
35
|
+
export { revealInvisible, revealInvisibleText } from "../review/reveal-invisible.js";
|
|
36
|
+
export type { ApprovalConfigFile, AutoApproveMode, AutoApprovePolicy } from "../approvals/auto-approve.js";
|
|
@@ -1,6 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
appendAutoApproval,
|
|
3
|
+
approvalFacts,
|
|
4
|
+
buildSnapshots,
|
|
5
|
+
classifyApproval,
|
|
6
|
+
createAutoApprovalEntry,
|
|
7
|
+
decideBatch,
|
|
8
|
+
inspectCodeStateDatabase,
|
|
9
|
+
loadApprovalConfig,
|
|
10
|
+
publicAutoApproval,
|
|
11
|
+
readAutoApprovals,
|
|
12
|
+
readWorkspaceSnapshot,
|
|
13
|
+
resolveAutoApprovePolicy,
|
|
14
|
+
revealInvisible,
|
|
15
|
+
revealInvisibleText,
|
|
16
|
+
revertAutoApproval,
|
|
17
|
+
writeApprovalConfig
|
|
18
|
+
} from "../index-dpbmxnrf.js";
|
|
1
19
|
import {
|
|
2
20
|
loadModelCatalog
|
|
3
|
-
} from "../index-
|
|
21
|
+
} from "../index-cjevq9s8.js";
|
|
4
22
|
import {
|
|
5
23
|
checkEvidence,
|
|
6
24
|
createTaskTelemetry,
|
|
@@ -13,30 +31,32 @@ import {
|
|
|
13
31
|
readHarnessTaskDraft,
|
|
14
32
|
requestHarnessTaskCancellation,
|
|
15
33
|
runHarnessTask
|
|
16
|
-
} from "../index-
|
|
34
|
+
} from "../index-sx1t6dnd.js";
|
|
35
|
+
import"../index-k529a278.js";
|
|
36
|
+
import"../index-bw34861c.js";
|
|
17
37
|
import {
|
|
18
38
|
TASK_SOURCE_KEY,
|
|
19
39
|
harnessToolExecution,
|
|
20
40
|
taskSources
|
|
21
|
-
} from "../index-
|
|
22
|
-
import"../index-yp0jtaxp.js";
|
|
41
|
+
} from "../index-w9eqg6p9.js";
|
|
23
42
|
import {
|
|
24
43
|
resolvePackageCheckCommand,
|
|
25
44
|
resolvePackageManager,
|
|
26
45
|
runPortableProcess
|
|
27
|
-
} from "../index-
|
|
46
|
+
} from "../index-v79s9bf9.js";
|
|
28
47
|
import {
|
|
29
48
|
DEFAULT_HARNESS_MAX_STEPS,
|
|
30
49
|
modelReasoningEfforts,
|
|
31
50
|
reasoningEffortSchema
|
|
32
|
-
} from "../index-
|
|
33
|
-
import"../index-
|
|
51
|
+
} from "../index-fwf274vc.js";
|
|
52
|
+
import"../index-ctcwrkrc.js";
|
|
34
53
|
import {
|
|
35
54
|
bundledModelCatalog,
|
|
36
55
|
catalogModels,
|
|
37
56
|
modelDescription
|
|
38
|
-
} from "../index-
|
|
39
|
-
import"../index-
|
|
57
|
+
} from "../index-qvbg6tx1.js";
|
|
58
|
+
import"../index-kbrf5bx7.js";
|
|
59
|
+
import"../index-kwk23ktq.js";
|
|
40
60
|
import {
|
|
41
61
|
TASK_ACCEPTANCE_EVIDENCE_KEY,
|
|
42
62
|
TASK_BUDGET_KEY,
|
|
@@ -46,30 +66,17 @@ import {
|
|
|
46
66
|
inspectTaskBudgetSummary,
|
|
47
67
|
inspectUsageLedger,
|
|
48
68
|
usagePricingSchema
|
|
49
|
-
} from "../index-
|
|
50
|
-
import"../index-
|
|
69
|
+
} from "../index-6ehtssyz.js";
|
|
70
|
+
import"../index-f970qtb4.js";
|
|
51
71
|
import {
|
|
52
72
|
FileChangedWhileReadingError,
|
|
53
73
|
FileSizeLimitError,
|
|
54
|
-
SqliteDatabase,
|
|
55
74
|
UnsafeFileTypeError,
|
|
56
75
|
readRegularFileNoFollow
|
|
57
|
-
} from "../index-
|
|
58
|
-
import"../index-
|
|
59
|
-
import"../index-
|
|
76
|
+
} from "../index-h7dcah4p.js";
|
|
77
|
+
import"../index-xwb691v9.js";
|
|
78
|
+
import"../index-px1tnqgt.js";
|
|
60
79
|
import"../index-1bx83sw4.js";
|
|
61
|
-
// src/compat/code-support.ts
|
|
62
|
-
var inspectCodeStateDatabase = (databasePath) => {
|
|
63
|
-
const database = new SqliteDatabase(databasePath, { create: false, readonly: true, strict: true });
|
|
64
|
-
try {
|
|
65
|
-
const integrity = database.query("PRAGMA quick_check").get()?.quick_check;
|
|
66
|
-
const tables = database.query("SELECT name FROM sqlite_master WHERE type = 'table'").all().map((row) => row.name);
|
|
67
|
-
const sessionVersion = tables.includes("zhivex_cli_session_schema") ? database.query("SELECT version FROM zhivex_cli_session_schema WHERE singleton = 1").get()?.version : undefined;
|
|
68
|
-
return { integrity, tables, sessionVersion };
|
|
69
|
-
} finally {
|
|
70
|
-
database.close(false);
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
80
|
export {
|
|
74
81
|
DEFAULT_HARNESS_MAX_STEPS,
|
|
75
82
|
FileChangedWhileReadingError,
|
|
@@ -79,10 +86,16 @@ export {
|
|
|
79
86
|
TASK_SOURCE_KEY,
|
|
80
87
|
USAGE_LEDGER_KEY,
|
|
81
88
|
UnsafeFileTypeError,
|
|
89
|
+
appendAutoApproval,
|
|
90
|
+
approvalFacts,
|
|
91
|
+
buildSnapshots,
|
|
82
92
|
bundledModelCatalog,
|
|
83
93
|
catalogModels,
|
|
84
94
|
checkEvidence,
|
|
95
|
+
classifyApproval,
|
|
96
|
+
createAutoApprovalEntry,
|
|
85
97
|
createTaskTelemetry,
|
|
98
|
+
decideBatch,
|
|
86
99
|
estimateMessages,
|
|
87
100
|
formatUsageLedger,
|
|
88
101
|
harnessToolExecution,
|
|
@@ -93,19 +106,28 @@ export {
|
|
|
93
106
|
inspectRuntimeDiagnostics,
|
|
94
107
|
inspectTaskBudgetSummary,
|
|
95
108
|
inspectUsageLedger,
|
|
109
|
+
loadApprovalConfig,
|
|
96
110
|
loadModelCatalog,
|
|
97
111
|
modelDescription,
|
|
98
112
|
modelReasoningEfforts,
|
|
99
113
|
nativeTaskSnapshot,
|
|
100
114
|
persistHarnessTaskDraft,
|
|
115
|
+
publicAutoApproval,
|
|
116
|
+
readAutoApprovals,
|
|
101
117
|
readHarnessTaskDraft,
|
|
102
118
|
readRegularFileNoFollow,
|
|
119
|
+
readWorkspaceSnapshot,
|
|
103
120
|
reasoningEffortSchema,
|
|
104
121
|
requestHarnessTaskCancellation,
|
|
122
|
+
resolveAutoApprovePolicy,
|
|
105
123
|
resolvePackageCheckCommand,
|
|
106
124
|
resolvePackageManager,
|
|
125
|
+
revealInvisible,
|
|
126
|
+
revealInvisibleText,
|
|
127
|
+
revertAutoApproval,
|
|
107
128
|
runHarnessTask,
|
|
108
129
|
runPortableProcess,
|
|
109
130
|
taskSources,
|
|
110
|
-
usagePricingSchema
|
|
131
|
+
usagePricingSchema,
|
|
132
|
+
writeApprovalConfig
|
|
111
133
|
};
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
providerAvailability,
|
|
27
27
|
providerDescriptor,
|
|
28
28
|
resolveHarnessConfig
|
|
29
|
-
} from "./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
29
|
+
} from "./index-fwf274vc.js";
|
|
30
|
+
import"./index-ctcwrkrc.js";
|
|
31
|
+
import"./index-qvbg6tx1.js";
|
|
32
|
+
import"./index-xwb691v9.js";
|
|
33
|
+
import"./index-px1tnqgt.js";
|
|
34
34
|
import"./index-1bx83sw4.js";
|
|
35
35
|
export {
|
|
36
36
|
BUILTIN_PROVIDER_REGISTRATIONS,
|
|
@@ -11,6 +11,7 @@ export declare const createAdaptiveCompaction: (config: {
|
|
|
11
11
|
maxEstimatedInputTokens: number;
|
|
12
12
|
keepRecentMessages: number;
|
|
13
13
|
}, options?: {
|
|
14
|
+
projectMessages?: (messages: readonly ModelMessage[]) => ModelMessage[];
|
|
14
15
|
selectTools?: (messages: readonly ModelMessage[]) => ToolSet;
|
|
15
16
|
tools?: ToolSet;
|
|
16
17
|
remainingInputTokens?: () => number;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** A reversible representation of adjacent lines sharing a long suffix.
|
|
2
|
+
* Every prefix, suffix, blank line and newline is preserved. No model or
|
|
3
|
+
* relevance heuristic selects which facts survive. Unsuitable text stays raw. */
|
|
4
|
+
export interface LosslessLines {
|
|
5
|
+
encoding: 'line-suffix-v1';
|
|
6
|
+
reconstruction: 'Each string is one line. For each object concatenate each prefix with suffix to obtain its lines. Join all lines with LF; do not add a final LF.';
|
|
7
|
+
lines: Array<string | {
|
|
8
|
+
prefixes: string[];
|
|
9
|
+
suffix: string;
|
|
10
|
+
}>;
|
|
11
|
+
}
|
|
12
|
+
export declare function encodeLosslessLines(content: string): LosslessLines | undefined;
|
|
13
|
+
export declare const decodeLosslessLines: (encoded: LosslessLines) => string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type LosslessLines } from './lossless-lines.js';
|
|
2
|
+
export interface NumberedReadLines {
|
|
3
|
+
encoding: 'numbered-lines-v1';
|
|
4
|
+
startLine: number;
|
|
5
|
+
text: string | LosslessLines;
|
|
6
|
+
reconstruction: string;
|
|
7
|
+
}
|
|
8
|
+
/** Remove only the mechanically generated sequential line-number prefixes.
|
|
9
|
+
* Source text, indentation, whitespace, empty lines and ordering stay exact.
|
|
10
|
+
* The representation is self-contained; it needs no lookup or model summary.
|
|
11
|
+
*/
|
|
12
|
+
export declare function encodeNumberedReadLines(content: string): NumberedReadLines | undefined;
|
|
13
|
+
export declare function decodeNumberedReadLines(value: NumberedReadLines): string;
|
|
14
|
+
/** Pick the smallest exact representation; raw input remains the fallback. */
|
|
15
|
+
export declare function encodeReadContent(content: string): LosslessLines | NumberedReadLines | undefined;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { AgentStep } from '@zhivex-ai/core';
|
|
2
|
+
/** Durable, bounded audit of attempted reads, including denied/invalid calls.
|
|
3
|
+
* Paths come from original call arguments, never from a successful output.
|
|
4
|
+
* No result contents, arbitrary error messages or credentials enter diagnostics.
|
|
5
|
+
*/
|
|
6
|
+
export declare function collectReadAttempts(steps: readonly AgentStep[]): {
|
|
7
|
+
attempts: {
|
|
8
|
+
step: number;
|
|
9
|
+
toolCallId: string;
|
|
10
|
+
toolName: string;
|
|
11
|
+
attemptedPaths: string[];
|
|
12
|
+
argumentsRecorded: boolean;
|
|
13
|
+
pathsTruncated: boolean;
|
|
14
|
+
outcome: "failed" | "succeeded" | "unresolved";
|
|
15
|
+
errorCode?: "TOOL_BATCH_NOT_EXECUTED" | "TOOL_INPUT_VALIDATION_ERROR" | "TOOL_NOT_REGISTERED";
|
|
16
|
+
}[];
|
|
17
|
+
totalAttempts: number;
|
|
18
|
+
omittedAttempts: number;
|
|
19
|
+
orphanResultIds: string[];
|
|
20
|
+
totalOrphanResults: number;
|
|
21
|
+
};
|
|
@@ -1,10 +1,38 @@
|
|
|
1
|
-
import { type AgentRunState, type
|
|
2
|
-
import type { AgentStoreScope } from '@zhivex-ai/agents/ops';
|
|
3
|
-
export declare const REQUEST_PROJECTION_VERSION = "request-projection-
|
|
1
|
+
import { type AgentRunState, type ModelMessage, type ToolSet } from '@zhivex-ai/core';
|
|
2
|
+
import type { AgentRunStore, AgentStoreScope } from '@zhivex-ai/agents/ops';
|
|
3
|
+
export declare const REQUEST_PROJECTION_VERSION = "request-projection-v7-wire-only-read-replay";
|
|
4
4
|
type Load = (runId: string, scope?: AgentStoreScope) => Promise<AgentRunState | undefined>;
|
|
5
|
+
export declare function createResultIndex(): (state: AgentRunState | undefined, scope?: AgentStoreScope) => Map<string, {
|
|
6
|
+
toolName: string;
|
|
7
|
+
text: string;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const canProjectToolResults: (tools: ToolSet | undefined) => boolean;
|
|
5
10
|
/** Changes advertised schemas only. Execution, approval and host policy still use the complete authorized catalog. */
|
|
6
11
|
export declare function selectRequestTools(tools: ToolSet, messages: readonly ModelMessage[], preserve?: readonly string[]): ToolSet;
|
|
7
12
|
export declare function createRequestContextTools(catalog: () => ToolSet, load: Load): ToolSet;
|
|
8
13
|
/** Project only evidence that can be recovered from this exact durable run. Never alter persisted messages/results. */
|
|
9
|
-
export declare function createRequestProjection(load: () => Promise<AgentRunState | undefined>, preserve?: readonly string[]):
|
|
14
|
+
export declare function createRequestProjection(load: () => Promise<AgentRunState | undefined>, preserve?: readonly string[]): {
|
|
15
|
+
name?: string;
|
|
16
|
+
wrapGenerate?: (context: import("@zhivex-ai/core").LanguageModelMiddlewareContext<import("@zhivex-ai/core").ProviderOptions>, next: import("@zhivex-ai/core").LanguageModelMiddlewareNext<import("@zhivex-ai/core").ProviderOptions>) => Promise<import("@zhivex-ai/core").GenerateResult>;
|
|
17
|
+
wrapStream?: (context: import("@zhivex-ai/core").LanguageModelStreamMiddlewareContext<import("@zhivex-ai/core").ProviderOptions>, next: import("@zhivex-ai/core").LanguageModelStreamMiddlewareNext<import("@zhivex-ai/core").ProviderOptions>) => Promise<AsyncIterable<import("@zhivex-ai/core").StreamEvent>>;
|
|
18
|
+
observe: (state: AgentRunState | undefined) => void;
|
|
19
|
+
measureMessages: (messages: readonly ModelMessage[]) => ModelMessage[];
|
|
20
|
+
store: (original: AgentRunStore, runId: string) => AgentRunStore;
|
|
21
|
+
readAttempts: () => {
|
|
22
|
+
attempts: {
|
|
23
|
+
step: number;
|
|
24
|
+
toolCallId: string;
|
|
25
|
+
toolName: string;
|
|
26
|
+
attemptedPaths: string[];
|
|
27
|
+
argumentsRecorded: boolean;
|
|
28
|
+
pathsTruncated: boolean;
|
|
29
|
+
outcome: "failed" | "succeeded" | "unresolved";
|
|
30
|
+
errorCode?: "TOOL_BATCH_NOT_EXECUTED" | "TOOL_INPUT_VALIDATION_ERROR" | "TOOL_NOT_REGISTERED";
|
|
31
|
+
}[];
|
|
32
|
+
totalAttempts: number;
|
|
33
|
+
omittedAttempts: number;
|
|
34
|
+
orphanResultIds: string[];
|
|
35
|
+
totalOrphanResults: number;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
10
38
|
export {};
|
|
@@ -39,6 +39,20 @@ export declare const refreshHarnessScopedContext: (workspace: Pick<Workspace, "r
|
|
|
39
39
|
sources: HarnessScopedContextSource[];
|
|
40
40
|
instructions: string;
|
|
41
41
|
}>;
|
|
42
|
+
/** During a tool batch, validate new ancestors immediately but leave already
|
|
43
|
+
* discovered guidance to the full pre-request refresh. No prior text is reused
|
|
44
|
+
* as fresh guidance. Missing identities are persisted for creation detection. */
|
|
45
|
+
export declare function discoverNewHarnessScopedContext(workspace: Pick<Workspace, "root">, options: {
|
|
46
|
+
paths: readonly string[];
|
|
47
|
+
state: HarnessScopedContextState;
|
|
48
|
+
}): Promise<{
|
|
49
|
+
schemaVersion: 1;
|
|
50
|
+
entries: {
|
|
51
|
+
path: string;
|
|
52
|
+
digest: string | null;
|
|
53
|
+
bytes: number;
|
|
54
|
+
}[];
|
|
55
|
+
}>;
|
|
42
56
|
export declare const discoverHarnessScopedContext: (workspace: Pick<Workspace, "root">, options: {
|
|
43
57
|
paths: readonly string[];
|
|
44
58
|
state?: HarnessScopedContextState;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ToolExecutionResult, type AgentRunState, type ModelMessage, type ToolSet } from '@zhivex-ai/core';
|
|
2
|
+
declare const encodeRead: (result: ToolExecutionResult) => ToolExecutionResult;
|
|
3
|
+
/** Replay only durable reads omitted by compaction, as their original tool
|
|
4
|
+
* exchanges, never as system instructions, fresh edit evidence or permission.
|
|
5
|
+
* The store passed by the caller must be scoped to the current durable run.
|
|
6
|
+
* Full wire context remains subject to the existing transport admission limits.
|
|
7
|
+
*/
|
|
8
|
+
export declare function replayCompactedReads(messages: readonly ModelMessage[], state: AgentRunState | undefined, tools: ToolSet | undefined, encode?: typeof encodeRead): ModelMessage[];
|
|
9
|
+
/** One run/scope per cache, bounded by serialized source plus encoded bytes.
|
|
10
|
+
* Digest/name equality alone never proves unchanged content across revisions. */
|
|
11
|
+
export declare function createWorkingReadReplay(): (messages: readonly ModelMessage[], state: AgentRunState | undefined, tools: ToolSet | undefined) => ModelMessage[];
|
|
12
|
+
export {};
|
package/dist/engine/acp.js
CHANGED
|
@@ -2,37 +2,43 @@ import {
|
|
|
2
2
|
discardMcpWorkspaceSnapshot,
|
|
3
3
|
launchDockerMcpGroup,
|
|
4
4
|
prepareMcpWorkspaceSnapshot
|
|
5
|
-
} from "../index-
|
|
5
|
+
} from "../index-ndgnvjez.js";
|
|
6
6
|
import {
|
|
7
7
|
createAcpConnection,
|
|
8
8
|
issueAcpMcpSessionProvider,
|
|
9
9
|
serveAcpStdio
|
|
10
|
-
} from "../index-
|
|
10
|
+
} from "../index-z69cqk74.js";
|
|
11
11
|
import {
|
|
12
12
|
createHarnessClientAdapter
|
|
13
|
-
} from "../index-
|
|
14
|
-
import"../index-
|
|
13
|
+
} from "../index-mkt5yrax.js";
|
|
14
|
+
import"../index-1z0xhkh9.js";
|
|
15
|
+
import"../index-q7qdw883.js";
|
|
16
|
+
import"../index-0dkty795.js";
|
|
15
17
|
import {
|
|
16
18
|
createHarness
|
|
17
|
-
} from "../index-
|
|
18
|
-
import"../index-
|
|
19
|
-
import"../index-
|
|
20
|
-
import"../index-
|
|
21
|
-
import"../index-
|
|
22
|
-
import"../index-
|
|
23
|
-
import"../index-
|
|
24
|
-
import"../index-
|
|
25
|
-
import"../index-
|
|
26
|
-
import"../index-
|
|
27
|
-
import"../index-
|
|
28
|
-
import"../index-
|
|
29
|
-
import"../index-
|
|
30
|
-
import"../index-
|
|
19
|
+
} from "../index-sx1t6dnd.js";
|
|
20
|
+
import"../index-k529a278.js";
|
|
21
|
+
import"../index-bw34861c.js";
|
|
22
|
+
import"../index-w9eqg6p9.js";
|
|
23
|
+
import"../index-v79s9bf9.js";
|
|
24
|
+
import"../index-fwf274vc.js";
|
|
25
|
+
import"../index-ctcwrkrc.js";
|
|
26
|
+
import"../index-qvbg6tx1.js";
|
|
27
|
+
import"../index-kbrf5bx7.js";
|
|
28
|
+
import"../index-kwk23ktq.js";
|
|
29
|
+
import"../index-6ehtssyz.js";
|
|
30
|
+
import"../index-f970qtb4.js";
|
|
31
|
+
import"../index-h7dcah4p.js";
|
|
32
|
+
import"../index-rdr78m0k.js";
|
|
33
|
+
import"../index-5jxm2wy5.js";
|
|
34
|
+
import"../index-xwb691v9.js";
|
|
35
|
+
import"../index-px1tnqgt.js";
|
|
36
|
+
import"../index-76kpdbpw.js";
|
|
31
37
|
import"../index-1bx83sw4.js";
|
|
32
|
-
// src/client/acp-mcp-host.ts
|
|
38
|
+
// packages/core/src/client/acp-mcp-host.ts
|
|
33
39
|
import { createHash } from "node:crypto";
|
|
34
40
|
|
|
35
|
-
// src/client/acp-mcp-admission.ts
|
|
41
|
+
// packages/core/src/client/acp-mcp-admission.ts
|
|
36
42
|
import { z } from "zod";
|
|
37
43
|
var literal = z.string().max(4096).refine((value) => !/[\x00-\x1f\x7f]/.test(value));
|
|
38
44
|
var command = literal.refine((value) => value.startsWith("/") && !value.includes("\\") && value.split("/").slice(1).every((part) => part && part !== "." && part !== ".."));
|
|
@@ -79,7 +85,7 @@ function proposeAcpMcpLaunches(input, options) {
|
|
|
79
85
|
return proposals;
|
|
80
86
|
}
|
|
81
87
|
|
|
82
|
-
// src/client/acp-mcp-host.ts
|
|
88
|
+
// packages/core/src/client/acp-mcp-host.ts
|
|
83
89
|
async function beforeCancellation(pending, signal) {
|
|
84
90
|
let cancel;
|
|
85
91
|
const aborted = new Promise((_, reject) => {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Node client entrypoint; does not import the runtime or host implementation. */
|
|
2
|
+
export { connectApplication } from "../application/client.js";
|
|
3
|
+
export type { ApplicationClient, ApplicationCommand } from "../application/client.js";
|
|
4
|
+
export { readHarnessLocalCredentials } from "../client/local-transport.js";
|
|
5
|
+
export { connectCoordinator, ApplicationCoordinatorError } from '../application/coordinator-client.js';
|
|
6
|
+
export type { CoordinatorSnapshot, CoordinatorMethod } from '../application/coordinator-client.js';
|
|
7
|
+
export type { PersonalSnapshot } from '../application/personal-state.js';
|
|
8
|
+
export type { AutomationSnapshot, AutomationChange } from '../application/automation.js';
|
|
9
|
+
export type { AgendaSnapshot } from '../application/agenda.js';
|
|
10
|
+
export type { NotesSnapshot } from '../application/notes.js';
|
|
11
|
+
export type { CodeContextSnapshot } from '../application/code/context.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ApplicationCoordinatorError,
|
|
3
|
+
connectCoordinator
|
|
4
|
+
} from "../index-s125ss45.js";
|
|
5
|
+
import {
|
|
6
|
+
connectApplication
|
|
7
|
+
} from "../index-0mzz9axm.js";
|
|
8
|
+
import {
|
|
9
|
+
readHarnessLocalCredentials
|
|
10
|
+
} from "../index-3wa4j0yk.js";
|
|
11
|
+
import"../index-76kpdbpw.js";
|
|
12
|
+
import"../index-1bx83sw4.js";
|
|
13
|
+
export {
|
|
14
|
+
ApplicationCoordinatorError,
|
|
15
|
+
connectApplication,
|
|
16
|
+
connectCoordinator,
|
|
17
|
+
readHarnessLocalCredentials
|
|
18
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Browser-safe application projections, independent of the Node client and host. */
|
|
2
|
+
export { APPLICATION_PROJECTION_VERSION } from '../application/contracts.js';
|
|
3
|
+
export type { PersonalSnapshot, NotesSnapshot, AutomationSnapshot, AutomationChange, AgendaSnapshot, CodeContextSnapshot } from '../application/contracts.js';
|
|
4
|
+
export { APPLICATION_PROTOCOL_VERSION } from '../application/contracts.js';
|
|
5
|
+
export type { AssistantSetupState, ProviderSummary, CodeProject, CodeProjectState, ApplicationRuntimeBinding, ApplicationCatalogSnapshot, ApplicationError, ApplicationHello, CoordinatorMethod } from '../application/contracts.js';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/** Experimental application layer shared by terminal and native clients. */
|
|
2
|
+
export { connectApplication } from "../application/client.js";
|
|
3
|
+
export type { ApplicationClient, ApplicationCommand } from "../application/client.js";
|
|
4
|
+
export { projectApprovalReview } from "../application/approval-review.js";
|
|
5
|
+
export type { ApprovalReview, ApprovalReviewItem, ApprovalReviewFile } from "../application/approval-review.js";
|
|
6
|
+
export { ReviewTickets } from "../application/review-tickets.js";
|
|
7
|
+
export type { TicketedApprovalReview } from "../application/review-tickets.js";
|
|
8
|
+
export { startApplicationHost } from "../application/host.js";
|
|
9
|
+
export { startCodeHost } from "../application/code/host.js";
|
|
10
|
+
export { createCodeProjects } from "../application/code/projects.js";
|
|
11
|
+
export type { CodeProject, CodeProjectState } from "../application/code/projects.js";
|
|
12
|
+
export { openTaskWorktrees, taskCreationSchema } from "../application/code/worktrees.js";
|
|
13
|
+
export type { ManagedTask, TaskRemovalReview } from "../application/code/worktrees.js";
|
|
14
|
+
export { createCheckpointReviewHost } from "../application/checkpoint-review.js";
|
|
15
|
+
export type { CheckpointReview } from "../application/checkpoint-review.js";
|
|
16
|
+
export type { DeliveryChanges } from '../application/code/git-delivery.js';
|
|
17
|
+
export type { CommitFile } from '../application/code/git-delivery.js';
|
|
18
|
+
export type { CommitReview } from '../application/code/git-delivery.js';
|
|
19
|
+
export type { CommitOperation } from '../application/code/git-delivery.js';
|
|
20
|
+
export type { CommitReconciliation } from '../application/code/git-delivery.js';
|
|
21
|
+
export { openGitDelivery } from '../application/code/git-delivery.js';
|
|
22
|
+
export { pushDestinationSchema } from '../application/code/remote-delivery.js';
|
|
23
|
+
export { pushSnapshotSchema } from '../application/code/remote-delivery.js';
|
|
24
|
+
export type { PushSnapshot } from '../application/code/remote-delivery.js';
|
|
25
|
+
export type { PushDestination } from '../application/code/remote-delivery.js';
|
|
26
|
+
export type { PushReview } from '../application/code/remote-delivery.js';
|
|
27
|
+
export type { PushOperation } from '../application/code/remote-delivery.js';
|
|
28
|
+
export type { RemoteTransport } from '../application/code/remote-delivery.js';
|
|
29
|
+
export { openRemoteDelivery } from '../application/code/remote-delivery.js';
|
|
30
|
+
export type { PullRequestInput } from '../application/code/pr-delivery.js';
|
|
31
|
+
export { pullRequestRecordSchema } from '../application/code/pr-delivery.js';
|
|
32
|
+
export type { PullRequestRecord } from '../application/code/pr-delivery.js';
|
|
33
|
+
export { PullRequestRejectedError } from '../application/code/pr-delivery.js';
|
|
34
|
+
export type { PullRequestTransport } from '../application/code/pr-delivery.js';
|
|
35
|
+
export type { PullRequestReview } from '../application/code/pr-delivery.js';
|
|
36
|
+
export type { PullRequestOperation } from '../application/code/pr-delivery.js';
|
|
37
|
+
export { openPullRequestDelivery } from '../application/code/pr-delivery.js';
|
|
38
|
+
export type { RemoteTargets } from '../application/code/github-git-transport.js';
|
|
39
|
+
export { openGitHubGitTransport } from '../application/code/github-git-transport.js';
|
|
40
|
+
export { openGitHubPullRequestTransport } from '../application/code/github-pr-transport.js';
|
|
41
|
+
export { startApplicationCoordinator } from '../application/coordinator.js';
|
|
42
|
+
export { acquireApplicationCoordinator } from '../application/coordinator.js';
|
|
43
|
+
export { createProcessSecretStore, runCredentialWorker } from '../application/credential-process.js';
|