@zhivex-ai/harness 1.6.3 → 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 +16 -3
- package/README.md +17 -5
- package/SECURITY.md +1 -1
- package/SUPPORT.md +2 -2
- package/benchmarks/README.md +98 -0
- package/contracts/engine-api.json +1587 -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/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-s9n693by.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-1epvek01.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-mbcq96nx.js → cli-entry-dksm56sj.js} +39 -293
- package/dist/{cli-entry-rsx0wpvs.js → cli-entry-eka68ttb.js} +4087 -4625
- package/dist/cli-entry-h7dcah4p.js +137 -0
- package/dist/cli-entry-kwk23ktq.js +33 -0
- package/dist/{cli-entry-nyzyvf24.js → cli-entry-vmce694z.js} +1286 -3142
- package/dist/cli-entry-wanv05db.js +1113 -0
- package/dist/{cli-yxvq8qf1.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 +4 -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 +31 -5
- 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.d.ts +4 -0
- package/dist/engine/index.js +117 -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 +2329 -1096
- package/dist/index-09rsdr2d.js +1744 -0
- package/dist/index-0csc5sc7.js +139 -0
- package/dist/{index-4mn6m3bq.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-rgqzdgv6.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-fqqz1yt8.js → index-6ehtssyz.js} +369 -335
- package/dist/index-76kpdbpw.js +80 -0
- package/dist/{index-5nmm0642.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-hhrnrqfc.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-j466sekf.js → index-mkt5yrax.js} +31 -105
- package/dist/{index-nxmk6re7.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-vn91b9z1.js → index-sx1t6dnd.js} +3721 -2382
- package/dist/index-tar0ngkm.js +359 -0
- package/dist/index-tn58cr6w.js +471 -0
- package/dist/{index-w0m1nckc.js → index-v79s9bf9.js} +118 -45
- 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-amjttjaj.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/agent-profile.d.ts +12 -0
- package/dist/runtime/harness.d.ts +13 -0
- package/dist/runtime/known-file-preload.d.ts +35 -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 +2249 -1016
- 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 +11 -5
- package/docs/CODE_WEB_TASKS.md +3 -114
- package/docs/CONTEXT_ENGINEERING.md +93 -0
- package/docs/ENGINE_API.md +9 -2
- 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/PROJECT_MEMORY.md +1 -1
- package/docs/README.md +23 -4
- package/evaluations/representative-assembly-matrix.json +19 -1
- package/examples/README.md +4 -4
- 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 +232 -26
- package/dist/cli/console/console-model-catalog.d.ts +0 -8
- package/dist/index-2yyfg69h.js +0 -619
- package/dist/index-3wwfn5n6.js +0 -270
- package/dist/index-4gt045j0.js +0 -288
- package/dist/index-4jw3tvy8.js +0 -301
- package/dist/service-client-cli-xbj7j5kj.js +0 -1251
package/dist/engine/index.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import"../index-fy4w0a7v.js";
|
|
2
|
+
import {
|
|
3
|
+
HARNESS_MEMORY_COMMANDS,
|
|
4
|
+
executeHarnessMemoryCommand
|
|
5
|
+
} from "../index-pkspzsfs.js";
|
|
1
6
|
import {
|
|
2
7
|
DEFAULT_TIME_TO_SAFE_FIX_GOAL,
|
|
3
8
|
TIME_TO_SAFE_FIX_CARRIERS,
|
|
@@ -9,6 +14,17 @@ import {
|
|
|
9
14
|
TIME_TO_SAFE_FIX_SCHEMA_VERSION,
|
|
10
15
|
cancelHarnessReviewGroup,
|
|
11
16
|
classifyTimeToSafeFixFailure,
|
|
17
|
+
createTimeToSafeFixCases,
|
|
18
|
+
createTimeToSafeFixReport,
|
|
19
|
+
createTimeToSafeFixSample,
|
|
20
|
+
injectTimeToSafeFixAttack,
|
|
21
|
+
inspectHarnessReviewGroup,
|
|
22
|
+
runHarnessDurableReviewGroup,
|
|
23
|
+
timeToSafeFixDriverResultSchema,
|
|
24
|
+
timeToSafeFixLatencyStatistics,
|
|
25
|
+
timeToSafeFixTaskSchema
|
|
26
|
+
} from "../index-w292hdpz.js";
|
|
27
|
+
import {
|
|
12
28
|
cliChangeEnvelopeVerificationDocumentSchema,
|
|
13
29
|
cliDoctorDocumentSchema,
|
|
14
30
|
cliErrorDocumentSchema,
|
|
@@ -31,19 +47,19 @@ import {
|
|
|
31
47
|
cliStateStatusDocumentSchema,
|
|
32
48
|
cliStreamErrorDocumentSchema,
|
|
33
49
|
cliStreamResultDocumentSchema,
|
|
34
|
-
createTimeToSafeFixCases,
|
|
35
|
-
createTimeToSafeFixReport,
|
|
36
|
-
createTimeToSafeFixSample,
|
|
37
|
-
injectTimeToSafeFixAttack,
|
|
38
|
-
inspectHarnessReviewGroup,
|
|
39
50
|
parseCliJsonDocument,
|
|
40
|
-
parseCliJsonLineDocument
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
51
|
+
parseCliJsonLineDocument
|
|
52
|
+
} from "../index-b4yed1s3.js";
|
|
53
|
+
import {
|
|
54
|
+
recoverHarnessLocalService,
|
|
55
|
+
startHarnessLocalService
|
|
56
|
+
} from "../index-j3d2tw97.js";
|
|
57
|
+
import {
|
|
58
|
+
recommendCompactionModels
|
|
59
|
+
} from "../index-nvvzr4ny.js";
|
|
60
|
+
import {
|
|
61
|
+
openHarnessActivityStore
|
|
62
|
+
} from "../index-f8zpcsx3.js";
|
|
47
63
|
import {
|
|
48
64
|
HARNESS_STATE_BACKUP_MAX_BYTES,
|
|
49
65
|
HARNESS_STATE_BACKUP_SCHEMA_VERSION,
|
|
@@ -54,7 +70,14 @@ import {
|
|
|
54
70
|
inspectHarnessState,
|
|
55
71
|
readHarnessStateBackup,
|
|
56
72
|
stateBackupBundleSchema
|
|
57
|
-
} from "../index-
|
|
73
|
+
} from "../index-2j0v1xwr.js";
|
|
74
|
+
import {
|
|
75
|
+
createAcpConnection,
|
|
76
|
+
serveAcpStdio
|
|
77
|
+
} from "../index-z69cqk74.js";
|
|
78
|
+
import {
|
|
79
|
+
createHarnessClientAdapter
|
|
80
|
+
} from "../index-mkt5yrax.js";
|
|
58
81
|
import {
|
|
59
82
|
CLI_COMMAND_OPTION_CONTRACTS,
|
|
60
83
|
CLI_OPTION_DEFINITIONS,
|
|
@@ -64,57 +87,16 @@ import {
|
|
|
64
87
|
resolveHarnessModelRoutes,
|
|
65
88
|
serializeHarnessModelRoutes,
|
|
66
89
|
validateCliCommandOptions
|
|
67
|
-
} from "../index-
|
|
68
|
-
import
|
|
69
|
-
|
|
70
|
-
serveAcpStdio
|
|
71
|
-
} from "../index-3ah1f369.js";
|
|
72
|
-
import {
|
|
73
|
-
exportHarnessGovernanceReport,
|
|
74
|
-
harnessGovernanceReportSchema,
|
|
75
|
-
renderHarnessGovernanceMarkdown
|
|
76
|
-
} from "../index-5nmm0642.js";
|
|
77
|
-
import {
|
|
78
|
-
CHANGE_ENVELOPE_DIGEST_ALGORITHM,
|
|
79
|
-
CHANGE_ENVELOPE_SCHEMA_VERSION,
|
|
80
|
-
MAX_CHANGE_ENVELOPE_APPROVALS,
|
|
81
|
-
MAX_CHANGE_ENVELOPE_APPROVAL_SCOPES,
|
|
82
|
-
MAX_CHANGE_ENVELOPE_ATTESTATIONS,
|
|
83
|
-
MAX_CHANGE_ENVELOPE_CHECKS,
|
|
84
|
-
canonicalizeChangeEnvelope,
|
|
85
|
-
changeEnvelopeApprovalSchema,
|
|
86
|
-
changeEnvelopeBaseSchema,
|
|
87
|
-
changeEnvelopeCheckSchema,
|
|
88
|
-
changeEnvelopeEvidenceSchema,
|
|
89
|
-
changeEnvelopeFingerprintsSchema,
|
|
90
|
-
changeEnvelopeInputSchema,
|
|
91
|
-
changeEnvelopePatchSchema,
|
|
92
|
-
changeEnvelopePreconditionsSchema,
|
|
93
|
-
changeEnvelopeSchema,
|
|
94
|
-
computeChangeEnvelopeDigest,
|
|
95
|
-
computeChangeEnvelopeEvidenceDigest,
|
|
96
|
-
createChangeEnvelope,
|
|
97
|
-
digestChangeEnvelopeArtifact,
|
|
98
|
-
externalAttestationReferenceSchema,
|
|
99
|
-
verifyChangeEnvelope
|
|
100
|
-
} from "../index-yx52bt4a.js";
|
|
101
|
-
import {
|
|
102
|
-
harnessLocalCredentialsSchema,
|
|
103
|
-
openHarnessActivityStore,
|
|
104
|
-
readHarnessLocalCredentials,
|
|
105
|
-
recoverHarnessLocalService,
|
|
106
|
-
requestHarnessLocalService,
|
|
107
|
-
startHarnessLocalService
|
|
108
|
-
} from "../index-2yyfg69h.js";
|
|
109
|
-
import {
|
|
110
|
-
createHarnessClientAdapter
|
|
111
|
-
} from "../index-j466sekf.js";
|
|
90
|
+
} from "../index-ay26xfxt.js";
|
|
91
|
+
import"../index-1z0xhkh9.js";
|
|
92
|
+
import"../index-q7qdw883.js";
|
|
112
93
|
import {
|
|
113
94
|
openWorkspaceCheckpointStore
|
|
114
|
-
} from "../index-
|
|
95
|
+
} from "../index-0dkty795.js";
|
|
115
96
|
import {
|
|
116
97
|
DEFAULT_HARNESS_CONTEXT_MANIFEST,
|
|
117
98
|
DEFAULT_HARNESS_PROJECT_INSTRUCTIONS,
|
|
99
|
+
GENERAL_ASSISTANT_PROFILE,
|
|
118
100
|
HARNESS_CONTEXT_BUNDLE_SCHEMA_VERSION,
|
|
119
101
|
HARNESS_CONTEXT_CONFIG_SCHEMA_VERSION,
|
|
120
102
|
HARNESS_INSTRUCTIONS,
|
|
@@ -135,9 +117,11 @@ import {
|
|
|
135
117
|
createHarness,
|
|
136
118
|
createHarnessLifecycleDispatcher,
|
|
137
119
|
createHarnessSubagents,
|
|
120
|
+
createProfiledHarness,
|
|
138
121
|
createProgressMonitor,
|
|
139
122
|
createSemanticCompactor,
|
|
140
123
|
estimateMessageTokens,
|
|
124
|
+
harnessAgentProfileSchema,
|
|
141
125
|
harnessContextConfigurationSchema,
|
|
142
126
|
harnessContextFingerprintInput,
|
|
143
127
|
harnessLifecycleFingerprintInput,
|
|
@@ -152,11 +136,22 @@ import {
|
|
|
152
136
|
runHarness,
|
|
153
137
|
runHarnessReviewGroup,
|
|
154
138
|
selectHarnessModel
|
|
155
|
-
} from "../index-
|
|
139
|
+
} from "../index-sx1t6dnd.js";
|
|
140
|
+
import {
|
|
141
|
+
HARNESS_MCP_CONFIG_SCHEMA_VERSION,
|
|
142
|
+
HARNESS_MCP_PERMISSIONS,
|
|
143
|
+
createHarnessMcpTools,
|
|
144
|
+
createHttpMcpClient,
|
|
145
|
+
loadHarnessMcpConfiguration,
|
|
146
|
+
normalizeHarnessMcpConfiguration
|
|
147
|
+
} from "../index-k529a278.js";
|
|
156
148
|
import {
|
|
157
|
-
HARNESS_OPERATIONS_SCHEMA_VERSION,
|
|
158
149
|
HARNESS_PROJECT_MEMORY_LIMITS,
|
|
159
150
|
HARNESS_PROJECT_MEMORY_SCHEMA_VERSION,
|
|
151
|
+
openHarnessProjectMemory
|
|
152
|
+
} from "../index-bw34861c.js";
|
|
153
|
+
import {
|
|
154
|
+
HARNESS_OPERATIONS_SCHEMA_VERSION,
|
|
160
155
|
HARNESS_SQLITE_FILE,
|
|
161
156
|
TERMINAL_RUN_STATUSES,
|
|
162
157
|
cancelHarnessRun,
|
|
@@ -164,17 +159,8 @@ import {
|
|
|
164
159
|
inspectHarnessRun,
|
|
165
160
|
listHarnessRuns,
|
|
166
161
|
migrateLegacyFileRuns,
|
|
167
|
-
openHarnessPersistence
|
|
168
|
-
|
|
169
|
-
} from "../index-amjttjaj.js";
|
|
170
|
-
import {
|
|
171
|
-
HARNESS_MCP_CONFIG_SCHEMA_VERSION,
|
|
172
|
-
HARNESS_MCP_PERMISSIONS,
|
|
173
|
-
createHarnessMcpTools,
|
|
174
|
-
createHttpMcpClient,
|
|
175
|
-
loadHarnessMcpConfiguration,
|
|
176
|
-
normalizeHarnessMcpConfiguration
|
|
177
|
-
} from "../index-hhrnrqfc.js";
|
|
162
|
+
openHarnessPersistence
|
|
163
|
+
} from "../index-w9eqg6p9.js";
|
|
178
164
|
import {
|
|
179
165
|
CliOciRuntimeAdapter,
|
|
180
166
|
HARNESS_EXECUTION_ARTIFACT_SCHEMA_VERSION,
|
|
@@ -186,7 +172,7 @@ import {
|
|
|
186
172
|
describeOciCommand,
|
|
187
173
|
executionFingerprintInput,
|
|
188
174
|
harnessExecutionSession
|
|
189
|
-
} from "../index-
|
|
175
|
+
} from "../index-v79s9bf9.js";
|
|
190
176
|
import {
|
|
191
177
|
BUILTIN_PROVIDER_REGISTRATIONS,
|
|
192
178
|
DEFAULT_ALLOWED_CHECKS,
|
|
@@ -211,15 +197,49 @@ import {
|
|
|
211
197
|
providerAvailability,
|
|
212
198
|
providerDescriptor,
|
|
213
199
|
resolveHarnessConfig
|
|
214
|
-
} from "../index-
|
|
215
|
-
import"../index-
|
|
216
|
-
import"../index-
|
|
200
|
+
} from "../index-fwf274vc.js";
|
|
201
|
+
import"../index-ctcwrkrc.js";
|
|
202
|
+
import"../index-qvbg6tx1.js";
|
|
203
|
+
import {
|
|
204
|
+
exportHarnessGovernanceReport,
|
|
205
|
+
harnessGovernanceReportSchema,
|
|
206
|
+
renderHarnessGovernanceMarkdown
|
|
207
|
+
} from "../index-7nbmhmw5.js";
|
|
208
|
+
import {
|
|
209
|
+
CHANGE_ENVELOPE_DIGEST_ALGORITHM,
|
|
210
|
+
CHANGE_ENVELOPE_SCHEMA_VERSION,
|
|
211
|
+
MAX_CHANGE_ENVELOPE_APPROVALS,
|
|
212
|
+
MAX_CHANGE_ENVELOPE_APPROVAL_SCOPES,
|
|
213
|
+
MAX_CHANGE_ENVELOPE_ATTESTATIONS,
|
|
214
|
+
MAX_CHANGE_ENVELOPE_CHECKS,
|
|
215
|
+
canonicalizeChangeEnvelope,
|
|
216
|
+
changeEnvelopeApprovalSchema,
|
|
217
|
+
changeEnvelopeBaseSchema,
|
|
218
|
+
changeEnvelopeCheckSchema,
|
|
219
|
+
changeEnvelopeEvidenceSchema,
|
|
220
|
+
changeEnvelopeFingerprintsSchema,
|
|
221
|
+
changeEnvelopeInputSchema,
|
|
222
|
+
changeEnvelopePatchSchema,
|
|
223
|
+
changeEnvelopePreconditionsSchema,
|
|
224
|
+
changeEnvelopeSchema,
|
|
225
|
+
computeChangeEnvelopeDigest,
|
|
226
|
+
computeChangeEnvelopeEvidenceDigest,
|
|
227
|
+
createChangeEnvelope,
|
|
228
|
+
digestChangeEnvelopeArtifact,
|
|
229
|
+
externalAttestationReferenceSchema,
|
|
230
|
+
verifyChangeEnvelope
|
|
231
|
+
} from "../index-cztmcesv.js";
|
|
217
232
|
import {
|
|
218
233
|
applyHarnessToolPolicy,
|
|
219
234
|
createHarnessToolPolicy,
|
|
220
235
|
harnessToolPolicySchema,
|
|
221
236
|
inspectHarnessPolicy
|
|
222
|
-
} from "../index-
|
|
237
|
+
} from "../index-kbrf5bx7.js";
|
|
238
|
+
import {
|
|
239
|
+
BUN_ENGINE_RANGE,
|
|
240
|
+
HARNESS_VERSION,
|
|
241
|
+
NODE_ENGINE_RANGE
|
|
242
|
+
} from "../index-kwk23ktq.js";
|
|
223
243
|
import {
|
|
224
244
|
HARNESS_SESSION_INDEX_FILE,
|
|
225
245
|
HARNESS_SESSION_SCHEMA_VERSION,
|
|
@@ -230,12 +250,7 @@ import {
|
|
|
230
250
|
openSessionStore,
|
|
231
251
|
taskAcceptanceContractSchema,
|
|
232
252
|
validateStateDirectory
|
|
233
|
-
} from "../index-
|
|
234
|
-
import {
|
|
235
|
-
BUN_ENGINE_RANGE,
|
|
236
|
-
HARNESS_VERSION,
|
|
237
|
-
NODE_ENGINE_RANGE
|
|
238
|
-
} from "../index-3wwfn5n6.js";
|
|
253
|
+
} from "../index-6ehtssyz.js";
|
|
239
254
|
import {
|
|
240
255
|
EDIT_CONTRACT_SCHEMA_VERSION,
|
|
241
256
|
EDIT_DIGEST_ALGORITHM,
|
|
@@ -258,18 +273,22 @@ import {
|
|
|
258
273
|
restoreFileInputSchema,
|
|
259
274
|
validateEditProposal,
|
|
260
275
|
workspaceFilePathSchema
|
|
261
|
-
} from "../index-
|
|
276
|
+
} from "../index-f970qtb4.js";
|
|
277
|
+
import"../index-h7dcah4p.js";
|
|
278
|
+
import {
|
|
279
|
+
harnessLocalCredentialsSchema,
|
|
280
|
+
readHarnessLocalCredentials,
|
|
281
|
+
requestHarnessLocalService
|
|
282
|
+
} from "../index-3wa4j0yk.js";
|
|
283
|
+
import"../index-rdr78m0k.js";
|
|
262
284
|
import {
|
|
263
285
|
CLI_EVENT_SCHEMA_VERSION,
|
|
264
286
|
CLI_JSON_SCHEMA_VERSION,
|
|
265
|
-
HARNESS_CLIENT_PROTOCOL_VERSION,
|
|
266
|
-
harnessClientCommandSchema,
|
|
267
|
-
harnessClientRequestSchema,
|
|
268
287
|
serializeStreamEvent,
|
|
269
288
|
serializeStreamResult,
|
|
270
289
|
streamEventDocument,
|
|
271
290
|
streamResultDocument
|
|
272
|
-
} from "../index-
|
|
291
|
+
} from "../index-5jxm2wy5.js";
|
|
273
292
|
import {
|
|
274
293
|
HARNESS_ERROR_CODES,
|
|
275
294
|
HARNESS_ERROR_SCHEMA_VERSION,
|
|
@@ -282,78 +301,14 @@ import {
|
|
|
282
301
|
HarnessWorkspaceError,
|
|
283
302
|
harnessErrorDocument,
|
|
284
303
|
normalizeHarnessError
|
|
285
|
-
} from "../index-
|
|
286
|
-
import"../index-
|
|
304
|
+
} from "../index-xwb691v9.js";
|
|
305
|
+
import"../index-px1tnqgt.js";
|
|
306
|
+
import {
|
|
307
|
+
HARNESS_CLIENT_PROTOCOL_VERSION,
|
|
308
|
+
harnessClientCommandSchema,
|
|
309
|
+
harnessClientRequestSchema
|
|
310
|
+
} from "../index-76kpdbpw.js";
|
|
287
311
|
import"../index-1bx83sw4.js";
|
|
288
|
-
// src/persistence/project-memory-command.ts
|
|
289
|
-
var HARNESS_MEMORY_COMMANDS = ["remember", "list", "read", "update", "forget", "suggest", "accept", "clear", "enable", "disable", "context"];
|
|
290
|
-
async function executeHarnessMemoryCommand(options, command, args, source = "Explicit operator input") {
|
|
291
|
-
const counts = {
|
|
292
|
-
remember: 1,
|
|
293
|
-
list: 0,
|
|
294
|
-
read: 1,
|
|
295
|
-
update: 3,
|
|
296
|
-
forget: 2,
|
|
297
|
-
suggest: 1,
|
|
298
|
-
accept: 2,
|
|
299
|
-
clear: 0,
|
|
300
|
-
enable: 0,
|
|
301
|
-
disable: 0,
|
|
302
|
-
context: 1
|
|
303
|
-
};
|
|
304
|
-
if (!Object.hasOwn(counts, command) || args.length !== counts[command])
|
|
305
|
-
throw new HarnessConfigError("Invalid memory command arguments. Use memory --help.");
|
|
306
|
-
const memory = await openHarnessProjectMemory(options);
|
|
307
|
-
try {
|
|
308
|
-
let result;
|
|
309
|
-
switch (command) {
|
|
310
|
-
case "list":
|
|
311
|
-
result = memory.list();
|
|
312
|
-
break;
|
|
313
|
-
case "read":
|
|
314
|
-
result = memory.read(args[0]);
|
|
315
|
-
break;
|
|
316
|
-
case "remember":
|
|
317
|
-
result = memory.remember({ content: args[0], source });
|
|
318
|
-
break;
|
|
319
|
-
case "suggest":
|
|
320
|
-
result = memory.suggest({ content: args[0], source });
|
|
321
|
-
break;
|
|
322
|
-
case "update":
|
|
323
|
-
result = memory.update(args[0], Number(args[1]), { content: args[2], source });
|
|
324
|
-
break;
|
|
325
|
-
case "accept":
|
|
326
|
-
result = memory.accept(args[0], Number(args[1]));
|
|
327
|
-
break;
|
|
328
|
-
case "forget":
|
|
329
|
-
memory.forget(args[0], Number(args[1]));
|
|
330
|
-
result = { forgotten: args[0] };
|
|
331
|
-
break;
|
|
332
|
-
case "clear":
|
|
333
|
-
result = { cleared: memory.clear() };
|
|
334
|
-
break;
|
|
335
|
-
case "enable":
|
|
336
|
-
case "disable":
|
|
337
|
-
memory.setEnabled(command === "enable");
|
|
338
|
-
result = { enabled: command === "enable" };
|
|
339
|
-
break;
|
|
340
|
-
case "context":
|
|
341
|
-
result = memory.retrieve(args[0]);
|
|
342
|
-
break;
|
|
343
|
-
}
|
|
344
|
-
const view = memory.list();
|
|
345
|
-
return {
|
|
346
|
-
schemaVersion: 1,
|
|
347
|
-
kind: "memory-command",
|
|
348
|
-
command,
|
|
349
|
-
workspaceKey: view.workspaceKey,
|
|
350
|
-
scopeKey: view.scopeKey,
|
|
351
|
-
result
|
|
352
|
-
};
|
|
353
|
-
} finally {
|
|
354
|
-
memory.close();
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
312
|
export {
|
|
358
313
|
BUILTIN_PROVIDER_REGISTRATIONS,
|
|
359
314
|
BUN_ENGINE_RANGE,
|
|
@@ -374,6 +329,7 @@ export {
|
|
|
374
329
|
DEFAULT_TIME_TO_SAFE_FIX_GOAL,
|
|
375
330
|
EDIT_CONTRACT_SCHEMA_VERSION,
|
|
376
331
|
EDIT_DIGEST_ALGORITHM,
|
|
332
|
+
GENERAL_ASSISTANT_PROFILE,
|
|
377
333
|
HARNESS_CLIENT_PROTOCOL_VERSION,
|
|
378
334
|
HARNESS_CONFIG_MIGRATABLE_SCHEMA_VERSIONS,
|
|
379
335
|
HARNESS_CONFIG_SCHEMA_VERSION,
|
|
@@ -500,6 +456,7 @@ export {
|
|
|
500
456
|
createHarnessSubagents,
|
|
501
457
|
createHarnessToolPolicy,
|
|
502
458
|
createHttpMcpClient,
|
|
459
|
+
createProfiledHarness,
|
|
503
460
|
createProgressMonitor,
|
|
504
461
|
createProviderModel,
|
|
505
462
|
createProviderRegistry,
|
|
@@ -523,6 +480,7 @@ export {
|
|
|
523
480
|
exportHarnessStateBackup,
|
|
524
481
|
externalAttestationReferenceSchema,
|
|
525
482
|
fileDigestSchema,
|
|
483
|
+
harnessAgentProfileSchema,
|
|
526
484
|
harnessClientCommandSchema,
|
|
527
485
|
harnessClientRequestSchema,
|
|
528
486
|
harnessContextConfigurationSchema,
|
|
@@ -8,18 +8,19 @@ import {
|
|
|
8
8
|
mcpResourcePlanSchema,
|
|
9
9
|
prepareMcpWorkspaceSnapshot,
|
|
10
10
|
recoverDockerMcpResources
|
|
11
|
-
} from "../index-
|
|
12
|
-
import"../index-
|
|
13
|
-
import"../index-
|
|
14
|
-
import"../index-
|
|
15
|
-
import"../index-
|
|
16
|
-
import"../index-
|
|
17
|
-
import"../index-
|
|
18
|
-
import"../index-
|
|
19
|
-
import"../index-
|
|
20
|
-
import"../index-
|
|
11
|
+
} from "../index-ndgnvjez.js";
|
|
12
|
+
import"../index-k529a278.js";
|
|
13
|
+
import"../index-v79s9bf9.js";
|
|
14
|
+
import"../index-fwf274vc.js";
|
|
15
|
+
import"../index-ctcwrkrc.js";
|
|
16
|
+
import"../index-qvbg6tx1.js";
|
|
17
|
+
import"../index-kwk23ktq.js";
|
|
18
|
+
import"../index-f970qtb4.js";
|
|
19
|
+
import"../index-h7dcah4p.js";
|
|
20
|
+
import"../index-xwb691v9.js";
|
|
21
|
+
import"../index-px1tnqgt.js";
|
|
21
22
|
import"../index-1bx83sw4.js";
|
|
22
|
-
// src/persistence/mcp-reconciliation.ts
|
|
23
|
+
// packages/core/src/persistence/mcp-reconciliation.ts
|
|
23
24
|
import { z } from "zod";
|
|
24
25
|
var digest = z.string().regex(/^[a-f0-9]{64}$/);
|
|
25
26
|
var identitySchema = z.object({
|
|
@@ -95,7 +96,7 @@ function createMcpReconciliationAuthority(options) {
|
|
|
95
96
|
}
|
|
96
97
|
});
|
|
97
98
|
}
|
|
98
|
-
// src/integrations/mcp-stdio-session.ts
|
|
99
|
+
// packages/core/src/integrations/mcp-stdio-session.ts
|
|
99
100
|
async function launchIsolatedMcpSession(options) {
|
|
100
101
|
const session = await launchDockerMcpTools(options);
|
|
101
102
|
return Object.freeze({ hostSession: session.hostSession, close: session.close });
|
package/dist/engine/models.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// src/models/catalog.ts
|
|
1
|
+
// packages/core/src/models/catalog.ts
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
// src/models/catalog.json
|
|
3
|
+
// packages/core/src/models/catalog.json
|
|
4
4
|
var catalog_default = {
|
|
5
5
|
schemaVersion: 1,
|
|
6
|
-
revision: "2026-
|
|
6
|
+
revision: "2026-11-16-qwen4-max",
|
|
7
7
|
providers: [
|
|
8
8
|
{
|
|
9
9
|
id: "openai",
|
|
@@ -256,11 +256,35 @@ var catalog_default = {
|
|
|
256
256
|
id: "qwen",
|
|
257
257
|
defaultModel: "qwen3.8-max",
|
|
258
258
|
models: [
|
|
259
|
+
{
|
|
260
|
+
id: "qwen4-max",
|
|
261
|
+
name: "Qwen4 Max",
|
|
262
|
+
group: "primary",
|
|
263
|
+
order: 0,
|
|
264
|
+
lifecycle: "active",
|
|
265
|
+
validation: "verified",
|
|
266
|
+
capabilities: [
|
|
267
|
+
"chat",
|
|
268
|
+
"tools",
|
|
269
|
+
"vision"
|
|
270
|
+
],
|
|
271
|
+
limits: {
|
|
272
|
+
contextWindowTokens: 1e6,
|
|
273
|
+
contextWindowType: "combined",
|
|
274
|
+
maxOutputTokens: 131072,
|
|
275
|
+
maxInputTokens: 983616,
|
|
276
|
+
evidence: {
|
|
277
|
+
sourceUrl: "https://docs.qwencloud.com/developer-guides/getting-started/latest-model",
|
|
278
|
+
checkedAt: "2026-11-16"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
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."
|
|
282
|
+
},
|
|
259
283
|
{
|
|
260
284
|
id: "qwen3.8-flash",
|
|
261
285
|
name: "qwen3.8-flash",
|
|
262
286
|
group: "primary",
|
|
263
|
-
order:
|
|
287
|
+
order: 1,
|
|
264
288
|
lifecycle: "unknown",
|
|
265
289
|
validation: "unverified",
|
|
266
290
|
capabilities: [
|
|
@@ -290,7 +314,7 @@ var catalog_default = {
|
|
|
290
314
|
id: "qwen3.8-max",
|
|
291
315
|
name: "qwen3.8-max",
|
|
292
316
|
group: "primary",
|
|
293
|
-
order:
|
|
317
|
+
order: 2,
|
|
294
318
|
lifecycle: "unknown",
|
|
295
319
|
validation: "unverified",
|
|
296
320
|
capabilities: [
|
|
@@ -320,7 +344,7 @@ var catalog_default = {
|
|
|
320
344
|
id: "glm-5.3",
|
|
321
345
|
name: "GLM 5.3",
|
|
322
346
|
group: "primary",
|
|
323
|
-
order:
|
|
347
|
+
order: 3,
|
|
324
348
|
lifecycle: "active",
|
|
325
349
|
validation: "unverified",
|
|
326
350
|
capabilities: [
|
|
@@ -333,7 +357,7 @@ var catalog_default = {
|
|
|
333
357
|
id: "deepseek-v4.1-flash",
|
|
334
358
|
name: "DeepSeek V4.1 Flash",
|
|
335
359
|
group: "primary",
|
|
336
|
-
order:
|
|
360
|
+
order: 4,
|
|
337
361
|
lifecycle: "active",
|
|
338
362
|
validation: "unverified",
|
|
339
363
|
capabilities: [
|
|
@@ -347,7 +371,7 @@ var catalog_default = {
|
|
|
347
371
|
id: "kimi-k3",
|
|
348
372
|
name: "Kimi K3",
|
|
349
373
|
group: "primary",
|
|
350
|
-
order:
|
|
374
|
+
order: 5,
|
|
351
375
|
lifecycle: "active",
|
|
352
376
|
validation: "unverified",
|
|
353
377
|
capabilities: [
|
|
@@ -361,7 +385,7 @@ var catalog_default = {
|
|
|
361
385
|
id: "qwen3.7-plus",
|
|
362
386
|
name: "qwen3.7-plus",
|
|
363
387
|
group: "primary",
|
|
364
|
-
order:
|
|
388
|
+
order: 6,
|
|
365
389
|
lifecycle: "unknown",
|
|
366
390
|
validation: "unverified",
|
|
367
391
|
capabilities: [
|
|
@@ -373,7 +397,7 @@ var catalog_default = {
|
|
|
373
397
|
id: "qwen3.8-omni-flash",
|
|
374
398
|
name: "qwen3.8-omni-flash",
|
|
375
399
|
group: "other",
|
|
376
|
-
order:
|
|
400
|
+
order: 7,
|
|
377
401
|
lifecycle: "unknown",
|
|
378
402
|
validation: "unverified",
|
|
379
403
|
capabilities: [
|
|
@@ -385,7 +409,7 @@ var catalog_default = {
|
|
|
385
409
|
id: "qwen3.8-max-0902",
|
|
386
410
|
name: "qwen3.8-max-0902",
|
|
387
411
|
group: "other",
|
|
388
|
-
order:
|
|
412
|
+
order: 8,
|
|
389
413
|
lifecycle: "unknown",
|
|
390
414
|
validation: "unverified",
|
|
391
415
|
capabilities: [
|
|
@@ -397,7 +421,7 @@ var catalog_default = {
|
|
|
397
421
|
id: "qwen3.8-max-preview",
|
|
398
422
|
name: "qwen3.8-max-preview",
|
|
399
423
|
group: "other",
|
|
400
|
-
order:
|
|
424
|
+
order: 9,
|
|
401
425
|
lifecycle: "unknown",
|
|
402
426
|
validation: "unverified",
|
|
403
427
|
capabilities: [
|
|
@@ -409,7 +433,7 @@ var catalog_default = {
|
|
|
409
433
|
id: "qwen3.7-max",
|
|
410
434
|
name: "qwen3.7-max",
|
|
411
435
|
group: "other",
|
|
412
|
-
order:
|
|
436
|
+
order: 10,
|
|
413
437
|
lifecycle: "unknown",
|
|
414
438
|
validation: "unverified",
|
|
415
439
|
capabilities: [
|
|
@@ -421,7 +445,7 @@ var catalog_default = {
|
|
|
421
445
|
id: "qwen3.6-flash",
|
|
422
446
|
name: "qwen3.6-flash",
|
|
423
447
|
group: "other",
|
|
424
|
-
order:
|
|
448
|
+
order: 11,
|
|
425
449
|
lifecycle: "unknown",
|
|
426
450
|
validation: "unverified",
|
|
427
451
|
capabilities: [
|
|
@@ -433,7 +457,7 @@ var catalog_default = {
|
|
|
433
457
|
id: "qwen3.5-omni-plus",
|
|
434
458
|
name: "qwen3.5-omni-plus",
|
|
435
459
|
group: "other",
|
|
436
|
-
order:
|
|
460
|
+
order: 12,
|
|
437
461
|
lifecycle: "unknown",
|
|
438
462
|
validation: "unverified",
|
|
439
463
|
capabilities: [
|
|
@@ -445,7 +469,7 @@ var catalog_default = {
|
|
|
445
469
|
id: "qwen-plus",
|
|
446
470
|
name: "qwen-plus",
|
|
447
471
|
group: "other",
|
|
448
|
-
order:
|
|
472
|
+
order: 13,
|
|
449
473
|
lifecycle: "unknown",
|
|
450
474
|
validation: "unverified",
|
|
451
475
|
capabilities: [
|
|
@@ -780,7 +804,10 @@ var catalog_default = {
|
|
|
780
804
|
order: 0,
|
|
781
805
|
lifecycle: "unknown",
|
|
782
806
|
validation: "unverified",
|
|
783
|
-
capabilities: [
|
|
807
|
+
capabilities: [
|
|
808
|
+
"chat",
|
|
809
|
+
"tools"
|
|
810
|
+
],
|
|
784
811
|
reason: "Provisional Bedrock Converse route. Account access, region, and live Harness certification are not verified. No prices or context limits are inferred."
|
|
785
812
|
},
|
|
786
813
|
{
|
|
@@ -790,7 +817,10 @@ var catalog_default = {
|
|
|
790
817
|
order: 1,
|
|
791
818
|
lifecycle: "unknown",
|
|
792
819
|
validation: "unverified",
|
|
793
|
-
capabilities: [
|
|
820
|
+
capabilities: [
|
|
821
|
+
"chat",
|
|
822
|
+
"tools"
|
|
823
|
+
],
|
|
794
824
|
reason: "Provisional Bedrock model id. Availability depends on the account and region. No live certification."
|
|
795
825
|
},
|
|
796
826
|
{
|
|
@@ -800,7 +830,10 @@ var catalog_default = {
|
|
|
800
830
|
order: 2,
|
|
801
831
|
lifecycle: "unknown",
|
|
802
832
|
validation: "unverified",
|
|
803
|
-
capabilities: [
|
|
833
|
+
capabilities: [
|
|
834
|
+
"chat",
|
|
835
|
+
"tools"
|
|
836
|
+
],
|
|
804
837
|
reason: "Provisional Bedrock model id. Availability depends on the account and region. No live certification."
|
|
805
838
|
}
|
|
806
839
|
]
|
|
@@ -816,7 +849,10 @@ var catalog_default = {
|
|
|
816
849
|
order: 0,
|
|
817
850
|
lifecycle: "unknown",
|
|
818
851
|
validation: "unverified",
|
|
819
|
-
capabilities: [
|
|
852
|
+
capabilities: [
|
|
853
|
+
"chat",
|
|
854
|
+
"tools"
|
|
855
|
+
],
|
|
820
856
|
reason: "Provisional Azure OpenAI route. Deployment name, API version, and live Harness certification are not verified. No prices are copied from the OpenAI API."
|
|
821
857
|
},
|
|
822
858
|
{
|
|
@@ -826,7 +862,10 @@ var catalog_default = {
|
|
|
826
862
|
order: 1,
|
|
827
863
|
lifecycle: "unknown",
|
|
828
864
|
validation: "unverified",
|
|
829
|
-
capabilities: [
|
|
865
|
+
capabilities: [
|
|
866
|
+
"chat",
|
|
867
|
+
"tools"
|
|
868
|
+
],
|
|
830
869
|
reason: "Provisional Azure OpenAI model id. Use AZURE_OPENAI_DEPLOYMENTS when the deployment name differs. No live certification."
|
|
831
870
|
},
|
|
832
871
|
{
|
|
@@ -836,7 +875,10 @@ var catalog_default = {
|
|
|
836
875
|
order: 2,
|
|
837
876
|
lifecycle: "unknown",
|
|
838
877
|
validation: "unverified",
|
|
839
|
-
capabilities: [
|
|
878
|
+
capabilities: [
|
|
879
|
+
"chat",
|
|
880
|
+
"tools"
|
|
881
|
+
],
|
|
840
882
|
reason: "Provisional Azure OpenAI model id. Account rollout and deployment availability are not verified. No live certification."
|
|
841
883
|
}
|
|
842
884
|
]
|
|
@@ -844,7 +886,7 @@ var catalog_default = {
|
|
|
844
886
|
]
|
|
845
887
|
};
|
|
846
888
|
|
|
847
|
-
// src/models/catalog.ts
|
|
889
|
+
// packages/core/src/models/catalog.ts
|
|
848
890
|
var modelId = z.string().min(1).max(160).regex(/^[a-zA-Z0-9][a-zA-Z0-9._:/-]*$/);
|
|
849
891
|
var text = z.string().min(1).max(300).regex(/^[^\x00-\x1f\x7f-\x9f]*$/);
|
|
850
892
|
var evidence = z.object({
|