@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
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
assistantProviderSchema,
|
|
3
|
+
createAssistantProvider,
|
|
4
|
+
nativeProviderSchema,
|
|
5
|
+
parseAssistantProvider,
|
|
6
|
+
qwenRegions,
|
|
7
|
+
qwenServices
|
|
8
|
+
} from "../../../index-wj96kdw2.js";
|
|
9
|
+
import"../../../index-2jw9jd7h.js";
|
|
10
|
+
import"../../../index-nemn4epv.js";
|
|
11
|
+
import"../../../index-fy4w0a7v.js";
|
|
12
|
+
import"../../../index-pkspzsfs.js";
|
|
13
|
+
import"../../../index-w292hdpz.js";
|
|
14
|
+
import"../../../index-b4yed1s3.js";
|
|
15
|
+
import"../../../index-j3d2tw97.js";
|
|
16
|
+
import"../../../index-nvvzr4ny.js";
|
|
17
|
+
import"../../../index-f8zpcsx3.js";
|
|
18
|
+
import"../../../index-2j0v1xwr.js";
|
|
19
|
+
import"../../../index-z69cqk74.js";
|
|
20
|
+
import"../../../index-mkt5yrax.js";
|
|
21
|
+
import"../../../index-ay26xfxt.js";
|
|
22
|
+
import"../../../index-1z0xhkh9.js";
|
|
23
|
+
import"../../../index-q7qdw883.js";
|
|
24
|
+
import"../../../index-0dkty795.js";
|
|
25
|
+
import"../../../index-sx1t6dnd.js";
|
|
26
|
+
import"../../../index-k529a278.js";
|
|
27
|
+
import"../../../index-bw34861c.js";
|
|
28
|
+
import"../../../index-w9eqg6p9.js";
|
|
29
|
+
import"../../../index-v79s9bf9.js";
|
|
30
|
+
import"../../../index-fwf274vc.js";
|
|
31
|
+
import"../../../index-ctcwrkrc.js";
|
|
32
|
+
import"../../../index-qvbg6tx1.js";
|
|
33
|
+
import"../../../index-7nbmhmw5.js";
|
|
34
|
+
import"../../../index-cztmcesv.js";
|
|
35
|
+
import"../../../index-kbrf5bx7.js";
|
|
36
|
+
import"../../../index-kwk23ktq.js";
|
|
37
|
+
import"../../../index-6ehtssyz.js";
|
|
38
|
+
import"../../../index-f970qtb4.js";
|
|
39
|
+
import"../../../index-h7dcah4p.js";
|
|
40
|
+
import"../../../index-3wa4j0yk.js";
|
|
41
|
+
import"../../../index-rdr78m0k.js";
|
|
42
|
+
import"../../../index-5jxm2wy5.js";
|
|
43
|
+
import"../../../index-xwb691v9.js";
|
|
44
|
+
import"../../../index-px1tnqgt.js";
|
|
45
|
+
import"../../../index-76kpdbpw.js";
|
|
46
|
+
import"../../../index-1bx83sw4.js";
|
|
47
|
+
export {
|
|
48
|
+
assistantProviderSchema,
|
|
49
|
+
createAssistantProvider,
|
|
50
|
+
nativeProviderSchema,
|
|
51
|
+
parseAssistantProvider,
|
|
52
|
+
qwenRegions,
|
|
53
|
+
qwenServices
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { citeResponseText } from "../../../application/assistant/providers/web-citations.js";
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import"../../index-fy4w0a7v.js";
|
|
2
|
+
import"../../index-pkspzsfs.js";
|
|
3
|
+
import"../../index-w292hdpz.js";
|
|
4
|
+
import"../../index-b4yed1s3.js";
|
|
5
|
+
import"../../index-j3d2tw97.js";
|
|
6
|
+
import"../../index-nvvzr4ny.js";
|
|
7
|
+
import"../../index-f8zpcsx3.js";
|
|
8
|
+
import"../../index-2j0v1xwr.js";
|
|
9
|
+
import"../../index-z69cqk74.js";
|
|
10
|
+
import"../../index-mkt5yrax.js";
|
|
11
|
+
import"../../index-ay26xfxt.js";
|
|
12
|
+
import"../../index-1z0xhkh9.js";
|
|
13
|
+
import"../../index-q7qdw883.js";
|
|
14
|
+
import"../../index-0dkty795.js";
|
|
15
|
+
import {
|
|
16
|
+
GENERAL_ASSISTANT_PROFILE,
|
|
17
|
+
createProfiledHarness,
|
|
18
|
+
runHarness
|
|
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-7nbmhmw5.js";
|
|
28
|
+
import"../../index-cztmcesv.js";
|
|
29
|
+
import"../../index-kbrf5bx7.js";
|
|
30
|
+
import"../../index-kwk23ktq.js";
|
|
31
|
+
import"../../index-6ehtssyz.js";
|
|
32
|
+
import"../../index-f970qtb4.js";
|
|
33
|
+
import"../../index-h7dcah4p.js";
|
|
34
|
+
import"../../index-3wa4j0yk.js";
|
|
35
|
+
import"../../index-rdr78m0k.js";
|
|
36
|
+
import"../../index-5jxm2wy5.js";
|
|
37
|
+
import"../../index-xwb691v9.js";
|
|
38
|
+
import"../../index-px1tnqgt.js";
|
|
39
|
+
import"../../index-76kpdbpw.js";
|
|
40
|
+
import"../../index-1bx83sw4.js";
|
|
41
|
+
|
|
42
|
+
// packages/core/src/application/assistant/runtime.ts
|
|
43
|
+
async function createAssistantRuntime(options) {
|
|
44
|
+
if (!/^[A-Za-z0-9_.:-]{1,240}$/.test(options.ownerId))
|
|
45
|
+
throw new Error("Invalid owner ID");
|
|
46
|
+
const harness = await createProfiledHarness({
|
|
47
|
+
workspace: options.workspace,
|
|
48
|
+
modelInstance: options.modelInstance,
|
|
49
|
+
agentProfile: GENERAL_ASSISTANT_PROFILE,
|
|
50
|
+
tenantId: "assistant-local",
|
|
51
|
+
userId: options.ownerId,
|
|
52
|
+
namespace: "assistant-v1",
|
|
53
|
+
toolNames: [],
|
|
54
|
+
subagentProfiles: [],
|
|
55
|
+
projectContext: false,
|
|
56
|
+
projectMemory: false,
|
|
57
|
+
maxSteps: 4,
|
|
58
|
+
maxToolCalls: 1,
|
|
59
|
+
timeoutMs: 30000
|
|
60
|
+
});
|
|
61
|
+
return {
|
|
62
|
+
async runTask(prompt) {
|
|
63
|
+
if (!prompt.trim() || prompt.length > 16000)
|
|
64
|
+
throw new Error("Expected a bounded nonempty prompt");
|
|
65
|
+
const result = await runHarness(harness, { prompt });
|
|
66
|
+
return { runId: result.state.runId, status: result.status, outputText: result.outputText };
|
|
67
|
+
},
|
|
68
|
+
close: () => harness.close()
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
export {
|
|
72
|
+
createAssistantRuntime
|
|
73
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { taskMetricsPricingSchema } from "../../application/assistant/task-metrics.js";
|
|
2
|
+
export { taskCategorySchema } from "../../application/assistant/task-metrics.js";
|
|
3
|
+
export { taskFeedbackSchema } from "../../application/assistant/task-metrics.js";
|
|
4
|
+
export { taskLinkSchema } from "../../application/assistant/task-metrics.js";
|
|
5
|
+
export { taskUsageSchema } from "../../application/assistant/task-metrics.js";
|
|
6
|
+
export type { TaskRunSnapshot } from "../../application/assistant/task-metrics.js";
|
|
7
|
+
export { openTaskMetrics } from "../../application/assistant/task-metrics.js";
|
|
8
|
+
export type { TaskMetrics } from "../../application/assistant/task-metrics.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
openTaskMetrics,
|
|
3
|
+
taskCategorySchema,
|
|
4
|
+
taskFeedbackSchema,
|
|
5
|
+
taskLinkSchema,
|
|
6
|
+
taskMetricsPricingSchema,
|
|
7
|
+
taskUsageSchema
|
|
8
|
+
} from "../../index-zk3m4mzg.js";
|
|
9
|
+
import"../../index-1bx83sw4.js";
|
|
10
|
+
export {
|
|
11
|
+
openTaskMetrics,
|
|
12
|
+
taskCategorySchema,
|
|
13
|
+
taskFeedbackSchema,
|
|
14
|
+
taskLinkSchema,
|
|
15
|
+
taskMetricsPricingSchema,
|
|
16
|
+
taskUsageSchema
|
|
17
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { updateSchema } from "../../../application/assistant/telegram/api.js";
|
|
2
|
+
export type { TelegramUpdate } from "../../../application/assistant/telegram/api.js";
|
|
3
|
+
export type { TelegramApi } from "../../../application/assistant/telegram/api.js";
|
|
4
|
+
export { TelegramFailure } from "../../../application/assistant/telegram/api.js";
|
|
5
|
+
export { createTelegramApi } from "../../../application/assistant/telegram/api.js";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createTelegramBridge
|
|
3
|
+
} from "../../../index-ym69x168.js";
|
|
4
|
+
import"../../../index-5rk6ss42.js";
|
|
5
|
+
import"../../../index-zaakvmzq.js";
|
|
6
|
+
import"../../../index-z2a81ccr.js";
|
|
7
|
+
import"../../../index-aptyr511.js";
|
|
8
|
+
import"../../../index-rtamqsfs.js";
|
|
9
|
+
import"../../../index-ekxdcy36.js";
|
|
10
|
+
import"../../../index-vk3rq21m.js";
|
|
11
|
+
import"../../../index-r3mwr5fb.js";
|
|
12
|
+
import"../../../index-j3d2tw97.js";
|
|
13
|
+
import"../../../index-f8zpcsx3.js";
|
|
14
|
+
import"../../../index-mkt5yrax.js";
|
|
15
|
+
import"../../../index-1z0xhkh9.js";
|
|
16
|
+
import"../../../index-q7qdw883.js";
|
|
17
|
+
import"../../../index-0dkty795.js";
|
|
18
|
+
import"../../../index-sx1t6dnd.js";
|
|
19
|
+
import"../../../index-k529a278.js";
|
|
20
|
+
import"../../../index-bw34861c.js";
|
|
21
|
+
import"../../../index-w9eqg6p9.js";
|
|
22
|
+
import"../../../index-v79s9bf9.js";
|
|
23
|
+
import"../../../index-fwf274vc.js";
|
|
24
|
+
import"../../../index-ctcwrkrc.js";
|
|
25
|
+
import"../../../index-qvbg6tx1.js";
|
|
26
|
+
import"../../../index-kbrf5bx7.js";
|
|
27
|
+
import"../../../index-kwk23ktq.js";
|
|
28
|
+
import"../../../index-6ehtssyz.js";
|
|
29
|
+
import"../../../index-f970qtb4.js";
|
|
30
|
+
import"../../../index-h7dcah4p.js";
|
|
31
|
+
import"../../../index-3wa4j0yk.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";
|
|
37
|
+
import"../../../index-1bx83sw4.js";
|
|
38
|
+
export {
|
|
39
|
+
createTelegramBridge
|
|
40
|
+
};
|
package/dist/engine/client.js
CHANGED
|
@@ -1,27 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
createHarnessClientAdapter
|
|
3
|
-
|
|
2
|
+
createHarnessClientAdapter
|
|
3
|
+
} from "../index-mkt5yrax.js";
|
|
4
|
+
import {
|
|
4
5
|
terminalContinuationMessages
|
|
5
|
-
} from "../index-
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import"../index-
|
|
10
|
-
import"../index-
|
|
11
|
-
import"../index-
|
|
12
|
-
import"../index-
|
|
13
|
-
import"../index-
|
|
14
|
-
import"../index-
|
|
15
|
-
import"../index-
|
|
16
|
-
import"../index-
|
|
17
|
-
import"../index-
|
|
6
|
+
} from "../index-1z0xhkh9.js";
|
|
7
|
+
import {
|
|
8
|
+
runResultDocument
|
|
9
|
+
} from "../index-q7qdw883.js";
|
|
10
|
+
import"../index-0dkty795.js";
|
|
11
|
+
import"../index-sx1t6dnd.js";
|
|
12
|
+
import"../index-k529a278.js";
|
|
13
|
+
import"../index-bw34861c.js";
|
|
14
|
+
import"../index-w9eqg6p9.js";
|
|
15
|
+
import"../index-v79s9bf9.js";
|
|
16
|
+
import"../index-fwf274vc.js";
|
|
17
|
+
import"../index-ctcwrkrc.js";
|
|
18
|
+
import"../index-qvbg6tx1.js";
|
|
19
|
+
import"../index-kbrf5bx7.js";
|
|
20
|
+
import"../index-kwk23ktq.js";
|
|
21
|
+
import"../index-6ehtssyz.js";
|
|
22
|
+
import"../index-f970qtb4.js";
|
|
23
|
+
import"../index-h7dcah4p.js";
|
|
24
|
+
import"../index-rdr78m0k.js";
|
|
25
|
+
import"../index-5jxm2wy5.js";
|
|
26
|
+
import"../index-xwb691v9.js";
|
|
27
|
+
import"../index-px1tnqgt.js";
|
|
18
28
|
import {
|
|
19
29
|
HARNESS_CLIENT_PROTOCOL_VERSION,
|
|
20
30
|
harnessClientCommandSchema,
|
|
21
31
|
harnessClientRequestSchema
|
|
22
|
-
} from "../index-
|
|
23
|
-
import"../index-bpc596v3.js";
|
|
24
|
-
import"../index-fm84men1.js";
|
|
32
|
+
} from "../index-76kpdbpw.js";
|
|
25
33
|
import"../index-1bx83sw4.js";
|
|
26
34
|
export {
|
|
27
35
|
HARNESS_CLIENT_PROTOCOL_VERSION,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadModelCatalog
|
|
3
|
-
} from "../index-
|
|
3
|
+
} from "../index-cjevq9s8.js";
|
|
4
4
|
import {
|
|
5
5
|
azureOpenAIApiVersion,
|
|
6
6
|
azureOpenAIConfigured,
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
vertexEnvironment,
|
|
17
17
|
vertexRoute,
|
|
18
18
|
vertexTokenSource
|
|
19
|
-
} from "../index-
|
|
20
|
-
import"../index-
|
|
21
|
-
import"../index-
|
|
19
|
+
} from "../index-ctcwrkrc.js";
|
|
20
|
+
import"../index-qvbg6tx1.js";
|
|
21
|
+
import"../index-px1tnqgt.js";
|
|
22
22
|
import"../index-1bx83sw4.js";
|
|
23
23
|
export {
|
|
24
24
|
azureOpenAIApiVersion,
|
|
@@ -2,32 +2,35 @@ import {
|
|
|
2
2
|
createArchivedHarnessStateBackup,
|
|
3
3
|
createHarnessStateBackup,
|
|
4
4
|
validateRecordedWorkspace
|
|
5
|
-
} from "../index-
|
|
6
|
-
import"../index-
|
|
5
|
+
} from "../index-2j0v1xwr.js";
|
|
6
|
+
import"../index-0dkty795.js";
|
|
7
|
+
import"../index-bw34861c.js";
|
|
7
8
|
import {
|
|
8
9
|
HARNESS_SQLITE_FILE
|
|
9
|
-
} from "../index-
|
|
10
|
-
import"../index-
|
|
11
|
-
import"../index-
|
|
12
|
-
import"../index-
|
|
13
|
-
import"../index-
|
|
10
|
+
} from "../index-w9eqg6p9.js";
|
|
11
|
+
import"../index-v79s9bf9.js";
|
|
12
|
+
import"../index-fwf274vc.js";
|
|
13
|
+
import"../index-ctcwrkrc.js";
|
|
14
|
+
import"../index-qvbg6tx1.js";
|
|
14
15
|
import {
|
|
15
16
|
validateStateDirectory
|
|
16
|
-
} from "../index-
|
|
17
|
+
} from "../index-6ehtssyz.js";
|
|
17
18
|
import {
|
|
18
19
|
SqliteDatabase,
|
|
19
20
|
acquireSqliteAccess,
|
|
20
21
|
adoptExclusiveSqliteAccess,
|
|
21
22
|
exclusiveSqliteAccessDescriptor,
|
|
22
|
-
protectPersistenceSecret
|
|
23
|
+
protectPersistenceSecret
|
|
24
|
+
} from "../index-f970qtb4.js";
|
|
25
|
+
import {
|
|
23
26
|
readRegularFileNoFollow,
|
|
24
27
|
statRegularFileNoFollow
|
|
25
|
-
} from "../index-
|
|
26
|
-
import"../index-
|
|
27
|
-
import"../index-
|
|
28
|
+
} from "../index-h7dcah4p.js";
|
|
29
|
+
import"../index-xwb691v9.js";
|
|
30
|
+
import"../index-px1tnqgt.js";
|
|
28
31
|
import"../index-1bx83sw4.js";
|
|
29
32
|
|
|
30
|
-
// src/persistence/host-database-backup.ts
|
|
33
|
+
// packages/core/src/persistence/host-database-backup.ts
|
|
31
34
|
import { createHash } from "node:crypto";
|
|
32
35
|
import { constants } from "node:fs";
|
|
33
36
|
import { chmod, lstat, mkdir, mkdtemp, open, realpath, rm } from "node:fs/promises";
|