@oscharko-dev/keiko 1.1.10 → 1.1.11
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/dist/ui/csp-hashes.json +7 -7
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +11 -11
- package/dist/ui/static/__next._full.txt +13 -13
- package/dist/ui/static/__next._tree.txt +2 -2
- package/dist/ui/static/_next/static/chunks/00dd_gyzi9unw.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2r-wzbygkv3rm.js → 00n029ow-5_tt.js} +2 -2
- package/dist/ui/static/_next/static/chunks/0_7ry-vzqryfq.js +1 -0
- package/dist/ui/static/_next/static/chunks/{42y02tbxkub8f.js → 0_p1naz51ki9i.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0cksy9u2ysiuy.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0rd6-ijqn28cg.js → 0xhrzm-zp_lsx.js} +1 -1
- package/dist/ui/static/_next/static/chunks/159szpr5ffygs.js +1 -0
- package/dist/ui/static/_next/static/chunks/1x5aw_ayly-sh.js +1 -0
- package/dist/ui/static/_next/static/chunks/2-h3ow6f6ywtk.js +1 -0
- package/dist/ui/static/_next/static/chunks/233j_pai87f3k.js +2 -0
- package/dist/ui/static/_next/static/chunks/27490erridyaz.js +1 -0
- package/dist/ui/static/_next/static/chunks/2tcon4aj5dc5t.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1ql6xdhcq4th6.js → 2uewj5n3jrohk.js} +1 -1
- package/dist/ui/static/_next/static/chunks/365nk-5mmf_8c.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0no8igw4lg7c2.js → 36t-jmpwnypy0.js} +1 -1
- package/dist/ui/static/_next/static/chunks/37f_o8ne61ty2.js +1 -0
- package/dist/ui/static/_next/static/chunks/3_u5w33et675r.js +1 -0
- package/dist/ui/static/_next/static/chunks/{01jy5ldd_0r_5.css → 3jb5u4g15g__m.css} +1 -1
- package/dist/ui/static/_next/static/chunks/434km55nqikg-.js +7 -0
- package/dist/ui/static/_not-found/__next._full.txt +9 -9
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +8 -8
- 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 +9 -9
- package/dist/ui/static/atlassian-connectors/__next._full.txt +11 -11
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +10 -10
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +11 -11
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +13 -13
- package/dist/ui/static/launch/__next._full.txt +13 -13
- package/dist/ui/static/launch/__next._tree.txt +2 -2
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +11 -11
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +13 -13
- package/dist/ui/static/local-knowledge/__next._full.txt +13 -13
- package/dist/ui/static/local-knowledge/__next._tree.txt +2 -2
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +11 -11
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +12 -12
- 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 +10 -10
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +12 -12
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +13 -13
- package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/activity-log-loss-summary.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-loss-summary.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/activity-log-loss-summary.js +2 -2
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-persistence.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-readiness.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/activity-log-readiness.js +2 -2
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/activity-log-store.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/error-classification.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/index.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/index.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/index.js +14 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/log-level.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/log-redaction.d.ts +17 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/log-redaction.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/log-redaction.js +35 -3
- package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/activity-log-line-reader.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/activity-log-line-reader.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/activity-log-line-reader.js +258 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/error-kind.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/error-kind.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/error-kind.js +11 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/index.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/index.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/index.js +10 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/sequence-number-set.d.ts +12 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/sequence-number-set.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/sequence-number-set.js +46 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze-sufficiency.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/support-analyze.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-analyze.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/support-analyze.js +44 -19
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-query.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-manifest-names.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-manifest.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/support-segment-manifest.js +6 -4
- package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/support-segment-scan.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-segment-scan.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/support-segment-scan.js +45 -15
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-selective-export.d.ts +29 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-selective-export.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-selective-export.js +30 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-tool-catalog.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/runtime-state-dir.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.d.ts +186 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-log.js +3107 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/server-logger.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/server-logger.js +5 -2
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/stack-frames.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/stack-frames.js +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident-store.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/support-incident.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/support-incident.js +13 -11
- package/node_modules/@oscharko-dev/keiko-activity-log/package.json +31 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/investigate.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/investigate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lazy-modules.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/lazy-modules.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/lazy-modules.js +1 -0
- package/node_modules/@oscharko-dev/keiko-cli/dist/repair.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/repair.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/repair.js +16 -16
- package/node_modules/@oscharko-dev/keiko-cli/dist/runner.js +3 -3
- package/node_modules/@oscharko-dev/keiko-cli/dist/state-paths.js +3 -3
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-export.js +4 -17
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-incident.js +11 -13
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.d.ts +7 -8
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-cli.js +22 -24
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-evidence.d.ts +1 -2
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.d.ts +6 -27
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-selective-export.js +5 -33
- package/node_modules/@oscharko-dev/keiko-cli/dist/support.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support.js +7 -8
- package/node_modules/@oscharko-dev/keiko-cli/package.json +15 -14
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts +71 -31
- 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 +100 -26
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-files.js +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +924 -96
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.js +1074 -90
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts +4 -4
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.js +40 -11
- package/node_modules/@oscharko-dev/keiko-contracts/dist/observability.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/observability.js +17 -5
- package/node_modules/@oscharko-dev/keiko-contracts/dist/task-workspace.d.ts +2 -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 +7 -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/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/env.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-git/dist/env.js +4 -0
- package/node_modules/@oscharko-dev/keiko-git/dist/index.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-git/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-git/dist/index.js +1 -0
- 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/knowledge-log.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/log-port.js +1 -1
- 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/vault-log.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/gateway.js +118 -38
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts +11 -4
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.js +29 -2
- 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/dist/index.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/index.js +1 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-egress.d.ts +63 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-egress.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-sandbox/dist/runtime-egress.js +182 -0
- 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/log-port.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/windows-system-directory.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/windows-system-directory.js +6 -4
- package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/credentialRoutes.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/credentialRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/wiring.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/wiring.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/bounded-request-body.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts +1 -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 +2 -2
- 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 +67 -24
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-app-session/codingAppSessionRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/activity-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/activity-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/codeContextConnector.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/codeContextConnector.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubCodeContextPort.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubCodeContextPort.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubCodeContextPort.js +1 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubIssueResolution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-context/githubIssueResolution.js +1 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRepositorySearchHandler.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRepositorySearchHandler.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRepositorySearchHandler.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairBudgetStore.d.ts +1 -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 +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEvidenceAggregator.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEvidenceAggregator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEvidenceAggregator.js +50 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeHistory.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeHistory.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeHistory.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeIssueIntake.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeIssueIntake.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeIssueIntake.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts +5 -1
- 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 +96 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOperationCoordinator.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOperationCoordinator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOperationCoordinator.js +1 -2
- 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 +31 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeRoutes.js +8 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeVerifiedCommitAuthorityStore.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.js +9 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolGovernedDelegate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.js +28 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.js +14 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.js +43 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2History.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.js +1 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCiRepairRuntime.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimePorts.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.js +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryDependencies.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts +2 -2
- 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 +41 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.js +15 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeGitPreparation.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.js +7 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionWorkspaceHeadReader.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionWorkspaceHeadReader.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionWorkspaceHeadReader.js +52 -17
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/readOnlyChildOrchestrator.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/readOnlyChildOrchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/readOnlyChildOrchestrator.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.d.ts +17 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeProcessSupervisor.js +47 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/secureWorkspaceTextReadProcess.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/command-runner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/credentialPersistence.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps-activity.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/deps-activity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps-activity.js +23 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +76 -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 +2 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.js +13 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/dap/debugLaunchPlan.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/dap/debugLaunchPlan.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspNodeAdapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/lsp/lspNodeAdapter.js +1 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/verificationExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/evidence-retention-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/evidence-retention-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-spend-budget.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-spend-budget.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-spend-budget.js +1 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeChatTestSupport.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeChatTestSupport.js +6 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeSnapshotRegistry.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeSnapshotRegistry.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeSnapshotService.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitChangeSnapshotService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/actionSheetRoutes.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/actionSheetRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/approvalEvents.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/approvalEvents.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitDraftQuality.d.ts +25 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitDraftQuality.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitDraftQuality.js +167 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.js +252 -79
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryChecks.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryChecks.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryService.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryServiceTestSupport.d.ts +2 -1
- 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 +53 -22
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTemplate.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTemplate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftRelatedIssuesActivity.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftRelatedIssuesActivity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.js +1 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/mergeExecution.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/mergeExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionGeneration.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionProjection.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionReceiptStore.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionReceiptStore.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionRoutes.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionTestSupport.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionTestSupport.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prDescriptionTestSupport.js +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prExecution.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prMarkReadyExecution.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prMarkReadyExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/pushExecution.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/pushExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/requestPreparation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/requestPreparation.js +1 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitService.js +1 -1
- 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 +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitService.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-orchestrator.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/harness-context-compactor.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/harness-context-compactor.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/index.d.ts +7 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/index.js +7 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/local-knowledge-handlers.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-autonomy-policy-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-autonomy-policy-handlers.js +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-capture-policy.d.ts +4 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-capture-policy.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-capture-policy.js +10 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/index.d.ts +2 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/index.js +11 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.d.ts +1 -0
- 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 +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/server-log.d.ts +1 -180
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/server-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/server-log.js +3 -2950
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.js +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerEngineDetector.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerEngineDetector.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerRunner.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/runtime/containerRunner.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/server.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/server.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/server.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/sink.js +1 -1
- 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 +5 -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 +7 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/activity-log.d.ts +1 -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 +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/binding.js +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/cleanup.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/cleanup.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/health.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/health.js +4 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/lifecycle.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/lifecycle.js +9 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.d.ts +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.js +392 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/managed-root.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/managed-root.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/managed-root.js +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/provisioning.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/provisioning.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/reconciliation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/reconciliation.js +6 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/repair.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/repair.js +2 -0
- 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 +47 -0
- 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 +12 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/types.d.ts +6 -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/task-workspace/workspace-root-access.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/terminal.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/terminal.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 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolLifecycle.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolLifecycle.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolLifecycle.js +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolSettlement.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-legacy-audit-import.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-legacy-audit-import.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-legacy-audit-import.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/update-runtime-activity.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-root-denial-log.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-script-trust.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/workspace-script-trust.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/package.json +23 -22
- package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/git-worktree-snapshot-node.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/git-worktree-snapshot-node.js +8 -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/fs.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/fs.js +4 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
- package/package.json +28 -26
- package/release-impact.catalog.json +71 -0
- package/scripts/lib/local-state-audit.mjs +3 -2
- package/vendor/oscharko-dev-keiko-activity-log-1.1.11.tgz +0 -0
- package/vendor/oscharko-dev-keiko-cli-1.1.11.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.1.10.tgz → oscharko-dev-keiko-connectors-1.1.11.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.1.11.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.1.10.tgz → oscharko-dev-keiko-evaluations-1.1.11.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-evidence-1.1.10.tgz → oscharko-dev-keiko-evidence-1.1.11.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-git-1.1.11.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.1.10.tgz → oscharko-dev-keiko-harness-1.1.11.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.1.11.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.1.10.tgz → oscharko-dev-keiko-memory-capture-1.1.11.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-memory-consolidation-1.1.11.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.1.10.tgz → oscharko-dev-keiko-memory-governance-1.1.11.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-memory-retrieval-1.1.11.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-1.1.10.tgz → oscharko-dev-keiko-memory-vault-1.1.11.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.1.11.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.1.10.tgz → oscharko-dev-keiko-quality-intelligence-1.1.11.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.1.11.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-sdk-1.1.10.tgz → oscharko-dev-keiko-sdk-1.1.11.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-security-1.1.11.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.1.11.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-tool-catalog-1.1.10.tgz → oscharko-dev-keiko-tool-catalog-1.1.11.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.1.11.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-verification-1.1.10.tgz → oscharko-dev-keiko-verification-1.1.11.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workflows-1.1.10.tgz → oscharko-dev-keiko-workflows-1.1.11.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.1.11.tgz +0 -0
- package/dist/ui/static/_next/static/chunks/04c8gos36pwl8.js +0 -1
- package/dist/ui/static/_next/static/chunks/0erql9ej2t_r7.js +0 -1
- package/dist/ui/static/_next/static/chunks/0w48lw1wvc7ig.js +0 -1
- package/dist/ui/static/_next/static/chunks/18qf6y7a99idv.js +0 -1
- package/dist/ui/static/_next/static/chunks/1mi566lu15tc0.js +0 -1
- package/dist/ui/static/_next/static/chunks/1tq9npejhlwm0.js +0 -1
- package/dist/ui/static/_next/static/chunks/2p6x_6c78vqic.js +0 -1
- package/dist/ui/static/_next/static/chunks/35q-v--ikwjcq.js +0 -1
- package/dist/ui/static/_next/static/chunks/36m_1433yesno.js +0 -1
- package/dist/ui/static/_next/static/chunks/3gb3syh5vkuxt.js +0 -1
- package/dist/ui/static/_next/static/chunks/3gtstv3k7jsm2.js +0 -1
- package/dist/ui/static/_next/static/chunks/3hs8v_qv53sil.js +0 -7
- package/dist/ui/static/_next/static/chunks/3u8vvvcl8_psd.js +0 -2
- package/node_modules/@oscharko-dev/keiko-cli/dist/activity-log-line-reader.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/activity-log-line-reader.js +0 -114
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-analyze-sufficiency.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-analyze.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-query.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-segment-manifest-names.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-segment-manifest.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-segment-scan.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-cli/dist/support-tool-catalog.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-loss-summary.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-persistence.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-readiness.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/activity-log-store.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/error-classification.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/log-level.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/log-redaction.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/runtime-state-dir.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/server-logger.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/stack-frames.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/support-incident-store.d.ts.map +0 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/support-incident.d.ts.map +0 -1
- package/vendor/oscharko-dev-keiko-cli-1.1.10.tgz +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.1.10.tgz +0 -0
- package/vendor/oscharko-dev-keiko-git-1.1.10.tgz +0 -0
- package/vendor/oscharko-dev-keiko-local-knowledge-1.1.10.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-consolidation-1.1.10.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-retrieval-1.1.10.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.1.10.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.1.10.tgz +0 -0
- package/vendor/oscharko-dev-keiko-security-1.1.10.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.1.10.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.1.10.tgz +0 -0
- package/vendor/oscharko-dev-keiko-workspace-1.1.10.tgz +0 -0
- /package/dist/ui/static/_next/static/{lA0N8Tc8KZpJTM4YAywwM → GX41Kg0XC2e1CF4PEQCfA}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{lA0N8Tc8KZpJTM4YAywwM → GX41Kg0XC2e1CF4PEQCfA}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{lA0N8Tc8KZpJTM4YAywwM → GX41Kg0XC2e1CF4PEQCfA}/_ssgManifest.js +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/activity-log-persistence.d.ts +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/activity-log-persistence.js +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/activity-log-readiness.d.ts +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/activity-log-store.d.ts +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/activity-log-store.js +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/error-classification.d.ts +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/error-classification.js +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/log-level.d.ts +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/log-level.js +0 -0
- /package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/support-analyze-sufficiency.d.ts +0 -0
- /package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/support-analyze-sufficiency.js +0 -0
- /package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/support-query.d.ts +0 -0
- /package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/support-query.js +0 -0
- /package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/support-segment-manifest-names.d.ts +0 -0
- /package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/support-segment-manifest-names.js +0 -0
- /package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/support-segment-manifest.d.ts +0 -0
- /package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/support-tool-catalog.d.ts +0 -0
- /package/node_modules/@oscharko-dev/{keiko-cli/dist → keiko-activity-log/dist/reader}/support-tool-catalog.js +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/runtime-state-dir.d.ts +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/runtime-state-dir.js +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/server-logger.d.ts +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/stack-frames.d.ts +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/support-incident-store.d.ts +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/support-incident-store.js +0 -0
- /package/node_modules/@oscharko-dev/{keiko-server/dist/observability → keiko-activity-log/dist}/support-incident.d.ts +0 -0
|
@@ -19,8 +19,11 @@
|
|
|
19
19
|
// warning/violation/finding codes, never the message body, diff, or raw paths. The expensive
|
|
20
20
|
// diff-backed commit draft has its own explicit endpoint, so the read-only preview never hides model
|
|
21
21
|
// latency, cost, or an unavailable model behind ordinary staging changes.
|
|
22
|
-
import { selectConfiguredModel, } from "@oscharko-dev/keiko-model-gateway";
|
|
23
|
-
import { ProviderOutputExhaustedError, TimeoutError } from "@oscharko-dev/keiko-security";
|
|
22
|
+
import { findConfiguredCapability, selectConfiguredModel, } from "@oscharko-dev/keiko-model-gateway";
|
|
23
|
+
import { ProviderEmptyAnswerError, ProviderOutputExhaustedError, TimeoutError, } from "@oscharko-dev/keiko-security";
|
|
24
|
+
import { sha256Hex } from "@oscharko-dev/keiko-security/hashing";
|
|
25
|
+
import { createWorkspaceMutexRegistry } from "../task-workspace/mutex.js";
|
|
26
|
+
import { canonicalCommitBody, prepareCommitDraft, } from "./commitDraftQuality.js";
|
|
24
27
|
import { analyzeGitCommitIntent } from "@oscharko-dev/keiko-contracts/runtime/git-commit-intent";
|
|
25
28
|
import { evaluateGitDeliveryEffectivePolicy, evaluateGitPolicy, } from "@oscharko-dev/keiko-contracts/runtime/git-delivery-policy";
|
|
26
29
|
import { gitDeliveryRiskClassForInputs } from "@oscharko-dev/keiko-contracts/runtime/git-delivery";
|
|
@@ -66,6 +69,74 @@ const COMMIT_PREVIEW_COMPLETED_OPERATION = defineActivityLogOperation({
|
|
|
66
69
|
proofIds: ["git.commit.preview.completed.emitted-line"],
|
|
67
70
|
releaseImpact: "patch",
|
|
68
71
|
});
|
|
72
|
+
const COMMIT_DRAFT_MODEL_FIELDS = {
|
|
73
|
+
outcome: {
|
|
74
|
+
type: "string",
|
|
75
|
+
dataClass: "closed-enum",
|
|
76
|
+
required: true,
|
|
77
|
+
values: ["succeeded", "failed"],
|
|
78
|
+
},
|
|
79
|
+
failureCode: {
|
|
80
|
+
type: "string",
|
|
81
|
+
dataClass: "closed-enum",
|
|
82
|
+
required: false,
|
|
83
|
+
values: [
|
|
84
|
+
"GIT_DELIVERY_COMMIT_BAD_REQUEST",
|
|
85
|
+
"GIT_DELIVERY_COMMIT_PAYLOAD_TOO_LARGE",
|
|
86
|
+
"GIT_DELIVERY_COMMIT_FORBIDDEN_PAYLOAD",
|
|
87
|
+
"GIT_DELIVERY_COMMIT_DRAFT_CONTEXT_TOO_LARGE",
|
|
88
|
+
"GIT_DELIVERY_COMMIT_DRAFT_FAILED",
|
|
89
|
+
"GIT_DELIVERY_COMMIT_DRAFT_INVALID_OUTPUT",
|
|
90
|
+
"GIT_DELIVERY_COMMIT_DRAFT_OUTPUT_EXHAUSTED",
|
|
91
|
+
"GIT_DELIVERY_COMMIT_DRAFT_TIMED_OUT",
|
|
92
|
+
"GIT_DELIVERY_COMMIT_DRAFT_CANCELLED",
|
|
93
|
+
"GIT_DELIVERY_COMMIT_DRAFT_MODEL_UNAVAILABLE",
|
|
94
|
+
"GIT_DELIVERY_COMMIT_DRAFT_NO_CHANGES",
|
|
95
|
+
"GIT_DELIVERY_COMMIT_UNKNOWN_PROJECT",
|
|
96
|
+
"GIT_DELIVERY_COMMIT_WORKTREE_UNAVAILABLE",
|
|
97
|
+
],
|
|
98
|
+
},
|
|
99
|
+
// #3591 (1.1.7): the bounds the model call ran under, present once a model was resolved — the
|
|
100
|
+
// output allowance sent (the raised draft budget, clamped to the model's declared limit) and
|
|
101
|
+
// the route's own deadline behind the gateway's floors — so an exhausted or timed-out draft
|
|
102
|
+
// can be reconstructed from this line alone.
|
|
103
|
+
maxOutputTokens: { type: "integer", dataClass: "count", required: false },
|
|
104
|
+
deadlineMs: { type: "integer", dataClass: "duration", required: false },
|
|
105
|
+
promptTokens: { type: "integer", dataClass: "count", required: false },
|
|
106
|
+
maxPromptTokens: { type: "integer", dataClass: "count", required: false },
|
|
107
|
+
diffCompacted: { type: "boolean", dataClass: "closed-enum", required: false },
|
|
108
|
+
generationAttempts: { type: "integer", dataClass: "count", required: false },
|
|
109
|
+
reused: { type: "boolean", dataClass: "closed-enum", required: false },
|
|
110
|
+
draftKeyDigest: { type: "string", dataClass: "digest", required: false, maxLength: 64 },
|
|
111
|
+
normalizationVersion: {
|
|
112
|
+
type: "string",
|
|
113
|
+
dataClass: "closed-enum",
|
|
114
|
+
required: false,
|
|
115
|
+
values: ["1"],
|
|
116
|
+
},
|
|
117
|
+
normalizationRule: {
|
|
118
|
+
type: "string",
|
|
119
|
+
dataClass: "closed-enum",
|
|
120
|
+
required: false,
|
|
121
|
+
values: ["body-only", "terminal-trailers", "explicit-trailers"],
|
|
122
|
+
},
|
|
123
|
+
normalizationChanged: { type: "boolean", dataClass: "closed-enum", required: false },
|
|
124
|
+
bodyBulletCount: { type: "integer", dataClass: "count", required: false },
|
|
125
|
+
trailerLikeLineCount: { type: "integer", dataClass: "count", required: false },
|
|
126
|
+
trailerCount: { type: "integer", dataClass: "count", required: false },
|
|
127
|
+
trailerContinuationCount: {
|
|
128
|
+
type: "integer",
|
|
129
|
+
dataClass: "count",
|
|
130
|
+
required: false,
|
|
131
|
+
},
|
|
132
|
+
trailerParagraphBreakCount: {
|
|
133
|
+
type: "integer",
|
|
134
|
+
dataClass: "count",
|
|
135
|
+
required: false,
|
|
136
|
+
},
|
|
137
|
+
referenceTrailerCount: { type: "integer", dataClass: "count", required: false },
|
|
138
|
+
breakingTrailerCount: { type: "integer", dataClass: "count", required: false },
|
|
139
|
+
};
|
|
69
140
|
const COMMIT_DRAFT_COMPLETED_OPERATION = defineActivityLogOperation({
|
|
70
141
|
contractKind: "activity-log-operation",
|
|
71
142
|
schemaVersion: 1,
|
|
@@ -81,37 +152,7 @@ const COMMIT_DRAFT_COMPLETED_OPERATION = defineActivityLogOperation({
|
|
|
81
152
|
stagedFileCount: { type: "integer", dataClass: "count", required: false },
|
|
82
153
|
areaCount: { type: "integer", dataClass: "count", required: false },
|
|
83
154
|
touchesTests: { type: "boolean", dataClass: "closed-enum", required: false },
|
|
84
|
-
|
|
85
|
-
type: "string",
|
|
86
|
-
dataClass: "closed-enum",
|
|
87
|
-
required: true,
|
|
88
|
-
values: ["succeeded", "failed"],
|
|
89
|
-
},
|
|
90
|
-
failureCode: {
|
|
91
|
-
type: "string",
|
|
92
|
-
dataClass: "closed-enum",
|
|
93
|
-
required: false,
|
|
94
|
-
values: [
|
|
95
|
-
"GIT_DELIVERY_COMMIT_BAD_REQUEST",
|
|
96
|
-
"GIT_DELIVERY_COMMIT_PAYLOAD_TOO_LARGE",
|
|
97
|
-
"GIT_DELIVERY_COMMIT_FORBIDDEN_PAYLOAD",
|
|
98
|
-
"GIT_DELIVERY_COMMIT_DRAFT_FAILED",
|
|
99
|
-
"GIT_DELIVERY_COMMIT_DRAFT_INVALID_OUTPUT",
|
|
100
|
-
"GIT_DELIVERY_COMMIT_DRAFT_OUTPUT_EXHAUSTED",
|
|
101
|
-
"GIT_DELIVERY_COMMIT_DRAFT_TIMED_OUT",
|
|
102
|
-
"GIT_DELIVERY_COMMIT_DRAFT_CANCELLED",
|
|
103
|
-
"GIT_DELIVERY_COMMIT_DRAFT_MODEL_UNAVAILABLE",
|
|
104
|
-
"GIT_DELIVERY_COMMIT_DRAFT_NO_CHANGES",
|
|
105
|
-
"GIT_DELIVERY_COMMIT_UNKNOWN_PROJECT",
|
|
106
|
-
"GIT_DELIVERY_COMMIT_WORKTREE_UNAVAILABLE",
|
|
107
|
-
],
|
|
108
|
-
},
|
|
109
|
-
// #3591 (1.1.7): the bounds the model call ran under, present once a model was resolved — the
|
|
110
|
-
// output allowance sent (the raised draft budget, clamped to the model's declared limit) and
|
|
111
|
-
// the route's own deadline behind the gateway's floors — so an exhausted or timed-out draft
|
|
112
|
-
// can be reconstructed from this line alone.
|
|
113
|
-
maxOutputTokens: { type: "integer", dataClass: "count", required: false },
|
|
114
|
-
deadlineMs: { type: "integer", dataClass: "duration", required: false },
|
|
155
|
+
...COMMIT_DRAFT_MODEL_FIELDS,
|
|
115
156
|
},
|
|
116
157
|
causal: "correlation",
|
|
117
158
|
lifecycle: "end",
|
|
@@ -120,11 +161,31 @@ const COMMIT_DRAFT_COMPLETED_OPERATION = defineActivityLogOperation({
|
|
|
120
161
|
proofIds: ["git.commit.draft.completed.emitted-line"],
|
|
121
162
|
releaseImpact: "patch",
|
|
122
163
|
});
|
|
164
|
+
const COMMIT_DRAFT_ATTEMPT_COMPLETED_OPERATION = defineActivityLogOperation({
|
|
165
|
+
contractKind: "activity-log-operation",
|
|
166
|
+
schemaVersion: 1,
|
|
167
|
+
op: "git.commit.draft.attempt.completed",
|
|
168
|
+
category: "diagnostic",
|
|
169
|
+
owner: "keiko-server",
|
|
170
|
+
emitter: "gitDelivery/commitRoutes.logCommitDraftAttempt",
|
|
171
|
+
fields: {
|
|
172
|
+
...COMMIT_DRAFT_MODEL_FIELDS,
|
|
173
|
+
attempt: { type: "integer", dataClass: "count", required: true },
|
|
174
|
+
},
|
|
175
|
+
causal: "correlation",
|
|
176
|
+
lifecycle: "state",
|
|
177
|
+
analyzerProjection: "timeline",
|
|
178
|
+
failureClasses: ["git-commit-draft"],
|
|
179
|
+
proofIds: ["git.commit.draft.attempt.completed.emitted-line"],
|
|
180
|
+
releaseImpact: "patch",
|
|
181
|
+
});
|
|
123
182
|
// #3591: an output-exhausted answer is not shape-invalid (the model simply spent its whole budget
|
|
124
183
|
// before finishing), but it is just as unusable as a malformed one, so it shares the
|
|
125
184
|
// "validation-failed" errorKind with GIT_DELIVERY_COMMIT_DRAFT_INVALID_OUTPUT — the precise class
|
|
126
185
|
// still survives on the record via the `failureCode` field below.
|
|
127
186
|
function commitDraftErrorKind(code) {
|
|
187
|
+
if (code === "GIT_DELIVERY_COMMIT_DRAFT_CONTEXT_TOO_LARGE")
|
|
188
|
+
return "validation-failed";
|
|
128
189
|
if (code === "GIT_DELIVERY_COMMIT_DRAFT_MODEL_UNAVAILABLE")
|
|
129
190
|
return "unavailable";
|
|
130
191
|
if (code === "GIT_DELIVERY_COMMIT_DRAFT_TIMED_OUT")
|
|
@@ -143,6 +204,7 @@ const SAFE_MESSAGES = {
|
|
|
143
204
|
GIT_DELIVERY_COMMIT_BAD_REQUEST: "The request body is not a valid governed commit request.",
|
|
144
205
|
GIT_DELIVERY_COMMIT_PAYLOAD_TOO_LARGE: "The governed commit request exceeds the maximum size.",
|
|
145
206
|
GIT_DELIVERY_COMMIT_FORBIDDEN_PAYLOAD: "The request contained a forbidden field. Requests may not carry credentials, headers, or URLs.",
|
|
207
|
+
GIT_DELIVERY_COMMIT_DRAFT_CONTEXT_TOO_LARGE: "The selected changes exceed this model’s context window even after compacting every file. Choose a model with a larger context window.",
|
|
146
208
|
GIT_DELIVERY_COMMIT_DRAFT_FAILED: "Keiko could not generate a commit draft from the staged diff.",
|
|
147
209
|
GIT_DELIVERY_COMMIT_DRAFT_CANCELLED: "The commit draft was cancelled because the client disconnected before it was ready.",
|
|
148
210
|
GIT_DELIVERY_COMMIT_DRAFT_INVALID_OUTPUT: "Keiko generated a commit draft that did not pass validation.",
|
|
@@ -159,7 +221,6 @@ const errResult = (status, code) => ({
|
|
|
159
221
|
});
|
|
160
222
|
const UTF8 = new TextEncoder();
|
|
161
223
|
const KEIKO_GENERATED_FOOTER = "🤖 Generated with [Keiko](https://github.com/oscharko-dev/Keiko)";
|
|
162
|
-
const COMMIT_DRAFT_DIFF_MAX_CHARS = 90_000;
|
|
163
224
|
const COMMIT_DRAFT_INSTRUCTION_MAX_CHARS = 1_500;
|
|
164
225
|
// #3591 (1.1.7): a LiteLLM-fronted vLLM gateway at peak load can take 30-120s or longer to answer.
|
|
165
226
|
// The flat 30s AbortSignal this route used to pass as `cancellationSignal` capped the WHOLE buffered
|
|
@@ -398,7 +459,9 @@ const COMMIT_DRAFT_SYSTEM_PROMPT = [
|
|
|
398
459
|
"Return only JSON with string fields subject and body.",
|
|
399
460
|
"The subject must be concise, factual, imperative/present tense, and policy-compliant.",
|
|
400
461
|
"Use a conventional-commit prefix when the policy requires or permits one.",
|
|
401
|
-
"The body must
|
|
462
|
+
"The body must be a concise list of concrete changes, using one - bullet per change and no headings.",
|
|
463
|
+
"Cover all selected files, group related changes, and mention tests only when evidenced; added tests do not prove they passed.",
|
|
464
|
+
"When diffTruncated is true, excerpts from every file are supplied. Do not invent details from omitted lines.",
|
|
402
465
|
"Do not invent verification, reviews, deployments, issue closures, URLs, branding, or attribution.",
|
|
403
466
|
"Do not add a Generated-with footer; Keiko adds the required footer after validation.",
|
|
404
467
|
].join("\n");
|
|
@@ -428,17 +491,23 @@ function resolveCommitDraftModel(deps) {
|
|
|
428
491
|
if (modelId === undefined)
|
|
429
492
|
return undefined;
|
|
430
493
|
const model = deps.modelPortFactory(modelId);
|
|
431
|
-
|
|
494
|
+
const capability = findConfiguredCapability(config, modelId);
|
|
495
|
+
if (model === undefined || capability === undefined)
|
|
432
496
|
return undefined;
|
|
433
497
|
return {
|
|
434
498
|
model,
|
|
499
|
+
capability,
|
|
500
|
+
configDigest: sha256Hex(JSON.stringify(config)),
|
|
435
501
|
modelId,
|
|
436
502
|
useResponseFormat: structuredModelId !== undefined,
|
|
437
|
-
maxOutputTokens: commitDraftOutputTokens(
|
|
503
|
+
maxOutputTokens: Math.min(commitDraftOutputTokens([capability], modelId), commitDraftWindowOutputLimit(capability)),
|
|
438
504
|
// The draft only buffers, so its backstop follows the buffered budget alone (PR #3602 review).
|
|
439
505
|
deadlineMs: gatewayRouteDeadlineMs(config, modelId, ["buffered"]),
|
|
440
506
|
};
|
|
441
507
|
}
|
|
508
|
+
function commitDraftWindowOutputLimit(capability) {
|
|
509
|
+
return Math.max(1, Math.floor((capability.contextWindow || 16_000) / 4));
|
|
510
|
+
}
|
|
442
511
|
// #3591 review: the raised draft budget must not exceed what the model declares. The spend-budget
|
|
443
512
|
// port refuses a request above `capability.maxOutputTokens` before any provider call, and a
|
|
444
513
|
// provider would reject it; a model that declares no limit (0) keeps the full draft budget.
|
|
@@ -448,11 +517,6 @@ function commitDraftOutputTokens(capabilities, modelId) {
|
|
|
448
517
|
? Math.min(COMMIT_DRAFT_MAX_OUTPUT_TOKENS, declared)
|
|
449
518
|
: COMMIT_DRAFT_MAX_OUTPUT_TOKENS;
|
|
450
519
|
}
|
|
451
|
-
function boundedStagedDiff(diff) {
|
|
452
|
-
if (diff.length <= COMMIT_DRAFT_DIFF_MAX_CHARS)
|
|
453
|
-
return { value: diff, truncated: false };
|
|
454
|
-
return { value: diff.slice(0, COMMIT_DRAFT_DIFF_MAX_CHARS), truncated: true };
|
|
455
|
-
}
|
|
456
520
|
function commitDraftPolicyEvidence(policy) {
|
|
457
521
|
return {
|
|
458
522
|
subjectMaxLength: policy.subjectMaxLength,
|
|
@@ -462,28 +526,34 @@ function commitDraftPolicyEvidence(policy) {
|
|
|
462
526
|
};
|
|
463
527
|
}
|
|
464
528
|
function commitDraftEvidence(input) {
|
|
465
|
-
const diff = boundedStagedDiff(input.stagedDiff);
|
|
466
529
|
return JSON.stringify({
|
|
467
530
|
operatorInstruction: input.instruction ?? "",
|
|
468
531
|
stagedFiles: input.stagedPaths,
|
|
469
532
|
stagedFileCount: input.summary.stagedFileCount,
|
|
470
533
|
areaCount: input.summary.areaCount,
|
|
471
534
|
touchesTests: input.summary.touchesTests,
|
|
472
|
-
diffTruncated:
|
|
535
|
+
diffTruncated: input.diffCompacted ?? false,
|
|
473
536
|
commitPolicy: commitDraftPolicyEvidence(input.policy),
|
|
474
|
-
stagedDiff:
|
|
537
|
+
stagedDiff: input.stagedDiff,
|
|
475
538
|
});
|
|
476
539
|
}
|
|
477
540
|
function buildCommitDraftModelRequest(input) {
|
|
478
541
|
return {
|
|
479
542
|
modelId: input.modelId,
|
|
480
543
|
messages: [
|
|
481
|
-
{
|
|
544
|
+
{
|
|
545
|
+
role: "system",
|
|
546
|
+
content: COMMIT_DRAFT_SYSTEM_PROMPT +
|
|
547
|
+
(input.repair === true
|
|
548
|
+
? "\nThe previous answer was unusable. Return complete JSON with a single-line policy-compliant subject and a non-empty body. Keep it concise; do not include reasoning or Markdown fences."
|
|
549
|
+
: ""),
|
|
550
|
+
},
|
|
482
551
|
{ role: "user", content: commitDraftEvidence(input) },
|
|
483
552
|
],
|
|
484
553
|
...(input.useResponseFormat ? { responseFormat: COMMIT_DRAFT_RESPONSE_FORMAT } : {}),
|
|
485
554
|
maxOutputTokens: input.maxOutputTokens,
|
|
486
|
-
temperature: 0
|
|
555
|
+
temperature: 0,
|
|
556
|
+
...(input.supportsSeeding === true ? { seed: 0 } : {}),
|
|
487
557
|
stream: false,
|
|
488
558
|
logContext: { correlationId: input.correlationId },
|
|
489
559
|
// Applies the gateway's coding-workbench provider-timeout floor (#3591) — see
|
|
@@ -534,12 +604,17 @@ function modelCommitMessage(response, policy) {
|
|
|
534
604
|
return { ok: false, reason: "invalid-output" };
|
|
535
605
|
const subject = draftTextField(candidate, "subject");
|
|
536
606
|
const body = draftTextField(candidate, "body");
|
|
537
|
-
if (subject === undefined ||
|
|
607
|
+
if (subject === undefined ||
|
|
608
|
+
body === undefined ||
|
|
609
|
+
subject.includes("\n") ||
|
|
610
|
+
body.length > 12_000) {
|
|
538
611
|
return { ok: false, reason: "invalid-output" };
|
|
539
|
-
|
|
612
|
+
}
|
|
613
|
+
const normalized = canonicalCommitBody(body);
|
|
614
|
+
const message = appendKeikoGeneratedFooter(`${subject}\n\n${normalized.body}`);
|
|
540
615
|
return validateGitCommitMessage(message, policy).ok
|
|
541
|
-
? { ok: true, message }
|
|
542
|
-
: { ok: false, reason: "invalid-output" };
|
|
616
|
+
? { ok: true, message, normalization: normalized.evidence }
|
|
617
|
+
: { ok: false, reason: "invalid-output", normalization: normalized.evidence };
|
|
543
618
|
}
|
|
544
619
|
// #3591: classifies a failed model call into the three failure classes the UI must tell apart — a
|
|
545
620
|
// provider that never answered in time, a provider that answered but exhausted its output budget on
|
|
@@ -547,6 +622,8 @@ function modelCommitMessage(response, policy) {
|
|
|
547
622
|
// the caller's own cancellation (route deadline + client disconnect, see commitDraftCancellation
|
|
548
623
|
// below); this function no longer builds its own.
|
|
549
624
|
function classifyCommitDraftModelFailure(error, signal) {
|
|
625
|
+
if (error instanceof ProviderEmptyAnswerError)
|
|
626
|
+
return "GIT_DELIVERY_COMMIT_DRAFT_INVALID_OUTPUT";
|
|
550
627
|
if (error instanceof ProviderOutputExhaustedError) {
|
|
551
628
|
return "GIT_DELIVERY_COMMIT_DRAFT_OUTPUT_EXHAUSTED";
|
|
552
629
|
}
|
|
@@ -565,36 +642,133 @@ function routeDeadlineFired(signal) {
|
|
|
565
642
|
const reason = signal.reason;
|
|
566
643
|
return signal.aborted && reason instanceof DOMException && reason.name === "TimeoutError";
|
|
567
644
|
}
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
645
|
+
const draftCaches = new WeakMap();
|
|
646
|
+
const draftMutex = createWorkspaceMutexRegistry();
|
|
647
|
+
function draftCache(deps) {
|
|
648
|
+
let cache = draftCaches.get(deps);
|
|
649
|
+
if (cache === undefined) {
|
|
650
|
+
cache = new Map();
|
|
651
|
+
draftCaches.set(deps, cache);
|
|
572
652
|
}
|
|
653
|
+
return cache;
|
|
654
|
+
}
|
|
655
|
+
async function attemptCommitDraft(deps, resolved, input, signal, attempt) {
|
|
656
|
+
const prepared = prepareCommitDraft(input.stagedDiff, resolved.capability, (diff, compacted) => buildCommitDraftModelRequest({
|
|
657
|
+
...input,
|
|
658
|
+
stagedDiff: diff,
|
|
659
|
+
diffCompacted: compacted,
|
|
660
|
+
modelId: resolved.modelId,
|
|
661
|
+
useResponseFormat: resolved.useResponseFormat,
|
|
662
|
+
maxOutputTokens: resolved.maxOutputTokens,
|
|
663
|
+
supportsSeeding: resolved.capability.supportsSeeding === true,
|
|
664
|
+
repair: attempt > 1,
|
|
665
|
+
}));
|
|
573
666
|
const bounds = {
|
|
574
667
|
maxOutputTokens: resolved.maxOutputTokens,
|
|
575
668
|
deadlineMs: resolved.deadlineMs,
|
|
669
|
+
generationAttempts: prepared.request === undefined ? attempt - 1 : attempt,
|
|
670
|
+
promptTokens: prepared.promptTokens,
|
|
671
|
+
maxPromptTokens: prepared.maxPromptTokens,
|
|
672
|
+
diffCompacted: prepared.diffCompacted,
|
|
576
673
|
};
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
const callSignal = AbortSignal.any([signal, AbortSignal.timeout(resolved.deadlineMs)]);
|
|
674
|
+
if (prepared.request === undefined)
|
|
675
|
+
return { ok: false, code: "GIT_DELIVERY_COMMIT_DRAFT_CONTEXT_TOO_LARGE", bounds };
|
|
580
676
|
try {
|
|
581
|
-
const response = await resolved.model.call(
|
|
582
|
-
...input,
|
|
583
|
-
modelId: resolved.modelId,
|
|
584
|
-
useResponseFormat: resolved.useResponseFormat,
|
|
585
|
-
maxOutputTokens: resolved.maxOutputTokens,
|
|
586
|
-
}), callSignal);
|
|
677
|
+
const response = await resolved.model.call(prepared.request, signal);
|
|
587
678
|
const validated = modelCommitMessage(response, input.policy);
|
|
679
|
+
const observedBounds = { ...bounds, ...validated.normalization };
|
|
588
680
|
if (validated.ok)
|
|
589
|
-
return { ok: true, message: validated.message, bounds };
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
:
|
|
593
|
-
|
|
681
|
+
return { ok: true, message: validated.message, bounds: observedBounds };
|
|
682
|
+
return {
|
|
683
|
+
ok: false,
|
|
684
|
+
bounds: observedBounds,
|
|
685
|
+
code: validated.reason === "output-exhausted"
|
|
686
|
+
? "GIT_DELIVERY_COMMIT_DRAFT_OUTPUT_EXHAUSTED"
|
|
687
|
+
: "GIT_DELIVERY_COMMIT_DRAFT_INVALID_OUTPUT",
|
|
688
|
+
};
|
|
594
689
|
}
|
|
595
690
|
catch (error) {
|
|
596
|
-
|
|
691
|
+
reportCommitDraftModelFailure(deps, input.correlationId, error);
|
|
692
|
+
return { ok: false, code: classifyCommitDraftModelFailure(error, signal), bounds };
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
function repairCommitDraftModel(model, result) {
|
|
696
|
+
if (result.ok)
|
|
697
|
+
return undefined;
|
|
698
|
+
if (result.code === "GIT_DELIVERY_COMMIT_DRAFT_INVALID_OUTPUT")
|
|
699
|
+
return model;
|
|
700
|
+
if (result.code !== "GIT_DELIVERY_COMMIT_DRAFT_OUTPUT_EXHAUSTED")
|
|
701
|
+
return undefined;
|
|
702
|
+
const maxOutputTokens = Math.min(8_000, model.capability.maxOutputTokens || 8_000, commitDraftWindowOutputLimit(model.capability));
|
|
703
|
+
return maxOutputTokens > model.maxOutputTokens ? { ...model, maxOutputTokens } : undefined;
|
|
704
|
+
}
|
|
705
|
+
function selectCommitDraftRecovery(original, repaired) {
|
|
706
|
+
// Refusing our larger repair prompt cannot invalidate changes the first model call read.
|
|
707
|
+
return !repaired.ok && repaired.code === "GIT_DELIVERY_COMMIT_DRAFT_CONTEXT_TOO_LARGE"
|
|
708
|
+
? original
|
|
709
|
+
: repaired;
|
|
710
|
+
}
|
|
711
|
+
async function generateModelCommitMessage(deps, input, signal, log) {
|
|
712
|
+
const resolved = resolveCommitDraftModel(deps);
|
|
713
|
+
if (resolved === undefined)
|
|
714
|
+
return { ok: false, code: "GIT_DELIVERY_COMMIT_DRAFT_MODEL_UNAVAILABLE" };
|
|
715
|
+
const { correlationId: _correlationId, ...identity } = input;
|
|
716
|
+
const key = sha256Hex(JSON.stringify([identity, resolved.configDigest]));
|
|
717
|
+
const cache = draftCache(deps);
|
|
718
|
+
return draftMutex.runExclusive([key], async () => {
|
|
719
|
+
const callSignal = AbortSignal.any([signal, AbortSignal.timeout(resolved.deadlineMs)]);
|
|
720
|
+
if (clientLeft(callSignal))
|
|
721
|
+
return { ok: false, code: classifyCommitDraftModelFailure(callSignal.reason, callSignal) };
|
|
722
|
+
const cached = cache.get(key);
|
|
723
|
+
if (cached !== undefined)
|
|
724
|
+
return { ...cached, bounds: { ...cached.bounds, reused: true, generationAttempts: 0 } };
|
|
725
|
+
let result = await attemptCommitDraft(deps, resolved, input, callSignal, 1);
|
|
726
|
+
logCommitDraftAttempt(log, input.correlationId, result, 1);
|
|
727
|
+
const recovery = repairCommitDraftModel(resolved, result);
|
|
728
|
+
if (recovery !== undefined && !clientLeft(callSignal)) {
|
|
729
|
+
const repaired = await attemptCommitDraft(deps, recovery, input, callSignal, 2);
|
|
730
|
+
logCommitDraftAttempt(log, input.correlationId, repaired, 2);
|
|
731
|
+
result = selectCommitDraftRecovery(result, repaired);
|
|
732
|
+
}
|
|
733
|
+
if (clientLeft(callSignal))
|
|
734
|
+
return {
|
|
735
|
+
ok: false,
|
|
736
|
+
code: classifyCommitDraftModelFailure(callSignal.reason, callSignal),
|
|
737
|
+
...(result.bounds === undefined ? {} : { bounds: result.bounds }),
|
|
738
|
+
};
|
|
739
|
+
result = {
|
|
740
|
+
...result,
|
|
741
|
+
bounds: {
|
|
742
|
+
maxOutputTokens: resolved.maxOutputTokens,
|
|
743
|
+
deadlineMs: resolved.deadlineMs,
|
|
744
|
+
...result.bounds,
|
|
745
|
+
draftKeyDigest: key,
|
|
746
|
+
},
|
|
747
|
+
};
|
|
748
|
+
if (result.ok)
|
|
749
|
+
rememberCommitDraft(cache, key, result);
|
|
750
|
+
return result;
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
function rememberCommitDraft(cache, key, result) {
|
|
754
|
+
if (cache.size >= 32) {
|
|
755
|
+
const oldest = cache.keys().next().value;
|
|
756
|
+
if (oldest !== undefined)
|
|
757
|
+
cache.delete(oldest);
|
|
597
758
|
}
|
|
759
|
+
cache.set(key, result);
|
|
760
|
+
}
|
|
761
|
+
function logCommitDraftAttempt(log, correlationId, result, attempt) {
|
|
762
|
+
log.write(activityLogEvent(COMMIT_DRAFT_ATTEMPT_COMPLETED_OPERATION, {
|
|
763
|
+
correlationId,
|
|
764
|
+
status: result.ok ? 200 : commitDraftFailureStatus(result.code),
|
|
765
|
+
...(result.ok ? {} : { errorKind: commitDraftErrorKind(result.code) }),
|
|
766
|
+
}, {
|
|
767
|
+
attempt,
|
|
768
|
+
outcome: result.ok ? "succeeded" : "failed",
|
|
769
|
+
...(result.ok ? {} : { failureCode: result.code }),
|
|
770
|
+
...result.bounds,
|
|
771
|
+
}));
|
|
598
772
|
}
|
|
599
773
|
// `summary` is undefined only when the draft ended before the staged changeset was read (a client
|
|
600
774
|
// disconnect during the policy lookup): the counts are then absent from the line, never invented.
|
|
@@ -640,16 +814,15 @@ function commitDraftFailureStatus(code) {
|
|
|
640
814
|
// Matches repositoryInitializationRoutes.ts / gitRepositoryRoutes.ts: a bounded operation that
|
|
641
815
|
// did not finish in time reports 504, never the generic 503 an unavailable model reports; a
|
|
642
816
|
// client that left reports 499 like the chat stream and grounded routes do.
|
|
817
|
+
if (code === "GIT_DELIVERY_COMMIT_DRAFT_CONTEXT_TOO_LARGE")
|
|
818
|
+
return 422;
|
|
643
819
|
if (code === "GIT_DELIVERY_COMMIT_DRAFT_TIMED_OUT")
|
|
644
820
|
return 504;
|
|
645
821
|
if (code === "GIT_DELIVERY_COMMIT_DRAFT_CANCELLED")
|
|
646
822
|
return 499;
|
|
647
823
|
return COMMIT_DRAFT_BAD_GATEWAY_CODES.has(code) ? 502 : 503;
|
|
648
824
|
}
|
|
649
|
-
function modelDraftFailureResult(
|
|
650
|
-
if (suggested.error !== undefined) {
|
|
651
|
-
reportCommitDraftModelFailure(deps, correlationId, suggested.error);
|
|
652
|
-
}
|
|
825
|
+
function modelDraftFailureResult(log, correlationId, summary, suggested) {
|
|
653
826
|
return draftFailureResult(log, correlationId, summary, commitDraftFailureStatus(suggested.code), suggested.code, suggested.bounds);
|
|
654
827
|
}
|
|
655
828
|
async function computeModelCommitDraft(deps, workspace, req, policy, seams, now, run) {
|
|
@@ -661,23 +834,23 @@ async function computeModelCommitDraft(deps, workspace, req, policy, seams, now,
|
|
|
661
834
|
// left while a worktree read was pending gets no further read and no model call.
|
|
662
835
|
if (clientLeft(signal))
|
|
663
836
|
return draftCancelled(log, correlationId, summary);
|
|
664
|
-
if (
|
|
837
|
+
if (stagedPaths.length === 0) {
|
|
665
838
|
return draftFailureResult(log, correlationId, summary, 409, "GIT_DELIVERY_COMMIT_DRAFT_NO_CHANGES");
|
|
666
839
|
}
|
|
667
840
|
const stagedDiff = await readStagedDiffFor(workspace, seams, now, correlationId);
|
|
668
841
|
if (clientLeft(signal))
|
|
669
842
|
return draftCancelled(log, correlationId, summary);
|
|
670
843
|
const suggested = await generateModelCommitMessage(deps, {
|
|
844
|
+
projectId: workspace.root,
|
|
671
845
|
policy,
|
|
672
846
|
stagedPaths,
|
|
673
847
|
summary,
|
|
674
848
|
stagedDiff,
|
|
675
849
|
instruction: req.instruction,
|
|
676
850
|
correlationId,
|
|
677
|
-
}, signal);
|
|
678
|
-
if (!suggested.ok)
|
|
679
|
-
return modelDraftFailureResult(
|
|
680
|
-
}
|
|
851
|
+
}, signal, log);
|
|
852
|
+
if (!suggested.ok)
|
|
853
|
+
return modelDraftFailureResult(log, correlationId, summary, suggested);
|
|
681
854
|
logCommitDraft(log, correlationId, summary, 200, undefined, suggested.bounds);
|
|
682
855
|
const body = {
|
|
683
856
|
schemaVersion: "1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DraftDeliveryRecord } from "@oscharko-dev/keiko-contracts/runtime/draft-delivery";
|
|
2
2
|
import { type ActivityLogErrorKind } from "@oscharko-dev/keiko-contracts/runtime/observability";
|
|
3
|
-
import type { ServerLogSink } from "
|
|
3
|
+
import type { ServerLogSink } from "@oscharko-dev/keiko-activity-log";
|
|
4
4
|
import type { CodingRuntimeSnapshotStore } from "../coding-runtime/codingRuntimeSnapshotStore.js";
|
|
5
5
|
import type { GitDeliveryMutationDeps } from "./execution.js";
|
|
6
6
|
import { type VerificationCheckHistory } from "./verificationChecks.js";
|
package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryChecks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draftDeliveryChecks.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/draftDeliveryChecks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAEhG,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,qDAAqD,CAAC;AAG7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"draftDeliveryChecks.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/draftDeliveryChecks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAEhG,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,qDAAqD,CAAC;AAG7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iDAAiD,CAAC;AAClG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAEL,KAAK,wBAAwB,EAI9B,MAAM,yBAAyB,CAAC;AAwFjC,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,QAAQ,GAAG,aAAa,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC9E,QAAQ,CAAC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IACzC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,MAAM,CAAC,EACZ,oCAAoC,GACpC,mBAAmB,GACnB,qBAAqB,GACrB,mBAAmB,GACnB,gBAAgB,GAChB,mBAAmB,GACnB,WAAW,GACX,aAAa,GACb,cAAc,GACd,cAAc,GACd,kBAAkB,GAClB,eAAe,GACf,UAAU,CAAC;IACf,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,SAAS,CAAC,EAAE,mBAAmB,CAAC;IACzC,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,sBAAsB,CACpC,GAAG,EAAE,aAAa,EAClB,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE;IAAE,QAAQ,CAAC,SAAS,EAAE,oBAAoB,CAAA;CAAE,GACrD,IAAI,CAWN;AAED,MAAM,MAAM,oCAAoC,GAC9C,iBAAiB,GAAG,kBAAkB,GAAG,qBAAqB,GAAG,kBAAkB,CAAC;AAEtF,MAAM,MAAM,mBAAmB,GAC3B;IACE,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE,wBAAwB,CAAC;CAC5C,GACD;IAAE,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,oCAAoC,CAAA;CAAE,CAAC;AAE9F,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC,0BAA0B,EAAE,KAAK,GAAG,iCAAiC,CAAC,CAAC;IAChG,QAAQ,CAAC,aAAa,EAAE,IAAI,CAAC,uBAAuB,CAAC,eAAe,CAAC,EAAE,KAAK,CAAC,CAAC;IAC9E,+FAA+F;IAC/F,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;IACrC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,WAAW,EAAE,aAAa,CAAC;CACrC;AA+DD,wFAAwF;AACxF,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,wBAAwB,GAAG,mBAAmB,CAwB5F;AAkID,eAAO,MAAM,oBAAoB,mCAAmC,CAAC;AACrE,eAAO,MAAM,kBAAkB,iCAAiC,CAAC;AAEjE,wFAAwF;AACxF,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEhE;AAED,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGhE;AAED,MAAM,MAAM,iBAAiB,GACzB;IAAE,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACtD;IAAE,QAAQ,CAAC,MAAM,EAAE,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAA;CAAE,CAAC;AAM9D,oGAAoG;AACpG,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,iBAAiB,CASxF;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED,uGAAuG;AACvG,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,mBAAmB,GAC1B,2BAA2B,CAW7B"}
|
|
@@ -7,7 +7,7 @@ import { readDraftDeliveryChecks } from "./draftDeliveryChecks.js";
|
|
|
7
7
|
import { executeDraftDeliveryEffect } from "./draftDeliveryEffects.js";
|
|
8
8
|
import { describeError } from "../diagnostics-log.js";
|
|
9
9
|
import { processServerLogSink } from "../process-log-sink.js";
|
|
10
|
-
import { errorKindOf } from "
|
|
10
|
+
import { errorKindOf } from "@oscharko-dev/keiko-activity-log";
|
|
11
11
|
import { gitDeliveryActivityErrorKind } from "./execution.js";
|
|
12
12
|
import { logDraftRelatedIssues } from "./draftRelatedIssuesActivity.js";
|
|
13
13
|
function recorded(record) {
|
|
@@ -3,7 +3,7 @@ import type { CodingWorkbenchIssueBinding } from "@oscharko-dev/keiko-contracts"
|
|
|
3
3
|
import type { DraftDeliveryRecord } from "@oscharko-dev/keiko-contracts/runtime/draft-delivery";
|
|
4
4
|
import type { GitPullRequestIdentity } from "@oscharko-dev/keiko-contracts/runtime/git-pull-request";
|
|
5
5
|
import { type GitPullRequestInspectionAdapter, type GitPullRequestBodyAdapter } from "@oscharko-dev/keiko-tools";
|
|
6
|
-
import type { ServerLogEvent } from "
|
|
6
|
+
import type { ServerLogEvent } from "@oscharko-dev/keiko-activity-log";
|
|
7
7
|
import { DraftDeliveryController } from "./draftDeliveryService.js";
|
|
8
8
|
import type { DraftDeliveryRunContext, DraftDeliveryServiceOptions } from "./draftDeliveryTypes.js";
|
|
9
9
|
export declare class DraftDeliveryFixture {
|
|
@@ -53,6 +53,7 @@ export declare class DraftDeliveryFixture {
|
|
|
53
53
|
identity(): GitPullRequestIdentity;
|
|
54
54
|
private makeAdapter;
|
|
55
55
|
private makeBodyAdapter;
|
|
56
|
+
private makeMutationDeps;
|
|
56
57
|
private makeOptions;
|
|
57
58
|
private publish;
|
|
58
59
|
successorOptions(): DraftDeliveryServiceOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draftDeliveryServiceTestSupport.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/draftDeliveryServiceTestSupport.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AACrG,OAAO,EAEL,KAAK,+BAA+B,EAMpC,KAAK,yBAAyB,EAC/B,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"draftDeliveryServiceTestSupport.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/draftDeliveryServiceTestSupport.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AACrG,OAAO,EAEL,KAAK,+BAA+B,EAMpC,KAAK,yBAAyB,EAC/B,MAAM,2BAA2B,CAAC;AAWnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AA2BpG,qBAAa,oBAAoB;IAC/B,SAAgB,IAAI,SAAqE;IACzF,SAAgB,MAAM,SAAoE;IAC1F,SAAgB,EAAE,eAAgC;IAClD,SAAgB,MAAM,EAAE,cAAc,EAAE,CAAM;IAC9C,SAAgB,OAAO,EAAE,mBAAmB,EAAE,CAAM;IACpD,SAAgB,QAAQ,sBAA6B;IACrD,SAAgB,SAAS,uFAAC;IAC1B,SAAgB,KAAK,EAAE,2BAA2B,CAAC;IACnD,SAAgB,OAAO,EAAE,uBAAuB,CAAC;IACjD,SAAgB,OAAO,EAAE,2BAA2B,CAAC;IACrD,SAAgB,OAAO,EAAE,uBAAuB,CAAC;IAC1C,IAAI,UAAQ;IACZ,KAAK,UAAQ;IACb,GAAG,SAA0C;IAC7C,SAAS,SAAK;IACd,WAAW,SAAK;IAChB,GAAG,EAAE,sBAAsB,EAAE,CAAM;IACnC,aAAa,UAAS;IACtB,eAAe,UAAS;IACxB,mBAAmB,UAAS;IAC5B,mBAAmB,UAAS;IAC5B,YAAY,EAAE,aAAa,GAAG,cAAc,GAAG,iBAAiB,GAAG,SAAS,CAAC;IAC7E,iBAAiB,EAAE,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,SAAS,CAAC;IACrD,UAAU,SAAM;IAEhB,MAAM,SAAM;IACnB,SAAgB,eAAe,8BAA8B;IAC7D,SAAgB,WAAW,EAAE,MAAM,EAAE,CAAM;IACpC,SAAS,SAAK;IACd,YAAY,UAAS;IACrB,cAAc,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAGrD,YAAY,EAAE,CAAC,CAAC,QAAQ,EAAE,sBAAsB,KAAK,sBAAsB,CAAC,GAAG,SAAS,CAAC;IAChG,SAAgB,WAAW,EAAE,yBAAyB,CAAC;IACvD,SAAgB,OAAO,EAAE,+BAA+B,CAAC;IAEzD,cAWC;IACM,GAAG,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,GAAG,SAAY,GAAG,MAAM,CAU3D;IACD,OAAO,CAAC,oBAAoB;IAiB5B,OAAO,CAAC,SAAS;IAYjB,OAAO,CAAC,WAAW;IA6BnB,OAAO,CAAC,cAAc;IAuBT,oBAAoB,CAC/B,UAAU,SAAa,EACvB,UAAU,SAAmB,EAC7B,OAAO,SAAyB,GAC/B,OAAO,CAAC,IAAI,CAAC,CAyBf;IACD,6EAA6E;IAChE,iBAAiB,IAAI,OAAO,CAAC,MAAM,CAAC,CAOhD;IACD,OAAO,CAAC,UAAU;IAOX,QAAQ,IAAI,sBAAsB,CAcxC;IACD,OAAO,CAAC,WAAW;IAgDnB,OAAO,CAAC,eAAe;IAoBvB,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,WAAW;IAyCnB,OAAO,CAAC,OAAO;IAkBR,gBAAgB,IAAI,2BAA2B,CAmCrD;IACM,KAAK,IAAI,IAAI,CAKnB;CACF"}
|