@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
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { type ActivityLogCompletenessState, type ActivityLogErrorKind, type ActivityLogFailureSurface, type ActivityLogLossState, type DiagnosticSufficiencyReason, type DiagnosticSufficiencyStatus } from "./observability.js";
|
|
2
|
+
export declare const SUPPORT_INCIDENT_SCHEMA_VERSION = 1;
|
|
3
|
+
export declare const DEFECT_FINGERPRINT_ALGORITHM_VERSION = 1;
|
|
4
|
+
/** The store directory under the state directory; one closed-grammar file per incident. */
|
|
5
|
+
export declare const SUPPORT_INCIDENT_DIRECTORY_NAME = "support-incidents";
|
|
6
|
+
/** Which trigger created the candidate: a registered failure operation, or Report a problem. */
|
|
7
|
+
export declare const SUPPORT_INCIDENT_TRIGGERS: readonly ["registered-failure", "user-report"];
|
|
8
|
+
export type SupportIncidentTrigger = (typeof SUPPORT_INCIDENT_TRIGGERS)[number];
|
|
9
|
+
/**
|
|
10
|
+
* The human-controlled lifecycle. A candidate is what Keiko recorded; acknowledging or reporting
|
|
11
|
+
* it is always an explicit user action. Dismissal and expiry remove the record (and let its pin
|
|
12
|
+
* lapse), so they are transitions, not stored states.
|
|
13
|
+
*/
|
|
14
|
+
export declare const SUPPORT_INCIDENT_STATES: readonly ["candidate", "acknowledged", "reported"];
|
|
15
|
+
export type SupportIncidentState = (typeof SUPPORT_INCIDENT_STATES)[number];
|
|
16
|
+
/** The fingerprint surface for an incident with no registered failure event to attribute. */
|
|
17
|
+
export declare const SUPPORT_INCIDENT_UNATTRIBUTED = "unattributed";
|
|
18
|
+
export type SupportIncidentSurface = ActivityLogFailureSurface | typeof SUPPORT_INCIDENT_UNATTRIBUTED;
|
|
19
|
+
export declare const SUPPORT_INCIDENT_PIN_STATUSES: readonly ["pinned", "quota-exceeded", "rejected"];
|
|
20
|
+
export type SupportIncidentPinStatus = (typeof SUPPORT_INCIDENT_PIN_STATUSES)[number];
|
|
21
|
+
/** 128 random bits as 32 lowercase hex characters. */
|
|
22
|
+
export declare const SUPPORT_INCIDENT_ID_PATTERN: RegExp;
|
|
23
|
+
/** A SHA-256 as 64 lowercase hex characters. */
|
|
24
|
+
export declare const DEFECT_FINGERPRINT_PATTERN: RegExp;
|
|
25
|
+
/** At most this many normalized Keiko frames enter the fingerprint (innermost first). */
|
|
26
|
+
export declare const MAX_DEFECT_FINGERPRINT_FRAMES = 8;
|
|
27
|
+
/** At most this many child correlations are referenced by one incident. */
|
|
28
|
+
export declare const MAX_SUPPORT_INCIDENT_CHILD_CORRELATIONS = 8;
|
|
29
|
+
/** A persisted record never exceeds this many bytes; larger input is rejected, not truncated. */
|
|
30
|
+
export declare const MAX_SUPPORT_INCIDENT_RECORD_BYTES = 4096;
|
|
31
|
+
/**
|
|
32
|
+
* The bounded pool of quota-slot claim files (#3533 review 4050606506): `slot-00.claim` through
|
|
33
|
+
* `slot-<N-1>.claim`. Every candidate -- automatic or user-initiated -- atomically claims exactly
|
|
34
|
+
* one slot (exclusive-create, content the owning incidentId) before its record is written, so the
|
|
35
|
+
* store's total-count quota (`MAX_SUPPORT_INCIDENTS` in keiko-server) holds across processes with
|
|
36
|
+
* no read-then-write race. keiko-server imports this constant rather than repeating the number, so
|
|
37
|
+
* the two can never drift apart.
|
|
38
|
+
*/
|
|
39
|
+
export declare const SUPPORT_INCIDENT_SLOT_COUNT = 32;
|
|
40
|
+
export declare function supportIncidentFileName(incidentId: string): string;
|
|
41
|
+
export declare function supportIncidentSlotClaimFileName(slotIndex: number): string;
|
|
42
|
+
/** The slot index a closed-grammar slot-claim file name carries, else `undefined`. */
|
|
43
|
+
export declare function parseSupportIncidentSlotClaimFileName(name: string): number | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* A defectFingerprint's dedup claim file: `fingerprint-<64 hex>.claim`. Exclusive-create with the
|
|
46
|
+
* owning incidentId as its whole content makes "at most one open registered-failure candidate per
|
|
47
|
+
* defectFingerprint" hold atomically across processes (#3533 review 4050606506) -- the exclusive
|
|
48
|
+
* create on the random incident-id file alone only ever protected the filename, never the
|
|
49
|
+
* fingerprint two processes could compute identically from the same failure.
|
|
50
|
+
*/
|
|
51
|
+
export declare function supportIncidentFingerprintClaimFileName(defectFingerprint: string): string;
|
|
52
|
+
/** The fingerprint a closed-grammar fingerprint-claim file name carries, else `undefined`. */
|
|
53
|
+
export declare function parseSupportIncidentFingerprintClaimFileName(name: string): string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* A closed-grammar identifier this store file name carries: the incident id for an
|
|
56
|
+
* `incident-<id>.json` record, the defectFingerprint for a `fingerprint-<fp>.claim` dedup claim, or
|
|
57
|
+
* the slot index (as a decimal string) for a `slot-<NN>.claim` quota claim -- `undefined` for
|
|
58
|
+
* anything outside the grammar. This is the one function the repair/uninstall ownership predicate
|
|
59
|
+
* calls (`state-paths.ts`), so every file kind this store ever creates must stay recognized here;
|
|
60
|
+
* a caller that needs a real incident id specifically must also confirm it with
|
|
61
|
+
* `isSupportIncidentId`, since a fingerprint or a slot index is never one.
|
|
62
|
+
*/
|
|
63
|
+
export declare function parseSupportIncidentFileName(name: string): string | undefined;
|
|
64
|
+
export declare function isSupportIncidentId(value: unknown): value is string;
|
|
65
|
+
export declare function isDefectFingerprint(value: unknown): value is string;
|
|
66
|
+
export declare function isSupportIncidentSurface(value: unknown): value is SupportIncidentSurface;
|
|
67
|
+
export interface DefectFingerprintInput {
|
|
68
|
+
readonly surface: SupportIncidentSurface;
|
|
69
|
+
readonly op: string;
|
|
70
|
+
readonly errorKind: ActivityLogErrorKind;
|
|
71
|
+
readonly frames: readonly string[];
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Reduces one frame to its stable module identity: `<package>/<module path without extension>`.
|
|
75
|
+
* Line and column, the dist/src distinction, and the file extension are dropped so a rebuild, a
|
|
76
|
+
* release, and a source checkout all yield the same identity. Returns `undefined` for anything
|
|
77
|
+
* that is not a Keiko frame (never a partially redacted remainder).
|
|
78
|
+
*/
|
|
79
|
+
export declare function normalizeKeikoFrame(frame: string): string | undefined;
|
|
80
|
+
/** The normalized, bounded frame signature: Keiko frames only, consecutive repeats collapsed. */
|
|
81
|
+
export declare function normalizeKeikoFrameSignature(frames: readonly unknown[]): readonly string[];
|
|
82
|
+
/**
|
|
83
|
+
* The canonical fingerprint preimage. A JSON array of strings and one integer is an unambiguous
|
|
84
|
+
* framing (no separator can be forged by an input), and every input is closed or normalized
|
|
85
|
+
* first, so only allowlisted stable values ever reach the hash. Throws for an input outside the
|
|
86
|
+
* closed domain instead of fingerprinting it.
|
|
87
|
+
*/
|
|
88
|
+
export declare function defectFingerprintPreimage(input: DefectFingerprintInput): string;
|
|
89
|
+
/** The fixed fingerprint inputs of an incident without a registered failure to attribute. */
|
|
90
|
+
export declare const UNATTRIBUTED_DEFECT_FINGERPRINT_INPUT: DefectFingerprintInput;
|
|
91
|
+
export interface SupportIncidentFingerprint {
|
|
92
|
+
readonly algorithm: typeof DEFECT_FINGERPRINT_ALGORITHM_VERSION;
|
|
93
|
+
readonly defectFingerprint: string;
|
|
94
|
+
readonly surface: SupportIncidentSurface;
|
|
95
|
+
readonly op: string;
|
|
96
|
+
readonly errorKind: ActivityLogErrorKind;
|
|
97
|
+
readonly frameCount: number;
|
|
98
|
+
}
|
|
99
|
+
export interface SupportIncidentCorrelation {
|
|
100
|
+
readonly rootCorrelationId?: string | undefined;
|
|
101
|
+
readonly childCorrelationIds: readonly string[];
|
|
102
|
+
}
|
|
103
|
+
export interface SupportIncidentBuild {
|
|
104
|
+
readonly productVersion: string;
|
|
105
|
+
readonly platformClass: string;
|
|
106
|
+
readonly registryVersion: number;
|
|
107
|
+
readonly schemaDigest: string;
|
|
108
|
+
readonly catalogDigest: string;
|
|
109
|
+
}
|
|
110
|
+
/** The bounded time window pinned around the incident, in epoch milliseconds. */
|
|
111
|
+
export interface SupportIncidentWindow {
|
|
112
|
+
readonly fromMs: number;
|
|
113
|
+
readonly incidentAtMs: number;
|
|
114
|
+
readonly toMs: number;
|
|
115
|
+
}
|
|
116
|
+
export interface SupportIncidentPin {
|
|
117
|
+
readonly status: SupportIncidentPinStatus;
|
|
118
|
+
readonly pinId?: string | undefined;
|
|
119
|
+
readonly pinnedSegmentCount: number;
|
|
120
|
+
readonly pinnedBytes: number;
|
|
121
|
+
readonly evidenceLostBeforePin: boolean;
|
|
122
|
+
}
|
|
123
|
+
export interface SupportIncidentRecord {
|
|
124
|
+
readonly schemaVersion: typeof SUPPORT_INCIDENT_SCHEMA_VERSION;
|
|
125
|
+
readonly incidentId: string;
|
|
126
|
+
readonly trigger: SupportIncidentTrigger;
|
|
127
|
+
readonly state: SupportIncidentState;
|
|
128
|
+
readonly fingerprint: SupportIncidentFingerprint;
|
|
129
|
+
readonly correlation: SupportIncidentCorrelation;
|
|
130
|
+
readonly build: SupportIncidentBuild;
|
|
131
|
+
readonly window: SupportIncidentWindow;
|
|
132
|
+
readonly pin: SupportIncidentPin;
|
|
133
|
+
readonly slotIndex: number;
|
|
134
|
+
readonly createdAtMs: number;
|
|
135
|
+
readonly expiresAtMs: number;
|
|
136
|
+
}
|
|
137
|
+
/** The build identity of the running product, from the generated registry and safe classes. */
|
|
138
|
+
export declare function supportIncidentBuild(productVersion: string, platformClass: string): SupportIncidentBuild;
|
|
139
|
+
/**
|
|
140
|
+
* Parses one persisted record against the closed schema. Unknown keys, unknown versions, unknown
|
|
141
|
+
* vocabulary values, and out-of-bound values all yield `undefined`: an unreadable record protects
|
|
142
|
+
* and describes nothing, exactly like an unreadable Activity Log pin record.
|
|
143
|
+
*/
|
|
144
|
+
export declare function parseSupportIncidentRecord(value: unknown): SupportIncidentRecord | undefined;
|
|
145
|
+
/** Integrity of the pinned window as the analyzer classified it (ADR-0173 compatibility). */
|
|
146
|
+
export declare const SUPPORT_INCIDENT_EVIDENCE_INTEGRITY: readonly ["supported", "legacy", "unsupported", "corrupt", "truncated", "incomplete"];
|
|
147
|
+
export type SupportIncidentEvidenceIntegrity = (typeof SUPPORT_INCIDENT_EVIDENCE_INTEGRITY)[number];
|
|
148
|
+
/** One Activity Log segment the incident window references (a reference, never its content). */
|
|
149
|
+
export interface SupportIncidentSegmentReference {
|
|
150
|
+
readonly segmentId: string;
|
|
151
|
+
readonly state: "active" | "sealed";
|
|
152
|
+
readonly sizeBytes: number;
|
|
153
|
+
}
|
|
154
|
+
export interface SupportIncidentEvidence {
|
|
155
|
+
readonly segments: readonly SupportIncidentSegmentReference[];
|
|
156
|
+
readonly lineCount: number;
|
|
157
|
+
readonly integrity: SupportIncidentEvidenceIntegrity;
|
|
158
|
+
readonly completeness: ActivityLogCompletenessState;
|
|
159
|
+
readonly loss: ActivityLogLossState;
|
|
160
|
+
}
|
|
161
|
+
export interface SupportIncidentCoverage {
|
|
162
|
+
readonly requiredClassCount: number;
|
|
163
|
+
readonly presentClassCount: number;
|
|
164
|
+
readonly completeClassCount: number;
|
|
165
|
+
readonly degradedClassCount: number;
|
|
166
|
+
readonly insufficientClassCount: number;
|
|
167
|
+
}
|
|
168
|
+
export interface SupportIncidentSufficiency {
|
|
169
|
+
readonly status: DiagnosticSufficiencyStatus;
|
|
170
|
+
readonly reasons: readonly DiagnosticSufficiencyReason[];
|
|
171
|
+
readonly coverage: SupportIncidentCoverage;
|
|
172
|
+
}
|
|
173
|
+
/** The canonical resolved descriptor every manual exit derives from. */
|
|
174
|
+
export interface SupportIncident extends SupportIncidentRecord {
|
|
175
|
+
readonly evidence: SupportIncidentEvidence;
|
|
176
|
+
readonly sufficiency: SupportIncidentSufficiency;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* The strict public-finding projection: only closed, publicly shareable values. It links to the
|
|
180
|
+
* private report by `incidentId` and groups by `defectFingerprint`; correlation ids, segment
|
|
181
|
+
* references, the time window, pins, and closed reasons stay private.
|
|
182
|
+
*/
|
|
183
|
+
export interface SupportIncidentPublicProjection {
|
|
184
|
+
readonly schemaVersion: typeof SUPPORT_INCIDENT_SCHEMA_VERSION;
|
|
185
|
+
readonly incidentId: string;
|
|
186
|
+
readonly defectFingerprint: string;
|
|
187
|
+
readonly fingerprintAlgorithm: typeof DEFECT_FINGERPRINT_ALGORITHM_VERSION;
|
|
188
|
+
readonly trigger: SupportIncidentTrigger;
|
|
189
|
+
readonly productVersion: string;
|
|
190
|
+
readonly platformClass: string;
|
|
191
|
+
readonly surface: SupportIncidentSurface;
|
|
192
|
+
readonly op: string;
|
|
193
|
+
readonly errorKind: ActivityLogErrorKind;
|
|
194
|
+
readonly sufficiencyStatus: DiagnosticSufficiencyStatus;
|
|
195
|
+
readonly integrity: SupportIncidentEvidenceIntegrity;
|
|
196
|
+
readonly completeness: ActivityLogCompletenessState;
|
|
197
|
+
readonly loss: ActivityLogLossState;
|
|
198
|
+
}
|
|
199
|
+
/** The richer, still body-free private-report projection: the public fields plus analysis inputs. */
|
|
200
|
+
export interface SupportIncidentPrivateProjection extends SupportIncidentPublicProjection {
|
|
201
|
+
readonly state: SupportIncidentState;
|
|
202
|
+
readonly frameCount: number;
|
|
203
|
+
readonly build: SupportIncidentBuild;
|
|
204
|
+
readonly correlation: SupportIncidentCorrelation;
|
|
205
|
+
readonly window: SupportIncidentWindow;
|
|
206
|
+
readonly pin: SupportIncidentPin;
|
|
207
|
+
readonly segments: readonly SupportIncidentSegmentReference[];
|
|
208
|
+
readonly lineCount: number;
|
|
209
|
+
readonly sufficiencyReasons: readonly DiagnosticSufficiencyReason[];
|
|
210
|
+
readonly coverage: SupportIncidentCoverage;
|
|
211
|
+
readonly createdAtMs: number;
|
|
212
|
+
readonly expiresAtMs: number;
|
|
213
|
+
}
|
|
214
|
+
export declare function supportIncidentPublicProjection(incident: SupportIncident): SupportIncidentPublicProjection;
|
|
215
|
+
export declare function supportIncidentPrivateProjection(incident: SupportIncident): SupportIncidentPrivateProjection;
|
|
216
|
+
//# sourceMappingURL=support-incident.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"support-incident.d.ts","sourceRoot":"","sources":["../src/support-incident.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
// The canonical, body-free SupportIncident contract (#3533).
|
|
2
|
+
//
|
|
3
|
+
// A SupportIncident is a local control and selection artifact over the one logical Activity Log —
|
|
4
|
+
// never a second log and never a copy of event bodies. It exists so every later manual exit (the
|
|
5
|
+
// public User Finding, the saved private report, local analysis, replay, and fix linkage) derives
|
|
6
|
+
// from ONE versioned descriptor instead of re-collecting evidence on its own.
|
|
7
|
+
//
|
|
8
|
+
// Two layers live here, both pure (no filesystem, no hashing, no clock):
|
|
9
|
+
//
|
|
10
|
+
// * `SupportIncidentRecord` — the small persisted candidate the keiko-server incident store
|
|
11
|
+
// writes under `<stateDir>/support-incidents/`. It holds only closed enums, opaque ids, counts,
|
|
12
|
+
// digests, safe version/platform classes, correlation references, and the pinned time window.
|
|
13
|
+
// * `SupportIncident` — the resolved descriptor: the record plus the evidence facts read from the
|
|
14
|
+
// pinned window (segment references, integrity/completeness/loss, diagnostic sufficiency). The
|
|
15
|
+
// public and private projections are derived from it and nothing else.
|
|
16
|
+
//
|
|
17
|
+
// TWO IDENTIFIERS, ON PURPOSE
|
|
18
|
+
//
|
|
19
|
+
// `incidentId` is random and opaque (128 bits, minted by the store). It names one occurrence and
|
|
20
|
+
// links one public finding to one private report; it carries no time, process, host, user, or
|
|
21
|
+
// path information. `defectFingerprint` is deterministic: a SHA-256 over the canonical preimage
|
|
22
|
+
// built by `defectFingerprintPreimage` from four allowlisted, release-stable inputs — the owning
|
|
23
|
+
// product surface, the registered operation, the closed errorKind, and the normalized Keiko frame
|
|
24
|
+
// signature (module identities only; no line, column, build, time, process, instance, host, user,
|
|
25
|
+
// or absolute path). Equal inputs yield equal fingerprints across builds and releases within one
|
|
26
|
+
// algorithm version, so the same defect groups together for deduplication, regression, and fix
|
|
27
|
+
// linkage.
|
|
28
|
+
//
|
|
29
|
+
// COLLISIONS. The fingerprint is a grouping key, not a proof of identity. Two different defects
|
|
30
|
+
// that fail in the same operation, with the same errorKind, through the same Keiko modules share a
|
|
31
|
+
// fingerprint by design (they are indistinguishable from body-free evidence); SHA-256 makes an
|
|
32
|
+
// accidental collision between different preimages negligible. Consumers must treat a shared
|
|
33
|
+
// fingerprint as "probably the same defect" and keep `incidentId` as the only per-occurrence key.
|
|
34
|
+
//
|
|
35
|
+
// ALGORITHM EVOLUTION. `DEFECT_FINGERPRINT_ALGORITHM_VERSION` is part of the preimage and travels
|
|
36
|
+
// next to every fingerprint. Any change to the inputs, their normalization, or the encoding is an
|
|
37
|
+
// incompatible change: it bumps the version, and fingerprints of different versions are never
|
|
38
|
+
// compared or merged. A reader that meets an unknown version rejects the record (fail closed)
|
|
39
|
+
// instead of guessing. Adding a new closed surface, operation, or errorKind value is NOT an
|
|
40
|
+
// algorithm change: it only extends the input domain.
|
|
41
|
+
import { ACTIVITY_LOG_PIN_ID_PATTERN } from "./activity-log-files.js";
|
|
42
|
+
import { ACTIVITY_LOG_CATALOG_DIGEST, ACTIVITY_LOG_FAILURE_SURFACES, ACTIVITY_LOG_REGISTRY_VERSION, ACTIVITY_LOG_SCHEMA_DIGEST, } from "./activity-log-registry.generated.js";
|
|
43
|
+
// Only hoisted function declarations are imported as values from observability.ts: that module
|
|
44
|
+
// re-exports this one, so a `const` binding read here could still be uninitialized.
|
|
45
|
+
import { isActivityLogCorrelationId, isActivityLogErrorKind, isActivityLogIdentityDigest, isActivityLogPlatformClass, isActivityLogProductVersion, } from "./observability.js";
|
|
46
|
+
export const SUPPORT_INCIDENT_SCHEMA_VERSION = 1;
|
|
47
|
+
export const DEFECT_FINGERPRINT_ALGORITHM_VERSION = 1;
|
|
48
|
+
/** The store directory under the state directory; one closed-grammar file per incident. */
|
|
49
|
+
export const SUPPORT_INCIDENT_DIRECTORY_NAME = "support-incidents";
|
|
50
|
+
/** Which trigger created the candidate: a registered failure operation, or Report a problem. */
|
|
51
|
+
export const SUPPORT_INCIDENT_TRIGGERS = ["registered-failure", "user-report"];
|
|
52
|
+
/**
|
|
53
|
+
* The human-controlled lifecycle. A candidate is what Keiko recorded; acknowledging or reporting
|
|
54
|
+
* it is always an explicit user action. Dismissal and expiry remove the record (and let its pin
|
|
55
|
+
* lapse), so they are transitions, not stored states.
|
|
56
|
+
*/
|
|
57
|
+
export const SUPPORT_INCIDENT_STATES = ["candidate", "acknowledged", "reported"];
|
|
58
|
+
/** The fingerprint surface for an incident with no registered failure event to attribute. */
|
|
59
|
+
export const SUPPORT_INCIDENT_UNATTRIBUTED = "unattributed";
|
|
60
|
+
export const SUPPORT_INCIDENT_PIN_STATUSES = ["pinned", "quota-exceeded", "rejected"];
|
|
61
|
+
/** 128 random bits as 32 lowercase hex characters. */
|
|
62
|
+
export const SUPPORT_INCIDENT_ID_PATTERN = /^[a-f0-9]{32}$/u;
|
|
63
|
+
/** A SHA-256 as 64 lowercase hex characters. */
|
|
64
|
+
export const DEFECT_FINGERPRINT_PATTERN = /^[a-f0-9]{64}$/u;
|
|
65
|
+
/** At most this many normalized Keiko frames enter the fingerprint (innermost first). */
|
|
66
|
+
export const MAX_DEFECT_FINGERPRINT_FRAMES = 8;
|
|
67
|
+
/** At most this many child correlations are referenced by one incident. */
|
|
68
|
+
export const MAX_SUPPORT_INCIDENT_CHILD_CORRELATIONS = 8;
|
|
69
|
+
/** A persisted record never exceeds this many bytes; larger input is rejected, not truncated. */
|
|
70
|
+
export const MAX_SUPPORT_INCIDENT_RECORD_BYTES = 4096;
|
|
71
|
+
const INCIDENT_FILE_PATTERN = /^incident-([a-f0-9]{32})\.json$/u;
|
|
72
|
+
const FINGERPRINT_CLAIM_FILE_PATTERN = /^fingerprint-([a-f0-9]{64})\.claim$/u;
|
|
73
|
+
const SLOT_CLAIM_FILE_PATTERN = /^slot-(\d{2})\.claim$/u;
|
|
74
|
+
const OPERATION_PATTERN = /^[a-z][a-z0-9_-]*(?:\.[a-z0-9_-]+)*$/u;
|
|
75
|
+
const MAX_OPERATION_LENGTH = 96;
|
|
76
|
+
/**
|
|
77
|
+
* The bounded pool of quota-slot claim files (#3533 review 4050606506): `slot-00.claim` through
|
|
78
|
+
* `slot-<N-1>.claim`. Every candidate -- automatic or user-initiated -- atomically claims exactly
|
|
79
|
+
* one slot (exclusive-create, content the owning incidentId) before its record is written, so the
|
|
80
|
+
* store's total-count quota (`MAX_SUPPORT_INCIDENTS` in keiko-server) holds across processes with
|
|
81
|
+
* no read-then-write race. keiko-server imports this constant rather than repeating the number, so
|
|
82
|
+
* the two can never drift apart.
|
|
83
|
+
*/
|
|
84
|
+
export const SUPPORT_INCIDENT_SLOT_COUNT = 32;
|
|
85
|
+
export function supportIncidentFileName(incidentId) {
|
|
86
|
+
if (!SUPPORT_INCIDENT_ID_PATTERN.test(incidentId)) {
|
|
87
|
+
throw new RangeError("invalid SupportIncident id");
|
|
88
|
+
}
|
|
89
|
+
return `incident-${incidentId}.json`;
|
|
90
|
+
}
|
|
91
|
+
export function supportIncidentSlotClaimFileName(slotIndex) {
|
|
92
|
+
if (!Number.isInteger(slotIndex) || slotIndex < 0 || slotIndex >= SUPPORT_INCIDENT_SLOT_COUNT) {
|
|
93
|
+
throw new RangeError("invalid SupportIncident quota slot index");
|
|
94
|
+
}
|
|
95
|
+
return `slot-${String(slotIndex).padStart(2, "0")}.claim`;
|
|
96
|
+
}
|
|
97
|
+
/** The slot index a closed-grammar slot-claim file name carries, else `undefined`. */
|
|
98
|
+
export function parseSupportIncidentSlotClaimFileName(name) {
|
|
99
|
+
const match = SLOT_CLAIM_FILE_PATTERN.exec(name);
|
|
100
|
+
if (match === null)
|
|
101
|
+
return undefined;
|
|
102
|
+
const slotIndex = Number(match[1]);
|
|
103
|
+
return slotIndex < SUPPORT_INCIDENT_SLOT_COUNT ? slotIndex : undefined;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* A defectFingerprint's dedup claim file: `fingerprint-<64 hex>.claim`. Exclusive-create with the
|
|
107
|
+
* owning incidentId as its whole content makes "at most one open registered-failure candidate per
|
|
108
|
+
* defectFingerprint" hold atomically across processes (#3533 review 4050606506) -- the exclusive
|
|
109
|
+
* create on the random incident-id file alone only ever protected the filename, never the
|
|
110
|
+
* fingerprint two processes could compute identically from the same failure.
|
|
111
|
+
*/
|
|
112
|
+
export function supportIncidentFingerprintClaimFileName(defectFingerprint) {
|
|
113
|
+
if (!isDefectFingerprint(defectFingerprint)) {
|
|
114
|
+
throw new RangeError("invalid defectFingerprint");
|
|
115
|
+
}
|
|
116
|
+
return `fingerprint-${defectFingerprint}.claim`;
|
|
117
|
+
}
|
|
118
|
+
/** The fingerprint a closed-grammar fingerprint-claim file name carries, else `undefined`. */
|
|
119
|
+
export function parseSupportIncidentFingerprintClaimFileName(name) {
|
|
120
|
+
return FINGERPRINT_CLAIM_FILE_PATTERN.exec(name)?.[1];
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* A closed-grammar identifier this store file name carries: the incident id for an
|
|
124
|
+
* `incident-<id>.json` record, the defectFingerprint for a `fingerprint-<fp>.claim` dedup claim, or
|
|
125
|
+
* the slot index (as a decimal string) for a `slot-<NN>.claim` quota claim -- `undefined` for
|
|
126
|
+
* anything outside the grammar. This is the one function the repair/uninstall ownership predicate
|
|
127
|
+
* calls (`state-paths.ts`), so every file kind this store ever creates must stay recognized here;
|
|
128
|
+
* a caller that needs a real incident id specifically must also confirm it with
|
|
129
|
+
* `isSupportIncidentId`, since a fingerprint or a slot index is never one.
|
|
130
|
+
*/
|
|
131
|
+
export function parseSupportIncidentFileName(name) {
|
|
132
|
+
const incidentId = INCIDENT_FILE_PATTERN.exec(name)?.[1];
|
|
133
|
+
if (incidentId !== undefined)
|
|
134
|
+
return incidentId;
|
|
135
|
+
const fingerprint = FINGERPRINT_CLAIM_FILE_PATTERN.exec(name)?.[1];
|
|
136
|
+
if (fingerprint !== undefined)
|
|
137
|
+
return fingerprint;
|
|
138
|
+
const slotIndex = parseSupportIncidentSlotClaimFileName(name);
|
|
139
|
+
return slotIndex === undefined ? undefined : String(slotIndex);
|
|
140
|
+
}
|
|
141
|
+
export function isSupportIncidentId(value) {
|
|
142
|
+
return typeof value === "string" && SUPPORT_INCIDENT_ID_PATTERN.test(value);
|
|
143
|
+
}
|
|
144
|
+
export function isDefectFingerprint(value) {
|
|
145
|
+
return typeof value === "string" && DEFECT_FINGERPRINT_PATTERN.test(value);
|
|
146
|
+
}
|
|
147
|
+
export function isSupportIncidentSurface(value) {
|
|
148
|
+
return (value === SUPPORT_INCIDENT_UNATTRIBUTED ||
|
|
149
|
+
ACTIVITY_LOG_FAILURE_SURFACES.includes(value));
|
|
150
|
+
}
|
|
151
|
+
// `packages/<pkg>/(dist|src)/<module>.(js|ts):<line>:<col>` or `(dist|src)/cli/<module>...`: the
|
|
152
|
+
// shape the Activity Log's frame reducer emits. Anything else is not a Keiko frame and is dropped.
|
|
153
|
+
const KEIKO_FRAME_PATTERN = /^(?:packages\/(keiko-[a-z0-9-]+)\/(?:dist|src)|(?:dist|src)\/(cli))\/([A-Za-z0-9_./-]{1,160})\.(?:js|ts):\d{1,6}:\d{1,6}$/u;
|
|
154
|
+
const TRAVERSAL_PATTERN = /(?:^|\/)\.\.(?:$|\/)/u;
|
|
155
|
+
/**
|
|
156
|
+
* Reduces one frame to its stable module identity: `<package>/<module path without extension>`.
|
|
157
|
+
* Line and column, the dist/src distinction, and the file extension are dropped so a rebuild, a
|
|
158
|
+
* release, and a source checkout all yield the same identity. Returns `undefined` for anything
|
|
159
|
+
* that is not a Keiko frame (never a partially redacted remainder).
|
|
160
|
+
*/
|
|
161
|
+
export function normalizeKeikoFrame(frame) {
|
|
162
|
+
const match = KEIKO_FRAME_PATTERN.exec(frame);
|
|
163
|
+
if (match === null)
|
|
164
|
+
return undefined;
|
|
165
|
+
const [, workspacePackage, cli, modulePath = ""] = match;
|
|
166
|
+
if (TRAVERSAL_PATTERN.test(modulePath) || modulePath.startsWith("/"))
|
|
167
|
+
return undefined;
|
|
168
|
+
return `${workspacePackage ?? cli ?? ""}/${modulePath}`;
|
|
169
|
+
}
|
|
170
|
+
/** The normalized, bounded frame signature: Keiko frames only, consecutive repeats collapsed. */
|
|
171
|
+
export function normalizeKeikoFrameSignature(frames) {
|
|
172
|
+
const signature = [];
|
|
173
|
+
for (const frame of frames) {
|
|
174
|
+
if (signature.length >= MAX_DEFECT_FINGERPRINT_FRAMES)
|
|
175
|
+
break;
|
|
176
|
+
const normalized = typeof frame === "string" ? normalizeKeikoFrame(frame) : undefined;
|
|
177
|
+
if (normalized !== undefined && signature.at(-1) !== normalized)
|
|
178
|
+
signature.push(normalized);
|
|
179
|
+
}
|
|
180
|
+
return signature;
|
|
181
|
+
}
|
|
182
|
+
function validOperation(value) {
|
|
183
|
+
return (typeof value === "string" &&
|
|
184
|
+
(value === SUPPORT_INCIDENT_UNATTRIBUTED ||
|
|
185
|
+
(value.length <= MAX_OPERATION_LENGTH && OPERATION_PATTERN.test(value))));
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* The canonical fingerprint preimage. A JSON array of strings and one integer is an unambiguous
|
|
189
|
+
* framing (no separator can be forged by an input), and every input is closed or normalized
|
|
190
|
+
* first, so only allowlisted stable values ever reach the hash. Throws for an input outside the
|
|
191
|
+
* closed domain instead of fingerprinting it.
|
|
192
|
+
*/
|
|
193
|
+
export function defectFingerprintPreimage(input) {
|
|
194
|
+
if (!isSupportIncidentSurface(input.surface))
|
|
195
|
+
throw new RangeError("invalid surface");
|
|
196
|
+
if (!validOperation(input.op))
|
|
197
|
+
throw new RangeError("invalid operation");
|
|
198
|
+
if (!isActivityLogErrorKind(input.errorKind))
|
|
199
|
+
throw new RangeError("invalid errorKind");
|
|
200
|
+
return JSON.stringify([
|
|
201
|
+
"keiko-defect-fingerprint",
|
|
202
|
+
DEFECT_FINGERPRINT_ALGORITHM_VERSION,
|
|
203
|
+
input.surface,
|
|
204
|
+
input.op,
|
|
205
|
+
input.errorKind,
|
|
206
|
+
...normalizeKeikoFrameSignature(input.frames),
|
|
207
|
+
]);
|
|
208
|
+
}
|
|
209
|
+
/** The fixed fingerprint inputs of an incident without a registered failure to attribute. */
|
|
210
|
+
export const UNATTRIBUTED_DEFECT_FINGERPRINT_INPUT = {
|
|
211
|
+
surface: SUPPORT_INCIDENT_UNATTRIBUTED,
|
|
212
|
+
op: SUPPORT_INCIDENT_UNATTRIBUTED,
|
|
213
|
+
errorKind: "unknown",
|
|
214
|
+
frames: [],
|
|
215
|
+
};
|
|
216
|
+
/** The build identity of the running product, from the generated registry and safe classes. */
|
|
217
|
+
export function supportIncidentBuild(productVersion, platformClass) {
|
|
218
|
+
return {
|
|
219
|
+
productVersion,
|
|
220
|
+
platformClass,
|
|
221
|
+
registryVersion: ACTIVITY_LOG_REGISTRY_VERSION,
|
|
222
|
+
schemaDigest: ACTIVITY_LOG_SCHEMA_DIGEST,
|
|
223
|
+
catalogDigest: ACTIVITY_LOG_CATALOG_DIGEST,
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
function isPlainObject(value) {
|
|
227
|
+
return (typeof value === "object" &&
|
|
228
|
+
value !== null &&
|
|
229
|
+
!Array.isArray(value) &&
|
|
230
|
+
Object.getPrototypeOf(value) === Object.prototype);
|
|
231
|
+
}
|
|
232
|
+
function hasOnlyKeys(value, required, optional = []) {
|
|
233
|
+
const own = Object.keys(value);
|
|
234
|
+
return (required.every((key) => own.includes(key)) &&
|
|
235
|
+
own.every((key) => required.includes(key) || optional.includes(key)));
|
|
236
|
+
}
|
|
237
|
+
function isCount(value) {
|
|
238
|
+
return typeof value === "number" && Number.isSafeInteger(value) && value >= 0;
|
|
239
|
+
}
|
|
240
|
+
function isOneOf(values, value) {
|
|
241
|
+
return values.includes(value);
|
|
242
|
+
}
|
|
243
|
+
function validFingerprint(value) {
|
|
244
|
+
return (isPlainObject(value) &&
|
|
245
|
+
hasOnlyKeys(value, [
|
|
246
|
+
"algorithm",
|
|
247
|
+
"defectFingerprint",
|
|
248
|
+
"surface",
|
|
249
|
+
"op",
|
|
250
|
+
"errorKind",
|
|
251
|
+
"frameCount",
|
|
252
|
+
]) &&
|
|
253
|
+
value.algorithm === DEFECT_FINGERPRINT_ALGORITHM_VERSION &&
|
|
254
|
+
isDefectFingerprint(value.defectFingerprint) &&
|
|
255
|
+
isSupportIncidentSurface(value.surface) &&
|
|
256
|
+
validOperation(value.op) &&
|
|
257
|
+
isActivityLogErrorKind(value.errorKind) &&
|
|
258
|
+
isCount(value.frameCount) &&
|
|
259
|
+
value.frameCount <= MAX_DEFECT_FINGERPRINT_FRAMES);
|
|
260
|
+
}
|
|
261
|
+
function validCorrelation(value) {
|
|
262
|
+
if (!isPlainObject(value) ||
|
|
263
|
+
!hasOnlyKeys(value, ["childCorrelationIds"], ["rootCorrelationId"])) {
|
|
264
|
+
return false;
|
|
265
|
+
}
|
|
266
|
+
const children = value.childCorrelationIds;
|
|
267
|
+
return ((value.rootCorrelationId === undefined ||
|
|
268
|
+
isActivityLogCorrelationId(value.rootCorrelationId)) &&
|
|
269
|
+
Array.isArray(children) &&
|
|
270
|
+
children.length <= MAX_SUPPORT_INCIDENT_CHILD_CORRELATIONS &&
|
|
271
|
+
children.every(isActivityLogCorrelationId));
|
|
272
|
+
}
|
|
273
|
+
function validBuild(value) {
|
|
274
|
+
return (isPlainObject(value) &&
|
|
275
|
+
hasOnlyKeys(value, [
|
|
276
|
+
"productVersion",
|
|
277
|
+
"platformClass",
|
|
278
|
+
"registryVersion",
|
|
279
|
+
"schemaDigest",
|
|
280
|
+
"catalogDigest",
|
|
281
|
+
]) &&
|
|
282
|
+
isActivityLogProductVersion(value.productVersion) &&
|
|
283
|
+
isActivityLogPlatformClass(value.platformClass) &&
|
|
284
|
+
isCount(value.registryVersion) &&
|
|
285
|
+
isActivityLogIdentityDigest(value.schemaDigest) &&
|
|
286
|
+
isActivityLogIdentityDigest(value.catalogDigest));
|
|
287
|
+
}
|
|
288
|
+
function validWindow(value) {
|
|
289
|
+
return (isPlainObject(value) &&
|
|
290
|
+
hasOnlyKeys(value, ["fromMs", "incidentAtMs", "toMs"]) &&
|
|
291
|
+
isCount(value.fromMs) &&
|
|
292
|
+
isCount(value.incidentAtMs) &&
|
|
293
|
+
isCount(value.toMs) &&
|
|
294
|
+
value.fromMs <= value.incidentAtMs &&
|
|
295
|
+
value.incidentAtMs <= value.toMs);
|
|
296
|
+
}
|
|
297
|
+
function validPin(value) {
|
|
298
|
+
if (!isPlainObject(value))
|
|
299
|
+
return false;
|
|
300
|
+
if (!hasOnlyKeys(value, ["status", "pinnedSegmentCount", "pinnedBytes", "evidenceLostBeforePin"], ["pinId"])) {
|
|
301
|
+
return false;
|
|
302
|
+
}
|
|
303
|
+
const pinned = value.status !== "rejected";
|
|
304
|
+
return (isOneOf(SUPPORT_INCIDENT_PIN_STATUSES, value.status) &&
|
|
305
|
+
(pinned
|
|
306
|
+
? typeof value.pinId === "string" && ACTIVITY_LOG_PIN_ID_PATTERN.test(value.pinId)
|
|
307
|
+
: value.pinId === undefined) &&
|
|
308
|
+
isCount(value.pinnedSegmentCount) &&
|
|
309
|
+
isCount(value.pinnedBytes) &&
|
|
310
|
+
typeof value.evidenceLostBeforePin === "boolean");
|
|
311
|
+
}
|
|
312
|
+
const RECORD_KEYS = [
|
|
313
|
+
"schemaVersion",
|
|
314
|
+
"incidentId",
|
|
315
|
+
"trigger",
|
|
316
|
+
"state",
|
|
317
|
+
"fingerprint",
|
|
318
|
+
"correlation",
|
|
319
|
+
"build",
|
|
320
|
+
"window",
|
|
321
|
+
"pin",
|
|
322
|
+
"slotIndex",
|
|
323
|
+
"createdAtMs",
|
|
324
|
+
"expiresAtMs",
|
|
325
|
+
];
|
|
326
|
+
function validRecordHeader(value) {
|
|
327
|
+
return (hasOnlyKeys(value, RECORD_KEYS) &&
|
|
328
|
+
value.schemaVersion === SUPPORT_INCIDENT_SCHEMA_VERSION &&
|
|
329
|
+
isSupportIncidentId(value.incidentId) &&
|
|
330
|
+
isOneOf(SUPPORT_INCIDENT_TRIGGERS, value.trigger) &&
|
|
331
|
+
isOneOf(SUPPORT_INCIDENT_STATES, value.state) &&
|
|
332
|
+
isCount(value.slotIndex) &&
|
|
333
|
+
value.slotIndex < SUPPORT_INCIDENT_SLOT_COUNT &&
|
|
334
|
+
isCount(value.createdAtMs) &&
|
|
335
|
+
isCount(value.expiresAtMs) &&
|
|
336
|
+
value.expiresAtMs > value.createdAtMs);
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* Parses one persisted record against the closed schema. Unknown keys, unknown versions, unknown
|
|
340
|
+
* vocabulary values, and out-of-bound values all yield `undefined`: an unreadable record protects
|
|
341
|
+
* and describes nothing, exactly like an unreadable Activity Log pin record.
|
|
342
|
+
*/
|
|
343
|
+
export function parseSupportIncidentRecord(value) {
|
|
344
|
+
if (!isPlainObject(value) || !validRecordHeader(value))
|
|
345
|
+
return undefined;
|
|
346
|
+
return validFingerprint(value.fingerprint) &&
|
|
347
|
+
validCorrelation(value.correlation) &&
|
|
348
|
+
validBuild(value.build) &&
|
|
349
|
+
validWindow(value.window) &&
|
|
350
|
+
validPin(value.pin)
|
|
351
|
+
? value
|
|
352
|
+
: undefined;
|
|
353
|
+
}
|
|
354
|
+
// ─── The resolved descriptor and its two projections ───────────────────────────────────────────
|
|
355
|
+
/** Integrity of the pinned window as the analyzer classified it (ADR-0173 compatibility). */
|
|
356
|
+
export const SUPPORT_INCIDENT_EVIDENCE_INTEGRITY = [
|
|
357
|
+
"supported",
|
|
358
|
+
"legacy",
|
|
359
|
+
"unsupported",
|
|
360
|
+
"corrupt",
|
|
361
|
+
"truncated",
|
|
362
|
+
"incomplete",
|
|
363
|
+
];
|
|
364
|
+
export function supportIncidentPublicProjection(incident) {
|
|
365
|
+
return {
|
|
366
|
+
schemaVersion: incident.schemaVersion,
|
|
367
|
+
incidentId: incident.incidentId,
|
|
368
|
+
defectFingerprint: incident.fingerprint.defectFingerprint,
|
|
369
|
+
fingerprintAlgorithm: incident.fingerprint.algorithm,
|
|
370
|
+
trigger: incident.trigger,
|
|
371
|
+
productVersion: incident.build.productVersion,
|
|
372
|
+
platformClass: incident.build.platformClass,
|
|
373
|
+
surface: incident.fingerprint.surface,
|
|
374
|
+
op: incident.fingerprint.op,
|
|
375
|
+
errorKind: incident.fingerprint.errorKind,
|
|
376
|
+
sufficiencyStatus: incident.sufficiency.status,
|
|
377
|
+
integrity: incident.evidence.integrity,
|
|
378
|
+
completeness: incident.evidence.completeness,
|
|
379
|
+
loss: incident.evidence.loss,
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
export function supportIncidentPrivateProjection(incident) {
|
|
383
|
+
return {
|
|
384
|
+
...supportIncidentPublicProjection(incident),
|
|
385
|
+
state: incident.state,
|
|
386
|
+
frameCount: incident.fingerprint.frameCount,
|
|
387
|
+
build: { ...incident.build },
|
|
388
|
+
correlation: {
|
|
389
|
+
...(incident.correlation.rootCorrelationId === undefined
|
|
390
|
+
? {}
|
|
391
|
+
: { rootCorrelationId: incident.correlation.rootCorrelationId }),
|
|
392
|
+
childCorrelationIds: [...incident.correlation.childCorrelationIds],
|
|
393
|
+
},
|
|
394
|
+
window: { ...incident.window },
|
|
395
|
+
pin: { ...incident.pin },
|
|
396
|
+
segments: incident.evidence.segments.map((segment) => ({ ...segment })),
|
|
397
|
+
lineCount: incident.evidence.lineCount,
|
|
398
|
+
sufficiencyReasons: [...incident.sufficiency.reasons],
|
|
399
|
+
coverage: { ...incident.sufficiency.coverage },
|
|
400
|
+
createdAtMs: incident.createdAtMs,
|
|
401
|
+
expiresAtMs: incident.expiresAtMs,
|
|
402
|
+
};
|
|
403
|
+
}
|
|
@@ -27,6 +27,9 @@ export interface VerificationDependencyEgress {
|
|
|
27
27
|
}
|
|
28
28
|
/** Body-free record of the dependency bootstrap on a report: never output, never a path. */
|
|
29
29
|
export interface VerificationDependencySummary {
|
|
30
|
+
/** Private process receipt; workspace files never establish completion provenance. */
|
|
31
|
+
readonly completionReceipt?: "missing" | "changed" | "current";
|
|
32
|
+
readonly completionRecorded?: boolean;
|
|
30
33
|
readonly state: VerificationDependencyState;
|
|
31
34
|
readonly lockfile: VerificationLockfileState;
|
|
32
35
|
readonly exitCode: number | null;
|