@oscharko-dev/keiko 1.0.4 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -1
- package/dist/ui/csp-hashes.json +6 -6
- 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/01_gc9m97_vw5.js +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/0_8kv51rrhcg-.js +1 -0
- package/dist/ui/static/_next/static/chunks/0ahpt93l7-z9f.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/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/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/187yy--dlljjz.js +1 -0
- package/dist/ui/static/_next/static/chunks/1ep9f2fjv7oh7.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/{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/29nzymeooaepv.js +1 -0
- 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-htoy7v6gx51.js +1 -0
- package/dist/ui/static/_next/static/chunks/3-l-8qt163_y6.js +1 -0
- 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/3wwyidrm300kk.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 +50926 -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 +60264 -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 +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.js +1 -0
- 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/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 +404 -116
- 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.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.js +240 -61
- 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 +7 -1
- 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 +194 -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 +5 -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 +220 -39
- 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 +283 -68
- 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 +32 -28
- package/release-impact.catalog.json +126 -0
- package/scripts/lib/local-state-audit.mjs +94 -0
- package/vendor/oscharko-dev-keiko-cli-1.1.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.0.4.tgz → oscharko-dev-keiko-connectors-1.1.0.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.1.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-evaluations-1.1.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evidence-1.0.4.tgz → oscharko-dev-keiko-evidence-1.1.0.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-git-1.1.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.0.4.tgz → oscharko-dev-keiko-harness-1.1.0.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.1.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.0.4.tgz → oscharko-dev-keiko-memory-capture-1.1.0.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-memory-consolidation-1.1.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.0.4.tgz → oscharko-dev-keiko-memory-governance-1.1.0.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-1.0.4.tgz → oscharko-dev-keiko-memory-retrieval-1.1.0.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-memory-vault-1.1.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.1.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.0.4.tgz → oscharko-dev-keiko-quality-intelligence-1.1.0.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.1.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-sdk-1.0.4.tgz → oscharko-dev-keiko-sdk-1.1.0.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-security-1.1.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.1.0.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.1.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-tools-1.0.4.tgz → oscharko-dev-keiko-tools-1.1.0.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.1.0.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-workflows-1.0.4.tgz → oscharko-dev-keiko-workflows-1.1.0.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workspace-1.0.4.tgz → oscharko-dev-keiko-workspace-1.1.0.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.4.tgz +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.0.4.tgz +0 -0
- package/vendor/oscharko-dev-keiko-evaluations-1.0.4.tgz +0 -0
- package/vendor/oscharko-dev-keiko-git-1.0.4.tgz +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.0.4.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-consolidation-1.0.4.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-vault-1.0.4.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.0.4.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.0.4.tgz +0 -0
- package/vendor/oscharko-dev-keiko-security-1.0.4.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.0.4.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.0.4.tgz +0 -0
- package/vendor/oscharko-dev-keiko-verification-1.0.4.tgz +0 -0
- /package/dist/ui/static/_next/static/{t7N9H4GMepHS6cfU2Wj24 → pnaCuBv6v6k-xKyv71Bct}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{t7N9H4GMepHS6cfU2Wj24 → pnaCuBv6v6k-xKyv71Bct}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{t7N9H4GMepHS6cfU2Wj24 → pnaCuBv6v6k-xKyv71Bct}/_ssgManifest.js +0 -0
package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.js
CHANGED
|
@@ -12,12 +12,668 @@ import { CodingRuntimeOperationCoordinator } from "./codingRuntimeOperationCoord
|
|
|
12
12
|
import { auxiliaryEventFacts, CodingRuntimeOrchestratorState, } from "./codingRuntimeOrchestratorState.js";
|
|
13
13
|
import { contentFreeErrorClass, emitServerDiagnostic, serverDiagnosticFromError, describeError, } from "../diagnostics-log.js";
|
|
14
14
|
import { isValidCorrelationId, UNKNOWN_CORRELATION_ID } from "../correlation.js";
|
|
15
|
-
import { errorKindOf } from "../observability/server-log.js";
|
|
16
15
|
import { classifyLaunchRejection, launchRejectionDiagnosticReason } from "./launchFailure.js";
|
|
17
16
|
import { admitCodingRuntimeIssue, } from "./codingRuntimeIssueIntake.js";
|
|
18
17
|
import { renderInitialTurnContext } from "./productionCodingRuntimePorts.js";
|
|
19
18
|
import { codingRuntimeProjectMemoryScopes, composeCodingRuntimeInitialContext, renderCodingRuntimeProjectMemoryContext, } from "./codingRuntimeProjectMemory.js";
|
|
20
19
|
import { WORKBENCH_DESCRIPTION_REASON_STATES, } from "@oscharko-dev/keiko-contracts/runtime/workbench-description-status";
|
|
20
|
+
import { activityLogEvent, defineActivityLogOperation, } from "@oscharko-dev/keiko-contracts/runtime/observability";
|
|
21
|
+
const CODING_RUNTIME_STATE_FIELD = {
|
|
22
|
+
type: "string",
|
|
23
|
+
dataClass: "closed-enum",
|
|
24
|
+
required: true,
|
|
25
|
+
values: [
|
|
26
|
+
"idle",
|
|
27
|
+
"starting",
|
|
28
|
+
"ready",
|
|
29
|
+
"running",
|
|
30
|
+
"paused",
|
|
31
|
+
"awaiting-approval",
|
|
32
|
+
"stopping",
|
|
33
|
+
"succeeded",
|
|
34
|
+
"failed",
|
|
35
|
+
"cancelled",
|
|
36
|
+
"taken-over",
|
|
37
|
+
"recovery-required",
|
|
38
|
+
],
|
|
39
|
+
};
|
|
40
|
+
const CODING_RUNTIME_RUN_FIELDS = {
|
|
41
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
42
|
+
state: CODING_RUNTIME_STATE_FIELD,
|
|
43
|
+
revision: { type: "integer", dataClass: "count", required: true },
|
|
44
|
+
requestedMode: {
|
|
45
|
+
type: "string",
|
|
46
|
+
dataClass: "closed-enum",
|
|
47
|
+
required: true,
|
|
48
|
+
values: ["governed-assist", "supervised-coding", "autonomous-delivery"],
|
|
49
|
+
},
|
|
50
|
+
runtimeSource: {
|
|
51
|
+
type: "string",
|
|
52
|
+
dataClass: "closed-enum",
|
|
53
|
+
required: true,
|
|
54
|
+
values: ["keiko-sidecar", "codex-cli-adapter", "delivery-runner"],
|
|
55
|
+
},
|
|
56
|
+
modelSource: {
|
|
57
|
+
type: "string",
|
|
58
|
+
dataClass: "closed-enum",
|
|
59
|
+
required: true,
|
|
60
|
+
values: [
|
|
61
|
+
"keiko-model-gateway",
|
|
62
|
+
"openai-api-key-through-gateway",
|
|
63
|
+
"chatgpt-codex-subscription-profile",
|
|
64
|
+
],
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
const CODING_RUNTIME_FAILURE_CODE_FIELD = {
|
|
68
|
+
type: "string",
|
|
69
|
+
dataClass: "closed-enum",
|
|
70
|
+
required: false,
|
|
71
|
+
values: [
|
|
72
|
+
"runtime-unavailable",
|
|
73
|
+
"active-run-conflict",
|
|
74
|
+
"invalid-intent",
|
|
75
|
+
"approval-activation-failed",
|
|
76
|
+
"authority-resolution-failed",
|
|
77
|
+
"authority-expired",
|
|
78
|
+
"authority-replayed",
|
|
79
|
+
"task-drift",
|
|
80
|
+
"workspace-drift",
|
|
81
|
+
"project-drift",
|
|
82
|
+
"branch-drift",
|
|
83
|
+
"scope-drift",
|
|
84
|
+
"budget-drift",
|
|
85
|
+
"authority-budget-exceeded",
|
|
86
|
+
"source-drift",
|
|
87
|
+
"runtime-failed",
|
|
88
|
+
"revoked",
|
|
89
|
+
"recovery-required",
|
|
90
|
+
"replay-cap-exhausted",
|
|
91
|
+
"issue-context-unavailable",
|
|
92
|
+
"question-answer-rejected",
|
|
93
|
+
"delivery-not-evidenced",
|
|
94
|
+
],
|
|
95
|
+
};
|
|
96
|
+
const CODING_RUNTIME_OPTIONAL_DIAGNOSTIC_FIELDS = {
|
|
97
|
+
code: { type: "string", dataClass: "opaque-id", required: false, maxLength: 256 },
|
|
98
|
+
gatewayRequestId: {
|
|
99
|
+
type: "string",
|
|
100
|
+
dataClass: "opaque-id",
|
|
101
|
+
required: false,
|
|
102
|
+
maxLength: 128,
|
|
103
|
+
},
|
|
104
|
+
httpStatus: { type: "integer", dataClass: "count", required: false },
|
|
105
|
+
retryAfterMs: { type: "integer", dataClass: "duration", required: false },
|
|
106
|
+
partialPromptTokens: { type: "integer", dataClass: "count", required: false },
|
|
107
|
+
partialCompletionTokens: { type: "integer", dataClass: "count", required: false },
|
|
108
|
+
frames: {
|
|
109
|
+
type: "string-array",
|
|
110
|
+
dataClass: "opaque-id",
|
|
111
|
+
required: false,
|
|
112
|
+
maxLength: 512,
|
|
113
|
+
maxItems: 8,
|
|
114
|
+
},
|
|
115
|
+
causeChain: {
|
|
116
|
+
type: "string-array",
|
|
117
|
+
dataClass: "error-kind",
|
|
118
|
+
required: false,
|
|
119
|
+
maxLength: 128,
|
|
120
|
+
maxItems: 5,
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
const CODING_RUNTIME_RUN_STARTED_OPERATION = defineActivityLogOperation({
|
|
124
|
+
contractKind: "activity-log-operation",
|
|
125
|
+
schemaVersion: 1,
|
|
126
|
+
op: "coding-runtime.run.started",
|
|
127
|
+
category: "process",
|
|
128
|
+
owner: "keiko-server",
|
|
129
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.recordRuntimeRunStarted",
|
|
130
|
+
fields: {
|
|
131
|
+
...CODING_RUNTIME_RUN_FIELDS,
|
|
132
|
+
effectiveMode: {
|
|
133
|
+
type: "string",
|
|
134
|
+
dataClass: "closed-enum",
|
|
135
|
+
required: true,
|
|
136
|
+
values: ["governed-assist", "supervised-coding", "autonomous-delivery"],
|
|
137
|
+
},
|
|
138
|
+
hasPredecessor: { type: "boolean", dataClass: "closed-enum", required: true },
|
|
139
|
+
predecessorSelectionReason: {
|
|
140
|
+
type: "string",
|
|
141
|
+
dataClass: "closed-enum",
|
|
142
|
+
required: true,
|
|
143
|
+
values: [
|
|
144
|
+
"acknowledged-recovery",
|
|
145
|
+
"failed-successor-lineage",
|
|
146
|
+
"historical-local-draft",
|
|
147
|
+
"no-bounded-lineage",
|
|
148
|
+
],
|
|
149
|
+
},
|
|
150
|
+
predecessorRunId: {
|
|
151
|
+
type: "string",
|
|
152
|
+
dataClass: "opaque-id",
|
|
153
|
+
required: false,
|
|
154
|
+
maxLength: 128,
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
causal: "correlation",
|
|
158
|
+
lifecycle: "start",
|
|
159
|
+
analyzerProjection: "timeline",
|
|
160
|
+
failureClasses: ["coding-runtime-run-start"],
|
|
161
|
+
proofIds: ["coding-runtime.run.started.emitted-line"],
|
|
162
|
+
releaseImpact: "patch",
|
|
163
|
+
});
|
|
164
|
+
const CODING_RUNTIME_PROJECT_MEMORY_CONTEXT_OPERATION = defineActivityLogOperation({
|
|
165
|
+
contractKind: "activity-log-operation",
|
|
166
|
+
schemaVersion: 1,
|
|
167
|
+
op: "coding-runtime.project-memory.context",
|
|
168
|
+
category: "process",
|
|
169
|
+
owner: "keiko-server",
|
|
170
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.recordRuntimeProjectMemoryContext",
|
|
171
|
+
fields: {
|
|
172
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
173
|
+
outcome: {
|
|
174
|
+
type: "string",
|
|
175
|
+
dataClass: "closed-enum",
|
|
176
|
+
required: true,
|
|
177
|
+
values: ["disabled", "empty", "failed", "included", "unavailable"],
|
|
178
|
+
},
|
|
179
|
+
includedMemoryCount: { type: "integer", dataClass: "count", required: true },
|
|
180
|
+
scopeKindCount: { type: "integer", dataClass: "count", required: true },
|
|
181
|
+
},
|
|
182
|
+
causal: "correlation",
|
|
183
|
+
lifecycle: "state",
|
|
184
|
+
analyzerProjection: "timeline",
|
|
185
|
+
failureClasses: ["coding-runtime-project-memory"],
|
|
186
|
+
proofIds: ["coding-runtime.project-memory.context.emitted-line"],
|
|
187
|
+
releaseImpact: "patch",
|
|
188
|
+
});
|
|
189
|
+
const CODING_RUNTIME_APPROVAL_WAITING_OPERATION = defineActivityLogOperation({
|
|
190
|
+
contractKind: "activity-log-operation",
|
|
191
|
+
schemaVersion: 1,
|
|
192
|
+
op: "coding-runtime.approval.waiting",
|
|
193
|
+
category: "process",
|
|
194
|
+
owner: "keiko-server",
|
|
195
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.recordRuntimeApprovalWaiting",
|
|
196
|
+
fields: {
|
|
197
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
198
|
+
revision: { type: "integer", dataClass: "count", required: true },
|
|
199
|
+
requestId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
200
|
+
permissionKind: {
|
|
201
|
+
type: "string",
|
|
202
|
+
dataClass: "closed-enum",
|
|
203
|
+
required: true,
|
|
204
|
+
values: [
|
|
205
|
+
"workspace-write",
|
|
206
|
+
"command-execution",
|
|
207
|
+
"network-egress",
|
|
208
|
+
"connector-access",
|
|
209
|
+
"delivery-substrate",
|
|
210
|
+
],
|
|
211
|
+
},
|
|
212
|
+
actionClass: {
|
|
213
|
+
type: "string",
|
|
214
|
+
dataClass: "closed-enum",
|
|
215
|
+
required: true,
|
|
216
|
+
values: [
|
|
217
|
+
"workspace-read",
|
|
218
|
+
"workspace-write",
|
|
219
|
+
"command-execution",
|
|
220
|
+
"verification",
|
|
221
|
+
"connector-access",
|
|
222
|
+
"network-egress",
|
|
223
|
+
"delivery-substrate",
|
|
224
|
+
],
|
|
225
|
+
},
|
|
226
|
+
actionKind: {
|
|
227
|
+
type: "string",
|
|
228
|
+
dataClass: "closed-enum",
|
|
229
|
+
required: false,
|
|
230
|
+
values: [
|
|
231
|
+
"file-edit",
|
|
232
|
+
"git-stage",
|
|
233
|
+
"verification-command",
|
|
234
|
+
"ci-observe",
|
|
235
|
+
"connector-read",
|
|
236
|
+
"research",
|
|
237
|
+
"commit",
|
|
238
|
+
"push",
|
|
239
|
+
"pull-request",
|
|
240
|
+
"merge",
|
|
241
|
+
"connector-write",
|
|
242
|
+
"external-write",
|
|
243
|
+
"system-mutation",
|
|
244
|
+
],
|
|
245
|
+
},
|
|
246
|
+
queuePosition: { type: "integer", dataClass: "count", required: false },
|
|
247
|
+
},
|
|
248
|
+
causal: "correlation",
|
|
249
|
+
lifecycle: "state",
|
|
250
|
+
analyzerProjection: "timeline",
|
|
251
|
+
failureClasses: ["coding-runtime-approval-wait"],
|
|
252
|
+
proofIds: ["coding-runtime.approval.waiting.emitted-line"],
|
|
253
|
+
releaseImpact: "patch",
|
|
254
|
+
});
|
|
255
|
+
const CODING_RUNTIME_RUN_OPERATOR_DECISION_OPERATION = defineActivityLogOperation({
|
|
256
|
+
contractKind: "activity-log-operation",
|
|
257
|
+
schemaVersion: 1,
|
|
258
|
+
op: "coding-runtime.run.operator-decision",
|
|
259
|
+
category: "process",
|
|
260
|
+
owner: "keiko-server",
|
|
261
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.recordRuntimeOperatorDecision",
|
|
262
|
+
fields: {
|
|
263
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
264
|
+
revision: { type: "integer", dataClass: "count", required: true },
|
|
265
|
+
runState: {
|
|
266
|
+
type: "string",
|
|
267
|
+
dataClass: "closed-enum",
|
|
268
|
+
required: true,
|
|
269
|
+
values: [
|
|
270
|
+
"idle",
|
|
271
|
+
"starting",
|
|
272
|
+
"ready",
|
|
273
|
+
"running",
|
|
274
|
+
"paused",
|
|
275
|
+
"awaiting-approval",
|
|
276
|
+
"stopping",
|
|
277
|
+
"succeeded",
|
|
278
|
+
"failed",
|
|
279
|
+
"cancelled",
|
|
280
|
+
"taken-over",
|
|
281
|
+
"recovery-required",
|
|
282
|
+
],
|
|
283
|
+
},
|
|
284
|
+
decision: {
|
|
285
|
+
type: "string",
|
|
286
|
+
dataClass: "closed-enum",
|
|
287
|
+
required: true,
|
|
288
|
+
values: ["workspace-script-trust"],
|
|
289
|
+
},
|
|
290
|
+
state: {
|
|
291
|
+
type: "string",
|
|
292
|
+
dataClass: "closed-enum",
|
|
293
|
+
required: true,
|
|
294
|
+
values: ["waiting", "settled", "not-admissible"],
|
|
295
|
+
},
|
|
296
|
+
outcome: {
|
|
297
|
+
type: "string",
|
|
298
|
+
dataClass: "closed-enum",
|
|
299
|
+
required: false,
|
|
300
|
+
values: ["accepted", "denied", "unavailable", "limit-reached", "stopped"],
|
|
301
|
+
},
|
|
302
|
+
},
|
|
303
|
+
causal: "correlation",
|
|
304
|
+
lifecycle: "state",
|
|
305
|
+
analyzerProjection: "timeline",
|
|
306
|
+
failureClasses: ["coding-runtime-operator-decision"],
|
|
307
|
+
proofIds: ["coding-runtime.run.operator-decision.emitted-line"],
|
|
308
|
+
releaseImpact: "patch",
|
|
309
|
+
});
|
|
310
|
+
const CODING_RUNTIME_EVENT_DROPPED_OPERATION = defineActivityLogOperation({
|
|
311
|
+
contractKind: "activity-log-operation",
|
|
312
|
+
schemaVersion: 1,
|
|
313
|
+
op: "coding-runtime.event.dropped",
|
|
314
|
+
category: "process",
|
|
315
|
+
owner: "keiko-server",
|
|
316
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.recordRuntimeEventDropped",
|
|
317
|
+
fields: {
|
|
318
|
+
eventKind: {
|
|
319
|
+
type: "string",
|
|
320
|
+
dataClass: "closed-enum",
|
|
321
|
+
required: true,
|
|
322
|
+
values: [
|
|
323
|
+
"runtime-started",
|
|
324
|
+
"runtime-stopped",
|
|
325
|
+
"runtime-health",
|
|
326
|
+
"task-submitted",
|
|
327
|
+
"observation-streamed",
|
|
328
|
+
"permission-requested",
|
|
329
|
+
"diff-summarized",
|
|
330
|
+
"verification-summarized",
|
|
331
|
+
"artifact-produced",
|
|
332
|
+
"research-performed",
|
|
333
|
+
"skill-invoked",
|
|
334
|
+
"child-run-started",
|
|
335
|
+
"child-run-completed",
|
|
336
|
+
"operator-decision",
|
|
337
|
+
"failure-redacted",
|
|
338
|
+
],
|
|
339
|
+
},
|
|
340
|
+
eventRunId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
341
|
+
reason: {
|
|
342
|
+
type: "string",
|
|
343
|
+
dataClass: "closed-enum",
|
|
344
|
+
required: true,
|
|
345
|
+
values: ["no-live-run", "run-mismatch"],
|
|
346
|
+
},
|
|
347
|
+
liveRunId: { type: "string", dataClass: "opaque-id", required: false, maxLength: 128 },
|
|
348
|
+
},
|
|
349
|
+
causal: "correlation",
|
|
350
|
+
lifecycle: "failure",
|
|
351
|
+
analyzerProjection: "failure-cluster",
|
|
352
|
+
failureClasses: ["coding-runtime-event-drop"],
|
|
353
|
+
proofIds: ["coding-runtime.event.dropped.emitted-line"],
|
|
354
|
+
releaseImpact: "patch",
|
|
355
|
+
});
|
|
356
|
+
const CODING_RUNTIME_VERIFICATION_SUMMARIZED_OPERATION = defineActivityLogOperation({
|
|
357
|
+
contractKind: "activity-log-operation",
|
|
358
|
+
schemaVersion: 1,
|
|
359
|
+
op: "coding-runtime.verification-summarized",
|
|
360
|
+
category: "process",
|
|
361
|
+
owner: "keiko-server",
|
|
362
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.recordRuntimeVerificationSummary",
|
|
363
|
+
fields: {
|
|
364
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
365
|
+
verificationEventId: {
|
|
366
|
+
type: "string",
|
|
367
|
+
dataClass: "opaque-id",
|
|
368
|
+
required: true,
|
|
369
|
+
maxLength: 128,
|
|
370
|
+
},
|
|
371
|
+
verificationKind: {
|
|
372
|
+
type: "string",
|
|
373
|
+
dataClass: "opaque-id",
|
|
374
|
+
required: true,
|
|
375
|
+
maxLength: 128,
|
|
376
|
+
},
|
|
377
|
+
verificationStatus: {
|
|
378
|
+
type: "string",
|
|
379
|
+
dataClass: "closed-enum",
|
|
380
|
+
required: true,
|
|
381
|
+
values: ["passed", "failed", "partial"],
|
|
382
|
+
},
|
|
383
|
+
passedCount: { type: "integer", dataClass: "count", required: true },
|
|
384
|
+
failedCount: { type: "integer", dataClass: "count", required: true },
|
|
385
|
+
skippedCount: { type: "integer", dataClass: "count", required: true },
|
|
386
|
+
failureLocationCount: { type: "integer", dataClass: "count", required: false },
|
|
387
|
+
failureLocationsTruncated: {
|
|
388
|
+
type: "boolean",
|
|
389
|
+
dataClass: "closed-enum",
|
|
390
|
+
required: false,
|
|
391
|
+
},
|
|
392
|
+
verificationTargetDigest: {
|
|
393
|
+
type: "string",
|
|
394
|
+
dataClass: "digest",
|
|
395
|
+
required: false,
|
|
396
|
+
maxLength: 64,
|
|
397
|
+
},
|
|
398
|
+
},
|
|
399
|
+
causal: "correlation",
|
|
400
|
+
lifecycle: "end",
|
|
401
|
+
analyzerProjection: "timeline",
|
|
402
|
+
failureClasses: ["coding-runtime-verification"],
|
|
403
|
+
proofIds: ["coding-runtime.verification-summarized.emitted-line"],
|
|
404
|
+
releaseImpact: "patch",
|
|
405
|
+
});
|
|
406
|
+
const CODING_RUNTIME_RUN_SETTLED_OPERATION = defineActivityLogOperation({
|
|
407
|
+
contractKind: "activity-log-operation",
|
|
408
|
+
schemaVersion: 1,
|
|
409
|
+
op: "coding-runtime.run.settled",
|
|
410
|
+
category: "process",
|
|
411
|
+
owner: "keiko-server",
|
|
412
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.recordRuntimeRunSettled",
|
|
413
|
+
fields: {
|
|
414
|
+
...CODING_RUNTIME_RUN_FIELDS,
|
|
415
|
+
terminal: { type: "boolean", dataClass: "closed-enum", required: true },
|
|
416
|
+
failureCode: CODING_RUNTIME_FAILURE_CODE_FIELD,
|
|
417
|
+
taskOutcomeStatus: {
|
|
418
|
+
type: "string",
|
|
419
|
+
dataClass: "closed-enum",
|
|
420
|
+
required: false,
|
|
421
|
+
values: ["cancelled", "failed", "signalled", "succeeded"],
|
|
422
|
+
},
|
|
423
|
+
exitCode: { type: "integer", dataClass: "count", required: false },
|
|
424
|
+
outputByteCount: { type: "integer", dataClass: "count", required: false },
|
|
425
|
+
outputLineCount: { type: "integer", dataClass: "count", required: false },
|
|
426
|
+
outputDigest: { type: "string", dataClass: "digest", required: false, maxLength: 64 },
|
|
427
|
+
outputTruncated: { type: "boolean", dataClass: "closed-enum", required: false },
|
|
428
|
+
diagnosticByteCount: { type: "integer", dataClass: "count", required: false },
|
|
429
|
+
diagnosticLineCount: { type: "integer", dataClass: "count", required: false },
|
|
430
|
+
diagnosticDigest: { type: "string", dataClass: "digest", required: false, maxLength: 64 },
|
|
431
|
+
diagnosticTruncated: { type: "boolean", dataClass: "closed-enum", required: false },
|
|
432
|
+
},
|
|
433
|
+
causal: "correlation",
|
|
434
|
+
lifecycle: "end",
|
|
435
|
+
analyzerProjection: "timeline",
|
|
436
|
+
failureClasses: ["coding-runtime-run-settlement"],
|
|
437
|
+
proofIds: ["coding-runtime.run.settled.emitted-line"],
|
|
438
|
+
releaseImpact: "patch",
|
|
439
|
+
});
|
|
440
|
+
const CODING_RUNTIME_RECOVERY_ACKNOWLEDGED_OPERATION = defineActivityLogOperation({
|
|
441
|
+
contractKind: "activity-log-operation",
|
|
442
|
+
schemaVersion: 1,
|
|
443
|
+
op: "coding-runtime.run.recovery-acknowledged",
|
|
444
|
+
category: "process",
|
|
445
|
+
owner: "keiko-server",
|
|
446
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.acknowledgeRecovery",
|
|
447
|
+
fields: {
|
|
448
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
449
|
+
revision: { type: "integer", dataClass: "count", required: true },
|
|
450
|
+
},
|
|
451
|
+
causal: "correlation",
|
|
452
|
+
lifecycle: "state",
|
|
453
|
+
analyzerProjection: "timeline",
|
|
454
|
+
failureClasses: ["coding-runtime-recovery-acknowledgement"],
|
|
455
|
+
proofIds: ["coding-runtime.run.recovery-acknowledged.emitted-line"],
|
|
456
|
+
releaseImpact: "patch",
|
|
457
|
+
});
|
|
458
|
+
const CODING_RUNTIME_DELIVERY_EVIDENCE_UNREADABLE_OPERATION = defineActivityLogOperation({
|
|
459
|
+
contractKind: "activity-log-operation",
|
|
460
|
+
schemaVersion: 1,
|
|
461
|
+
op: "coding-runtime.run.delivery-evidence-unreadable",
|
|
462
|
+
category: "process",
|
|
463
|
+
owner: "keiko-server",
|
|
464
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.recordDeliveryEvidenceUnreadable",
|
|
465
|
+
fields: {
|
|
466
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
467
|
+
issueNumber: { type: "integer", dataClass: "count", required: false },
|
|
468
|
+
errorClass: { type: "string", dataClass: "error-kind", required: true, maxLength: 64 },
|
|
469
|
+
...CODING_RUNTIME_OPTIONAL_DIAGNOSTIC_FIELDS,
|
|
470
|
+
},
|
|
471
|
+
causal: "correlation",
|
|
472
|
+
lifecycle: "failure",
|
|
473
|
+
analyzerProjection: "failure-cluster",
|
|
474
|
+
failureClasses: ["coding-runtime-delivery-evidence"],
|
|
475
|
+
proofIds: ["coding-runtime.run.delivery-evidence-unreadable.emitted-line"],
|
|
476
|
+
releaseImpact: "patch",
|
|
477
|
+
});
|
|
478
|
+
const CODING_RUNTIME_DELIVERY_CONTINUED_OPERATION = defineActivityLogOperation({
|
|
479
|
+
contractKind: "activity-log-operation",
|
|
480
|
+
schemaVersion: 1,
|
|
481
|
+
op: "coding-runtime.run.delivery-continued",
|
|
482
|
+
category: "process",
|
|
483
|
+
owner: "keiko-server",
|
|
484
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.recordDeliveryContinued",
|
|
485
|
+
fields: {
|
|
486
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
487
|
+
issueNumber: { type: "integer", dataClass: "count", required: false },
|
|
488
|
+
attempt: { type: "integer", dataClass: "count", required: true },
|
|
489
|
+
max: { type: "integer", dataClass: "count", required: true },
|
|
490
|
+
},
|
|
491
|
+
causal: "correlation",
|
|
492
|
+
lifecycle: "state",
|
|
493
|
+
analyzerProjection: "timeline",
|
|
494
|
+
failureClasses: ["coding-runtime-delivery-continuation"],
|
|
495
|
+
proofIds: ["coding-runtime.run.delivery-continued.emitted-line"],
|
|
496
|
+
releaseImpact: "patch",
|
|
497
|
+
});
|
|
498
|
+
const CODING_RUNTIME_DELIVERY_CONTINUATION_REFUSED_OPERATION = defineActivityLogOperation({
|
|
499
|
+
contractKind: "activity-log-operation",
|
|
500
|
+
schemaVersion: 1,
|
|
501
|
+
op: "coding-runtime.run.delivery-continuation-refused",
|
|
502
|
+
category: "process",
|
|
503
|
+
owner: "keiko-server",
|
|
504
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.recordDeliveryContinuationRefused",
|
|
505
|
+
fields: {
|
|
506
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
507
|
+
issueNumber: { type: "integer", dataClass: "count", required: false },
|
|
508
|
+
attempt: { type: "integer", dataClass: "count", required: true },
|
|
509
|
+
max: { type: "integer", dataClass: "count", required: true },
|
|
510
|
+
reason: {
|
|
511
|
+
type: "string",
|
|
512
|
+
dataClass: "closed-enum",
|
|
513
|
+
required: true,
|
|
514
|
+
values: ["dispatch-threw", "dispatch-refused", "evidence-unreadable", "run-superseded"],
|
|
515
|
+
},
|
|
516
|
+
errorClass: { type: "string", dataClass: "error-kind", required: false, maxLength: 64 },
|
|
517
|
+
...CODING_RUNTIME_OPTIONAL_DIAGNOSTIC_FIELDS,
|
|
518
|
+
},
|
|
519
|
+
causal: "correlation",
|
|
520
|
+
lifecycle: "failure",
|
|
521
|
+
analyzerProjection: "failure-cluster",
|
|
522
|
+
failureClasses: ["coding-runtime-delivery-continuation"],
|
|
523
|
+
proofIds: ["coding-runtime.run.delivery-continuation-refused.emitted-line"],
|
|
524
|
+
releaseImpact: "patch",
|
|
525
|
+
});
|
|
526
|
+
const CODING_RUNTIME_DELIVERY_UNEVIDENCED_OPERATION = defineActivityLogOperation({
|
|
527
|
+
contractKind: "activity-log-operation",
|
|
528
|
+
schemaVersion: 1,
|
|
529
|
+
op: "coding-runtime.run.delivery-unevidenced",
|
|
530
|
+
category: "process",
|
|
531
|
+
owner: "keiko-server",
|
|
532
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.deliveryTruthfulOutcome",
|
|
533
|
+
fields: {
|
|
534
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
535
|
+
issueNumber: { type: "integer", dataClass: "count", required: true },
|
|
536
|
+
hasVerifiedCommit: { type: "boolean", dataClass: "closed-enum", required: true },
|
|
537
|
+
hasDraftDelivery: { type: "boolean", dataClass: "closed-enum", required: true },
|
|
538
|
+
reportedOutcome: {
|
|
539
|
+
type: "string",
|
|
540
|
+
dataClass: "closed-enum",
|
|
541
|
+
required: true,
|
|
542
|
+
values: ["succeeded"],
|
|
543
|
+
},
|
|
544
|
+
continuations: { type: "integer", dataClass: "count", required: true },
|
|
545
|
+
},
|
|
546
|
+
causal: "correlation",
|
|
547
|
+
lifecycle: "failure",
|
|
548
|
+
analyzerProjection: "failure-cluster",
|
|
549
|
+
failureClasses: ["coding-runtime-delivery-evidence"],
|
|
550
|
+
proofIds: ["coding-runtime.run.delivery-unevidenced.emitted-line"],
|
|
551
|
+
releaseImpact: "patch",
|
|
552
|
+
});
|
|
553
|
+
const CODING_RUNTIME_RUN_SHUTDOWN_OPERATION = defineActivityLogOperation({
|
|
554
|
+
contractKind: "activity-log-operation",
|
|
555
|
+
schemaVersion: 1,
|
|
556
|
+
op: "coding-runtime.run.shutdown",
|
|
557
|
+
category: "process",
|
|
558
|
+
owner: "keiko-server",
|
|
559
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.shutdown",
|
|
560
|
+
fields: {
|
|
561
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
562
|
+
stateBefore: CODING_RUNTIME_STATE_FIELD,
|
|
563
|
+
revision: { type: "integer", dataClass: "count", required: true },
|
|
564
|
+
reason: {
|
|
565
|
+
type: "string",
|
|
566
|
+
dataClass: "closed-enum",
|
|
567
|
+
required: true,
|
|
568
|
+
values: ["server-shutdown"],
|
|
569
|
+
},
|
|
570
|
+
outcome: {
|
|
571
|
+
type: "string",
|
|
572
|
+
dataClass: "closed-enum",
|
|
573
|
+
required: true,
|
|
574
|
+
values: ["ended", "refused"],
|
|
575
|
+
},
|
|
576
|
+
failureCode: CODING_RUNTIME_FAILURE_CODE_FIELD,
|
|
577
|
+
},
|
|
578
|
+
causal: "correlation",
|
|
579
|
+
lifecycle: "end",
|
|
580
|
+
analyzerProjection: "timeline",
|
|
581
|
+
failureClasses: ["coding-runtime-shutdown"],
|
|
582
|
+
proofIds: ["coding-runtime.run.shutdown.emitted-line"],
|
|
583
|
+
releaseImpact: "patch",
|
|
584
|
+
});
|
|
585
|
+
const CODING_RUNTIME_ISSUE_CONTEXT_ATTACHED_OPERATION = defineActivityLogOperation({
|
|
586
|
+
contractKind: "activity-log-operation",
|
|
587
|
+
schemaVersion: 1,
|
|
588
|
+
op: "coding-runtime.run.issue-context-attached",
|
|
589
|
+
category: "process",
|
|
590
|
+
owner: "keiko-server",
|
|
591
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.startFresh",
|
|
592
|
+
fields: {
|
|
593
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
594
|
+
issueNumber: { type: "integer", dataClass: "count", required: true },
|
|
595
|
+
itemCount: { type: "integer", dataClass: "count", required: true },
|
|
596
|
+
linkedIssueCount: { type: "integer", dataClass: "count", required: true },
|
|
597
|
+
byteCount: { type: "integer", dataClass: "count", required: true },
|
|
598
|
+
issuePurpose: {
|
|
599
|
+
type: "string",
|
|
600
|
+
dataClass: "closed-enum",
|
|
601
|
+
required: true,
|
|
602
|
+
values: ["context", "delivery"],
|
|
603
|
+
},
|
|
604
|
+
},
|
|
605
|
+
causal: "correlation",
|
|
606
|
+
lifecycle: "state",
|
|
607
|
+
analyzerProjection: "timeline",
|
|
608
|
+
failureClasses: ["coding-runtime-issue-context"],
|
|
609
|
+
proofIds: ["coding-runtime.run.issue-context-attached.emitted-line"],
|
|
610
|
+
releaseImpact: "patch",
|
|
611
|
+
});
|
|
612
|
+
function issuePurposeOf(request) {
|
|
613
|
+
return request.issuePurpose ?? "delivery";
|
|
614
|
+
}
|
|
615
|
+
const CODING_RUNTIME_DESCRIPTION_OPERATION = defineActivityLogOperation({
|
|
616
|
+
contractKind: "activity-log-operation",
|
|
617
|
+
schemaVersion: 1,
|
|
618
|
+
op: "coding-runtime.description",
|
|
619
|
+
category: "process",
|
|
620
|
+
owner: "keiko-server",
|
|
621
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.logDescriptionEvent",
|
|
622
|
+
fields: {
|
|
623
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
624
|
+
remoteDigest: { type: "string", dataClass: "digest", required: false, maxLength: 64 },
|
|
625
|
+
event: {
|
|
626
|
+
type: "string",
|
|
627
|
+
dataClass: "closed-enum",
|
|
628
|
+
required: true,
|
|
629
|
+
values: [
|
|
630
|
+
"dispatched",
|
|
631
|
+
"coalesced",
|
|
632
|
+
"superseded",
|
|
633
|
+
"blocked",
|
|
634
|
+
"generated",
|
|
635
|
+
"failed",
|
|
636
|
+
"stale",
|
|
637
|
+
"reviewed",
|
|
638
|
+
],
|
|
639
|
+
},
|
|
640
|
+
generationVersion: { type: "integer", dataClass: "count", required: false },
|
|
641
|
+
reason: {
|
|
642
|
+
type: "string",
|
|
643
|
+
dataClass: "closed-enum",
|
|
644
|
+
required: false,
|
|
645
|
+
values: [
|
|
646
|
+
"generated",
|
|
647
|
+
"partial-generated",
|
|
648
|
+
"fallback-generated",
|
|
649
|
+
"fallback-output-refused",
|
|
650
|
+
"stale-snapshot",
|
|
651
|
+
"expired",
|
|
652
|
+
"authority-expired",
|
|
653
|
+
"model-egress-denied",
|
|
654
|
+
"budget-exhausted",
|
|
655
|
+
"generation-unavailable",
|
|
656
|
+
"interrupted",
|
|
657
|
+
"provider-failed",
|
|
658
|
+
],
|
|
659
|
+
},
|
|
660
|
+
proposalRetained: { type: "boolean", dataClass: "closed-enum", required: false },
|
|
661
|
+
errorClass: { type: "string", dataClass: "error-kind", required: false, maxLength: 64 },
|
|
662
|
+
...CODING_RUNTIME_OPTIONAL_DIAGNOSTIC_FIELDS,
|
|
663
|
+
generationBindingDigest: {
|
|
664
|
+
type: "string",
|
|
665
|
+
dataClass: "digest",
|
|
666
|
+
required: false,
|
|
667
|
+
maxLength: 64,
|
|
668
|
+
},
|
|
669
|
+
},
|
|
670
|
+
causal: "correlation",
|
|
671
|
+
lifecycle: "state",
|
|
672
|
+
analyzerProjection: "timeline",
|
|
673
|
+
failureClasses: ["coding-runtime-description-generation"],
|
|
674
|
+
proofIds: ["coding-runtime.description.emitted-line"],
|
|
675
|
+
releaseImpact: "patch",
|
|
676
|
+
});
|
|
21
677
|
function descriptionGenerationBinding(snapshot) {
|
|
22
678
|
return {
|
|
23
679
|
taskDigest: snapshot.taskDigest,
|
|
@@ -110,10 +766,10 @@ function recordRuntimeStartFailure(diagnostics, runId, reason, error) {
|
|
|
110
766
|
emitServerDiagnostic(diagnostics, {
|
|
111
767
|
correlationId: runtimeDiagnosticCorrelationId(runId),
|
|
112
768
|
timestamp: new Date().toISOString(),
|
|
113
|
-
operation: "coding-runtime.start",
|
|
769
|
+
operation: reason === "history-initialization" ? "coding-runtime.history" : "coding-runtime.start",
|
|
114
770
|
source: "coding-runtime-orchestrator.start",
|
|
115
|
-
|
|
116
|
-
message: "runtime-start-failed",
|
|
771
|
+
...(error === undefined ? { errorClass: "CodingRuntimeStartFailure" } : describeError(error)),
|
|
772
|
+
message: reason === "history-initialization" ? "runtime-history-failed" : "runtime-start-failed",
|
|
117
773
|
code: launchReason === undefined ? diagnosticCode : `${diagnosticCode}:${launchReason}`,
|
|
118
774
|
});
|
|
119
775
|
}
|
|
@@ -138,39 +794,27 @@ function recordRuntimeStopFailure(diagnostics, runId, error) {
|
|
|
138
794
|
}));
|
|
139
795
|
}
|
|
140
796
|
function recordRuntimeRunStarted(activityLog, snapshot, effectiveMode, predecessorSelectionReason) {
|
|
141
|
-
activityLog?.write({
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
...(snapshot.predecessorRunId === undefined
|
|
156
|
-
? {}
|
|
157
|
-
: { predecessorRunId: snapshot.predecessorRunId }),
|
|
158
|
-
},
|
|
159
|
-
});
|
|
797
|
+
activityLog?.write(activityLogEvent(CODING_RUNTIME_RUN_STARTED_OPERATION, { correlationId: runtimeDiagnosticCorrelationId(snapshot.runId) }, {
|
|
798
|
+
runId: snapshot.runId,
|
|
799
|
+
state: snapshot.state,
|
|
800
|
+
revision: snapshot.revision,
|
|
801
|
+
requestedMode: snapshot.requestedMode,
|
|
802
|
+
effectiveMode,
|
|
803
|
+
runtimeSource: snapshot.runtimeSource,
|
|
804
|
+
modelSource: snapshot.modelSource,
|
|
805
|
+
hasPredecessor: snapshot.predecessorRunId !== undefined,
|
|
806
|
+
predecessorSelectionReason,
|
|
807
|
+
...(snapshot.predecessorRunId === undefined
|
|
808
|
+
? {}
|
|
809
|
+
: { predecessorRunId: snapshot.predecessorRunId }),
|
|
810
|
+
}));
|
|
160
811
|
}
|
|
161
812
|
function recordRuntimeProjectMemoryContext(activityLog, runId, outcome, includedMemoryCount = 0) {
|
|
162
|
-
activityLog?.write({
|
|
813
|
+
activityLog?.write(activityLogEvent(CODING_RUNTIME_PROJECT_MEMORY_CONTEXT_OPERATION, {
|
|
163
814
|
level: outcome === "failed" ? "warn" : "info",
|
|
164
|
-
category: "process",
|
|
165
|
-
op: "coding-runtime.project-memory.context",
|
|
166
815
|
correlationId: runtimeDiagnosticCorrelationId(runId),
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
outcome,
|
|
170
|
-
includedMemoryCount,
|
|
171
|
-
scopeKindCount: 2,
|
|
172
|
-
},
|
|
173
|
-
});
|
|
816
|
+
...(outcome === "failed" ? { errorKind: "unavailable" } : {}),
|
|
817
|
+
}, { runId, outcome, includedMemoryCount, scopeKindCount: 2 }));
|
|
174
818
|
}
|
|
175
819
|
function recordRuntimeProjectMemoryFailure(diagnostics, runId, error) {
|
|
176
820
|
emitServerDiagnostic(diagnostics, {
|
|
@@ -197,20 +841,15 @@ function isAcknowledgedDraftLineage(lineage) {
|
|
|
197
841
|
lineage.snapshot.recoveryAcknowledgedAt !== undefined);
|
|
198
842
|
}
|
|
199
843
|
function recordRuntimeApprovalWaiting(activityLog, runId, revision, permission, queuePosition) {
|
|
200
|
-
activityLog?.write({
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
actionClass: permission.actionClass,
|
|
210
|
-
actionKind: permission.actionKind,
|
|
211
|
-
...(queuePosition === undefined ? {} : { queuePosition }),
|
|
212
|
-
},
|
|
213
|
-
});
|
|
844
|
+
activityLog?.write(activityLogEvent(CODING_RUNTIME_APPROVAL_WAITING_OPERATION, { correlationId: runtimeDiagnosticCorrelationId(runId) }, {
|
|
845
|
+
runId,
|
|
846
|
+
revision,
|
|
847
|
+
requestId: permission.requestId,
|
|
848
|
+
permissionKind: permission.kind,
|
|
849
|
+
actionClass: permission.actionClass,
|
|
850
|
+
...(permission.actionKind === undefined ? {} : { actionKind: permission.actionKind }),
|
|
851
|
+
...(queuePosition === undefined ? {} : { queuePosition }),
|
|
852
|
+
}));
|
|
214
853
|
}
|
|
215
854
|
/**
|
|
216
855
|
* The run's own record that a human decision is outstanding, and that it settled. This is what a
|
|
@@ -219,20 +858,18 @@ function recordRuntimeApprovalWaiting(activityLog, runId, revision, permission,
|
|
|
219
858
|
* `coding-runtime.operator-decision` line from its side; the two share the run's correlation id.
|
|
220
859
|
*/
|
|
221
860
|
function recordRuntimeOperatorDecision(activityLog, snapshot, decision, state, outcome) {
|
|
222
|
-
activityLog?.write({
|
|
861
|
+
activityLog?.write(activityLogEvent(CODING_RUNTIME_RUN_OPERATOR_DECISION_OPERATION, {
|
|
223
862
|
level: state === "not-admissible" ? "warn" : "info",
|
|
224
|
-
category: "process",
|
|
225
|
-
op: "coding-runtime.run.operator-decision",
|
|
226
863
|
correlationId: runtimeDiagnosticCorrelationId(snapshot.runId),
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
},
|
|
235
|
-
});
|
|
864
|
+
...(state === "not-admissible" ? { errorKind: "permission-denied" } : {}),
|
|
865
|
+
}, {
|
|
866
|
+
runId: snapshot.runId,
|
|
867
|
+
revision: snapshot.revision,
|
|
868
|
+
runState: snapshot.state,
|
|
869
|
+
decision,
|
|
870
|
+
state,
|
|
871
|
+
...(outcome === undefined ? {} : { outcome }),
|
|
872
|
+
}));
|
|
236
873
|
}
|
|
237
874
|
/**
|
|
238
875
|
* A runtime event that names a run other than the live one is refused here, and used to be refused
|
|
@@ -241,57 +878,78 @@ function recordRuntimeOperatorDecision(activityLog, snapshot, decision, state, o
|
|
|
241
878
|
* carries the event's kind and both ids — identifiers, not content.
|
|
242
879
|
*/
|
|
243
880
|
function recordRuntimeEventDropped(activityLog, event, current) {
|
|
244
|
-
activityLog?.write({
|
|
881
|
+
activityLog?.write(activityLogEvent(CODING_RUNTIME_EVENT_DROPPED_OPERATION, {
|
|
245
882
|
level: "warn",
|
|
246
|
-
category: "process",
|
|
247
|
-
op: "coding-runtime.event.dropped",
|
|
248
883
|
correlationId: runtimeDiagnosticCorrelationId(event.runId),
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
},
|
|
255
|
-
});
|
|
884
|
+
errorKind: "conflict",
|
|
885
|
+
}, {
|
|
886
|
+
eventKind: event.kind,
|
|
887
|
+
eventRunId: event.runId,
|
|
888
|
+
reason: current === undefined ? "no-live-run" : "run-mismatch",
|
|
889
|
+
...(current === undefined ? {} : { liveRunId: current.runId }),
|
|
890
|
+
}));
|
|
256
891
|
}
|
|
257
|
-
function
|
|
892
|
+
function isCompleteVerificationSummary(event) {
|
|
258
893
|
if (event.kind !== "verification-summarized")
|
|
894
|
+
return false;
|
|
895
|
+
return [
|
|
896
|
+
event.verificationKind,
|
|
897
|
+
event.verificationStatus,
|
|
898
|
+
event.passedCount,
|
|
899
|
+
event.failedCount,
|
|
900
|
+
event.skippedCount,
|
|
901
|
+
].every((value) => value !== undefined);
|
|
902
|
+
}
|
|
903
|
+
function recordRuntimeVerificationSummary(activityLog, event) {
|
|
904
|
+
if (!isCompleteVerificationSummary(event))
|
|
259
905
|
return;
|
|
260
|
-
activityLog?.write({
|
|
261
|
-
category: "process",
|
|
262
|
-
op: "coding-runtime.verification-summarized",
|
|
906
|
+
activityLog?.write(activityLogEvent(CODING_RUNTIME_VERIFICATION_SUMMARIZED_OPERATION, {
|
|
263
907
|
correlationId: runtimeDiagnosticCorrelationId(event.runId),
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
908
|
+
...(event.verificationStatus === "failed" || event.verificationStatus === "partial"
|
|
909
|
+
? { errorKind: "validation-failed" }
|
|
910
|
+
: {}),
|
|
911
|
+
}, {
|
|
912
|
+
runId: event.runId,
|
|
913
|
+
verificationEventId: event.eventId,
|
|
914
|
+
verificationKind: event.verificationKind,
|
|
915
|
+
verificationStatus: event.verificationStatus,
|
|
916
|
+
passedCount: event.passedCount,
|
|
917
|
+
failedCount: event.failedCount,
|
|
918
|
+
skippedCount: event.skippedCount,
|
|
919
|
+
...(event.failureLocationCount === undefined
|
|
920
|
+
? {}
|
|
921
|
+
: { failureLocationCount: event.failureLocationCount }),
|
|
922
|
+
...(event.failureLocationsTruncated === undefined
|
|
923
|
+
? {}
|
|
924
|
+
: { failureLocationsTruncated: event.failureLocationsTruncated }),
|
|
925
|
+
...(event.verificationTargetDigest === undefined
|
|
926
|
+
? {}
|
|
927
|
+
: { verificationTargetDigest: event.verificationTargetDigest }),
|
|
928
|
+
}));
|
|
277
929
|
}
|
|
278
930
|
function recordRuntimeRunSettled(activityLog, snapshot, state, failureCode) {
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
op: "coding-runtime.run.settled",
|
|
931
|
+
const errorKind = runtimeRunSettledErrorKind(state);
|
|
932
|
+
activityLog?.write(activityLogEvent(CODING_RUNTIME_RUN_SETTLED_OPERATION, {
|
|
282
933
|
correlationId: runtimeDiagnosticCorrelationId(snapshot.runId),
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
});
|
|
934
|
+
...(errorKind === undefined ? {} : { errorKind }),
|
|
935
|
+
}, {
|
|
936
|
+
runId: snapshot.runId,
|
|
937
|
+
state,
|
|
938
|
+
revision: snapshot.revision,
|
|
939
|
+
requestedMode: snapshot.requestedMode,
|
|
940
|
+
runtimeSource: snapshot.runtimeSource,
|
|
941
|
+
modelSource: snapshot.modelSource,
|
|
942
|
+
terminal: TERMINAL_STATES.has(state),
|
|
943
|
+
...(failureCode === undefined ? {} : { failureCode }),
|
|
944
|
+
...runtimeResultLogFields(snapshot.result),
|
|
945
|
+
}));
|
|
946
|
+
}
|
|
947
|
+
function runtimeRunSettledErrorKind(state) {
|
|
948
|
+
if (state === "failed" || state === "recovery-required")
|
|
949
|
+
return "internal";
|
|
950
|
+
if (state === "cancelled" || state === "taken-over")
|
|
951
|
+
return "cancelled";
|
|
952
|
+
return undefined;
|
|
295
953
|
}
|
|
296
954
|
function descriptionSettleOp(reason) {
|
|
297
955
|
const state = WORKBENCH_DESCRIPTION_REASON_STATES[reason];
|
|
@@ -301,12 +959,26 @@ function descriptionSettleOp(reason) {
|
|
|
301
959
|
return "stale";
|
|
302
960
|
return state === "blocked" ? "blocked" : "generated";
|
|
303
961
|
}
|
|
962
|
+
function descriptionLogErrorKind(event, reason) {
|
|
963
|
+
if (event === "superseded" || event === "stale")
|
|
964
|
+
return "conflict";
|
|
965
|
+
if (event === "failed")
|
|
966
|
+
return "unavailable";
|
|
967
|
+
if (event !== "blocked")
|
|
968
|
+
return undefined;
|
|
969
|
+
if (reason === "authority-expired" || reason === "model-egress-denied") {
|
|
970
|
+
return "authority-denied";
|
|
971
|
+
}
|
|
972
|
+
if (reason === "budget-exhausted")
|
|
973
|
+
return "rate-limited";
|
|
974
|
+
return "unavailable";
|
|
975
|
+
}
|
|
304
976
|
function runtimeResultLogFields(result) {
|
|
305
977
|
if (result === undefined)
|
|
306
978
|
return {};
|
|
307
979
|
return {
|
|
308
980
|
taskOutcomeStatus: result.status,
|
|
309
|
-
exitCode: result.exitCode,
|
|
981
|
+
...(result.exitCode === null ? {} : { exitCode: result.exitCode }),
|
|
310
982
|
outputByteCount: result.output.byteCount,
|
|
311
983
|
outputLineCount: result.output.lineCount,
|
|
312
984
|
outputDigest: result.output.sha256,
|
|
@@ -358,11 +1030,31 @@ function isLegalSettlementTarget(live, target) {
|
|
|
358
1030
|
function deliveryContinuationExtra(live, attempt) {
|
|
359
1031
|
return {
|
|
360
1032
|
runId: live.runId,
|
|
361
|
-
issueNumber: live.issueBinding
|
|
1033
|
+
...(live.issueBinding === undefined ? {} : { issueNumber: live.issueBinding.issueNumber }),
|
|
362
1034
|
attempt,
|
|
363
1035
|
max: DELIVERY_CONTINUATION_MAX,
|
|
364
1036
|
};
|
|
365
1037
|
}
|
|
1038
|
+
function runtimeDeliveryErrorFields(error) {
|
|
1039
|
+
const description = describeError(error);
|
|
1040
|
+
return {
|
|
1041
|
+
errorClass: description.errorClass,
|
|
1042
|
+
...(description.code === undefined ? {} : { code: description.code }),
|
|
1043
|
+
...(description.gatewayRequestId === undefined
|
|
1044
|
+
? {}
|
|
1045
|
+
: { gatewayRequestId: description.gatewayRequestId }),
|
|
1046
|
+
...(description.httpStatus === undefined ? {} : { httpStatus: description.httpStatus }),
|
|
1047
|
+
...(description.retryAfterMs === undefined ? {} : { retryAfterMs: description.retryAfterMs }),
|
|
1048
|
+
...(description.partialUsage === undefined
|
|
1049
|
+
? {}
|
|
1050
|
+
: {
|
|
1051
|
+
partialPromptTokens: description.partialUsage.promptTokens,
|
|
1052
|
+
partialCompletionTokens: description.partialUsage.completionTokens,
|
|
1053
|
+
}),
|
|
1054
|
+
...(description.frames === undefined ? {} : { frames: description.frames }),
|
|
1055
|
+
...(description.causeChain === undefined ? {} : { causeChain: description.causeChain }),
|
|
1056
|
+
};
|
|
1057
|
+
}
|
|
366
1058
|
export class CodingRuntimeOrchestrator {
|
|
367
1059
|
deps;
|
|
368
1060
|
description;
|
|
@@ -438,8 +1130,8 @@ export class CodingRuntimeOrchestrator {
|
|
|
438
1130
|
* (running, or an unacknowledged recovery) still fails closed as `active-run-conflict` inside
|
|
439
1131
|
* `startFresh`.
|
|
440
1132
|
*/
|
|
441
|
-
start(input) {
|
|
442
|
-
return this.serial(() => this.startFreshAgainstPredecessor(input, this.acknowledgedRecoveryPredecessorId()));
|
|
1133
|
+
start(input, correlationId) {
|
|
1134
|
+
return this.serial(() => this.startFreshAgainstPredecessor(input, this.acknowledgedRecoveryPredecessorId(), correlationId));
|
|
443
1135
|
}
|
|
444
1136
|
acknowledgedRecoveryPredecessorId() {
|
|
445
1137
|
const current = this.current();
|
|
@@ -447,19 +1139,19 @@ export class CodingRuntimeOrchestrator {
|
|
|
447
1139
|
? current.runId
|
|
448
1140
|
: undefined;
|
|
449
1141
|
}
|
|
450
|
-
async startFreshAgainstPredecessor(input, predecessorRunId) {
|
|
1142
|
+
async startFreshAgainstPredecessor(input, predecessorRunId, correlationId) {
|
|
451
1143
|
if (predecessorRunId === undefined)
|
|
452
|
-
return this.startFresh(input);
|
|
1144
|
+
return this.startFresh(input, undefined, correlationId);
|
|
453
1145
|
this.activeRunId = undefined;
|
|
454
1146
|
this.activeEffectiveMode = undefined;
|
|
455
1147
|
try {
|
|
456
|
-
return await this.startFresh(input, predecessorRunId);
|
|
1148
|
+
return await this.startFresh(input, predecessorRunId, correlationId);
|
|
457
1149
|
}
|
|
458
1150
|
finally {
|
|
459
1151
|
this.restoreUnsettledRecoverySlot(predecessorRunId);
|
|
460
1152
|
}
|
|
461
1153
|
}
|
|
462
|
-
retry(runId, input) {
|
|
1154
|
+
retry(runId, input, correlationId) {
|
|
463
1155
|
return this.serial(async () => {
|
|
464
1156
|
if (!parseCodingWorkbenchRuntimeStartRequest(input).ok)
|
|
465
1157
|
return this.fail("invalid-intent");
|
|
@@ -468,7 +1160,7 @@ export class CodingRuntimeOrchestrator {
|
|
|
468
1160
|
return this.fail("invalid-intent");
|
|
469
1161
|
if (this.activeRunId !== undefined && this.activeRunId !== runId)
|
|
470
1162
|
return this.fail("active-run-conflict");
|
|
471
|
-
return this.startFreshAgainstPredecessor(input, runId);
|
|
1163
|
+
return this.startFreshAgainstPredecessor(input, runId, correlationId);
|
|
472
1164
|
});
|
|
473
1165
|
}
|
|
474
1166
|
/**
|
|
@@ -896,12 +1588,7 @@ export class CodingRuntimeOrchestrator {
|
|
|
896
1588
|
current.state !== "recovery-required")
|
|
897
1589
|
return this.fail("invalid-intent");
|
|
898
1590
|
const acknowledged = this.deps.snapshots.acknowledgeRecovery(current.runId, this.now().toISOString());
|
|
899
|
-
this.deps.activityLog?.write({
|
|
900
|
-
category: "process",
|
|
901
|
-
op: "coding-runtime.run.recovery-acknowledged",
|
|
902
|
-
correlationId: runtimeDiagnosticCorrelationId(acknowledged.runId),
|
|
903
|
-
extra: { runId: acknowledged.runId, revision: acknowledged.revision },
|
|
904
|
-
});
|
|
1591
|
+
this.deps.activityLog?.write(activityLogEvent(CODING_RUNTIME_RECOVERY_ACKNOWLEDGED_OPERATION, { correlationId: runtimeDiagnosticCorrelationId(acknowledged.runId) }, { runId: acknowledged.runId, revision: acknowledged.revision }));
|
|
905
1592
|
return { ok: true, snapshot: this.publicSnapshotWithDescription(acknowledged) };
|
|
906
1593
|
});
|
|
907
1594
|
}
|
|
@@ -1112,6 +1799,7 @@ export class CodingRuntimeOrchestrator {
|
|
|
1112
1799
|
return;
|
|
1113
1800
|
if (await this.continueForDelivery(current, outcome))
|
|
1114
1801
|
return;
|
|
1802
|
+
this.captureHistory(runId);
|
|
1115
1803
|
const stopped = await this.stopForSettlement(runId, outcome);
|
|
1116
1804
|
const live = this.current();
|
|
1117
1805
|
if (live?.runId !== runId)
|
|
@@ -1150,18 +1838,17 @@ export class CodingRuntimeOrchestrator {
|
|
|
1150
1838
|
};
|
|
1151
1839
|
}
|
|
1152
1840
|
recordDeliveryEvidenceUnreadable(live, error) {
|
|
1153
|
-
this.deps.activityLog?.write({
|
|
1841
|
+
this.deps.activityLog?.write(activityLogEvent(CODING_RUNTIME_DELIVERY_EVIDENCE_UNREADABLE_OPERATION, {
|
|
1154
1842
|
level: "warn",
|
|
1155
|
-
category: "process",
|
|
1156
|
-
op: "coding-runtime.run.delivery-evidence-unreadable",
|
|
1157
1843
|
correlationId: runtimeDiagnosticCorrelationId(live.runId),
|
|
1158
|
-
errorKind:
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1844
|
+
errorKind: "unavailable",
|
|
1845
|
+
}, {
|
|
1846
|
+
runId: live.runId,
|
|
1847
|
+
...(live.issueBinding === undefined
|
|
1848
|
+
? {}
|
|
1849
|
+
: { issueNumber: live.issueBinding.issueNumber }),
|
|
1850
|
+
...runtimeDeliveryErrorFields(error),
|
|
1851
|
+
}));
|
|
1165
1852
|
}
|
|
1166
1853
|
// The one-based attempt a finished turn may continue with, or undefined when it settles: only a
|
|
1167
1854
|
// turn that ended normally, in an issue-bound run under Full access, with continuation budget left.
|
|
@@ -1235,29 +1922,20 @@ export class CodingRuntimeOrchestrator {
|
|
|
1235
1922
|
current.revision !== live.revision);
|
|
1236
1923
|
}
|
|
1237
1924
|
recordDeliveryContinued(live, attempt, correlationId) {
|
|
1238
|
-
this.deps.activityLog?.write({
|
|
1239
|
-
level: "info",
|
|
1240
|
-
category: "process",
|
|
1241
|
-
op: "coding-runtime.run.delivery-continued",
|
|
1242
|
-
correlationId,
|
|
1243
|
-
extra: deliveryContinuationExtra(live, attempt),
|
|
1244
|
-
});
|
|
1925
|
+
this.deps.activityLog?.write(activityLogEvent(CODING_RUNTIME_DELIVERY_CONTINUED_OPERATION, { level: "info", correlationId }, deliveryContinuationExtra(live, attempt)));
|
|
1245
1926
|
}
|
|
1246
1927
|
// Every refusal names its reason; one that follows a thrown error also carries its errorKind and
|
|
1247
1928
|
// body-free frames, like every other caught failure in this file (AGENTS.md §8).
|
|
1248
1929
|
recordDeliveryContinuationRefused(live, attempt, correlationId, reason, error) {
|
|
1249
|
-
this.deps.activityLog?.write({
|
|
1930
|
+
this.deps.activityLog?.write(activityLogEvent(CODING_RUNTIME_DELIVERY_CONTINUATION_REFUSED_OPERATION, {
|
|
1250
1931
|
level: "warn",
|
|
1251
|
-
category: "process",
|
|
1252
|
-
op: "coding-runtime.run.delivery-continuation-refused",
|
|
1253
1932
|
correlationId,
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
});
|
|
1933
|
+
errorKind: reason === "run-superseded" ? "conflict" : "unavailable",
|
|
1934
|
+
}, {
|
|
1935
|
+
...deliveryContinuationExtra(live, attempt),
|
|
1936
|
+
reason,
|
|
1937
|
+
...(error === undefined ? {} : runtimeDeliveryErrorFields(error)),
|
|
1938
|
+
}));
|
|
1261
1939
|
}
|
|
1262
1940
|
/**
|
|
1263
1941
|
* A run started from an accepted GitHub issue is the product's delivery flow: the issue binds the
|
|
@@ -1295,20 +1973,18 @@ export class CodingRuntimeOrchestrator {
|
|
|
1295
1973
|
const { hasVerifiedCommit, hasDraftDelivery } = evidence;
|
|
1296
1974
|
if (hasVerifiedCommit || hasDraftDelivery)
|
|
1297
1975
|
return target;
|
|
1298
|
-
this.deps.activityLog?.write({
|
|
1976
|
+
this.deps.activityLog?.write(activityLogEvent(CODING_RUNTIME_DELIVERY_UNEVIDENCED_OPERATION, {
|
|
1299
1977
|
level: "warn",
|
|
1300
|
-
category: "process",
|
|
1301
|
-
op: "coding-runtime.run.delivery-unevidenced",
|
|
1302
1978
|
correlationId: runtimeDiagnosticCorrelationId(live.runId),
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
});
|
|
1979
|
+
errorKind: "validation-failed",
|
|
1980
|
+
}, {
|
|
1981
|
+
runId: live.runId,
|
|
1982
|
+
issueNumber: live.issueBinding.issueNumber,
|
|
1983
|
+
hasVerifiedCommit,
|
|
1984
|
+
hasDraftDelivery,
|
|
1985
|
+
reportedOutcome: "succeeded",
|
|
1986
|
+
continuations: this.deliveryContinuations.get(live.runId) ?? 0,
|
|
1987
|
+
}));
|
|
1312
1988
|
return { state: "failed", failureCode: "delivery-not-evidenced" };
|
|
1313
1989
|
}
|
|
1314
1990
|
async stopForSettlement(runId, outcome) {
|
|
@@ -1378,29 +2054,27 @@ export class CodingRuntimeOrchestrator {
|
|
|
1378
2054
|
* for an ending that never happened, and the troubleshooting entry told the operator to read it as
|
|
1379
2055
|
* confirmation (owner review, PR #3452).
|
|
1380
2056
|
*/
|
|
1381
|
-
async shutdown() {
|
|
2057
|
+
async shutdown(correlationId) {
|
|
1382
2058
|
const current = this.current();
|
|
1383
2059
|
if (current === undefined) {
|
|
1384
|
-
this.deps.safeActivityProjection?.purgeAll("shutdown");
|
|
2060
|
+
this.deps.safeActivityProjection?.purgeAll("shutdown", correlationId);
|
|
1385
2061
|
return { ok: true, snapshot: this.projection.idle() };
|
|
1386
2062
|
}
|
|
1387
2063
|
const result = await this.end("stop", current.runId, { requestId: current.runId });
|
|
1388
|
-
this.deps.activityLog?.write({
|
|
2064
|
+
this.deps.activityLog?.write(activityLogEvent(CODING_RUNTIME_RUN_SHUTDOWN_OPERATION, {
|
|
1389
2065
|
level: "warn",
|
|
1390
|
-
category: "process",
|
|
1391
|
-
op: "coding-runtime.run.shutdown",
|
|
1392
2066
|
correlationId: runtimeDiagnosticCorrelationId(current.runId),
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
},
|
|
1403
|
-
});
|
|
2067
|
+
...(result.ok ? {} : { errorKind: "conflict" }),
|
|
2068
|
+
}, {
|
|
2069
|
+
runId: current.runId,
|
|
2070
|
+
stateBefore: current.state,
|
|
2071
|
+
revision: current.revision,
|
|
2072
|
+
reason: "server-shutdown",
|
|
2073
|
+
// What the shutdown actually achieved for this run: it ended, or the orchestrator
|
|
2074
|
+
// refused to end it and the run keeps whatever state it had.
|
|
2075
|
+
outcome: result.ok ? "ended" : "refused",
|
|
2076
|
+
...(result.ok ? {} : { failureCode: result.failureCode }),
|
|
2077
|
+
}));
|
|
1404
2078
|
return result;
|
|
1405
2079
|
}
|
|
1406
2080
|
// A proof that could not run (IDENTITY_PROOF_FAILED, logged at its source) is an authority the
|
|
@@ -1415,39 +2089,92 @@ export class CodingRuntimeOrchestrator {
|
|
|
1415
2089
|
throw error;
|
|
1416
2090
|
}
|
|
1417
2091
|
}
|
|
1418
|
-
|
|
2092
|
+
getHistory() {
|
|
2093
|
+
return this.deps.history;
|
|
2094
|
+
}
|
|
2095
|
+
async startFresh(input, predecessorRunId, correlationId) {
|
|
1419
2096
|
const parsed = parseCodingWorkbenchRuntimeStartRequest(input);
|
|
1420
2097
|
if (!parsed.ok || this.activeRunId)
|
|
1421
2098
|
return this.fail(parsed.ok ? "active-run-conflict" : "invalid-intent");
|
|
1422
2099
|
// A proof that could not run (IDENTITY_PROOF_FAILED, logged at its source) is an authority the
|
|
1423
2100
|
// start cannot resolve right now — fail closed, never launch against an unproven workspace.
|
|
1424
|
-
const
|
|
1425
|
-
|
|
1426
|
-
if (!active || !principal)
|
|
2101
|
+
const scope = this.historyStartScope(parsed.value);
|
|
2102
|
+
if (scope === undefined)
|
|
1427
2103
|
return this.fail("authority-resolution-failed");
|
|
2104
|
+
const { active, principal } = scope;
|
|
2105
|
+
let { request } = scope;
|
|
1428
2106
|
const runId = this.newRunId();
|
|
1429
|
-
const issue = await this.admitIssue(
|
|
2107
|
+
const issue = await this.admitIssue(request, active, runId, predecessorRunId);
|
|
1430
2108
|
if (!issue.ok)
|
|
1431
2109
|
return { ...issue, runId };
|
|
1432
|
-
|
|
2110
|
+
request = this.requestWithContextPurpose(request, issue.contextBinding);
|
|
2111
|
+
const resolved = await this.resolveLaunch(request, active, principal, runId, issue.binding, correlationId);
|
|
1433
2112
|
if (!resolved.ok)
|
|
1434
2113
|
return { ok: false, failureCode: resolved.failureCode, runId };
|
|
1435
2114
|
const launch = resolved.launch;
|
|
1436
|
-
const initialSnapshot = this.buildStartSnapshot(
|
|
2115
|
+
const initialSnapshot = this.buildStartSnapshot(request, active, principal, runId, launch, predecessorRunId, { issueBinding: issue.binding, issueContextBinding: issue.contextBinding });
|
|
1437
2116
|
const selection = this.selectStartPredecessor(initialSnapshot, predecessorRunId);
|
|
1438
2117
|
const snapshot = selection.snapshot;
|
|
1439
2118
|
this.deps.snapshots.create(snapshot);
|
|
1440
|
-
this.
|
|
1441
|
-
this.
|
|
1442
|
-
this.activeEffectiveMode = launch.effectiveMode;
|
|
1443
|
-
recordRuntimeRunStarted(this.deps.activityLog, snapshot, launch.effectiveMode, selection.reason);
|
|
2119
|
+
this.activateStartedRun(runId, launch, selection);
|
|
2120
|
+
this.recordIssueAdmission(request, runId, issue.attachment);
|
|
1444
2121
|
if (predecessorRunId !== undefined)
|
|
1445
2122
|
this.settlePredecessorRecovery(predecessorRunId);
|
|
1446
2123
|
this.projection.publish(snapshot);
|
|
1447
|
-
|
|
2124
|
+
if (!this.beginHistory(request, active, runId))
|
|
2125
|
+
return this.transitionActive("failed", "runtime-failed");
|
|
2126
|
+
const started = await this.startManagedRuntime(request, active, runId, launch);
|
|
1448
2127
|
if (started !== undefined)
|
|
1449
2128
|
return started;
|
|
1450
|
-
return this.runInitialTurn(
|
|
2129
|
+
return this.runInitialTurn(request, active, runId, issue.attachment);
|
|
2130
|
+
}
|
|
2131
|
+
activateStartedRun(runId, launch, selection) {
|
|
2132
|
+
this.activeRunId = runId;
|
|
2133
|
+
this.settledRunId = undefined;
|
|
2134
|
+
this.activeEffectiveMode = launch.effectiveMode;
|
|
2135
|
+
recordRuntimeRunStarted(this.deps.activityLog, selection.snapshot, launch.effectiveMode, selection.reason);
|
|
2136
|
+
}
|
|
2137
|
+
requestWithContextPurpose(request, binding) {
|
|
2138
|
+
return binding === undefined ? request : { ...request, issuePurpose: "context" };
|
|
2139
|
+
}
|
|
2140
|
+
captureHistory(runId) {
|
|
2141
|
+
this.deps.history?.capture(runId, this.deps.safeActivityProjection?.currentContent());
|
|
2142
|
+
}
|
|
2143
|
+
beginHistory(request, active, runId) {
|
|
2144
|
+
try {
|
|
2145
|
+
this.deps.history?.begin(request, active, runId);
|
|
2146
|
+
return true;
|
|
2147
|
+
}
|
|
2148
|
+
catch (error) {
|
|
2149
|
+
recordRuntimeStartFailure(this.deps.diagnostics, runId, "history-initialization", error);
|
|
2150
|
+
return false;
|
|
2151
|
+
}
|
|
2152
|
+
}
|
|
2153
|
+
historyStartScope(request) {
|
|
2154
|
+
const active = this.activeWorkspaceOrUndefined();
|
|
2155
|
+
const principal = this.deps.serverPrincipal();
|
|
2156
|
+
if (!active || !principal)
|
|
2157
|
+
return undefined;
|
|
2158
|
+
if (request.conversationId === undefined)
|
|
2159
|
+
return { active, principal, request };
|
|
2160
|
+
if (!this.deps.history?.admits(request.conversationId, active))
|
|
2161
|
+
return undefined;
|
|
2162
|
+
const priorId = this.deps.history.previousRunId(request.conversationId);
|
|
2163
|
+
const prior = priorId === undefined ? undefined : this.deps.snapshots.get(priorId);
|
|
2164
|
+
if (prior === undefined)
|
|
2165
|
+
return undefined;
|
|
2166
|
+
return { active, principal, request: this.continuedIssueRequest(request, prior) };
|
|
2167
|
+
}
|
|
2168
|
+
continuedIssueRequest(request, prior) {
|
|
2169
|
+
const issue = prior.issueBinding ?? prior.issueContextBinding;
|
|
2170
|
+
if (issue === undefined)
|
|
2171
|
+
return request;
|
|
2172
|
+
return {
|
|
2173
|
+
...request,
|
|
2174
|
+
issueRef: `#${String(issue.issueNumber)}`,
|
|
2175
|
+
expectedIssueBindingDigest: issue.bindingDigest,
|
|
2176
|
+
issuePurpose: prior.issueContextBinding === undefined ? "delivery" : "context",
|
|
2177
|
+
};
|
|
1451
2178
|
}
|
|
1452
2179
|
selectStartPredecessor(snapshot, requested) {
|
|
1453
2180
|
if (requested !== undefined)
|
|
@@ -1503,11 +2230,26 @@ export class CodingRuntimeOrchestrator {
|
|
|
1503
2230
|
priorBinding: predecessorRunId === undefined
|
|
1504
2231
|
? undefined
|
|
1505
2232
|
: this.deps.snapshots.get(predecessorRunId)?.issueBinding,
|
|
2233
|
+
priorContextBinding: predecessorRunId === undefined
|
|
2234
|
+
? undefined
|
|
2235
|
+
: this.deps.snapshots.get(predecessorRunId)?.issueContextBinding,
|
|
1506
2236
|
intake: this.deps.issueIntake,
|
|
1507
2237
|
activityLog: this.deps.activityLog,
|
|
1508
2238
|
deploymentCeiling: this.deps.deploymentCeiling,
|
|
1509
2239
|
});
|
|
1510
2240
|
}
|
|
2241
|
+
recordIssueAdmission(request, runId, attachment) {
|
|
2242
|
+
if (attachment !== undefined) {
|
|
2243
|
+
this.deps.activityLog?.write(activityLogEvent(CODING_RUNTIME_ISSUE_CONTEXT_ATTACHED_OPERATION, { correlationId: runId }, {
|
|
2244
|
+
runId,
|
|
2245
|
+
issueNumber: attachment.issueNumber,
|
|
2246
|
+
itemCount: attachment.itemCount,
|
|
2247
|
+
linkedIssueCount: attachment.linkedIssueCount,
|
|
2248
|
+
byteCount: attachment.byteCount,
|
|
2249
|
+
issuePurpose: issuePurposeOf(request),
|
|
2250
|
+
}));
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
1511
2253
|
async runInitialTurn(request, active, runId, attachment) {
|
|
1512
2254
|
const ready = this.transitionActive("ready");
|
|
1513
2255
|
if (!ready.ok)
|
|
@@ -1542,20 +2284,6 @@ export class CodingRuntimeOrchestrator {
|
|
|
1542
2284
|
taskIntent: request.taskIntent,
|
|
1543
2285
|
...(initialContext === undefined ? {} : { initialContext }),
|
|
1544
2286
|
});
|
|
1545
|
-
if (initialTurn === "accepted" && attachment !== undefined) {
|
|
1546
|
-
this.deps.activityLog?.write({
|
|
1547
|
-
category: "process",
|
|
1548
|
-
op: "coding-runtime.run.issue-context-attached",
|
|
1549
|
-
correlationId: runId,
|
|
1550
|
-
extra: {
|
|
1551
|
-
runId,
|
|
1552
|
-
issueNumber: attachment.issueNumber,
|
|
1553
|
-
itemCount: attachment.itemCount,
|
|
1554
|
-
linkedIssueCount: attachment.linkedIssueCount,
|
|
1555
|
-
byteCount: attachment.byteCount,
|
|
1556
|
-
},
|
|
1557
|
-
});
|
|
1558
|
-
}
|
|
1559
2287
|
// Every OTHER guarded mutation (follow-up dispatch, question answer/reject) advances the live
|
|
1560
2288
|
// revision in the SAME call that commits its production-guard reservation
|
|
1561
2289
|
// (codingRuntimeOperationCoordinator.ts's submitFollowUp/applyAnswer via advanceRevision) --
|
|
@@ -1582,7 +2310,11 @@ export class CodingRuntimeOrchestrator {
|
|
|
1582
2310
|
async initialContextFor(request, active, runId, attachment) {
|
|
1583
2311
|
const issueContext = attachment === undefined ? undefined : renderInitialTurnContext(attachment);
|
|
1584
2312
|
const memoryContext = await this.projectMemoryInitialContext(request, active, runId);
|
|
1585
|
-
return composeCodingRuntimeInitialContext([
|
|
2313
|
+
return composeCodingRuntimeInitialContext([
|
|
2314
|
+
issueContext,
|
|
2315
|
+
memoryContext,
|
|
2316
|
+
this.deps.history?.initialContext(runId),
|
|
2317
|
+
]);
|
|
1586
2318
|
}
|
|
1587
2319
|
async projectMemoryInitialContext(request, active, runId) {
|
|
1588
2320
|
if (request.projectMemory?.enabled === false) {
|
|
@@ -1609,7 +2341,7 @@ export class CodingRuntimeOrchestrator {
|
|
|
1609
2341
|
return undefined;
|
|
1610
2342
|
}
|
|
1611
2343
|
}
|
|
1612
|
-
async resolveLaunch(request, active, principal, runId, issueBinding) {
|
|
2344
|
+
async resolveLaunch(request, active, principal, runId, issueBinding, correlationId) {
|
|
1613
2345
|
try {
|
|
1614
2346
|
const input = {
|
|
1615
2347
|
runId,
|
|
@@ -1623,6 +2355,7 @@ export class CodingRuntimeOrchestrator {
|
|
|
1623
2355
|
workspaceId: active.instance.workspaceId,
|
|
1624
2356
|
workspaceRoot: active.binding.activeRoot,
|
|
1625
2357
|
serverPrincipal: principal,
|
|
2358
|
+
...(correlationId === undefined ? {} : { correlationId }),
|
|
1626
2359
|
...(issueBinding === undefined ? {} : { issueBinding }),
|
|
1627
2360
|
};
|
|
1628
2361
|
await this.deps.launchResolver.prepare?.(input);
|
|
@@ -1636,7 +2369,7 @@ export class CodingRuntimeOrchestrator {
|
|
|
1636
2369
|
return { ok: false, failureCode: classifyLaunchRejection(error) };
|
|
1637
2370
|
}
|
|
1638
2371
|
}
|
|
1639
|
-
buildStartSnapshot(request, active, principal, runId, launch, predecessorRunId,
|
|
2372
|
+
buildStartSnapshot(request, active, principal, runId, launch, predecessorRunId, issue = {}) {
|
|
1640
2373
|
const now = this.now().toISOString();
|
|
1641
2374
|
return {
|
|
1642
2375
|
schemaVersion: "1",
|
|
@@ -1658,7 +2391,10 @@ export class CodingRuntimeOrchestrator {
|
|
|
1658
2391
|
patchByteCount: 0,
|
|
1659
2392
|
modelRequestCount: 0,
|
|
1660
2393
|
...(predecessorRunId ? { predecessorRunId } : {}),
|
|
1661
|
-
...(issueBinding === undefined ? {} : { issueBinding }),
|
|
2394
|
+
...(issue.issueBinding === undefined ? {} : { issueBinding: issue.issueBinding }),
|
|
2395
|
+
...(issue.issueContextBinding === undefined
|
|
2396
|
+
? {}
|
|
2397
|
+
: { issueContextBinding: issue.issueContextBinding }),
|
|
1662
2398
|
};
|
|
1663
2399
|
}
|
|
1664
2400
|
/** Returns the failure transition when the managed runtime did not reach a trusted start. */
|
|
@@ -1717,6 +2453,7 @@ export class CodingRuntimeOrchestrator {
|
|
|
1717
2453
|
return this.stopSettledRun(kind, runId);
|
|
1718
2454
|
if (current.state === "recovery-required")
|
|
1719
2455
|
return this.fail("recovery-required");
|
|
2456
|
+
this.captureHistory(runId);
|
|
1720
2457
|
this.deps.safeActivityProjection?.purge(runId, kind === "stop" ? "stop" : "takeover");
|
|
1721
2458
|
const stopping = this.createEndStoppingTransition(kind, current);
|
|
1722
2459
|
if (!stopping.ok)
|
|
@@ -1855,7 +2592,9 @@ export class CodingRuntimeOrchestrator {
|
|
|
1855
2592
|
* was captured is still visible on the very next poll or transition response.
|
|
1856
2593
|
*/
|
|
1857
2594
|
publicSnapshotWithDescription(snapshot) {
|
|
1858
|
-
const
|
|
2595
|
+
const projected = this.projection.publicSnapshot(snapshot);
|
|
2596
|
+
const history = snapshot === undefined ? undefined : this.deps.history?.forRun(snapshot.runId);
|
|
2597
|
+
const base = history === undefined ? projected : { ...projected, conversationId: history.id };
|
|
1859
2598
|
const persisted = snapshot === undefined ? undefined : this.description?.jobs.current(snapshot.runId);
|
|
1860
2599
|
const status = snapshot === undefined || persisted === undefined
|
|
1861
2600
|
? persisted
|
|
@@ -1949,9 +2688,9 @@ export class CodingRuntimeOrchestrator {
|
|
|
1949
2688
|
const nowIso = this.now().toISOString();
|
|
1950
2689
|
const decision = support.jobs.beginDispatch(scope, nowIso);
|
|
1951
2690
|
if (decision.kind === "coalesced") {
|
|
1952
|
-
this.logDescriptionEvent(scope, "coalesced",
|
|
1953
|
-
|
|
1954
|
-
|
|
2691
|
+
this.logDescriptionEvent(scope, "coalesced", decision.status?.generationVersion === undefined
|
|
2692
|
+
? {}
|
|
2693
|
+
: { generationVersion: decision.status.generationVersion });
|
|
1955
2694
|
return;
|
|
1956
2695
|
}
|
|
1957
2696
|
if (decision.kind === "budget-exhausted") {
|
|
@@ -2003,7 +2742,10 @@ export class CodingRuntimeOrchestrator {
|
|
|
2003
2742
|
})
|
|
2004
2743
|
.catch((error) => {
|
|
2005
2744
|
const accepted = support.jobs.recordBlocked(scope, "provider-failed", generationVersion, revision, this.now().toISOString());
|
|
2006
|
-
this.logDescriptionEvent(scope, accepted ? "blocked" : "superseded", {
|
|
2745
|
+
this.logDescriptionEvent(scope, accepted ? "blocked" : "superseded", {
|
|
2746
|
+
reason: "provider-failed",
|
|
2747
|
+
...runtimeDeliveryErrorFields(error),
|
|
2748
|
+
});
|
|
2007
2749
|
});
|
|
2008
2750
|
}
|
|
2009
2751
|
isDescriptionScopeCurrent(scope) {
|
|
@@ -2050,24 +2792,22 @@ export class CodingRuntimeOrchestrator {
|
|
|
2050
2792
|
// fixed literal op with `event` carried in `extra` (mirroring how every other dispatch-lifecycle
|
|
2051
2793
|
// event on this file's sibling ops is distinguished by an `extra` field, not by the op string
|
|
2052
2794
|
// itself) keeps this catalog-resolvable and journey-reconstructable.
|
|
2053
|
-
logDescriptionEvent(identity, event, extra
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
op: "coding-runtime.description",
|
|
2795
|
+
logDescriptionEvent(identity, event, extra) {
|
|
2796
|
+
const errorKind = descriptionLogErrorKind(event, extra.reason);
|
|
2797
|
+
this.deps.activityLog?.write(activityLogEvent(CODING_RUNTIME_DESCRIPTION_OPERATION, {
|
|
2057
2798
|
correlationId: runtimeDiagnosticCorrelationId(identity.runId),
|
|
2058
2799
|
...(errorKind === undefined ? {} : { errorKind }),
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
});
|
|
2800
|
+
}, {
|
|
2801
|
+
runId: identity.runId,
|
|
2802
|
+
...(identity.remoteDigest === undefined ? {} : { remoteDigest: identity.remoteDigest }),
|
|
2803
|
+
event,
|
|
2804
|
+
...extra,
|
|
2805
|
+
...(identity.generationBinding === undefined
|
|
2806
|
+
? {}
|
|
2807
|
+
: {
|
|
2808
|
+
generationBindingDigest: sha256Hex(canonicalise(identity.generationBinding)),
|
|
2809
|
+
}),
|
|
2810
|
+
}));
|
|
2071
2811
|
}
|
|
2072
2812
|
purgeExplicitlyEndedActivity(runId, state) {
|
|
2073
2813
|
if (state !== "cancelled" && state !== "taken-over")
|