@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,21 @@
|
|
|
1
|
+
import { Signable } from './base';
|
|
2
|
+
import { JSONObject, JSONValue } from './utils';
|
|
3
|
+
export interface KeyOptions {
|
|
4
|
+
keyID: string;
|
|
5
|
+
keyType: string;
|
|
6
|
+
scheme: string;
|
|
7
|
+
keyVal: Record<string, string>;
|
|
8
|
+
unrecognizedFields?: Record<string, JSONValue>;
|
|
9
|
+
}
|
|
10
|
+
export declare class Key {
|
|
11
|
+
readonly keyID: string;
|
|
12
|
+
readonly keyType: string;
|
|
13
|
+
readonly scheme: string;
|
|
14
|
+
readonly keyVal: Record<string, string>;
|
|
15
|
+
readonly unrecognizedFields?: Record<string, JSONValue>;
|
|
16
|
+
constructor(options: KeyOptions);
|
|
17
|
+
verifySignature(metadata: Signable): void;
|
|
18
|
+
equals(other: Key): boolean;
|
|
19
|
+
toJSON(): JSONObject;
|
|
20
|
+
static fromJSON(keyID: string, data: JSONObject): Key;
|
|
21
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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.Key = void 0;
|
|
7
|
+
const util_1 = __importDefault(require("util"));
|
|
8
|
+
const error_1 = require("./error");
|
|
9
|
+
const utils_1 = require("./utils");
|
|
10
|
+
const key_1 = require("./utils/key");
|
|
11
|
+
// A container class representing the public portion of a Key.
|
|
12
|
+
class Key {
|
|
13
|
+
keyID;
|
|
14
|
+
keyType;
|
|
15
|
+
scheme;
|
|
16
|
+
keyVal;
|
|
17
|
+
unrecognizedFields;
|
|
18
|
+
constructor(options) {
|
|
19
|
+
const { keyID, keyType, scheme, keyVal, unrecognizedFields } = options;
|
|
20
|
+
this.keyID = keyID;
|
|
21
|
+
this.keyType = keyType;
|
|
22
|
+
this.scheme = scheme;
|
|
23
|
+
this.keyVal = keyVal;
|
|
24
|
+
this.unrecognizedFields = unrecognizedFields || {};
|
|
25
|
+
}
|
|
26
|
+
// Verifies the that the metadata.signatures contains a signature made with
|
|
27
|
+
// this key and is correctly signed.
|
|
28
|
+
verifySignature(metadata) {
|
|
29
|
+
const signature = metadata.signatures[this.keyID];
|
|
30
|
+
if (!signature)
|
|
31
|
+
throw new error_1.UnsignedMetadataError('no signature for key found in metadata');
|
|
32
|
+
if (!this.keyVal.public)
|
|
33
|
+
throw new error_1.UnsignedMetadataError('no public key found');
|
|
34
|
+
const publicKey = (0, key_1.getPublicKey)({
|
|
35
|
+
keyType: this.keyType,
|
|
36
|
+
scheme: this.scheme,
|
|
37
|
+
keyVal: this.keyVal.public,
|
|
38
|
+
});
|
|
39
|
+
const signedData = metadata.signed.toJSON();
|
|
40
|
+
try {
|
|
41
|
+
if (!utils_1.crypto.verifySignature(signedData, publicKey, signature.sig)) {
|
|
42
|
+
throw new error_1.UnsignedMetadataError(`failed to verify ${this.keyID} signature`);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
catch (error) {
|
|
46
|
+
if (error instanceof error_1.UnsignedMetadataError) {
|
|
47
|
+
throw error;
|
|
48
|
+
}
|
|
49
|
+
throw new error_1.UnsignedMetadataError(`failed to verify ${this.keyID} signature`);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
equals(other) {
|
|
53
|
+
if (!(other instanceof Key)) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return (this.keyID === other.keyID &&
|
|
57
|
+
this.keyType === other.keyType &&
|
|
58
|
+
this.scheme === other.scheme &&
|
|
59
|
+
util_1.default.isDeepStrictEqual(this.keyVal, other.keyVal) &&
|
|
60
|
+
util_1.default.isDeepStrictEqual(this.unrecognizedFields, other.unrecognizedFields));
|
|
61
|
+
}
|
|
62
|
+
toJSON() {
|
|
63
|
+
return {
|
|
64
|
+
keytype: this.keyType,
|
|
65
|
+
scheme: this.scheme,
|
|
66
|
+
keyval: this.keyVal,
|
|
67
|
+
...this.unrecognizedFields,
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
static fromJSON(keyID, data) {
|
|
71
|
+
const { keytype, scheme, keyval, ...rest } = data;
|
|
72
|
+
if (typeof keytype !== 'string') {
|
|
73
|
+
throw new TypeError('keytype must be a string');
|
|
74
|
+
}
|
|
75
|
+
if (typeof scheme !== 'string') {
|
|
76
|
+
throw new TypeError('scheme must be a string');
|
|
77
|
+
}
|
|
78
|
+
if (!utils_1.guard.isStringRecord(keyval)) {
|
|
79
|
+
throw new TypeError('keyval must be a string record');
|
|
80
|
+
}
|
|
81
|
+
return new Key({
|
|
82
|
+
keyID,
|
|
83
|
+
keyType: keytype,
|
|
84
|
+
scheme,
|
|
85
|
+
keyVal: keyval,
|
|
86
|
+
unrecognizedFields: rest,
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.Key = Key;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { MetadataKind, Signable } from './base';
|
|
2
|
+
import { Root } from './root';
|
|
3
|
+
import { Signature } from './signature';
|
|
4
|
+
import { Snapshot } from './snapshot';
|
|
5
|
+
import { Targets } from './targets';
|
|
6
|
+
import { Timestamp } from './timestamp';
|
|
7
|
+
import { JSONObject, JSONValue } from './utils';
|
|
8
|
+
type MetadataType = Root | Timestamp | Snapshot | Targets;
|
|
9
|
+
/***
|
|
10
|
+
* A container for signed TUF metadata.
|
|
11
|
+
*
|
|
12
|
+
* Provides methods to convert to and from json, read and write to and
|
|
13
|
+
* from JSON and to create and verify metadata signatures.
|
|
14
|
+
*
|
|
15
|
+
* ``Metadata[T]`` is a generic container type where T can be any one type of
|
|
16
|
+
* [``Root``, ``Timestamp``, ``Snapshot``, ``Targets``]. The purpose of this
|
|
17
|
+
* is to allow static type checking of the signed attribute in code using
|
|
18
|
+
* Metadata::
|
|
19
|
+
*
|
|
20
|
+
* root_md = Metadata[Root].fromJSON("root.json")
|
|
21
|
+
* # root_md type is now Metadata[Root]. This means signed and its
|
|
22
|
+
* # attributes like consistent_snapshot are now statically typed and the
|
|
23
|
+
* # types can be verified by static type checkers and shown by IDEs
|
|
24
|
+
*
|
|
25
|
+
* Using a type constraint is not required but not doing so means T is not a
|
|
26
|
+
* specific type so static typing cannot happen. Note that the type constraint
|
|
27
|
+
* ``[Root]`` is not validated at runtime (as pure annotations are not available
|
|
28
|
+
* then).
|
|
29
|
+
*
|
|
30
|
+
* Apart from ``expires`` all of the arguments to the inner constructors have
|
|
31
|
+
* reasonable default values for new metadata.
|
|
32
|
+
*/
|
|
33
|
+
export declare class Metadata<T extends MetadataType> implements Signable {
|
|
34
|
+
signed: T;
|
|
35
|
+
signatures: Record<string, Signature>;
|
|
36
|
+
unrecognizedFields: Record<string, JSONValue>;
|
|
37
|
+
constructor(signed: T, signatures?: Record<string, Signature>, unrecognizedFields?: Record<string, JSONValue>);
|
|
38
|
+
sign(signer: (data: Buffer) => Signature, append?: boolean): void;
|
|
39
|
+
verifyDelegate(delegatedRole: string, delegatedMetadata: Metadata<MetadataType>): void;
|
|
40
|
+
equals(other: T): boolean;
|
|
41
|
+
toJSON(): JSONObject;
|
|
42
|
+
static fromJSON(type: MetadataKind.Root, data: JSONObject): Metadata<Root>;
|
|
43
|
+
static fromJSON(type: MetadataKind.Timestamp, data: JSONObject): Metadata<Timestamp>;
|
|
44
|
+
static fromJSON(type: MetadataKind.Snapshot, data: JSONObject): Metadata<Snapshot>;
|
|
45
|
+
static fromJSON(type: MetadataKind.Targets, data: JSONObject): Metadata<Targets>;
|
|
46
|
+
}
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,165 @@
|
|
|
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.Metadata = void 0;
|
|
7
|
+
const canonical_json_1 = require("@tufjs/canonical-json");
|
|
8
|
+
const util_1 = __importDefault(require("util"));
|
|
9
|
+
const base_1 = require("./base");
|
|
10
|
+
const error_1 = require("./error");
|
|
11
|
+
const root_1 = require("./root");
|
|
12
|
+
const signature_1 = require("./signature");
|
|
13
|
+
const snapshot_1 = require("./snapshot");
|
|
14
|
+
const targets_1 = require("./targets");
|
|
15
|
+
const timestamp_1 = require("./timestamp");
|
|
16
|
+
const utils_1 = require("./utils");
|
|
17
|
+
/***
|
|
18
|
+
* A container for signed TUF metadata.
|
|
19
|
+
*
|
|
20
|
+
* Provides methods to convert to and from json, read and write to and
|
|
21
|
+
* from JSON and to create and verify metadata signatures.
|
|
22
|
+
*
|
|
23
|
+
* ``Metadata[T]`` is a generic container type where T can be any one type of
|
|
24
|
+
* [``Root``, ``Timestamp``, ``Snapshot``, ``Targets``]. The purpose of this
|
|
25
|
+
* is to allow static type checking of the signed attribute in code using
|
|
26
|
+
* Metadata::
|
|
27
|
+
*
|
|
28
|
+
* root_md = Metadata[Root].fromJSON("root.json")
|
|
29
|
+
* # root_md type is now Metadata[Root]. This means signed and its
|
|
30
|
+
* # attributes like consistent_snapshot are now statically typed and the
|
|
31
|
+
* # types can be verified by static type checkers and shown by IDEs
|
|
32
|
+
*
|
|
33
|
+
* Using a type constraint is not required but not doing so means T is not a
|
|
34
|
+
* specific type so static typing cannot happen. Note that the type constraint
|
|
35
|
+
* ``[Root]`` is not validated at runtime (as pure annotations are not available
|
|
36
|
+
* then).
|
|
37
|
+
*
|
|
38
|
+
* Apart from ``expires`` all of the arguments to the inner constructors have
|
|
39
|
+
* reasonable default values for new metadata.
|
|
40
|
+
*/
|
|
41
|
+
class Metadata {
|
|
42
|
+
signed;
|
|
43
|
+
signatures;
|
|
44
|
+
unrecognizedFields;
|
|
45
|
+
constructor(signed, signatures, unrecognizedFields) {
|
|
46
|
+
this.signed = signed;
|
|
47
|
+
this.signatures = signatures || {};
|
|
48
|
+
this.unrecognizedFields = unrecognizedFields || {};
|
|
49
|
+
}
|
|
50
|
+
sign(signer, append = true) {
|
|
51
|
+
const bytes = Buffer.from((0, canonical_json_1.canonicalize)(this.signed.toJSON()));
|
|
52
|
+
const signature = signer(bytes);
|
|
53
|
+
if (!append) {
|
|
54
|
+
this.signatures = {};
|
|
55
|
+
}
|
|
56
|
+
this.signatures[signature.keyID] = signature;
|
|
57
|
+
}
|
|
58
|
+
verifyDelegate(delegatedRole, delegatedMetadata) {
|
|
59
|
+
let role;
|
|
60
|
+
let keys = {};
|
|
61
|
+
switch (this.signed.type) {
|
|
62
|
+
case base_1.MetadataKind.Root:
|
|
63
|
+
keys = this.signed.keys;
|
|
64
|
+
role = this.signed.roles[delegatedRole];
|
|
65
|
+
break;
|
|
66
|
+
case base_1.MetadataKind.Targets:
|
|
67
|
+
if (!this.signed.delegations) {
|
|
68
|
+
throw new error_1.ValueError(`No delegations found for ${delegatedRole}`);
|
|
69
|
+
}
|
|
70
|
+
keys = this.signed.delegations.keys;
|
|
71
|
+
if (this.signed.delegations.roles) {
|
|
72
|
+
role = this.signed.delegations.roles[delegatedRole];
|
|
73
|
+
}
|
|
74
|
+
else if (this.signed.delegations.succinctRoles) {
|
|
75
|
+
if (this.signed.delegations.succinctRoles.isDelegatedRole(delegatedRole)) {
|
|
76
|
+
role = this.signed.delegations.succinctRoles;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
break;
|
|
80
|
+
default:
|
|
81
|
+
throw new TypeError('invalid metadata type');
|
|
82
|
+
}
|
|
83
|
+
if (!role) {
|
|
84
|
+
throw new error_1.ValueError(`no delegation found for ${delegatedRole}`);
|
|
85
|
+
}
|
|
86
|
+
const signingKeys = new Set();
|
|
87
|
+
role.keyIDs.forEach((keyID) => {
|
|
88
|
+
const key = keys[keyID];
|
|
89
|
+
// If we dont' have the key, continue checking other keys
|
|
90
|
+
if (!key) {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
try {
|
|
94
|
+
key.verifySignature(delegatedMetadata);
|
|
95
|
+
signingKeys.add(key.keyID);
|
|
96
|
+
}
|
|
97
|
+
catch (error) {
|
|
98
|
+
// continue
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
if (signingKeys.size < role.threshold) {
|
|
102
|
+
throw new error_1.UnsignedMetadataError(`${delegatedRole} was signed by ${signingKeys.size}/${role.threshold} keys`);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
equals(other) {
|
|
106
|
+
if (!(other instanceof Metadata)) {
|
|
107
|
+
return false;
|
|
108
|
+
}
|
|
109
|
+
return (
|
|
110
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
111
|
+
this.signed.equals(other.signed) &&
|
|
112
|
+
util_1.default.isDeepStrictEqual(this.signatures, other.signatures) &&
|
|
113
|
+
util_1.default.isDeepStrictEqual(this.unrecognizedFields, other.unrecognizedFields));
|
|
114
|
+
}
|
|
115
|
+
toJSON() {
|
|
116
|
+
const signatures = Object.values(this.signatures).map((signature) => {
|
|
117
|
+
return signature.toJSON();
|
|
118
|
+
});
|
|
119
|
+
return {
|
|
120
|
+
signatures,
|
|
121
|
+
signed: this.signed.toJSON(),
|
|
122
|
+
...this.unrecognizedFields,
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
static fromJSON(type, data) {
|
|
126
|
+
const { signed, signatures, ...rest } = data;
|
|
127
|
+
if (!utils_1.guard.isDefined(signed) || !utils_1.guard.isObject(signed)) {
|
|
128
|
+
throw new TypeError('signed is not defined');
|
|
129
|
+
}
|
|
130
|
+
if (type !== signed._type) {
|
|
131
|
+
throw new error_1.ValueError(`expected '${type}', got ${signed['_type']}`);
|
|
132
|
+
}
|
|
133
|
+
if (!utils_1.guard.isObjectArray(signatures)) {
|
|
134
|
+
throw new TypeError('signatures is not an array');
|
|
135
|
+
}
|
|
136
|
+
let signedObj;
|
|
137
|
+
switch (type) {
|
|
138
|
+
case base_1.MetadataKind.Root:
|
|
139
|
+
signedObj = root_1.Root.fromJSON(signed);
|
|
140
|
+
break;
|
|
141
|
+
case base_1.MetadataKind.Timestamp:
|
|
142
|
+
signedObj = timestamp_1.Timestamp.fromJSON(signed);
|
|
143
|
+
break;
|
|
144
|
+
case base_1.MetadataKind.Snapshot:
|
|
145
|
+
signedObj = snapshot_1.Snapshot.fromJSON(signed);
|
|
146
|
+
break;
|
|
147
|
+
case base_1.MetadataKind.Targets:
|
|
148
|
+
signedObj = targets_1.Targets.fromJSON(signed);
|
|
149
|
+
break;
|
|
150
|
+
default:
|
|
151
|
+
throw new TypeError('invalid metadata type');
|
|
152
|
+
}
|
|
153
|
+
const sigMap = {};
|
|
154
|
+
// Ensure that each signature is unique
|
|
155
|
+
signatures.forEach((sigData) => {
|
|
156
|
+
const sig = signature_1.Signature.fromJSON(sigData);
|
|
157
|
+
if (sigMap[sig.keyID]) {
|
|
158
|
+
throw new error_1.ValueError(`multiple signatures found for keyid: ${sig.keyID}`);
|
|
159
|
+
}
|
|
160
|
+
sigMap[sig.keyID] = sig;
|
|
161
|
+
});
|
|
162
|
+
return new Metadata(signedObj, sigMap, rest);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
exports.Metadata = Metadata;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { JSONObject, JSONValue } from './utils';
|
|
2
|
+
export declare const TOP_LEVEL_ROLE_NAMES: string[];
|
|
3
|
+
export interface RoleOptions {
|
|
4
|
+
keyIDs: string[];
|
|
5
|
+
threshold: number;
|
|
6
|
+
unrecognizedFields?: Record<string, JSONValue>;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Container that defines which keys are required to sign roles metadata.
|
|
10
|
+
*
|
|
11
|
+
* Role defines how many keys are required to successfully sign the roles
|
|
12
|
+
* metadata, and which keys are accepted.
|
|
13
|
+
*/
|
|
14
|
+
export declare class Role {
|
|
15
|
+
readonly keyIDs: string[];
|
|
16
|
+
readonly threshold: number;
|
|
17
|
+
readonly unrecognizedFields?: Record<string, JSONValue>;
|
|
18
|
+
constructor(options: RoleOptions);
|
|
19
|
+
equals(other: Role): boolean;
|
|
20
|
+
toJSON(): JSONObject;
|
|
21
|
+
static fromJSON(data: JSONObject): Role;
|
|
22
|
+
}
|
|
23
|
+
interface DelegatedRoleOptions extends RoleOptions {
|
|
24
|
+
name: string;
|
|
25
|
+
terminating: boolean;
|
|
26
|
+
paths?: string[];
|
|
27
|
+
pathHashPrefixes?: string[];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A container with information about a delegated role.
|
|
31
|
+
*
|
|
32
|
+
* A delegation can happen in two ways:
|
|
33
|
+
* - ``paths`` is set: delegates targets matching any path pattern in ``paths``
|
|
34
|
+
* - ``pathHashPrefixes`` is set: delegates targets whose target path hash
|
|
35
|
+
* starts with any of the prefixes in ``pathHashPrefixes``
|
|
36
|
+
*
|
|
37
|
+
* ``paths`` and ``pathHashPrefixes`` are mutually exclusive: both cannot be
|
|
38
|
+
* set, at least one of them must be set.
|
|
39
|
+
*/
|
|
40
|
+
export declare class DelegatedRole extends Role {
|
|
41
|
+
readonly name: string;
|
|
42
|
+
readonly terminating: boolean;
|
|
43
|
+
readonly paths?: string[];
|
|
44
|
+
readonly pathHashPrefixes?: string[];
|
|
45
|
+
constructor(opts: DelegatedRoleOptions);
|
|
46
|
+
equals(other: DelegatedRole): boolean;
|
|
47
|
+
isDelegatedPath(targetFilepath: string): boolean;
|
|
48
|
+
toJSON(): JSONObject;
|
|
49
|
+
static fromJSON(data: JSONObject): DelegatedRole;
|
|
50
|
+
}
|
|
51
|
+
interface SuccinctRolesOption extends RoleOptions {
|
|
52
|
+
bitLength: number;
|
|
53
|
+
namePrefix: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Succinctly defines a hash bin delegation graph.
|
|
57
|
+
*
|
|
58
|
+
* A ``SuccinctRoles`` object describes a delegation graph that covers all
|
|
59
|
+
* targets, distributing them uniformly over the delegated roles (i.e. bins)
|
|
60
|
+
* in the graph.
|
|
61
|
+
*
|
|
62
|
+
* The total number of bins is 2 to the power of the passed ``bit_length``.
|
|
63
|
+
*
|
|
64
|
+
* Bin names are the concatenation of the passed ``name_prefix`` and a
|
|
65
|
+
* zero-padded hex representation of the bin index separated by a hyphen.
|
|
66
|
+
*
|
|
67
|
+
* The passed ``keyids`` and ``threshold`` is used for each bin, and each bin
|
|
68
|
+
* is 'terminating'.
|
|
69
|
+
*
|
|
70
|
+
* For details: https://github.com/theupdateframework/taps/blob/master/tap15.md
|
|
71
|
+
*/
|
|
72
|
+
export declare class SuccinctRoles extends Role {
|
|
73
|
+
readonly bitLength: number;
|
|
74
|
+
readonly namePrefix: string;
|
|
75
|
+
readonly numberOfBins: number;
|
|
76
|
+
readonly suffixLen: number;
|
|
77
|
+
constructor(opts: SuccinctRolesOption);
|
|
78
|
+
equals(other: SuccinctRoles): boolean;
|
|
79
|
+
/***
|
|
80
|
+
* Calculates the name of the delegated role responsible for 'target_filepath'.
|
|
81
|
+
*
|
|
82
|
+
* The target at path ''target_filepath' is assigned to a bin by casting
|
|
83
|
+
* the left-most 'bit_length' of bits of the file path hash digest to
|
|
84
|
+
* int, using it as bin index between 0 and '2**bit_length - 1'.
|
|
85
|
+
*
|
|
86
|
+
* Args:
|
|
87
|
+
* target_filepath: URL path to a target file, relative to a base
|
|
88
|
+
* targets URL.
|
|
89
|
+
*/
|
|
90
|
+
getRoleForTarget(targetFilepath: string): string;
|
|
91
|
+
getRoles(): Generator<string>;
|
|
92
|
+
/***
|
|
93
|
+
* Determines whether the given ``role_name`` is in one of
|
|
94
|
+
* the delegated roles that ``SuccinctRoles`` represents.
|
|
95
|
+
*
|
|
96
|
+
* Args:
|
|
97
|
+
* role_name: The name of the role to check against.
|
|
98
|
+
*/
|
|
99
|
+
isDelegatedRole(roleName: string): boolean;
|
|
100
|
+
toJSON(): JSONObject;
|
|
101
|
+
static fromJSON(data: JSONObject): SuccinctRoles;
|
|
102
|
+
}
|
|
103
|
+
export {};
|