@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
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// src/providers/reasoning.ts
|
|
1
|
+
// packages/core/src/providers/reasoning.ts
|
|
2
2
|
import { z as z3 } from "zod";
|
|
3
3
|
import { wrapLanguageModel as wrapLanguageModel8 } from "@zhivex-ai/core";
|
|
4
4
|
|
|
5
|
-
// src/providers/anthropic-continuation.ts
|
|
5
|
+
// packages/core/src/providers/anthropic-continuation.ts
|
|
6
6
|
import { ValidationError, wrapLanguageModel } from "@zhivex-ai/core";
|
|
7
7
|
async function* assembleAnthropicContinuation(events) {
|
|
8
8
|
let pending;
|
|
@@ -51,12 +51,12 @@ var withAnthropicContinuation = (model) => wrapLanguageModel(model, [{
|
|
|
51
51
|
wrapStream: async (_context, next) => assembleAnthropicContinuation(await next())
|
|
52
52
|
}]);
|
|
53
53
|
|
|
54
|
-
// src/providers/vertex-auth.ts
|
|
54
|
+
// packages/core/src/providers/vertex-auth.ts
|
|
55
55
|
import { GoogleAuth } from "google-auth-library";
|
|
56
56
|
import { createVertex } from "@zhivex-ai/vertex";
|
|
57
57
|
import { wrapLanguageModel as wrapLanguageModel2 } from "@zhivex-ai/core";
|
|
58
58
|
|
|
59
|
-
// src/runtime/provider-diagnostics.ts
|
|
59
|
+
// packages/core/src/runtime/provider-diagnostics.ts
|
|
60
60
|
import { z } from "zod";
|
|
61
61
|
var providerDiagnosticSchema = z.strictObject({
|
|
62
62
|
reason: z.enum(["previous_response_unavailable", "context_length_exceeded", "authentication", "payment_required", "permission", "rate_limit", "model_unavailable", "invalid_request", "server_error", "unknown"]),
|
|
@@ -99,7 +99,7 @@ function providerDiagnostic(body, status) {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
// src/runtime/provider-transient.ts
|
|
102
|
+
// packages/core/src/runtime/provider-transient.ts
|
|
103
103
|
var PROVIDER_STATUS_CATEGORIES = [
|
|
104
104
|
"ABORTED",
|
|
105
105
|
"RESOURCE_EXHAUSTED",
|
|
@@ -294,7 +294,7 @@ function isEmptyModelTurn(result) {
|
|
|
294
294
|
return texts.every((text) => text.trim().length === 0 || thoughtOnlyText(text.trim()));
|
|
295
295
|
}
|
|
296
296
|
|
|
297
|
-
// src/providers/vertex-auth.ts
|
|
297
|
+
// packages/core/src/providers/vertex-auth.ts
|
|
298
298
|
var CLOUD_PLATFORM_SCOPE = "https://www.googleapis.com/auth/cloud-platform";
|
|
299
299
|
function vertexRoute(env) {
|
|
300
300
|
const projectId = (env.GOOGLE_CLOUD_PROJECT ?? "").trim();
|
|
@@ -497,7 +497,7 @@ function providerBody(value) {
|
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
|
|
500
|
-
// src/providers/azure-openai.ts
|
|
500
|
+
// packages/core/src/providers/azure-openai.ts
|
|
501
501
|
import { createAzureOpenAI } from "@zhivex-ai/azure-openai";
|
|
502
502
|
import { wrapLanguageModel as wrapLanguageModel3 } from "@zhivex-ai/core";
|
|
503
503
|
var API_VERSION = /^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/;
|
|
@@ -659,7 +659,7 @@ function sanitizeAzureModel(model, secret) {
|
|
|
659
659
|
}]);
|
|
660
660
|
}
|
|
661
661
|
|
|
662
|
-
// src/providers/bedrock.ts
|
|
662
|
+
// packages/core/src/providers/bedrock.ts
|
|
663
663
|
import { createBedrock } from "@zhivex-ai/bedrock";
|
|
664
664
|
import { wrapLanguageModel as wrapLanguageModel4 } from "@zhivex-ai/core";
|
|
665
665
|
var REGION = /^[a-z]{2}(?:-[a-z0-9]+){1,3}$/;
|
|
@@ -782,7 +782,7 @@ function sanitizeBedrockModel(model, secrets) {
|
|
|
782
782
|
}]);
|
|
783
783
|
}
|
|
784
784
|
|
|
785
|
-
// src/providers/qwen-hosted-policy.ts
|
|
785
|
+
// packages/core/src/providers/qwen-hosted-policy.ts
|
|
786
786
|
import { wrapLanguageModel as wrapLanguageModel5 } from "@zhivex-ai/core";
|
|
787
787
|
function withQwenHostedPolicy(model) {
|
|
788
788
|
if (model.modelId !== "kimi-k3")
|
|
@@ -815,7 +815,7 @@ function withQwenHostedPolicy(model) {
|
|
|
815
815
|
} };
|
|
816
816
|
}
|
|
817
817
|
|
|
818
|
-
// src/providers/meta-continuation.ts
|
|
818
|
+
// packages/core/src/providers/meta-continuation.ts
|
|
819
819
|
import { setTimeout as delay } from "node:timers/promises";
|
|
820
820
|
var isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
821
821
|
var isReceiptContinuation = (input, init) => {
|
|
@@ -877,7 +877,7 @@ var createMetaContinuationFetch = (fetcher = fetch, backoff = [1000, 2000]) => {
|
|
|
877
877
|
}, { preconnect: fetcher.preconnect });
|
|
878
878
|
};
|
|
879
879
|
|
|
880
|
-
// src/providers/meta-replay.ts
|
|
880
|
+
// packages/core/src/providers/meta-replay.ts
|
|
881
881
|
import { wrapLanguageModel as wrapLanguageModel6 } from "@zhivex-ai/core";
|
|
882
882
|
import { withTimeoutSignal } from "@zhivex-ai/core/provider";
|
|
883
883
|
import { createMeta } from "@zhivex-ai/meta";
|
|
@@ -1005,7 +1005,7 @@ var createMetaReplayModel = (options, modelId) => {
|
|
|
1005
1005
|
}]);
|
|
1006
1006
|
};
|
|
1007
1007
|
|
|
1008
|
-
// src/providers/meta-errors.ts
|
|
1008
|
+
// packages/core/src/providers/meta-errors.ts
|
|
1009
1009
|
import { ProviderHTTPError } from "@zhivex-ai/core/provider";
|
|
1010
1010
|
function annotateMetaRequestError(error) {
|
|
1011
1011
|
if (error instanceof ProviderHTTPError) {
|
|
@@ -1032,12 +1032,12 @@ function annotateMetaRequestError(error) {
|
|
|
1032
1032
|
throw error;
|
|
1033
1033
|
}
|
|
1034
1034
|
|
|
1035
|
-
// src/models/catalog.ts
|
|
1035
|
+
// packages/core/src/models/catalog.ts
|
|
1036
1036
|
import { z as z2 } from "zod";
|
|
1037
|
-
// src/models/catalog.json
|
|
1037
|
+
// packages/core/src/models/catalog.json
|
|
1038
1038
|
var catalog_default = {
|
|
1039
1039
|
schemaVersion: 1,
|
|
1040
|
-
revision: "2026-
|
|
1040
|
+
revision: "2026-11-16-qwen4-max",
|
|
1041
1041
|
providers: [
|
|
1042
1042
|
{
|
|
1043
1043
|
id: "openai",
|
|
@@ -1290,11 +1290,35 @@ var catalog_default = {
|
|
|
1290
1290
|
id: "qwen",
|
|
1291
1291
|
defaultModel: "qwen3.8-max",
|
|
1292
1292
|
models: [
|
|
1293
|
+
{
|
|
1294
|
+
id: "qwen4-max",
|
|
1295
|
+
name: "Qwen4 Max",
|
|
1296
|
+
group: "primary",
|
|
1297
|
+
order: 0,
|
|
1298
|
+
lifecycle: "active",
|
|
1299
|
+
validation: "verified",
|
|
1300
|
+
capabilities: [
|
|
1301
|
+
"chat",
|
|
1302
|
+
"tools",
|
|
1303
|
+
"vision"
|
|
1304
|
+
],
|
|
1305
|
+
limits: {
|
|
1306
|
+
contextWindowTokens: 1e6,
|
|
1307
|
+
contextWindowType: "combined",
|
|
1308
|
+
maxOutputTokens: 131072,
|
|
1309
|
+
maxInputTokens: 983616,
|
|
1310
|
+
evidence: {
|
|
1311
|
+
sourceUrl: "https://docs.qwencloud.com/developer-guides/getting-started/latest-model",
|
|
1312
|
+
checkedAt: "2026-11-16"
|
|
1313
|
+
}
|
|
1314
|
+
},
|
|
1315
|
+
reason: "Live chat, tools and streaming validated on 2026-11-16 with the configured account via CLI and Electron provider runtimes. Other routes require validation. Conservative output cap supports both thinking modes."
|
|
1316
|
+
},
|
|
1293
1317
|
{
|
|
1294
1318
|
id: "qwen3.8-flash",
|
|
1295
1319
|
name: "qwen3.8-flash",
|
|
1296
1320
|
group: "primary",
|
|
1297
|
-
order:
|
|
1321
|
+
order: 1,
|
|
1298
1322
|
lifecycle: "unknown",
|
|
1299
1323
|
validation: "unverified",
|
|
1300
1324
|
capabilities: [
|
|
@@ -1324,7 +1348,7 @@ var catalog_default = {
|
|
|
1324
1348
|
id: "qwen3.8-max",
|
|
1325
1349
|
name: "qwen3.8-max",
|
|
1326
1350
|
group: "primary",
|
|
1327
|
-
order:
|
|
1351
|
+
order: 2,
|
|
1328
1352
|
lifecycle: "unknown",
|
|
1329
1353
|
validation: "unverified",
|
|
1330
1354
|
capabilities: [
|
|
@@ -1354,7 +1378,7 @@ var catalog_default = {
|
|
|
1354
1378
|
id: "glm-5.3",
|
|
1355
1379
|
name: "GLM 5.3",
|
|
1356
1380
|
group: "primary",
|
|
1357
|
-
order:
|
|
1381
|
+
order: 3,
|
|
1358
1382
|
lifecycle: "active",
|
|
1359
1383
|
validation: "unverified",
|
|
1360
1384
|
capabilities: [
|
|
@@ -1367,7 +1391,7 @@ var catalog_default = {
|
|
|
1367
1391
|
id: "deepseek-v4.1-flash",
|
|
1368
1392
|
name: "DeepSeek V4.1 Flash",
|
|
1369
1393
|
group: "primary",
|
|
1370
|
-
order:
|
|
1394
|
+
order: 4,
|
|
1371
1395
|
lifecycle: "active",
|
|
1372
1396
|
validation: "unverified",
|
|
1373
1397
|
capabilities: [
|
|
@@ -1381,7 +1405,7 @@ var catalog_default = {
|
|
|
1381
1405
|
id: "kimi-k3",
|
|
1382
1406
|
name: "Kimi K3",
|
|
1383
1407
|
group: "primary",
|
|
1384
|
-
order:
|
|
1408
|
+
order: 5,
|
|
1385
1409
|
lifecycle: "active",
|
|
1386
1410
|
validation: "unverified",
|
|
1387
1411
|
capabilities: [
|
|
@@ -1395,7 +1419,7 @@ var catalog_default = {
|
|
|
1395
1419
|
id: "qwen3.7-plus",
|
|
1396
1420
|
name: "qwen3.7-plus",
|
|
1397
1421
|
group: "primary",
|
|
1398
|
-
order:
|
|
1422
|
+
order: 6,
|
|
1399
1423
|
lifecycle: "unknown",
|
|
1400
1424
|
validation: "unverified",
|
|
1401
1425
|
capabilities: [
|
|
@@ -1407,7 +1431,7 @@ var catalog_default = {
|
|
|
1407
1431
|
id: "qwen3.8-omni-flash",
|
|
1408
1432
|
name: "qwen3.8-omni-flash",
|
|
1409
1433
|
group: "other",
|
|
1410
|
-
order:
|
|
1434
|
+
order: 7,
|
|
1411
1435
|
lifecycle: "unknown",
|
|
1412
1436
|
validation: "unverified",
|
|
1413
1437
|
capabilities: [
|
|
@@ -1419,7 +1443,7 @@ var catalog_default = {
|
|
|
1419
1443
|
id: "qwen3.8-max-0902",
|
|
1420
1444
|
name: "qwen3.8-max-0902",
|
|
1421
1445
|
group: "other",
|
|
1422
|
-
order:
|
|
1446
|
+
order: 8,
|
|
1423
1447
|
lifecycle: "unknown",
|
|
1424
1448
|
validation: "unverified",
|
|
1425
1449
|
capabilities: [
|
|
@@ -1431,7 +1455,7 @@ var catalog_default = {
|
|
|
1431
1455
|
id: "qwen3.8-max-preview",
|
|
1432
1456
|
name: "qwen3.8-max-preview",
|
|
1433
1457
|
group: "other",
|
|
1434
|
-
order:
|
|
1458
|
+
order: 9,
|
|
1435
1459
|
lifecycle: "unknown",
|
|
1436
1460
|
validation: "unverified",
|
|
1437
1461
|
capabilities: [
|
|
@@ -1443,7 +1467,7 @@ var catalog_default = {
|
|
|
1443
1467
|
id: "qwen3.7-max",
|
|
1444
1468
|
name: "qwen3.7-max",
|
|
1445
1469
|
group: "other",
|
|
1446
|
-
order:
|
|
1470
|
+
order: 10,
|
|
1447
1471
|
lifecycle: "unknown",
|
|
1448
1472
|
validation: "unverified",
|
|
1449
1473
|
capabilities: [
|
|
@@ -1455,7 +1479,7 @@ var catalog_default = {
|
|
|
1455
1479
|
id: "qwen3.6-flash",
|
|
1456
1480
|
name: "qwen3.6-flash",
|
|
1457
1481
|
group: "other",
|
|
1458
|
-
order:
|
|
1482
|
+
order: 11,
|
|
1459
1483
|
lifecycle: "unknown",
|
|
1460
1484
|
validation: "unverified",
|
|
1461
1485
|
capabilities: [
|
|
@@ -1467,7 +1491,7 @@ var catalog_default = {
|
|
|
1467
1491
|
id: "qwen3.5-omni-plus",
|
|
1468
1492
|
name: "qwen3.5-omni-plus",
|
|
1469
1493
|
group: "other",
|
|
1470
|
-
order:
|
|
1494
|
+
order: 12,
|
|
1471
1495
|
lifecycle: "unknown",
|
|
1472
1496
|
validation: "unverified",
|
|
1473
1497
|
capabilities: [
|
|
@@ -1479,7 +1503,7 @@ var catalog_default = {
|
|
|
1479
1503
|
id: "qwen-plus",
|
|
1480
1504
|
name: "qwen-plus",
|
|
1481
1505
|
group: "other",
|
|
1482
|
-
order:
|
|
1506
|
+
order: 13,
|
|
1483
1507
|
lifecycle: "unknown",
|
|
1484
1508
|
validation: "unverified",
|
|
1485
1509
|
capabilities: [
|
|
@@ -1814,7 +1838,10 @@ var catalog_default = {
|
|
|
1814
1838
|
order: 0,
|
|
1815
1839
|
lifecycle: "unknown",
|
|
1816
1840
|
validation: "unverified",
|
|
1817
|
-
capabilities: [
|
|
1841
|
+
capabilities: [
|
|
1842
|
+
"chat",
|
|
1843
|
+
"tools"
|
|
1844
|
+
],
|
|
1818
1845
|
reason: "Provisional Bedrock Converse route. Account access, region, and live Harness certification are not verified. No prices or context limits are inferred."
|
|
1819
1846
|
},
|
|
1820
1847
|
{
|
|
@@ -1824,7 +1851,10 @@ var catalog_default = {
|
|
|
1824
1851
|
order: 1,
|
|
1825
1852
|
lifecycle: "unknown",
|
|
1826
1853
|
validation: "unverified",
|
|
1827
|
-
capabilities: [
|
|
1854
|
+
capabilities: [
|
|
1855
|
+
"chat",
|
|
1856
|
+
"tools"
|
|
1857
|
+
],
|
|
1828
1858
|
reason: "Provisional Bedrock model id. Availability depends on the account and region. No live certification."
|
|
1829
1859
|
},
|
|
1830
1860
|
{
|
|
@@ -1834,7 +1864,10 @@ var catalog_default = {
|
|
|
1834
1864
|
order: 2,
|
|
1835
1865
|
lifecycle: "unknown",
|
|
1836
1866
|
validation: "unverified",
|
|
1837
|
-
capabilities: [
|
|
1867
|
+
capabilities: [
|
|
1868
|
+
"chat",
|
|
1869
|
+
"tools"
|
|
1870
|
+
],
|
|
1838
1871
|
reason: "Provisional Bedrock model id. Availability depends on the account and region. No live certification."
|
|
1839
1872
|
}
|
|
1840
1873
|
]
|
|
@@ -1850,7 +1883,10 @@ var catalog_default = {
|
|
|
1850
1883
|
order: 0,
|
|
1851
1884
|
lifecycle: "unknown",
|
|
1852
1885
|
validation: "unverified",
|
|
1853
|
-
capabilities: [
|
|
1886
|
+
capabilities: [
|
|
1887
|
+
"chat",
|
|
1888
|
+
"tools"
|
|
1889
|
+
],
|
|
1854
1890
|
reason: "Provisional Azure OpenAI route. Deployment name, API version, and live Harness certification are not verified. No prices are copied from the OpenAI API."
|
|
1855
1891
|
},
|
|
1856
1892
|
{
|
|
@@ -1860,7 +1896,10 @@ var catalog_default = {
|
|
|
1860
1896
|
order: 1,
|
|
1861
1897
|
lifecycle: "unknown",
|
|
1862
1898
|
validation: "unverified",
|
|
1863
|
-
capabilities: [
|
|
1899
|
+
capabilities: [
|
|
1900
|
+
"chat",
|
|
1901
|
+
"tools"
|
|
1902
|
+
],
|
|
1864
1903
|
reason: "Provisional Azure OpenAI model id. Use AZURE_OPENAI_DEPLOYMENTS when the deployment name differs. No live certification."
|
|
1865
1904
|
},
|
|
1866
1905
|
{
|
|
@@ -1870,7 +1909,10 @@ var catalog_default = {
|
|
|
1870
1909
|
order: 2,
|
|
1871
1910
|
lifecycle: "unknown",
|
|
1872
1911
|
validation: "unverified",
|
|
1873
|
-
capabilities: [
|
|
1912
|
+
capabilities: [
|
|
1913
|
+
"chat",
|
|
1914
|
+
"tools"
|
|
1915
|
+
],
|
|
1874
1916
|
reason: "Provisional Azure OpenAI model id. Account rollout and deployment availability are not verified. No live certification."
|
|
1875
1917
|
}
|
|
1876
1918
|
]
|
|
@@ -1878,7 +1920,7 @@ var catalog_default = {
|
|
|
1878
1920
|
]
|
|
1879
1921
|
};
|
|
1880
1922
|
|
|
1881
|
-
// src/models/catalog.ts
|
|
1923
|
+
// packages/core/src/models/catalog.ts
|
|
1882
1924
|
var modelId = z2.string().min(1).max(160).regex(/^[a-zA-Z0-9][a-zA-Z0-9._:/-]*$/);
|
|
1883
1925
|
var text = z2.string().min(1).max(300).regex(/^[^\x00-\x1f\x7f-\x9f]*$/);
|
|
1884
1926
|
var evidence = z2.object({
|
|
@@ -1991,7 +2033,7 @@ function modelDescription(model) {
|
|
|
1991
2033
|
].filter(Boolean).join(" · ");
|
|
1992
2034
|
}
|
|
1993
2035
|
|
|
1994
|
-
// src/providers/providers.ts
|
|
2036
|
+
// packages/core/src/providers/providers.ts
|
|
1995
2037
|
import { createHash } from "node:crypto";
|
|
1996
2038
|
import {
|
|
1997
2039
|
wrapLanguageModel as wrapLanguageModel7
|
|
@@ -2346,13 +2388,23 @@ var withQwenDurableToolCallIds = (model) => wrapLanguageModel7(model, [{
|
|
|
2346
2388
|
wrapStream: async ({ input }, next) => normalizeStreamToolCallIds(model, input, await next())
|
|
2347
2389
|
}]);
|
|
2348
2390
|
var withOpenAIToolResultEnvelopes = (model) => wrapLanguageModel7(model, [{
|
|
2349
|
-
name: "harness-openai-
|
|
2391
|
+
name: "harness-openai-full-history-v2",
|
|
2350
2392
|
async wrapGenerate({ input }, next) {
|
|
2351
2393
|
input.toolResultFormat = "envelope";
|
|
2394
|
+
if (input.providerOptions?.apiMode !== "chat") {
|
|
2395
|
+
if (input.providerOptions?.previous_response_id !== undefined || input.providerOptions?.conversation !== undefined)
|
|
2396
|
+
throw new Error("Harness OpenAI history cannot use server-side continuation options.");
|
|
2397
|
+
input.providerOptions = { ...input.providerOptions, store: false };
|
|
2398
|
+
}
|
|
2352
2399
|
return next();
|
|
2353
2400
|
},
|
|
2354
2401
|
async wrapStream({ input }, next) {
|
|
2355
2402
|
input.toolResultFormat = "envelope";
|
|
2403
|
+
if (input.providerOptions?.apiMode !== "chat") {
|
|
2404
|
+
if (input.providerOptions?.previous_response_id !== undefined || input.providerOptions?.conversation !== undefined)
|
|
2405
|
+
throw new Error("Harness OpenAI history cannot use server-side continuation options.");
|
|
2406
|
+
input.providerOptions = { ...input.providerOptions, store: false };
|
|
2407
|
+
}
|
|
2356
2408
|
return next();
|
|
2357
2409
|
}
|
|
2358
2410
|
}]);
|
|
@@ -2542,7 +2594,7 @@ var BUILTIN_PROVIDER_REGISTRATIONS = Object.freeze([
|
|
|
2542
2594
|
var DEFAULT_PROVIDER_REGISTRY = createProviderRegistry(BUILTIN_PROVIDER_REGISTRATIONS);
|
|
2543
2595
|
var PROVIDER_DESCRIPTORS = DEFAULT_PROVIDER_REGISTRY.descriptors;
|
|
2544
2596
|
|
|
2545
|
-
// src/providers/reasoning.ts
|
|
2597
|
+
// packages/core/src/providers/reasoning.ts
|
|
2546
2598
|
var reasoningEffortSchema = z3.enum(["default", "none", "minimal", "low", "medium", "high", "xhigh", "max"]);
|
|
2547
2599
|
var supportedReasoningEfforts = (capabilities) => ["default", ...capabilities.reasoning ? capabilities.reasoningEfforts ?? [] : []];
|
|
2548
2600
|
function modelReasoningEfforts(provider, model) {
|
|
@@ -2570,7 +2622,7 @@ function withReasoningEffort(model, value) {
|
|
|
2570
2622
|
}]);
|
|
2571
2623
|
}
|
|
2572
2624
|
|
|
2573
|
-
// src/runtime/task-transport.ts
|
|
2625
|
+
// packages/core/src/runtime/task-transport.ts
|
|
2574
2626
|
var provenance = Symbol("harness-vetted-task-transport");
|
|
2575
2627
|
var capability = Object.freeze({ version: 1 });
|
|
2576
2628
|
function markTaskTransportModel(model) {
|
|
@@ -2581,12 +2633,12 @@ function isTaskTransportModel(model) {
|
|
|
2581
2633
|
return Reflect.get(model, provenance) === capability;
|
|
2582
2634
|
}
|
|
2583
2635
|
|
|
2584
|
-
// src/runtime/config.ts
|
|
2636
|
+
// packages/core/src/runtime/config.ts
|
|
2585
2637
|
import { createHash as createHash2 } from "node:crypto";
|
|
2586
2638
|
import { realpathSync } from "node:fs";
|
|
2587
2639
|
import path from "node:path";
|
|
2588
2640
|
|
|
2589
|
-
// src/runtime/errors.ts
|
|
2641
|
+
// packages/core/src/runtime/errors.ts
|
|
2590
2642
|
var HARNESS_ERROR_CODES = [
|
|
2591
2643
|
"CONFIG_INVALID",
|
|
2592
2644
|
"CLI_USAGE_INVALID",
|
|
@@ -2722,7 +2774,7 @@ var normalizeHarnessError = (error) => {
|
|
|
2722
2774
|
return new HarnessExecutionError(message, { cause: error });
|
|
2723
2775
|
};
|
|
2724
2776
|
|
|
2725
|
-
// src/runtime/config.ts
|
|
2777
|
+
// packages/core/src/runtime/config.ts
|
|
2726
2778
|
var DEFAULT_ALLOWED_CHECKS = ["test", "typecheck", "lint", "build"];
|
|
2727
2779
|
var HARNESS_CONFIG_SCHEMA_VERSION = 5;
|
|
2728
2780
|
var HARNESS_CONFIG_MIGRATABLE_SCHEMA_VERSIONS = [4, 5];
|
|
@@ -3105,4 +3157,4 @@ var createProviderModel = (config, env = process.env, registry = DEFAULT_PROVIDE
|
|
|
3105
3157
|
}
|
|
3106
3158
|
};
|
|
3107
3159
|
var providerAvailability = (env = process.env, registry = DEFAULT_PROVIDER_REGISTRY) => registry.availability(env);
|
|
3108
|
-
export { HARNESS_ERROR_CODES, HARNESS_ERROR_SCHEMA_VERSION, providerStreamDiagnostic, HarnessError, HarnessConfigError, HarnessWorkspaceError, HarnessStateConflictError, HarnessProviderError, HarnessExecutionError, harnessErrorDocument, normalizeHarnessError, vertexRoute, vertexConfigured, azureOpenAIEndpoint, azureOpenAIApiVersion, azureOpenAIDeployments, bedrockRuntime, bedrockRegion, bedrockOpenAIBaseURL, bedrockConfigured,
|
|
3160
|
+
export { HARNESS_ERROR_CODES, HARNESS_ERROR_SCHEMA_VERSION, providerStreamDiagnostic, HarnessError, HarnessConfigError, HarnessWorkspaceError, HarnessStateConflictError, HarnessProviderError, HarnessExecutionError, harnessErrorDocument, normalizeHarnessError, modelCatalogSchema, bundledModelCatalog, catalogModels, modelDescription, vertexRoute, vertexConfigured, azureOpenAIEndpoint, azureOpenAIApiVersion, azureOpenAIDeployments, bedrockRuntime, bedrockRegion, bedrockOpenAIBaseURL, bedrockConfigured, PROVIDERS, createProviderRegistry, BUILTIN_PROVIDER_REGISTRATIONS, DEFAULT_PROVIDER_REGISTRY, PROVIDER_DESCRIPTORS, reasoningEffortSchema, modelReasoningEfforts, withReasoningEffort, isTaskTransportModel, DEFAULT_ALLOWED_CHECKS, HARNESS_CONFIG_SCHEMA_VERSION, HARNESS_CONFIG_MIGRATABLE_SCHEMA_VERSIONS, HARNESS_STORE_BACKENDS, HARNESS_EXECUTION_BACKENDS, HARNESS_OCI_RUNTIMES, HARNESS_OCI_SHELL_MODES, HARNESS_EXECUTION_POLICY_VERSION, DEFAULT_OCI_EXECUTION, HARNESS_REQUIRED_CAPABILITIES, HARNESS_SUBAGENT_PROFILES, DEFAULT_HARNESS_MAX_STEPS, DEFAULT_HARNESS_BUDGET, DEFAULT_HARNESS_COMPACTION, DEFAULT_SUBAGENT_BUDGET, migrateHarnessConfigInput, defaultHarnessNamespace, parseProvider, providerDescriptor, resolveHarnessConfig, createProviderModel, providerAvailability };
|