@oscharko-dev/keiko 1.0.5 → 1.1.1
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/README.md +11 -1
- package/dist/ui/csp-hashes.json +7 -7
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +16 -14
- package/dist/ui/static/__next._full.txt +21 -20
- package/dist/ui/static/__next._tree.txt +2 -2
- package/dist/ui/static/_next/static/chunks/000t9p2ysi3dv.css +1 -0
- package/dist/ui/static/_next/static/chunks/02p2_qr2a9511.js +1 -0
- package/dist/ui/static/_next/static/chunks/02ug3u_si269z.js +1 -0
- package/dist/ui/static/_next/static/chunks/03deeo56ud39g.js +1 -0
- package/dist/ui/static/_next/static/chunks/07d68bcqo__-x.js +1 -0
- package/dist/ui/static/_next/static/chunks/0_8kv51rrhcg-.js +1 -0
- package/dist/ui/static/_next/static/chunks/0ak5o5brryicl.js +1 -0
- package/dist/ui/static/_next/static/chunks/0bbv42deftomm.js +1 -0
- package/dist/ui/static/_next/static/chunks/0c3w2ubla6ek6.js +1 -0
- package/dist/ui/static/_next/static/chunks/0e6em7dg4gr6q.js +1 -0
- package/dist/ui/static/_next/static/chunks/0gnizm29lk3ll.js +1 -0
- package/dist/ui/static/_next/static/chunks/0lwq5bbayfz9a.js +1 -0
- package/dist/ui/static/_next/static/chunks/0m0w3hleoejwg.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2nubqp1hwandv.js → 0ojvvjnsf38bk.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0we68cbpsgepq.css +1 -0
- package/dist/ui/static/_next/static/chunks/0xq716cs1taxh.js +1 -0
- package/dist/ui/static/_next/static/chunks/0xqxs7rppw_o5.css +5 -0
- package/dist/ui/static/_next/static/chunks/0z5be09yla9lp.js +1 -0
- package/dist/ui/static/_next/static/chunks/14aztwc0_78th.js +1 -0
- package/dist/ui/static/_next/static/chunks/18-rkk8vbltb8.js +1 -0
- package/dist/ui/static/_next/static/chunks/1gb6os129fico.js +1 -0
- package/dist/ui/static/_next/static/chunks/1hk335vrug1rc.js +1 -0
- package/dist/ui/static/_next/static/chunks/1kacubgk0y2ki.js +1 -0
- package/dist/ui/static/_next/static/chunks/1kxhf3ld28pzk.js +1 -0
- package/dist/ui/static/_next/static/chunks/1lb8ju8qa0d9m.js +1 -0
- package/dist/ui/static/_next/static/chunks/1lrj3d157kay1.js +5 -0
- package/dist/ui/static/_next/static/chunks/1mcajwmbse068.js +7 -0
- package/dist/ui/static/_next/static/chunks/1n5p49jpwwwi8.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2l9r80s3qje3v.js → 1piodmepoegnw.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1qsl7dx87n-af.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0vywz1p6au4ri.js → 1uetvnnpa5z22.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1uulmf99vtuyt.js +1 -0
- package/dist/ui/static/_next/static/chunks/202kx3p8axlmr.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0hn7lj400e79p.js → 2179tism08tgt.js} +1 -1
- package/dist/ui/static/_next/static/chunks/21t1klb1thn76.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3_07vmpj6bo71.js → 28qanioylwdin.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2_o61-akoq549.js +1 -0
- package/dist/ui/static/_next/static/chunks/{064diuwddstj6.js → 2cn33khz2ae-h.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{0b3klia_y6i3z.js → 2dbr8ufwv1hwn.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2dpxapmdvqlh1.js +1 -0
- package/dist/ui/static/_next/static/chunks/2e4prtd3wmn0a.js +1 -0
- package/dist/ui/static/_next/static/chunks/2h_zvmb272ozs.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3qtph5seqciux.css → 2l0gyhe4jpu23.css} +5 -5
- package/dist/ui/static/_next/static/chunks/2l9ens2l3tayx.js +1 -0
- package/dist/ui/static/_next/static/chunks/2oxvgl3qb19wf.js +1 -0
- package/dist/ui/static/_next/static/chunks/2s9-91g2jic6u.js +1 -0
- package/dist/ui/static/_next/static/chunks/2uoxlx30y60nf.js +1 -0
- package/dist/ui/static/_next/static/chunks/2vhgpp_064_st.js +1 -0
- package/dist/ui/static/_next/static/chunks/2xpud5k1hwfvf.js +1 -0
- package/dist/ui/static/_next/static/chunks/2ywqac8g8us1n.css +1 -0
- package/dist/ui/static/_next/static/chunks/3-l-8qt163_y6.js +1 -0
- package/dist/ui/static/_next/static/chunks/32tief1094icq.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3b05eyy6pw1t-.js → 3408jbh7566qd.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3_rof9w-g14_v.js +3 -0
- package/dist/ui/static/_next/static/chunks/3aqtjd-a1ygis.js +1 -0
- package/dist/ui/static/_next/static/chunks/3d-10944zk2o9.js +1 -0
- package/dist/ui/static/_next/static/chunks/3f6svr_pokw6j.js +1 -0
- package/dist/ui/static/_next/static/chunks/3ibevys2o09xx.js +1 -0
- package/dist/ui/static/_next/static/chunks/3iv5llh4xg-7v.js +1 -0
- package/dist/ui/static/_next/static/chunks/3ly6-f_52vfie.js +1 -0
- package/dist/ui/static/_next/static/chunks/3pm8eiwwesd47.js +1 -0
- package/dist/ui/static/_next/static/chunks/3tr04kks52pjw.js +1 -0
- package/dist/ui/static/_next/static/chunks/3xw9gh9d5ngza.js +1 -0
- package/dist/ui/static/_next/static/chunks/3zbk4r-6rxn7j.css +2 -0
- package/dist/ui/static/_next/static/chunks/42y02tbxkub8f.js +1 -0
- package/dist/ui/static/_not-found/__next._full.txt +20 -18
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +13 -11
- package/dist/ui/static/_not-found/__next._tree.txt +1 -1
- package/dist/ui/static/_not-found.html +1 -1
- package/dist/ui/static/_not-found.txt +20 -18
- package/dist/ui/static/atlassian-connectors/__next._full.txt +22 -20
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +15 -13
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +22 -20
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +21 -20
- package/dist/ui/static/launch/__next._full.txt +25 -23
- package/dist/ui/static/launch/__next._tree.txt +2 -2
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +16 -14
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +25 -23
- package/dist/ui/static/local-knowledge/__next._full.txt +25 -23
- package/dist/ui/static/local-knowledge/__next._tree.txt +2 -2
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +16 -14
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +23 -21
- package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +15 -13
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +23 -21
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +25 -23
- package/node_modules/@oscharko-dev/keiko-cli/dist/activity-log-line-reader.d.ts +30 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/activity-log-line-reader.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/activity-log-line-reader.js +114 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/audit.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/audit.js +108 -39
- package/node_modules/@oscharko-dev/keiko-cli/dist/cli-activity-log.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/cli-activity-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/cli-activity-log.js +14 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/cli-control-state.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/cli-control-state.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/cli-control-state.js +7 -4
- package/node_modules/@oscharko-dev/keiko-cli/dist/cli-model-resolution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/cli-model-resolution.js +3 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/evaluate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/evaluate.js +4 -2
- package/node_modules/@oscharko-dev/keiko-cli/dist/install-layout.d.ts +60 -7
- package/node_modules/@oscharko-dev/keiko-cli/dist/install-layout.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/install-layout.js +32 -10
- package/node_modules/@oscharko-dev/keiko-cli/dist/launcher-state.js +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lifecycle.js +82 -103
- package/node_modules/@oscharko-dev/keiko-cli/dist/memory.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/memory.js +14 -7
- package/node_modules/@oscharko-dev/keiko-cli/dist/portable-launch-notifier.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/portable-launch-notifier.js +30 -7
- package/node_modules/@oscharko-dev/keiko-cli/dist/process-activity-log.d.ts +197 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/process-activity-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/process-activity-log.js +147 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/process-guards.d.ts +3 -2
- package/node_modules/@oscharko-dev/keiko-cli/dist/process-guards.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/process-guards.js +49 -36
- package/node_modules/@oscharko-dev/keiko-cli/dist/prompt-enhancer.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/prompt-enhancer.js +9 -7
- package/node_modules/@oscharko-dev/keiko-cli/dist/repair.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/repair.js +8 -3
- package/node_modules/@oscharko-dev/keiko-cli/dist/run.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/run.js +3 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/runner.js +58 -18
- package/node_modules/@oscharko-dev/keiko-cli/dist/security-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/security-log.js +126 -57
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.js +29 -6
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-analyze-sufficiency.d.ts +52 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-analyze-sufficiency.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-analyze-sufficiency.js +249 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-analyze.d.ts +85 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-analyze.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-analyze.js +498 -56
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.d.ts +12 -8
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.js +147 -99
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.d.ts +50 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.js +317 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.d.ts +80 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.js +462 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-evidence.d.ts +480 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-evidence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-evidence.js +191 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query.d.ts +169 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query.js +709 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-segment-manifest-names.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-segment-manifest-names.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-segment-manifest-names.js +27 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-segment-manifest.d.ts +164 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-segment-manifest.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-segment-manifest.js +688 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-segment-scan.d.ts +78 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-segment-scan.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-segment-scan.js +252 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.d.ts +43 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.js +115 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-tool-catalog.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-tool-catalog.js +118 -4
- package/node_modules/@oscharko-dev/keiko-cli/dist/support.d.ts +21 -2
- package/node_modules/@oscharko-dev/keiko-cli/dist/support.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support.js +885 -177
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-process-stop.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui-process-stop.js +95 -24
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts +13 -4
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/ui.js +364 -109
- package/node_modules/@oscharko-dev/keiko-cli/dist/uninstall.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/uninstall.js +123 -51
- package/node_modules/@oscharko-dev/keiko-cli/package.json +14 -14
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts +6322 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.js +8278 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-files.d.ts +54 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-files.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-files.js +215 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-loss.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-loss.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-loss.js +82 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +50946 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.js +60286 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/code-task-acceptance.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/code-task-acceptance.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/code-task-acceptance.js +1 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.js +15 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts +145 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.js +532 -6
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts +7 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.js +17 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/governed-tool-catalog.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/governed-tool-catalog.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/observability.d.ts +235 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/observability.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/observability.js +743 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-incident.d.ts +216 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-incident.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/support-incident.js +403 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/verification.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/verification.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/verification.js +18 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/dist/model-provider.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/dist/model-provider.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/dist/model-provider.js +1 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/dist/runner.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/dist/runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/dist/runner.js +2 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-git/dist/types.d.ts +20 -0
- package/node_modules/@oscharko-dev/keiko-git/dist/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/embedding-activity-log.d.ts +68 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/embedding-activity-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/embedding-activity-log.js +532 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/embedding-batcher.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/embedding-batcher.js +93 -76
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/orchestrator-activity-log.d.ts +120 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/orchestrator-activity-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/orchestrator-activity-log.js +686 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/orchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/orchestrator.js +150 -207
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/preflight-activity-log.d.ts +36 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/preflight-activity-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/preflight-activity-log.js +264 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/indexing/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/knowledge-log.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/knowledge-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/knowledge-log.js +44 -12
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/repository-pod.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/repository-pod.js +30 -13
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/local-vector-index-port.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/local-vector-index-port.js +25 -6
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/usearch-ann-index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/retrieval/usearch-ann-index.js +46 -10
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store-content-encryption.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store-content-encryption.js +71 -20
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/store.js +54 -17
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/consolidate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/consolidate.js +24 -5
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/log-port.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/log-port.js +35 -12
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/db.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/db.js +25 -7
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/migrate-encrypt.d.ts +4 -2
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/migrate-encrypt.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/migrate-encrypt.js +37 -12
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/schema.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/schema.js +34 -10
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/vault-log.d.ts +3 -2
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/vault-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/vault-log.js +35 -12
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/vault.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/vault.js +24 -6
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.js +408 -40
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.js +237 -61
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/model-selection.js +2 -7
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/observability.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/observability.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/observability.js +72 -12
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.js +75 -17
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.js +514 -122
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prDescription/generate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prDescription/generate.js +313 -92
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts +2 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.js +260 -54
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/speech-to-text-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/speech-to-text-adapter.js +31 -11
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/text-to-speech-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/text-to-speech-adapter.js +147 -21
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/toolCatalogBridge.js +190 -44
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-security/dist/fs-atomic-rename.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/fs-atomic-rename.js +39 -14
- package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.d.ts +107 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/fs-hardening.js +1998 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/index.js +1 -3
- package/node_modules/@oscharko-dev/keiko-security/dist/log-port.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/log-port.js +36 -13
- package/node_modules/@oscharko-dev/keiko-security/dist/macos-keychain.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/macos-keychain.js +31 -15
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/portable-tree-attestation.js +46 -15
- package/node_modules/@oscharko-dev/keiko-security/dist/safe-artifact-directory-mutation-protocol.d.ts +23 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/safe-artifact-directory-mutation-protocol.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/safe-artifact-directory-mutation-protocol.js +11 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/safe-artifact-directory-mutation-runtime.d.ts +9 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/safe-artifact-directory-mutation-runtime.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/safe-artifact-directory-mutation-runtime.js +115 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/safe-artifact-directory-mutation.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/safe-artifact-directory-mutation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/safe-artifact-directory-mutation.js +50 -0
- package/node_modules/@oscharko-dev/keiko-security/dist/secret-vault.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/secret-vault.js +260 -50
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/windows-local-volume.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/windows-local-volume.js +32 -7
- package/node_modules/@oscharko-dev/keiko-security/dist/windows-shortcuts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/windows-shortcuts.js +38 -14
- package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/credentialRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/credentialRoutes.js +47 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/bounded-request-body.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/bounded-request-body.js +160 -37
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.d.ts +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-activity.js +336 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-summary.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-summary.js +28 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts +5 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.js +49 -66
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-stream-handlers.js +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.d.ts +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.js +1202 -50
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.js +98 -35
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/activity-log.d.ts +22 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/activity-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/activity-log.js +83 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/codeContextConnector.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/codeContextConnector.js +10 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/codingRuntimeIssueIntake.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/codingRuntimeIssueIntake.js +45 -23
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubAuthorizationRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubAuthorizationRoutes.js +21 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubCodeContextPort.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubCodeContextPort.js +90 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubIssueReaderAuthorization.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubIssueReaderAuthorization.js +85 -27
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubIssueResolution.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubIssueResolution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubIssueResolution.js +118 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/issuePreviewRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/issuePreviewRoutes.js +53 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingHistoryRoutes.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingHistoryRoutes.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingHistoryRoutes.js +78 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRepositorySearchHandler.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRepositorySearchHandler.js +126 -27
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts +857 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.js +411 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairBudgetStore.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairBudgetStore.js +49 -44
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairBudgetTypes.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairBudgetTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairBudgetTypes.js +17 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.d.ts +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairController.js +38 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.js +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeHistory.d.ts +40 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeHistory.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeHistory.js +372 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeIssueIntake.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeIssueIntake.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeIssueIntake.js +104 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.js +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOperationCoordinator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOperationCoordinator.js +183 -27
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts +12 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.js +963 -223
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.js +123 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeSnapshotStore.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeSnapshotStore.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeSnapshotStore.js +33 -16
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerifiedCommitAuthorityStore.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerifiedCommitAuthorityStore.js +23 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.js +66 -19
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.js +46 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.js +13 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.js +6 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts +8 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.js +130 -31
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLanePortableCodingRuntime.js +3 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.js +54 -47
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.js +13 -16
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.js +56 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeProtocolSurface.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeProtocolSurface.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeProtocolSurface.js +24 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.d.ts +10 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.js +244 -61
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.js +268 -368
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts +5 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.js +15 -44
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2ApprovalRequests.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2ApprovalRequests.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2ApprovalRequests.js +86 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.d.ts +22 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.js +438 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts +30 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.js +251 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2Questions.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2Questions.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2Questions.js +125 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.js +42 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCiRepairRuntime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCiRepairRuntime.js +65 -36
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimePorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimePorts.js +109 -21
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeQuestionPort.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeQuestionPort.js +3 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.js +18 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryDependencies.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryDependencies.js +160 -46
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.js +423 -106
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.js +100 -18
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts +6 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.js +43 -16
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeGitPreparation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeGitPreparation.js +51 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionVerifiedCommitDependencies.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionVerifiedCommitDependencies.js +32 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/readOnlyChildOrchestrator.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/readOnlyChildOrchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/readOnlyChildOrchestrator.js +155 -22
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.js +300 -61
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/windowsPortableAuthenticode.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/windowsPortableAuthenticode.js +30 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.js +250 -62
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.js +45 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/deps-activity.d.ts +40 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/deps-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/deps-activity.js +207 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts +8 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +69 -58
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.js +195 -26
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentProducerRoute.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentProducerRoute.js +113 -17
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.js +7 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/dap/debugLaunchPlan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/dap/debugLaunchPlan.js +35 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/localHistory/localHistoryCapture.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/localHistory/localHistoryCapture.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/localHistory/localHistoryCapture.js +56 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspNodeAdapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspNodeAdapter.js +201 -37
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspProcessManager.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspProcessManager.js +51 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/providers/javaProvider.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/providers/javaProvider.js +78 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.js +55 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationRunner.js +211 -65
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/watch/workspaceWatchRoutes.js +33 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/evidence-retention-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/evidence-retention-log.js +36 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-instance-cache.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-instance-cache.js +97 -22
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts +9 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.js +363 -48
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.js +323 -71
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-spend-budget.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-spend-budget.js +138 -45
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeChatContext.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeChatContext.js +97 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeRoutes.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeRoutes.js +146 -30
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeSnapshotReader.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeSnapshotReader.js +13 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeSnapshotRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeSnapshotRegistry.js +122 -32
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeSnapshotService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeSnapshotService.js +140 -24
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/approvalEvents.d.ts +6 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/approvalEvents.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/approvalEvents.js +192 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciObservationService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciObservationService.js +154 -26
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.js +100 -46
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryChecks.d.ts +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryChecks.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryChecks.js +108 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryChecksRefresh.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryChecksRefresh.js +23 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryFacts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryFacts.js +93 -18
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryLedger.d.ts +28 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryLedger.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryLedger.js +123 -33
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryService.js +33 -33
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTemplate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTemplate.js +97 -24
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftRelatedIssuesActivity.d.ts +150 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftRelatedIssuesActivity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftRelatedIssuesActivity.js +64 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.d.ts +226 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.js +344 -70
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.js +159 -26
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyRoutes.js +238 -59
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/localMutationRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/localMutationRoutes.js +2 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/mergeExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/mergeExecution.js +79 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionPreparation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionPreparation.js +6 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionProjection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionProjection.js +133 -16
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionReceiptStore.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionReceiptStore.js +73 -19
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionRoutes.js +147 -50
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionService.js +4 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionTypes.d.ts +12 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prMarkReadyExecution.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prMarkReadyExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prMarkReadyExecution.js +138 -42
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/repositoryInitializationRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/repositoryInitializationRoutes.js +51 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/requestPreparation.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/requestPreparation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/requestPreparation.js +145 -26
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitRead.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitRead.js +43 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitService.js +122 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/syncRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/syncRoutes.js +4 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitService.js +194 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/gitProcessActivity.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitProcessActivity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitProcessActivity.js +157 -31
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.js +514 -74
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-qa.js +7 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.js +84 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/harness-context-compactor.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/harness-context-compactor.js +30 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/index.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/index.js +20 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-handlers.js +287 -68
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-embedding.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-embedding.js +219 -65
- package/node_modules/@oscharko-dev/keiko-server/dist/native-file-dialog/route.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/native-file-dialog/route.js +30 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-loss-summary.d.ts +233 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-loss-summary.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-loss-summary.js +124 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-persistence.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-persistence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-persistence.js +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-readiness.d.ts +34 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-readiness.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-readiness.js +301 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-store.d.ts +215 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-store.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-store.js +755 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/index.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/index.js +6 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/log-redaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/log-redaction.js +25 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/model-id-evidence.d.ts +17 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/model-id-evidence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/model-id-evidence.js +35 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/runtime-state-dir.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/runtime-state-dir.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/runtime-state-dir.js +23 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/server-log.d.ts +106 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/server-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/server-log.js +2504 -481
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/server-logger.d.ts +38 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/server-logger.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/server-logger.js +187 -39
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/support-incident-store.d.ts +44 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/support-incident-store.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/support-incident-store.js +255 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/support-incident.d.ts +107 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/support-incident.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/support-incident.js +1052 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/process-log-sink.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/process-log-sink.js +66 -17
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/capsuleAdapter.d.ts +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/capsuleAdapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/capsuleAdapter.js +35 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figmaSnapshotRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/figmaSnapshotRoutes.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/handoffRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/handoffRoutes.js +7 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/reCheckRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/reCheckRoutes.js +7 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/runRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/qualityIntelligence/runRoutes.js +7 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/reference-id.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/reference-id.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/reference-id.js +90 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.js +12 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/run-engine.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/run-engine.js +3 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/run-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/run-handlers.js +33 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/server.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/server.js +50 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/sse-write.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/sse-write.js +37 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chats.js +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store/codingHistory.d.ts +36 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/codingHistory.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/codingHistory.js +191 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/codingHistoryIsolation.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/codingHistoryIsolation.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/codingHistoryIsolation.js +44 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.js +61 -37
- package/node_modules/@oscharko-dev/keiko-server/dist/store/journeyOutcomeMigration.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/journeyOutcomeMigration.js +26 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.js +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.js +31 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/transaction.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/transaction.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/transaction.js +19 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts +6 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store-handlers.js +34 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/activity-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/activity-log.js +212 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/workspace-root-access.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/workspace-root-access.js +31 -28
- package/node_modules/@oscharko-dev/keiko-server/dist/terminal-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/terminal-routes.js +6 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolBinder.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolBinder.js +18 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.js +41 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolLifecycle.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolLifecycle.js +401 -17
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolSettlement.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolSettlement.js +1 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/update-candidate-authority.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-candidate-authority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-candidate-authority.js +170 -39
- package/node_modules/@oscharko-dev/keiko-server/dist/update-legacy-audit-import.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-legacy-audit-import.js +94 -66
- package/node_modules/@oscharko-dev/keiko-server/dist/update-local-state.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-local-state.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-local-state.js +70 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-normal-startup.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-normal-startup.js +87 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-sidecar-verification.js +7 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-staging.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-portable-staging.js +4 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-activity.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-activity.js +182 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-portable-assets.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-portable-assets.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-portable-assets.js +5 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-portable-evidence.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-portable-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-portable-evidence.js +21 -47
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-routes.d.ts +5 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-preflight-routes.js +21 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/update-runtime-activity.d.ts +39 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-runtime-activity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-runtime-activity.js +266 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/update-session.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-session.js +138 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/voice-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/voice-handlers.js +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/voice-live-dictation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/voice-live-dictation.js +41 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/voice-realtime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/voice-realtime.js +70 -17
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.d.ts +11 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.js +81 -26
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-script-trust.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-script-trust.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-script-trust.js +135 -37
- package/node_modules/@oscharko-dev/keiko-server/package.json +22 -22
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/dialect.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/dialect.js +4 -6
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.js +30 -70
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/profile.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/profile.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.d.ts +7 -3
- package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/dependencies.js +192 -14
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-verification/dist/orchestrator.js +6 -2
- package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
- package/package.json +29 -26
- package/release-impact.catalog.json +134 -0
- package/scripts/lib/local-state-audit.mjs +94 -0
- package/vendor/oscharko-dev-keiko-cli-1.1.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.0.5.tgz → oscharko-dev-keiko-connectors-1.1.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.1.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-evaluations-1.1.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evidence-1.0.5.tgz → oscharko-dev-keiko-evidence-1.1.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-git-1.1.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.0.5.tgz → oscharko-dev-keiko-harness-1.1.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.1.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.0.5.tgz → oscharko-dev-keiko-memory-capture-1.1.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-memory-consolidation-1.1.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.0.5.tgz → oscharko-dev-keiko-memory-governance-1.1.1.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-1.0.5.tgz → oscharko-dev-keiko-memory-retrieval-1.1.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-memory-vault-1.1.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.1.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.0.5.tgz → oscharko-dev-keiko-quality-intelligence-1.1.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.1.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sdk-1.1.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-security-1.1.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.1.1.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.1.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-tools-1.0.5.tgz → oscharko-dev-keiko-tools-1.1.1.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.1.1.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-workflows-1.0.5.tgz → oscharko-dev-keiko-workflows-1.1.1.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workspace-1.0.5.tgz → oscharko-dev-keiko-workspace-1.1.1.tgz} +0 -0
- package/dist/ui/static/_next/static/chunks/0-tss9mlvjuz4.js +0 -1
- package/dist/ui/static/_next/static/chunks/04lb-38e89aw8.js +0 -1
- package/dist/ui/static/_next/static/chunks/04t-d0js_hvfr.js +0 -1
- package/dist/ui/static/_next/static/chunks/086jxcgou7s_5.js +0 -1
- package/dist/ui/static/_next/static/chunks/08pxrik1lm06d.js +0 -5
- package/dist/ui/static/_next/static/chunks/093r62_9c_psx.js +0 -1
- package/dist/ui/static/_next/static/chunks/0_u5vd-_66bpj.js +0 -1
- package/dist/ui/static/_next/static/chunks/0gsb-naamu9g1.js +0 -1
- package/dist/ui/static/_next/static/chunks/0ix9hk8cnb0as.js +0 -1
- package/dist/ui/static/_next/static/chunks/0n9uef9g17pxd.js +0 -1
- package/dist/ui/static/_next/static/chunks/0o131urxtkbxj.js +0 -1
- package/dist/ui/static/_next/static/chunks/0pac-465ukeam.js +0 -1
- package/dist/ui/static/_next/static/chunks/0qzzopo8q0m1e.js +0 -1
- package/dist/ui/static/_next/static/chunks/0vvfq-eocx502.js +0 -1
- package/dist/ui/static/_next/static/chunks/15wh9-75zvro2.js +0 -1
- package/dist/ui/static/_next/static/chunks/160x2go4zkjhx.js +0 -1
- package/dist/ui/static/_next/static/chunks/17yrtbw7mk5py.css +0 -2
- package/dist/ui/static/_next/static/chunks/1kgbe4la7mty5.js +0 -1
- package/dist/ui/static/_next/static/chunks/1peg9ve597086.js +0 -1
- package/dist/ui/static/_next/static/chunks/1q6j3gd8d86-v.css +0 -2
- package/dist/ui/static/_next/static/chunks/1t_6hc_5pxuqd.js +0 -1
- package/dist/ui/static/_next/static/chunks/1v4mpk8t6w8_7.js +0 -1
- package/dist/ui/static/_next/static/chunks/1yj6x688jjk-a.js +0 -1
- package/dist/ui/static/_next/static/chunks/21djhsnzx069x.js +0 -1
- package/dist/ui/static/_next/static/chunks/23e-psiwdsaxk.js +0 -1
- package/dist/ui/static/_next/static/chunks/289h3-vke8o67.js +0 -1
- package/dist/ui/static/_next/static/chunks/2dxo0g3208ag1.js +0 -1
- package/dist/ui/static/_next/static/chunks/2jadbwshuwe_n.js +0 -1
- package/dist/ui/static/_next/static/chunks/2u9u5i8o6vd-w.js +0 -1
- package/dist/ui/static/_next/static/chunks/2vj6gqk9lh7yv.js +0 -1
- package/dist/ui/static/_next/static/chunks/3-k1y9vbxcms8.js +0 -3
- package/dist/ui/static/_next/static/chunks/3137i2nt475lq.js +0 -1
- package/dist/ui/static/_next/static/chunks/3_jzs5uvplshk.js +0 -1
- package/dist/ui/static/_next/static/chunks/3d-jscai6hb55.js +0 -1
- package/dist/ui/static/_next/static/chunks/3dkw81rui6ry8.js +0 -1
- package/dist/ui/static/_next/static/chunks/3f3ici8rsavir.js +0 -1
- package/dist/ui/static/_next/static/chunks/3f_-h2lm9ml4b.js +0 -1
- package/dist/ui/static/_next/static/chunks/3frfm_q9cqdtg.js +0 -1
- package/dist/ui/static/_next/static/chunks/3irz7sn3e2ix3.js +0 -1
- package/dist/ui/static/_next/static/chunks/3j1p83q4cv4cv.js +0 -1
- package/dist/ui/static/_next/static/chunks/3kgmrssgqwg_h.js +0 -1
- package/dist/ui/static/_next/static/chunks/3lc67g1jowxt_.js +0 -1
- package/dist/ui/static/_next/static/chunks/3pgmij812w0aa.css +0 -1
- package/dist/ui/static/_next/static/chunks/3q3ds5x5j4w7j.js +0 -1
- package/dist/ui/static/_next/static/chunks/3r2v5s5l7jkoj.js +0 -1
- package/dist/ui/static/_next/static/chunks/3w9c58yrtr4oj.js +0 -1
- package/dist/ui/static/_next/static/chunks/3wxm1wke5887n.js +0 -7
- package/dist/ui/static/_next/static/chunks/3ymz8bp4uzhhh.js +0 -1
- package/vendor/oscharko-dev-keiko-cli-1.0.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.0.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-evaluations-1.0.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-git-1.0.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.0.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-consolidation-1.0.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-vault-1.0.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.0.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.0.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sdk-1.0.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-security-1.0.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.0.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.0.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.0.5.tgz +0 -0
- /package/dist/ui/static/_next/static/{IaAMlj5CIiO4E3RPp1TWn → O8nJnzNap09wp0fCD_lk-}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{IaAMlj5CIiO4E3RPp1TWn → O8nJnzNap09wp0fCD_lk-}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{IaAMlj5CIiO4E3RPp1TWn → O8nJnzNap09wp0fCD_lk-}/_ssgManifest.js +0 -0
package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.js
CHANGED
|
@@ -4,26 +4,35 @@ import { chmodSync, existsSync, mkdirSync, readFileSync, rmSync, statSync, write
|
|
|
4
4
|
import {} from "node:http";
|
|
5
5
|
import { join } from "node:path";
|
|
6
6
|
import { DatabaseSync } from "node:sqlite";
|
|
7
|
-
import { contentFreeErrorClass, emitServerDiagnostic, } from "../diagnostics-log.js";
|
|
7
|
+
import { contentFreeErrorClass, describeError, emitServerDiagnostic, } from "../diagnostics-log.js";
|
|
8
8
|
import { isValidCorrelationId } from "../correlation.js";
|
|
9
9
|
import { createCodingRuntimeManager, } from "./codingRuntimeManager.js";
|
|
10
10
|
import { CODING_TOOL_MAX_BODY_BYTES, CODING_TOOL_MAX_IN_FLIGHT, parseCodingToolRequest, } from "./codingToolIpc.js";
|
|
11
|
-
import {
|
|
11
|
+
import { createOpenCodeV2HttpClient, parseOpenCodeV2ChildEndpoint, } from "./opencodeV2HttpClient.js";
|
|
12
|
+
import { createOpenCodeV2HistoryProjection, OpenCodeV2HistoryError } from "./opencodeV2History.js";
|
|
13
|
+
import { recordContextPresentation } from "./codingRuntimeHistory.js";
|
|
14
|
+
import { createOpenCodeV2ApprovalRequests } from "./opencodeV2ApprovalRequests.js";
|
|
15
|
+
import { answerOpenCodeV2Form, projectOpenCodeV2Form, v2FormId } from "./opencodeV2Questions.js";
|
|
12
16
|
import { buildOpenCodeLaunchProfile } from "./opencodeLaunchProfile.js";
|
|
13
|
-
import {
|
|
14
|
-
import { OPENCODE_HISTORY_RESPONSE_MAX_BYTES,
|
|
15
|
-
import {
|
|
16
|
-
import { OPEN_CODE_PROTOCOL_SURFACE_ALGORITHM, projectOpenCodeProtocolSurface, } from "./opencodeProtocolSurface.js";
|
|
17
|
+
import { createGeneratedOpenCodeV2Plugins, createOpenCodeRuntimeAdapter, } from "./opencodeRuntimeAdapter.js";
|
|
18
|
+
import { OPENCODE_HISTORY_RESPONSE_MAX_BYTES, projectOpenCodePermissionRequestId, } from "./opencodeProtocol.js";
|
|
19
|
+
import { OPEN_CODE_V2_PROTOCOL_SURFACE_ALGORITHM, projectOpenCodeV2ProtocolSurface, } from "./opencodeProtocolSurface.js";
|
|
17
20
|
import { OPENCODE_PINNED_VERSION } from "./opencodeToolSchemas.js";
|
|
18
21
|
import { CodingRuntimeQuestionAnswerRejectedError } from "./codingRuntimeQuestionPort.js";
|
|
19
22
|
import { openCodeCatalogSettlementBudgetMs } from "../tool-catalog/catalogToolFacadeBridge.js";
|
|
20
|
-
|
|
23
|
+
function v2Record(value) {
|
|
24
|
+
return typeof value === "object" && value !== null && !Array.isArray(value)
|
|
25
|
+
? value
|
|
26
|
+
: undefined;
|
|
27
|
+
}
|
|
28
|
+
const PINNED_RAW_SCHEMA_SHA256 = "1362671d8cfdcb925b3a9fd61eaa20152e4c587746445a0b03504674b25c88ec";
|
|
21
29
|
const DIGEST = /^[a-f0-9]{64}$/u;
|
|
22
30
|
const ABORT_SETTLEMENT_TIMEOUT_MS = 30_000;
|
|
23
31
|
const INITIAL_TURN_BASELINE_STABILIZATION_MS = 500;
|
|
24
32
|
export function createOpenCodeRuntimeComposition(input) {
|
|
25
|
-
const bridge = createToolBridge(input.capabilities.toolFacadeCapability, input.toolFacade, input.toolBridge, input.safeActivity?.settleTool, input.diagnostics, input.toolFacadeOrigin);
|
|
26
33
|
const runs = new Map();
|
|
34
|
+
const approvals = createOpenCodeV2ApprovalRequests(input.diagnostics);
|
|
35
|
+
const bridge = createToolBridge(input.capabilities.toolFacadeCapability, input.toolFacade, input.toolBridge, input.safeActivity?.settleTool, input.diagnostics, input.toolFacadeOrigin, { approvals, runs });
|
|
27
36
|
const lifecycle = lifecycleAdapter(input, bridge, runs);
|
|
28
37
|
const manager = createCodingRuntimeManager({
|
|
29
38
|
supervisor: input.supervisor,
|
|
@@ -42,16 +51,16 @@ export function createOpenCodeRuntimeComposition(input) {
|
|
|
42
51
|
return {
|
|
43
52
|
manager,
|
|
44
53
|
toolBridge: bridge.publicPort,
|
|
45
|
-
runPort: createRunPort(runs, input.diagnostics),
|
|
54
|
+
runPort: createRunPort(runs, input.diagnostics, input.activityLog, approvals),
|
|
46
55
|
};
|
|
47
56
|
}
|
|
48
|
-
function createRunPort(runs, diagnostics) {
|
|
57
|
+
function createRunPort(runs, diagnostics, activityLog, approvals) {
|
|
49
58
|
const readyRun = (runId) => {
|
|
50
59
|
const run = runs.get(runId);
|
|
51
60
|
return isReadyRun(run) ? run : undefined;
|
|
52
61
|
};
|
|
53
62
|
return {
|
|
54
|
-
submitTask: createSubmitTask(readyRun, diagnostics),
|
|
63
|
+
submitTask: createSubmitTask(readyRun, diagnostics, activityLog),
|
|
55
64
|
abortTask: createAbortTask(readyRun),
|
|
56
65
|
waitForTerminal: async (runId, signal) => {
|
|
57
66
|
const run = readyRun(runId);
|
|
@@ -62,11 +71,11 @@ function createRunPort(runs, diagnostics) {
|
|
|
62
71
|
recordOpenCodeTurnFailure(diagnostics, run, "terminal");
|
|
63
72
|
return outcome;
|
|
64
73
|
},
|
|
65
|
-
replyPermission: createReplyPermission(readyRun, diagnostics),
|
|
66
|
-
...createQuestionRunPort(readyRun),
|
|
74
|
+
replyPermission: createReplyPermission(readyRun, diagnostics, approvals),
|
|
75
|
+
...createQuestionRunPort(readyRun, diagnostics),
|
|
67
76
|
};
|
|
68
77
|
}
|
|
69
|
-
function createSubmitTask(readyRun, diagnostics) {
|
|
78
|
+
function createSubmitTask(readyRun, diagnostics, activityLog) {
|
|
70
79
|
return async (runId, text, initialContext) => {
|
|
71
80
|
const run = readyRun(runId);
|
|
72
81
|
if (run === undefined)
|
|
@@ -76,7 +85,14 @@ function createSubmitTask(readyRun, diagnostics) {
|
|
|
76
85
|
if (!run.runtimeAdapter.armTurn())
|
|
77
86
|
return false;
|
|
78
87
|
try {
|
|
79
|
-
await run.client.
|
|
88
|
+
await run.client.prompt(run.sessionId, initialContext === undefined ? text : `${initialContext}\n\n${text}`, undefined, initialContext === undefined
|
|
89
|
+
? undefined
|
|
90
|
+
: {
|
|
91
|
+
displayText: text,
|
|
92
|
+
hiddenContextSha256: createHash("sha256").update(initialContext).digest("hex"),
|
|
93
|
+
});
|
|
94
|
+
if (initialContext !== undefined)
|
|
95
|
+
recordContextPresentation(activityLog, runId);
|
|
80
96
|
return run.ready;
|
|
81
97
|
}
|
|
82
98
|
catch (error) {
|
|
@@ -86,19 +102,22 @@ function createSubmitTask(readyRun, diagnostics) {
|
|
|
86
102
|
}
|
|
87
103
|
};
|
|
88
104
|
}
|
|
89
|
-
function createReplyPermission(readyRun, diagnostics) {
|
|
105
|
+
function createReplyPermission(readyRun, diagnostics, approvals) {
|
|
90
106
|
return async (runId, requestId, reply) => {
|
|
91
107
|
const run = readyRun(runId);
|
|
92
108
|
if (run === undefined)
|
|
93
109
|
return false;
|
|
110
|
+
if (approvals.resolve(runId, requestId, reply === "once"))
|
|
111
|
+
return run.ready;
|
|
94
112
|
try {
|
|
95
|
-
const owned = (await run.client.
|
|
113
|
+
const owned = (await run.client.permissions()).filter((request) => request.sessionID === run.sessionId &&
|
|
114
|
+
typeof request.id === "string" &&
|
|
96
115
|
projectOpenCodePermissionRequestId(request.id) === requestId);
|
|
97
116
|
const permission = owned[0];
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
117
|
+
if (owned.length !== 1 || typeof permission?.id !== "string")
|
|
118
|
+
return false;
|
|
119
|
+
await run.client.replyPermission(run.sessionId, permission.id, reply);
|
|
120
|
+
return run.ready;
|
|
102
121
|
}
|
|
103
122
|
catch (error) {
|
|
104
123
|
recordOpenCodeTurnFailure(diagnostics, run, "permission", error);
|
|
@@ -162,22 +181,22 @@ function boundedCount(value) {
|
|
|
162
181
|
const OPEN_CODE_MESSAGE_SUMMARY_SQL = `
|
|
163
182
|
SELECT
|
|
164
183
|
COUNT(*) AS total,
|
|
165
|
-
COALESCE(SUM(CASE WHEN
|
|
184
|
+
COALESCE(SUM(CASE WHEN type = 'assistant' THEN 1 ELSE 0 END), 0) AS assistant,
|
|
166
185
|
COALESCE(SUM(CASE WHEN json_extract(data, '$.finish') = 'stop' THEN 1 ELSE 0 END), 0) AS stop,
|
|
167
186
|
COALESCE(SUM(CASE WHEN json_extract(data, '$.finish') = 'tool-calls' THEN 1 ELSE 0 END), 0) AS toolCalls,
|
|
168
187
|
COALESCE(SUM(CASE WHEN json_extract(data, '$.finish') = 'error' THEN 1 ELSE 0 END), 0) AS error,
|
|
169
188
|
COALESCE(SUM(CASE WHEN json_extract(data, '$.finish') = 'length' THEN 1 ELSE 0 END), 0) AS length,
|
|
170
189
|
COALESCE(SUM(CASE WHEN json_extract(data, '$.error.name') IS NOT NULL THEN 1 ELSE 0 END), 0) AS errorName
|
|
171
|
-
FROM
|
|
190
|
+
FROM session_message
|
|
172
191
|
`;
|
|
173
192
|
const OPEN_CODE_PART_SUMMARY_SQL = `
|
|
174
193
|
SELECT
|
|
175
194
|
COUNT(*) AS total,
|
|
176
|
-
COALESCE(SUM(CASE WHEN json_extract(
|
|
177
|
-
COALESCE(SUM(CASE WHEN json_extract(
|
|
178
|
-
COALESCE(SUM(CASE WHEN json_extract(
|
|
179
|
-
COALESCE(SUM(CASE WHEN json_extract(
|
|
180
|
-
FROM part
|
|
195
|
+
COALESCE(SUM(CASE WHEN json_extract(part.value, '$.type') = 'tool' THEN 1 ELSE 0 END), 0) AS tool,
|
|
196
|
+
COALESCE(SUM(CASE WHEN json_extract(part.value, '$.type') = 'text' THEN 1 ELSE 0 END), 0) AS text,
|
|
197
|
+
COALESCE(SUM(CASE WHEN json_extract(part.value, '$.state.status') = 'failed' THEN 1 ELSE 0 END), 0) AS failed,
|
|
198
|
+
COALESCE(SUM(CASE WHEN json_extract(part.value, '$.state.status') = 'completed' THEN 1 ELSE 0 END), 0) AS completed
|
|
199
|
+
FROM session_message AS message, json_each(json_extract(message.data, '$.content')) AS part
|
|
181
200
|
`;
|
|
182
201
|
async function synchronizeTurnBaseline(run) {
|
|
183
202
|
if (!run.initialTurnBaselineStable) {
|
|
@@ -197,11 +216,8 @@ function createAbortTask(readyRun) {
|
|
|
197
216
|
if (run === undefined)
|
|
198
217
|
return false;
|
|
199
218
|
try {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
return false;
|
|
203
|
-
}
|
|
204
|
-
const settled = await fixedSessionIsTerminal(run.client, run.sessionId, AbortSignal.timeout(ABORT_SETTLEMENT_TIMEOUT_MS));
|
|
219
|
+
await run.client.interrupt(run.sessionId);
|
|
220
|
+
const settled = await fixedV2SessionIsTerminal(run.client, run.sessionId, AbortSignal.timeout(ABORT_SETTLEMENT_TIMEOUT_MS));
|
|
205
221
|
if (settled) {
|
|
206
222
|
await run.runtimeAdapter.waitForTerminal(AbortSignal.timeout(ABORT_SETTLEMENT_TIMEOUT_MS));
|
|
207
223
|
}
|
|
@@ -216,17 +232,20 @@ function createAbortTask(readyRun) {
|
|
|
216
232
|
}
|
|
217
233
|
};
|
|
218
234
|
}
|
|
219
|
-
function createQuestionRunPort(readyRun) {
|
|
235
|
+
function createQuestionRunPort(readyRun, diagnostics) {
|
|
220
236
|
return {
|
|
221
237
|
listQuestions: async (runId) => {
|
|
222
238
|
const run = readyRun(runId);
|
|
223
239
|
if (run === undefined)
|
|
224
240
|
return [];
|
|
225
241
|
try {
|
|
226
|
-
return (await run.client.
|
|
242
|
+
return (await run.client.forms())
|
|
243
|
+
.filter((form) => form.sessionID === run.sessionId)
|
|
244
|
+
.map(projectOpenCodeV2Form);
|
|
227
245
|
}
|
|
228
|
-
catch {
|
|
229
|
-
|
|
246
|
+
catch (error) {
|
|
247
|
+
recordOpenCodeTurnFailure(diagnostics, run, "question", error);
|
|
248
|
+
throw error;
|
|
230
249
|
}
|
|
231
250
|
},
|
|
232
251
|
answerQuestion: async (runId, requestId, answers) => {
|
|
@@ -234,31 +253,43 @@ function createQuestionRunPort(readyRun) {
|
|
|
234
253
|
if (run === undefined)
|
|
235
254
|
return false;
|
|
236
255
|
try {
|
|
237
|
-
const
|
|
256
|
+
const formId = v2FormId(requestId);
|
|
257
|
+
const pending = (await run.client.forms()).find((form) => form.id === formId && form.sessionID === run.sessionId);
|
|
238
258
|
if (pending === undefined || !run.ready)
|
|
239
259
|
return false;
|
|
240
|
-
|
|
260
|
+
const question = projectOpenCodeV2Form(pending);
|
|
261
|
+
if (!answersMatchQuestions(question, answers))
|
|
241
262
|
throw new CodingRuntimeQuestionAnswerRejectedError();
|
|
242
|
-
|
|
263
|
+
await run.client.replyForm(run.sessionId, String(pending.id), answerOpenCodeV2Form(pending, answers));
|
|
264
|
+
return run.ready;
|
|
243
265
|
}
|
|
244
266
|
catch (error) {
|
|
245
267
|
if (error instanceof CodingRuntimeQuestionAnswerRejectedError)
|
|
246
268
|
throw error;
|
|
247
|
-
|
|
269
|
+
recordOpenCodeTurnFailure(diagnostics, run, "question", error);
|
|
270
|
+
throw error;
|
|
248
271
|
}
|
|
249
272
|
},
|
|
250
|
-
rejectQuestion:
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
273
|
+
rejectQuestion: createRejectQuestion(readyRun, diagnostics),
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
function createRejectQuestion(readyRun, diagnostics) {
|
|
277
|
+
return async (runId, requestId) => {
|
|
278
|
+
const run = readyRun(runId);
|
|
279
|
+
if (run === undefined)
|
|
280
|
+
return false;
|
|
281
|
+
try {
|
|
282
|
+
const formId = v2FormId(requestId);
|
|
283
|
+
const owned = (await run.client.forms()).some((form) => form.id === formId && form.sessionID === run.sessionId);
|
|
284
|
+
if (!owned || formId === undefined)
|
|
259
285
|
return false;
|
|
260
|
-
|
|
261
|
-
|
|
286
|
+
await run.client.cancelForm(run.sessionId, formId);
|
|
287
|
+
return run.ready;
|
|
288
|
+
}
|
|
289
|
+
catch (error) {
|
|
290
|
+
recordOpenCodeTurnFailure(diagnostics, run, "question", error);
|
|
291
|
+
throw error;
|
|
292
|
+
}
|
|
262
293
|
};
|
|
263
294
|
}
|
|
264
295
|
function answersMatchQuestions(request, answers) {
|
|
@@ -295,6 +326,7 @@ function lifecycleAdapter(input, bridge, runs) {
|
|
|
295
326
|
},
|
|
296
327
|
dispose: async (runId) => {
|
|
297
328
|
input.safeActivity?.clear();
|
|
329
|
+
bridge.approvals.close();
|
|
298
330
|
const run = runs.get(runId);
|
|
299
331
|
if (run === undefined)
|
|
300
332
|
return true;
|
|
@@ -357,14 +389,13 @@ async function materializePrepare(input, bridge, runs, request, runRoot) {
|
|
|
357
389
|
});
|
|
358
390
|
if (!profile.ok)
|
|
359
391
|
throw new Error("profile-invalid");
|
|
360
|
-
const bundle = { ...createGeneratedOpenCodeBundle(), config: profile.configValue };
|
|
361
392
|
const config = profile.config;
|
|
362
|
-
materialize(runRoot, config,
|
|
393
|
+
materialize(runRoot, config, createGeneratedOpenCodeV2Plugins());
|
|
363
394
|
const password = profile.env.OPENCODE_SERVER_PASSWORD;
|
|
364
395
|
if (password === undefined)
|
|
365
396
|
throw new Error("password-missing");
|
|
366
397
|
const configDigest = createHash("sha256").update(config, "utf8").digest("hex");
|
|
367
|
-
runs.set(request.runId, preparedRun(request.runId, runRoot, password, configDigest, request.verification));
|
|
398
|
+
runs.set(request.runId, preparedRun(request.runId, runRoot, request.env.KEIKO_CODING_WORKSPACE_ROOT ?? "", password, configDigest, request.verification));
|
|
368
399
|
return {
|
|
369
400
|
ok: true,
|
|
370
401
|
env: {
|
|
@@ -391,10 +422,11 @@ async function prepare(input, bridge, runs, request) {
|
|
|
391
422
|
return { ok: false, reason: "config-materialization-failed" };
|
|
392
423
|
}
|
|
393
424
|
}
|
|
394
|
-
function preparedRun(runId, runRoot, password, configDigest, verification) {
|
|
425
|
+
function preparedRun(runId, runRoot, workspaceRoot, password, configDigest, verification) {
|
|
395
426
|
return {
|
|
396
427
|
runId,
|
|
397
428
|
runRoot,
|
|
429
|
+
workspaceRoot,
|
|
398
430
|
password,
|
|
399
431
|
configDigest,
|
|
400
432
|
verification,
|
|
@@ -408,22 +440,22 @@ async function handshake(input, bridge, runs, request) {
|
|
|
408
440
|
const run = runs.get(request.runId);
|
|
409
441
|
if (run === undefined)
|
|
410
442
|
return { ok: false, reason: "preparation-missing" };
|
|
443
|
+
run.onPermission = request.onPermission;
|
|
411
444
|
try {
|
|
412
|
-
const
|
|
413
|
-
if (
|
|
445
|
+
const endpoint = parseOpenCodeV2ChildEndpoint(await request.startupOutput.nextLine(request.signal));
|
|
446
|
+
if (endpoint === undefined)
|
|
414
447
|
return { ok: false, reason: "endpoint-invalid" };
|
|
415
|
-
const client =
|
|
416
|
-
endpoint
|
|
448
|
+
const client = createOpenCodeV2HttpClient({
|
|
449
|
+
endpoint,
|
|
417
450
|
password: run.password,
|
|
418
451
|
fetch: input.fetch,
|
|
419
|
-
|
|
420
|
-
eventIdleTimeoutMs: request.timeoutMs,
|
|
452
|
+
timeoutMs: request.timeoutMs,
|
|
421
453
|
});
|
|
422
454
|
const adapter = createOpenCodeRuntimeAdapter({
|
|
423
455
|
correlationId: request.runId,
|
|
424
456
|
contextGeometry: input.contextGeometry,
|
|
425
457
|
...(input.activityLog === undefined ? {} : { activityLog: input.activityLog }),
|
|
426
|
-
readiness:
|
|
458
|
+
readiness: readinessV2Ports(input, bridge, run, client, endpoint, request),
|
|
427
459
|
governedSink: input.governedEventSink,
|
|
428
460
|
...(input.safeActivity
|
|
429
461
|
? {
|
|
@@ -435,8 +467,7 @@ async function handshake(input, bridge, runs, request) {
|
|
|
435
467
|
: {}),
|
|
436
468
|
control: {
|
|
437
469
|
status: async (sessionId, signal) => {
|
|
438
|
-
|
|
439
|
-
return status === undefined || status.type === "idle" ? "terminal" : "activity";
|
|
470
|
+
return (await v2SessionIsTerminal(client, sessionId, signal)) ? "terminal" : "activity";
|
|
440
471
|
},
|
|
441
472
|
},
|
|
442
473
|
safety: {
|
|
@@ -466,11 +497,16 @@ async function handshake(input, bridge, runs, request) {
|
|
|
466
497
|
return { ok: false, reason: "readiness-failed" };
|
|
467
498
|
}
|
|
468
499
|
}
|
|
469
|
-
// eslint-disable-next-line max-lines-per-function --
|
|
470
|
-
function
|
|
471
|
-
let startupRead = false;
|
|
500
|
+
// eslint-disable-next-line max-lines-per-function -- ordered V2 readiness ports bind one attested child.
|
|
501
|
+
function readinessV2Ports(input, bridge, run, client, endpoint, request) {
|
|
472
502
|
let fixedSessionId;
|
|
473
|
-
|
|
503
|
+
let startupRead = false;
|
|
504
|
+
const history = createOpenCodeV2HistoryProjection({
|
|
505
|
+
runId: run.runId,
|
|
506
|
+
activityLog: input.activityLog,
|
|
507
|
+
captureMessages: input.safeActivity?.captureMessages,
|
|
508
|
+
});
|
|
509
|
+
const staged = new Map();
|
|
474
510
|
return {
|
|
475
511
|
verifiedTarget: {
|
|
476
512
|
executable: join(input.portable.resourceRoot, run.verification.executablePath),
|
|
@@ -481,306 +517,168 @@ function readinessPorts(input, bridge, run, client, endpoint, request) {
|
|
|
481
517
|
materialize: () => Promise.resolve(configMaterialized(run.runRoot)),
|
|
482
518
|
startupLine: () => {
|
|
483
519
|
startupRead = true;
|
|
484
|
-
return Promise.resolve(`
|
|
520
|
+
return Promise.resolve(`server listening on ${endpoint}\n`);
|
|
485
521
|
},
|
|
486
|
-
health: (authorization) => authorization === "basic"
|
|
487
|
-
?
|
|
488
|
-
:
|
|
489
|
-
openApiDigest: () =>
|
|
490
|
-
gatewayChallenge: () =>
|
|
522
|
+
health: async (authorization) => authorization === "basic"
|
|
523
|
+
? authenticatedV2Health(client)
|
|
524
|
+
: unauthenticatedV2Health(input.fetch, endpoint, request.signal),
|
|
525
|
+
openApiDigest: async () => projectOpenCodeV2ProtocolSurface(await client.document()).digest,
|
|
526
|
+
gatewayChallenge: () => challengeV2Gateway(input, run, client, fixedSessionId, request, startupRead),
|
|
491
527
|
toolFacadeChallenge: () => challengeToolFacade(input, bridge),
|
|
492
528
|
subscribe: async function* (signal) {
|
|
493
|
-
fixedSessionId = await
|
|
494
|
-
const
|
|
495
|
-
for await (const event of client.events(
|
|
496
|
-
|
|
497
|
-
if (eventType !== "sync") {
|
|
498
|
-
observeLiveQuestion(input, event.data, fixedSessionId);
|
|
499
|
-
observeLivePermission(run, request, event.data, fixedSessionId);
|
|
500
|
-
const control = classifyOpenCodeLiveControl(event.data);
|
|
501
|
-
const fixedControl = control?.sessionId === fixedSessionId ? control : undefined;
|
|
502
|
-
yield {
|
|
503
|
-
requiresHistoryIdentity: false,
|
|
504
|
-
...(fixedControl === undefined ? {} : { control: fixedControl }),
|
|
505
|
-
};
|
|
506
|
-
continue;
|
|
507
|
-
}
|
|
508
|
-
const eventId = event.data.id;
|
|
509
|
-
if (typeof eventId !== "string")
|
|
510
|
-
throw new Error("opencode-event-identity-invalid");
|
|
511
|
-
yield { id: eventId, requiresHistoryIdentity: true };
|
|
529
|
+
fixedSessionId = await createAndEchoV2Session(client, run.workspaceRoot, request.signal);
|
|
530
|
+
const combined = request.signal === undefined ? signal : AbortSignal.any([signal, request.signal]);
|
|
531
|
+
for await (const event of client.events(combined)) {
|
|
532
|
+
yield v2SyncHint(event, fixedSessionId, input.onQuestionObserved);
|
|
512
533
|
}
|
|
513
534
|
},
|
|
514
535
|
history: async (checkpoints, signal) => {
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
536
|
+
if (fixedSessionId === undefined)
|
|
537
|
+
throw new Error("opencode-v2-session-missing");
|
|
538
|
+
let messages = [];
|
|
539
|
+
try {
|
|
540
|
+
messages = await client.messages(fixedSessionId, signal);
|
|
541
|
+
const events = history.project(fixedSessionId, messages, checkpoints[fixedSessionId]);
|
|
542
|
+
staged.clear();
|
|
543
|
+
for (const event of events) {
|
|
544
|
+
const safe = history.takeSignal(event);
|
|
545
|
+
if (safe !== undefined)
|
|
546
|
+
staged.set(`${event.aggregateId}\u0000${String(event.sequence)}`, safe);
|
|
547
|
+
}
|
|
548
|
+
return events;
|
|
549
|
+
}
|
|
550
|
+
catch (error) {
|
|
551
|
+
if (messages.length > 0)
|
|
552
|
+
input.safeActivity?.recordDrops(messages.length);
|
|
553
|
+
recordOpenCodeV2HistoryFailure(input.diagnostics, run.runId, error);
|
|
554
|
+
throw error;
|
|
523
555
|
}
|
|
524
|
-
return parsed.value;
|
|
525
556
|
},
|
|
526
557
|
takeSafeActivity: (identityKey) => {
|
|
527
|
-
const
|
|
528
|
-
|
|
529
|
-
return
|
|
558
|
+
const safe = staged.get(identityKey);
|
|
559
|
+
staged.delete(identityKey);
|
|
560
|
+
return safe;
|
|
530
561
|
},
|
|
531
562
|
clearSafeActivity: () => {
|
|
532
|
-
|
|
563
|
+
staged.clear();
|
|
564
|
+
history.clearSignals();
|
|
533
565
|
},
|
|
534
566
|
sessionEcho: () => Promise.resolve(fixedSessionId ?? ""),
|
|
535
567
|
};
|
|
536
568
|
}
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
return
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
}
|
|
569
|
+
function v2ExecutionState(type) {
|
|
570
|
+
if (type === "session.execution.started")
|
|
571
|
+
return "activity";
|
|
572
|
+
if (type === "session.execution.succeeded" ||
|
|
573
|
+
type === "session.execution.failed" ||
|
|
574
|
+
type === "session.execution.cancelled")
|
|
575
|
+
return "terminal";
|
|
576
|
+
return undefined;
|
|
546
577
|
}
|
|
547
|
-
|
|
548
|
-
const
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
"transport-unclassified";
|
|
561
|
-
const budgetCode = reason === "transport-oversized"
|
|
562
|
-
? `:responseBudgetBytes=${String(OPENCODE_HISTORY_RESPONSE_MAX_BYTES)}`
|
|
563
|
-
: "";
|
|
564
|
-
emitServerDiagnostic(diagnostics, {
|
|
565
|
-
correlationId: runId,
|
|
566
|
-
timestamp: new Date().toISOString(),
|
|
567
|
-
operation: "coding-runtime.handshake",
|
|
568
|
-
source: "opencode.history",
|
|
569
|
-
errorClass: "OpenCodeHistoryFailure",
|
|
570
|
-
message: "runtime-handshake-failed",
|
|
571
|
-
code: `stage=sse-history-reconciliation:reason=${reason}${budgetCode}`,
|
|
572
|
-
});
|
|
578
|
+
function v2SyncHint(event, fixedSessionId, onQuestionObserved) {
|
|
579
|
+
const data = v2Record(event.data);
|
|
580
|
+
if (event.type === "form.created" &&
|
|
581
|
+
typeof event.id === "string" &&
|
|
582
|
+
v2Record(data?.form)?.sessionID === fixedSessionId)
|
|
583
|
+
onQuestionObserved?.(event.id);
|
|
584
|
+
const state = v2ExecutionState(event.type);
|
|
585
|
+
return {
|
|
586
|
+
requiresHistoryIdentity: false,
|
|
587
|
+
...(data?.sessionID === fixedSessionId && state !== undefined
|
|
588
|
+
? { control: { sessionId: fixedSessionId, state } }
|
|
589
|
+
: {}),
|
|
590
|
+
};
|
|
573
591
|
}
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
592
|
+
const KNOWN_V2_HISTORY_FAILURES = new Set([
|
|
593
|
+
"opencode-v2-response-invalid",
|
|
594
|
+
"opencode-v2-envelope-invalid",
|
|
595
|
+
"opencode-v2-history-oversized",
|
|
596
|
+
"opencode-v2-cursor-invalid",
|
|
597
|
+
"opencode-v2-message-time-invalid",
|
|
598
|
+
"opencode-v2-message-id-invalid",
|
|
599
|
+
"opencode-v2-content-invalid",
|
|
600
|
+
"opencode-v2-parent-message-missing",
|
|
601
|
+
"opencode-v2-tool-invalid",
|
|
602
|
+
"opencode-v2-tool-time-invalid",
|
|
603
|
+
"opencode-v2-tool-state-invalid",
|
|
604
|
+
"opencode-v2-plan-invalid",
|
|
605
|
+
"opencode-v2-text-oversized",
|
|
606
|
+
]);
|
|
607
|
+
function v2HistoryFailureReason(error) {
|
|
608
|
+
if (error instanceof OpenCodeV2HistoryError)
|
|
609
|
+
return error.safeCode;
|
|
610
|
+
if (error instanceof Error && error.message === "opencode-v2-response-oversized")
|
|
611
|
+
return `reason=transport-oversized:responseBudgetBytes=${String(OPENCODE_HISTORY_RESPONSE_MAX_BYTES)}`;
|
|
612
|
+
if (error instanceof Error && KNOWN_V2_HISTORY_FAILURES.has(error.message))
|
|
613
|
+
return `reason=${error.message}`;
|
|
614
|
+
return "reason=transport-invalid";
|
|
615
|
+
}
|
|
616
|
+
function recordOpenCodeV2HistoryFailure(diagnostics, runId, error) {
|
|
617
|
+
const reason = v2HistoryFailureReason(error);
|
|
618
|
+
const detail = describeError(error);
|
|
581
619
|
emitServerDiagnostic(diagnostics, {
|
|
582
620
|
correlationId: runId,
|
|
583
621
|
timestamp: new Date().toISOString(),
|
|
584
|
-
operation: "coding-runtime.
|
|
622
|
+
operation: "coding-runtime.history",
|
|
585
623
|
source: "opencode.history",
|
|
586
624
|
errorClass: "OpenCodeHistoryFailure",
|
|
587
|
-
message: "runtime-
|
|
588
|
-
code: `stage=
|
|
625
|
+
message: "runtime-history-failed",
|
|
626
|
+
code: `stage=history:${reason}`,
|
|
627
|
+
...(detail.frames === undefined ? {} : { frames: detail.frames }),
|
|
628
|
+
...(detail.causeChain === undefined ? {} : { causeChain: detail.causeChain }),
|
|
589
629
|
});
|
|
590
630
|
}
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
if (rejection === undefined)
|
|
599
|
-
continue;
|
|
600
|
-
return `part=${rejection.partType}:tool=${rejection.tool}:status=${rejection.status}:partBytes=${String(rejection.partBytes)}:gate=${rejection.gate}`;
|
|
601
|
-
}
|
|
602
|
-
return undefined;
|
|
603
|
-
}
|
|
604
|
-
function structuralNameDigest(value) {
|
|
605
|
-
return createHash("sha256").update(value, "utf8").digest("hex").slice(0, 16);
|
|
606
|
-
}
|
|
607
|
-
function firstUnknownHistoryEventTypeDigest(rows) {
|
|
608
|
-
for (const row of rows) {
|
|
609
|
-
const parsed = parseOpenCodeHistory([row]);
|
|
610
|
-
if (parsed.ok || parsed.reason !== "event-unknown")
|
|
611
|
-
continue;
|
|
612
|
-
if (typeof row !== "object" || row === null || Array.isArray(row))
|
|
613
|
-
return undefined;
|
|
614
|
-
const type = row.type;
|
|
615
|
-
return typeof type === "string" ? structuralNameDigest(type) : undefined;
|
|
616
|
-
}
|
|
617
|
-
return undefined;
|
|
618
|
-
}
|
|
619
|
-
function firstUnknownMessageShape(rows) {
|
|
620
|
-
for (const row of rows) {
|
|
621
|
-
if (parseOpenCodeHistory([row]).ok)
|
|
622
|
-
continue;
|
|
623
|
-
const message = historyMessageInfo(row);
|
|
624
|
-
if (message !== undefined)
|
|
625
|
-
return unknownMessageShape(message);
|
|
626
|
-
}
|
|
627
|
-
return undefined;
|
|
628
|
-
}
|
|
629
|
-
function recordValue(value) {
|
|
630
|
-
return typeof value === "object" && value !== null && !Array.isArray(value)
|
|
631
|
-
? value
|
|
632
|
-
: undefined;
|
|
631
|
+
async function createAndEchoV2Session(client, directory, signal) {
|
|
632
|
+
const created = await client.createSession(directory, signal);
|
|
633
|
+
const id = created.id;
|
|
634
|
+
if (typeof id !== "string" || !/^ses_[A-Za-z0-9_-]{1,251}$/u.test(id))
|
|
635
|
+
return "";
|
|
636
|
+
const sessions = await client.sessions(signal);
|
|
637
|
+
return sessions.length === 1 && sessions[0]?.id === id ? id : "";
|
|
633
638
|
}
|
|
634
|
-
function
|
|
635
|
-
const
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
}
|
|
640
|
-
function historyMessageRole(message) {
|
|
641
|
-
if (message.role === "assistant")
|
|
642
|
-
return "assistant";
|
|
643
|
-
return message.role === "user" ? "user" : "unknown";
|
|
644
|
-
}
|
|
645
|
-
function unknownMessageShape(message) {
|
|
646
|
-
const role = historyMessageRole(message);
|
|
647
|
-
const assistant = role === "assistant";
|
|
648
|
-
const allowed = assistant ? ASSISTANT_MESSAGE_KEYS : USER_MESSAGE_KEYS;
|
|
649
|
-
const required = assistant ? ASSISTANT_MESSAGE_REQUIRED_KEYS : USER_MESSAGE_KEYS;
|
|
650
|
-
const extraKeys = Object.keys(message)
|
|
651
|
-
.filter((key) => !allowed.has(key))
|
|
652
|
-
.sort((left, right) => left.localeCompare(right));
|
|
653
|
-
const firstExtraKey = extraKeys.at(0);
|
|
654
|
-
const missing = [...required].find((key) => !Object.hasOwn(message, key));
|
|
655
|
-
const extraKeyDigest = firstExtraKey === undefined ? "none" : structuralNameDigest(firstExtraKey);
|
|
656
|
-
return `role=${role}:extraCount=${String(extraKeys.length)}:extraKeySha256=${extraKeyDigest}:missing=${missing ?? "none"}`;
|
|
657
|
-
}
|
|
658
|
-
const USER_MESSAGE_KEYS = new Set(["id", "sessionID", "role", "time", "agent", "model"]);
|
|
659
|
-
const ASSISTANT_MESSAGE_REQUIRED_KEYS = new Set([
|
|
660
|
-
"id",
|
|
661
|
-
"sessionID",
|
|
662
|
-
"role",
|
|
663
|
-
"time",
|
|
664
|
-
"parentID",
|
|
665
|
-
"modelID",
|
|
666
|
-
"providerID",
|
|
667
|
-
"mode",
|
|
668
|
-
"agent",
|
|
669
|
-
"path",
|
|
670
|
-
"cost",
|
|
671
|
-
"tokens",
|
|
672
|
-
]);
|
|
673
|
-
const ASSISTANT_MESSAGE_KEYS = new Set([
|
|
674
|
-
...ASSISTANT_MESSAGE_REQUIRED_KEYS,
|
|
675
|
-
"finish",
|
|
676
|
-
"summary",
|
|
677
|
-
"error",
|
|
678
|
-
"structured",
|
|
679
|
-
"variant",
|
|
680
|
-
]);
|
|
681
|
-
const MAX_STAGED_SAFE_ACTIVITY_ITEMS = 2_048;
|
|
682
|
-
const MAX_STAGED_SAFE_ACTIVITY_BYTES = 128 * 1_024;
|
|
683
|
-
const MAX_OBSERVED_PERMISSION_IDS = 256;
|
|
684
|
-
function observeLivePermission(run, request, data, fixedSessionId) {
|
|
685
|
-
if (!isPermissionAskedForSession(data, fixedSessionId))
|
|
686
|
-
return;
|
|
687
|
-
const projected = projectOpenCodePermissionEvent(data, fixedSessionId);
|
|
688
|
-
if (projected === undefined)
|
|
689
|
-
throw new Error("opencode-permission-invalid");
|
|
690
|
-
if (run.observedPermissionIds.has(projected.requestId))
|
|
691
|
-
return;
|
|
692
|
-
if (run.observedPermissionIds.size >= MAX_OBSERVED_PERMISSION_IDS) {
|
|
693
|
-
throw new Error("opencode-permission-limit");
|
|
694
|
-
}
|
|
695
|
-
run.observedPermissionIds.add(projected.requestId);
|
|
696
|
-
request.onPermission(projected);
|
|
639
|
+
async function authenticatedV2Health(client) {
|
|
640
|
+
const info = await client.info();
|
|
641
|
+
return typeof info.version === "string"
|
|
642
|
+
? { status: 200, version: info.version }
|
|
643
|
+
: { status: 500 };
|
|
697
644
|
}
|
|
698
|
-
function
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
return (typeof properties === "object" &&
|
|
706
|
-
properties !== null &&
|
|
707
|
-
!Array.isArray(properties) &&
|
|
708
|
-
properties.sessionID === fixedSessionId);
|
|
709
|
-
}
|
|
710
|
-
function stageSafeActivity(normalized, staged, sink) {
|
|
711
|
-
staged.clear();
|
|
712
|
-
let stagedBytes = 0;
|
|
713
|
-
let dropped = normalized.dropped;
|
|
714
|
-
for (const item of normalized.signals) {
|
|
715
|
-
const itemBytes = Buffer.byteLength(JSON.stringify(item), "utf8");
|
|
716
|
-
if (staged.size >= MAX_STAGED_SAFE_ACTIVITY_ITEMS ||
|
|
717
|
-
stagedBytes + itemBytes > MAX_STAGED_SAFE_ACTIVITY_BYTES) {
|
|
718
|
-
dropped += 1;
|
|
719
|
-
continue;
|
|
720
|
-
}
|
|
721
|
-
staged.set(item.identity, item.signal);
|
|
722
|
-
stagedBytes += itemBytes;
|
|
723
|
-
}
|
|
724
|
-
if (dropped > 0)
|
|
725
|
-
sink?.recordDrops(dropped);
|
|
645
|
+
async function unauthenticatedV2Health(fetchFn, endpoint, signal) {
|
|
646
|
+
const response = await fetchFn(new URL("/api/info", endpoint), {
|
|
647
|
+
method: "GET",
|
|
648
|
+
redirect: "manual",
|
|
649
|
+
...(signal === undefined ? {} : { signal }),
|
|
650
|
+
});
|
|
651
|
+
return { status: response.status };
|
|
726
652
|
}
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
"question.rejected",
|
|
731
|
-
]);
|
|
732
|
-
/**
|
|
733
|
-
* Surfaces the fixed session's live question lifecycle as a content-free identity (#2386).
|
|
734
|
-
* Fails closed: no session binding, foreign sessions, and malformed frames observe nothing.
|
|
735
|
-
*/
|
|
736
|
-
function observeLiveQuestion(input, data, fixedSessionId) {
|
|
737
|
-
if (input.onQuestionObserved === undefined || fixedSessionId.length === 0)
|
|
738
|
-
return;
|
|
739
|
-
if (typeof data.type !== "string" || !LIVE_QUESTION_EVENT_TYPES.has(data.type))
|
|
740
|
-
return;
|
|
741
|
-
if (liveQuestionSession(data.properties) !== fixedSessionId)
|
|
742
|
-
return;
|
|
743
|
-
if (typeof data.id !== "string" || data.id.length === 0)
|
|
744
|
-
return;
|
|
745
|
-
input.onQuestionObserved(`${data.type}\u0000${data.id}`);
|
|
653
|
+
async function v2SessionIsTerminal(client, sessionId, signal) {
|
|
654
|
+
const active = await client.active(signal);
|
|
655
|
+
return !Object.hasOwn(active, sessionId);
|
|
746
656
|
}
|
|
747
|
-
function
|
|
748
|
-
|
|
749
|
-
|
|
657
|
+
async function fixedV2SessionIsTerminal(client, sessionId, signal) {
|
|
658
|
+
while (!signal.aborted) {
|
|
659
|
+
if (await v2SessionIsTerminal(client, sessionId, signal))
|
|
660
|
+
return true;
|
|
661
|
+
if (!(await readinessPollDelay(signal)))
|
|
662
|
+
return false;
|
|
750
663
|
}
|
|
751
|
-
|
|
752
|
-
return typeof sessionId === "string" ? sessionId : undefined;
|
|
753
|
-
}
|
|
754
|
-
async function createAndEchoFixedSession(client, signal) {
|
|
755
|
-
const created = await client.createSession({ signal });
|
|
756
|
-
const createdId = typeof created.id === "string" ? created.id : undefined;
|
|
757
|
-
if (createdId === undefined || !/^ses_[A-Za-z0-9_-]{1,251}$/u.test(createdId))
|
|
758
|
-
return "";
|
|
759
|
-
const sessions = await client.sessions({ signal });
|
|
760
|
-
return sessions.length === 1 && sessions[0]?.id === createdId ? createdId : "";
|
|
664
|
+
return false;
|
|
761
665
|
}
|
|
762
|
-
async function
|
|
666
|
+
async function challengeV2Gateway(input, run, client, sessionId, request, startupRead) {
|
|
763
667
|
const reason = gatewayChallengePrecondition(input, sessionId, startupRead);
|
|
764
|
-
if (reason !== undefined) {
|
|
765
|
-
recordGatewayChallengeFailure(input.diagnostics, run.runId, reason);
|
|
668
|
+
if (reason !== undefined || sessionId === undefined) {
|
|
669
|
+
recordGatewayChallengeFailure(input.diagnostics, run.runId, reason ?? "session-missing");
|
|
766
670
|
return false;
|
|
767
671
|
}
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
const challengeSignal = signal ?? AbortSignal.timeout(timeoutMs);
|
|
771
|
-
const observed = input.gatewayReadiness.waitForObservedRequest(run.runId, challengeSignal);
|
|
672
|
+
const signal = request.signal ?? AbortSignal.timeout(request.timeoutMs);
|
|
673
|
+
const observed = input.gatewayReadiness.waitForObservedRequest(run.runId, signal);
|
|
772
674
|
let verified = false;
|
|
773
675
|
try {
|
|
774
|
-
await client.
|
|
775
|
-
signal: challengeSignal,
|
|
776
|
-
});
|
|
676
|
+
await client.prompt(sessionId, "Keiko runtime readiness handshake.", signal);
|
|
777
677
|
const accepted = await observed;
|
|
778
|
-
await client.
|
|
779
|
-
|
|
780
|
-
verified
|
|
781
|
-
if (!verified) {
|
|
678
|
+
await client.interrupt(sessionId, signal);
|
|
679
|
+
verified = accepted && (await fixedV2SessionIsTerminal(client, sessionId, signal));
|
|
680
|
+
if (!verified)
|
|
782
681
|
recordGatewayChallengeFailure(input.diagnostics, run.runId, "live-verification-failed");
|
|
783
|
-
}
|
|
784
682
|
return verified;
|
|
785
683
|
}
|
|
786
684
|
catch {
|
|
@@ -809,16 +707,6 @@ function recordGatewayChallengeFailure(diagnostics, runId, reason) {
|
|
|
809
707
|
code: `stage=gateway-challenge:reason=${reason}`,
|
|
810
708
|
});
|
|
811
709
|
}
|
|
812
|
-
async function fixedSessionIsTerminal(client, sessionId, signal) {
|
|
813
|
-
while (!signal.aborted) {
|
|
814
|
-
const status = (await client.sessionStatuses({ signal }))[sessionId];
|
|
815
|
-
if (status === undefined || status.type === "idle")
|
|
816
|
-
return true;
|
|
817
|
-
if (!(await readinessPollDelay(signal)))
|
|
818
|
-
return false;
|
|
819
|
-
}
|
|
820
|
-
return false;
|
|
821
|
-
}
|
|
822
710
|
function readinessPollDelay(signal) {
|
|
823
711
|
if (signal.aborted)
|
|
824
712
|
return Promise.resolve(false);
|
|
@@ -861,24 +749,6 @@ async function challengeToolFacade(input, bridge) {
|
|
|
861
749
|
return false;
|
|
862
750
|
}
|
|
863
751
|
}
|
|
864
|
-
async function openApiDigest(client) {
|
|
865
|
-
return projectOpenCodeProtocolSurface(await client.document()).digest;
|
|
866
|
-
}
|
|
867
|
-
async function authenticatedHealth(client) {
|
|
868
|
-
const result = await client.health();
|
|
869
|
-
if (!result.ok || result.value.healthy !== true || typeof result.value.version !== "string") {
|
|
870
|
-
return { status: 500 };
|
|
871
|
-
}
|
|
872
|
-
return { status: 200, version: result.value.version };
|
|
873
|
-
}
|
|
874
|
-
async function unauthenticatedHealth(fetch, endpoint, signal) {
|
|
875
|
-
const response = await fetch(new URL("/global/health", endpoint), {
|
|
876
|
-
method: "GET",
|
|
877
|
-
redirect: "manual",
|
|
878
|
-
...(signal === undefined ? {} : { signal }),
|
|
879
|
-
});
|
|
880
|
-
return { status: response.status };
|
|
881
|
-
}
|
|
882
752
|
function verifiedProtocol(candidate, trusted) {
|
|
883
753
|
return (candidate === trusted &&
|
|
884
754
|
candidate.summary.status === "verified" &&
|
|
@@ -886,7 +756,7 @@ function verifiedProtocol(candidate, trusted) {
|
|
|
886
756
|
candidate.availability.protocolSchemaVerified &&
|
|
887
757
|
candidate.protocolSchemaRawSha256 === PINNED_RAW_SCHEMA_SHA256 &&
|
|
888
758
|
runtimeField(candidate, "protocolHandshakeAlgorithm") ===
|
|
889
|
-
|
|
759
|
+
OPEN_CODE_V2_PROTOCOL_SURFACE_ALGORITHM &&
|
|
890
760
|
DIGEST.test(candidate.protocolHandshakeDigest));
|
|
891
761
|
}
|
|
892
762
|
function runtimeField(value, key) {
|
|
@@ -909,17 +779,17 @@ function createPrivateState(runRoot) {
|
|
|
909
779
|
}
|
|
910
780
|
for (const path of [
|
|
911
781
|
join(runRoot, "config", "opencode"),
|
|
912
|
-
join(runRoot, "config", "opencode", "
|
|
782
|
+
join(runRoot, "config", "opencode", "plugins"),
|
|
913
783
|
]) {
|
|
914
784
|
mkdirSync(path, { recursive: true, mode: 0o700 });
|
|
915
785
|
chmodSync(path, 0o700);
|
|
916
786
|
}
|
|
917
787
|
}
|
|
918
|
-
function materialize(runRoot, config,
|
|
788
|
+
function materialize(runRoot, config, pluginSources) {
|
|
919
789
|
const discoveryRoot = join(runRoot, "config", "opencode");
|
|
920
790
|
writePrivateFile(join(discoveryRoot, "opencode.json"), config);
|
|
921
|
-
for (const [name, source] of Object.entries(
|
|
922
|
-
writePrivateFile(join(discoveryRoot, "
|
|
791
|
+
for (const [name, source] of Object.entries(pluginSources)) {
|
|
792
|
+
writePrivateFile(join(discoveryRoot, "plugins", `${name}.ts`), source);
|
|
923
793
|
}
|
|
924
794
|
}
|
|
925
795
|
function writePrivateFile(path, value) {
|
|
@@ -967,12 +837,13 @@ const CLOSE_ABORT = "tool-bridge-close";
|
|
|
967
837
|
// them changes. A caller that still needs a real HTTP endpoint (the scripted functional harness's
|
|
968
838
|
// fake sidecar) owns its OWN tiny listener wrapping this SAME `handle` -- never a second
|
|
969
839
|
// production path (see opencodeFunctionalHarness/_support.ts).
|
|
970
|
-
function createToolBridge(capability, facade, configuredLimits, settleTool, diagnostics, toolFacadeOrigin) {
|
|
840
|
+
function createToolBridge(capability, facade, configuredLimits, settleTool, diagnostics, toolFacadeOrigin, v2) {
|
|
841
|
+
const { approvals, runs } = v2;
|
|
971
842
|
const limits = normalizeToolBridgeLimits(configuredLimits);
|
|
972
843
|
let listening = false;
|
|
973
844
|
const gate = createToolBridgeAdmissionGate(limits);
|
|
974
845
|
const deps = { capability, facade, settleTool, diagnostics };
|
|
975
|
-
const handle = (request) => handleDirectToolRequest(listening, deps, gate, request);
|
|
846
|
+
const handle = (request) => handleDirectToolRequest(listening, deps, gate, request, approvals, runs);
|
|
976
847
|
const publicPort = {
|
|
977
848
|
get url() {
|
|
978
849
|
return toolFacadeOrigin;
|
|
@@ -982,6 +853,7 @@ function createToolBridge(capability, facade, configuredLimits, settleTool, diag
|
|
|
982
853
|
};
|
|
983
854
|
return {
|
|
984
855
|
publicPort,
|
|
856
|
+
approvals,
|
|
985
857
|
active: () => listening,
|
|
986
858
|
start: () => {
|
|
987
859
|
listening = true;
|
|
@@ -989,22 +861,50 @@ function createToolBridge(capability, facade, configuredLimits, settleTool, diag
|
|
|
989
861
|
},
|
|
990
862
|
close: () => {
|
|
991
863
|
listening = false;
|
|
864
|
+
approvals.close();
|
|
992
865
|
gate.abortAll();
|
|
993
866
|
return Promise.resolve();
|
|
994
867
|
},
|
|
995
868
|
};
|
|
996
869
|
}
|
|
997
|
-
function handleDirectToolRequest(active, deps, gate, input) {
|
|
870
|
+
function handleDirectToolRequest(active, deps, gate, input, approvals, runs) {
|
|
998
871
|
const preflight = preflightToolRequest(active, deps.capability, input.headers, input.body);
|
|
999
872
|
if (preflight.outcome === "rejected") {
|
|
1000
873
|
return Promise.resolve({ status: preflight.status, body: preflight.body });
|
|
1001
874
|
}
|
|
875
|
+
const permission = parseV2PermissionRequest(input.body);
|
|
876
|
+
if (permission !== undefined) {
|
|
877
|
+
return handleV2PermissionRequest(permission, input.signal, approvals, runs);
|
|
878
|
+
}
|
|
1002
879
|
const admission = gate.admit(toolBridgeRequestDeadlineMs(gate.limits.requestDeadlineMs, input.body));
|
|
1003
880
|
if (admission === undefined)
|
|
1004
881
|
return Promise.resolve({ status: 429, body: "" });
|
|
1005
882
|
const detachExternalAbort = bindExternalAbort(input.signal, admission);
|
|
1006
883
|
return executeToolRequest(deps, input.headers, input.body, admission).finally(detachExternalAbort);
|
|
1007
884
|
}
|
|
885
|
+
function parseV2PermissionRequest(body) {
|
|
886
|
+
if (!validJson(body))
|
|
887
|
+
return undefined;
|
|
888
|
+
const parsed = JSON.parse(body);
|
|
889
|
+
const value = v2Record(parsed);
|
|
890
|
+
return value?.action === "permission-request" ? value : undefined;
|
|
891
|
+
}
|
|
892
|
+
async function handleV2PermissionRequest(value, signal, approvals, runs) {
|
|
893
|
+
const run = typeof value.runId === "string" ? runs.get(value.runId) : undefined;
|
|
894
|
+
if (run?.ready !== true ||
|
|
895
|
+
run.sessionId === undefined ||
|
|
896
|
+
run.onPermission === undefined ||
|
|
897
|
+
signal?.aborted === true)
|
|
898
|
+
return { status: 403, body: "" };
|
|
899
|
+
const approved = await approvals.request({
|
|
900
|
+
value,
|
|
901
|
+
runId: run.runId,
|
|
902
|
+
sessionId: run.sessionId,
|
|
903
|
+
onPermission: run.onPermission,
|
|
904
|
+
signal: signal ?? new AbortController().signal,
|
|
905
|
+
});
|
|
906
|
+
return approved ? { status: 200, body: '{"status":"approved"}' } : { status: 403, body: "" };
|
|
907
|
+
}
|
|
1008
908
|
// The route's own disconnect signal (its client going away mid-execution) and the admission
|
|
1009
909
|
// gate's deadline timer settle the SAME in-flight facade call through the one existing abort
|
|
1010
910
|
// path (`executeToolRequest`'s `raceAbort`) -- this is the only place an external signal joins it,
|