@oscharko-dev/keiko 1.3.3 → 1.3.5
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 +18 -0
- package/dist/ui/csp-hashes.json +6 -6
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +15 -15
- package/dist/ui/static/__next._full.txt +15 -15
- package/dist/ui/static/__next._index.txt +5 -5
- package/dist/ui/static/__next._tree.txt +2 -2
- package/dist/ui/static/_next/static/chunks/0-i2xjcha5mb7.js +1 -0
- package/dist/ui/static/_next/static/chunks/{36k6xayb_mepf.js → 06g3oe93r_678.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0djrsx1yq9q3r.js +3 -0
- package/dist/ui/static/_next/static/chunks/{0hdqqtdtlw3ti.js → 0r77lkincf-_m.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{1jw91zv_4zsq5.js → 0z_5240lhcdze.js} +1 -1
- package/dist/ui/static/_next/static/chunks/137dt5kr-1__b.js +1 -0
- package/dist/ui/static/_next/static/chunks/13ov-3t5gszyf.js +1 -0
- package/dist/ui/static/_next/static/chunks/1_rx0zd2gpqyu.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0x35q9z0tiicw.js → 1buzq8xbrkl5r.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1fkf-yv61zx2b.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2dxbsvbfd0b2d.js → 1i-keu61dby7z.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1pqcljp4_2qe3.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1uly-k9l4q3bk.js → 2-i--dmljgxls.js} +1 -1
- package/dist/ui/static/_next/static/chunks/21y9ezefwidlf.js +1 -0
- package/dist/ui/static/_next/static/chunks/23azcdt9vudem.js +1 -0
- package/dist/ui/static/_next/static/chunks/{06d6c74v_hg_g.js → 28jbqfl7obckb.js} +1 -1
- package/dist/ui/static/_next/static/chunks/28os13ehcs0w8.js +1 -0
- package/dist/ui/static/_next/static/chunks/28qkmmimb75ae.css +4 -0
- package/dist/ui/static/_next/static/chunks/{2o7pr5mit74id.css → 29xkz3907owjy.css} +3 -3
- package/dist/ui/static/_next/static/chunks/{3l06hi3xkcn82.js → 2l7fx-klib93f.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{249nvi2mcd8y_.js → 2qrbagnu1-dgt.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2rn7qy5l22wex.js +1 -0
- package/dist/ui/static/_next/static/chunks/2svyhwq3u6czg.js +1 -0
- package/dist/ui/static/_next/static/chunks/2tf596skd93nv.js +1 -0
- package/dist/ui/static/_next/static/chunks/2wfyqggh0fnqz.js +1 -0
- package/dist/ui/static/_next/static/chunks/35ha_z9n1aouj.js +4 -0
- package/dist/ui/static/_next/static/chunks/368errcbd6o_y.js +1 -0
- package/dist/ui/static/_next/static/chunks/371e736g0zot0.js +1 -0
- package/dist/ui/static/_next/static/chunks/37j3f91kw2ss1.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1lx_k4r3_3_k8.js → 3apw-eem5wchc.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3chl41-ji247o.js +2 -0
- package/dist/ui/static/_next/static/chunks/3fvxpzfnyqrqy.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3_xj8v4_gq-15.js → 3jclkr9npha_g.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{1hv5i64znwlbu.js → 3ktuwnqu-kln5.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3p88bedlr67z3.js +1 -0
- package/dist/ui/static/_next/static/chunks/3pfzo7lskb82h.js +1 -0
- package/dist/ui/static/_next/static/chunks/{15iwz3570nbcl.js → 3ram28kwenqtb.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3vcan7x5acmin.js +1 -0
- package/dist/ui/static/_next/static/chunks/3w2jrdn8n3a_q.js +1 -0
- package/dist/ui/static/_next/static/chunks/3xximf7pr40jh.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3p6jy_na2pnh8.js → 42ujh8mqvkem7.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{32bpm9l-zxjtg.js → 431tcidb2ski1.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{175-dw1j1dsnt.js → 44q6rup2gv3_v.js} +3 -3
- package/dist/ui/static/_not-found/__next._full.txt +5 -5
- package/dist/ui/static/_not-found/__next._index.txt +5 -5
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +5 -5
- 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 +5 -5
- package/dist/ui/static/atlassian-connectors/__next._full.txt +5 -5
- package/dist/ui/static/atlassian-connectors/__next._index.txt +5 -5
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +5 -5
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +5 -5
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +15 -15
- package/dist/ui/static/launch/__next._full.txt +15 -15
- package/dist/ui/static/launch/__next._index.txt +5 -5
- package/dist/ui/static/launch/__next._tree.txt +2 -2
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +15 -15
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +15 -15
- package/dist/ui/static/local-knowledge/__next._full.txt +15 -15
- package/dist/ui/static/local-knowledge/__next._index.txt +5 -5
- package/dist/ui/static/local-knowledge/__next._tree.txt +2 -2
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +15 -15
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +7 -7
- package/dist/ui/static/local-knowledge/capsule/__next._index.txt +5 -5
- 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 +7 -7
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +7 -7
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +15 -15
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory-data.generated.json +27 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.js +12 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.js +17 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-cli/package.json +15 -15
- 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 +44 -4
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.js +58 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-coverage.generated.json +383 -4
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-identity.generated.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-identity.generated.js +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operation-surfaces.generated.json +4 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts +326 -11
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.js +403 -4
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-delivery.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-delivery.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-delivery.js +9 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-git.d.ts +24 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-git.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-git.js +38 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts +17 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.js +23 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts +8 -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 +25 -8
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.js +4 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts +21 -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 +64 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/draft-delivery.d.ts +78 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/draft-delivery.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/draft-delivery.js +89 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/task-workspace.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/task-workspace.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/task-workspace.js +49 -0
- 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/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-evidence/dist/compaction-evidence.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-evidence/dist/compaction-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/compaction-evidence.js +29 -53
- package/node_modules/@oscharko-dev/keiko-evidence/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/index.js +1 -1
- 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/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/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-mcp/package.json +3 -3
- 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/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/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/http.d.ts +1 -0
- 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 +43 -4
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prompt-token-accounting.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prompt-token-accounting.js +4 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/rerank-adapter.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/rerank-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/rerank-adapter.js +5 -2
- 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 +52 -13
- 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/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/activity-line-fields.d.ts +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/activity-line-fields.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/activity-line-fields.js +23 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatMutation.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatMutation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatMutation.js +6 -45
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationResult.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationResult.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationResult.js +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-call.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-call.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-call.js +41 -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 +138 -26
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-status.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-status.js +19 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-checkpoint.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-checkpoint.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-checkpoint.js +85 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.d.ts +24 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.js +101 -1
- 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 +10 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-rehydration.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-rehydration.js +149 -52
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.js +20 -0
- 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 +52 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/boundedRunRecords.d.ts +17 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/boundedRunRecords.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/boundedRunRecords.js +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodBinding.d.ts +84 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodBinding.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodBinding.js +193 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodMcp.d.ts +37 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodMcp.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodMcp.js +304 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts +4 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.js +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiReadinessStore.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiReadinessStore.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiReadinessStore.js +2 -1
- 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 +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliverySource.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliverySource.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliverySource.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliveryStore.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliveryStore.js +14 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeGitIpc.d.ts +12 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeGitIpc.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeGitIpc.js +12 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts +2 -0
- 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 +9 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts +1 -1
- 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 +15 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts +8 -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/codingRuntimeStartConfirmation.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeStartConfirmation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeStartConfirmation.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts +1 -0
- 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 +45 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolApprovalBridge.d.ts +15 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolApprovalBridge.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolApprovalBridge.js +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.js +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts +6 -0
- 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 +112 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts +10 -0
- 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/codingToolIpc.js +30 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolNativeEffect.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolNativeEffect.js +9 -3
- 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 +10 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedSyncHeads.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedSyncHeads.js +3 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedTaskBranches.d.ts +38 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedTaskBranches.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedTaskBranches.js +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.js +28 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.js +18 -0
- 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 +4 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeDeliveryTools.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeDeliveryTools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeDeliveryTools.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeMcp.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeMcp.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeMcp.js +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativePolicy.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativePolicy.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativePolicy.js +58 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeWorktree.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeWorktree.js +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeProtocol.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeProtocol.js +12 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRevert.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRevert.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRevert.js +10 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.js +61 -44
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts +5 -0
- 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 +21 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts +37 -1
- 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 +23 -0
- 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 +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts +13 -0
- 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 +95 -9
- 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 +122 -18
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryRuntime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryRuntime.js +11 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts +6 -0
- 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 +164 -42
- 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 +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts +6 -0
- 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 +22 -4
- 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 +6 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.js +30 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionTaskBranchPort.d.ts +26 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionTaskBranchPort.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionTaskBranchPort.js +36 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionVerifiedCommitRuntime.d.ts +8 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionVerifiedCommitRuntime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionVerifiedCommitRuntime.js +17 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts +10 -0
- 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 +22 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.js +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/supervisedCodingPolicy.js +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts +8 -0
- 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 +199 -38
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +74 -21
- 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 +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts +45 -12
- 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 +239 -151
- 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 +18 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.js +8 -5
- 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 +7 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciReadinessSnapshot.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciReadinessSnapshot.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciReadinessSnapshot.js +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryChecksRefresh.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryChecksRefresh.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryEffects.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryEffects.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryEffects.js +39 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryFacts.d.ts +17 -5
- 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 +79 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryLedger.d.ts +4 -1
- 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 +21 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryService.d.ts +8 -0
- 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 +152 -21
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryServiceTestSupport.d.ts +31 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryServiceTestSupport.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryServiceTestSupport.js +51 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTemplate.d.ts +6 -2
- 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 +9 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTypes.d.ts +41 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTypes.js +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.d.ts +8 -0
- 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 +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.d.ts +2 -2
- 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 +4 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyOutcome.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyOutcome.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyOutcome.js +4 -2
- 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 +5 -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 +6 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitBranch.d.ts +74 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitBranch.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitBranch.js +188 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitService.d.ts +10 -0
- 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 +103 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitFacts.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitFacts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitFacts.js +12 -0
- 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 +97 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitTypes.d.ts +9 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitVerification.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitVerification.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitVerification.js +28 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.js +17 -5
- 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 +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpCredentialRelay.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpCredentialRelay.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpCredentialRelay.js +14 -27
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-embedding.d.ts +2 -1
- 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 +10 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.js +1 -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 +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatContinuity.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatContinuity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatContinuity.js +85 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearch.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearch.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearch.js +59 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearchSchema.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearchSchema.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearchSchema.js +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/codingHistoryIsolation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/codingHistoryIsolation.js +17 -4
- 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 +5 -0
- 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 +14 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.d.ts +9 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.js +76 -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 +30 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts +27 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/activity-log.d.ts +21 -1
- 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 +46 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/canonical-root.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/canonical-root.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/canonical-root.js +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/folder-workspace.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/folder-workspace.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/folder-workspace.js +151 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.d.ts +7 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.js +91 -53
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.js +40 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/store.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/store.js +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/types.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/types.d.ts.map +1 -1
- 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 +8 -0
- package/node_modules/@oscharko-dev/keiko-server/package.json +25 -25
- 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 +34 -3
- package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-node.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-node.js +14 -1
- 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/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/node_modules/@sigstore/tuf/LICENSE +202 -0
- package/node_modules/@sigstore/tuf/README.md +69 -0
- package/node_modules/@sigstore/tuf/dist/appdata.d.ts +1 -0
- package/node_modules/@sigstore/tuf/dist/appdata.js +43 -0
- package/node_modules/@sigstore/tuf/dist/client.d.ts +23 -0
- package/node_modules/@sigstore/tuf/dist/client.js +116 -0
- package/node_modules/@sigstore/tuf/dist/error.d.ts +11 -0
- package/node_modules/@sigstore/tuf/dist/error.js +14 -0
- package/node_modules/@sigstore/tuf/dist/index.d.ts +10 -0
- package/node_modules/@sigstore/tuf/dist/index.js +56 -0
- package/node_modules/@sigstore/tuf/dist/target.d.ts +2 -0
- package/node_modules/@sigstore/tuf/dist/target.js +79 -0
- package/node_modules/@sigstore/tuf/package.json +33 -0
- package/node_modules/@sigstore/tuf/seeds.json +1 -0
- package/node_modules/@tufjs/models/LICENSE +21 -0
- package/node_modules/@tufjs/models/README.md +3 -0
- package/node_modules/@tufjs/models/dist/base.d.ts +37 -0
- package/node_modules/@tufjs/models/dist/base.js +96 -0
- package/node_modules/@tufjs/models/dist/delegations.d.ts +32 -0
- package/node_modules/@tufjs/models/dist/delegations.js +119 -0
- package/node_modules/@tufjs/models/dist/error.d.ts +12 -0
- package/node_modules/@tufjs/models/dist/error.js +27 -0
- package/node_modules/@tufjs/models/dist/file.d.ts +38 -0
- package/node_modules/@tufjs/models/dist/file.js +191 -0
- package/node_modules/@tufjs/models/dist/index.d.ts +10 -0
- package/node_modules/@tufjs/models/dist/index.js +24 -0
- package/node_modules/@tufjs/models/dist/key.d.ts +21 -0
- package/node_modules/@tufjs/models/dist/key.js +90 -0
- package/node_modules/@tufjs/models/dist/metadata.d.ts +47 -0
- package/node_modules/@tufjs/models/dist/metadata.js +165 -0
- package/node_modules/@tufjs/models/dist/role.d.ts +103 -0
- package/node_modules/@tufjs/models/dist/role.js +310 -0
- package/node_modules/@tufjs/models/dist/root.d.ts +29 -0
- package/node_modules/@tufjs/models/dist/root.js +119 -0
- package/node_modules/@tufjs/models/dist/signature.d.ts +20 -0
- package/node_modules/@tufjs/models/dist/signature.js +40 -0
- package/node_modules/@tufjs/models/dist/snapshot.d.ts +23 -0
- package/node_modules/@tufjs/models/dist/snapshot.js +72 -0
- package/node_modules/@tufjs/models/dist/targets.d.ts +20 -0
- package/node_modules/@tufjs/models/dist/targets.js +94 -0
- package/node_modules/@tufjs/models/dist/timestamp.d.ts +21 -0
- package/node_modules/@tufjs/models/dist/timestamp.js +59 -0
- package/node_modules/@tufjs/models/dist/utils/guard.d.ts +7 -0
- package/node_modules/@tufjs/models/dist/utils/guard.js +32 -0
- package/node_modules/@tufjs/models/dist/utils/index.d.ts +3 -0
- package/node_modules/@tufjs/models/dist/utils/index.js +38 -0
- package/node_modules/@tufjs/models/dist/utils/key.d.ts +8 -0
- package/node_modules/@tufjs/models/dist/utils/key.js +142 -0
- package/node_modules/@tufjs/models/dist/utils/oid.d.ts +1 -0
- package/node_modules/@tufjs/models/dist/utils/oid.js +26 -0
- package/node_modules/@tufjs/models/dist/utils/types.d.ts +4 -0
- package/node_modules/@tufjs/models/dist/utils/types.js +2 -0
- package/node_modules/@tufjs/models/dist/utils/verify.d.ts +3 -0
- package/node_modules/@tufjs/models/dist/utils/verify.js +13 -0
- package/node_modules/@tufjs/models/package.json +34 -0
- package/node_modules/tuf-js/LICENSE +21 -0
- package/node_modules/tuf-js/README.md +3 -0
- package/node_modules/tuf-js/dist/config.d.ts +15 -0
- package/node_modules/tuf-js/dist/config.js +16 -0
- package/node_modules/tuf-js/dist/error.d.ts +22 -0
- package/node_modules/tuf-js/dist/error.js +49 -0
- package/node_modules/tuf-js/dist/fetcher.d.ts +25 -0
- package/node_modules/tuf-js/dist/fetcher.js +131 -0
- package/node_modules/tuf-js/dist/index.d.ts +6 -0
- package/node_modules/tuf-js/dist/index.js +9 -0
- package/node_modules/tuf-js/dist/store.d.ts +18 -0
- package/node_modules/tuf-js/dist/store.js +219 -0
- package/node_modules/tuf-js/dist/updater.d.ts +35 -0
- package/node_modules/tuf-js/dist/updater.js +373 -0
- package/node_modules/tuf-js/dist/utils/tmpfile.d.ts +3 -0
- package/node_modules/tuf-js/dist/utils/tmpfile.js +25 -0
- package/node_modules/tuf-js/dist/utils/url.d.ts +1 -0
- package/node_modules/tuf-js/dist/utils/url.js +13 -0
- package/node_modules/tuf-js/package.json +35 -0
- package/package.json +42 -34
- package/release-impact.catalog.json +188 -23
- package/vendor/oscharko-dev-keiko-activity-log-1.3.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-cli-1.3.3.tgz → oscharko-dev-keiko-cli-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.3.3.tgz → oscharko-dev-keiko-connectors-1.3.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.3.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.3.3.tgz → oscharko-dev-keiko-evaluations-1.3.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.3.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-git-1.3.3.tgz → oscharko-dev-keiko-git-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.3.3.tgz → oscharko-dev-keiko-harness-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-local-knowledge-1.3.3.tgz → oscharko-dev-keiko-local-knowledge-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-mcp-1.3.3.tgz → oscharko-dev-keiko-mcp-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.3.3.tgz → oscharko-dev-keiko-memory-capture-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-consolidation-1.3.3.tgz → oscharko-dev-keiko-memory-consolidation-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.3.3.tgz → oscharko-dev-keiko-memory-governance-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-1.3.3.tgz → oscharko-dev-keiko-memory-retrieval-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-1.3.3.tgz → oscharko-dev-keiko-memory-vault-1.3.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.3.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.3.3.tgz → oscharko-dev-keiko-quality-intelligence-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-sandbox-1.3.3.tgz → oscharko-dev-keiko-sandbox-1.3.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sdk-1.3.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-security-1.3.3.tgz → oscharko-dev-keiko-security-1.3.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-server-1.3.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.3.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.3.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-verification-1.3.3.tgz → oscharko-dev-keiko-verification-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workflows-1.3.3.tgz → oscharko-dev-keiko-workflows-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workspace-1.3.3.tgz → oscharko-dev-keiko-workspace-1.3.5.tgz} +0 -0
- package/vendor/runtime-7ee58e70ec82a5310a8cfa05-5.0.0.tgz +0 -0
- package/vendor/runtime-adfa266be16990cea397db57-5.0.0.tgz +0 -0
- package/vendor/runtime-eb2c4f536814543400a0bd7d-6.0.0.tgz +0 -0
- package/dist/ui/static/_next/static/chunks/0-vpa4wvwcpe-.js +0 -1
- package/dist/ui/static/_next/static/chunks/0_6mtgmkla9qu.js +0 -1
- package/dist/ui/static/_next/static/chunks/0e5tuea6tlug3.js +0 -2
- package/dist/ui/static/_next/static/chunks/0ertzbirk17sb.js +0 -1
- package/dist/ui/static/_next/static/chunks/0kez3eb30_y20.js +0 -1
- package/dist/ui/static/_next/static/chunks/0r7w4-ed85x8_.js +0 -1
- package/dist/ui/static/_next/static/chunks/0s7h6q8gvga7e.js +0 -1
- package/dist/ui/static/_next/static/chunks/0yubxb7rh1hd0.js +0 -1
- package/dist/ui/static/_next/static/chunks/113i2ed523uql.js +0 -1
- package/dist/ui/static/_next/static/chunks/14qun_iwmflef.js +0 -1
- package/dist/ui/static/_next/static/chunks/18k43109q6nsu.css +0 -4
- package/dist/ui/static/_next/static/chunks/1d_810phvbt-v.js +0 -1
- package/dist/ui/static/_next/static/chunks/1fcza2wdia5qm.js +0 -1
- package/dist/ui/static/_next/static/chunks/1h2_yob002hof.js +0 -1
- package/dist/ui/static/_next/static/chunks/1yozvmb5fguqg.js +0 -1
- package/dist/ui/static/_next/static/chunks/226y24czlj0wp.js +0 -1
- package/dist/ui/static/_next/static/chunks/2ejhbs16gist6.js +0 -1
- package/dist/ui/static/_next/static/chunks/2w1kh71cy7enz.js +0 -1
- package/dist/ui/static/_next/static/chunks/39thlt_b984p5.js +0 -1
- package/dist/ui/static/_next/static/chunks/3bjc67n5rtpdi.js +0 -1
- package/dist/ui/static/_next/static/chunks/3cxu95lv35pdr.js +0 -4
- package/dist/ui/static/_next/static/chunks/3f63ftrt4blps.js +0 -1
- package/dist/ui/static/_next/static/chunks/3gaq95iqa9klb.js +0 -3
- package/dist/ui/static/_next/static/chunks/3qabgkg9agmqc.js +0 -1
- package/dist/ui/static/_next/static/chunks/3t4_kygctsf_7.js +0 -1
- package/dist/ui/static/_next/static/chunks/3z6tj3bwv9zix.js +0 -1
- package/vendor/oscharko-dev-keiko-activity-log-1.3.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.3.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.3.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.3.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sdk-1.3.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.3.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.3.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.3.3.tgz +0 -0
- /package/dist/ui/static/_next/static/{KmFW5oN4Tu2nC9Ox3ukB4 → DvyH4zbpyM3K-9QY4w0ah}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{KmFW5oN4Tu2nC9Ox3ukB4 → DvyH4zbpyM3K-9QY4w0ah}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{KmFW5oN4Tu2nC9Ox3ukB4 → DvyH4zbpyM3K-9QY4w0ah}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DefaultFetcher = exports.BaseFetcher = void 0;
|
|
7
|
+
const debug_1 = __importDefault(require("debug"));
|
|
8
|
+
const fs_1 = __importDefault(require("fs"));
|
|
9
|
+
const util_1 = __importDefault(require("util"));
|
|
10
|
+
const error_1 = require("./error");
|
|
11
|
+
const tmpfile_1 = require("./utils/tmpfile");
|
|
12
|
+
const promise_retry_1 = require("@gar/promise-retry");
|
|
13
|
+
const log = (0, debug_1.default)('tuf:fetch');
|
|
14
|
+
const USER_AGENT_HEADER = 'User-Agent';
|
|
15
|
+
class BaseFetcher {
|
|
16
|
+
// Download file from given URL. The file is downloaded to a temporary
|
|
17
|
+
// location and then passed to the given handler. The handler is responsible
|
|
18
|
+
// for moving the file to its final location. The temporary file is deleted
|
|
19
|
+
// after the handler returns.
|
|
20
|
+
async downloadFile(url, maxLength, handler) {
|
|
21
|
+
return (0, tmpfile_1.withTempFile)(async (tmpFile) => {
|
|
22
|
+
const reader = await this.fetch(url);
|
|
23
|
+
let numberOfBytesReceived = 0;
|
|
24
|
+
const fileStream = fs_1.default.createWriteStream(tmpFile);
|
|
25
|
+
// Read the stream a chunk at a time so that we can check
|
|
26
|
+
// the length of the file as we go
|
|
27
|
+
const streamReader = reader.getReader();
|
|
28
|
+
try {
|
|
29
|
+
while (true) {
|
|
30
|
+
const { done, value: chunk } = await streamReader.read();
|
|
31
|
+
if (done) {
|
|
32
|
+
break;
|
|
33
|
+
}
|
|
34
|
+
numberOfBytesReceived += chunk.length;
|
|
35
|
+
if (numberOfBytesReceived > maxLength) {
|
|
36
|
+
throw new error_1.DownloadLengthMismatchError('Max length reached');
|
|
37
|
+
}
|
|
38
|
+
await writeBufferToStream(fileStream, Buffer.from(chunk));
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
finally {
|
|
42
|
+
streamReader.releaseLock();
|
|
43
|
+
// Make sure we always close the stream
|
|
44
|
+
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
45
|
+
await util_1.default.promisify(fileStream.close).bind(fileStream)();
|
|
46
|
+
}
|
|
47
|
+
return handler(tmpFile);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
// Download bytes from given URL.
|
|
51
|
+
async downloadBytes(url, maxLength) {
|
|
52
|
+
return this.downloadFile(url, maxLength, async (file) => {
|
|
53
|
+
const stream = fs_1.default.createReadStream(file);
|
|
54
|
+
const chunks = [];
|
|
55
|
+
for await (const chunk of stream) {
|
|
56
|
+
chunks.push(chunk);
|
|
57
|
+
}
|
|
58
|
+
return Buffer.concat(chunks);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.BaseFetcher = BaseFetcher;
|
|
63
|
+
class DefaultFetcher extends BaseFetcher {
|
|
64
|
+
userAgent;
|
|
65
|
+
timeout;
|
|
66
|
+
retry;
|
|
67
|
+
constructor(options = {}) {
|
|
68
|
+
super();
|
|
69
|
+
this.userAgent = options.userAgent;
|
|
70
|
+
this.timeout = options.timeout;
|
|
71
|
+
// Map retry to OperationOptions
|
|
72
|
+
if (options.retry === true) {
|
|
73
|
+
this.retry = { forever: true };
|
|
74
|
+
}
|
|
75
|
+
else if (options.retry === false || options.retry === undefined) {
|
|
76
|
+
this.retry = undefined;
|
|
77
|
+
}
|
|
78
|
+
else if (typeof options.retry === 'number') {
|
|
79
|
+
if (options.retry < 0) {
|
|
80
|
+
throw new Error('Retry count must be non-negative number');
|
|
81
|
+
}
|
|
82
|
+
this.retry = { retries: options.retry };
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
this.retry = options.retry;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
async fetch(url) {
|
|
89
|
+
const shouldRetry = this.retry !== undefined;
|
|
90
|
+
return (0, promise_retry_1.promiseRetry)(async (retry, number) => {
|
|
91
|
+
log('GET %s (attempt %d)', url, number);
|
|
92
|
+
let response;
|
|
93
|
+
try {
|
|
94
|
+
response = await fetch(url, {
|
|
95
|
+
headers: {
|
|
96
|
+
[USER_AGENT_HEADER]: this.userAgent || '',
|
|
97
|
+
},
|
|
98
|
+
signal: this.timeout
|
|
99
|
+
? AbortSignal.timeout(this.timeout)
|
|
100
|
+
: undefined,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
catch (error) {
|
|
104
|
+
const err = error instanceof Error ? error : new Error(String(error));
|
|
105
|
+
if (shouldRetry) {
|
|
106
|
+
return retry(err);
|
|
107
|
+
}
|
|
108
|
+
throw err;
|
|
109
|
+
}
|
|
110
|
+
if (!response.ok || !response.body) {
|
|
111
|
+
const err = new error_1.DownloadHTTPError('Failed to download', response.status);
|
|
112
|
+
if (shouldRetry && response.status >= 500 && response.status < 600) {
|
|
113
|
+
return retry(err);
|
|
114
|
+
}
|
|
115
|
+
throw err;
|
|
116
|
+
}
|
|
117
|
+
return response.body;
|
|
118
|
+
}, this.retry);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.DefaultFetcher = DefaultFetcher;
|
|
122
|
+
const writeBufferToStream = async (stream, buffer) => {
|
|
123
|
+
return new Promise((resolve, reject) => {
|
|
124
|
+
stream.write(buffer, (err) => {
|
|
125
|
+
if (err) {
|
|
126
|
+
reject(err);
|
|
127
|
+
}
|
|
128
|
+
resolve(true);
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Updater = exports.BaseFetcher = exports.TargetFile = void 0;
|
|
4
|
+
var models_1 = require("@tufjs/models");
|
|
5
|
+
Object.defineProperty(exports, "TargetFile", { enumerable: true, get: function () { return models_1.TargetFile; } });
|
|
6
|
+
var fetcher_1 = require("./fetcher");
|
|
7
|
+
Object.defineProperty(exports, "BaseFetcher", { enumerable: true, get: function () { return fetcher_1.BaseFetcher; } });
|
|
8
|
+
var updater_1 = require("./updater");
|
|
9
|
+
Object.defineProperty(exports, "Updater", { enumerable: true, get: function () { return updater_1.Updater; } });
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Metadata, Root, Snapshot, Targets, Timestamp } from '@tufjs/models';
|
|
2
|
+
export declare class TrustedMetadataStore {
|
|
3
|
+
private trustedSet;
|
|
4
|
+
private referenceTime;
|
|
5
|
+
constructor(rootData: Buffer);
|
|
6
|
+
get root(): Metadata<Root>;
|
|
7
|
+
get timestamp(): Metadata<Timestamp> | undefined;
|
|
8
|
+
get snapshot(): Metadata<Snapshot> | undefined;
|
|
9
|
+
get targets(): Metadata<Targets> | undefined;
|
|
10
|
+
getRole(name: string): Metadata<Targets> | undefined;
|
|
11
|
+
updateRoot(bytesBuffer: Buffer): Metadata<Root>;
|
|
12
|
+
updateTimestamp(bytesBuffer: Buffer): Metadata<Timestamp>;
|
|
13
|
+
updateSnapshot(bytesBuffer: Buffer, trusted?: boolean): Metadata<Snapshot>;
|
|
14
|
+
updateDelegatedTargets(bytesBuffer: Buffer, roleName: string, delegatorName: string): void;
|
|
15
|
+
private loadTrustedRoot;
|
|
16
|
+
private checkFinalTimestamp;
|
|
17
|
+
private checkFinalSnapsnot;
|
|
18
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TrustedMetadataStore = void 0;
|
|
4
|
+
const models_1 = require("@tufjs/models");
|
|
5
|
+
const error_1 = require("./error");
|
|
6
|
+
class TrustedMetadataStore {
|
|
7
|
+
trustedSet = {};
|
|
8
|
+
referenceTime;
|
|
9
|
+
constructor(rootData) {
|
|
10
|
+
// Client workflow 5.1: record fixed update start time
|
|
11
|
+
this.referenceTime = new Date();
|
|
12
|
+
// Client workflow 5.2: load trusted root metadata
|
|
13
|
+
this.loadTrustedRoot(rootData);
|
|
14
|
+
}
|
|
15
|
+
get root() {
|
|
16
|
+
if (!this.trustedSet.root) {
|
|
17
|
+
throw new ReferenceError('No trusted root metadata');
|
|
18
|
+
}
|
|
19
|
+
return this.trustedSet.root;
|
|
20
|
+
}
|
|
21
|
+
get timestamp() {
|
|
22
|
+
return this.trustedSet.timestamp;
|
|
23
|
+
}
|
|
24
|
+
get snapshot() {
|
|
25
|
+
return this.trustedSet.snapshot;
|
|
26
|
+
}
|
|
27
|
+
get targets() {
|
|
28
|
+
return this.trustedSet.targets;
|
|
29
|
+
}
|
|
30
|
+
getRole(name) {
|
|
31
|
+
return this.trustedSet[name];
|
|
32
|
+
}
|
|
33
|
+
updateRoot(bytesBuffer) {
|
|
34
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
35
|
+
const data = JSON.parse(bytesBuffer.toString('utf8'));
|
|
36
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
37
|
+
const newRoot = models_1.Metadata.fromJSON(models_1.MetadataKind.Root, data);
|
|
38
|
+
if (newRoot.signed.type != models_1.MetadataKind.Root) {
|
|
39
|
+
throw new error_1.RepositoryError(`Expected 'root', got ${newRoot.signed.type}`);
|
|
40
|
+
}
|
|
41
|
+
// Client workflow 5.4: check for arbitrary software attack
|
|
42
|
+
this.root.verifyDelegate(models_1.MetadataKind.Root, newRoot);
|
|
43
|
+
// Client workflow 5.5: check for rollback attack
|
|
44
|
+
if (newRoot.signed.version != this.root.signed.version + 1) {
|
|
45
|
+
throw new error_1.BadVersionError(`Expected version ${this.root.signed.version + 1}, got ${newRoot.signed.version}`);
|
|
46
|
+
}
|
|
47
|
+
// Check that new root is signed by self
|
|
48
|
+
newRoot.verifyDelegate(models_1.MetadataKind.Root, newRoot);
|
|
49
|
+
// Client workflow 5.7: set new root as trusted root
|
|
50
|
+
this.trustedSet.root = newRoot;
|
|
51
|
+
return newRoot;
|
|
52
|
+
}
|
|
53
|
+
updateTimestamp(bytesBuffer) {
|
|
54
|
+
if (this.snapshot) {
|
|
55
|
+
throw new error_1.RuntimeError('Cannot update timestamp after snapshot');
|
|
56
|
+
}
|
|
57
|
+
if (this.root.signed.isExpired(this.referenceTime)) {
|
|
58
|
+
throw new error_1.ExpiredMetadataError('Final root.json is expired');
|
|
59
|
+
}
|
|
60
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
61
|
+
const data = JSON.parse(bytesBuffer.toString('utf8'));
|
|
62
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
63
|
+
const newTimestamp = models_1.Metadata.fromJSON(models_1.MetadataKind.Timestamp, data);
|
|
64
|
+
if (newTimestamp.signed.type != models_1.MetadataKind.Timestamp) {
|
|
65
|
+
throw new error_1.RepositoryError(`Expected 'timestamp', got ${newTimestamp.signed.type}`);
|
|
66
|
+
}
|
|
67
|
+
// Client workflow 5.4.2: check for arbitrary software attack
|
|
68
|
+
this.root.verifyDelegate(models_1.MetadataKind.Timestamp, newTimestamp);
|
|
69
|
+
if (this.timestamp) {
|
|
70
|
+
// Prevent rolling back timestamp version
|
|
71
|
+
// Client workflow 5.4.3.1: check for rollback attack
|
|
72
|
+
if (newTimestamp.signed.version < this.timestamp.signed.version) {
|
|
73
|
+
throw new error_1.BadVersionError(`New timestamp version ${newTimestamp.signed.version} is less than current version ${this.timestamp.signed.version}`);
|
|
74
|
+
}
|
|
75
|
+
// Keep using old timestamp if versions are equal.
|
|
76
|
+
if (newTimestamp.signed.version === this.timestamp.signed.version) {
|
|
77
|
+
throw new error_1.EqualVersionError(`New timestamp version ${newTimestamp.signed.version} is equal to current version ${this.timestamp.signed.version}`);
|
|
78
|
+
}
|
|
79
|
+
// Prevent rolling back snapshot version
|
|
80
|
+
// Client workflow 5.4.3.2: check for rollback attack
|
|
81
|
+
const snapshotMeta = this.timestamp.signed.snapshotMeta;
|
|
82
|
+
const newSnapshotMeta = newTimestamp.signed.snapshotMeta;
|
|
83
|
+
if (newSnapshotMeta.version < snapshotMeta.version) {
|
|
84
|
+
throw new error_1.BadVersionError(`New snapshot version ${newSnapshotMeta.version} is less than current version ${snapshotMeta.version}`);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
// expiry not checked to allow old timestamp to be used for rollback
|
|
88
|
+
// protection of new timestamp: expiry is checked in update_snapshot
|
|
89
|
+
this.trustedSet.timestamp = newTimestamp;
|
|
90
|
+
// Client workflow 5.4.4: check for freeze attack
|
|
91
|
+
this.checkFinalTimestamp();
|
|
92
|
+
return newTimestamp;
|
|
93
|
+
}
|
|
94
|
+
updateSnapshot(bytesBuffer, trusted = false) {
|
|
95
|
+
if (!this.timestamp) {
|
|
96
|
+
throw new error_1.RuntimeError('Cannot update snapshot before timestamp');
|
|
97
|
+
}
|
|
98
|
+
if (this.targets) {
|
|
99
|
+
throw new error_1.RuntimeError('Cannot update snapshot after targets');
|
|
100
|
+
}
|
|
101
|
+
// Snapshot cannot be loaded if final timestamp is expired
|
|
102
|
+
this.checkFinalTimestamp();
|
|
103
|
+
const snapshotMeta = this.timestamp.signed.snapshotMeta;
|
|
104
|
+
// Verify non-trusted data against the hashes in timestamp, if any.
|
|
105
|
+
// Trusted snapshot data has already been verified once.
|
|
106
|
+
// Client workflow 5.5.2: check against timestamp role's snaphsot hash
|
|
107
|
+
if (!trusted) {
|
|
108
|
+
snapshotMeta.verify(bytesBuffer);
|
|
109
|
+
}
|
|
110
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
111
|
+
const data = JSON.parse(bytesBuffer.toString('utf8'));
|
|
112
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
113
|
+
const newSnapshot = models_1.Metadata.fromJSON(models_1.MetadataKind.Snapshot, data);
|
|
114
|
+
if (newSnapshot.signed.type != models_1.MetadataKind.Snapshot) {
|
|
115
|
+
throw new error_1.RepositoryError(`Expected 'snapshot', got ${newSnapshot.signed.type}`);
|
|
116
|
+
}
|
|
117
|
+
// Client workflow 5.5.3: check for arbitrary software attack
|
|
118
|
+
this.root.verifyDelegate(models_1.MetadataKind.Snapshot, newSnapshot);
|
|
119
|
+
// version check against meta version (5.5.4) is deferred to allow old
|
|
120
|
+
// snapshot to be used in rollback protection
|
|
121
|
+
// Client workflow 5.5.5: check for rollback attack
|
|
122
|
+
if (this.snapshot) {
|
|
123
|
+
Object.entries(this.snapshot.signed.meta).forEach(([fileName, fileInfo]) => {
|
|
124
|
+
const newFileInfo = newSnapshot.signed.meta[fileName];
|
|
125
|
+
if (!newFileInfo) {
|
|
126
|
+
throw new error_1.RepositoryError(`Missing file ${fileName} in new snapshot`);
|
|
127
|
+
}
|
|
128
|
+
if (newFileInfo.version < fileInfo.version) {
|
|
129
|
+
throw new error_1.BadVersionError(`New version ${newFileInfo.version} of ${fileName} is less than current version ${fileInfo.version}`);
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
this.trustedSet.snapshot = newSnapshot;
|
|
134
|
+
// snapshot is loaded, but we raise if it's not valid _final_ snapshot
|
|
135
|
+
// Client workflow 5.5.4 & 5.5.6
|
|
136
|
+
this.checkFinalSnapsnot();
|
|
137
|
+
return newSnapshot;
|
|
138
|
+
}
|
|
139
|
+
updateDelegatedTargets(bytesBuffer, roleName, delegatorName) {
|
|
140
|
+
if (!this.snapshot) {
|
|
141
|
+
throw new error_1.RuntimeError('Cannot update delegated targets before snapshot');
|
|
142
|
+
}
|
|
143
|
+
// Targets cannot be loaded if final snapshot is expired or its version
|
|
144
|
+
// does not match meta version in timestamp.
|
|
145
|
+
this.checkFinalSnapsnot();
|
|
146
|
+
const delegator = this.trustedSet[delegatorName];
|
|
147
|
+
if (!delegator) {
|
|
148
|
+
throw new error_1.RuntimeError(`No trusted ${delegatorName} metadata`);
|
|
149
|
+
}
|
|
150
|
+
// Extract metadata for the delegated role from snapshot
|
|
151
|
+
const meta = this.snapshot.signed.meta?.[`${roleName}.json`];
|
|
152
|
+
if (!meta) {
|
|
153
|
+
throw new error_1.RepositoryError(`Missing ${roleName}.json in snapshot`);
|
|
154
|
+
}
|
|
155
|
+
// Client workflow 5.6.2: check against snapshot role's targets hash
|
|
156
|
+
meta.verify(bytesBuffer);
|
|
157
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
158
|
+
const data = JSON.parse(bytesBuffer.toString('utf8'));
|
|
159
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
160
|
+
const newDelegate = models_1.Metadata.fromJSON(models_1.MetadataKind.Targets, data);
|
|
161
|
+
if (newDelegate.signed.type != models_1.MetadataKind.Targets) {
|
|
162
|
+
throw new error_1.RepositoryError(`Expected 'targets', got ${newDelegate.signed.type}`);
|
|
163
|
+
}
|
|
164
|
+
// Client workflow 5.6.3: check for arbitrary software attack
|
|
165
|
+
delegator.verifyDelegate(roleName, newDelegate);
|
|
166
|
+
// Client workflow 5.6.4: Check against snapshot role’s targets version
|
|
167
|
+
const version = newDelegate.signed.version;
|
|
168
|
+
if (version != meta.version) {
|
|
169
|
+
throw new error_1.BadVersionError(`Version ${version} of ${roleName} does not match snapshot version ${meta.version}`);
|
|
170
|
+
}
|
|
171
|
+
// Client workflow 5.6.5: check for a freeze attack
|
|
172
|
+
if (newDelegate.signed.isExpired(this.referenceTime)) {
|
|
173
|
+
throw new error_1.ExpiredMetadataError(`${roleName}.json is expired`);
|
|
174
|
+
}
|
|
175
|
+
this.trustedSet[roleName] = newDelegate;
|
|
176
|
+
}
|
|
177
|
+
// Verifies and loads data as trusted root metadata.
|
|
178
|
+
// Note that an expired initial root is still considered valid.
|
|
179
|
+
loadTrustedRoot(bytesBuffer) {
|
|
180
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
181
|
+
const data = JSON.parse(bytesBuffer.toString('utf8'));
|
|
182
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
183
|
+
const root = models_1.Metadata.fromJSON(models_1.MetadataKind.Root, data);
|
|
184
|
+
if (root.signed.type != models_1.MetadataKind.Root) {
|
|
185
|
+
throw new error_1.RepositoryError(`Expected 'root', got ${root.signed.type}`);
|
|
186
|
+
}
|
|
187
|
+
root.verifyDelegate(models_1.MetadataKind.Root, root);
|
|
188
|
+
this.trustedSet['root'] = root;
|
|
189
|
+
}
|
|
190
|
+
checkFinalTimestamp() {
|
|
191
|
+
// Timestamp MUST be loaded
|
|
192
|
+
if (!this.timestamp) {
|
|
193
|
+
throw new ReferenceError('No trusted timestamp metadata');
|
|
194
|
+
}
|
|
195
|
+
// Client workflow 5.4.4: check for freeze attack
|
|
196
|
+
if (this.timestamp.signed.isExpired(this.referenceTime)) {
|
|
197
|
+
throw new error_1.ExpiredMetadataError('Final timestamp.json is expired');
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
checkFinalSnapsnot() {
|
|
201
|
+
// Snapshot and timestamp MUST be loaded
|
|
202
|
+
if (!this.snapshot) {
|
|
203
|
+
throw new ReferenceError('No trusted snapshot metadata');
|
|
204
|
+
}
|
|
205
|
+
if (!this.timestamp) {
|
|
206
|
+
throw new ReferenceError('No trusted timestamp metadata');
|
|
207
|
+
}
|
|
208
|
+
// Client workflow 5.5.6: check for freeze attack
|
|
209
|
+
if (this.snapshot.signed.isExpired(this.referenceTime)) {
|
|
210
|
+
throw new error_1.ExpiredMetadataError('snapshot.json is expired');
|
|
211
|
+
}
|
|
212
|
+
// Client workflow 5.5.4: check against timestamp role’s snapshot version
|
|
213
|
+
const snapshotMeta = this.timestamp.signed.snapshotMeta;
|
|
214
|
+
if (this.snapshot.signed.version !== snapshotMeta.version) {
|
|
215
|
+
throw new error_1.BadVersionError("Snapshot version doesn't match timestamp");
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
exports.TrustedMetadataStore = TrustedMetadataStore;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { TargetFile } from '@tufjs/models';
|
|
2
|
+
import { Config } from './config';
|
|
3
|
+
import { Fetcher } from './fetcher';
|
|
4
|
+
export interface UpdaterOptions {
|
|
5
|
+
metadataDir: string;
|
|
6
|
+
metadataBaseUrl: string;
|
|
7
|
+
targetDir?: string;
|
|
8
|
+
targetBaseUrl?: string;
|
|
9
|
+
fetcher?: Fetcher;
|
|
10
|
+
forceCache?: boolean;
|
|
11
|
+
config?: Partial<Config>;
|
|
12
|
+
}
|
|
13
|
+
export declare class Updater {
|
|
14
|
+
private dir;
|
|
15
|
+
private metadataBaseUrl;
|
|
16
|
+
private targetDir?;
|
|
17
|
+
private targetBaseUrl?;
|
|
18
|
+
private forceCache;
|
|
19
|
+
private trustedSet;
|
|
20
|
+
private config;
|
|
21
|
+
private fetcher;
|
|
22
|
+
constructor(options: UpdaterOptions);
|
|
23
|
+
refresh(): Promise<void>;
|
|
24
|
+
getTargetInfo(targetPath: string): Promise<TargetFile | undefined>;
|
|
25
|
+
downloadTarget(targetInfo: TargetFile, filePath?: string, targetBaseUrl?: string): Promise<string>;
|
|
26
|
+
findCachedTarget(targetInfo: TargetFile, filePath?: string): Promise<string | undefined>;
|
|
27
|
+
private loadLocalMetadata;
|
|
28
|
+
private loadRoot;
|
|
29
|
+
private loadTimestamp;
|
|
30
|
+
private loadSnapshot;
|
|
31
|
+
private loadTargets;
|
|
32
|
+
private preorderDepthFirstWalk;
|
|
33
|
+
private generateTargetPath;
|
|
34
|
+
private persistMetadata;
|
|
35
|
+
}
|