@oscharko-dev/keiko 1.3.3 → 1.3.4
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 +8 -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/{36k6xayb_mepf.js → 06g3oe93r_678.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0_djzjuth9fin.js +1 -0
- 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/1-fpfnm1iv6q0.js +4 -0
- 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/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/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/{0x35q9z0tiicw.js → 2au392b0y1-e5.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{06d6c74v_hg_g.js → 2cr_43y_421vg.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{3l06hi3xkcn82.js → 2l7fx-klib93f.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2rn7qy5l22wex.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/{249nvi2mcd8y_.js → 33j1k7syz5_95.js} +1 -1
- 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/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/3vhvlyplc36t6.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 +5 -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 +6 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +22 -15
- 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 +24 -16
- 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 +48 -8
- 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 +62 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-coverage.generated.json +432 -5
- 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 +5 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts +368 -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 +446 -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/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/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/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/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 +80 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryDependencies.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryDependencies.js +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 +4 -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/supervisedCodingPolicy.js +3 -2
- 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 +84 -17
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +63 -19
- 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 +25 -2
- 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 +216 -48
- 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/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/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 +122 -23
- package/vendor/oscharko-dev-keiko-activity-log-1.3.4.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-cli-1.3.3.tgz → oscharko-dev-keiko-cli-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.3.3.tgz → oscharko-dev-keiko-connectors-1.3.4.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.3.4.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.3.3.tgz → oscharko-dev-keiko-evaluations-1.3.4.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.3.4.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-git-1.3.3.tgz → oscharko-dev-keiko-git-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.3.3.tgz → oscharko-dev-keiko-harness-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-local-knowledge-1.3.3.tgz → oscharko-dev-keiko-local-knowledge-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-mcp-1.3.3.tgz → oscharko-dev-keiko-mcp-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.3.3.tgz → oscharko-dev-keiko-memory-capture-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-consolidation-1.3.3.tgz → oscharko-dev-keiko-memory-consolidation-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.3.3.tgz → oscharko-dev-keiko-memory-governance-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-1.3.3.tgz → oscharko-dev-keiko-memory-retrieval-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-1.3.3.tgz → oscharko-dev-keiko-memory-vault-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-model-gateway-1.3.3.tgz → oscharko-dev-keiko-model-gateway-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.3.3.tgz → oscharko-dev-keiko-quality-intelligence-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-sandbox-1.3.3.tgz → oscharko-dev-keiko-sandbox-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-sdk-1.3.3.tgz → oscharko-dev-keiko-sdk-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-security-1.3.3.tgz → oscharko-dev-keiko-security-1.3.4.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-server-1.3.4.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.3.4.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.3.4.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-verification-1.3.3.tgz → oscharko-dev-keiko-verification-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workflows-1.3.3.tgz → oscharko-dev-keiko-workflows-1.3.4.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workspace-1.3.3.tgz → oscharko-dev-keiko-workspace-1.3.4.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/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-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 → Ytdn01XusgvfUzdjNVXIY}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{KmFW5oN4Tu2nC9Ox3ukB4 → Ytdn01XusgvfUzdjNVXIY}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{KmFW5oN4Tu2nC9Ox3ukB4 → Ytdn01XusgvfUzdjNVXIY}/_ssgManifest.js +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { isDraftDeliveryIssueBinding, isDraftDeliveryPullRequestBinding, isDraftDeliveryRepositoryBinding, isIssueBoundDraftDeliveryRecord, isPullRequestDraftDeliveryRecord, } from "@oscharko-dev/keiko-contracts/runtime/draft-delivery";
|
|
1
2
|
import { readGitRawWorktreeSnapshot, readGitWorktreeSnapshot, } from "@oscharko-dev/keiko-tools/internal/git-mutation";
|
|
2
|
-
import { DraftDeliveryFailure, } from "./draftDeliveryTypes.js";
|
|
3
|
-
import { assertDraftAuthority, assertDraftLocalCandidate, assertKnownDraftIdentity, readDraftRemoteState, prTargetMatches, resolveDraftRepository, } from "./draftDeliveryFacts.js";
|
|
3
|
+
import { DraftDeliveryFailure, isGitHubOriginContext, isIssueBoundContext, } from "./draftDeliveryTypes.js";
|
|
4
|
+
import { assertDraftAuthority, assertDraftBranchTarget, assertDraftLocalCandidate, assertKnownDraftIdentity, readDraftRemoteState, prTargetMatches, resolveDraftRepository, } from "./draftDeliveryFacts.js";
|
|
4
5
|
import { advanceDraft, currentDraft, retainedRemoteIdentity } from "./draftDeliveryLedger.js";
|
|
5
6
|
import { executeGovernedPublish } from "./pushExecution.js";
|
|
6
7
|
import { executeGovernedPullRequest } from "./prExecution.js";
|
|
@@ -16,11 +17,33 @@ function assertCurrentAttempt(effect) {
|
|
|
16
17
|
current.phase !== effect.record.phase)
|
|
17
18
|
throw new DraftDeliveryFailure("approval-invalid");
|
|
18
19
|
}
|
|
20
|
+
// An issue-bound run re-reads the frozen issue, the canonical repository and the remote head. An
|
|
21
|
+
// issue-free run's push has no such record: it re-verifies that `origin` is still the remote the run
|
|
22
|
+
// was admitted with and that the local candidate is still the exact verified commit (ADR-0085 D1b).
|
|
23
|
+
// Its pull request, on a verified github.com origin, re-reads the repository and the remote heads
|
|
24
|
+
// exactly like an issue-bound one, without an issue (ADR-0086 D13).
|
|
25
|
+
async function assertBeforeBranchEffect(effect) {
|
|
26
|
+
await assertDraftBranchTarget(effect.options, effect.context);
|
|
27
|
+
await assertDraftLocalCandidate(effect.options, effect.context, effect.record.binding);
|
|
28
|
+
assertCurrentAttempt(effect);
|
|
29
|
+
}
|
|
30
|
+
function readsProvider(effect) {
|
|
31
|
+
const { binding } = effect.record;
|
|
32
|
+
return (isDraftDeliveryIssueBinding(binding) ||
|
|
33
|
+
(isDraftDeliveryRepositoryBinding(binding) && effect.proposal.command.kind === "pr-create"));
|
|
34
|
+
}
|
|
19
35
|
async function assertBeforeEffect(effect) {
|
|
20
36
|
assertCurrentAttempt(effect);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
37
|
+
const { context, record } = effect;
|
|
38
|
+
if (!readsProvider(effect))
|
|
39
|
+
return assertBeforeBranchEffect(effect);
|
|
40
|
+
if (!isDraftDeliveryPullRequestBinding(record.binding) ||
|
|
41
|
+
isDraftDeliveryIssueBinding(record.binding) !== isIssueBoundContext(context) ||
|
|
42
|
+
(!isIssueBoundContext(context) && !isGitHubOriginContext(context)))
|
|
43
|
+
throw new DraftDeliveryFailure("remote-drift");
|
|
44
|
+
await resolveDraftRepository(effect.options, context);
|
|
45
|
+
await assertDraftLocalCandidate(effect.options, effect.context, record.binding);
|
|
46
|
+
const remote = await readDraftRemoteState(effect.options, effect.context, record.binding);
|
|
24
47
|
assertKnownDraftIdentity(effect.record, remote);
|
|
25
48
|
if (remote.headSha !== effect.proposal.expectedRemoteHead ||
|
|
26
49
|
(remote.pullRequest !== undefined && remote.pullRequest.headSha !== remote.headSha))
|
|
@@ -80,6 +103,10 @@ async function push(effect) {
|
|
|
80
103
|
}, context.correlationId);
|
|
81
104
|
if (result.lifecycle.outcome.status !== "succeeded")
|
|
82
105
|
throw new DraftDeliveryFailure(result.lifecycle.outcome.status === "blocked" ? "preflight-failed" : "provider-failed");
|
|
106
|
+
// The pinned non-force push exiting 0 is the only remote evidence an issue-free push has, on a
|
|
107
|
+
// foreign remote and on a github.com origin alike.
|
|
108
|
+
if (!isDraftDeliveryIssueBinding(record.binding))
|
|
109
|
+
return advanceDraft(options, context, record, "pushed", "completed");
|
|
83
110
|
const remote = await readDraftRemoteState(options, context, record.binding);
|
|
84
111
|
assertKnownDraftIdentity(record, remote);
|
|
85
112
|
if (remote.headSha !== record.binding.headSha)
|
|
@@ -87,7 +114,7 @@ async function push(effect) {
|
|
|
87
114
|
const pushed = advanceDraft(options, context, record, "pushed", "completed", retainedRemoteIdentity(record, remote.pullRequest));
|
|
88
115
|
// A later verified commit reached a pull request that already exists: its Checks section is
|
|
89
116
|
// recomposed for that commit (owner review on PR #3452). Best effort: the push stands either way.
|
|
90
|
-
if (remote.pullRequest !== undefined)
|
|
117
|
+
if (remote.pullRequest !== undefined && isIssueBoundDraftDeliveryRecord(pushed))
|
|
91
118
|
await refreshDraftChecksSection({
|
|
92
119
|
options,
|
|
93
120
|
context,
|
|
@@ -98,7 +125,7 @@ async function push(effect) {
|
|
|
98
125
|
}
|
|
99
126
|
async function createPullRequest(effect) {
|
|
100
127
|
const { options, context, record, proposal } = effect;
|
|
101
|
-
if (proposal.command.kind !== "pr-create")
|
|
128
|
+
if (proposal.command.kind !== "pr-create" || !isPullRequestDraftDeliveryRecord(record))
|
|
102
129
|
throw new DraftDeliveryFailure("payload-changed");
|
|
103
130
|
const seams = options.pullRequestSeams(context);
|
|
104
131
|
const adapter = seams.prAdapterFactory?.(context.workspace);
|
|
@@ -122,10 +149,10 @@ async function createPullRequest(effect) {
|
|
|
122
149
|
throw new DraftDeliveryFailure(result.lifecycle.outcome.status === "blocked" ? "preflight-failed" : "ambiguous-remote");
|
|
123
150
|
if (!prTargetMatches(identity, record.binding) || identity.headSha !== record.binding.headSha)
|
|
124
151
|
throw new DraftDeliveryFailure("ambiguous-remote");
|
|
125
|
-
return retainCreatedIdentity(effect, identity);
|
|
152
|
+
return retainCreatedIdentity(effect, record, identity);
|
|
126
153
|
}
|
|
127
|
-
async function confirmCreated(effect, identity) {
|
|
128
|
-
const { options, context
|
|
154
|
+
async function confirmCreated(effect, record, identity) {
|
|
155
|
+
const { options, context } = effect;
|
|
129
156
|
const adapter = options.inspectionAdapter(context);
|
|
130
157
|
if (adapter === undefined)
|
|
131
158
|
throw new DraftDeliveryFailure("provider-failed");
|
|
@@ -147,9 +174,9 @@ async function confirmCreated(effect, identity) {
|
|
|
147
174
|
assertDraftAuthority(context);
|
|
148
175
|
return advanceDraft(options, context, retained, "draft-created", "completed", read.value);
|
|
149
176
|
}
|
|
150
|
-
async function retainCreatedIdentity(effect, identity) {
|
|
177
|
+
async function retainCreatedIdentity(effect, record, identity) {
|
|
151
178
|
try {
|
|
152
|
-
return await confirmCreated(effect, identity);
|
|
179
|
+
return await confirmCreated(effect, record, identity);
|
|
153
180
|
}
|
|
154
181
|
catch (error) {
|
|
155
182
|
throw new DraftDeliveryFailure(error instanceof DraftDeliveryFailure ? error.reason : "provider-failed", identity, { cause: error });
|
|
@@ -1,17 +1,29 @@
|
|
|
1
|
-
import type { DraftDeliveryBinding, DraftDeliveryRecord } from "@oscharko-dev/keiko-contracts/runtime/draft-delivery";
|
|
1
|
+
import type { DraftDeliveryBinding, DraftDeliveryBranchBinding, DraftDeliveryIssueBinding, DraftDeliveryPullRequestBinding, DraftDeliveryRecord, DraftDeliveryRepositoryBinding } from "@oscharko-dev/keiko-contracts/runtime/draft-delivery";
|
|
2
2
|
import { type GitPullRequestIdentity } from "@oscharko-dev/keiko-contracts/runtime/git-pull-request";
|
|
3
|
-
import { type DraftDeliveryDependencies, type DraftDeliveryRunContext } from "./draftDeliveryTypes.js";
|
|
3
|
+
import { type DraftDeliveryDependencies, type DraftDeliveryRunContext, type IssueBoundDraftDeliveryRunContext } from "./draftDeliveryTypes.js";
|
|
4
4
|
export declare function draftDeliveryId(prefix: "delivery" | "recovery"): string;
|
|
5
5
|
export declare function assertDraftAuthority(context: DraftDeliveryRunContext): void;
|
|
6
6
|
export declare function resolveDraftRepository(options: DraftDeliveryDependencies, context: DraftDeliveryRunContext): Promise<string>;
|
|
7
|
-
export declare function initialDraftBinding(options: DraftDeliveryDependencies, context:
|
|
7
|
+
export declare function initialDraftBinding(options: DraftDeliveryDependencies, context: IssueBoundDraftDeliveryRunContext, repository: string): DraftDeliveryIssueBinding | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* The durable intent of an issue-free run: the verified commit, pushed to the run's own task branch
|
|
10
|
+
* on `origin`. On a foreign remote there is no repository, issue or pull request fact to bind
|
|
11
|
+
* (ADR-0085 D1b); on a verified github.com origin the binding also names the repository a draft
|
|
12
|
+
* pull request opens in, still with no issue (ADR-0086 D13).
|
|
13
|
+
*/
|
|
14
|
+
export declare function initialBranchBinding(options: DraftDeliveryDependencies, context: DraftDeliveryRunContext, repository?: string): DraftDeliveryBranchBinding | DraftDeliveryRepositoryBinding | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Re-verifies an issue-free run's `origin` immediately before a proposal or an effect. Answers the
|
|
17
|
+
* live `owner/repository` when `origin` is a verified github.com repository.
|
|
18
|
+
*/
|
|
19
|
+
export declare function assertDraftBranchTarget(options: DraftDeliveryDependencies, context: DraftDeliveryRunContext): Promise<string | undefined>;
|
|
8
20
|
export declare function assertDraftLocalCandidate(options: DraftDeliveryDependencies, context: DraftDeliveryRunContext, binding: DraftDeliveryBinding): Promise<void>;
|
|
9
21
|
export interface DraftRemoteState {
|
|
10
22
|
readonly headSha: string | undefined;
|
|
11
23
|
readonly pullRequest: GitPullRequestIdentity | undefined;
|
|
12
24
|
}
|
|
13
|
-
export declare function readDraftRemoteState(options: DraftDeliveryDependencies, context: DraftDeliveryRunContext, binding:
|
|
14
|
-
export declare function prTargetMatches(pr: GitPullRequestIdentity, binding:
|
|
25
|
+
export declare function readDraftRemoteState(options: DraftDeliveryDependencies, context: DraftDeliveryRunContext, binding: DraftDeliveryPullRequestBinding): Promise<DraftRemoteState>;
|
|
26
|
+
export declare function prTargetMatches(pr: GitPullRequestIdentity, binding: DraftDeliveryPullRequestBinding): boolean;
|
|
15
27
|
/** An unknown PR is never adopted from a matching branch name after an ambiguous create. */
|
|
16
28
|
export declare function assertKnownDraftIdentity(record: DraftDeliveryRecord, remote: DraftRemoteState): void;
|
|
17
29
|
//# sourceMappingURL=draftDeliveryFacts.d.ts.map
|
package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryFacts.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draftDeliveryFacts.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/draftDeliveryFacts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"draftDeliveryFacts.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/draftDeliveryFacts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,0BAA0B,EAC1B,yBAAyB,EACzB,+BAA+B,EAC/B,mBAAmB,EACnB,8BAA8B,EAC/B,MAAM,sDAAsD,CAAC;AAK9D,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,wDAAwD,CAAC;AAehE,OAAO,EAEL,KAAK,yBAAyB,EAE9B,KAAK,uBAAuB,EAC5B,KAAK,iCAAiC,EACvC,MAAM,yBAAyB,CAAC;AAqFjC,wBAAgB,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAEvE;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,uBAAuB,GAAG,IAAI,CAG3E;AAgDD,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,yBAAyB,EAClC,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,MAAM,CAAC,CAiBjB;AAiBD,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,yBAAyB,EAClC,OAAO,EAAE,iCAAiC,EAC1C,UAAU,EAAE,MAAM,GACjB,yBAAyB,GAAG,SAAS,CAqBvC;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,yBAAyB,EAClC,OAAO,EAAE,uBAAuB,EAChC,UAAU,CAAC,EAAE,MAAM,GAClB,0BAA0B,GAAG,8BAA8B,GAAG,SAAS,CAoBzE;AAED;;;GAGG;AACH,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,yBAAyB,EAClC,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAQ7B;AAgBD,wBAAsB,yBAAyB,CAC7C,OAAO,EAAE,yBAAyB,EAClC,OAAO,EAAE,uBAAuB,EAChC,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC,IAAI,CAAC,CAYf;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,WAAW,EAAE,sBAAsB,GAAG,SAAS,CAAC;CAC1D;AAqDD,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,yBAAyB,EAClC,OAAO,EAAE,uBAAuB,EAChC,OAAO,EAAE,+BAA+B,GACvC,OAAO,CAAC,gBAAgB,CAAC,CAiB3B;AAED,wBAAgB,eAAe,CAC7B,EAAE,EAAE,sBAAsB,EAC1B,OAAO,EAAE,+BAA+B,GACvC,OAAO,CAWT;AAED,4FAA4F;AAC5F,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,mBAAmB,EAC3B,MAAM,EAAE,gBAAgB,GACvB,IAAI,CASN"}
|
|
@@ -4,12 +4,12 @@ import { sameGitHubOwnerAndRepo } from "@oscharko-dev/keiko-contracts/runtime/co
|
|
|
4
4
|
import { readGitTreeDigest } from "@oscharko-dev/keiko-tools/internal/git-mutation";
|
|
5
5
|
import { activityLogEvent, defineActivityLogOperation, } from "@oscharko-dev/keiko-contracts/runtime/observability";
|
|
6
6
|
import { codingWorkbenchRemoteDigest } from "../coding-context/githubIssueResolution.js";
|
|
7
|
-
import { readVerifiedCommitFacts } from "./verifiedCommitFacts.js";
|
|
7
|
+
import { readVerifiedCommitFacts, untrackedOutsideCandidate } from "./verifiedCommitFacts.js";
|
|
8
8
|
import { runtimeGitReadDeps } from "./runtimeGitRead.js";
|
|
9
9
|
import { mintProposalId } from "./proposalId.js";
|
|
10
10
|
import { processServerLogSink } from "../process-log-sink.js";
|
|
11
11
|
import { gitDeliveryActivityErrorKind } from "./execution.js";
|
|
12
|
-
import { DraftDeliveryFailure, } from "./draftDeliveryTypes.js";
|
|
12
|
+
import { DraftDeliveryFailure, isIssueBoundContext, } from "./draftDeliveryTypes.js";
|
|
13
13
|
const DRAFT_REPOSITORY_DRIFT_OPERATION = defineActivityLogOperation({
|
|
14
14
|
contractKind: "activity-log-operation",
|
|
15
15
|
schemaVersion: 1,
|
|
@@ -98,15 +98,29 @@ export function assertDraftAuthority(context) {
|
|
|
98
98
|
if (!context.stillAuthorized() || context.signal?.aborted === true)
|
|
99
99
|
throw new DraftDeliveryFailure("authority-denied");
|
|
100
100
|
}
|
|
101
|
-
|
|
101
|
+
// An issue-bound run is held to its frozen issue on every fact. An issue-free run on a github.com
|
|
102
|
+
// origin has no issue: its target must be the repository it was admitted with, and its base is the
|
|
103
|
+
// branch the task was cut from.
|
|
104
|
+
function issueBoundDrift(target, context) {
|
|
102
105
|
if (codingWorkbenchRemoteDigest(target) !== context.issueBinding.remoteDigest) {
|
|
103
106
|
return "target-repository-mismatch";
|
|
104
107
|
}
|
|
105
108
|
if (context.repositoryDigest !== context.issueBinding.remoteDigest) {
|
|
106
109
|
return "workspace-repository-mismatch";
|
|
107
110
|
}
|
|
108
|
-
|
|
109
|
-
|
|
111
|
+
return context.baseRef === context.issueBinding.defaultBaseRef ? undefined : "base-ref-mismatch";
|
|
112
|
+
}
|
|
113
|
+
function issueFreeDrift(target, context) {
|
|
114
|
+
return codingWorkbenchRemoteDigest(target) === context.repositoryDigest
|
|
115
|
+
? undefined
|
|
116
|
+
: "target-repository-mismatch";
|
|
117
|
+
}
|
|
118
|
+
function draftRepositoryDrift(target, context) {
|
|
119
|
+
const drift = isIssueBoundContext(context)
|
|
120
|
+
? issueBoundDrift(target, context)
|
|
121
|
+
: issueFreeDrift(target, context);
|
|
122
|
+
if (drift !== undefined)
|
|
123
|
+
return drift;
|
|
110
124
|
return context.headRef === context.baseRef ? "head-equals-base" : undefined;
|
|
111
125
|
}
|
|
112
126
|
export async function resolveDraftRepository(options, context) {
|
|
@@ -122,13 +136,18 @@ export async function resolveDraftRepository(options, context) {
|
|
|
122
136
|
}
|
|
123
137
|
return target.repository.toLowerCase();
|
|
124
138
|
}
|
|
125
|
-
|
|
139
|
+
function succeededCommit(options, context) {
|
|
126
140
|
const commit = options.snapshots.get(context.runId)?.verifiedCommitResult;
|
|
127
141
|
if (!isVerifiedCommitResult(commit) ||
|
|
128
142
|
commit.status !== "succeeded" ||
|
|
129
|
-
commit.headSha === undefined
|
|
143
|
+
commit.headSha === undefined ||
|
|
144
|
+
!commitContextMatches(commit, context))
|
|
130
145
|
return undefined;
|
|
131
|
-
|
|
146
|
+
return { ...commit, headSha: commit.headSha };
|
|
147
|
+
}
|
|
148
|
+
export function initialDraftBinding(options, context, repository) {
|
|
149
|
+
const commit = succeededCommit(options, context);
|
|
150
|
+
if (commit === undefined)
|
|
132
151
|
return undefined;
|
|
133
152
|
return {
|
|
134
153
|
runId: context.runId,
|
|
@@ -149,12 +168,62 @@ export function initialDraftBinding(options, context, repository) {
|
|
|
149
168
|
recoveryId: draftDeliveryId("recovery"),
|
|
150
169
|
};
|
|
151
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* The durable intent of an issue-free run: the verified commit, pushed to the run's own task branch
|
|
173
|
+
* on `origin`. On a foreign remote there is no repository, issue or pull request fact to bind
|
|
174
|
+
* (ADR-0085 D1b); on a verified github.com origin the binding also names the repository a draft
|
|
175
|
+
* pull request opens in, still with no issue (ADR-0086 D13).
|
|
176
|
+
*/
|
|
177
|
+
export function initialBranchBinding(options, context, repository) {
|
|
178
|
+
const commit = succeededCommit(options, context);
|
|
179
|
+
if (commit === undefined)
|
|
180
|
+
return undefined;
|
|
181
|
+
const common = {
|
|
182
|
+
runId: context.runId,
|
|
183
|
+
workspaceDigest: context.workspaceDigest,
|
|
184
|
+
runtimeAuthorityDigest: context.runtimeAuthorityDigest,
|
|
185
|
+
envelopeDigest: context.envelopeDigest,
|
|
186
|
+
remoteDigest: context.repositoryDigest,
|
|
187
|
+
remoteAlias: "origin",
|
|
188
|
+
baseRef: context.baseRef,
|
|
189
|
+
baseSha: commit.baseSha,
|
|
190
|
+
headRef: context.headRef,
|
|
191
|
+
headSha: commit.headSha,
|
|
192
|
+
verifiedCommitProposalId: commit.proposalId,
|
|
193
|
+
recoveryId: draftDeliveryId("recovery"),
|
|
194
|
+
};
|
|
195
|
+
return repository === undefined
|
|
196
|
+
? { kind: "branch-push", ...common }
|
|
197
|
+
: { kind: "github-repository", ...common, repository };
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Re-verifies an issue-free run's `origin` immediately before a proposal or an effect. Answers the
|
|
201
|
+
* live `owner/repository` when `origin` is a verified github.com repository.
|
|
202
|
+
*/
|
|
203
|
+
export async function assertDraftBranchTarget(options, context) {
|
|
204
|
+
assertDraftAuthority(context);
|
|
205
|
+
const resolve = options.resolveBranchTarget;
|
|
206
|
+
if (resolve === undefined)
|
|
207
|
+
throw new DraftDeliveryFailure("provider-failed");
|
|
208
|
+
const target = await resolve(context);
|
|
209
|
+
assertDraftAuthority(context);
|
|
210
|
+
if (!target.ok)
|
|
211
|
+
throw new DraftDeliveryFailure(target.reason);
|
|
212
|
+
return target.repository;
|
|
213
|
+
}
|
|
214
|
+
// Full access pushes the verified commit while untracked files lie beside it, exactly as it
|
|
215
|
+
// committed it (#3907, lab T17 round I): the push sends that commit alone. Unstaged changes, unsaved
|
|
216
|
+
// buffers and every other mode still refuse the push.
|
|
217
|
+
function admitsUntrackedBesidePush(options, context, facts) {
|
|
218
|
+
return (options.policyAllowsWithoutApproval?.("push") === true &&
|
|
219
|
+
untrackedOutsideCandidate(context, facts));
|
|
220
|
+
}
|
|
152
221
|
export async function assertDraftLocalCandidate(options, context, binding) {
|
|
153
222
|
const execution = options.execution ?? {};
|
|
154
223
|
const facts = await readVerifiedCommitFacts(context, execution);
|
|
155
224
|
const tree = await readGitTreeDigest(runtimeGitReadDeps(context, execution), binding.headSha);
|
|
156
225
|
assertDraftAuthority(context);
|
|
157
|
-
if (!facts.clean ||
|
|
226
|
+
if (!(facts.clean || admitsUntrackedBesidePush(options, context, facts)) ||
|
|
158
227
|
facts.headSha !== binding.headSha ||
|
|
159
228
|
facts.baseSha !== binding.baseSha ||
|
|
160
229
|
facts.stagedTreeDigest !== tree)
|
|
@@ -234,7 +303,7 @@ function commitContextMatches(commit, context) {
|
|
|
234
303
|
commit.runtimeAuthorityDigest === context.runtimeAuthorityDigest &&
|
|
235
304
|
commit.workspaceDigest === context.workspaceDigest &&
|
|
236
305
|
commit.repositoryDigest === context.repositoryDigest &&
|
|
237
|
-
commit.issueBindingDigest === context.issueBinding
|
|
306
|
+
commit.issueBindingDigest === context.issueBinding?.bindingDigest);
|
|
238
307
|
}
|
|
239
308
|
function resolveListedIdentity(list, binding) {
|
|
240
309
|
if (list.length > 1)
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import type { DraftDeliveryProposal, DraftDeliveryRunContext, DraftDeliveryServiceOptions } from "./draftDeliveryTypes.js";
|
|
2
2
|
import { type DraftDeliveryBinding, type DraftDeliveryPhase, type DraftDeliveryReason, type DraftDeliveryRecord } from "@oscharko-dev/keiko-contracts/runtime/draft-delivery";
|
|
3
3
|
import { type ActivityLogErrorKind } from "@oscharko-dev/keiko-contracts/runtime/observability";
|
|
4
|
+
import type { CodingRuntimeDeliveryResult } from "@oscharko-dev/keiko-contracts/runtime/coding-runtime-delivery";
|
|
4
5
|
import type { GitPullRequestIdentity } from "@oscharko-dev/keiko-contracts/runtime/git-pull-request";
|
|
5
6
|
import type { GitPushCommand, GitPrCreateCommand } from "@oscharko-dev/keiko-tools";
|
|
6
7
|
export interface DraftDeliveryActivityFields {
|
|
7
8
|
readonly runId: string;
|
|
8
9
|
readonly phase: DraftDeliveryPhase | "approval-issued" | "approval-consumed" | "approval" | "refused" | "failed";
|
|
9
|
-
readonly reason?: DraftDeliveryReason |
|
|
10
|
+
readonly reason?: DraftDeliveryReason | Extract<CodingRuntimeDeliveryResult, {
|
|
11
|
+
status: "unavailable";
|
|
12
|
+
}>["reason"] | "policy-authorized";
|
|
10
13
|
readonly revision?: number;
|
|
11
14
|
readonly proposalId?: string;
|
|
12
15
|
readonly proposalDigest?: string;
|
package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryLedger.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draftDeliveryLedger.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/draftDeliveryLedger.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC5B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,
|
|
1
|
+
{"version":3,"file":"draftDeliveryLedger.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/draftDeliveryLedger.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC5B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAGL,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACzB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,qDAAqD,CAAC;AAC7D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+DAA+D,CAAC;AACjH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AACrG,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AA4GpF,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EACV,kBAAkB,GAClB,iBAAiB,GACjB,mBAAmB,GACnB,UAAU,GACV,SAAS,GACT,QAAQ,CAAC;IACb,QAAQ,CAAC,MAAM,CAAC,EACZ,mBAAmB,GACnB,OAAO,CAAC,2BAA2B,EAAE;QAAE,MAAM,EAAE,aAAa,CAAA;KAAE,CAAC,CAAC,QAAQ,CAAC,GACzE,mBAAmB,CAAC;IACxB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAC3C,QAAQ,CAAC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IACzC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACzC;AAED,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,2BAA2B,EACpC,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,2BAA2B,EACnC,OAAO,CAAC,EAAE;IAAE,QAAQ,CAAC,SAAS,EAAE,oBAAoB,CAAA;CAAE,GACrD,IAAI,CAWN;AAED,MAAM,MAAM,oBAAoB,GAAG,cAAc,GAAG,kBAAkB,CAAC;AACvE,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,oBAAoB,EAC7B,OAAO,EAAE,oBAAoB,GAC5B,MAAM,CAER;AACD,wBAAgB,QAAQ,CAAC,OAAO,EAAE,2BAA2B,GAAG,MAAM,CAErE;AACD,wBAAgB,YAAY,CAC1B,OAAO,EAAE,2BAA2B,EACpC,OAAO,EAAE,uBAAuB,GAC/B,mBAAmB,GAAG,SAAS,CAEjC;AACD,wBAAgB,UAAU,CACxB,OAAO,EAAE,2BAA2B,EACpC,OAAO,EAAE,uBAAuB,EAChC,MAAM,EAAE,mBAAmB,EAC3B,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAC9B,mBAAmB,CAMrB;AACD,wBAAgB,YAAY,CAC1B,OAAO,EAAE,2BAA2B,EACpC,OAAO,EAAE,uBAAuB,EAChC,MAAM,EAAE,mBAAmB,GAC1B,IAAI,CAmBN;AAaD,wBAAgB,YAAY,CAC1B,OAAO,EAAE,2BAA2B,EACpC,OAAO,EAAE,uBAAuB,EAChC,OAAO,EAAE,mBAAmB,EAC5B,KAAK,EAAE,kBAAkB,EACzB,MAAM,EAAE,mBAAmB,EAC3B,WAAW,qCAAsB,GAChC,mBAAmB,CAcrB;AACD,wBAAgB,cAAc,CAC5B,OAAO,EAAE,2BAA2B,EACpC,OAAO,EAAE,oBAAoB,EAC7B,OAAO,EAAE,oBAAoB,EAC7B,OAAO,EAAE,mBAAmB,GAAG,SAAS,GACvC,mBAAmB,CAYrB;AACD,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,2BAA2B,EACpC,OAAO,EAAE,uBAAuB,GAC/B,mBAAmB,GAAG,SAAS,CAyBjC;AACD,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,mBAAmB,EAC5B,WAAW,EAAE,sBAAsB,GAAG,SAAS,GAC9C,sBAAsB,GAAG,SAAS,CAEpC;AAQD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,2BAA2B,EACpC,QAAQ,EAAE,qBAAqB,EAC/B,KAAK,EAAE,iBAAiB,GAAG,mBAAmB,GAC7C,IAAI,CAON"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UNKNOWN_CORRELATION_ID } from "../correlation.js";
|
|
2
2
|
import { canonicalise, sha256Hex } from "@oscharko-dev/keiko-security";
|
|
3
|
-
import { isDraftDeliveryRecord, } from "@oscharko-dev/keiko-contracts/runtime/draft-delivery";
|
|
3
|
+
import { isDraftDeliveryIssueBinding, isDraftDeliveryRecord, } from "@oscharko-dev/keiko-contracts/runtime/draft-delivery";
|
|
4
4
|
import { activityLogEvent, defineActivityLogOperation, } from "@oscharko-dev/keiko-contracts/runtime/observability";
|
|
5
5
|
import { draftDeliveryId } from "./draftDeliveryFacts.js";
|
|
6
6
|
import { processServerLogSink } from "../process-log-sink.js";
|
|
@@ -52,6 +52,15 @@ const DRAFT_DELIVERY_OPERATION = defineActivityLogOperation({
|
|
|
52
52
|
"preflight-failed",
|
|
53
53
|
"operation-in-flight",
|
|
54
54
|
"policy-authorized",
|
|
55
|
+
"issue-unavailable",
|
|
56
|
+
"verified-commit-required",
|
|
57
|
+
"proposal-unavailable",
|
|
58
|
+
"payload-invalid",
|
|
59
|
+
"provider-unavailable",
|
|
60
|
+
"repository-required",
|
|
61
|
+
"remote-required",
|
|
62
|
+
"github-origin-required",
|
|
63
|
+
"issue-binding-required",
|
|
55
64
|
],
|
|
56
65
|
},
|
|
57
66
|
revision: { type: "integer", dataClass: "count", required: false },
|
|
@@ -133,9 +142,7 @@ export function draftChanged(options, context, record) {
|
|
|
133
142
|
headSha: record.binding.headSha,
|
|
134
143
|
baseSha: record.binding.baseSha,
|
|
135
144
|
remoteDigest: record.binding.remoteDigest,
|
|
136
|
-
|
|
137
|
-
issueIdDigest: record.binding.issueIdDigest,
|
|
138
|
-
issueNumber: record.binding.issueNumber,
|
|
145
|
+
...issueActivityFields(record.binding),
|
|
139
146
|
verifiedCommitProposalId: record.binding.verifiedCommitProposalId,
|
|
140
147
|
runtimeAuthorityDigest: record.binding.runtimeAuthorityDigest,
|
|
141
148
|
envelopeDigest: record.binding.envelopeDigest,
|
|
@@ -143,6 +150,16 @@ export function draftChanged(options, context, record) {
|
|
|
143
150
|
});
|
|
144
151
|
options.onChanged(record);
|
|
145
152
|
}
|
|
153
|
+
// An issue-free run has no issue facts to log; the line carries only what exists.
|
|
154
|
+
function issueActivityFields(binding) {
|
|
155
|
+
return isDraftDeliveryIssueBinding(binding)
|
|
156
|
+
? {
|
|
157
|
+
issueBindingDigest: binding.issueBindingDigest,
|
|
158
|
+
issueIdDigest: binding.issueIdDigest,
|
|
159
|
+
issueNumber: binding.issueNumber,
|
|
160
|
+
}
|
|
161
|
+
: {};
|
|
162
|
+
}
|
|
146
163
|
export function advanceDraft(options, context, current, phase, reason, pullRequest = current.pullRequest) {
|
|
147
164
|
return storeDraft(options, context, {
|
|
148
165
|
...current,
|
|
@@ -26,10 +26,17 @@ export declare class DraftDeliveryController implements DraftDeliveryService {
|
|
|
26
26
|
executeApproved(id: string, lease: object | undefined, guard: DeliveryGuard): Promise<CodingRuntimeDeliveryResult>;
|
|
27
27
|
private context;
|
|
28
28
|
private run;
|
|
29
|
+
private contextRefusal;
|
|
30
|
+
private loggedRefusal;
|
|
31
|
+
private logRefusal;
|
|
29
32
|
private busyRefusal;
|
|
30
33
|
private failure;
|
|
31
34
|
private getOrAdopt;
|
|
32
35
|
private preparePush;
|
|
36
|
+
private prepareIssuePush;
|
|
37
|
+
private prepareBranchPush;
|
|
38
|
+
private proposeVerifiedPush;
|
|
39
|
+
private branchRepository;
|
|
33
40
|
private retainedPushProposal;
|
|
34
41
|
private pushProposal;
|
|
35
42
|
private preparePullRequest;
|
|
@@ -41,6 +48,7 @@ export declare class DraftDeliveryController implements DraftDeliveryService {
|
|
|
41
48
|
private executeCurrent;
|
|
42
49
|
private executionClaim;
|
|
43
50
|
private reconcileCurrent;
|
|
51
|
+
private reconcileBranch;
|
|
44
52
|
private reconcileObservationCurrent;
|
|
45
53
|
private reconcileRecord;
|
|
46
54
|
}
|
package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draftDeliveryService.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/draftDeliveryService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAE5B,MAAM,+DAA+D,CAAC;
|
|
1
|
+
{"version":3,"file":"draftDeliveryService.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/draftDeliveryService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAE5B,MAAM,+DAA+D,CAAC;AAevE,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAKL,KAAK,qBAAqB,EAE1B,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EACjC,MAAM,yBAAyB,CAAC;AAsCjC,UAAU,aAAa;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,OAAO,CAAC;IAC9B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;CAC3C;AAuDD,qBAAa,uBAAwB,YAAW,oBAAoB;IAQ/C,OAAO,CAAC,QAAQ,CAAC,OAAO;IAP3C,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,QAAQ,CAAoC;IACpD,OAAO,CAAC,MAAM,CAGV;IACJ,YAAoC,OAAO,EAAE,2BAA2B,EAAI;IAC5E,OAAO,CAAC,KAAK;IAGN,UAAU,IAAI,IAAI,CAIxB;IACM,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAQ3D;IACM,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,yBAAyB,GAAG,SAAS,CAWtE;IACM,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAO1C;IACM,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAYrD;IACM,WAAW,IAAI,OAAO,CAAC,2BAA2B,CAAC,CAEzD;IACM,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAE7E;IACM,SAAS,IAAI,OAAO,CAAC,2BAA2B,CAAC,CAEvD;IACM,uBAAuB,IAAI,OAAO,CAAC,2BAA2B,CAAC,CAErE;IACM,eAAe,CACpB,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,KAAK,EAAE,aAAa,GACnB,OAAO,CAAC,2BAA2B,CAAC,CAEtC;IACD,OAAO,CAAC,OAAO;YAcD,GAAG;IAoBjB,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,UAAU;IAYlB,OAAO,CAAC,WAAW;IASnB,OAAO,CAAC,OAAO;IA8Bf,OAAO,CAAC,UAAU;IAGlB,OAAO,CAAC,WAAW;YAKL,gBAAgB;YAoBhB,iBAAiB;YAiBjB,mBAAmB;IAYjC,OAAO,CAAC,gBAAgB;IAWxB,OAAO,CAAC,oBAAoB;YAWd,YAAY;YA4BZ,kBAAkB;YA+BlB,eAAe;YA6Bf,aAAa;IAyB3B,OAAO,CAAC,cAAc;IAKtB,OAAO,CAAC,mBAAmB;IAiC3B,OAAO,CAAC,cAAc;YA6BR,cAAc;IAoC5B,OAAO,CAAC,cAAc;YAkBR,gBAAgB;IAa9B,OAAO,CAAC,eAAe;YAWT,2BAA2B;YAsB3B,eAAe;CAuC9B"}
|