@oscharko-dev/keiko 1.1.6 → 1.1.8
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/02i0eppipph7e.js +1 -0
- package/dist/ui/static/_next/static/chunks/09jwu8wa22c1d.js +1 -0
- package/dist/ui/static/_next/static/chunks/0hc828_gdkyek.js +3 -0
- package/dist/ui/static/_next/static/chunks/0n5hz6kjgs-3-.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2l0gyhe4jpu23.css → 0qv7j1mski9o8.css} +1 -1
- package/dist/ui/static/_next/static/chunks/{0xq716cs1taxh.js → 0vtnpcijh-jqw.js} +1 -1
- package/dist/ui/static/_next/static/chunks/15wj80h_5chl0.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0ak5o5brryicl.js → 18grpx4tuavds.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1be0-x1mk56wu.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0bbv42deftomm.js → 1c1gbfapof8m0.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1dwc7p2rl-hs6.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1piodmepoegnw.js → 1fgcho9v65crw.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{3d-10944zk2o9.js → 1lj5se4u-t-e9.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{1th8j9weqwhgx.js → 1o2cihsnxhmh6.js} +1 -1
- package/dist/ui/static/_next/static/chunks/22x3pxeia7hk_.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0e6em7dg4gr6q.js → 25lgzefdnbdh6.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2t2wftn5liinr.js → 2iz4lys7fa5a6.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{21t1klb1thn76.js → 306ima8lxo17-.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{2dpxapmdvqlh1.js → 36-tv3y56oau8.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{182b4sf3i-krz.js → 39w0xj7fyy7sp.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{0ks_l2sa4nfn0.js → 3aizxizjzdddj.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3bl12pe7lsanc.js +1 -0
- package/dist/ui/static/_next/static/chunks/3k6g7nzn589fs.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1j_9b-l0n6u-t.js → 3kmozkq6tgqnz.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3q_kn20qriqd7.js +1 -0
- package/dist/ui/static/_next/static/chunks/3r4fz572q3l7s.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1lb8ju8qa0d9m.js → 40g2_9ovqiuiu.js} +1 -1
- package/dist/ui/static/_next/static/chunks/413lmui4la1xe.js +1 -0
- package/dist/ui/static/_next/static/chunks/{turbopack-2w1ixcff5kx3x.js → turbopack-2fb3mn6go2p-t.js} +1 -1
- 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 +13 -13
- 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 +13 -13
- 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 +13 -13
- 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 +13 -13
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +13 -13
- package/node_modules/@oscharko-dev/keiko-cli/package.json +14 -14
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts +55 -15
- 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 +108 -12
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +924 -33
- 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 +1249 -142
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts +7 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/bff-wire.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api-validation.js +14 -4
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-constants.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime.d.ts.map +1 -1
- 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/context-engineering.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/context-engineering.js +20 -4
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/verified-commit.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/verified-commit.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/verified-commit.js +8 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/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/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-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/config.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.js +4 -1
- 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 +136 -24
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/index.js +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.js +38 -4
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-embedding-adapter.js +12 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/realtime-voice-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/realtime-voice-adapter.js +3 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/rerank-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/rerank-adapter.js +4 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/resilience.d.ts +9 -1
- 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 +87 -5
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/speech-to-text-adapter.d.ts +1 -0
- 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 +158 -10
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/text-to-speech-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/text-to-speech-adapter.js +176 -12
- 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/errors/gateway.d.ts +11 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/errors/gateway.js +33 -0
- 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/coding-runtime/codingRuntimeControlPlane.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeControlPlane.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeHistory.d.ts +0 -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 +44 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts +1 -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 +9 -4
- 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 +3 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts +2 -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 +3 -2
- 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 +143 -32
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts +7 -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 +29 -8
- 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 +6 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.js +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts +14 -0
- 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 +201 -43
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.d.ts +13 -1
- 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 +24 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.d.ts +12 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeFunctionalHarness/_governedTools.js +31 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.js +35 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts +16 -4
- 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 +74 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2ApprovalRequests.d.ts +33 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2ApprovalRequests.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2ApprovalRequests.js +277 -44
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.js +4 -2
- 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 +3 -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 +72 -26
- 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 +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/researchApprovalIssuance.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/researchApprovalIssuance.js +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts +30 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.js +476 -143
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.js +32 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts +16 -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 +2 -23
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts +5 -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 +11 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts +24 -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 +215 -38
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-route-deadline.js +27 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts +33 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.js +256 -25
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.js +11 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/commitRoutes.d.ts +2 -1
- 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 +221 -38
- 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 +29 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitTypes.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/log-redaction.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/log-redaction.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/codingHistory.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/codingHistory.js +48 -3
- 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 +54 -8
- package/node_modules/@oscharko-dev/keiko-server/package.json +22 -22
- package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
- package/package.json +29 -29
- package/release-impact.catalog.json +135 -23
- package/vendor/{oscharko-dev-keiko-cli-1.1.6.tgz → oscharko-dev-keiko-cli-1.1.8.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.1.6.tgz → oscharko-dev-keiko-connectors-1.1.8.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.1.8.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.1.6.tgz → oscharko-dev-keiko-evaluations-1.1.8.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-evidence-1.1.6.tgz → oscharko-dev-keiko-evidence-1.1.8.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-git-1.1.8.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.1.6.tgz → oscharko-dev-keiko-harness-1.1.8.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-local-knowledge-1.1.6.tgz → oscharko-dev-keiko-local-knowledge-1.1.8.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.1.6.tgz → oscharko-dev-keiko-memory-capture-1.1.8.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-memory-consolidation-1.1.8.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.1.6.tgz → oscharko-dev-keiko-memory-governance-1.1.8.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-1.1.6.tgz → oscharko-dev-keiko-memory-retrieval-1.1.8.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-1.1.6.tgz → oscharko-dev-keiko-memory-vault-1.1.8.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.1.8.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.1.6.tgz → oscharko-dev-keiko-quality-intelligence-1.1.8.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-sandbox-1.1.6.tgz → oscharko-dev-keiko-sandbox-1.1.8.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-sdk-1.1.6.tgz → oscharko-dev-keiko-sdk-1.1.8.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-security-1.1.8.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.1.8.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-tool-catalog-1.1.6.tgz → oscharko-dev-keiko-tool-catalog-1.1.8.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-tools-1.1.6.tgz → oscharko-dev-keiko-tools-1.1.8.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-verification-1.1.6.tgz → oscharko-dev-keiko-verification-1.1.8.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workflows-1.1.6.tgz → oscharko-dev-keiko-workflows-1.1.8.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workspace-1.1.6.tgz → oscharko-dev-keiko-workspace-1.1.8.tgz} +0 -0
- package/dist/ui/static/_next/static/chunks/0c3w2ubla6ek6.js +0 -1
- package/dist/ui/static/_next/static/chunks/0gnizm29lk3ll.js +0 -1
- package/dist/ui/static/_next/static/chunks/0psckgz_yhen3.js +0 -1
- package/dist/ui/static/_next/static/chunks/19fesd0w1gjhp.js +0 -3
- package/dist/ui/static/_next/static/chunks/1gb6os129fico.js +0 -1
- package/dist/ui/static/_next/static/chunks/1k6f6m-u2q69-.js +0 -1
- package/dist/ui/static/_next/static/chunks/1pze64zkvx8vt.js +0 -1
- package/dist/ui/static/_next/static/chunks/28mbnwl9g65al.js +0 -1
- package/dist/ui/static/_next/static/chunks/2bm60h9zwhm3v.js +0 -1
- package/dist/ui/static/_next/static/chunks/2h_zvmb272ozs.js +0 -1
- package/dist/ui/static/_next/static/chunks/3-5_wuwrev-8c.js +0 -1
- package/dist/ui/static/_next/static/chunks/3-l-8qt163_y6.js +0 -1
- package/dist/ui/static/_next/static/chunks/3doin5vaz4zjs.js +0 -1
- package/vendor/oscharko-dev-keiko-contracts-1.1.6.tgz +0 -0
- package/vendor/oscharko-dev-keiko-git-1.1.6.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-consolidation-1.1.6.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.1.6.tgz +0 -0
- package/vendor/oscharko-dev-keiko-security-1.1.6.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.1.6.tgz +0 -0
- /package/dist/ui/static/_next/static/{ytpWXc-OicMB-rH2zX5b3 → xFln0tD9J1Dx0Nlv71fAF}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{ytpWXc-OicMB-rH2zX5b3 → xFln0tD9J1Dx0Nlv71fAF}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{ytpWXc-OicMB-rH2zX5b3 → xFln0tD9J1Dx0Nlv71fAF}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68238,e=>{"use strict";var t=e.i(10710),n=e.i(33365);let i=Object.freeze({...e.i(10161).GIT_DELIVERY_OBSERVATION_FAILURE_STATES,"required-checks-passed":"technical-ready","required-checks-pending":"pending","required-checks-failed":"failed","required-checks-blocked":"blocked","required-checks-unknown":"unknown","pull-request-closed":"blocked","merge-conflict":"blocked","base-outdated":"pending","merge-context-unknown":"unknown","repair-budget-exhausted":"blocked"}),r=/^[a-f0-9]{64}$/u,s=/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/u,o=["schemaVersion","runId","remoteDigest","repository","prNumber","baseRef","baseSha","headRef","headSha","requirementsVersion","requirementsDigest","strictBaseRequired","observedAt","expiresAt","evidenceRef","complete","state","reason","requiredChecks","advisoryChecks","pullRequest","humanReview"];function a(e){return"object"==typeof e&&null!==e&&!Array.isArray(e);}function l(e,t){return Object.keys(e).length===t.length&&t.every(t=>Object.hasOwn(e,t));}function c(e,t){return"string"==typeof e&&t.test(e);}function d(e,t=1500){return"number"==typeof e&&Number.isSafeInteger(e)&&e>=0&&e<=t;}function u(e){return!!a(e)&&!!l(e,["total","passed","failed","pending","blocked","unknown"])&&!!Object.values(e).every(e=>d(e))&&e.total===Object.entries(e).filter(([e])=>"total"!==e).reduce((e,[,t])=>e+t,0);}function p(e,t){return"string"==typeof e&&t.has(e);}function h(e){return a(e)&&l(e,["status","isDraft","conflict","baseCurrency"])&&p(e.status,new Set(["open","closed","merged"]))&&"boolean"==typeof e.isDraft&&p(e.conflict,new Set(["clear","conflicting","unknown"]))&&p(e.baseCurrency,new Set(["current","behind","unknown"]));}function f(e){return"string"==typeof e&&/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/u.test(e)&&Number.isFinite(Date.parse(e))&&new Date(e).toISOString()===e;}e.s(["isReadinessSnapshot",0,function(e){var p,m,g,y;if(!a(e)||!(l(e,void 0===e.failureSignatureDigest?o:[...o,"failureSignatureDigest"])&&(void 0===e.failureSignatureDigest||c(e.failureSignatureDigest,r))&&"1"===e.schemaVersion&&"1"===e.requirementsVersion&&"boolean"==typeof e.strictBaseRequired)||!(c((m=e).runId,s)&&c(m.remoteDigest,r)&&c(m.evidenceRef,s)&&"string"==typeof m.repository&&(0,n.isGitHubOwnerAndRepo)(m.repository)&&d(m.prNumber,n.GITHUB_ISSUE_NUMBER_MAX)&&m.prNumber>0&&[(g=m).baseRef,g.headRef].every(e=>"string"==typeof e&&(0,t.isSafeGitRefName)(e)&&!e.startsWith("refs/"))&&g.baseRef!==g.headRef&&(0,t.isGitObjectId)(g.baseSha)&&(0,t.isGitObjectId)(g.headSha))||!(null===e.requirementsDigest||c(e.requirementsDigest,r)))return!1;return function(e){if(!f(e.observedAt)||!f(e.expiresAt))return!1;let t=Date.parse(e.expiresAt)-Date.parse(e.observedAt);return t>0&&t<=6e4;}(e)&&"string"==typeof e.reason&&!!Object.hasOwn(i,e.reason)&&e.state===i[e.reason]&&"boolean"==typeof e.complete&&!!u(e.requiredChecks)&&("technical-ready"!==e.state||e.complete&&null!==e.requirementsDigest&&e.requiredChecks.total===e.requiredChecks.passed&&!!h((y=e).pullRequest)&&"open"===y.pullRequest.status&&"clear"===y.pullRequest.conflict&&("current"===y.pullRequest.baseCurrency||"behind"===y.pullRequest.baseCurrency&&!1===y.strictBaseRequired))&&u(e.advisoryChecks)&&h(e.pullRequest)&&!!a(p=e.humanReview)&&!!l(p,["visibility","requiredCount","approvedCount","changesRequestedCount"])&&("complete"===p.visibility||"unknown"===p.visibility)&&[p.requiredCount,p.approvedCount,p.changesRequestedCount].every(e=>null===e?"unknown"===p.visibility:d(e));}]);},10161,e=>{"use strict";let t=Object.freeze({"authority-denied":"blocked","auth-required":"blocked","invalid-binding":"blocked",cancelled:"blocked","provider-forbidden":"unknown","provider-not-found":"unknown","rate-limited":"pending","provider-unavailable":"pending",timeout:"pending","pagination-exhausted":"unknown","output-truncated":"unknown","malformed-response":"unknown","visibility-unknown":"unknown","requirements-ambiguous":"unknown","revision-changed":"pending"});e.s(["GIT_DELIVERY_OBSERVATION_FAILURE_STATES",0,t,"isGitDeliveryObservationFailure",0,function(e){var n;return!!("object"==typeof e&&null!==e&&!Array.isArray(e))&&(n=["reason","state"],!!(Object.keys(e).length===n.length&&n.every(t=>Object.hasOwn(e,t))))&&"string"==typeof e.reason&&Object.hasOwn(t,e.reason)&&e.state===t[e.reason];}]);},97633,e=>{"use strict";let t=Object.freeze(["staged","unstaged"]),n=Object.freeze(["staged","worktree"]),i=Object.freeze(["ctx","add","del","meta"]),r=Object.freeze(["added","modified","deleted","renamed"]);function s(e){return"object"==typeof e&&null!==e&&!Array.isArray(e);}function o(e,t){return Object.keys(e).every(e=>t.includes(e));}function a(e,t){return"number"==typeof e&&Number.isInteger(e)&&e>=t;}function l(e,t,n=!1){return"string"==typeof e&&(n||e.length>0)&&e.length<=t&&!e.includes("\0");}function c(e){return!(!l(e,4096)||new TextEncoder().encode(e).length>4096||e.startsWith("/")||e.startsWith("\\")||e.includes("\\"))&&e.split("/").every(e=>e.length>0&&"."!==e&&".."!==e);}function d(e){return"string"==typeof e&&t.includes(e);}function u(e){return"string"==typeof e&&n.includes(e);}function p(e){return"string"==typeof e&&i.includes(e);}function h(e){return"string"==typeof e&&r.includes(e);}function f(e){let t,n;return s(e)&&o(e,["kind","oldLine","newLine","text"])&&p(e.kind)&&(t=e.oldLine,n=e.newLine,"ctx"===e.kind?a(t,1)&&a(n,1):"add"===e.kind?null===t&&a(n,1):"del"===e.kind?a(t,1)&&null===n:"meta"===e.kind&&null===t&&null===n)&&l(e.text,16384,!0);}function m(e){var t;return s(e)&&o(e,["header","oldStart","oldCount","newStart","newCount","lines","truncated"])&&l(e.header,512)&&a((t=e).oldStart,0)&&a(t.oldCount,0)&&a(t.newStart,0)&&a(t.newCount,0)&&Array.isArray(e.lines)&&e.lines.length<=2048&&e.lines.every(f)&&"boolean"==typeof e.truncated;}function g(e){var t;return!!s(e)&&!!o(e,["path","oldPath","layer","status","binary","hunks","addedLines","removedLines","truncated"])&&h(e.status)&&u(e.layer)&&!!c(e.path)&&(void 0===e.oldPath||!!c(e.oldPath))&&("renamed"===e.status?"string"==typeof e.oldPath:void 0===e.oldPath)&&"boolean"==typeof e.binary&&Array.isArray((t=e).hunks)&&t.hunks.length<=256&&t.hunks.every(m)&&(!0!==e.binary||Array.isArray(e.hunks)&&0===e.hunks.length&&0===e.addedLines&&0===e.removedLines)&&a(e.addedLines,0)&&a(e.removedLines,0)&&"boolean"==typeof e.truncated;}let y=/^(?:[0-9a-f]{40}|[0-9a-f]{64})$/u,v=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3})?Z$/u;function b(e){return s(e)&&o(e,["line","commitHash","author","authorTime","summary"])&&a(e.line,1)&&"string"==typeof e.commitHash&&y.test(e.commitHash)&&l(e.author,256)&&"string"==typeof e.authorTime&&v.test(e.authorTime)&&Number.isFinite(Date.parse(e.authorTime))&&l(e.summary,512,!0);}function w(e){try{return e();}catch(e){return{ok:!1,errors:[`payload could not be inspected: ${e instanceof Error?e.name:"unknown error"}`]};}}e.s(["GIT_AGENT_CONTEXT_MAX_BLAME_LINES",0,32,"GIT_AGENT_CONTEXT_MAX_FILES",0,8,"GIT_AGENT_CONTEXT_MAX_HUNKS",0,16,"GIT_AGENT_CONTEXT_MAX_RESULT_BYTES",0,196608,"GIT_EDITOR_BLAME_AUTHOR_MAX_CHARS",0,256,"GIT_EDITOR_BLAME_MAX_BYTES",0,262144,"GIT_EDITOR_BLAME_MAX_LINES",0,2e3,"GIT_EDITOR_BLAME_SUMMARY_MAX_CHARS",0,512,"GIT_EDITOR_DIFF_FILE_STATUSES",0,r,"GIT_EDITOR_DIFF_LAYERS",0,n,"GIT_EDITOR_DIFF_LINE_KINDS",0,i,"GIT_EDITOR_DIFF_MAX_BYTES",0,524288,"GIT_EDITOR_DIFF_MAX_FILES",0,400,"GIT_EDITOR_DIFF_MAX_HEADER_CHARS",0,512,"GIT_EDITOR_DIFF_MAX_HUNKS_PER_FILE",0,256,"GIT_EDITOR_DIFF_MAX_LINES_PER_HUNK",0,2048,"GIT_EDITOR_DIFF_MAX_LINE_CHARS",0,16384,"GIT_EDITOR_DIFF_SCOPES",0,t,"GIT_EDITOR_PATH_MAX_BYTES",0,4096,"GIT_EDITOR_SCHEMA_VERSION",0,"1","isGitEditorBlameLine",0,b,"isGitEditorDiffFile",0,g,"isGitEditorDiffFileStatus",0,h,"isGitEditorDiffHunk",0,m,"isGitEditorDiffLayer",0,u,"isGitEditorDiffLine",0,f,"isGitEditorDiffLineKind",0,p,"isGitEditorDiffScope",0,d,"parseGitEditorBlameRequest",0,function(e){return w(()=>function(e){if(!s(e))return{ok:!1,errors:["request must be an object"]};let t=[];return o(e,["schemaVersion","path","startLine","maxLines"])||t.push("request has unknown fields"),"1"!==e.schemaVersion&&t.push("schemaVersion invalid"),c(e.path)||t.push("path must be a bounded workspace-relative path"),a(e.startLine,1)||t.push("startLine must be a positive integer"),(!a(e.maxLines,1)||"number"==typeof e.maxLines&&e.maxLines>2e3)&&t.push(`maxLines must be between 1 and ${String(2e3)}`),0===t.length?{ok:!0,value:e}:{ok:!1,errors:t};}(e));},"parseGitEditorBlameResponse",0,function(e){return w(()=>function(e){var t,n;if(!s(e))return{ok:!1,errors:["response must be an object"]};let i=[];return o(e,["schemaVersion","path","startLine","lines","truncated","totalLines","totalBytes","maxBytes","maxLines"])||i.push("response has unknown fields"),"1"!==e.schemaVersion&&i.push("schemaVersion invalid"),c(e.path)||i.push("path must be a bounded workspace-relative path"),a(e.startLine,1)||i.push("startLine must be a positive integer"),!Array.isArray(e.lines)||e.lines.length>2e3?i.push(`lines must be an array of at most ${String(2e3)} entries`):e.lines.every(b)||i.push("lines contain an invalid entry"),"boolean"!=typeof e.truncated&&i.push("truncated must be a boolean"),a(e.totalLines,0)||i.push("totalLines must be a non-negative integer"),a(e.totalBytes,0)||i.push("totalBytes must be a non-negative integer"),262144!==e.maxBytes&&i.push("maxBytes invalid"),2e3!==e.maxLines&&i.push("maxLines invalid"),t=e,n=i,Array.isArray(t.lines)&&a(t.totalLines,0)&&t.totalLines<t.lines.length&&n.push("totalLines must not be smaller than lines.length"),a(t.totalBytes,0)&&t.totalBytes>262144&&!0!==t.truncated&&n.push("truncated must be true when totalBytes exceeds maxBytes"),0===i.length?{ok:!0,value:e}:{ok:!1,errors:i};}(e));},"parseGitEditorDiffRequest",0,function(e){return w(()=>function(e){if(!s(e))return{ok:!1,errors:["request must be an object"]};let t=[];return o(e,["schemaVersion","scope","path"])||t.push("request has unknown fields"),"1"!==e.schemaVersion&&t.push("schemaVersion invalid"),d(e.scope)||t.push("scope must be staged or unstaged"),void 0===e.path||c(e.path)||t.push("path must be a bounded workspace-relative path when present"),0===t.length?{ok:!0,value:e}:{ok:!1,errors:t};}(e));},"parseGitEditorDiffResponse",0,function(e){return w(()=>function(e){var t,n;if(!s(e))return{ok:!1,errors:["response must be an object"]};let i=[];return o(e,["schemaVersion","scope","files","truncated","totalFiles","totalBytes","maxBytes","maxFiles"])||i.push("response has unknown fields"),"1"!==e.schemaVersion&&i.push("schemaVersion invalid"),d(e.scope)||i.push("scope must be staged or unstaged"),!Array.isArray(e.files)||e.files.length>400?i.push(`files must be an array of at most ${String(400)} entries`):e.files.every(g)?d(e.scope)&&!e.files.every(t=>t.layer===("staged"===e.scope?"staged":"worktree"))&&i.push("file layers must match the response scope"):i.push("files contain an invalid entry"),"boolean"!=typeof e.truncated&&i.push("truncated must be a boolean"),a(e.totalFiles,0)||i.push("totalFiles must be a non-negative integer"),a(e.totalBytes,0)||i.push("totalBytes must be a non-negative integer"),524288!==e.maxBytes&&i.push("maxBytes invalid"),400!==e.maxFiles&&i.push("maxFiles invalid"),t=e,n=i,Array.isArray(t.files)&&a(t.totalFiles,0)&&t.totalFiles<t.files.length&&n.push("totalFiles must not be smaller than files.length"),a(t.totalBytes,0)&&t.totalBytes>524288&&!0!==t.truncated&&n.push("truncated must be true when totalBytes exceeds maxBytes"),0===i.length?{ok:!0,value:e}:{ok:!1,errors:i};}(e));}]);},73737,e=>{"use strict";function t(e,t){let n=t.identity;return n.repository.toLowerCase()===e.repository.toLowerCase()&&n.headRepository.toLowerCase()===e.repository.toLowerCase()&&n.number===e.prNumber&&n.externalId===e.prExternalId&&n.baseRef===e.baseRef&&t.defaultBranchRef===e.baseRef&&n.headRef===e.headRef&&n.headSha===e.headSha&&t.issue.number===e.issueNumber;}function n(e,t){return t.runId===e.runId&&t.remoteDigest===e.remoteDigest&&t.repository.toLowerCase()===e.repository.toLowerCase()&&t.prNumber===e.prNumber&&t.baseRef===e.baseRef&&t.headRef===e.headRef&&t.headSha===e.headSha;}function i(e,t){return Number.isFinite(t)&&t>=Date.parse(e.observedAt)&&t<Date.parse(e.expiresAt);}let r=new Set(["current","partial","fallback"]);e.s(["APPLIED_PR_DESCRIPTION_STATES",0,r,"journeyDescriptionApplied",0,function(e,n,s,o){var a,l,c,d,u,p,h,f,m,g,y;let v;return null!==s&&(a=e,l=s,!!r.has(l.state)&&("confirmed"===l.effect||"reconciled"===l.effect)&&(c=a,(d=l.binding).remoteDigest===c.remoteDigest&&d.repository.toLowerCase()===c.repository.toLowerCase()&&d.headRepository.toLowerCase()===c.repository.toLowerCase()&&d.prNumber===c.prNumber&&d.prExternalId===c.prExternalId))&&((u=e,v=(p=n).identity,null!==p.mergedAt&&"closed"===v.state&&v.repository.toLowerCase()===u.repository.toLowerCase()&&v.number===u.prNumber&&v.externalId===u.prExternalId&&v.headSha===u.headSha&&p.issue.number===u.issueNumber)?(h=e,(f=s.binding).baseRef===h.baseRef&&f.headRef===h.headRef&&f.headSha===h.headSha):t(e,n)&&i(s,o)&&(m=e,g=n,(y=s.binding).baseRef===m.baseRef&&y.baseSha===g.identity.baseSha&&y.headRef===m.headRef&&y.headSha===m.headSha&&y.isDraft===g.identity.isDraft));},"journeyEvidenceFresh",0,i,"journeyReadinessCurrent",0,function(e,r,s,o){return null!==s&&t(e,r)&&n(e,s)&&i(s,o)&&s.baseSha===r.identity.baseSha&&s.pullRequest.isDraft===r.identity.isDraft&&"open"===s.pullRequest.status&&"open"===r.identity.state&&null===r.mergedAt;},"journeyReadinessMatchesTask",0,n,"journeyRemoteMatchesTask",0,t]);},98109,1859,e=>{"use strict";var t=e.i(10161),n=e.i(73737),i=e.i(10710),r=e.i(33365),s=e.i(51983),o=e.i(68238);let a=Object.freeze({applied:"current",reconciled:"current","partial-applied":"partial","fallback-applied":"fallback","approval-required":"blocked","approval-invalid":"blocked","authority-denied":"blocked","receipt-refused":"blocked","policy-blocked":"blocked","invalid-request":"blocked","malformed-region":"blocked","unsafe-content":"blocked","stale-pr":"stale","stale-snapshot":"stale","body-changed":"stale",expired:"stale","provider-failed":"failed","recovery-required":"failed","unchanged-after-write":"failed"}),l=/^[a-f0-9]{64}$/u,c=/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/u,d=["repositoryId","remoteDigest","repository","prNumber","prExternalId","baseRef","baseSha","headRepository","headRef","headSha","isDraft","snapshotDigest","draftDigest","renderingVersion","expectedBodyDigest","outsideRegionDigest","finalBodyDigest","providerUpdatedAt"],u=["schemaVersion","state","reason","binding","observedAt","expiresAt","completeness","effect","concurrency"];function p(e){return"object"==typeof e&&null!==e&&!Array.isArray(e);}function h(e,t){return Reflect.ownKeys(e).length===t.length&&t.every(t=>{let n=Object.getOwnPropertyDescriptor(e,t);return void 0!==n&&Object.hasOwn(n,"value");});}function f(e,t){return"string"==typeof e&&t.test(e);}function m(e){if("string"!=typeof e)return!1;let t=Date.parse(e);return Number.isFinite(t)&&new Date(t).toISOString()===e;}function g(e){var t;return!!p(e)&&!!h(e,u)&&!!function(e){if(!m(e.observedAt)||!m(e.expiresAt))return!1;let t=Date.parse(e.expiresAt)-Date.parse(e.observedAt);return t>0&&t<=6e4;}(e)&&"1"===e.schemaVersion&&"read-check-write-verify"===e.concurrency&&function(e){var t,n;return!!p(e)&&!!h(e,d)&&f(e.repositoryId,c)&&f(e.remoteDigest,l)&&"string"==typeof e.repository&&(0,r.isGitHubOwnerAndRepo)(e.repository)&&"string"==typeof e.headRepository&&(0,r.isGitHubOwnerAndRepo)(e.headRepository)&&"number"==typeof(t=e.prNumber)&&Number.isSafeInteger(t)&&t>0&&t<=r.GITHUB_ISSUE_NUMBER_MAX&&f(e.prExternalId,c)&&"string"==typeof(n=e).baseRef&&(0,i.isSafeGitRefName)(n.baseRef)&&"string"==typeof n.headRef&&(0,i.isSafeGitRefName)(n.headRef)&&(0,i.isGitObjectId)(n.baseSha)&&(0,i.isGitObjectId)(n.headSha)&&"boolean"==typeof n.isDraft&&"1"===n.renderingVersion&&m(n.providerUpdatedAt)&&["snapshotDigest","draftDigest","expectedBodyDigest","outsideRegionDigest","finalBodyDigest"].every(t=>f(e[t],l));}(e.binding)&&("complete"===(t=e.completeness)||"partial"===t||"fallback"===t)&&function(e){var t,n;if("string"!=typeof e.reason||!Object.hasOwn(a,e.reason))return!1;let i=a[e.reason];if(e.state!==i)return!1;if("current"===i){return"complete"===e.completeness&&("applied"===(t=e).reason&&"confirmed"===t.effect||"reconciled"===t.reason&&"reconciled"===t.effect);}if("partial"===i||"fallback"===i){return e.completeness===i&&("confirmed"===(n=e.effect)||"reconciled"===n);}return"none"===e.effect||"uncertain"===e.effect;}(e);}e.s(["PR_DESCRIPTION_APPLICATION_REASON_STATES",0,a,"isPrDescriptionApplicationStatus",0,g],1859);let y=Object.freeze({"ready-approval-required":"awaiting-ready-approval","technical-ready":"keiko-technical-ready","human-review-ready":"ready-for-human-review","required-reviews-missing":"awaiting-human-requirements","changes-requested":"awaiting-human-requirements","unresolved-conversations":"awaiting-human-requirements","review-visibility-unknown":"awaiting-human-requirements","issue-closure-pending":"merged-awaiting-issue-closure","merge-and-closure-observed":"completed","closed-unmerged":"blocked","issue-closed-without-merge":"blocked",retargeted:"blocked","head-changed":"blocked","readiness-unavailable":"blocked","readiness-stale":"blocked","checks-not-ready":"blocked","description-unavailable":"blocked","description-stale":"blocked","description-not-applied":"blocked","provider-unavailable":"blocked","authority-denied":"blocked","observation-superseded":"blocked",cancelled:"cancelled","ready-effect-uncertain":"recovery-required"}),v=/^[a-f0-9]{64}$/u,b=/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/u;function w(e){return"object"==typeof e&&null!==e&&!Array.isArray(e);}function k(e,t){return Reflect.ownKeys(e).length===t.length&&t.every(t=>{let n=Object.getOwnPropertyDescriptor(e,t);return void 0!==n&&Object.hasOwn(n,"value")&&!0===n.enumerable;});}function S(e,t,n=0){return"number"==typeof e&&Number.isSafeInteger(e)&&e>=n&&e<=t;}function A(e,t){return"string"==typeof e&&t.test(e);}function x(e){return"string"==typeof e&&(0,i.isSafeGitRefName)(e)&&!e.startsWith("refs/");}function E(e){return"string"==typeof e&&Number.isFinite(Date.parse(e))&&new Date(e).toISOString().replace(".000Z","Z")===e.replace(".000Z","Z");}let R=["schemaVersion","binding","state","reason","observedAt","expiresAt","evidenceRef","remote","observationFailure","readiness","description","keikoDescriptionApplied"],D=new Set(["provider-unavailable","authority-denied","observation-superseded","cancelled","ready-effect-uncertain"]);e.s(["isJourneyOutcome",0,function(e){var a,l;return!!w(e)&&!!k(e,R)&&!!(w(a=e.binding)&&k(a,["runId","remoteDigest","issueBindingDigest","issueIdDigest","issueNumber","repository","prNumber","prExternalId","baseRef","headRef","headSha"])&&A(a.runId,b)&&A(a.prExternalId,b)&&[a.remoteDigest,a.issueBindingDigest,a.issueIdDigest].every(e=>A(e,v))&&S(a.issueNumber,r.GITHUB_ISSUE_NUMBER_MAX,1)&&S(a.prNumber,r.GITHUB_ISSUE_NUMBER_MAX,1)&&"string"==typeof(l=a).repository&&(0,r.isGitHubOwnerAndRepo)(l.repository)&&x(l.baseRef)&&x(l.headRef)&&l.baseRef!==l.headRef&&(0,i.isGitObjectId)(l.headSha))&&"1"===e.schemaVersion&&A(e.evidenceRef,b)&&function(e){if(!E(e.observedAt)||!E(e.expiresAt))return!1;let t=Date.parse(e.expiresAt)-Date.parse(e.observedAt);return t>0&&t<=6e4;}(e)&&"string"==typeof e.reason&&!!Object.hasOwn(y,e.reason)&&e.state===y[e.reason]&&function(e,i){return(null===e.readiness||!!(0,o.isReadinessSnapshot)(e.readiness)&&!!(0,n.journeyReadinessMatchesTask)(i,e.readiness))&&(null===e.description?!1===e.keikoDescriptionApplied:!!g(e.description)&&"boolean"==typeof e.keikoDescriptionApplied&&(!e.keikoDescriptionApplied||new Set(["current","partial","fallback"]).has(e.description.state)))&&(null===e.observationFailure||(0,t.isGitDeliveryObservationFailure)(e.observationFailure));}(e,e.binding)&&function(e,t){var o,a;return null===e.remote?!e.keikoDescriptionApplied&&D.has(e.reason):null===e.observationFailure&&function(e){var t,n,o;return!!w(e)&&!!k(e,["status","identity","repositoryId","defaultBranchRef","mergedAt","mergeCommitSha","reviewDecision","issue","reviewConversations","factsDigest"])&&"observed"===e.status&&S(e.repositoryId,Number.MAX_SAFE_INTEGER,1)&&x(e.defaultBranchRef)&&!!(0,s.isGitPullRequestIdentity)(e.identity)&&(null===e.mergedAt?null===e.mergeCommitSha:E(e.mergedAt)&&(0,i.isGitObjectId)(e.mergeCommitSha)&&"closed"===e.identity.state&&!e.identity.isDraft)&&!!w(t=e.issue)&&!!k(t,["number","state","closedAt"])&&S(t.number,r.GITHUB_ISSUE_NUMBER_MAX,1)&&("open"===t.state&&null===t.closedAt||"closed"===t.state&&E(t.closedAt))&&!!w(n=e.reviewConversations)&&!!k(n,["total","unresolved","resolved"])&&S(n.total,500)&&S(n.unresolved,500)&&S(n.resolved,500)&&n.total===n.unresolved+n.resolved&&"string"==typeof(o=e.reviewDecision)&&new Set(["approved","changes-requested","review-required","unknown"]).has(o)&&A(e.factsDigest,v);}(e.remote)&&(o=e.remote).identity.repository.toLowerCase()===t.repository.toLowerCase()&&o.identity.number===t.prNumber&&o.identity.externalId===t.prExternalId&&o.issue.number===t.issueNumber&&(a=e.remote,(!new Set(["completed","merged-awaiting-issue-closure"]).has(String(e.state))||!!(0,n.journeyRemoteMatchesTask)(t,a))&&("completed"===e.state?null!==a.mergedAt&&"closed"===a.issue.state:"merged-awaiting-issue-closure"!==e.state||null!==a.mergedAt&&"open"===a.issue.state))&&function(e){let{remote:t,readiness:i,binding:r}=e;if(null===t)return!e.keikoDescriptionApplied;let s=Date.parse(e.observedAt);return e.keikoDescriptionApplied===(0,n.journeyDescriptionApplied)(r,t,e.description,s)&&(!new Set(["awaiting-ready-approval","keiko-technical-ready","ready-for-human-review","awaiting-human-requirements"]).has(e.state)||(0,n.journeyReadinessCurrent)(r,t,i,s)&&(i===null||i===void 0?void 0:i.state)==="technical-ready"&&e.keikoDescriptionApplied);}(e);}(e,e.binding);}],98109);},51983,e=>{"use strict";var t=e.i(33365),n=e.i(10710);let i=new Set(["number","externalId","url","repository","headRepository","headRef","headSha","baseRef","baseSha","state","isDraft"]);function r(e){return"string"==typeof e&&(0,t.isGitHubOwnerAndRepo)(e);}function s(e){return"string"==typeof e&&(0,n.isSafeGitRefName)(e)&&!e.startsWith("refs/");}e.s(["isGitPullRequestIdentity",0,function(e){var t,o;return"object"==typeof e&&null!==e&&!Array.isArray(e)&&Object.keys(e).length===i.size&&Object.keys(e).every(e=>i.has(e))&&!!("number"==typeof(t=e.number)&&Number.isSafeInteger(t)&&t>0&&t<1e10)&&!!r(e.repository)&&"string"==typeof e.externalId&&!!/^[A-Za-z0-9_=-]{1,255}$/u.test(e.externalId)&&"string"==typeof e.url&&e.url.toLowerCase()===`https://github.com/${e.repository}/pull/${String(e.number)}`.toLowerCase()&&r((o=e).headRepository)&&s(o.headRef)&&s(o.baseRef)&&(0,n.isGitObjectId)(o.headSha)&&(0,n.isGitObjectId)(o.baseSha)&&("open"===o.state||"closed"===o.state)&&"boolean"==typeof o.isDraft;}]);},81167,e=>{"use strict";Object.freeze(["complete","partial","unavailable","failed"]);let t=Object.freeze(["byte-cap","file-cap","binary","submodule","generated"]),n=Object.freeze(["add","modify","delete","rename","copy","mode-change","binary","submodule"]);Object.freeze(["add","modify","delete","rename","copy"]),Object.freeze(["invalid-ref","missing-ref","identical-revisions","no-merge-base","head-behind-base","unsupported-object-format","head-mismatch","revision-mismatch"]),Object.freeze(["git-missing","unsafe-repository","git-error","timeout","cancelled","metadata-truncated","malformed-output"]),Object.freeze({maxFiles:400,maxHunksPerFile:256,maxPatchBytes:262144,maxTotalBytes:2097152}),Object.freeze({maxFiles:2e3,maxHunksPerFile:1024,maxPatchBytes:4194304,maxTotalBytes:0x1000000});var i=e.i(57269),r=e.i(10710),s=e.i(74894);let o=["en","de"],a=["complete","partial","fallback","failed"],l=["summary","keyChanges","risks","reviewerFocus"],c=["none","model-unavailable","invalid-model-output","unsafe-model-output","provider-failed","budget-exhausted","cancelled","timeout","snapshot-unavailable","invalid-snapshot","invalid-request","authority-denied"],d={type:"object",additionalProperties:!1,required:["text","evidenceIds"],properties:{text:{type:"string",minLength:1,maxLength:600},evidenceIds:{type:"array",minItems:1,maxItems:8,uniqueItems:!0,items:{type:"string",pattern:"^[a-f0-9]{64}$"}}}};function u(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||null===t;}function p(e,t){return Reflect.ownKeys(e).length===t.length&&t.every(t=>{let n=Object.getOwnPropertyDescriptor(e,t);return void 0!==n&&Object.hasOwn(n,"value");});}(0,i.deepFreeze)({type:"object",additionalProperties:!1,required:[...l],properties:Object.fromEntries(l.map(e=>[e,{type:"array",minItems:+("summary"===e||"keyChanges"===e),maxItems:6,items:d}]))});let h=/\b(?:pass(?:ed|ing)?|succeeded|verified|proven|guaranteed|risk[- ]free|secure|safe|successful|bestanden|verifiziert|garantiert|sicher|erfolgreich)\b/iu,f=/[<>`]|!\[|\]\s*[(:]|(?:https?:|javascript:|data:)\/\/|!\(|\bby\s+Keiko\b/iu,m=/\b(?:close|closes|closed|fix|fixes|fixed|resolve|resolves|resolved)\s+(?:#|[a-z0-9_.-]+\/[a-z0-9_.-]+#)/iu,g=["schemaVersion","renderingVersion","binding","language","outcome","reason","coverage","candidate","markdown","artifactDigest"],y=["repositoryId","baseRef","baseSha","headRef","headSha","mergeBaseSha","snapshotDigest"],v=["totalFiles","files","hunks","bytes","omittedFiles","omittedHunks","truncatedFiles","kinds","omissions"],b=["snapshot","suppliedEvidenceCount","processedEvidenceCount","omittedEvidenceCount"],w=/^[a-f0-9]{64}$/u;function k(e){return Number.isSafeInteger(e)&&Number(e)>=0;}function S(e){return!!u(e)&&!!p(e,["reason","files","hunks"])&&"string"==typeof e.reason&&t.includes(e.reason)&&k(e.files)&&k(e.hunks);}function A(e){return u(e)&&Array.isArray(e.evidenceIds)?e.evidenceIds.filter(e=>"string"==typeof e):[];}e.s(["PR_DESCRIPTION_LANGUAGES",0,o,"PR_DESCRIPTION_OUTCOMES",0,a,"isPrDescriptionArtifact",0,function(e){var t,i,d,x;let E;if(!u(e)||!p(e,g))return!1;return"1"===e.schemaVersion&&"1"===e.renderingVersion&&"string"==typeof e.language&&o.includes(e.language)&&"string"==typeof e.outcome&&a.includes(e.outcome)&&"string"==typeof e.reason&&c.includes(e.reason)&&function(e){var t;let n;if(!u(e))return!1;let i=void 0===e.remoteDigest?y:[...y,"remoteDigest"];return!!p(e,i)&&"string"==typeof e.repositoryId&&/^[A-Za-z0-9][A-Za-z0-9._:-]*$/u.test(e.repositoryId)&&e.repositoryId.length<=128&&"string"==typeof(t=e).baseRef&&(0,r.isSafeGitRefName)(t.baseRef)&&"string"==typeof t.headRef&&(0,r.isSafeGitRefName)(t.headRef)&&(0,r.isGitObjectId)(t.baseSha)&&(0,r.isGitObjectId)(t.headSha)&&(0,r.isGitObjectId)(t.mergeBaseSha)&&(n=e.remoteDigest,"string"==typeof e.snapshotDigest&&w.test(e.snapshotDigest)&&(void 0===n||"string"==typeof n&&w.test(n)));}(e.binding)&&(E=function(e,t){if(!u(e)||!p(e,l))return{ok:!1,reason:"invalid-model-output"};let n=new Set(t);for(let t of l){let i=function(e,t,n){if(!Array.isArray(e)||e.length>6||("summary"===t||"keyChanges"===t)&&0===e.length)return"invalid-model-output";for(let t of e){let e=function(e,t){var n,i;return u(e)&&p(e,["text","evidenceIds"])&&"string"==typeof e.text&&(n=e.evidenceIds,Array.isArray(n)&&n.length>0&&n.length<=8&&Array.from(n).every(e=>"string"==typeof e&&/^[a-f0-9]{64}$/u.test(e)&&t.has(e))&&new Set(n).size===n.length)?!((i=e.text).trim().length>0)||!(i.length<=600)||(0,s.stripUnsafeFormatChars)(i)!==i||(0,s.hasControlCharacter)(i)||(0,s.containsAbsolutePath)(i)||(0,s.containsPseudoRoleMarker)(i)||/keiko\s*:\s*pr-description/iu.test(i)||f.test(i)||m.test(i)||h.test(i)?"unsafe-model-output":void 0:"invalid-model-output";}(t,n);if(void 0!==e)return e;}}(e[t],t,n);if(void 0!==i)return{ok:!1,reason:"unsafe-model-output"===i?i:"invalid-model-output"};}return{ok:!0,value:e};}(e.candidate,u(t=e.candidate)?l.flatMap(e=>{let n;return Array.isArray(n=t[e])?n.flatMap(A):[];}):[]),!!u(i=e.coverage)&&!!p(i,b)&&!!u(d=i.snapshot)&&!!p(d,v)&&v.slice(0,7).every(e=>k(d[e]))&&!!u(x=d.kinds)&&!!p(x,n)&&n.every(e=>k(x[e]))&&Array.isArray(d.omissions)&&d.omissions.every(S)&&k(i.suppliedEvidenceCount)&&k(i.processedEvidenceCount)&&k(i.omittedEvidenceCount)&&E.ok&&"string"==typeof e.markdown&&e.markdown.length>0&&e.markdown.length<=65536)&&"string"==typeof e.artifactDigest&&w.test(e.artifactDigest);}],81167);},26330,e=>{"use strict";var t=e.i(43476),n=e.i(71645),i=e.i(50850);function r(e){return e.toFixed(2);}function s(e){var _t$0$,_t$,_t$0$2,_t$2;let t=[];for(let n=0;n<150;n++){let i=n/150*Math.PI*2,r=1+.07*(.55*Math.sin(3*i+e)+.32*Math.sin(5*i-.8*e+1.7)+.22*Math.sin(2*i+.5*e+.4));t.push([140+127.44000000000001*r*Math.cos(i),140+118*r*Math.sin(i)]);}let n=`M${r((_t$0$=(_t$=t[0])===null||_t$===void 0?void 0:_t$[0])!==null&&_t$0$!==void 0?_t$0$:140)} ${r((_t$0$2=(_t$2=t[0])===null||_t$2===void 0?void 0:_t$2[1])!==null&&_t$0$2!==void 0?_t$0$2:140)} `;for(let e=0;e<t.length;e++){let i=t[(e-1+t.length)%t.length],s=t[e],o=t[(e+1)%t.length],a=t[(e+2)%t.length],l=s[0]+(o[0]-i[0])/6,c=s[1]+(o[1]-i[1])/6,d=o[0]-(a[0]-s[0])/6,u=o[1]-(a[1]-s[1])/6;n+=`C${r(l)} ${r(c)} ${r(d)} ${r(u)} ${r(o[0])} ${r(o[1])} `;}return`${n}Z`;}function o({accessibleDescription:e,actionLabel:i,centeredLogo:r=!1,className:a,onActivate:l,subtitle:c,title:d,titleFontSize:u=16}){let p=(0,n.useId)(),h=`ewb-${p.replaceAll(":","")}`,f=`ewb-desc-${p.replaceAll(":","")}`,m=(0,n.useRef)(null),g=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=e=>{var _m$current;(_m$current=m.current)===null||_m$current===void 0||_m$current.setAttribute("d",s(e));};if(e(.7),"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches||"function"!=typeof window.requestAnimationFrame)return;let t=0,n=()=>{0!==t&&(window.cancelAnimationFrame(t),t=0);},i=n=>{e(85e-5*n),t=window.requestAnimationFrame(i);},r=()=>{0===t&&!0!==document.hidden&&(t=window.requestAnimationFrame(i));},o=()=>{!0===document.hidden?n():r();};return r(),document.addEventListener("visibilitychange",o),window.addEventListener("blur",n),window.addEventListener("focus",r),()=>{n(),document.removeEventListener("visibilitychange",o),window.removeEventListener("blur",n),window.removeEventListener("focus",r);};},[]);let y=(0,n.useCallback)(()=>{let e=g.current;null!==e&&(e.classList.remove("is-pulse"),e.getBoundingClientRect(),e.classList.add("is-pulse")),l===null||l===void 0?void 0:l();},[l]),v=void 0===a?"empty-workspace-blob":`empty-workspace-blob ${a}`,b=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{id:f,className:"visually-hidden",children:e}),(0,t.jsxs)("svg",{width:"320",height:"320",viewBox:"0 0 280 280","aria-hidden":"true",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("mask",{id:h,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"280",height:"280",children:[(0,t.jsx)("rect",{x:"0",y:"0",width:"280",height:"280",fill:"#fff"}),(0,t.jsx)("g",{transform:r?"translate(140 140) scale(1.35) translate(-140 -140)":void 0,children:(0,t.jsx)("g",{transform:`translate(107,${r?"99":"64"}) scale(0.080625)`,children:(0,t.jsx)("g",{transform:"translate(1024 0) scale(-1 1)",children:(0,t.jsx)("g",{transform:"translate(1024,1024) scale(-0.1,-0.1)",fill:"#000",children:(0,t.jsx)("path",{d:"M3465 8223 c-144 -8 -314 -52 -408 -105 -69 -39 -146 -99 -146 -113 0 -5 30 -24 68 -42 146 -70 323 -229 377 -340 25 -49 29 -70 29 -138 -1 -72 -5 -88 -39 -160 -36 -75 -54 -95 -265 -305 -134 -132 -270 -279 -331 -355 -339 -425 -552 -896 -626 -1390 -25 -165 -25 -549 0 -720 92 -645 368 -1196 826 -1655 322 -324 710 -562 1145 -704 389 -126 793 -172 1155 -130 235 27 377 63 579 149 205 87 268 86 423 -7 102 -62 231 -115 335 -138 247 -56 562 -26 794 74 92 40 244 136 232 146 -4 3 -26 12 -48 19 -86 28 -246 116 -385 211 -162 112 -284 182 -357 207 l-48 17 40 15 c185 70 436 223 595 363 438 386 695 1014 678 1663 l-3 120 -50 -70 c-64 -90 -248 -280 -350 -362 -171 -136 -366 -255 -645 -391 -288 -140 -442 -243 -590 -391 -136 -137 -247 -316 -325 -526 -47 -127 -114 -262 -160 -326 -79 -107 -237 -224 -384 -283 -136 -55 -355 -96 -514 -96 -274 0 -548 71 -832 215 -242 123 -375 216 -553 389 -175 171 -287 332 -361 517 -44 114 -63 216 -63 359 0 152 17 233 74 350 35 70 59 102 136 179 l95 94 21 -29 c55 -75 219 -277 277 -338 171 -183 337 -256 582 -256 56 0 126 -3 155 -7 53 -6 54 -7 76 -57 30 -66 97 -128 172 -156 151 -57 318 11 395 160 33 62 34 193 3 261 -30 64 -88 125 -148 157 -44 23 -63 27 -141 27 -78 0 -97 -4 -140 -27 -58 -30 -131 -105 -141 -142 -6 -25 -8 -26 -93 -26 -47 0 -131 5 -186 10 -87 8 -111 15 -182 51 -45 22 -109 66 -143 96 -59 53 -326 361 -319 367 14 11 179 47 241 52 102 9 177 -7 318 -66 158 -66 243 -89 357 -99 157 -12 413 5 582 40 l93 19 44 -39 c59 -52 135 -75 228 -69 117 8 212 72 262 176 23 47 28 71 28 138 0 70 -4 89 -29 138 -55 110 -145 167 -270 174 -65 3 -91 0 -137 -18 -107 -40 -183 -140 -195 -257 l-6 -52 -51 -11 c-104 -23 -285 -41 -411 -42 -149 -1 -211 12 -402 88 -186 74 -256 88 -403 81 -193 -8 -377 -70 -546 -182 -342 -228 -485 -611 -399 -1064 30 -157 119 -388 209 -541 20 -35 35 -64 33 -66 -8 -8 -111 108 -190 214 -154 206 -278 489 -324 737 -28 154 -25 492 6 635 46 216 133 391 256 514 82 82 161 128 271 156 152 39 300 23 529 -57 217 -76 308 -101 410 -114 137 -17 284 -7 426 30 272 70 414 145 809 425 217 153 399 238 610 283 64 14 129 18 265 18 197 0 269 -9 615 -76 461 -89 843 -149 952 -149 41 0 41 0 23 -20 -28 -31 -169 -119 -254 -158 -167 -77 -388 -145 -716 -222 -399 -93 -508 -128 -608 -194 -102 -68 -160 -160 -217 -346 -35 -115 -102 -286 -149 -378 -85 -168 -227 -341 -377 -458 -105 -82 -115 -107 -69 -162 29 -34 65 -44 109 -29 86 29 261 181 371 322 126 162 201 309 295 581 61 176 90 232 145 283 62 57 163 93 470 165 439 104 640 169 863 278 206 100 368 240 434 375 32 67 33 71 33 198 -1 120 -3 138 -34 229 -98 294 -319 655 -573 936 -381 421 -968 723 -1618 834 -448 76 -767 83 -1169 25 -80 -12 -165 -19 -190 -17 -26 3 -90 26 -146 53 -343 162 -576 233 -842 255 -114 9 -141 10 -248 3z m2926 -1227 c164 -27 346 -102 485 -202 181 -129 354 -348 354 -448 0 -64 -75 -126 -154 -126 -60 0 -63 4 -52 70 8 50 7 65 -9 100 -29 64 -74 93 -151 98 -54 4 -70 1 -107 -21 -42 -25 -61 -52 -91 -129 -25 -64 -55 -73 -246 -73 -121 0 -187 5 -248 18 -318 70 -556 242 -556 402 0 218 388 374 775 311z m-2249 -611 c119 -21 208 -50 321 -106 114 -56 177 -100 266 -184 67 -63 157 -173 148 -181 -2 -3 -61 18 -130 45 -131 52 -298 100 -427 122 -113 20 -367 17 -470 -4 -502 -106 -885 -433 -1160 -992 -70 -142 -160 -379 -160 -424 0 -9 -5 -23 -11 -31 -13 -19 -5 316 10 410 80 482 295 846 661 1117 145 107 350 197 522 228 100 18 326 18 430 0z m1485 -1456 c95 -36 119 -159 42 -223 -78 -66 -209 -1 -209 104 0 60 33 100 99 121 36 10 36 10 68 -2z m-591 -822 c29 -26 37 -42 40 -77 6 -54 -9 -86 -55 -117 -41 -28 -70 -29 -119 -4 -44 22 -62 55 -62 112 0 51 13 75 53 99 50 31 101 26 143 -13z"})})})})}),void 0===d?null:(0,t.jsx)("text",{x:"140",y:"172",textAnchor:"middle",fill:"#000",fontFamily:"var(--font-ui)",fontSize:u,fontWeight:"700",children:d}),void 0===c?null:(0,t.jsx)("text",{x:"140",y:"191",textAnchor:"middle",fill:"#000",fontFamily:"var(--font-ui)",fontSize:"11",fontWeight:"400",children:c})]})}),(0,t.jsx)("g",{ref:g,className:"empty-workspace-blob__group",children:(0,t.jsx)("path",{ref:m,className:"empty-workspace-blob__fill",mask:`url(#${h})`})})]})]});return void 0===l?(0,t.jsx)("div",{className:v,role:"img","aria-label":e,children:b}):(0,t.jsx)("button",{type:"button",className:v,"aria-label":i,"aria-describedby":f,onClick:y,children:b});}e.s(["EmptyWorkspaceBlob",0,function({onNewWindow:e}){let n=(0,i.useTranslate)();return(0,t.jsx)(o,{accessibleDescription:n("workspace.empty.description"),actionLabel:n("workspace.empty.openWindow"),title:n("workspace.empty.title"),subtitle:n("workspace.empty.subtitle"),onActivate:e});},"OrganicWorkspaceBubble",0,o,"emptyWorkspaceBlobPath",0,s]);},67914,e=>{"use strict";var t=e.i(43476),n=e.i(71645),i=e.i(74080),r=e.i(50850);function s(e){return e.findIndex(e=>!0!==e.disabled);}function o(e,t,n){if(0===e.length)return-1;for(let i of e.keys()){var _e$r;let r=(t+(i+1)*n+e.length)%e.length;if(((_e$r=e[r])===null||_e$r===void 0?void 0:_e$r.disabled)!==!0)return r;}return-1;}function a({active:e,index:r,onCommit:s,onOptionKeyDown:o,option:l,selected:c,setOptionRef:d}){let u=(0,n.useRef)(null),p=(0,n.useRef)(null),h=(0,n.useRef)(null),[f,m]=(0,n.useState)(null),g=()=>{null!==h.current&&(clearTimeout(h.current),h.current=null),m(null);},y=()=>{null!==h.current&&clearTimeout(h.current),h.current=setTimeout(()=>{let e=p.current,t=u.current;if(null===e||null===t||e.scrollWidth<=e.clientWidth)return;let n=t.getBoundingClientRect(),i=Math.min(520,window.innerWidth-32),r=n.right+8+i<=window.innerWidth-16?"top-left":"top-right";m({left:"top-left"===r?n.right+8:n.left-8,placement:r,top:n.top-6});},1500);};return(0,n.useEffect)(()=>g,[]),(0,t.jsxs)("button",{ref:e=>{u.current=e,d(r,e);},"aria-selected":c,className:`ksel-option${e?" ksel-option-active":""}`,"data-disabled":!0===l.disabled?"true":void 0,disabled:l.disabled,onBlur:g,onClick:()=>s(l),onFocus:y,onKeyDown:e=>o(e,r),onPointerEnter:y,onPointerLeave:g,role:"option",type:"button",children:[(0,t.jsxs)("span",{className:"ksel-option-copy",children:[(0,t.jsx)("span",{className:"ksel-option-label",ref:p,children:l.label}),void 0!==l.description?(0,t.jsx)("span",{className:"ksel-option-desc",children:l.description}):null]}),void 0!==l.badge?(0,t.jsx)("span",{className:"ksel-option-badge",children:l.badge}):null,null!==f?(0,i.createPortal)((0,t.jsx)("div",{className:"ksel-overflow-tooltip","data-placement":f.placement,role:"tooltip",style:{left:`${f.left.toString()}px`,top:`${f.top.toString()}px`},children:l.label}),document.body):null]});}function l({activeIndex:e,flatOptions:n,menuId:i,onCommit:r,onOptionKeyDown:s,section:o,sectionIndex:c,selectedIndex:d,setOptionRef:u}){let p=void 0!==o.label?`${i}-section-${c.toString()}`:void 0;return(0,t.jsxs)("div",{className:"ksel-section",role:void 0!==o.label?"group":"presentation","aria-labelledby":p,children:[void 0!==o.label?(0,t.jsx)("div",{className:"ksel-section-label",id:p,children:o.label}):null,o.options.map(i=>{var _o$label;let l=n.findIndex(e=>e.value===i.value&&e.sectionLabel===o.label),c=n[l];return void 0===c?null:(0,t.jsx)(a,{active:l===e,index:l,onCommit:r,onOptionKeyDown:s,option:c,selected:l===d,setOptionRef:u},`${(_o$label=o.label)!==null&&_o$label!==void 0?_o$label:"section"}-${i.value}`);})]});}function c({activeIndex:e,ariaLabel:n,flatOptions:r,menuClassName:s,menuCountLabel:o,menuId:a,menuLabel:d,menuRef:u,menuTitle:p,onCommit:h,onOptionKeyDown:f,placeholder:m,position:g,selectedIndex:y,sections:v,setOptionRef:b,showMenuHeader:w}){var _ref;return(0,i.createPortal)((0,t.jsxs)("div",{ref:u,className:["ksel-menu",g.attached?"ksel-menu-attached":"",g.openUp?"ksel-menu-open-up":"ksel-menu-open-down",s!==null&&s!==void 0?s:""].filter(e=>e.length>0).join(" "),style:{left:`${g.left.toString()}px`,top:`${g.top.toString()}px`,width:`${g.width.toString()}px`,"--ksel-option-height":`${g.optionHeight.toString()}px`,fontFamily:g.fontFamily,fontSize:g.fontSize,fontWeight:g.fontWeight,letterSpacing:g.letterSpacing,lineHeight:g.lineHeight},children:[w?(0,t.jsxs)("div",{className:"ksel-menu-head",children:[(0,t.jsx)("div",{className:"ksel-menu-title",children:(_ref=p!==null&&p!==void 0?p:n)!==null&&_ref!==void 0?_ref:m}),(0,t.jsx)("div",{className:"ksel-menu-note",children:o!==null&&o!==void 0?o:`${r.length.toString()} options`})]}):null,(0,t.jsx)("div",{className:"ksel-menu-scroll",role:"listbox",id:a,"aria-label":d,style:{maxHeight:`${g.maxHeight.toString()}px`},children:v.map((n,i)=>{var _n$label;return(0,t.jsx)(l,{activeIndex:e,flatOptions:r,menuId:a,onCommit:h,onOptionKeyDown:f,section:n,sectionIndex:i,selectedIndex:y,setOptionRef:b},`${(_n$label=n.label)!==null&&_n$label!==void 0?_n$label:"section"}-${i.toString()}`);})})]}),document.body);}e.s(["default",0,function({value:e,sections:i,onValueChange:a,onOpen:l,disabled:d=!1,placeholder:u,ariaLabel:p,ariaDescribedBy:h,ariaLabelledBy:f,triggerClassName:m,menuClassName:g,menuTitle:y,menuCountLabel:v,showMenuHeader:b=!0,leadingVisual:w,mono:k=!1,showChevron:S=!0,menuMinWidth:A,attached:x=!0,triggerStyle:E,autoFocus:R=!1}){var _H$label,_H$description,_ref2,_D$triggerClassName,_D$position;var D;let I=(0,r.useTranslate)(),_=(0,n.useRef)(null),T=(0,n.useRef)(null),j=(0,n.useRef)([]),L=(0,n.useId)(),[C,N]=(0,n.useState)(!1),[O,P]=(0,n.useState)(-1),[F,B]=(0,n.useState)(null),[G,q]=(0,n.useState)(!1),$=(0,n.useMemo)(()=>i.flatMap((e,t)=>e.options.map((n,i)=>{var _e$label;return{...n,key:`${(_e$label=e.label)!==null&&_e$label!==void 0?_e$label:"section"}-${t.toString()}-${n.value}-${i.toString()}`,sectionLabel:e.label};})),[i]),M=$.findIndex(t=>t.value===e),H=-1===M?null:$[M],U=u!==null&&u!==void 0?u:I("select.placeholder"),W=(_H$label=H===null||H===void 0?void 0:H.label)!==null&&_H$label!==void 0?_H$label:U,z=(_H$description=H===null||H===void 0?void 0:H.description)!==null&&_H$description!==void 0?_H$description:null,K=(_ref2=y!==null&&y!==void 0?y:p)!==null&&_ref2!==void 0?_ref2:U,V=()=>{N(!1),P(-1);},X=e=>{var _$$e,_$$M;if(d||0===$.length)return;let t=void 0!==e&&((_$$e=$[e])===null||_$$e===void 0?void 0:_$$e.disabled)!==!0?e:M>=0&&((_$$M=$[M])===null||_$$M===void 0?void 0:_$$M.disabled)!==!0?M:s($);N(!0),P(t),l===null||l===void 0?void 0:l();};function Z(e){var _$current;e.disabled||(a(e.value),V(),(_$current=_.current)===null||_$current===void 0?void 0:_$current.focus());}(0,n.useEffect)(()=>{if(!C)return;let e=e=>{let t=e.target;null!==_.current&&t instanceof Node&&_.current.contains(t)||null!==T.current&&t instanceof Node&&T.current.contains(t)||V();},t=()=>V();return window.addEventListener("pointerdown",e,!0),window.addEventListener("blur",t),()=>{window.removeEventListener("pointerdown",e,!0),window.removeEventListener("blur",t);};},[C]),(0,n.useLayoutEffect)(()=>{if(!C||null===_.current)return;let e=()=>{var _$current2;let e=(_$current2=_.current)===null||_$current2===void 0?void 0:_$current2.getBoundingClientRect();if(void 0===e)return;let t=Math.min(void 0!==A&&e.width<Math.min(A,96)?A:e.width,window.innerWidth-32),n=x&&1>Math.abs(t-e.width),i=n?-1:6,r=window.innerHeight-e.bottom-16,s=e.top-16,o=r<Math.max(96,2*e.height)&&s>r;q(o);let a=o?s:r,l=50*!!b+2,c=Math.max(e.height,Math.min(Math.max(e.height,a-l),380)),d=c+l,u=window.getComputedStyle(_.current);B({left:Math.min(Math.max(16,e.left),window.innerWidth-t-16),width:t,top:o?Math.max(16,e.top-d-i):Math.min(e.bottom+i,window.innerHeight-16-d),optionHeight:Math.max(28,Math.min(e.height,30)),maxHeight:c,openUp:o,attached:n,fontFamily:u.fontFamily,fontSize:u.fontSize,fontWeight:u.fontWeight,letterSpacing:u.letterSpacing,lineHeight:u.lineHeight});};return e(),window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0);};},[C,x,A,b]),(0,n.useLayoutEffect)(()=>{if(!C||null===F||!F.openUp||null===_.current||null===T.current)return;let e=_.current.getBoundingClientRect(),t=T.current.getBoundingClientRect();if(t.height<=0)return;let n=F.attached?-1:6,i=Math.max(16,e.top-t.height-n);.5>Math.abs(i-F.top)||B(e=>null===e?e:{...e,top:i});},[C,F]),(0,n.useEffect)(()=>{var _j$current$O,_j$current$O2;C&&!(O<0)&&((_j$current$O=j.current[O])!==null&&_j$current$O!==void 0&&_j$current$O.focus(),(_j$current$O2=j.current[O])===null||_j$current$O2===void 0?void 0:_j$current$O2.scrollIntoView({block:"nearest"}));},[C,O]),(0,n.useEffect)(()=>{if(!C)return;let e=e=>{if("Escape"===e.key){var _$current3;V(),(_$current3=_.current)===null||_$current3===void 0?void 0:_$current3.focus();return;}if(1===e.key.length&&!e.metaKey&&!e.ctrlKey&&!e.altKey){var t;if((t=e.target)instanceof HTMLElement&&("INPUT"===t.tagName||"TEXTAREA"===t.tagName||"SELECT"===t.tagName||t.isContentEditable))return;let n=function(e,t,n){for(let i=1;i<=e.length;i+=1){let r=(t+i)%e.length,s=e[r];if(void 0!==s&&!0!==s.disabled&&s.label.toLowerCase().startsWith(n))return r;}return-1;}($,O>=0?O:Math.max(M,0),e.key.toLowerCase());-1!==n&&P(n);}};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e);},[C,O,$,M]);let Y=["ksel-trigger",(D={disabled:d,mono:k,open:C,openUp:G,position:F,triggerClassName:m}).mono?"mono":"",(_D$triggerClassName=D.triggerClassName)!==null&&_D$triggerClassName!==void 0?_D$triggerClassName:"",D.open?"ksel-trigger-open":"",D.open&&((_D$position=D.position)===null||_D$position===void 0?void 0:_D$position.attached)===!0?D.openUp?"ksel-trigger-open-up":"ksel-trigger-open-down":"",D.disabled?"ksel-trigger-disabled":""].filter(e=>e.length>0).join(" "),J=C&&null!==F?(0,t.jsx)(c,{activeIndex:O,ariaLabel:p,flatOptions:$,menuClassName:g,menuCountLabel:v,menuId:L,menuLabel:K,menuRef:T,menuTitle:y,onCommit:Z,onOptionKeyDown:function(e,t){if("Escape"===e.key||"Tab"===e.key){var _$current4;e.preventDefault(),V(),(_$current4=_.current)===null||_$current4===void 0?void 0:_$current4.focus();return;}if("ArrowDown"===e.key){e.preventDefault(),P(o($,t,1));return;}if("ArrowUp"===e.key){e.preventDefault(),P(o($,t,-1));return;}if("Home"===e.key){e.preventDefault(),P(s($));return;}if("End"===e.key){e.preventDefault(),P(o($,0,-1));return;}if("Enter"===e.key||" "===e.key){e.preventDefault();let n=$[t];void 0!==n&&Z(n);}},placeholder:u,position:F,selectedIndex:M,sections:i,setOptionRef:(e,t)=>{j.current[e]=t;},showMenuHeader:b}):null;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{ref:_,"aria-controls":L,"aria-describedby":h,"aria-expanded":C,"aria-haspopup":"listbox","aria-label":p,"aria-labelledby":f,autoFocus:R,className:Y,disabled:d,onClick:()=>{C?V():X();},onKeyDown:function(e){if(!d){if("ArrowDown"===e.key||"ArrowUp"===e.key){e.preventDefault(),X(M>=0?M:s($));return;}("Enter"===e.key||" "===e.key)&&(e.preventDefault(),C?V():X());}},role:"combobox",style:E,type:"button",children:[void 0!==w?(0,t.jsx)("span",{className:"ksel-trigger-leading",children:w}):null,(0,t.jsxs)("span",{className:"ksel-trigger-copy",children:[(0,t.jsx)("span",{className:"ksel-trigger-label",children:W}),null!==z?(0,t.jsx)("span",{className:"ksel-trigger-desc",children:z}):null]}),S?(0,t.jsx)("span",{"aria-hidden":"true",className:`ksel-trigger-caret${C?" ksel-trigger-caret-open":""}`,children:(0,t.jsx)("svg",{fill:"none",height:"12",viewBox:"0 0 12 12",width:"12",children:(0,t.jsx)("path",{d:"M2.25 4.5 6 8.25 9.75 4.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})})}):null]}),J]});}]);},48268,64533,e=>{"use strict";let t,n;var i=e.i(71645),r=e.i(18829),s=e.i(95508);async function o(){return void 0!==t?t:n!==null&&n!==void 0?n:n=(0,s.fetchNativeFileDialogCapability)().then(e=>(t=e.supported,e.supported)).catch(()=>!1).finally(()=>{n=void 0;});}async function a(e){try{let t=await(0,s.openNativeFileDialog)(e);if(t.cancelled)return{kind:"cancelled"};return{kind:"picked",paths:t.selections.map(e=>e.path),rejectedCount:t.rejectedSelectionCount};}catch(e){if(e instanceof r.ApiError){if("NATIVE_DIALOG_ALREADY_OPEN"===e.code)return{kind:"busy"};if("NATIVE_DIALOG_UNSUPPORTED"===e.code)return{kind:"unsupported"};return{kind:"error",message:e.message};}return{kind:"error",message:"The native dialog request failed."};}}e.s(["nativeFileDialogSupported",0,o,"nativePathsToRootAndFiles",0,function(e){let t,n=e[0];if(void 0===n)return{rootPath:"",files:[]};let i=(t=Math.max(n.lastIndexOf("/"),n.lastIndexOf("\\")))>0?n.slice(0,t):n,r=i.length,s=e.map(e=>{let t=e.charAt(r);return e.startsWith(i)&&("/"===t||"\\"===t)?e.slice(r+1):e;});return{rootPath:i,files:s};},"pickWithNativeDialog",0,a],64533),e.s(["useNativeFileDialogCapability",0,function(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=!0;return o().then(n=>{e&&t(n);}),()=>{e=!1;};},[]),e;}],48268);},63096,e=>{"use strict";var t=e.i(71645),n=e.i(6675),i=e.i(13464),r=e.i(24541),s=e.i(29835);let o=[];e.s(["useRepositoryBranchState",0,function(e){var _p$response$branches,_p$response,_a,_a$branches$find$name,_a$branches$find;var a;let[l,c]=(0,t.useState)({root:null,response:null,loading:null!==e,error:null}),d=(0,t.useRef)(0),u=(0,t.useCallback)(async()=>{let t=d.current+=1;if(null===e)return void c({root:null,response:null,loading:!1,error:null});c(e=>({...e,loading:!0,error:null}));try{let i=await n.DEFAULT_GIT_CLIENT.listBranches(e);d.current===t&&c({root:e,response:i,loading:!1,error:null});}catch(n){d.current===t&&(c({root:e,response:null,loading:!1,error:"Git status could not be loaded."}),(0,r.reportClientDiagnostic)(`[keiko] repository branch status failed: ${(0,s.clientErrorSummary)(n)}`,{correlationId:(0,s.correlationIdOf)(n)}));}},[e]);(0,t.useEffect)(()=>(u(),()=>{d.current+=1;}),[u]),(0,t.useEffect)(()=>{if(null===e)return;let t=t=>{(0,i.gitRepositoryStateInvalidationRoots)(t).includes(e)&&u();};return window.addEventListener(i.GIT_REPOSITORY_STATE_INVALIDATED_EVENT,t),()=>window.removeEventListener(i.GIT_REPOSITORY_STATE_INVALIDATED_EVENT,t);},[u,e]);let p=l.root===e?l:{...l,response:null};return{...p,branches:(_p$response$branches=(_p$response=p.response)===null||_p$response===void 0?void 0:_p$response.branches)!==null&&_p$response$branches!==void 0?_p$response$branches:o,currentBranch:(a=p.response,((_a=a)===null||_a===void 0?void 0:_a.available)!==!0?null:(_a$branches$find$name=(_a$branches$find=a.branches.find(e=>e.current))===null||_a$branches$find===void 0?void 0:_a$branches$find.name)!==null&&_a$branches$find$name!==void 0?_a$branches$find$name:null),refresh:u};}]);},60865,e=>{"use strict";e.s(["NATIVE_BLOCK_STYLE",0,{display:"block"},"NATIVE_DIALOG_STYLE",0,{margin:0,position:"static"},"NATIVE_FIELDSET_RESET_STYLE",0,{margin:0,minWidth:0,padding:0,border:0},"NATIVE_FIELDSET_STYLE",0,{margin:0,minWidth:0},"NATIVE_HEADING_STYLE",0,{margin:0,fontWeight:"inherit"},"NATIVE_LIST_KEEP_PADDING_STYLE",0,{listStyle:"none",margin:0},"NATIVE_LIST_STYLE",0,{listStyle:"none",margin:0,padding:0}]);},64344,e=>{"use strict";var t=e.i(43476),n=e.i(71645),i=e.i(98729);let r="[A-Za-z0-9_.-]{1,255}",s=String.raw`(?:${r}\/){0,1000}${r}\.[A-Za-z0-9][A-Za-z0-9]{0,15}`,o=RegExp(String.raw`@?(${s})(?::(\d{1,7})(?:-(\d{1,7}))?)?`,"gu"),a=String.raw`@?${s}(?::\d{1,7}(?:-\d{1,7})?)?`,l=RegExp(String.raw`\[\s*(${a})\s*\]`,"giu"),c=String.raw`\[source:[^\]]+\]`,d=RegExp(String.raw`\[\s*(${a})\s*\]\s*(?:${c}\s*)?(${a})`,"giu"),u=RegExp(String.raw`(${a})\s+(?:${c}\s*)?(${a})`,"giu"),p=RegExp(c,"giu"),h=new Set(["astro","bash","c","cc","cjs","config","cpp","cs","css","csv","cts","go","gradle","h","hpp","htm","html","ini","java","js","json","jsonc","jsx","kt","kts","less","lock","lua","md","mdx","mjs","mts","php","py","rb","rs","sass","scala","scss","sh","sql","svelte","swift","toml","ts","tsx","txt","vue","xml","yaml","yml","zsh"]);function f(e){let t=e.length;for(;t>0&&"/"===e[t-1];)t-=1;return e.slice(0,t);}function m(e){return f(function(e){let t=0;for(;t<e.length&&"/"===e[t];)t+=1;return e.slice(t);}(e.replaceAll("\\","/")));}function g(e){var _e$lineStart$toString,_e$lineStart,_e$lineEnd$toString,_e$lineEnd;return null===e?null:[e.path.toLowerCase(),(_e$lineStart$toString=(_e$lineStart=e.lineStart)===null||_e$lineStart===void 0?void 0:_e$lineStart.toString())!==null&&_e$lineStart$toString!==void 0?_e$lineStart$toString:"",(_e$lineEnd$toString=(_e$lineEnd=e.lineEnd)===null||_e$lineEnd===void 0?void 0:_e$lineEnd.toString())!==null&&_e$lineEnd$toString!==void 0?_e$lineEnd$toString:""].join(":");}function y(e,t,n){let i=g(w(e)),r=g(w(t));return null!==i&&i===r?e:n;}function v(e){if(void 0===e)return;let t=Number.parseInt(e,10);return Number.isSafeInteger(t)&&t>0?t:void 0;}function b(e,t){var _e$,_e$2;let n=(_e$=e[0])!==null&&_e$!==void 0?_e$:"",i=e.index;if(!function(e,t,_e){if(t<=0)return!0;let n=(_e=e[t-1])!==null&&_e!==void 0?_e:"";return!/[A-Za-z0-9_./:@-]/u.test(n);}(t,i)||!function(e,t,_e$t){if(t>=e.length)return!0;let n=(_e$t=e[t])!==null&&_e$t!==void 0?_e$t:"";return!/[A-Za-z0-9_/:+-]/u.test(n);}(t,i+n.length))return null;let r=m((_e$2=e[1])!==null&&_e$2!==void 0?_e$2:"");if(!function(e,_n$at,_i$split$pop$toLowerC,_i$split$pop){let t=m(e);if(0===t.length||t!==e||t.startsWith(".")||t.includes("..")||!t.includes("."))return!1;let n=t.split("/");if(n.some(e=>0===e.length||"."===e||".."===e))return!1;let i=(_n$at=n.at(-1))!==null&&_n$at!==void 0?_n$at:"",r=(_i$split$pop$toLowerC=(_i$split$pop=i.split(".").pop())===null||_i$split$pop===void 0?void 0:_i$split$pop.toLowerCase())!==null&&_i$split$pop$toLowerC!==void 0?_i$split$pop$toLowerC:"";return h.has(r);}(r))return null;let s=v(e[2]),o=v(e[3]),a=void 0===s?void 0:Math.max(s,o!==null&&o!==void 0?o:s);return{label:n,path:r,...(void 0===s?{}:{lineStart:s}),...(void 0===a?{}:{lineEnd:a})};}function w(e){var _t$0$length,_t$3;o.lastIndex=0;let t=o.exec(e);return(t===null||t===void 0?void 0:t.index)!==0||((_t$0$length=(_t$3=t[0])===null||_t$3===void 0?void 0:_t$3.length)!==null&&_t$0$length!==void 0?_t$0$length:0)!==e.length?null:b(t,e);}function k(e){var _f$split$filter$at;return(_f$split$filter$at=f(e.replaceAll("\\","/")).split("/").filter(e=>e.length>0).at(-1))!==null&&_f$split$filter$at!==void 0?_f$split$filter$at:e;}function S(e){var _e$path$split$filter$;let t=(_e$path$split$filter$=e.path.split("/").filter(Boolean).pop())!==null&&_e$path$split$filter$!==void 0?_e$path$split$filter$:e.path;return void 0===e.lineStart?t:void 0===e.lineEnd||e.lineEnd===e.lineStart?`${t}:${String(e.lineStart)}`:`${t}:${String(e.lineStart)}-${String(e.lineEnd)}`;}function A(e){return f(e.replaceAll("\\","/")).split("/").filter(e=>e.length>0).slice(-2).join("/");}e.s(["RepositoryReferenceInline",0,function({reference:e,roots:r,openReference:s,className:o="repo-ref-link"}){var a;let l,c,[d,u]=(0,n.useState)("idle"),[p,h]=(0,n.useState)(""),f=(a=(0,n.useCallback)(()=>{u("idle"),h("");},[]),l=(0,n.useRef)(void 0),c=(0,n.useCallback)(()=>{void 0!==l.current&&(window.clearTimeout(l.current),l.current=void 0);},[]),(0,n.useEffect)(()=>c,[c]),(0,n.useCallback)(e=>{c(),l.current=window.setTimeout(()=>{l.current=void 0,a();},e);},[a,c])),g=(0,n.useMemo)(()=>{let e=new Set(),t=[];for(let n of r){let i=n.root.trim();if(0===i.length||e.has(i))continue;e.add(i);let r=n.label.trim();t.push({root:i,label:r.length>0?r:k(i)});}return t;},[r]),y=(0,n.useMemo)(()=>g.filter(t=>{var _m$split$;var n;let i,r;return n=e.path,null===(r=void 0===(i=(_m$split$=m(n).split("/")[0])===null||_m$split$===void 0?void 0:_m$split$.toLocaleLowerCase())||0===i.length?null:g.some(e=>k(e.root).toLocaleLowerCase()===i)?i:null)||k(t.root).toLocaleLowerCase()===r;}).map(t=>{var n,i;let r,s;return{...t,openPath:(n=e.path,i=t.root,r=m(n),(s=m(k(i))).length>0&&r.startsWith(`${s}/`)?r.slice(s.length+1):r)};}).sort((e,t)=>e.openPath.length-t.openPath.length||e.root.localeCompare(t.root)),[e,g]),v=(0,n.useMemo)(()=>{let e=y[0];return void 0===e?[]:y.filter(t=>t.openPath.length===e.openPath.length);},[y]),b=(0,n.useCallback)(t=>{if(void 0===s)return;let n=t.openPath;u("opening"),h(`Opening ${n}…`);let i=s({root:t.root,path:n,...(void 0===e.lineStart?{}:{lineStart:e.lineStart}),...(void 0===e.lineEnd?{}:{lineEnd:e.lineEnd})});if(i.ok){u("opened"),h(`Opened ${n} in editor.`),f(1800);return;}u("failed"),h(i.message);},[s,e,f]),w=(0,n.useCallback)(()=>{if(void 0===s||0===g.length){u("failed"),h("Connect a Files window to open repository references.");return;}if(0===y.length){u("failed"),h("This repository reference does not match any connected source.");return;}if(1===v.length){let e=v[0];void 0!==e&&b(e);return;}u(e=>"choosing"===e?"idle":"choosing"),h("Select a repository source.");},[v,b,s,y.length,g.length]),x=(0,n.useCallback)(e=>{if("Escape"===e.key){u("idle"),h("");return;}("Enter"===e.key||" "===e.key)&&(e.preventDefault(),w());},[w]);if(void 0===s)return(0,t.jsx)("span",{title:e.label,children:S(e)});let E="failed"===d;return(0,t.jsxs)("span",{className:"repo-ref",children:[(0,t.jsxs)("button",{type:"button",className:o,"aria-label":`Open ${e.path}${void 0===e.lineStart?"":void 0===e.lineEnd||e.lineEnd===e.lineStart?` at line ${String(e.lineStart)}`:` at lines ${String(e.lineStart)}-${String(e.lineEnd)}`} in editor`,"aria-expanded":v.length>1?"choosing"===d:void 0,"data-state":d,title:e.label,onClick:w,onKeyDown:x,children:[(0,t.jsx)("span",{className:"repo-ref-file-icon","aria-hidden":"true",children:(0,t.jsx)(i.FileIcon,{name:e.path})}),(0,t.jsx)("span",{children:S(e)})]}),"choosing"===d?(0,t.jsx)("span",{className:"repo-ref-picker",role:"dialog","aria-label":"Select repository source",children:v.map(e=>(0,t.jsxs)("button",{type:"button",className:"repo-ref-root",onClick:()=>b(e),children:[(0,t.jsx)("span",{children:e.label}),A(e.root)===e.label?null:(0,t.jsx)("span",{className:"repo-ref-root-path",children:A(e.root)})]},e.root))}):null,p.length>0?(0,t.jsx)("span",{role:E?"alert":"status",className:"repo-ref-status",children:p}):null]});},"parseExactRepositoryReference",0,w,"repositoryReferenceRoots",0,function(e){let t=new Set(),n=[];for(let i of e){let e=i.trim();0===e.length||t.has(e)||(t.add(e),n.push({root:e,label:k(e)}));}return n;},"repositoryReferenceTextParts",0,function(e){let t=[],n=0;for(o.lastIndex=0;;){var _i$0$length,_i$;let i=o.exec(e);if(null===i)break;let r=b(i,e);null!==r&&(i.index>n&&t.push({kind:"text",text:e.slice(n,i.index)}),t.push({kind:"reference",reference:r}),n=i.index+((_i$0$length=(_i$=i[0])===null||_i$===void 0?void 0:_i$.length)!==null&&_i$0$length!==void 0?_i$0$length:0));}return 0===n?[{kind:"text",text:e}]:(n<e.length&&t.push({kind:"text",text:e.slice(n)}),t);},"sanitizeRepositoryEvidenceText",0,function(e){return e.replace(d,(e,t,n)=>y(t,n,e.replace(p,""))).replace(u,(e,t,n)=>y(t,n,e.replace(p,""))).replace(l,(e,t)=>null===w(t)?e:t).replace(p,"").replace(/[ \t]{2,}/gu," ").replace(/[ \t]([,.;:!?])/gu,"$1");}]);},81984,e=>{"use strict";var t=e.i(71645),n=e.i(50850);let i={en:{"chat.codeApply.action":"Apply to editor","chat.codeApply.preparing":"Preparing","chat.codeApply.queued":"Queued for review","chat.codeApply.conflict":"Conflict: {code}","chat.codeApply.unavailable":"Editor unavailable","chat.codeApply.outcomeUnknown":"Outcome unknown","chat.codeApply.outcomeUnknownStatus":"Outcome unknown. Check the editor.","chat.creation.openFailed":"Could not open chat.","chat.creation.titleSaveFailed":"The chat opened, but its title could not be saved.","chat.restoration.opening":"Opening chat...","chat.restoration.notFoundTitle":"Chat not found","chat.restoration.notFoundBody":"This conversation was deleted or is no longer available.","chat.restoration.chooseLabel":"Conversations this window may have shown","chat.restoration.chooseBody":"This window's saved conversation cannot be identified. If it is one of these, open it here:","chat.restoration.chooseOpen":"Open {title}, last active {updated}","chat.restoration.chooseOpenReference":"{label}, reference {reference}","chat.restoration.choiceNotice":"You chose this conversation for this window. Keep it, or choose another if it is not the one this window showed.","chat.restoration.choicePendingNotice":"You chose this conversation for this window. Check it once it opens, or choose another.","chat.restoration.choiceMissingNotice":"The conversation you chose for this window is no longer available.","chat.restoration.choiceKeep":"Keep","chat.restoration.choiceAnother":"Choose another","editor.askSelection.selectText":"Select text in the active editor before asking Keiko.","editor.askSelection.chatUnavailable":"Chat is unavailable for this workspace.","editor.askSelection.openFailed":"Could not open chat for this selection.","editor.agentReview.ready":"Editor changes are ready for review.","editor.agentReview.applying":"Confirming the editor review.","editor.agentReview.rejected":"The editor changes were rejected.","editor.agentReview.timedOut":"The editor review expired. Request the change again.","editor.agentReview.conflict":"The editor review conflicts with the current target.","editor.agentReview.failed":"The editor review was not completed.","editor.agentReview.unexpectedSuccess":"The editor review ended without a matching local decision.","editor.agentReview.stale":"The editor changed during review. No local changes were applied.","editor.agentReview.reconcileFailed":"The committed changes could not be refreshed in the editor.","editor.agentReview.unconfirmed":"The review decision was not accepted. No local changes were applied.","editor.agentReview.awaitingResult":"The review result is unknown. Waiting for authoritative editor status.","editor.rename.incomplete":"Incomplete rename: only {files} of {totalFiles} file(s) and {edits} of {totalEdits} reference(s) were returned. Applying it would rename part of the symbol and leave the rest pointing at the old name, so Apply is disabled. Rename the symbol in a narrower scope and try again.","editor.rename.incompleteUnreadable":"{count} file(s) could not be read and carry no changes.","editor.rename.incompleteRefused":"This rename is incomplete and was not applied.","conflict.title.dirty":"Unsaved changes conflict","conflict.title.versionMismatch":"File version mismatch","conflict.title.contentHashMismatch":"File content mismatch","conflict.title.invalidEdits":"Invalid agent edits","conflict.title.outOfScope":"Action out of scope","conflict.title.noActiveSession":"No active editor session","conflict.title.noActiveBridge":"No live editor bridge","conflict.title.preconditionRequired":"Missing write precondition","conflict.title.policyDenied":"Action denied by policy","conflict.title.approvalRequired":"Action approval required","conflict.reload":"Reload","presence.detached":"Agent not attached - no recent activity","presence.idle":"Agent attached - idle","presence.active.one":"Agent attached - 1 action in progress","presence.active.many":"Agent attached - {count} actions in progress","presence.review.active":"Agent attached - review required","presence.review.idle":"Agent review required - no recent activity","actions.panelLabel":"Recent agent editor actions","actions.title":"Recent agent actions","actions.filterGroup":"Filter recent agent actions","actions.filter.actionType":"Action type","actions.filter.disposition":"Disposition","actions.filter.timeRange":"Time range","actions.action.all":"All action types","actions.action.openFile":"Open file","actions.action.focusTab":"Focus tab","actions.action.moveTab":"Move tab","actions.action.splitPane":"Split pane","actions.action.setSelection":"Set selection","actions.action.format":"Format","actions.action.save":"Save","actions.action.applyTextEdits":"Apply text edits","actions.action.applyPatch":"Apply patch","actions.action.applyChangeset":"Apply changeset","actions.action.requestVerification":"Request verification","actions.disposition.all":"All dispositions","actions.disposition.allowed":"Allowed","actions.disposition.reviewRequired":"Review required","actions.disposition.denied":"Denied","actions.timeRange.all":"All time","actions.timeRange.pastHour":"Past hour","actions.timeRange.pastDay":"Past 24 hours","actions.timeRange.pastWeek":"Past 7 days","actions.loadError":"Unable to load recent agent actions.","actions.empty":"No recent agent editor actions.","actions.noMatch":"No agent editor actions match the current filters.","actions.rowTarget":" on {path}","actions.rowReason":" ({reason})","actions.rowSummary":"{action}{target}: {disposition}, {outcome}{reason}"},de:{"chat.codeApply.action":"Im Editor anwenden","chat.codeApply.preparing":"Wird vorbereitet","chat.codeApply.queued":"Zur Prüfung vorgemerkt","chat.codeApply.conflict":"Konflikt: {code}","chat.codeApply.unavailable":"Editor nicht verfügbar","chat.codeApply.outcomeUnknown":"Ergebnis unbekannt","chat.codeApply.outcomeUnknownStatus":"Ergebnis unbekannt. Prüfe den Editor.","chat.creation.openFailed":"Der Chat konnte nicht geöffnet werden.","chat.creation.titleSaveFailed":"Der Chat wurde geöffnet, aber sein Titel konnte nicht gespeichert werden.","chat.restoration.opening":"Der Chat wird geöffnet…","chat.restoration.notFoundTitle":"Chat nicht gefunden","chat.restoration.notFoundBody":"Diese Unterhaltung wurde gelöscht oder ist nicht mehr verfügbar.","chat.restoration.chooseLabel":"Unterhaltungen, die dieses Fenster gezeigt haben könnte","chat.restoration.chooseBody":"Die gespeicherte Unterhaltung dieses Fensters lässt sich nicht bestimmen. Falls es eine dieser ist, öffne sie hier:","chat.restoration.chooseOpen":"{title} öffnen, zuletzt aktiv am {updated}","chat.restoration.chooseOpenReference":"{label}, Referenz {reference}","chat.restoration.choiceNotice":"Du hast diese Unterhaltung für dieses Fenster gewählt. Behalte sie, oder wähle eine andere, falls es nicht die ist, die dieses Fenster gezeigt hat.","chat.restoration.choicePendingNotice":"Du hast diese Unterhaltung für dieses Fenster gewählt. Prüfe sie, sobald sie geöffnet ist, oder wähle eine andere.","chat.restoration.choiceMissingNotice":"Die Unterhaltung, die du für dieses Fenster gewählt hast, ist nicht mehr verfügbar.","chat.restoration.choiceKeep":"Behalten","chat.restoration.choiceAnother":"Andere wählen","editor.askSelection.selectText":"Wähle Text im aktiven Editor aus, bevor du Keiko fragst.","editor.askSelection.chatUnavailable":"Der Chat ist für diesen Arbeitsbereich nicht verfügbar.","editor.askSelection.openFailed":"Der Chat für diese Auswahl konnte nicht geöffnet werden.","editor.agentReview.ready":"Editor-Änderungen können geprüft werden.","editor.agentReview.applying":"Die Editor-Prüfung wird bestätigt.","editor.agentReview.rejected":"Die Editor-Änderungen wurden abgelehnt.","editor.agentReview.timedOut":"Die Editor-Prüfung ist abgelaufen. Fordere die Änderung erneut an.","editor.agentReview.conflict":"Die Editor-Prüfung steht im Konflikt mit dem aktuellen Ziel.","editor.agentReview.failed":"Die Editor-Prüfung wurde nicht abgeschlossen.","editor.agentReview.unexpectedSuccess":"Die Editor-Prüfung endete ohne passende lokale Entscheidung.","editor.agentReview.stale":"Der Editor wurde während der Prüfung geändert. Es wurden keine lokalen Änderungen angewendet.","editor.agentReview.reconcileFailed":"Die übernommenen Änderungen konnten im Editor nicht aktualisiert werden.","editor.agentReview.unconfirmed":"Die Prüfentscheidung wurde nicht akzeptiert. Es wurden keine lokalen Änderungen angewendet.","editor.agentReview.awaitingResult":"Das Prüfungsergebnis ist unbekannt. Der Editor wartet auf einen verbindlichen Status.","editor.rename.incomplete":"Unvollständige Umbenennung: Es wurden nur {files} von {totalFiles} Datei(en) und {edits} von {totalEdits} Verweis(en) zurückgegeben. Beim Anwenden würde nur ein Teil des Symbols umbenannt, der Rest würde weiter auf den alten Namen verweisen. Anwenden ist deshalb deaktiviert. Benenne das Symbol in einem kleineren Bereich um.","editor.rename.incompleteUnreadable":"{count} Datei(en) konnten nicht gelesen werden und enthalten keine Änderungen.","editor.rename.incompleteRefused":"Diese Umbenennung ist unvollständig und wurde nicht angewendet.","conflict.title.dirty":"Konflikt mit ungespeicherten Änderungen","conflict.title.versionMismatch":"Abweichende Dateiversion","conflict.title.contentHashMismatch":"Abweichender Dateiinhalt","conflict.title.invalidEdits":"Ungültige Agentenänderungen","conflict.title.outOfScope":"Aktion außerhalb des zulässigen Bereichs","conflict.title.noActiveSession":"Keine aktive Editorsitzung","conflict.title.noActiveBridge":"Keine aktive Editorverbindung","conflict.title.preconditionRequired":"Schreibvorbedingung fehlt","conflict.title.policyDenied":"Aktion durch Richtlinie abgelehnt","conflict.title.approvalRequired":"Aktion muss genehmigt werden","conflict.reload":"Neu laden","presence.detached":"Agent nicht verbunden - keine aktuelle Aktivität","presence.idle":"Agent verbunden - inaktiv","presence.active.one":"Agent verbunden - 1 Aktion in Bearbeitung","presence.active.many":"Agent verbunden - {count} Aktionen in Bearbeitung","presence.review.active":"Agent verbunden - Prüfung erforderlich","presence.review.idle":"Prüfung erforderlich - keine aktuelle Aktivität","actions.panelLabel":"Letzte Agentenaktionen im Editor","actions.title":"Letzte Agentenaktionen","actions.filterGroup":"Letzte Agentenaktionen filtern","actions.filter.actionType":"Aktionstyp","actions.filter.disposition":"Einstufung","actions.filter.timeRange":"Zeitraum","actions.action.all":"Alle Aktionstypen","actions.action.openFile":"Datei öffnen","actions.action.focusTab":"Tab fokussieren","actions.action.moveTab":"Tab verschieben","actions.action.splitPane":"Bereich teilen","actions.action.setSelection":"Auswahl setzen","actions.action.format":"Formatieren","actions.action.save":"Speichern","actions.action.applyTextEdits":"Textänderungen anwenden","actions.action.applyPatch":"Patch anwenden","actions.action.applyChangeset":"Änderungssatz anwenden","actions.action.requestVerification":"Verifizierung anfordern","actions.disposition.all":"Alle Einstufungen","actions.disposition.allowed":"Zugelassen","actions.disposition.reviewRequired":"Prüfung erforderlich","actions.disposition.denied":"Abgelehnt","actions.timeRange.all":"Gesamter Zeitraum","actions.timeRange.pastHour":"Letzte Stunde","actions.timeRange.pastDay":"Letzte 24 Stunden","actions.timeRange.pastWeek":"Letzte 7 Tage","actions.loadError":"Letzte Agentenaktionen konnten nicht geladen werden.","actions.empty":"Keine letzten Agentenaktionen im Editor.","actions.noMatch":"Keine Agentenaktion entspricht den aktuellen Filtern.","actions.rowTarget":" in {path}","actions.rowReason":" ({reason})","actions.rowSummary":"{action}{target}: {disposition}, {outcome}{reason}"}};e.s(["useEditorAgentTranslate",0,function(){let e=(0,n.useLocale)();return(0,t.useCallback)((t,n)=>function(e,t={}){return e.replace(/\{(\w+)\}/gu,(e,n)=>{let i=t[n];return void 0===i?e:String(i);});}(i[e][t],n),[e]);}]);},6675,e=>{"use strict";var t=e.i(71645),n=e.i(18829),i=e.i(95508),r=e.i(58773),s=e.i(13464);function o(e){return async(...t)=>(await(0,r.codingAppSessionPairingSettled)(),e(...t));}let a={listRepositories:o(i.fetchProjects),registerRepository:i.createProject,reconnectRepository:i.reconnectProject,cloneRepository:i.cloneRepository,listBranches:o(i.fetchGitBranches),getSummary:o(i.fetchGitSummary),getHistory:o(i.fetchGitHistory),getRemotes:o(i.fetchGitRemotes),getStatus:o(i.fetchGitStatus),getDiff:o(i.fetchGitDiff),getStructuredDiff:o(i.fetchGitStructuredDiff),branchCreate:i.fetchGitDeliveryLocalBranchCreate,branchSwitch:i.fetchGitDeliveryLocalBranchSwitch,stage:i.fetchGitDeliveryStage,unstage:i.fetchGitDeliveryUnstage,commitPreview:i.fetchGitDeliveryCommitPreview,commitDraft:i.fetchGitDeliveryCommitDraft,commitExecute:i.fetchGitDeliveryCommitExecute,commitPropose:i.proposeCommit,syncPreview:i.fetchGitDeliverySyncPreview,syncExecute:i.proposeGitDeliverySync,pushPreview:i.fetchGitDeliveryPushPreview,pushExecute:i.fetchGitDeliveryPushExecute,pushPropose:i.proposePush,prPreview:i.fetchGitDeliveryPrPreview,prApprove:i.fetchGitDeliveryPrApprove,prExecute:i.fetchGitDeliveryPrExecute,prDescriptionPreview:i.fetchGitDeliveryPrDescriptionPreview,prDescriptionApprove:i.fetchGitDeliveryPrDescriptionApprove,prDescriptionApply:i.fetchGitDeliveryPrDescriptionApply,prDescriptionStatus:i.fetchGitDeliveryPrDescriptionStatus,mergePreview:i.fetchGitDeliveryMergePreview,mergeApprove:i.fetchGitDeliveryMergeApprove,mergeExecute:i.fetchGitDeliveryMergeExecute},l={"empty-subject":"The subject line is empty","missing-conventional-prefix":"Missing a conventional-commit type prefix","disallowed-type":"The commit type is not allowed","subject-too-long":"The subject line is too long","missing-issue-key":"Missing the required issue key","missing-signoff":"Missing the Signed-off-by trailer"};function c(e){return e instanceof n.ApiError?`${e.message} (${e.code})`:e instanceof Error?e.message:"An unexpected error occurred.";}e.s(["DEFAULT_GIT_CLIENT",0,a,"STATUS_LABEL",0,{succeeded:"Succeeded",blocked:"Blocked","approval-required":"Approval required",failed:"Failed","recovery-required":"Recovery required"},"formatGitError",0,c,"useGitActions",0,function(e,n,i){let r=function(e,n){let[i,r]=(0,t.useState)({busy:!1,outcome:null,error:null}),o=(0,t.useRef)(0);return{flow:i,runMutation:(0,t.useCallback)(t=>{let i=o.current+1;o.current=i,r({busy:!0,outcome:null,error:null}),t().then(t=>{("succeeded"===t.status||"failed"===t.status||"recovery-required"===t.status)&&(0,s.notifyGitRepositoryStateInvalidated)(e,n),o.current===i&&r({busy:!1,outcome:t,error:null});},e=>{o.current===i&&r({busy:!1,outcome:null,error:c(e)});});},[e,n]),resetFlow:(0,t.useCallback)(()=>{o.current+=1,r({busy:!1,outcome:null,error:null});},[])};}(n,i),o=function(e,n){let[i,r]=(0,t.useState)(null),[s,o]=(0,t.useState)(null),[a,l]=(0,t.useState)(null),[d,u]=(0,t.useState)(null),p=(0,t.useRef)(0);return{preview:i,previewDraft:s,previewRequestRevision:a,previewError:d,runPreview:(0,t.useCallback)((t,i)=>{let s=p.current+1;p.current=s,r(null),o(null),l(null),u(null),e.commitPreview({projectId:n,messageDraft:t}).then(e=>{p.current===s&&(r(e),o(t),l(i!==null&&i!==void 0?i:null));},e=>{p.current===s&&(r(null),o(null),l(null),u(c(e)));});},[e,n]),resetPreview:(0,t.useCallback)(()=>{p.current+=1,r(null),o(null),l(null),u(null);},[])};}(e,n),{resetFlow:a}=r,{resetPreview:l}=o,d=(0,t.useCallback)(()=>{a(),l();},[a,l]);return{flow:r.flow,preview:o.preview,previewDraft:o.previewDraft,previewRequestRevision:o.previewRequestRevision,previewError:o.previewError,runMutation:r.runMutation,runPreview:o.runPreview,reset:d};},"violationLabel",0,function(e){return l[e];}]);},13464,e=>{"use strict";let t="keiko:git-repository-state-invalidated";e.s(["GIT_REPOSITORY_STATE_INVALIDATED_EVENT",0,t,"gitRepositoryStateInvalidationRoots",0,function(e){let t=function(e){if(!(e instanceof CustomEvent)||"object"!=typeof e.detail||null===e.detail)return null;let t=e.detail.root;return"string"==typeof t&&t.length>0?t:null;}(e);if(null===t)return[];let n=e.detail.repositoryRoot;return"string"!=typeof n||0===n.length||n===t?[t]:[t,n];},"notifyGitRepositoryStateInvalidated",0,function(e,n){0!==e.length&&window.dispatchEvent(new CustomEvent(t,{detail:{root:e,...(void 0!==n&&n.length>0&&n!==e?{repositoryRoot:n}:{})}}));}]);},14664,e=>{"use strict";var t=e.i(97633);let n=t.GIT_EDITOR_DIFF_MAX_BYTES,i=t.GIT_EDITOR_DIFF_MAX_FILES,r="(unknown)";function s(e){return e.startsWith("a/")||e.startsWith("b/")?e.slice(2):e;}function o(e){return{path:e,layer:"worktree",status:"modified",binary:!1,hunks:[],addedLines:0,removedLines:0,truncated:!1};}function a(e){null!==e.current&&null!==e.currentHunk&&e.current.hunks.push(e.currentHunk),e.currentHunk=null;}function l(e){a(e),null!==e.current&&(e.files.length<i?e.files.push(e.current):e.truncated=!0),e.current=null;}e.s(["parseUnifiedDiff",0,function(e){let t,i=new TextEncoder().encode(e).byteLength;if(0===e.length)return{files:[],truncated:!1,totalBytes:0};let{input:c,truncated:d,byteTruncated:u}=function(e,t){if(t<=n)return{input:e,truncated:!1,byteTruncated:!1};let i=new TextEncoder().encode(e),r=new TextDecoder().decode(i.slice(0,n)),s=r.lastIndexOf("\n");return{input:-1===s?r:r.slice(0,s+1),truncated:!0,byteTruncated:!0};}(e,i),p=""===(t=c.split("\n")).at(-1)?t.slice(0,-1):t,h={files:[],current:null,currentHunk:null,oldLine:0,newLine:0,truncated:d},f=0;for(;f<p.length;){var _p$f;!function(e,t){!(function(e,t){if(!e.startsWith("diff --git "))return!1;l(t);let n=/^diff --git a\/(.+?) b\/(.+)$/.exec(e);if((n===null||n===void 0?void 0:n[1])!==void 0&&(n===null||n===void 0?void 0:n[2])!==void 0){let e=n[1],i=n[2],r=s(`b/${i}`),a=s(`a/${e}`),l=o(r);a!==r&&(l.oldPath=a,l.status="renamed"),t.current=l;}return!0;}(e,t)||function(e,t){var n,i,r,s,o;let l=t.currentHunk;if(null===l)return!1;if(l.oldRemaining<=0&&l.newRemaining<=0&&(e.startsWith("--- ")||e.startsWith("+++ ")||e.startsWith("diff --git ")))return a(t),!1;let c=(n=e,i=t,n.startsWith("+")?{kind:"add",oldLine:null,newLine:i.newLine,text:n.slice(1)}:n.startsWith("-")?{kind:"del",oldLine:i.oldLine,newLine:null,text:n.slice(1)}:n.startsWith(String.raw`\ `)?{kind:"meta",oldLine:null,newLine:null,text:n}:n.startsWith(" ")||""===n?{kind:"ctx",oldLine:i.oldLine,newLine:i.newLine,text:n.startsWith(" ")?n.slice(1):n}:null);return null!==c&&(r=t,s=l,o=c,s.lines.push(o),("add"===o.kind||"ctx"===o.kind)&&(s.newRemaining--,r.newLine++),("del"===o.kind||"ctx"===o.kind)&&(s.oldRemaining--,r.oldLine++),null!==r.current&&("add"===o.kind&&r.current.addedLines++,"del"===o.kind&&r.current.removedLines++),!0);}(e,t)||function(e,t){if(!e.startsWith("--- "))return!1;let n=e.slice(4),i="/dev/null"===n;if(null===t.current||t.current.hunks.length>0){l(t);let e=o(i?r:s(n));return i&&(e.status="added"),t.current=e,!0;}if(i)return t.current.status="added",!0;let a=s(n);return a!==t.current.path&&(t.current.oldPath=a,t.current.status="renamed"),!0;}(e,t)||function(e,t){if(!e.startsWith("+++ "))return!1;let n=e.slice(4);return"/dev/null"!==n&&null!==t.current?t.current.path=s(n):"/dev/null"!==n?(l(t),t.current=o(s(n))):null!==t.current&&(t.current.status="deleted"),!0;}(e,t))&&!function(e,t,_t$current,_n,_n2,_n$,_i$oldStart,_i$newStart,_i$oldCount,_i$newCount){let n;if(!e.startsWith("@@ "))return!1;(_t$current=t.current)!==null&&_t$current!==void 0?_t$current:t.current=o(r),a(t);let i=(n=/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/.exec(e),((_n=n)===null||_n===void 0?void 0:_n[1])===void 0||((_n2=n)===null||_n2===void 0?void 0:_n2[3])===void 0?null:{oldStart:Number.parseInt(n[1],10),oldCount:void 0===n[2]?1:Number.parseInt(n[2],10),newStart:Number.parseInt((_n$=n[3])!==null&&_n$!==void 0?_n$:"1",10),newCount:void 0===n[4]?1:Number.parseInt(n[4],10)}),s=(_i$oldStart=i===null||i===void 0?void 0:i.oldStart)!==null&&_i$oldStart!==void 0?_i$oldStart:1,l=(_i$newStart=i===null||i===void 0?void 0:i.newStart)!==null&&_i$newStart!==void 0?_i$newStart:1,c=(_i$oldCount=i===null||i===void 0?void 0:i.oldCount)!==null&&_i$oldCount!==void 0?_i$oldCount:1,d=(_i$newCount=i===null||i===void 0?void 0:i.newCount)!==null&&_i$newCount!==void 0?_i$newCount:1;return t.oldLine=s,t.newLine=l,t.currentHunk={header:e,oldStart:s,oldCount:c,newStart:l,newCount:d,oldRemaining:c,newRemaining:d,lines:[],truncated:!1},!0;}(e,t)&&null!==t.current&&(/^Binary files .+ differ$/u.test(e)||"GIT binary patch"===e)&&(t.current.binary=!0);}((_p$f=p[f])!==null&&_p$f!==void 0?_p$f:"",h),f++;}return l(h),u&&function(e){let t=e.at(-1);if(void 0!==t){t.truncated=!0;let e=t.hunks.at(-1);void 0!==e&&(e.truncated=!0);}}(h.files),{files:h.files,truncated:h.truncated,totalBytes:i};}]);},11257,e=>{"use strict";var _s$default$cmpSelect;var t=e.i(43476),n=e.i(24541),i=e.i(60865),r=e.i(26222),s=e.i(98391);let o=(_s$default$cmpSelect=s.default["cmp-selectable-text-chrome"])!==null&&_s$default$cmpSelect!==void 0?_s$default$cmpSelect:"";function a({tokens:e}){let n=new Map();return(0,t.jsx)(t.Fragment,{children:e.map(e=>{var _n$get;let i=`${e[0]}:${e[1]}`,r=(_n$get=n.get(i))!==null&&_n$get!==void 0?_n$get:0;return n.set(i,r+1),(0,t.jsx)("span",{className:`hl-${e[0]}`,children:e[1]},`${i}:${String(r)}`);})});}function l({line:e,lang:n,kindLabel:i,labels:s}){var _s$addedLine,_s$deletedLine,_s$contextLine,_s$metadataLine,_e$oldLine,_e$newLine;var c,d;let u,p="add"===(c=e.kind)?"+":"del"===c?"−":"ctx"===c?"·":"",h="ctx"===e.kind?"":` rv-${e.kind}`;if("meta"!==e.kind&&"code"!==n){var _2;let i=(_2=(0,r.highlightLines)(e.text,(0,r.langOf)(n))[0])!==null&&_2!==void 0?_2:[];u=(0,t.jsx)(a,{tokens:i});}else u=e.text;return(0,t.jsxs)("div",{className:`rv-line${h}`,children:[(0,t.jsx)("span",{className:`rv-sr-only ${o}`,children:i!==null&&i!==void 0?i:(d=e.kind,"add"===d?(_s$addedLine=s===null||s===void 0?void 0:s.addedLine)!==null&&_s$addedLine!==void 0?_s$addedLine:"Added line":"del"===d?(_s$deletedLine=s===null||s===void 0?void 0:s.deletedLine)!==null&&_s$deletedLine!==void 0?_s$deletedLine:"Deleted line":"ctx"===d?(_s$contextLine=s===null||s===void 0?void 0:s.contextLine)!==null&&_s$contextLine!==void 0?_s$contextLine:"Context line":(_s$metadataLine=s===null||s===void 0?void 0:s.metadataLine)!==null&&_s$metadataLine!==void 0?_s$metadataLine:"Diff metadata")}),(0,t.jsx)("span",{className:`rv-num-old rv-num ${o}`,children:(_e$oldLine=e.oldLine)!==null&&_e$oldLine!==void 0?_e$oldLine:""}),(0,t.jsx)("span",{className:`rv-num-new rv-num ${o}`,children:(_e$newLine=e.newLine)!==null&&_e$newLine!==void 0?_e$newLine:""}),(0,t.jsx)("span",{className:`rv-gutter ${o}`,"aria-hidden":"true",children:p}),(0,t.jsx)("code",{className:"rv-src",children:u})]});}function c({hunk:e,lang:n,labels:r,viewLabels:s}){var _s$hunkHeader,_ref3,_r$header,_s$hunkTruncated;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"rv-hunk mono","aria-label":`${(_s$hunkHeader=s===null||s===void 0?void 0:s.hunkHeader)!==null&&_s$hunkHeader!==void 0?_s$hunkHeader:"Hunk header"} ${e.header}`,children:[(0,t.jsx)("span",{className:`rv-sr-only ${o}`,children:(_ref3=(_r$header=r===null||r===void 0?void 0:r.header)!==null&&_r$header!==void 0?_r$header:s===null||s===void 0?void 0:s.hunkHeader)!==null&&_ref3!==void 0?_ref3:"Hunk header"}),e.header]}),e.lines.map((e,i)=>{var _e$oldLine2,_e$newLine2;return(0,t.jsx)(l,{line:e,lang:n,kindLabel:r===null||r===void 0?void 0:r[e.kind],labels:s},`${String((_e$oldLine2=e.oldLine)!==null&&_e$oldLine2!==void 0?_e$oldLine2:"-")}:${String((_e$newLine2=e.newLine)!==null&&_e$newLine2!==void 0?_e$newLine2:"-")}:${e.kind}:${String(i)}`);}),e.truncated?(0,t.jsx)("output",{className:"rv-truncated",style:i.NATIVE_BLOCK_STYLE,children:(_s$hunkTruncated=s===null||s===void 0?void 0:s.hunkTruncated)!==null&&_s$hunkTruncated!==void 0?_s$hunkTruncated:"This hunk is incomplete because the bounded diff was truncated."}):null]});}e.s(["DiffFileSection",0,function({file:e,index:r,changedFiles:o=[],sectionRef:a,translate:l,labels:d,idPrefix:u="rv-file"}){var _l,_e$path$split$pop,_d$previousPath,_d$elevatedReview,_d$binaryFile,_d$fileTruncated;let p=(_l=l===null||l===void 0?void 0:l("chat.repository.role.file"))!==null&&_l!==void 0?_l:"file",h=o.find(t=>t.path===e.path),f=e.path.includes(".")?(_e$path$split$pop=e.path.split(".").pop())!==null&&_e$path$split$pop!==void 0?_e$path$split$pop:"code":"code";return(0,t.jsxs)("section",{id:`${u}-${r}`,"aria-labelledby":`${u}-${r}-h`,ref:a,children:[(0,t.jsxs)("h3",{id:`${u}-${r}-h`,className:"rv-file mono",children:[(0,t.jsx)("span",{className:"rv-path",children:e.path}),void 0!==e.oldPath&&(0,t.jsx)("span",{className:"rv-oldpath",children:(_d$previousPath=d===null||d===void 0?void 0:d.previousPath(e.oldPath))!==null&&_d$previousPath!==void 0?_d$previousPath:` (was ${e.oldPath})`}),(0,t.jsxs)("span",{className:"rv-sr-only",children:[e.status," ",p]}),(0,t.jsx)("span",{className:"spacer"}),(0,t.jsxs)("span",{className:"rv-stat add",children:["+",e.addedLines]}),(0,t.jsxs)("span",{className:"rv-stat del",children:["−",e.removedLines]}),(h===null||h===void 0?void 0:h.elevatedReview)===!0&&(0,t.jsx)("span",{className:"rv-elevated","aria-label":(_d$elevatedReview=d===null||d===void 0?void 0:d.elevatedReview)!==null&&_d$elevatedReview!==void 0?_d$elevatedReview:"Elevated review",children:"!"})]}),(0,t.jsxs)("div",{className:`rv-code mono ${s.default["cmp-selectable-text"]}`,"data-text-selectable":"true",tabIndex:0,onFocusCapture:()=>(0,n.reportClientDiagnostic)("[keiko] shared diff viewport focused"),children:[e.binary?(0,t.jsx)("p",{className:"rv-empty-p",children:(_d$binaryFile=d===null||d===void 0?void 0:d.binaryFile)!==null&&_d$binaryFile!==void 0?_d$binaryFile:"Binary file — no text diff to display."}):e.hunks.map(e=>(0,t.jsx)(c,{hunk:e,lang:f,viewLabels:d},e.header)),e.truncated&&!e.hunks.some(e=>e.truncated)?(0,t.jsx)("output",{className:"rv-truncated",style:i.NATIVE_BLOCK_STYLE,children:(_d$fileTruncated=d===null||d===void 0?void 0:d.fileTruncated)!==null&&_d$fileTruncated!==void 0?_d$fileTruncated:"This file diff is incomplete because the bounded diff was truncated."}):null]})]});},"DiffHunkView",0,c]);},98391,e=>{e.v({"cmp-selectable-text":"selectableText-module__DkDMvG__cmp-selectable-text","cmp-selectable-text-chrome":"selectableText-module__DkDMvG__cmp-selectable-text-chrome"});},26222,e=>{"use strict";let t={jsx:"js",js:"js",mjs:"js",ts:"ts",tsx:"ts",java:"java",kt:"kotlin",kts:"kotlin",py:"py",rb:"py",go:"go",rs:"rust",json:"json",yml:"yaml",yaml:"yaml",md:"md",markdown:"md",html:"html",xml:"html",css:"css",sql:"sql",sh:"sh",bash:"sh",cob:"cobol",cbl:"cobol",gradle:"js",graphql:"graphql",gql:"graphql",properties:"props",toml:"props",env:"props",dockerfile:"docker"},n=new Set("const let var function return if else for while do switch case break continue import from export default class extends implements interface enum new async await yield of in typeof instanceof this super public private protected static final readonly void int long double float boolean char byte short val fun object data override companion package def pass lambda try catch except finally throw throws raise with as not and or is null nil None True False true false undefined struct impl trait pub use mod match where select insert update delete create table from join on group by order limit FROM RUN CMD ENV COPY WORKDIR EXPOSE ENTRYPOINT AS".split(" "));function i(e){let t=[];return e.split(/(`[^`]+`|\*\*[^*]+\*\*)/).forEach(e=>{""!==e&&(e.startsWith("`")?t.push(["str",e]):e.startsWith("**")?t.push(["type",e]):t.push(["id",e]));}),t.length>0?t:[["id",e]];}let r=[function(e){return null!==e.cs.line&&e.rest.startsWith(e.cs.line)?{token:["com",e.rest],length:e.rest.length,stop:!0}:null;},function(e){let{cs:t,rest:n,line:i,i:r,state:s}=e;if(null===t.block||!n.startsWith(t.block[0]))return null;let o=i.indexOf(t.block[1],r+t.block[0].length);if(-1===o)return s.inBlock=!0,{token:["com",n],length:n.length,stop:!0};let a=o+t.block[1].length;return{token:["com",i.slice(r,a)],length:a-r,stop:!1};},function(e){let t=/^(?:"(?:[^"\\]|\\.)*"?|'(?:[^'\\]|\\.)*'?)/.exec(e.rest);return null===t||t[0].length<=1?null:{token:["str",t[0]],length:t[0].length,stop:!1};},function(e){var _t$4;if(!/^\d/.test(e.rest))return null;let t=/^\d[\w.]*/.exec(e.rest),n=(_t$4=t===null||t===void 0?void 0:t[0])!==null&&_t$4!==void 0?_t$4:e.rest.charAt(0);return{token:["num",n],length:n.length,stop:!1};},function(e){var t,i;let r=/^[@A-Za-z_$][\w$]*/.exec(e.rest);if(null===r)return null;let s=r[0];return{token:[(t=e.line,i=e.i,n.has(s)||n.has(s.toLowerCase())?"key":s.startsWith("@")||/^[A-Z]/.test(s)?"type":"("===t.charAt(i+s.length)?"fn":"id"),s],length:s.length,stop:!1};},function(e){let t=/^\s+/.exec(e.rest);return null===t?null:{token:["ws",t[0]],length:t[0].length,stop:!1};},function(e){let t=/^[^\w\s$@"']+/.exec(e.rest);return null===t?null:{token:["punct",t[0]],length:t[0].length,stop:!1};}];e.s(["highlightLines",0,function(e,t){if("md"===t)return e.split("\n").map(e=>{var _t$5,_t$6,_t$7;if(/^#{1,6}\s/.test(e))return[["head",e]];if(/^\s*```/.test(e))return[["com",e]];let t=/^(\s*)([-*+]|\d+\.)(\s)/.exec(e);return null!==t?[["ws",(_t$5=t[1])!==null&&_t$5!==void 0?_t$5:""],["key",(_t$6=t[2])!==null&&_t$6!==void 0?_t$6:""],["ws",(_t$7=t[3])!==null&&_t$7!==void 0?_t$7:""],...i(e.slice(t[0].length))]:i(e);});if("json"===t)return e.split("\n").map(e=>{let t=[],n=0;for(;n<e.length;){let i=e.slice(n),r=/^"(?:[^"\\]|\\.)*"/.exec(i);if(null!==r){let i=e.slice(n+r[0].length),s=/^\s*:/.test(i);t.push([s?"key2":"str",r[0]]),n+=r[0].length;continue;}let s=/^-?\d[\d.eE+-]*/.exec(i);if(null!==s){t.push(["num",s[0]]),n+=s[0].length;continue;}let o=/^(true|false|null)\b/.exec(i);if(null!==o){t.push(["lit",o[0]]),n+=o[0].length;continue;}let a=/^\s+/.exec(i);if(null!==a){t.push(["ws",a[0]]),n+=a[0].length;continue;}t.push(["punct",i.charAt(0)]),n+=1;}return t;});let n="py"===t||"sh"===t||"yaml"===t||"props"===t||"docker"===t?{line:"#",block:null}:"sql"===t?{line:"--",block:["/*","*/"]}:"cobol"===t?{line:"*>",block:null}:"html"===t?{line:null,block:["<!--","-->"]}:{line:"//",block:["/*","*/"]},s={inBlock:!1},o=[];for(let t of e.split("\n"))o.push(function(e,t,n){let i=[],s=0,o=function(e,t,n){if(!t.inBlock||null===n.block)return null;let i=e.indexOf(n.block[1]);if(-1===i)return{token:["com",e],length:e.length};let r=i+n.block[1].length;return t.inBlock=!1,{token:["com",e.slice(0,r)],length:r};}(e,t,n);for(null!==o&&(i.push(o.token),s=o.length);s<e.length;){let o=function(e){for(let t of r){let n=t(e);if(null!==n)return n;}return{token:["id",e.rest.charAt(0)],length:1,stop:!1};}({line:e,i:s,rest:e.slice(s),cs:n,state:t});if(i.push(o.token),s+=o.length,o.stop)break;}return i;}(t,s,n));return o;},"langOf",0,function(e){var _t$r;let n=e.toLowerCase();if(".env"===n||n.startsWith(".env."))return"props";if("dockerfile"===n||n.startsWith("dockerfile"))return"docker";if(n.includes("docker-compose"))return"yaml";let i=n.split("."),r=i.length>1?i.at(-1):void 0;return void 0===r?"code":(_t$r=t[r])!==null&&_t$r!==void 0?_t$r:"code";}]);},15169,e=>{e.v({cmpEmpty:"CodingHistory-module__UeIBHq__cmpEmpty",cmpHeader:"CodingHistory-module__UeIBHq__cmpHeader",cmpInput:"CodingHistory-module__UeIBHq__cmpInput",cmpItem:"CodingHistory-module__UeIBHq__cmpItem",cmpList:"CodingHistory-module__UeIBHq__cmpList",cmpMessage:"CodingHistory-module__UeIBHq__cmpMessage",cmpOpen:"CodingHistory-module__UeIBHq__cmpOpen",cmpPanel:"CodingHistory-module__UeIBHq__cmpPanel",cmpPrimary:"CodingHistory-module__UeIBHq__cmpPrimary",cmpRename:"CodingHistory-module__UeIBHq__cmpRename",cmpSecondary:"CodingHistory-module__UeIBHq__cmpSecondary",cmpSessionAction:"CodingHistory-module__UeIBHq__cmpSessionAction",cmpSessionActions:"CodingHistory-module__UeIBHq__cmpSessionActions",cmpSessionBar:"CodingHistory-module__UeIBHq__cmpSessionBar",cmpSessionIdentity:"CodingHistory-module__UeIBHq__cmpSessionIdentity",cmpTabs:"CodingHistory-module__UeIBHq__cmpTabs",cmpTranscript:"CodingHistory-module__UeIBHq__cmpTranscript"});},27586,e=>{"use strict";var t=e.i(71645);let n="__keikoActivity",i="keiko-activity",r={"runtime-started":{type:"run",labelKey:"activity.event.runtimeStarted"},"runtime-stopped":{type:"stopped",labelKey:"activity.event.runtimeStopped"},"runtime-health":{type:"step",labelKey:"activity.event.runtimeHealth"},"task-submitted":{type:"run",labelKey:"activity.event.taskSubmitted"},"observation-streamed":{type:"step",labelKey:"activity.event.observationStreamed"},"permission-requested":{type:"approval",labelKey:"activity.event.permissionRequested"},"diff-summarized":{type:"step",labelKey:"activity.event.diffSummarized"},"verification-summarized":{type:"step",labelKey:"activity.event.verificationSummarized"},"artifact-produced":{type:"delivery",labelKey:"activity.event.artifactProduced"},"research-performed":{type:"step",labelKey:"activity.event.researchPerformed"},"skill-invoked":{type:"step",labelKey:"activity.event.skillInvoked"},"child-run-started":{type:"run",labelKey:"activity.event.childRunStarted"},"child-run-completed":{type:"step",labelKey:"activity.event.childRunCompleted"},"operator-decision":{type:"approval",labelKey:"activity.event.operatorDecision"},"failure-redacted":{type:"rejected",labelKey:"activity.event.failureRedacted"}},s={accepted:{type:"approved",labelKey:"activity.event.operatorDecisionAccepted"},denied:{type:"rejected",labelKey:"activity.event.operatorDecisionDenied"},unavailable:{type:"rejected",labelKey:"activity.event.operatorDecisionUnavailable"},"limit-reached":{type:"rejected",labelKey:"activity.event.operatorDecisionExpired"},stopped:{type:"stopped",labelKey:"activity.event.operatorDecisionStopped"}};function o(){window.dispatchEvent(new CustomEvent(i));}function a(e){var _window$n;let t=(_window$n=window[n])!==null&&_window$n!==void 0?_window$n:[];void 0!==e.id&&t.some(t=>t.id===e.id)||(window[n]=[e,...t].slice(0,120),o());}function l(e,t){return void 0!==e&&void 0!==t&&!e.open&&t.open&&e.runId===t.runId&&e.sequence>t.sequence;}e.s(["logRuntimeActivityEvents",0,function(e){for(let t of e){if("runtime-event"!==t.kind)continue;let e="operator-decision"!==t.eventKind||void 0===t.auxiliaryOutcome?r[t.eventKind]:s[t.auxiliaryOutcome],i={id:`${t.runId}:${t.cursor}`,type:e.type,labelKey:e.labelKey,agent:"runtime",time:Date.parse(t.occurredAt)};if("operator-decision"!==t.eventKind){a(i);continue;}!function(e,_window$n2){let t=(_window$n2=window[n])!==null&&_window$n2!==void 0?_window$n2:[];if(e.decision.open){if(t.some(t=>l(t.decision,e.decision)))return;}else{let i=t.filter(t=>!l(e.decision,t.decision));i.length!==t.length&&(window[n]=i,o());}a(e);}({...i,decision:{runId:t.runId,open:void 0===t.auxiliaryOutcome,sequence:t.sequence}});}},"useActivitySubscription",0,function(){var _window$n3;let[,e]=(0,t.useReducer)(e=>e+1,0);return(0,t.useEffect)(()=>(window.addEventListener(i,e),()=>window.removeEventListener(i,e)),[]),(_window$n3=window[n])!==null&&_window$n3!==void 0?_window$n3:[];}]);},98729,e=>{"use strict";var t=e.i(43476);let n=e.i(17161).Icons.file,i=[{test:e=>"dockerfile"===e||e.includes("docker-compose")||e.endsWith(".dockerignore"),key:"docker"},{test:e=>e.endsWith(".json"),key:"json"},{test:e=>e.endsWith(".yml")||e.endsWith(".yaml"),key:"yaml"},{test:e=>e.endsWith(".md"),key:"markdown"},{test:e=>e.endsWith(".properties")||e.endsWith(".env")||e.startsWith(".env."),key:"properties"},{test:e=>e.endsWith(".java"),key:"java"},{test:e=>e.endsWith(".tsx"),key:"react"},{test:e=>e.endsWith(".ts"),key:"typescript"},{test:e=>e.endsWith(".jsx")||e.endsWith(".js")||e.endsWith(".mjs")||e.endsWith(".cjs"),key:"javascript"},{test:e=>e.endsWith(".py"),key:"python"},{test:e=>e.endsWith(".go"),key:"go"},{test:e=>e.endsWith(".rs"),key:"rust"},{test:e=>e.endsWith(".gradle"),key:"gradle"},{test:e=>e.endsWith(".sql"),key:"postgresql"},{test:e=>e.endsWith(".html"),key:"html5"},{test:e=>e.endsWith(".css"),key:"css3"},{test:e=>e.endsWith(".graphql")||e.endsWith(".gql"),key:"graphql"},{test:e=>e.endsWith(".png")||e.endsWith(".jpg")||e.endsWith(".jpeg")||e.endsWith(".gif")||e.endsWith(".webp")||e.endsWith(".svg"),key:"image"}];e.s(["FileIcon",0,function({name:e,icon:r}){let s,o,a=r!==null&&r!==void 0?r:(s=e.toLowerCase(),(o=i.find(({test:e})=>e(s)))?o.key:null);return null!==a?(0,t.jsx)("img",{className:"fi-img",src:`/assets/icons/${a}.svg`,width:"15",height:"15",alt:""}):(0,t.jsx)("span",{className:"fi-fallback",children:(0,t.jsx)(n,{size:14})});}]);},54821,e=>{"use strict";var t=e.i(92215),n=e.i(58773);let i="/api/coding-workbench/history",r="keiko:coding-history-changed";async function s(){return await(0,n.codingAppSessionPairingSettled)(),(await(0,t.bffFetchJson)(i,{signal:AbortSignal.timeout(15e3)})).tasks;}async function o(e,r){return await(0,n.codingAppSessionPairingSettled)(),(0,t.bffFetchJson)(`${i}/${encodeURIComponent(e)}`,{signal:AbortSignal.timeout(15e3)},void 0===r?void 0:{correlationId:r});}async function a(e,s){await(0,n.codingAppSessionPairingSettled)();let o=await(0,t.bffFetchJson)(`${i}/${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify(s)});return window.dispatchEvent(new Event(r)),o.task;}e.s(["CODING_HISTORY_CHANGED",0,r,"fetchCodingHistory",0,s,"fetchCodingTask",0,o,"updateCodingTask",0,a]);}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68238,e=>{"use strict";var t=e.i(10710),n=e.i(33365);let i=Object.freeze({...e.i(10161).GIT_DELIVERY_OBSERVATION_FAILURE_STATES,"required-checks-passed":"technical-ready","required-checks-pending":"pending","required-checks-failed":"failed","required-checks-blocked":"blocked","required-checks-unknown":"unknown","pull-request-closed":"blocked","merge-conflict":"blocked","base-outdated":"pending","merge-context-unknown":"unknown","repair-budget-exhausted":"blocked"}),r=/^[a-f0-9]{64}$/u,s=/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/u,o=["schemaVersion","runId","remoteDigest","repository","prNumber","baseRef","baseSha","headRef","headSha","requirementsVersion","requirementsDigest","strictBaseRequired","observedAt","expiresAt","evidenceRef","complete","state","reason","requiredChecks","advisoryChecks","pullRequest","humanReview"];function a(e){return"object"==typeof e&&null!==e&&!Array.isArray(e);}function l(e,t){return Object.keys(e).length===t.length&&t.every(t=>Object.hasOwn(e,t));}function c(e,t){return"string"==typeof e&&t.test(e);}function d(e,t=1500){return"number"==typeof e&&Number.isSafeInteger(e)&&e>=0&&e<=t;}function u(e){return!!a(e)&&!!l(e,["total","passed","failed","pending","blocked","unknown"])&&!!Object.values(e).every(e=>d(e))&&e.total===Object.entries(e).filter(([e])=>"total"!==e).reduce((e,[,t])=>e+t,0);}function p(e,t){return"string"==typeof e&&t.has(e);}function h(e){return a(e)&&l(e,["status","isDraft","conflict","baseCurrency"])&&p(e.status,new Set(["open","closed","merged"]))&&"boolean"==typeof e.isDraft&&p(e.conflict,new Set(["clear","conflicting","unknown"]))&&p(e.baseCurrency,new Set(["current","behind","unknown"]));}function f(e){return"string"==typeof e&&/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/u.test(e)&&Number.isFinite(Date.parse(e))&&new Date(e).toISOString()===e;}e.s(["isReadinessSnapshot",0,function(e){var p,m,g,y;if(!a(e)||!(l(e,void 0===e.failureSignatureDigest?o:[...o,"failureSignatureDigest"])&&(void 0===e.failureSignatureDigest||c(e.failureSignatureDigest,r))&&"1"===e.schemaVersion&&"1"===e.requirementsVersion&&"boolean"==typeof e.strictBaseRequired)||!(c((m=e).runId,s)&&c(m.remoteDigest,r)&&c(m.evidenceRef,s)&&"string"==typeof m.repository&&(0,n.isGitHubOwnerAndRepo)(m.repository)&&d(m.prNumber,n.GITHUB_ISSUE_NUMBER_MAX)&&m.prNumber>0&&[(g=m).baseRef,g.headRef].every(e=>"string"==typeof e&&(0,t.isSafeGitRefName)(e)&&!e.startsWith("refs/"))&&g.baseRef!==g.headRef&&(0,t.isGitObjectId)(g.baseSha)&&(0,t.isGitObjectId)(g.headSha))||!(null===e.requirementsDigest||c(e.requirementsDigest,r)))return!1;return function(e){if(!f(e.observedAt)||!f(e.expiresAt))return!1;let t=Date.parse(e.expiresAt)-Date.parse(e.observedAt);return t>0&&t<=6e4;}(e)&&"string"==typeof e.reason&&!!Object.hasOwn(i,e.reason)&&e.state===i[e.reason]&&"boolean"==typeof e.complete&&!!u(e.requiredChecks)&&("technical-ready"!==e.state||e.complete&&null!==e.requirementsDigest&&e.requiredChecks.total===e.requiredChecks.passed&&!!h((y=e).pullRequest)&&"open"===y.pullRequest.status&&"clear"===y.pullRequest.conflict&&("current"===y.pullRequest.baseCurrency||"behind"===y.pullRequest.baseCurrency&&!1===y.strictBaseRequired))&&u(e.advisoryChecks)&&h(e.pullRequest)&&!!a(p=e.humanReview)&&!!l(p,["visibility","requiredCount","approvedCount","changesRequestedCount"])&&("complete"===p.visibility||"unknown"===p.visibility)&&[p.requiredCount,p.approvedCount,p.changesRequestedCount].every(e=>null===e?"unknown"===p.visibility:d(e));}]);},10161,e=>{"use strict";let t=Object.freeze({"authority-denied":"blocked","auth-required":"blocked","invalid-binding":"blocked",cancelled:"blocked","provider-forbidden":"unknown","provider-not-found":"unknown","rate-limited":"pending","provider-unavailable":"pending",timeout:"pending","pagination-exhausted":"unknown","output-truncated":"unknown","malformed-response":"unknown","visibility-unknown":"unknown","requirements-ambiguous":"unknown","revision-changed":"pending"});e.s(["GIT_DELIVERY_OBSERVATION_FAILURE_STATES",0,t,"isGitDeliveryObservationFailure",0,function(e){var n;return!!("object"==typeof e&&null!==e&&!Array.isArray(e))&&(n=["reason","state"],!!(Object.keys(e).length===n.length&&n.every(t=>Object.hasOwn(e,t))))&&"string"==typeof e.reason&&Object.hasOwn(t,e.reason)&&e.state===t[e.reason];}]);},97633,e=>{"use strict";let t=Object.freeze(["staged","unstaged"]),n=Object.freeze(["staged","worktree"]),i=Object.freeze(["ctx","add","del","meta"]),r=Object.freeze(["added","modified","deleted","renamed"]);function s(e){return"object"==typeof e&&null!==e&&!Array.isArray(e);}function o(e,t){return Object.keys(e).every(e=>t.includes(e));}function a(e,t){return"number"==typeof e&&Number.isInteger(e)&&e>=t;}function l(e,t,n=!1){return"string"==typeof e&&(n||e.length>0)&&e.length<=t&&!e.includes("\0");}function c(e){return!(!l(e,4096)||new TextEncoder().encode(e).length>4096||e.startsWith("/")||e.startsWith("\\")||e.includes("\\"))&&e.split("/").every(e=>e.length>0&&"."!==e&&".."!==e);}function d(e){return"string"==typeof e&&t.includes(e);}function u(e){return"string"==typeof e&&n.includes(e);}function p(e){return"string"==typeof e&&i.includes(e);}function h(e){return"string"==typeof e&&r.includes(e);}function f(e){let t,n;return s(e)&&o(e,["kind","oldLine","newLine","text"])&&p(e.kind)&&(t=e.oldLine,n=e.newLine,"ctx"===e.kind?a(t,1)&&a(n,1):"add"===e.kind?null===t&&a(n,1):"del"===e.kind?a(t,1)&&null===n:"meta"===e.kind&&null===t&&null===n)&&l(e.text,16384,!0);}function m(e){var t;return s(e)&&o(e,["header","oldStart","oldCount","newStart","newCount","lines","truncated"])&&l(e.header,512)&&a((t=e).oldStart,0)&&a(t.oldCount,0)&&a(t.newStart,0)&&a(t.newCount,0)&&Array.isArray(e.lines)&&e.lines.length<=2048&&e.lines.every(f)&&"boolean"==typeof e.truncated;}function g(e){var t;return!!s(e)&&!!o(e,["path","oldPath","layer","status","binary","hunks","addedLines","removedLines","truncated"])&&h(e.status)&&u(e.layer)&&!!c(e.path)&&(void 0===e.oldPath||!!c(e.oldPath))&&("renamed"===e.status?"string"==typeof e.oldPath:void 0===e.oldPath)&&"boolean"==typeof e.binary&&Array.isArray((t=e).hunks)&&t.hunks.length<=256&&t.hunks.every(m)&&(!0!==e.binary||Array.isArray(e.hunks)&&0===e.hunks.length&&0===e.addedLines&&0===e.removedLines)&&a(e.addedLines,0)&&a(e.removedLines,0)&&"boolean"==typeof e.truncated;}let y=/^(?:[0-9a-f]{40}|[0-9a-f]{64})$/u,v=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3})?Z$/u;function b(e){return s(e)&&o(e,["line","commitHash","author","authorTime","summary"])&&a(e.line,1)&&"string"==typeof e.commitHash&&y.test(e.commitHash)&&l(e.author,256)&&"string"==typeof e.authorTime&&v.test(e.authorTime)&&Number.isFinite(Date.parse(e.authorTime))&&l(e.summary,512,!0);}function w(e){try{return e();}catch(e){return{ok:!1,errors:[`payload could not be inspected: ${e instanceof Error?e.name:"unknown error"}`]};}}e.s(["GIT_AGENT_CONTEXT_MAX_BLAME_LINES",0,32,"GIT_AGENT_CONTEXT_MAX_FILES",0,8,"GIT_AGENT_CONTEXT_MAX_HUNKS",0,16,"GIT_AGENT_CONTEXT_MAX_RESULT_BYTES",0,196608,"GIT_EDITOR_BLAME_AUTHOR_MAX_CHARS",0,256,"GIT_EDITOR_BLAME_MAX_BYTES",0,262144,"GIT_EDITOR_BLAME_MAX_LINES",0,2e3,"GIT_EDITOR_BLAME_SUMMARY_MAX_CHARS",0,512,"GIT_EDITOR_DIFF_FILE_STATUSES",0,r,"GIT_EDITOR_DIFF_LAYERS",0,n,"GIT_EDITOR_DIFF_LINE_KINDS",0,i,"GIT_EDITOR_DIFF_MAX_BYTES",0,524288,"GIT_EDITOR_DIFF_MAX_FILES",0,400,"GIT_EDITOR_DIFF_MAX_HEADER_CHARS",0,512,"GIT_EDITOR_DIFF_MAX_HUNKS_PER_FILE",0,256,"GIT_EDITOR_DIFF_MAX_LINES_PER_HUNK",0,2048,"GIT_EDITOR_DIFF_MAX_LINE_CHARS",0,16384,"GIT_EDITOR_DIFF_SCOPES",0,t,"GIT_EDITOR_PATH_MAX_BYTES",0,4096,"GIT_EDITOR_SCHEMA_VERSION",0,"1","isGitEditorBlameLine",0,b,"isGitEditorDiffFile",0,g,"isGitEditorDiffFileStatus",0,h,"isGitEditorDiffHunk",0,m,"isGitEditorDiffLayer",0,u,"isGitEditorDiffLine",0,f,"isGitEditorDiffLineKind",0,p,"isGitEditorDiffScope",0,d,"parseGitEditorBlameRequest",0,function(e){return w(()=>function(e){if(!s(e))return{ok:!1,errors:["request must be an object"]};let t=[];return o(e,["schemaVersion","path","startLine","maxLines"])||t.push("request has unknown fields"),"1"!==e.schemaVersion&&t.push("schemaVersion invalid"),c(e.path)||t.push("path must be a bounded workspace-relative path"),a(e.startLine,1)||t.push("startLine must be a positive integer"),(!a(e.maxLines,1)||"number"==typeof e.maxLines&&e.maxLines>2e3)&&t.push(`maxLines must be between 1 and ${String(2e3)}`),0===t.length?{ok:!0,value:e}:{ok:!1,errors:t};}(e));},"parseGitEditorBlameResponse",0,function(e){return w(()=>function(e){var t,n;if(!s(e))return{ok:!1,errors:["response must be an object"]};let i=[];return o(e,["schemaVersion","path","startLine","lines","truncated","totalLines","totalBytes","maxBytes","maxLines"])||i.push("response has unknown fields"),"1"!==e.schemaVersion&&i.push("schemaVersion invalid"),c(e.path)||i.push("path must be a bounded workspace-relative path"),a(e.startLine,1)||i.push("startLine must be a positive integer"),!Array.isArray(e.lines)||e.lines.length>2e3?i.push(`lines must be an array of at most ${String(2e3)} entries`):e.lines.every(b)||i.push("lines contain an invalid entry"),"boolean"!=typeof e.truncated&&i.push("truncated must be a boolean"),a(e.totalLines,0)||i.push("totalLines must be a non-negative integer"),a(e.totalBytes,0)||i.push("totalBytes must be a non-negative integer"),262144!==e.maxBytes&&i.push("maxBytes invalid"),2e3!==e.maxLines&&i.push("maxLines invalid"),t=e,n=i,Array.isArray(t.lines)&&a(t.totalLines,0)&&t.totalLines<t.lines.length&&n.push("totalLines must not be smaller than lines.length"),a(t.totalBytes,0)&&t.totalBytes>262144&&!0!==t.truncated&&n.push("truncated must be true when totalBytes exceeds maxBytes"),0===i.length?{ok:!0,value:e}:{ok:!1,errors:i};}(e));},"parseGitEditorDiffRequest",0,function(e){return w(()=>function(e){if(!s(e))return{ok:!1,errors:["request must be an object"]};let t=[];return o(e,["schemaVersion","scope","path"])||t.push("request has unknown fields"),"1"!==e.schemaVersion&&t.push("schemaVersion invalid"),d(e.scope)||t.push("scope must be staged or unstaged"),void 0===e.path||c(e.path)||t.push("path must be a bounded workspace-relative path when present"),0===t.length?{ok:!0,value:e}:{ok:!1,errors:t};}(e));},"parseGitEditorDiffResponse",0,function(e){return w(()=>function(e){var t,n;if(!s(e))return{ok:!1,errors:["response must be an object"]};let i=[];return o(e,["schemaVersion","scope","files","truncated","totalFiles","totalBytes","maxBytes","maxFiles"])||i.push("response has unknown fields"),"1"!==e.schemaVersion&&i.push("schemaVersion invalid"),d(e.scope)||i.push("scope must be staged or unstaged"),!Array.isArray(e.files)||e.files.length>400?i.push(`files must be an array of at most ${String(400)} entries`):e.files.every(g)?d(e.scope)&&!e.files.every(t=>t.layer===("staged"===e.scope?"staged":"worktree"))&&i.push("file layers must match the response scope"):i.push("files contain an invalid entry"),"boolean"!=typeof e.truncated&&i.push("truncated must be a boolean"),a(e.totalFiles,0)||i.push("totalFiles must be a non-negative integer"),a(e.totalBytes,0)||i.push("totalBytes must be a non-negative integer"),524288!==e.maxBytes&&i.push("maxBytes invalid"),400!==e.maxFiles&&i.push("maxFiles invalid"),t=e,n=i,Array.isArray(t.files)&&a(t.totalFiles,0)&&t.totalFiles<t.files.length&&n.push("totalFiles must not be smaller than files.length"),a(t.totalBytes,0)&&t.totalBytes>524288&&!0!==t.truncated&&n.push("truncated must be true when totalBytes exceeds maxBytes"),0===i.length?{ok:!0,value:e}:{ok:!1,errors:i};}(e));}]);},73737,e=>{"use strict";function t(e,t){let n=t.identity;return n.repository.toLowerCase()===e.repository.toLowerCase()&&n.headRepository.toLowerCase()===e.repository.toLowerCase()&&n.number===e.prNumber&&n.externalId===e.prExternalId&&n.baseRef===e.baseRef&&t.defaultBranchRef===e.baseRef&&n.headRef===e.headRef&&n.headSha===e.headSha&&t.issue.number===e.issueNumber;}function n(e,t){return t.runId===e.runId&&t.remoteDigest===e.remoteDigest&&t.repository.toLowerCase()===e.repository.toLowerCase()&&t.prNumber===e.prNumber&&t.baseRef===e.baseRef&&t.headRef===e.headRef&&t.headSha===e.headSha;}function i(e,t){return Number.isFinite(t)&&t>=Date.parse(e.observedAt)&&t<Date.parse(e.expiresAt);}let r=new Set(["current","partial","fallback"]);e.s(["APPLIED_PR_DESCRIPTION_STATES",0,r,"journeyDescriptionApplied",0,function(e,n,s,o){var a,l,c,d,u,p,h,f,m,g,y;let v;return null!==s&&(a=e,l=s,!!r.has(l.state)&&("confirmed"===l.effect||"reconciled"===l.effect)&&(c=a,(d=l.binding).remoteDigest===c.remoteDigest&&d.repository.toLowerCase()===c.repository.toLowerCase()&&d.headRepository.toLowerCase()===c.repository.toLowerCase()&&d.prNumber===c.prNumber&&d.prExternalId===c.prExternalId))&&((u=e,v=(p=n).identity,null!==p.mergedAt&&"closed"===v.state&&v.repository.toLowerCase()===u.repository.toLowerCase()&&v.number===u.prNumber&&v.externalId===u.prExternalId&&v.headSha===u.headSha&&p.issue.number===u.issueNumber)?(h=e,(f=s.binding).baseRef===h.baseRef&&f.headRef===h.headRef&&f.headSha===h.headSha):t(e,n)&&i(s,o)&&(m=e,g=n,(y=s.binding).baseRef===m.baseRef&&y.baseSha===g.identity.baseSha&&y.headRef===m.headRef&&y.headSha===m.headSha&&y.isDraft===g.identity.isDraft));},"journeyEvidenceFresh",0,i,"journeyReadinessCurrent",0,function(e,r,s,o){return null!==s&&t(e,r)&&n(e,s)&&i(s,o)&&s.baseSha===r.identity.baseSha&&s.pullRequest.isDraft===r.identity.isDraft&&"open"===s.pullRequest.status&&"open"===r.identity.state&&null===r.mergedAt;},"journeyReadinessMatchesTask",0,n,"journeyRemoteMatchesTask",0,t]);},98109,1859,e=>{"use strict";var t=e.i(10161),n=e.i(73737),i=e.i(10710),r=e.i(33365),s=e.i(51983),o=e.i(68238);let a=Object.freeze({applied:"current",reconciled:"current","partial-applied":"partial","fallback-applied":"fallback","approval-required":"blocked","approval-invalid":"blocked","authority-denied":"blocked","receipt-refused":"blocked","policy-blocked":"blocked","invalid-request":"blocked","malformed-region":"blocked","unsafe-content":"blocked","stale-pr":"stale","stale-snapshot":"stale","body-changed":"stale",expired:"stale","provider-failed":"failed","recovery-required":"failed","unchanged-after-write":"failed"}),l=/^[a-f0-9]{64}$/u,c=/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/u,d=["repositoryId","remoteDigest","repository","prNumber","prExternalId","baseRef","baseSha","headRepository","headRef","headSha","isDraft","snapshotDigest","draftDigest","renderingVersion","expectedBodyDigest","outsideRegionDigest","finalBodyDigest","providerUpdatedAt"],u=["schemaVersion","state","reason","binding","observedAt","expiresAt","completeness","effect","concurrency"];function p(e){return"object"==typeof e&&null!==e&&!Array.isArray(e);}function h(e,t){return Reflect.ownKeys(e).length===t.length&&t.every(t=>{let n=Object.getOwnPropertyDescriptor(e,t);return void 0!==n&&Object.hasOwn(n,"value");});}function f(e,t){return"string"==typeof e&&t.test(e);}function m(e){if("string"!=typeof e)return!1;let t=Date.parse(e);return Number.isFinite(t)&&new Date(t).toISOString()===e;}function g(e){var t;return!!p(e)&&!!h(e,u)&&!!function(e){if(!m(e.observedAt)||!m(e.expiresAt))return!1;let t=Date.parse(e.expiresAt)-Date.parse(e.observedAt);return t>0&&t<=6e4;}(e)&&"1"===e.schemaVersion&&"read-check-write-verify"===e.concurrency&&function(e){var t,n;return!!p(e)&&!!h(e,d)&&f(e.repositoryId,c)&&f(e.remoteDigest,l)&&"string"==typeof e.repository&&(0,r.isGitHubOwnerAndRepo)(e.repository)&&"string"==typeof e.headRepository&&(0,r.isGitHubOwnerAndRepo)(e.headRepository)&&"number"==typeof(t=e.prNumber)&&Number.isSafeInteger(t)&&t>0&&t<=r.GITHUB_ISSUE_NUMBER_MAX&&f(e.prExternalId,c)&&"string"==typeof(n=e).baseRef&&(0,i.isSafeGitRefName)(n.baseRef)&&"string"==typeof n.headRef&&(0,i.isSafeGitRefName)(n.headRef)&&(0,i.isGitObjectId)(n.baseSha)&&(0,i.isGitObjectId)(n.headSha)&&"boolean"==typeof n.isDraft&&"1"===n.renderingVersion&&m(n.providerUpdatedAt)&&["snapshotDigest","draftDigest","expectedBodyDigest","outsideRegionDigest","finalBodyDigest"].every(t=>f(e[t],l));}(e.binding)&&("complete"===(t=e.completeness)||"partial"===t||"fallback"===t)&&function(e){var t,n;if("string"!=typeof e.reason||!Object.hasOwn(a,e.reason))return!1;let i=a[e.reason];if(e.state!==i)return!1;if("current"===i){return"complete"===e.completeness&&("applied"===(t=e).reason&&"confirmed"===t.effect||"reconciled"===t.reason&&"reconciled"===t.effect);}if("partial"===i||"fallback"===i){return e.completeness===i&&("confirmed"===(n=e.effect)||"reconciled"===n);}return"none"===e.effect||"uncertain"===e.effect;}(e);}e.s(["PR_DESCRIPTION_APPLICATION_REASON_STATES",0,a,"isPrDescriptionApplicationStatus",0,g],1859);let y=Object.freeze({"ready-approval-required":"awaiting-ready-approval","technical-ready":"keiko-technical-ready","human-review-ready":"ready-for-human-review","required-reviews-missing":"awaiting-human-requirements","changes-requested":"awaiting-human-requirements","unresolved-conversations":"awaiting-human-requirements","review-visibility-unknown":"awaiting-human-requirements","issue-closure-pending":"merged-awaiting-issue-closure","merge-and-closure-observed":"completed","closed-unmerged":"blocked","issue-closed-without-merge":"blocked",retargeted:"blocked","head-changed":"blocked","readiness-unavailable":"blocked","readiness-stale":"blocked","checks-not-ready":"blocked","description-unavailable":"blocked","description-stale":"blocked","description-not-applied":"blocked","provider-unavailable":"blocked","authority-denied":"blocked","observation-superseded":"blocked",cancelled:"cancelled","ready-effect-uncertain":"recovery-required"}),v=/^[a-f0-9]{64}$/u,b=/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/u;function w(e){return"object"==typeof e&&null!==e&&!Array.isArray(e);}function k(e,t){return Reflect.ownKeys(e).length===t.length&&t.every(t=>{let n=Object.getOwnPropertyDescriptor(e,t);return void 0!==n&&Object.hasOwn(n,"value")&&!0===n.enumerable;});}function S(e,t,n=0){return"number"==typeof e&&Number.isSafeInteger(e)&&e>=n&&e<=t;}function A(e,t){return"string"==typeof e&&t.test(e);}function x(e){return"string"==typeof e&&(0,i.isSafeGitRefName)(e)&&!e.startsWith("refs/");}function E(e){return"string"==typeof e&&Number.isFinite(Date.parse(e))&&new Date(e).toISOString().replace(".000Z","Z")===e.replace(".000Z","Z");}let R=["schemaVersion","binding","state","reason","observedAt","expiresAt","evidenceRef","remote","observationFailure","readiness","description","keikoDescriptionApplied"],D=new Set(["provider-unavailable","authority-denied","observation-superseded","cancelled","ready-effect-uncertain"]);e.s(["isJourneyOutcome",0,function(e){var a,l;return!!w(e)&&!!k(e,R)&&!!(w(a=e.binding)&&k(a,["runId","remoteDigest","issueBindingDigest","issueIdDigest","issueNumber","repository","prNumber","prExternalId","baseRef","headRef","headSha"])&&A(a.runId,b)&&A(a.prExternalId,b)&&[a.remoteDigest,a.issueBindingDigest,a.issueIdDigest].every(e=>A(e,v))&&S(a.issueNumber,r.GITHUB_ISSUE_NUMBER_MAX,1)&&S(a.prNumber,r.GITHUB_ISSUE_NUMBER_MAX,1)&&"string"==typeof(l=a).repository&&(0,r.isGitHubOwnerAndRepo)(l.repository)&&x(l.baseRef)&&x(l.headRef)&&l.baseRef!==l.headRef&&(0,i.isGitObjectId)(l.headSha))&&"1"===e.schemaVersion&&A(e.evidenceRef,b)&&function(e){if(!E(e.observedAt)||!E(e.expiresAt))return!1;let t=Date.parse(e.expiresAt)-Date.parse(e.observedAt);return t>0&&t<=6e4;}(e)&&"string"==typeof e.reason&&!!Object.hasOwn(y,e.reason)&&e.state===y[e.reason]&&function(e,i){return(null===e.readiness||!!(0,o.isReadinessSnapshot)(e.readiness)&&!!(0,n.journeyReadinessMatchesTask)(i,e.readiness))&&(null===e.description?!1===e.keikoDescriptionApplied:!!g(e.description)&&"boolean"==typeof e.keikoDescriptionApplied&&(!e.keikoDescriptionApplied||new Set(["current","partial","fallback"]).has(e.description.state)))&&(null===e.observationFailure||(0,t.isGitDeliveryObservationFailure)(e.observationFailure));}(e,e.binding)&&function(e,t){var o,a;return null===e.remote?!e.keikoDescriptionApplied&&D.has(e.reason):null===e.observationFailure&&function(e){var t,n,o;return!!w(e)&&!!k(e,["status","identity","repositoryId","defaultBranchRef","mergedAt","mergeCommitSha","reviewDecision","issue","reviewConversations","factsDigest"])&&"observed"===e.status&&S(e.repositoryId,Number.MAX_SAFE_INTEGER,1)&&x(e.defaultBranchRef)&&!!(0,s.isGitPullRequestIdentity)(e.identity)&&(null===e.mergedAt?null===e.mergeCommitSha:E(e.mergedAt)&&(0,i.isGitObjectId)(e.mergeCommitSha)&&"closed"===e.identity.state&&!e.identity.isDraft)&&!!w(t=e.issue)&&!!k(t,["number","state","closedAt"])&&S(t.number,r.GITHUB_ISSUE_NUMBER_MAX,1)&&("open"===t.state&&null===t.closedAt||"closed"===t.state&&E(t.closedAt))&&!!w(n=e.reviewConversations)&&!!k(n,["total","unresolved","resolved"])&&S(n.total,500)&&S(n.unresolved,500)&&S(n.resolved,500)&&n.total===n.unresolved+n.resolved&&"string"==typeof(o=e.reviewDecision)&&new Set(["approved","changes-requested","review-required","unknown"]).has(o)&&A(e.factsDigest,v);}(e.remote)&&(o=e.remote).identity.repository.toLowerCase()===t.repository.toLowerCase()&&o.identity.number===t.prNumber&&o.identity.externalId===t.prExternalId&&o.issue.number===t.issueNumber&&(a=e.remote,(!new Set(["completed","merged-awaiting-issue-closure"]).has(String(e.state))||!!(0,n.journeyRemoteMatchesTask)(t,a))&&("completed"===e.state?null!==a.mergedAt&&"closed"===a.issue.state:"merged-awaiting-issue-closure"!==e.state||null!==a.mergedAt&&"open"===a.issue.state))&&function(e){let{remote:t,readiness:i,binding:r}=e;if(null===t)return!e.keikoDescriptionApplied;let s=Date.parse(e.observedAt);return e.keikoDescriptionApplied===(0,n.journeyDescriptionApplied)(r,t,e.description,s)&&(!new Set(["awaiting-ready-approval","keiko-technical-ready","ready-for-human-review","awaiting-human-requirements"]).has(e.state)||(0,n.journeyReadinessCurrent)(r,t,i,s)&&(i===null||i===void 0?void 0:i.state)==="technical-ready"&&e.keikoDescriptionApplied);}(e);}(e,e.binding);}],98109);},51983,e=>{"use strict";var t=e.i(33365),n=e.i(10710);let i=new Set(["number","externalId","url","repository","headRepository","headRef","headSha","baseRef","baseSha","state","isDraft"]);function r(e){return"string"==typeof e&&(0,t.isGitHubOwnerAndRepo)(e);}function s(e){return"string"==typeof e&&(0,n.isSafeGitRefName)(e)&&!e.startsWith("refs/");}e.s(["isGitPullRequestIdentity",0,function(e){var t,o;return"object"==typeof e&&null!==e&&!Array.isArray(e)&&Object.keys(e).length===i.size&&Object.keys(e).every(e=>i.has(e))&&!!("number"==typeof(t=e.number)&&Number.isSafeInteger(t)&&t>0&&t<1e10)&&!!r(e.repository)&&"string"==typeof e.externalId&&!!/^[A-Za-z0-9_=-]{1,255}$/u.test(e.externalId)&&"string"==typeof e.url&&e.url.toLowerCase()===`https://github.com/${e.repository}/pull/${String(e.number)}`.toLowerCase()&&r((o=e).headRepository)&&s(o.headRef)&&s(o.baseRef)&&(0,n.isGitObjectId)(o.headSha)&&(0,n.isGitObjectId)(o.baseSha)&&("open"===o.state||"closed"===o.state)&&"boolean"==typeof o.isDraft;}]);},81167,e=>{"use strict";Object.freeze(["complete","partial","unavailable","failed"]);let t=Object.freeze(["byte-cap","file-cap","binary","submodule","generated"]),n=Object.freeze(["add","modify","delete","rename","copy","mode-change","binary","submodule"]);Object.freeze(["add","modify","delete","rename","copy"]),Object.freeze(["invalid-ref","missing-ref","identical-revisions","no-merge-base","head-behind-base","unsupported-object-format","head-mismatch","revision-mismatch"]),Object.freeze(["git-missing","unsafe-repository","git-error","timeout","cancelled","metadata-truncated","malformed-output"]),Object.freeze({maxFiles:400,maxHunksPerFile:256,maxPatchBytes:262144,maxTotalBytes:2097152}),Object.freeze({maxFiles:2e3,maxHunksPerFile:1024,maxPatchBytes:4194304,maxTotalBytes:0x1000000});var i=e.i(57269),r=e.i(10710),s=e.i(74894);let o=["en","de"],a=["complete","partial","fallback","failed"],l=["summary","keyChanges","risks","reviewerFocus"],c=["none","model-unavailable","invalid-model-output","unsafe-model-output","provider-failed","budget-exhausted","cancelled","timeout","snapshot-unavailable","invalid-snapshot","invalid-request","authority-denied"],d={type:"object",additionalProperties:!1,required:["text","evidenceIds"],properties:{text:{type:"string",minLength:1,maxLength:600},evidenceIds:{type:"array",minItems:1,maxItems:8,uniqueItems:!0,items:{type:"string",pattern:"^[a-f0-9]{64}$"}}}};function u(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||null===t;}function p(e,t){return Reflect.ownKeys(e).length===t.length&&t.every(t=>{let n=Object.getOwnPropertyDescriptor(e,t);return void 0!==n&&Object.hasOwn(n,"value");});}(0,i.deepFreeze)({type:"object",additionalProperties:!1,required:[...l],properties:Object.fromEntries(l.map(e=>[e,{type:"array",minItems:+("summary"===e||"keyChanges"===e),maxItems:6,items:d}]))});let h=/\b(?:pass(?:ed|ing)?|succeeded|verified|proven|guaranteed|risk[- ]free|secure|safe|successful|bestanden|verifiziert|garantiert|sicher|erfolgreich)\b/iu,f=/[<>`]|!\[|\]\s*[(:]|(?:https?:|javascript:|data:)\/\/|!\(|\bby\s+Keiko\b/iu,m=/\b(?:close|closes|closed|fix|fixes|fixed|resolve|resolves|resolved)\s+(?:#|[a-z0-9_.-]+\/[a-z0-9_.-]+#)/iu,g=["schemaVersion","renderingVersion","binding","language","outcome","reason","coverage","candidate","markdown","artifactDigest"],y=["repositoryId","baseRef","baseSha","headRef","headSha","mergeBaseSha","snapshotDigest"],v=["totalFiles","files","hunks","bytes","omittedFiles","omittedHunks","truncatedFiles","kinds","omissions"],b=["snapshot","suppliedEvidenceCount","processedEvidenceCount","omittedEvidenceCount"],w=/^[a-f0-9]{64}$/u;function k(e){return Number.isSafeInteger(e)&&Number(e)>=0;}function S(e){return!!u(e)&&!!p(e,["reason","files","hunks"])&&"string"==typeof e.reason&&t.includes(e.reason)&&k(e.files)&&k(e.hunks);}function A(e){return u(e)&&Array.isArray(e.evidenceIds)?e.evidenceIds.filter(e=>"string"==typeof e):[];}e.s(["PR_DESCRIPTION_LANGUAGES",0,o,"PR_DESCRIPTION_OUTCOMES",0,a,"isPrDescriptionArtifact",0,function(e){var t,i,d,x;let E;if(!u(e)||!p(e,g))return!1;return"1"===e.schemaVersion&&"1"===e.renderingVersion&&"string"==typeof e.language&&o.includes(e.language)&&"string"==typeof e.outcome&&a.includes(e.outcome)&&"string"==typeof e.reason&&c.includes(e.reason)&&function(e){var t;let n;if(!u(e))return!1;let i=void 0===e.remoteDigest?y:[...y,"remoteDigest"];return!!p(e,i)&&"string"==typeof e.repositoryId&&/^[A-Za-z0-9][A-Za-z0-9._:-]*$/u.test(e.repositoryId)&&e.repositoryId.length<=128&&"string"==typeof(t=e).baseRef&&(0,r.isSafeGitRefName)(t.baseRef)&&"string"==typeof t.headRef&&(0,r.isSafeGitRefName)(t.headRef)&&(0,r.isGitObjectId)(t.baseSha)&&(0,r.isGitObjectId)(t.headSha)&&(0,r.isGitObjectId)(t.mergeBaseSha)&&(n=e.remoteDigest,"string"==typeof e.snapshotDigest&&w.test(e.snapshotDigest)&&(void 0===n||"string"==typeof n&&w.test(n)));}(e.binding)&&(E=function(e,t){if(!u(e)||!p(e,l))return{ok:!1,reason:"invalid-model-output"};let n=new Set(t);for(let t of l){let i=function(e,t,n){if(!Array.isArray(e)||e.length>6||("summary"===t||"keyChanges"===t)&&0===e.length)return"invalid-model-output";for(let t of e){let e=function(e,t){var n,i;return u(e)&&p(e,["text","evidenceIds"])&&"string"==typeof e.text&&(n=e.evidenceIds,Array.isArray(n)&&n.length>0&&n.length<=8&&Array.from(n).every(e=>"string"==typeof e&&/^[a-f0-9]{64}$/u.test(e)&&t.has(e))&&new Set(n).size===n.length)?!((i=e.text).trim().length>0)||!(i.length<=600)||(0,s.stripUnsafeFormatChars)(i)!==i||(0,s.hasControlCharacter)(i)||(0,s.containsAbsolutePath)(i)||(0,s.containsPseudoRoleMarker)(i)||/keiko\s*:\s*pr-description/iu.test(i)||f.test(i)||m.test(i)||h.test(i)?"unsafe-model-output":void 0:"invalid-model-output";}(t,n);if(void 0!==e)return e;}}(e[t],t,n);if(void 0!==i)return{ok:!1,reason:"unsafe-model-output"===i?i:"invalid-model-output"};}return{ok:!0,value:e};}(e.candidate,u(t=e.candidate)?l.flatMap(e=>{let n;return Array.isArray(n=t[e])?n.flatMap(A):[];}):[]),!!u(i=e.coverage)&&!!p(i,b)&&!!u(d=i.snapshot)&&!!p(d,v)&&v.slice(0,7).every(e=>k(d[e]))&&!!u(x=d.kinds)&&!!p(x,n)&&n.every(e=>k(x[e]))&&Array.isArray(d.omissions)&&d.omissions.every(S)&&k(i.suppliedEvidenceCount)&&k(i.processedEvidenceCount)&&k(i.omittedEvidenceCount)&&E.ok&&"string"==typeof e.markdown&&e.markdown.length>0&&e.markdown.length<=65536)&&"string"==typeof e.artifactDigest&&w.test(e.artifactDigest);}],81167);},26330,e=>{"use strict";var t=e.i(43476),n=e.i(71645),i=e.i(50850);function r(e){return e.toFixed(2);}function s(e){var _t$0$,_t$,_t$0$2,_t$2;let t=[];for(let n=0;n<150;n++){let i=n/150*Math.PI*2,r=1+.07*(.55*Math.sin(3*i+e)+.32*Math.sin(5*i-.8*e+1.7)+.22*Math.sin(2*i+.5*e+.4));t.push([140+127.44000000000001*r*Math.cos(i),140+118*r*Math.sin(i)]);}let n=`M${r((_t$0$=(_t$=t[0])===null||_t$===void 0?void 0:_t$[0])!==null&&_t$0$!==void 0?_t$0$:140)} ${r((_t$0$2=(_t$2=t[0])===null||_t$2===void 0?void 0:_t$2[1])!==null&&_t$0$2!==void 0?_t$0$2:140)} `;for(let e=0;e<t.length;e++){let i=t[(e-1+t.length)%t.length],s=t[e],o=t[(e+1)%t.length],a=t[(e+2)%t.length],l=s[0]+(o[0]-i[0])/6,c=s[1]+(o[1]-i[1])/6,d=o[0]-(a[0]-s[0])/6,u=o[1]-(a[1]-s[1])/6;n+=`C${r(l)} ${r(c)} ${r(d)} ${r(u)} ${r(o[0])} ${r(o[1])} `;}return`${n}Z`;}function o({accessibleDescription:e,actionLabel:i,centeredLogo:r=!1,className:a,onActivate:l,subtitle:c,title:d,titleFontSize:u=16}){let p=(0,n.useId)(),h=`ewb-${p.replaceAll(":","")}`,f=`ewb-desc-${p.replaceAll(":","")}`,m=(0,n.useRef)(null),g=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=e=>{var _m$current;(_m$current=m.current)===null||_m$current===void 0||_m$current.setAttribute("d",s(e));};if(e(.7),"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches||"function"!=typeof window.requestAnimationFrame)return;let t=0,n=()=>{0!==t&&(window.cancelAnimationFrame(t),t=0);},i=n=>{e(85e-5*n),t=window.requestAnimationFrame(i);},r=()=>{0===t&&!0!==document.hidden&&(t=window.requestAnimationFrame(i));},o=()=>{!0===document.hidden?n():r();};return r(),document.addEventListener("visibilitychange",o),window.addEventListener("blur",n),window.addEventListener("focus",r),()=>{n(),document.removeEventListener("visibilitychange",o),window.removeEventListener("blur",n),window.removeEventListener("focus",r);};},[]);let y=(0,n.useCallback)(()=>{let e=g.current;null!==e&&(e.classList.remove("is-pulse"),e.getBoundingClientRect(),e.classList.add("is-pulse")),l===null||l===void 0?void 0:l();},[l]),v=void 0===a?"empty-workspace-blob":`empty-workspace-blob ${a}`,b=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{id:f,className:"visually-hidden",children:e}),(0,t.jsxs)("svg",{width:"320",height:"320",viewBox:"0 0 280 280","aria-hidden":"true",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("mask",{id:h,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"280",height:"280",children:[(0,t.jsx)("rect",{x:"0",y:"0",width:"280",height:"280",fill:"#fff"}),(0,t.jsx)("g",{transform:r?"translate(140 140) scale(1.35) translate(-140 -140)":void 0,children:(0,t.jsx)("g",{transform:`translate(107,${r?"99":"64"}) scale(0.080625)`,children:(0,t.jsx)("g",{transform:"translate(1024 0) scale(-1 1)",children:(0,t.jsx)("g",{transform:"translate(1024,1024) scale(-0.1,-0.1)",fill:"#000",children:(0,t.jsx)("path",{d:"M3465 8223 c-144 -8 -314 -52 -408 -105 -69 -39 -146 -99 -146 -113 0 -5 30 -24 68 -42 146 -70 323 -229 377 -340 25 -49 29 -70 29 -138 -1 -72 -5 -88 -39 -160 -36 -75 -54 -95 -265 -305 -134 -132 -270 -279 -331 -355 -339 -425 -552 -896 -626 -1390 -25 -165 -25 -549 0 -720 92 -645 368 -1196 826 -1655 322 -324 710 -562 1145 -704 389 -126 793 -172 1155 -130 235 27 377 63 579 149 205 87 268 86 423 -7 102 -62 231 -115 335 -138 247 -56 562 -26 794 74 92 40 244 136 232 146 -4 3 -26 12 -48 19 -86 28 -246 116 -385 211 -162 112 -284 182 -357 207 l-48 17 40 15 c185 70 436 223 595 363 438 386 695 1014 678 1663 l-3 120 -50 -70 c-64 -90 -248 -280 -350 -362 -171 -136 -366 -255 -645 -391 -288 -140 -442 -243 -590 -391 -136 -137 -247 -316 -325 -526 -47 -127 -114 -262 -160 -326 -79 -107 -237 -224 -384 -283 -136 -55 -355 -96 -514 -96 -274 0 -548 71 -832 215 -242 123 -375 216 -553 389 -175 171 -287 332 -361 517 -44 114 -63 216 -63 359 0 152 17 233 74 350 35 70 59 102 136 179 l95 94 21 -29 c55 -75 219 -277 277 -338 171 -183 337 -256 582 -256 56 0 126 -3 155 -7 53 -6 54 -7 76 -57 30 -66 97 -128 172 -156 151 -57 318 11 395 160 33 62 34 193 3 261 -30 64 -88 125 -148 157 -44 23 -63 27 -141 27 -78 0 -97 -4 -140 -27 -58 -30 -131 -105 -141 -142 -6 -25 -8 -26 -93 -26 -47 0 -131 5 -186 10 -87 8 -111 15 -182 51 -45 22 -109 66 -143 96 -59 53 -326 361 -319 367 14 11 179 47 241 52 102 9 177 -7 318 -66 158 -66 243 -89 357 -99 157 -12 413 5 582 40 l93 19 44 -39 c59 -52 135 -75 228 -69 117 8 212 72 262 176 23 47 28 71 28 138 0 70 -4 89 -29 138 -55 110 -145 167 -270 174 -65 3 -91 0 -137 -18 -107 -40 -183 -140 -195 -257 l-6 -52 -51 -11 c-104 -23 -285 -41 -411 -42 -149 -1 -211 12 -402 88 -186 74 -256 88 -403 81 -193 -8 -377 -70 -546 -182 -342 -228 -485 -611 -399 -1064 30 -157 119 -388 209 -541 20 -35 35 -64 33 -66 -8 -8 -111 108 -190 214 -154 206 -278 489 -324 737 -28 154 -25 492 6 635 46 216 133 391 256 514 82 82 161 128 271 156 152 39 300 23 529 -57 217 -76 308 -101 410 -114 137 -17 284 -7 426 30 272 70 414 145 809 425 217 153 399 238 610 283 64 14 129 18 265 18 197 0 269 -9 615 -76 461 -89 843 -149 952 -149 41 0 41 0 23 -20 -28 -31 -169 -119 -254 -158 -167 -77 -388 -145 -716 -222 -399 -93 -508 -128 -608 -194 -102 -68 -160 -160 -217 -346 -35 -115 -102 -286 -149 -378 -85 -168 -227 -341 -377 -458 -105 -82 -115 -107 -69 -162 29 -34 65 -44 109 -29 86 29 261 181 371 322 126 162 201 309 295 581 61 176 90 232 145 283 62 57 163 93 470 165 439 104 640 169 863 278 206 100 368 240 434 375 32 67 33 71 33 198 -1 120 -3 138 -34 229 -98 294 -319 655 -573 936 -381 421 -968 723 -1618 834 -448 76 -767 83 -1169 25 -80 -12 -165 -19 -190 -17 -26 3 -90 26 -146 53 -343 162 -576 233 -842 255 -114 9 -141 10 -248 3z m2926 -1227 c164 -27 346 -102 485 -202 181 -129 354 -348 354 -448 0 -64 -75 -126 -154 -126 -60 0 -63 4 -52 70 8 50 7 65 -9 100 -29 64 -74 93 -151 98 -54 4 -70 1 -107 -21 -42 -25 -61 -52 -91 -129 -25 -64 -55 -73 -246 -73 -121 0 -187 5 -248 18 -318 70 -556 242 -556 402 0 218 388 374 775 311z m-2249 -611 c119 -21 208 -50 321 -106 114 -56 177 -100 266 -184 67 -63 157 -173 148 -181 -2 -3 -61 18 -130 45 -131 52 -298 100 -427 122 -113 20 -367 17 -470 -4 -502 -106 -885 -433 -1160 -992 -70 -142 -160 -379 -160 -424 0 -9 -5 -23 -11 -31 -13 -19 -5 316 10 410 80 482 295 846 661 1117 145 107 350 197 522 228 100 18 326 18 430 0z m1485 -1456 c95 -36 119 -159 42 -223 -78 -66 -209 -1 -209 104 0 60 33 100 99 121 36 10 36 10 68 -2z m-591 -822 c29 -26 37 -42 40 -77 6 -54 -9 -86 -55 -117 -41 -28 -70 -29 -119 -4 -44 22 -62 55 -62 112 0 51 13 75 53 99 50 31 101 26 143 -13z"})})})})}),void 0===d?null:(0,t.jsx)("text",{x:"140",y:"172",textAnchor:"middle",fill:"#000",fontFamily:"var(--font-ui)",fontSize:u,fontWeight:"700",children:d}),void 0===c?null:(0,t.jsx)("text",{x:"140",y:"191",textAnchor:"middle",fill:"#000",fontFamily:"var(--font-ui)",fontSize:"11",fontWeight:"400",children:c})]})}),(0,t.jsx)("g",{ref:g,className:"empty-workspace-blob__group",children:(0,t.jsx)("path",{ref:m,className:"empty-workspace-blob__fill",mask:`url(#${h})`})})]})]});return void 0===l?(0,t.jsx)("div",{className:v,role:"img","aria-label":e,children:b}):(0,t.jsx)("button",{type:"button",className:v,"aria-label":i,"aria-describedby":f,onClick:y,children:b});}e.s(["EmptyWorkspaceBlob",0,function({onNewWindow:e}){let n=(0,i.useTranslate)();return(0,t.jsx)(o,{accessibleDescription:n("workspace.empty.description"),actionLabel:n("workspace.empty.openWindow"),title:n("workspace.empty.title"),subtitle:n("workspace.empty.subtitle"),onActivate:e});},"OrganicWorkspaceBubble",0,o,"emptyWorkspaceBlobPath",0,s]);},67914,e=>{"use strict";var t=e.i(43476),n=e.i(71645),i=e.i(74080),r=e.i(50850);function s(e){return e.findIndex(e=>!0!==e.disabled);}function o(e,t,n){if(0===e.length)return-1;for(let i of e.keys()){var _e$r;let r=(t+(i+1)*n+e.length)%e.length;if(((_e$r=e[r])===null||_e$r===void 0?void 0:_e$r.disabled)!==!0)return r;}return-1;}function a({active:e,index:r,onCommit:s,onOptionKeyDown:o,option:l,selected:c,setOptionRef:d}){let u=(0,n.useRef)(null),p=(0,n.useRef)(null),h=(0,n.useRef)(null),[f,m]=(0,n.useState)(null),g=()=>{null!==h.current&&(clearTimeout(h.current),h.current=null),m(null);},y=()=>{null!==h.current&&clearTimeout(h.current),h.current=setTimeout(()=>{let e=p.current,t=u.current;if(null===e||null===t||e.scrollWidth<=e.clientWidth)return;let n=t.getBoundingClientRect(),i=Math.min(520,window.innerWidth-32),r=n.right+8+i<=window.innerWidth-16?"top-left":"top-right";m({left:"top-left"===r?n.right+8:n.left-8,placement:r,top:n.top-6});},1500);};return(0,n.useEffect)(()=>g,[]),(0,t.jsxs)("button",{ref:e=>{u.current=e,d(r,e);},"aria-selected":c,className:`ksel-option${e?" ksel-option-active":""}`,"data-disabled":!0===l.disabled?"true":void 0,disabled:l.disabled,onBlur:g,onClick:()=>s(l),onFocus:y,onKeyDown:e=>o(e,r),onPointerEnter:y,onPointerLeave:g,role:"option",type:"button",children:[(0,t.jsxs)("span",{className:"ksel-option-copy",children:[(0,t.jsx)("span",{className:"ksel-option-label",ref:p,children:l.label}),void 0!==l.description?(0,t.jsx)("span",{className:"ksel-option-desc",children:l.description}):null]}),void 0!==l.badge?(0,t.jsx)("span",{className:"ksel-option-badge",children:l.badge}):null,null!==f?(0,i.createPortal)((0,t.jsx)("div",{className:"ksel-overflow-tooltip","data-placement":f.placement,role:"tooltip",style:{left:`${f.left.toString()}px`,top:`${f.top.toString()}px`},children:l.label}),document.body):null]});}function l({activeIndex:e,flatOptions:n,menuId:i,onCommit:r,onOptionKeyDown:s,section:o,sectionIndex:c,selectedIndex:d,setOptionRef:u}){let p=void 0!==o.label?`${i}-section-${c.toString()}`:void 0;return(0,t.jsxs)("div",{className:"ksel-section",role:void 0!==o.label?"group":"presentation","aria-labelledby":p,children:[void 0!==o.label?(0,t.jsx)("div",{className:"ksel-section-label",id:p,children:o.label}):null,o.options.map(i=>{var _o$label;let l=n.findIndex(e=>e.value===i.value&&e.sectionLabel===o.label),c=n[l];return void 0===c?null:(0,t.jsx)(a,{active:l===e,index:l,onCommit:r,onOptionKeyDown:s,option:c,selected:l===d,setOptionRef:u},`${(_o$label=o.label)!==null&&_o$label!==void 0?_o$label:"section"}-${i.value}`);})]});}function c({activeIndex:e,ariaLabel:n,flatOptions:r,menuClassName:s,menuCountLabel:o,menuId:a,menuLabel:d,menuRef:u,menuTitle:p,onCommit:h,onOptionKeyDown:f,placeholder:m,position:g,selectedIndex:y,sections:v,setOptionRef:b,showMenuHeader:w}){var _ref;return(0,i.createPortal)((0,t.jsxs)("div",{ref:u,className:["ksel-menu",g.attached?"ksel-menu-attached":"",g.openUp?"ksel-menu-open-up":"ksel-menu-open-down",s!==null&&s!==void 0?s:""].filter(e=>e.length>0).join(" "),style:{left:`${g.left.toString()}px`,top:`${g.top.toString()}px`,width:`${g.width.toString()}px`,"--ksel-option-height":`${g.optionHeight.toString()}px`,fontFamily:g.fontFamily,fontSize:g.fontSize,fontWeight:g.fontWeight,letterSpacing:g.letterSpacing,lineHeight:g.lineHeight},children:[w?(0,t.jsxs)("div",{className:"ksel-menu-head",children:[(0,t.jsx)("div",{className:"ksel-menu-title",children:(_ref=p!==null&&p!==void 0?p:n)!==null&&_ref!==void 0?_ref:m}),(0,t.jsx)("div",{className:"ksel-menu-note",children:o!==null&&o!==void 0?o:`${r.length.toString()} options`})]}):null,(0,t.jsx)("div",{className:"ksel-menu-scroll",role:"listbox",id:a,"aria-label":d,style:{maxHeight:`${g.maxHeight.toString()}px`},children:v.map((n,i)=>{var _n$label;return(0,t.jsx)(l,{activeIndex:e,flatOptions:r,menuId:a,onCommit:h,onOptionKeyDown:f,section:n,sectionIndex:i,selectedIndex:y,setOptionRef:b},`${(_n$label=n.label)!==null&&_n$label!==void 0?_n$label:"section"}-${i.toString()}`);})})]}),document.body);}e.s(["default",0,function({value:e,sections:i,onValueChange:a,onOpen:l,disabled:d=!1,placeholder:u,ariaLabel:p,ariaDescribedBy:h,ariaLabelledBy:f,triggerClassName:m,menuClassName:g,menuTitle:y,menuCountLabel:v,showMenuHeader:b=!0,leadingVisual:w,mono:k=!1,showChevron:S=!0,menuMinWidth:A,attached:x=!0,triggerStyle:E,autoFocus:R=!1}){var _H$label,_H$description,_ref2,_D$triggerClassName,_D$position;var D;let I=(0,r.useTranslate)(),_=(0,n.useRef)(null),T=(0,n.useRef)(null),j=(0,n.useRef)([]),L=(0,n.useId)(),[C,N]=(0,n.useState)(!1),[O,P]=(0,n.useState)(-1),[F,B]=(0,n.useState)(null),[G,q]=(0,n.useState)(!1),$=(0,n.useMemo)(()=>i.flatMap((e,t)=>e.options.map((n,i)=>{var _e$label;return{...n,key:`${(_e$label=e.label)!==null&&_e$label!==void 0?_e$label:"section"}-${t.toString()}-${n.value}-${i.toString()}`,sectionLabel:e.label};})),[i]),M=$.findIndex(t=>t.value===e),H=-1===M?null:$[M],U=u!==null&&u!==void 0?u:I("select.placeholder"),W=(_H$label=H===null||H===void 0?void 0:H.label)!==null&&_H$label!==void 0?_H$label:U,z=(_H$description=H===null||H===void 0?void 0:H.description)!==null&&_H$description!==void 0?_H$description:null,K=(_ref2=y!==null&&y!==void 0?y:p)!==null&&_ref2!==void 0?_ref2:U,V=()=>{N(!1),P(-1);},X=e=>{var _$$e,_$$M;if(d||0===$.length)return;let t=void 0!==e&&((_$$e=$[e])===null||_$$e===void 0?void 0:_$$e.disabled)!==!0?e:M>=0&&((_$$M=$[M])===null||_$$M===void 0?void 0:_$$M.disabled)!==!0?M:s($);N(!0),P(t),l===null||l===void 0?void 0:l();};function Z(e){var _$current;e.disabled||(a(e.value),V(),(_$current=_.current)===null||_$current===void 0?void 0:_$current.focus());}(0,n.useEffect)(()=>{if(!C)return;let e=e=>{let t=e.target;null!==_.current&&t instanceof Node&&_.current.contains(t)||null!==T.current&&t instanceof Node&&T.current.contains(t)||V();},t=()=>V();return window.addEventListener("pointerdown",e,!0),window.addEventListener("blur",t),()=>{window.removeEventListener("pointerdown",e,!0),window.removeEventListener("blur",t);};},[C]),(0,n.useLayoutEffect)(()=>{if(!C||null===_.current)return;let e=()=>{var _$current2;let e=(_$current2=_.current)===null||_$current2===void 0?void 0:_$current2.getBoundingClientRect();if(void 0===e)return;let t=Math.min(void 0!==A&&e.width<Math.min(A,96)?A:e.width,window.innerWidth-32),n=x&&1>Math.abs(t-e.width),i=n?-1:6,r=window.innerHeight-e.bottom-16,s=e.top-16,o=r<Math.max(96,2*e.height)&&s>r;q(o);let a=o?s:r,l=50*!!b+2,c=Math.max(e.height,Math.min(Math.max(e.height,a-l),380)),d=c+l,u=window.getComputedStyle(_.current);B({left:Math.min(Math.max(16,e.left),window.innerWidth-t-16),width:t,top:o?Math.max(16,e.top-d-i):Math.min(e.bottom+i,window.innerHeight-16-d),optionHeight:Math.max(28,Math.min(e.height,30)),maxHeight:c,openUp:o,attached:n,fontFamily:u.fontFamily,fontSize:u.fontSize,fontWeight:u.fontWeight,letterSpacing:u.letterSpacing,lineHeight:u.lineHeight});};return e(),window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0);};},[C,x,A,b]),(0,n.useLayoutEffect)(()=>{if(!C||null===F||!F.openUp||null===_.current||null===T.current)return;let e=_.current.getBoundingClientRect(),t=T.current.getBoundingClientRect();if(t.height<=0)return;let n=F.attached?-1:6,i=Math.max(16,e.top-t.height-n);.5>Math.abs(i-F.top)||B(e=>null===e?e:{...e,top:i});},[C,F]),(0,n.useEffect)(()=>{var _j$current$O,_j$current$O2;C&&!(O<0)&&((_j$current$O=j.current[O])!==null&&_j$current$O!==void 0&&_j$current$O.focus(),(_j$current$O2=j.current[O])===null||_j$current$O2===void 0?void 0:_j$current$O2.scrollIntoView({block:"nearest"}));},[C,O]),(0,n.useEffect)(()=>{if(!C)return;let e=e=>{if("Escape"===e.key){var _$current3;V(),(_$current3=_.current)===null||_$current3===void 0?void 0:_$current3.focus();return;}if(1===e.key.length&&!e.metaKey&&!e.ctrlKey&&!e.altKey){var t;if((t=e.target)instanceof HTMLElement&&("INPUT"===t.tagName||"TEXTAREA"===t.tagName||"SELECT"===t.tagName||t.isContentEditable))return;let n=function(e,t,n){for(let i=1;i<=e.length;i+=1){let r=(t+i)%e.length,s=e[r];if(void 0!==s&&!0!==s.disabled&&s.label.toLowerCase().startsWith(n))return r;}return-1;}($,O>=0?O:Math.max(M,0),e.key.toLowerCase());-1!==n&&P(n);}};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e);},[C,O,$,M]);let Y=["ksel-trigger",(D={disabled:d,mono:k,open:C,openUp:G,position:F,triggerClassName:m}).mono?"mono":"",(_D$triggerClassName=D.triggerClassName)!==null&&_D$triggerClassName!==void 0?_D$triggerClassName:"",D.open?"ksel-trigger-open":"",D.open&&((_D$position=D.position)===null||_D$position===void 0?void 0:_D$position.attached)===!0?D.openUp?"ksel-trigger-open-up":"ksel-trigger-open-down":"",D.disabled?"ksel-trigger-disabled":""].filter(e=>e.length>0).join(" "),J=C&&null!==F?(0,t.jsx)(c,{activeIndex:O,ariaLabel:p,flatOptions:$,menuClassName:g,menuCountLabel:v,menuId:L,menuLabel:K,menuRef:T,menuTitle:y,onCommit:Z,onOptionKeyDown:function(e,t){if("Escape"===e.key||"Tab"===e.key){var _$current4;e.preventDefault(),V(),(_$current4=_.current)===null||_$current4===void 0?void 0:_$current4.focus();return;}if("ArrowDown"===e.key){e.preventDefault(),P(o($,t,1));return;}if("ArrowUp"===e.key){e.preventDefault(),P(o($,t,-1));return;}if("Home"===e.key){e.preventDefault(),P(s($));return;}if("End"===e.key){e.preventDefault(),P(o($,0,-1));return;}if("Enter"===e.key||" "===e.key){e.preventDefault();let n=$[t];void 0!==n&&Z(n);}},placeholder:u,position:F,selectedIndex:M,sections:i,setOptionRef:(e,t)=>{j.current[e]=t;},showMenuHeader:b}):null;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{ref:_,"aria-controls":L,"aria-describedby":h,"aria-expanded":C,"aria-haspopup":"listbox","aria-label":p,"aria-labelledby":f,autoFocus:R,className:Y,disabled:d,onClick:()=>{C?V():X();},onKeyDown:function(e){if(!d){if("ArrowDown"===e.key||"ArrowUp"===e.key){e.preventDefault(),X(M>=0?M:s($));return;}("Enter"===e.key||" "===e.key)&&(e.preventDefault(),C?V():X());}},role:"combobox",style:E,type:"button",children:[void 0!==w?(0,t.jsx)("span",{className:"ksel-trigger-leading",children:w}):null,(0,t.jsxs)("span",{className:"ksel-trigger-copy",children:[(0,t.jsx)("span",{className:"ksel-trigger-label",children:W}),null!==z?(0,t.jsx)("span",{className:"ksel-trigger-desc",children:z}):null]}),S?(0,t.jsx)("span",{"aria-hidden":"true",className:`ksel-trigger-caret${C?" ksel-trigger-caret-open":""}`,children:(0,t.jsx)("svg",{fill:"none",height:"12",viewBox:"0 0 12 12",width:"12",children:(0,t.jsx)("path",{d:"M2.25 4.5 6 8.25 9.75 4.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})})}):null]}),J]});}]);},48268,64533,e=>{"use strict";let t,n;var i=e.i(71645),r=e.i(18829),s=e.i(95508);async function o(){return void 0!==t?t:n!==null&&n!==void 0?n:n=(0,s.fetchNativeFileDialogCapability)().then(e=>(t=e.supported,e.supported)).catch(()=>!1).finally(()=>{n=void 0;});}async function a(e){try{let t=await(0,s.openNativeFileDialog)(e);if(t.cancelled)return{kind:"cancelled"};return{kind:"picked",paths:t.selections.map(e=>e.path),rejectedCount:t.rejectedSelectionCount};}catch(e){if(e instanceof r.ApiError){if("NATIVE_DIALOG_ALREADY_OPEN"===e.code)return{kind:"busy"};if("NATIVE_DIALOG_UNSUPPORTED"===e.code)return{kind:"unsupported"};return{kind:"error",message:e.message};}return{kind:"error",message:"The native dialog request failed."};}}e.s(["nativeFileDialogSupported",0,o,"nativePathsToRootAndFiles",0,function(e){let t,n=e[0];if(void 0===n)return{rootPath:"",files:[]};let i=(t=Math.max(n.lastIndexOf("/"),n.lastIndexOf("\\")))>0?n.slice(0,t):n,r=i.length,s=e.map(e=>{let t=e.charAt(r);return e.startsWith(i)&&("/"===t||"\\"===t)?e.slice(r+1):e;});return{rootPath:i,files:s};},"pickWithNativeDialog",0,a],64533),e.s(["useNativeFileDialogCapability",0,function(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=!0;return o().then(n=>{e&&t(n);}),()=>{e=!1;};},[]),e;}],48268);},63096,e=>{"use strict";var t=e.i(71645),n=e.i(6675),i=e.i(13464),r=e.i(24541),s=e.i(29835);let o=[];e.s(["useRepositoryBranchState",0,function(e){var _p$response$branches,_p$response,_a,_a$branches$find$name,_a$branches$find;var a;let[l,c]=(0,t.useState)({root:null,response:null,loading:null!==e,error:null}),d=(0,t.useRef)(0),u=(0,t.useCallback)(async()=>{let t=d.current+=1;if(null===e)return void c({root:null,response:null,loading:!1,error:null});c(e=>({...e,loading:!0,error:null}));try{let i=await n.DEFAULT_GIT_CLIENT.listBranches(e);d.current===t&&c({root:e,response:i,loading:!1,error:null});}catch(n){d.current===t&&(c({root:e,response:null,loading:!1,error:"Git status could not be loaded."}),(0,r.reportClientDiagnostic)(`[keiko] repository branch status failed: ${(0,s.clientErrorSummary)(n)}`,{correlationId:(0,s.correlationIdOf)(n)}));}},[e]);(0,t.useEffect)(()=>(u(),()=>{d.current+=1;}),[u]),(0,t.useEffect)(()=>{if(null===e)return;let t=t=>{(0,i.gitRepositoryStateInvalidationRoots)(t).includes(e)&&u();};return window.addEventListener(i.GIT_REPOSITORY_STATE_INVALIDATED_EVENT,t),()=>window.removeEventListener(i.GIT_REPOSITORY_STATE_INVALIDATED_EVENT,t);},[u,e]);let p=l.root===e?l:{...l,response:null};return{...p,branches:(_p$response$branches=(_p$response=p.response)===null||_p$response===void 0?void 0:_p$response.branches)!==null&&_p$response$branches!==void 0?_p$response$branches:o,currentBranch:(a=p.response,((_a=a)===null||_a===void 0?void 0:_a.available)!==!0?null:(_a$branches$find$name=(_a$branches$find=a.branches.find(e=>e.current))===null||_a$branches$find===void 0?void 0:_a$branches$find.name)!==null&&_a$branches$find$name!==void 0?_a$branches$find$name:null),refresh:u};}]);},60865,e=>{"use strict";e.s(["NATIVE_BLOCK_STYLE",0,{display:"block"},"NATIVE_DIALOG_STYLE",0,{margin:0,position:"static"},"NATIVE_FIELDSET_RESET_STYLE",0,{margin:0,minWidth:0,padding:0,border:0},"NATIVE_FIELDSET_STYLE",0,{margin:0,minWidth:0},"NATIVE_HEADING_STYLE",0,{margin:0,fontWeight:"inherit"},"NATIVE_LIST_KEEP_PADDING_STYLE",0,{listStyle:"none",margin:0},"NATIVE_LIST_STYLE",0,{listStyle:"none",margin:0,padding:0}]);},64344,e=>{"use strict";var t=e.i(43476),n=e.i(71645),i=e.i(98729);let r="[A-Za-z0-9_.-]{1,255}",s=String.raw`(?:${r}\/){0,1000}${r}\.[A-Za-z0-9][A-Za-z0-9]{0,15}`,o=RegExp(String.raw`@?(${s})(?::(\d{1,7})(?:-(\d{1,7}))?)?`,"gu"),a=String.raw`@?${s}(?::\d{1,7}(?:-\d{1,7})?)?`,l=RegExp(String.raw`\[\s*(${a})\s*\]`,"giu"),c=String.raw`\[source:[^\]]+\]`,d=RegExp(String.raw`\[\s*(${a})\s*\]\s*(?:${c}\s*)?(${a})`,"giu"),u=RegExp(String.raw`(${a})\s+(?:${c}\s*)?(${a})`,"giu"),p=RegExp(c,"giu"),h=new Set(["astro","bash","c","cc","cjs","config","cpp","cs","css","csv","cts","go","gradle","h","hpp","htm","html","ini","java","js","json","jsonc","jsx","kt","kts","less","lock","lua","md","mdx","mjs","mts","php","py","rb","rs","sass","scala","scss","sh","sql","svelte","swift","toml","ts","tsx","txt","vue","xml","yaml","yml","zsh"]);function f(e){let t=e.length;for(;t>0&&"/"===e[t-1];)t-=1;return e.slice(0,t);}function m(e){return f(function(e){let t=0;for(;t<e.length&&"/"===e[t];)t+=1;return e.slice(t);}(e.replaceAll("\\","/")));}function g(e){var _e$lineStart$toString,_e$lineStart,_e$lineEnd$toString,_e$lineEnd;return null===e?null:[e.path.toLowerCase(),(_e$lineStart$toString=(_e$lineStart=e.lineStart)===null||_e$lineStart===void 0?void 0:_e$lineStart.toString())!==null&&_e$lineStart$toString!==void 0?_e$lineStart$toString:"",(_e$lineEnd$toString=(_e$lineEnd=e.lineEnd)===null||_e$lineEnd===void 0?void 0:_e$lineEnd.toString())!==null&&_e$lineEnd$toString!==void 0?_e$lineEnd$toString:""].join(":");}function y(e,t,n){let i=g(w(e)),r=g(w(t));return null!==i&&i===r?e:n;}function v(e){if(void 0===e)return;let t=Number.parseInt(e,10);return Number.isSafeInteger(t)&&t>0?t:void 0;}function b(e,t){var _e$,_e$2;let n=(_e$=e[0])!==null&&_e$!==void 0?_e$:"",i=e.index;if(!function(e,t,_e){if(t<=0)return!0;let n=(_e=e[t-1])!==null&&_e!==void 0?_e:"";return!/[A-Za-z0-9_./:@-]/u.test(n);}(t,i)||!function(e,t,_e$t){if(t>=e.length)return!0;let n=(_e$t=e[t])!==null&&_e$t!==void 0?_e$t:"";return!/[A-Za-z0-9_/:+-]/u.test(n);}(t,i+n.length))return null;let r=m((_e$2=e[1])!==null&&_e$2!==void 0?_e$2:"");if(!function(e,_n$at,_i$split$pop$toLowerC,_i$split$pop){let t=m(e);if(0===t.length||t!==e||t.startsWith(".")||t.includes("..")||!t.includes("."))return!1;let n=t.split("/");if(n.some(e=>0===e.length||"."===e||".."===e))return!1;let i=(_n$at=n.at(-1))!==null&&_n$at!==void 0?_n$at:"",r=(_i$split$pop$toLowerC=(_i$split$pop=i.split(".").pop())===null||_i$split$pop===void 0?void 0:_i$split$pop.toLowerCase())!==null&&_i$split$pop$toLowerC!==void 0?_i$split$pop$toLowerC:"";return h.has(r);}(r))return null;let s=v(e[2]),o=v(e[3]),a=void 0===s?void 0:Math.max(s,o!==null&&o!==void 0?o:s);return{label:n,path:r,...(void 0===s?{}:{lineStart:s}),...(void 0===a?{}:{lineEnd:a})};}function w(e){var _t$0$length,_t$3;o.lastIndex=0;let t=o.exec(e);return(t===null||t===void 0?void 0:t.index)!==0||((_t$0$length=(_t$3=t[0])===null||_t$3===void 0?void 0:_t$3.length)!==null&&_t$0$length!==void 0?_t$0$length:0)!==e.length?null:b(t,e);}function k(e){var _f$split$filter$at;return(_f$split$filter$at=f(e.replaceAll("\\","/")).split("/").filter(e=>e.length>0).at(-1))!==null&&_f$split$filter$at!==void 0?_f$split$filter$at:e;}function S(e){var _e$path$split$filter$;let t=(_e$path$split$filter$=e.path.split("/").filter(Boolean).pop())!==null&&_e$path$split$filter$!==void 0?_e$path$split$filter$:e.path;return void 0===e.lineStart?t:void 0===e.lineEnd||e.lineEnd===e.lineStart?`${t}:${String(e.lineStart)}`:`${t}:${String(e.lineStart)}-${String(e.lineEnd)}`;}function A(e){return f(e.replaceAll("\\","/")).split("/").filter(e=>e.length>0).slice(-2).join("/");}e.s(["RepositoryReferenceInline",0,function({reference:e,roots:r,openReference:s,className:o="repo-ref-link"}){var a;let l,c,[d,u]=(0,n.useState)("idle"),[p,h]=(0,n.useState)(""),f=(a=(0,n.useCallback)(()=>{u("idle"),h("");},[]),l=(0,n.useRef)(void 0),c=(0,n.useCallback)(()=>{void 0!==l.current&&(window.clearTimeout(l.current),l.current=void 0);},[]),(0,n.useEffect)(()=>c,[c]),(0,n.useCallback)(e=>{c(),l.current=window.setTimeout(()=>{l.current=void 0,a();},e);},[a,c])),g=(0,n.useMemo)(()=>{let e=new Set(),t=[];for(let n of r){let i=n.root.trim();if(0===i.length||e.has(i))continue;e.add(i);let r=n.label.trim();t.push({root:i,label:r.length>0?r:k(i)});}return t;},[r]),y=(0,n.useMemo)(()=>g.filter(t=>{var _m$split$;var n;let i,r;return n=e.path,null===(r=void 0===(i=(_m$split$=m(n).split("/")[0])===null||_m$split$===void 0?void 0:_m$split$.toLocaleLowerCase())||0===i.length?null:g.some(e=>k(e.root).toLocaleLowerCase()===i)?i:null)||k(t.root).toLocaleLowerCase()===r;}).map(t=>{var n,i;let r,s;return{...t,openPath:(n=e.path,i=t.root,r=m(n),(s=m(k(i))).length>0&&r.startsWith(`${s}/`)?r.slice(s.length+1):r)};}).sort((e,t)=>e.openPath.length-t.openPath.length||e.root.localeCompare(t.root)),[e,g]),v=(0,n.useMemo)(()=>{let e=y[0];return void 0===e?[]:y.filter(t=>t.openPath.length===e.openPath.length);},[y]),b=(0,n.useCallback)(t=>{if(void 0===s)return;let n=t.openPath;u("opening"),h(`Opening ${n}…`);let i=s({root:t.root,path:n,...(void 0===e.lineStart?{}:{lineStart:e.lineStart}),...(void 0===e.lineEnd?{}:{lineEnd:e.lineEnd})});if(i.ok){u("opened"),h(`Opened ${n} in editor.`),f(1800);return;}u("failed"),h(i.message);},[s,e,f]),w=(0,n.useCallback)(()=>{if(void 0===s||0===g.length){u("failed"),h("Connect a Files window to open repository references.");return;}if(0===y.length){u("failed"),h("This repository reference does not match any connected source.");return;}if(1===v.length){let e=v[0];void 0!==e&&b(e);return;}u(e=>"choosing"===e?"idle":"choosing"),h("Select a repository source.");},[v,b,s,y.length,g.length]),x=(0,n.useCallback)(e=>{if("Escape"===e.key){u("idle"),h("");return;}("Enter"===e.key||" "===e.key)&&(e.preventDefault(),w());},[w]);if(void 0===s)return(0,t.jsx)("span",{title:e.label,children:S(e)});let E="failed"===d;return(0,t.jsxs)("span",{className:"repo-ref",children:[(0,t.jsxs)("button",{type:"button",className:o,"aria-label":`Open ${e.path}${void 0===e.lineStart?"":void 0===e.lineEnd||e.lineEnd===e.lineStart?` at line ${String(e.lineStart)}`:` at lines ${String(e.lineStart)}-${String(e.lineEnd)}`} in editor`,"aria-expanded":v.length>1?"choosing"===d:void 0,"data-state":d,title:e.label,onClick:w,onKeyDown:x,children:[(0,t.jsx)("span",{className:"repo-ref-file-icon","aria-hidden":"true",children:(0,t.jsx)(i.FileIcon,{name:e.path})}),(0,t.jsx)("span",{children:S(e)})]}),"choosing"===d?(0,t.jsx)("span",{className:"repo-ref-picker",role:"dialog","aria-label":"Select repository source",children:v.map(e=>(0,t.jsxs)("button",{type:"button",className:"repo-ref-root",onClick:()=>b(e),children:[(0,t.jsx)("span",{children:e.label}),A(e.root)===e.label?null:(0,t.jsx)("span",{className:"repo-ref-root-path",children:A(e.root)})]},e.root))}):null,p.length>0?(0,t.jsx)("span",{role:E?"alert":"status",className:"repo-ref-status",children:p}):null]});},"parseExactRepositoryReference",0,w,"repositoryReferenceRoots",0,function(e){let t=new Set(),n=[];for(let i of e){let e=i.trim();0===e.length||t.has(e)||(t.add(e),n.push({root:e,label:k(e)}));}return n;},"repositoryReferenceTextParts",0,function(e){let t=[],n=0;for(o.lastIndex=0;;){var _i$0$length,_i$;let i=o.exec(e);if(null===i)break;let r=b(i,e);null!==r&&(i.index>n&&t.push({kind:"text",text:e.slice(n,i.index)}),t.push({kind:"reference",reference:r}),n=i.index+((_i$0$length=(_i$=i[0])===null||_i$===void 0?void 0:_i$.length)!==null&&_i$0$length!==void 0?_i$0$length:0));}return 0===n?[{kind:"text",text:e}]:(n<e.length&&t.push({kind:"text",text:e.slice(n)}),t);},"sanitizeRepositoryEvidenceText",0,function(e){return e.replace(d,(e,t,n)=>y(t,n,e.replace(p,""))).replace(u,(e,t,n)=>y(t,n,e.replace(p,""))).replace(l,(e,t)=>null===w(t)?e:t).replace(p,"").replace(/[ \t]{2,}/gu," ").replace(/[ \t]([,.;:!?])/gu,"$1");}]);},81984,e=>{"use strict";var t=e.i(71645),n=e.i(50850);let i={en:{"chat.codeApply.action":"Apply to editor","chat.codeApply.preparing":"Preparing","chat.codeApply.queued":"Queued for review","chat.codeApply.conflict":"Conflict: {code}","chat.codeApply.unavailable":"Editor unavailable","chat.codeApply.outcomeUnknown":"Outcome unknown","chat.codeApply.outcomeUnknownStatus":"Outcome unknown. Check the editor.","chat.creation.openFailed":"Could not open chat.","chat.creation.titleSaveFailed":"The chat opened, but its title could not be saved.","chat.restoration.opening":"Opening chat...","chat.restoration.notFoundTitle":"Chat not found","chat.restoration.notFoundBody":"This conversation was deleted or is no longer available.","chat.restoration.chooseLabel":"Conversations this window may have shown","chat.restoration.chooseBody":"This window's saved conversation cannot be identified. If it is one of these, open it here:","chat.restoration.chooseOpen":"Open {title}, last active {updated}","chat.restoration.chooseOpenReference":"{label}, reference {reference}","chat.restoration.choiceNotice":"You chose this conversation for this window. Keep it, or choose another if it is not the one this window showed.","chat.restoration.choicePendingNotice":"You chose this conversation for this window. Check it once it opens, or choose another.","chat.restoration.choiceMissingNotice":"The conversation you chose for this window is no longer available.","chat.restoration.choiceKeep":"Keep","chat.restoration.choiceAnother":"Choose another","editor.askSelection.selectText":"Select text in the active editor before asking Keiko.","editor.askSelection.chatUnavailable":"Chat is unavailable for this workspace.","editor.askSelection.openFailed":"Could not open chat for this selection.","editor.agentReview.ready":"Editor changes are ready for review.","editor.agentReview.applying":"Confirming the editor review.","editor.agentReview.rejected":"The editor changes were rejected.","editor.agentReview.timedOut":"The editor review expired. Request the change again.","editor.agentReview.conflict":"The editor review conflicts with the current target.","editor.agentReview.failed":"The editor review was not completed.","editor.agentReview.unexpectedSuccess":"The editor review ended without a matching local decision.","editor.agentReview.stale":"The editor changed during review. No local changes were applied.","editor.agentReview.reconcileFailed":"The committed changes could not be refreshed in the editor.","editor.agentReview.unconfirmed":"The review decision was not accepted. No local changes were applied.","editor.agentReview.awaitingResult":"The review result is unknown. Waiting for authoritative editor status.","editor.rename.incomplete":"Incomplete rename: only {files} of {totalFiles} file(s) and {edits} of {totalEdits} reference(s) were returned. Applying it would rename part of the symbol and leave the rest pointing at the old name, so Apply is disabled. Rename the symbol in a narrower scope and try again.","editor.rename.incompleteUnreadable":"{count} file(s) could not be read and carry no changes.","editor.rename.incompleteRefused":"This rename is incomplete and was not applied.","conflict.title.dirty":"Unsaved changes conflict","conflict.title.versionMismatch":"File version mismatch","conflict.title.contentHashMismatch":"File content mismatch","conflict.title.invalidEdits":"Invalid agent edits","conflict.title.outOfScope":"Action out of scope","conflict.title.noActiveSession":"No active editor session","conflict.title.noActiveBridge":"No live editor bridge","conflict.title.preconditionRequired":"Missing write precondition","conflict.title.policyDenied":"Action denied by policy","conflict.title.approvalRequired":"Action approval required","conflict.reload":"Reload","presence.detached":"Agent not attached - no recent activity","presence.idle":"Agent attached - idle","presence.active.one":"Agent attached - 1 action in progress","presence.active.many":"Agent attached - {count} actions in progress","presence.review.active":"Agent attached - review required","presence.review.idle":"Agent review required - no recent activity","actions.panelLabel":"Recent agent editor actions","actions.title":"Recent agent actions","actions.filterGroup":"Filter recent agent actions","actions.filter.actionType":"Action type","actions.filter.disposition":"Disposition","actions.filter.timeRange":"Time range","actions.action.all":"All action types","actions.action.openFile":"Open file","actions.action.focusTab":"Focus tab","actions.action.moveTab":"Move tab","actions.action.splitPane":"Split pane","actions.action.setSelection":"Set selection","actions.action.format":"Format","actions.action.save":"Save","actions.action.applyTextEdits":"Apply text edits","actions.action.applyPatch":"Apply patch","actions.action.applyChangeset":"Apply changeset","actions.action.requestVerification":"Request verification","actions.disposition.all":"All dispositions","actions.disposition.allowed":"Allowed","actions.disposition.reviewRequired":"Review required","actions.disposition.denied":"Denied","actions.timeRange.all":"All time","actions.timeRange.pastHour":"Past hour","actions.timeRange.pastDay":"Past 24 hours","actions.timeRange.pastWeek":"Past 7 days","actions.loadError":"Unable to load recent agent actions.","actions.empty":"No recent agent editor actions.","actions.noMatch":"No agent editor actions match the current filters.","actions.rowTarget":" on {path}","actions.rowReason":" ({reason})","actions.rowSummary":"{action}{target}: {disposition}, {outcome}{reason}"},de:{"chat.codeApply.action":"Im Editor anwenden","chat.codeApply.preparing":"Wird vorbereitet","chat.codeApply.queued":"Zur Prüfung vorgemerkt","chat.codeApply.conflict":"Konflikt: {code}","chat.codeApply.unavailable":"Editor nicht verfügbar","chat.codeApply.outcomeUnknown":"Ergebnis unbekannt","chat.codeApply.outcomeUnknownStatus":"Ergebnis unbekannt. Prüfe den Editor.","chat.creation.openFailed":"Der Chat konnte nicht geöffnet werden.","chat.creation.titleSaveFailed":"Der Chat wurde geöffnet, aber sein Titel konnte nicht gespeichert werden.","chat.restoration.opening":"Der Chat wird geöffnet…","chat.restoration.notFoundTitle":"Chat nicht gefunden","chat.restoration.notFoundBody":"Diese Unterhaltung wurde gelöscht oder ist nicht mehr verfügbar.","chat.restoration.chooseLabel":"Unterhaltungen, die dieses Fenster gezeigt haben könnte","chat.restoration.chooseBody":"Die gespeicherte Unterhaltung dieses Fensters lässt sich nicht bestimmen. Falls es eine dieser ist, öffne sie hier:","chat.restoration.chooseOpen":"{title} öffnen, zuletzt aktiv am {updated}","chat.restoration.chooseOpenReference":"{label}, Referenz {reference}","chat.restoration.choiceNotice":"Du hast diese Unterhaltung für dieses Fenster gewählt. Behalte sie, oder wähle eine andere, falls es nicht die ist, die dieses Fenster gezeigt hat.","chat.restoration.choicePendingNotice":"Du hast diese Unterhaltung für dieses Fenster gewählt. Prüfe sie, sobald sie geöffnet ist, oder wähle eine andere.","chat.restoration.choiceMissingNotice":"Die Unterhaltung, die du für dieses Fenster gewählt hast, ist nicht mehr verfügbar.","chat.restoration.choiceKeep":"Behalten","chat.restoration.choiceAnother":"Andere wählen","editor.askSelection.selectText":"Wähle Text im aktiven Editor aus, bevor du Keiko fragst.","editor.askSelection.chatUnavailable":"Der Chat ist für diesen Arbeitsbereich nicht verfügbar.","editor.askSelection.openFailed":"Der Chat für diese Auswahl konnte nicht geöffnet werden.","editor.agentReview.ready":"Editor-Änderungen können geprüft werden.","editor.agentReview.applying":"Die Editor-Prüfung wird bestätigt.","editor.agentReview.rejected":"Die Editor-Änderungen wurden abgelehnt.","editor.agentReview.timedOut":"Die Editor-Prüfung ist abgelaufen. Fordere die Änderung erneut an.","editor.agentReview.conflict":"Die Editor-Prüfung steht im Konflikt mit dem aktuellen Ziel.","editor.agentReview.failed":"Die Editor-Prüfung wurde nicht abgeschlossen.","editor.agentReview.unexpectedSuccess":"Die Editor-Prüfung endete ohne passende lokale Entscheidung.","editor.agentReview.stale":"Der Editor wurde während der Prüfung geändert. Es wurden keine lokalen Änderungen angewendet.","editor.agentReview.reconcileFailed":"Die übernommenen Änderungen konnten im Editor nicht aktualisiert werden.","editor.agentReview.unconfirmed":"Die Prüfentscheidung wurde nicht akzeptiert. Es wurden keine lokalen Änderungen angewendet.","editor.agentReview.awaitingResult":"Das Prüfungsergebnis ist unbekannt. Der Editor wartet auf einen verbindlichen Status.","editor.rename.incomplete":"Unvollständige Umbenennung: Es wurden nur {files} von {totalFiles} Datei(en) und {edits} von {totalEdits} Verweis(en) zurückgegeben. Beim Anwenden würde nur ein Teil des Symbols umbenannt, der Rest würde weiter auf den alten Namen verweisen. Anwenden ist deshalb deaktiviert. Benenne das Symbol in einem kleineren Bereich um.","editor.rename.incompleteUnreadable":"{count} Datei(en) konnten nicht gelesen werden und enthalten keine Änderungen.","editor.rename.incompleteRefused":"Diese Umbenennung ist unvollständig und wurde nicht angewendet.","conflict.title.dirty":"Konflikt mit ungespeicherten Änderungen","conflict.title.versionMismatch":"Abweichende Dateiversion","conflict.title.contentHashMismatch":"Abweichender Dateiinhalt","conflict.title.invalidEdits":"Ungültige Agentenänderungen","conflict.title.outOfScope":"Aktion außerhalb des zulässigen Bereichs","conflict.title.noActiveSession":"Keine aktive Editorsitzung","conflict.title.noActiveBridge":"Keine aktive Editorverbindung","conflict.title.preconditionRequired":"Schreibvorbedingung fehlt","conflict.title.policyDenied":"Aktion durch Richtlinie abgelehnt","conflict.title.approvalRequired":"Aktion muss genehmigt werden","conflict.reload":"Neu laden","presence.detached":"Agent nicht verbunden - keine aktuelle Aktivität","presence.idle":"Agent verbunden - inaktiv","presence.active.one":"Agent verbunden - 1 Aktion in Bearbeitung","presence.active.many":"Agent verbunden - {count} Aktionen in Bearbeitung","presence.review.active":"Agent verbunden - Prüfung erforderlich","presence.review.idle":"Prüfung erforderlich - keine aktuelle Aktivität","actions.panelLabel":"Letzte Agentenaktionen im Editor","actions.title":"Letzte Agentenaktionen","actions.filterGroup":"Letzte Agentenaktionen filtern","actions.filter.actionType":"Aktionstyp","actions.filter.disposition":"Einstufung","actions.filter.timeRange":"Zeitraum","actions.action.all":"Alle Aktionstypen","actions.action.openFile":"Datei öffnen","actions.action.focusTab":"Tab fokussieren","actions.action.moveTab":"Tab verschieben","actions.action.splitPane":"Bereich teilen","actions.action.setSelection":"Auswahl setzen","actions.action.format":"Formatieren","actions.action.save":"Speichern","actions.action.applyTextEdits":"Textänderungen anwenden","actions.action.applyPatch":"Patch anwenden","actions.action.applyChangeset":"Änderungssatz anwenden","actions.action.requestVerification":"Verifizierung anfordern","actions.disposition.all":"Alle Einstufungen","actions.disposition.allowed":"Zugelassen","actions.disposition.reviewRequired":"Prüfung erforderlich","actions.disposition.denied":"Abgelehnt","actions.timeRange.all":"Gesamter Zeitraum","actions.timeRange.pastHour":"Letzte Stunde","actions.timeRange.pastDay":"Letzte 24 Stunden","actions.timeRange.pastWeek":"Letzte 7 Tage","actions.loadError":"Letzte Agentenaktionen konnten nicht geladen werden.","actions.empty":"Keine letzten Agentenaktionen im Editor.","actions.noMatch":"Keine Agentenaktion entspricht den aktuellen Filtern.","actions.rowTarget":" in {path}","actions.rowReason":" ({reason})","actions.rowSummary":"{action}{target}: {disposition}, {outcome}{reason}"}};e.s(["useEditorAgentTranslate",0,function(){let e=(0,n.useLocale)();return(0,t.useCallback)((t,n)=>function(e,t={}){return e.replace(/\{(\w+)\}/gu,(e,n)=>{let i=t[n];return void 0===i?e:String(i);});}(i[e][t],n),[e]);}]);},6675,e=>{"use strict";var t=e.i(71645),n=e.i(18829),i=e.i(95508),r=e.i(58773),s=e.i(13464);function o(e){return async(...t)=>(await(0,r.codingAppSessionPairingSettled)(),e(...t));}let a={listRepositories:o(i.fetchProjects),registerRepository:i.createProject,reconnectRepository:i.reconnectProject,cloneRepository:i.cloneRepository,listBranches:o(i.fetchGitBranches),getSummary:o(i.fetchGitSummary),getHistory:o(i.fetchGitHistory),getRemotes:o(i.fetchGitRemotes),getStatus:o(i.fetchGitStatus),getDiff:o(i.fetchGitDiff),getStructuredDiff:o(i.fetchGitStructuredDiff),branchCreate:i.fetchGitDeliveryLocalBranchCreate,branchSwitch:i.fetchGitDeliveryLocalBranchSwitch,stage:i.fetchGitDeliveryStage,unstage:i.fetchGitDeliveryUnstage,commitPreview:i.fetchGitDeliveryCommitPreview,commitDraft:i.fetchGitDeliveryCommitDraft,commitExecute:i.fetchGitDeliveryCommitExecute,commitPropose:i.proposeCommit,syncPreview:i.fetchGitDeliverySyncPreview,syncExecute:i.proposeGitDeliverySync,pushPreview:i.fetchGitDeliveryPushPreview,pushExecute:i.fetchGitDeliveryPushExecute,pushPropose:i.proposePush,prPreview:i.fetchGitDeliveryPrPreview,prApprove:i.fetchGitDeliveryPrApprove,prExecute:i.fetchGitDeliveryPrExecute,prDescriptionPreview:i.fetchGitDeliveryPrDescriptionPreview,prDescriptionApprove:i.fetchGitDeliveryPrDescriptionApprove,prDescriptionApply:i.fetchGitDeliveryPrDescriptionApply,prDescriptionStatus:i.fetchGitDeliveryPrDescriptionStatus,mergePreview:i.fetchGitDeliveryMergePreview,mergeApprove:i.fetchGitDeliveryMergeApprove,mergeExecute:i.fetchGitDeliveryMergeExecute},l={"empty-subject":"The subject line is empty","missing-conventional-prefix":"Missing a conventional-commit type prefix","disallowed-type":"The commit type is not allowed","subject-too-long":"The subject line is too long","missing-issue-key":"Missing the required issue key","missing-signoff":"Missing the Signed-off-by trailer"};function c(e){return e instanceof n.ApiError?`${e.message} (${e.code})`:e instanceof Error?e.message:"An unexpected error occurred.";}e.s(["DEFAULT_GIT_CLIENT",0,a,"STATUS_LABEL",0,{succeeded:"Succeeded",blocked:"Blocked","approval-required":"Approval required",failed:"Failed","recovery-required":"Recovery required"},"formatGitError",0,c,"useGitActions",0,function(e,n,i){let r=function(e,n){let[i,r]=(0,t.useState)({busy:!1,outcome:null,error:null}),o=(0,t.useRef)(0);return{flow:i,runMutation:(0,t.useCallback)(t=>{let i=o.current+1;o.current=i,r({busy:!0,outcome:null,error:null}),t().then(t=>{("succeeded"===t.status||"failed"===t.status||"recovery-required"===t.status)&&(0,s.notifyGitRepositoryStateInvalidated)(e,n),o.current===i&&r({busy:!1,outcome:t,error:null});},e=>{o.current===i&&r({busy:!1,outcome:null,error:c(e)});});},[e,n]),resetFlow:(0,t.useCallback)(()=>{o.current+=1,r({busy:!1,outcome:null,error:null});},[])};}(n,i),o=function(e,n){let[i,r]=(0,t.useState)(null),[s,o]=(0,t.useState)(null),[a,l]=(0,t.useState)(null),[d,u]=(0,t.useState)(null),p=(0,t.useRef)(0);return{preview:i,previewDraft:s,previewRequestRevision:a,previewError:d,runPreview:(0,t.useCallback)((t,i)=>{let s=p.current+1;p.current=s,r(null),o(null),l(null),u(null),e.commitPreview({projectId:n,messageDraft:t}).then(e=>{p.current===s&&(r(e),o(t),l(i!==null&&i!==void 0?i:null));},e=>{p.current===s&&(r(null),o(null),l(null),u(c(e)));});},[e,n]),resetPreview:(0,t.useCallback)(()=>{p.current+=1,r(null),o(null),l(null),u(null);},[])};}(e,n),{resetFlow:a}=r,{resetPreview:l}=o,d=(0,t.useCallback)(()=>{a(),l();},[a,l]);return{flow:r.flow,preview:o.preview,previewDraft:o.previewDraft,previewRequestRevision:o.previewRequestRevision,previewError:o.previewError,runMutation:r.runMutation,runPreview:o.runPreview,reset:d};},"violationLabel",0,function(e){return l[e];}]);},13464,e=>{"use strict";let t="keiko:git-repository-state-invalidated";e.s(["GIT_REPOSITORY_STATE_INVALIDATED_EVENT",0,t,"gitRepositoryStateInvalidationRoots",0,function(e){let t=function(e){if(!(e instanceof CustomEvent)||"object"!=typeof e.detail||null===e.detail)return null;let t=e.detail.root;return"string"==typeof t&&t.length>0?t:null;}(e);if(null===t)return[];let n=e.detail.repositoryRoot;return"string"!=typeof n||0===n.length||n===t?[t]:[t,n];},"notifyGitRepositoryStateInvalidated",0,function(e,n){0!==e.length&&window.dispatchEvent(new CustomEvent(t,{detail:{root:e,...(void 0!==n&&n.length>0&&n!==e?{repositoryRoot:n}:{})}}));}]);},14664,e=>{"use strict";var t=e.i(97633);let n=t.GIT_EDITOR_DIFF_MAX_BYTES,i=t.GIT_EDITOR_DIFF_MAX_FILES,r="(unknown)";function s(e){return e.startsWith("a/")||e.startsWith("b/")?e.slice(2):e;}function o(e){return{path:e,layer:"worktree",status:"modified",binary:!1,hunks:[],addedLines:0,removedLines:0,truncated:!1};}function a(e){null!==e.current&&null!==e.currentHunk&&e.currentHunk.lines.some(({kind:e})=>"add"===e||"del"===e)&&e.current.hunks.push(e.currentHunk),e.currentHunk=null;}function l(e){a(e),null!==e.current&&(e.files.length<i?e.files.push(e.current):e.truncated=!0),e.current=null;}e.s(["parseUnifiedDiff",0,function(e){let t,i=new TextEncoder().encode(e).byteLength;if(0===e.length)return{files:[],truncated:!1,totalBytes:0};let{input:c,truncated:d,byteTruncated:u}=function(e,t){if(t<=n)return{input:e,truncated:!1,byteTruncated:!1};let i=new TextEncoder().encode(e),r=new TextDecoder().decode(i.slice(0,n)),s=r.lastIndexOf("\n");return{input:-1===s?r:r.slice(0,s+1),truncated:!0,byteTruncated:!0};}(e,i),p=""===(t=c.split("\n")).at(-1)?t.slice(0,-1):t,h={files:[],current:null,currentHunk:null,oldLine:0,newLine:0,truncated:d},f=0;for(;f<p.length;){var _p$f;!function(e,t){!(function(e,t){if(!e.startsWith("diff --git "))return!1;l(t);let n=/^diff --git a\/(.+?) b\/(.+)$/.exec(e);if((n===null||n===void 0?void 0:n[1])!==void 0&&(n===null||n===void 0?void 0:n[2])!==void 0){let e=n[1],i=n[2],r=s(`b/${i}`),a=s(`a/${e}`),l=o(r);a!==r&&(l.oldPath=a,l.status="renamed"),t.current=l;}return!0;}(e,t)||function(e,t){var n,i,r,s,o;let l=t.currentHunk;if(null===l)return!1;if(l.oldRemaining<=0&&l.newRemaining<=0&&(e.startsWith("--- ")||e.startsWith("+++ ")||e.startsWith("diff --git ")))return a(t),!1;let c=(n=e,i=t,n.startsWith("+")?{kind:"add",oldLine:null,newLine:i.newLine,text:n.slice(1)}:n.startsWith("-")?{kind:"del",oldLine:i.oldLine,newLine:null,text:n.slice(1)}:n.startsWith(String.raw`\ `)?{kind:"meta",oldLine:null,newLine:null,text:n}:n.startsWith(" ")||""===n?{kind:"ctx",oldLine:i.oldLine,newLine:i.newLine,text:n.startsWith(" ")?n.slice(1):n}:null);return null!==c&&(r=t,s=l,o=c,s.lines.push(o),("add"===o.kind||"ctx"===o.kind)&&(s.newRemaining--,r.newLine++),("del"===o.kind||"ctx"===o.kind)&&(s.oldRemaining--,r.oldLine++),null!==r.current&&("add"===o.kind&&r.current.addedLines++,"del"===o.kind&&r.current.removedLines++),!0);}(e,t)||function(e,t){if(!e.startsWith("--- "))return!1;let n=e.slice(4),i="/dev/null"===n;if(null===t.current||t.current.hunks.length>0){l(t);let e=o(i?r:s(n));return i&&(e.status="added"),t.current=e,!0;}if(i)return t.current.status="added",!0;let a=s(n);return a!==t.current.path&&(t.current.oldPath=a,t.current.status="renamed"),!0;}(e,t)||function(e,t){if(!e.startsWith("+++ "))return!1;let n=e.slice(4);return"/dev/null"!==n&&null!==t.current?t.current.path=s(n):"/dev/null"!==n?(l(t),t.current=o(s(n))):null!==t.current&&(t.current.status="deleted"),!0;}(e,t))&&!function(e,t,_t$current,_n,_n2,_n$,_i$oldStart,_i$newStart,_i$oldCount,_i$newCount){let n;if(!e.startsWith("@@ "))return!1;(_t$current=t.current)!==null&&_t$current!==void 0?_t$current:t.current=o(r),a(t);let i=(n=/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/.exec(e),((_n=n)===null||_n===void 0?void 0:_n[1])===void 0||((_n2=n)===null||_n2===void 0?void 0:_n2[3])===void 0?null:{oldStart:Number.parseInt(n[1],10),oldCount:void 0===n[2]?1:Number.parseInt(n[2],10),newStart:Number.parseInt((_n$=n[3])!==null&&_n$!==void 0?_n$:"1",10),newCount:void 0===n[4]?1:Number.parseInt(n[4],10)}),s=(_i$oldStart=i===null||i===void 0?void 0:i.oldStart)!==null&&_i$oldStart!==void 0?_i$oldStart:1,l=(_i$newStart=i===null||i===void 0?void 0:i.newStart)!==null&&_i$newStart!==void 0?_i$newStart:1,c=(_i$oldCount=i===null||i===void 0?void 0:i.oldCount)!==null&&_i$oldCount!==void 0?_i$oldCount:1,d=(_i$newCount=i===null||i===void 0?void 0:i.newCount)!==null&&_i$newCount!==void 0?_i$newCount:1;return t.oldLine=s,t.newLine=l,t.currentHunk={header:e,oldStart:s,oldCount:c,newStart:l,newCount:d,oldRemaining:c,newRemaining:d,lines:[],truncated:!1},!0;}(e,t)&&null!==t.current&&(/^Binary files .+ differ$/u.test(e)||"GIT binary patch"===e)&&(t.current.binary=!0);}((_p$f=p[f])!==null&&_p$f!==void 0?_p$f:"",h),f++;}return l(h),u&&function(e){let t=e.at(-1);if(void 0!==t){t.truncated=!0;let e=t.hunks.at(-1);void 0!==e&&(e.truncated=!0);}}(h.files),{files:h.files,truncated:h.truncated,totalBytes:i};}]);},11257,e=>{"use strict";var _s$default$cmpSelect;var t=e.i(43476),n=e.i(24541),i=e.i(60865),r=e.i(26222),s=e.i(98391);let o=(_s$default$cmpSelect=s.default["cmp-selectable-text-chrome"])!==null&&_s$default$cmpSelect!==void 0?_s$default$cmpSelect:"";function a({tokens:e}){let n=new Map();return(0,t.jsx)(t.Fragment,{children:e.map(e=>{var _n$get;let i=`${e[0]}:${e[1]}`,r=(_n$get=n.get(i))!==null&&_n$get!==void 0?_n$get:0;return n.set(i,r+1),(0,t.jsx)("span",{className:`hl-${e[0]}`,children:e[1]},`${i}:${String(r)}`);})});}function l({line:e,lang:n,kindLabel:i,labels:s}){var _s$addedLine,_s$deletedLine,_s$contextLine,_s$metadataLine,_e$oldLine,_e$newLine;var c,d;let u,p="add"===(c=e.kind)?"+":"del"===c?"−":"ctx"===c?"·":"",h="ctx"===e.kind?"":` rv-${e.kind}`;if("meta"!==e.kind&&"code"!==n){var _2;let i=(_2=(0,r.highlightLines)(e.text,(0,r.langOf)(n))[0])!==null&&_2!==void 0?_2:[];u=(0,t.jsx)(a,{tokens:i});}else u=e.text;return(0,t.jsxs)("div",{className:`rv-line${h}`,children:[(0,t.jsx)("span",{className:`rv-sr-only ${o}`,children:i!==null&&i!==void 0?i:(d=e.kind,"add"===d?(_s$addedLine=s===null||s===void 0?void 0:s.addedLine)!==null&&_s$addedLine!==void 0?_s$addedLine:"Added line":"del"===d?(_s$deletedLine=s===null||s===void 0?void 0:s.deletedLine)!==null&&_s$deletedLine!==void 0?_s$deletedLine:"Deleted line":"ctx"===d?(_s$contextLine=s===null||s===void 0?void 0:s.contextLine)!==null&&_s$contextLine!==void 0?_s$contextLine:"Context line":(_s$metadataLine=s===null||s===void 0?void 0:s.metadataLine)!==null&&_s$metadataLine!==void 0?_s$metadataLine:"Diff metadata")}),(0,t.jsx)("span",{className:`rv-num-old rv-num ${o}`,children:(_e$oldLine=e.oldLine)!==null&&_e$oldLine!==void 0?_e$oldLine:""}),(0,t.jsx)("span",{className:`rv-num-new rv-num ${o}`,children:(_e$newLine=e.newLine)!==null&&_e$newLine!==void 0?_e$newLine:""}),(0,t.jsx)("span",{className:`rv-gutter ${o}`,"aria-hidden":"true",children:p}),(0,t.jsx)("code",{className:"rv-src",children:u})]});}function c({hunk:e,lang:n,labels:r,viewLabels:s}){var _s$hunkHeader,_ref3,_r$header,_s$hunkTruncated;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"rv-hunk mono","aria-label":`${(_s$hunkHeader=s===null||s===void 0?void 0:s.hunkHeader)!==null&&_s$hunkHeader!==void 0?_s$hunkHeader:"Hunk header"} ${e.header}`,children:[(0,t.jsx)("span",{className:`rv-sr-only ${o}`,children:(_ref3=(_r$header=r===null||r===void 0?void 0:r.header)!==null&&_r$header!==void 0?_r$header:s===null||s===void 0?void 0:s.hunkHeader)!==null&&_ref3!==void 0?_ref3:"Hunk header"}),e.header]}),e.lines.map((e,i)=>{var _e$oldLine2,_e$newLine2;return(0,t.jsx)(l,{line:e,lang:n,kindLabel:r===null||r===void 0?void 0:r[e.kind],labels:s},`${String((_e$oldLine2=e.oldLine)!==null&&_e$oldLine2!==void 0?_e$oldLine2:"-")}:${String((_e$newLine2=e.newLine)!==null&&_e$newLine2!==void 0?_e$newLine2:"-")}:${e.kind}:${String(i)}`);}),e.truncated?(0,t.jsx)("output",{className:"rv-truncated",style:i.NATIVE_BLOCK_STYLE,children:(_s$hunkTruncated=s===null||s===void 0?void 0:s.hunkTruncated)!==null&&_s$hunkTruncated!==void 0?_s$hunkTruncated:"This hunk is incomplete because the bounded diff was truncated."}):null]});}e.s(["DiffFileSection",0,function({file:e,index:r,changedFiles:o=[],sectionRef:a,translate:l,labels:d,idPrefix:u="rv-file"}){var _l,_e$path$split$pop,_d$previousPath,_d$elevatedReview,_d$binaryFile,_d$fileTruncated;let p=(_l=l===null||l===void 0?void 0:l("chat.repository.role.file"))!==null&&_l!==void 0?_l:"file",h=o.find(t=>t.path===e.path),f=e.path.includes(".")?(_e$path$split$pop=e.path.split(".").pop())!==null&&_e$path$split$pop!==void 0?_e$path$split$pop:"code":"code";return(0,t.jsxs)("section",{id:`${u}-${r}`,"aria-labelledby":`${u}-${r}-h`,ref:a,children:[(0,t.jsxs)("h3",{id:`${u}-${r}-h`,className:"rv-file mono",children:[(0,t.jsx)("span",{className:"rv-path",children:e.path}),void 0!==e.oldPath&&(0,t.jsx)("span",{className:"rv-oldpath",children:(_d$previousPath=d===null||d===void 0?void 0:d.previousPath(e.oldPath))!==null&&_d$previousPath!==void 0?_d$previousPath:` (was ${e.oldPath})`}),(0,t.jsxs)("span",{className:"rv-sr-only",children:[e.status," ",p]}),(0,t.jsx)("span",{className:"spacer"}),(0,t.jsxs)("span",{className:"rv-stat add",children:["+",e.addedLines]}),(0,t.jsxs)("span",{className:"rv-stat del",children:["−",e.removedLines]}),(h===null||h===void 0?void 0:h.elevatedReview)===!0&&(0,t.jsx)("span",{className:"rv-elevated","aria-label":(_d$elevatedReview=d===null||d===void 0?void 0:d.elevatedReview)!==null&&_d$elevatedReview!==void 0?_d$elevatedReview:"Elevated review",children:"!"})]}),(0,t.jsxs)("div",{className:`rv-code mono ${s.default["cmp-selectable-text"]}`,"data-text-selectable":"true",tabIndex:0,onFocusCapture:()=>(0,n.reportClientDiagnostic)("[keiko] shared diff viewport focused"),children:[e.binary?(0,t.jsx)("p",{className:"rv-empty-p",children:(_d$binaryFile=d===null||d===void 0?void 0:d.binaryFile)!==null&&_d$binaryFile!==void 0?_d$binaryFile:"Binary file — no text diff to display."}):e.hunks.map(e=>(0,t.jsx)(c,{hunk:e,lang:f,viewLabels:d},e.header)),e.truncated&&!e.hunks.some(e=>e.truncated)?(0,t.jsx)("output",{className:"rv-truncated",style:i.NATIVE_BLOCK_STYLE,children:(_d$fileTruncated=d===null||d===void 0?void 0:d.fileTruncated)!==null&&_d$fileTruncated!==void 0?_d$fileTruncated:"This file diff is incomplete because the bounded diff was truncated."}):null]})]});},"DiffHunkView",0,c]);},98391,e=>{e.v({"cmp-selectable-text":"selectableText-module__DkDMvG__cmp-selectable-text","cmp-selectable-text-chrome":"selectableText-module__DkDMvG__cmp-selectable-text-chrome"});},26222,e=>{"use strict";let t={jsx:"js",js:"js",mjs:"js",ts:"ts",tsx:"ts",java:"java",kt:"kotlin",kts:"kotlin",py:"py",rb:"py",go:"go",rs:"rust",json:"json",yml:"yaml",yaml:"yaml",md:"md",markdown:"md",html:"html",xml:"html",css:"css",sql:"sql",sh:"sh",bash:"sh",cob:"cobol",cbl:"cobol",gradle:"js",graphql:"graphql",gql:"graphql",properties:"props",toml:"props",env:"props",dockerfile:"docker"},n=new Set("const let var function return if else for while do switch case break continue import from export default class extends implements interface enum new async await yield of in typeof instanceof this super public private protected static final readonly void int long double float boolean char byte short val fun object data override companion package def pass lambda try catch except finally throw throws raise with as not and or is null nil None True False true false undefined struct impl trait pub use mod match where select insert update delete create table from join on group by order limit FROM RUN CMD ENV COPY WORKDIR EXPOSE ENTRYPOINT AS".split(" "));function i(e){let t=[];return e.split(/(`[^`]+`|\*\*[^*]+\*\*)/).forEach(e=>{""!==e&&(e.startsWith("`")?t.push(["str",e]):e.startsWith("**")?t.push(["type",e]):t.push(["id",e]));}),t.length>0?t:[["id",e]];}let r=[function(e){return null!==e.cs.line&&e.rest.startsWith(e.cs.line)?{token:["com",e.rest],length:e.rest.length,stop:!0}:null;},function(e){let{cs:t,rest:n,line:i,i:r,state:s}=e;if(null===t.block||!n.startsWith(t.block[0]))return null;let o=i.indexOf(t.block[1],r+t.block[0].length);if(-1===o)return s.inBlock=!0,{token:["com",n],length:n.length,stop:!0};let a=o+t.block[1].length;return{token:["com",i.slice(r,a)],length:a-r,stop:!1};},function(e){let t=/^(?:"(?:[^"\\]|\\.)*"?|'(?:[^'\\]|\\.)*'?)/.exec(e.rest);return null===t||t[0].length<=1?null:{token:["str",t[0]],length:t[0].length,stop:!1};},function(e){var _t$4;if(!/^\d/.test(e.rest))return null;let t=/^\d[\w.]*/.exec(e.rest),n=(_t$4=t===null||t===void 0?void 0:t[0])!==null&&_t$4!==void 0?_t$4:e.rest.charAt(0);return{token:["num",n],length:n.length,stop:!1};},function(e){var t,i;let r=/^[@A-Za-z_$][\w$]*/.exec(e.rest);if(null===r)return null;let s=r[0];return{token:[(t=e.line,i=e.i,n.has(s)||n.has(s.toLowerCase())?"key":s.startsWith("@")||/^[A-Z]/.test(s)?"type":"("===t.charAt(i+s.length)?"fn":"id"),s],length:s.length,stop:!1};},function(e){let t=/^\s+/.exec(e.rest);return null===t?null:{token:["ws",t[0]],length:t[0].length,stop:!1};},function(e){let t=/^[^\w\s$@"']+/.exec(e.rest);return null===t?null:{token:["punct",t[0]],length:t[0].length,stop:!1};}];e.s(["highlightLines",0,function(e,t){if("md"===t)return e.split("\n").map(e=>{var _t$5,_t$6,_t$7;if(/^#{1,6}\s/.test(e))return[["head",e]];if(/^\s*```/.test(e))return[["com",e]];let t=/^(\s*)([-*+]|\d+\.)(\s)/.exec(e);return null!==t?[["ws",(_t$5=t[1])!==null&&_t$5!==void 0?_t$5:""],["key",(_t$6=t[2])!==null&&_t$6!==void 0?_t$6:""],["ws",(_t$7=t[3])!==null&&_t$7!==void 0?_t$7:""],...i(e.slice(t[0].length))]:i(e);});if("json"===t)return e.split("\n").map(e=>{let t=[],n=0;for(;n<e.length;){let i=e.slice(n),r=/^"(?:[^"\\]|\\.)*"/.exec(i);if(null!==r){let i=e.slice(n+r[0].length),s=/^\s*:/.test(i);t.push([s?"key2":"str",r[0]]),n+=r[0].length;continue;}let s=/^-?\d[\d.eE+-]*/.exec(i);if(null!==s){t.push(["num",s[0]]),n+=s[0].length;continue;}let o=/^(true|false|null)\b/.exec(i);if(null!==o){t.push(["lit",o[0]]),n+=o[0].length;continue;}let a=/^\s+/.exec(i);if(null!==a){t.push(["ws",a[0]]),n+=a[0].length;continue;}t.push(["punct",i.charAt(0)]),n+=1;}return t;});let n="py"===t||"sh"===t||"yaml"===t||"props"===t||"docker"===t?{line:"#",block:null}:"sql"===t?{line:"--",block:["/*","*/"]}:"cobol"===t?{line:"*>",block:null}:"html"===t?{line:null,block:["<!--","-->"]}:{line:"//",block:["/*","*/"]},s={inBlock:!1},o=[];for(let t of e.split("\n"))o.push(function(e,t,n){let i=[],s=0,o=function(e,t,n){if(!t.inBlock||null===n.block)return null;let i=e.indexOf(n.block[1]);if(-1===i)return{token:["com",e],length:e.length};let r=i+n.block[1].length;return t.inBlock=!1,{token:["com",e.slice(0,r)],length:r};}(e,t,n);for(null!==o&&(i.push(o.token),s=o.length);s<e.length;){let o=function(e){for(let t of r){let n=t(e);if(null!==n)return n;}return{token:["id",e.rest.charAt(0)],length:1,stop:!1};}({line:e,i:s,rest:e.slice(s),cs:n,state:t});if(i.push(o.token),s+=o.length,o.stop)break;}return i;}(t,s,n));return o;},"langOf",0,function(e){var _t$r;let n=e.toLowerCase();if(".env"===n||n.startsWith(".env."))return"props";if("dockerfile"===n||n.startsWith("dockerfile"))return"docker";if(n.includes("docker-compose"))return"yaml";let i=n.split("."),r=i.length>1?i.at(-1):void 0;return void 0===r?"code":(_t$r=t[r])!==null&&_t$r!==void 0?_t$r:"code";}]);},15169,e=>{e.v({cmpEmpty:"CodingHistory-module__UeIBHq__cmpEmpty",cmpHeader:"CodingHistory-module__UeIBHq__cmpHeader",cmpInput:"CodingHistory-module__UeIBHq__cmpInput",cmpItem:"CodingHistory-module__UeIBHq__cmpItem",cmpList:"CodingHistory-module__UeIBHq__cmpList",cmpMessage:"CodingHistory-module__UeIBHq__cmpMessage",cmpOpen:"CodingHistory-module__UeIBHq__cmpOpen",cmpPanel:"CodingHistory-module__UeIBHq__cmpPanel",cmpPrimary:"CodingHistory-module__UeIBHq__cmpPrimary",cmpRename:"CodingHistory-module__UeIBHq__cmpRename",cmpSecondary:"CodingHistory-module__UeIBHq__cmpSecondary",cmpSessionAction:"CodingHistory-module__UeIBHq__cmpSessionAction",cmpSessionActions:"CodingHistory-module__UeIBHq__cmpSessionActions",cmpSessionBar:"CodingHistory-module__UeIBHq__cmpSessionBar",cmpSessionIdentity:"CodingHistory-module__UeIBHq__cmpSessionIdentity",cmpTabs:"CodingHistory-module__UeIBHq__cmpTabs",cmpTranscript:"CodingHistory-module__UeIBHq__cmpTranscript"});},27586,e=>{"use strict";var t=e.i(71645);let n="__keikoActivity",i="keiko-activity",r={"runtime-started":{type:"run",labelKey:"activity.event.runtimeStarted"},"runtime-stopped":{type:"stopped",labelKey:"activity.event.runtimeStopped"},"runtime-health":{type:"step",labelKey:"activity.event.runtimeHealth"},"task-submitted":{type:"run",labelKey:"activity.event.taskSubmitted"},"observation-streamed":{type:"step",labelKey:"activity.event.observationStreamed"},"permission-requested":{type:"approval",labelKey:"activity.event.permissionRequested"},"diff-summarized":{type:"step",labelKey:"activity.event.diffSummarized"},"verification-summarized":{type:"step",labelKey:"activity.event.verificationSummarized"},"artifact-produced":{type:"delivery",labelKey:"activity.event.artifactProduced"},"research-performed":{type:"step",labelKey:"activity.event.researchPerformed"},"skill-invoked":{type:"step",labelKey:"activity.event.skillInvoked"},"child-run-started":{type:"run",labelKey:"activity.event.childRunStarted"},"child-run-completed":{type:"step",labelKey:"activity.event.childRunCompleted"},"operator-decision":{type:"approval",labelKey:"activity.event.operatorDecision"},"failure-redacted":{type:"rejected",labelKey:"activity.event.failureRedacted"}},s={accepted:{type:"approved",labelKey:"activity.event.operatorDecisionAccepted"},denied:{type:"rejected",labelKey:"activity.event.operatorDecisionDenied"},unavailable:{type:"rejected",labelKey:"activity.event.operatorDecisionUnavailable"},"limit-reached":{type:"rejected",labelKey:"activity.event.operatorDecisionExpired"},stopped:{type:"stopped",labelKey:"activity.event.operatorDecisionStopped"}};function o(){window.dispatchEvent(new CustomEvent(i));}function a(e){var _window$n;let t=(_window$n=window[n])!==null&&_window$n!==void 0?_window$n:[];void 0!==e.id&&t.some(t=>t.id===e.id)||(window[n]=[e,...t].slice(0,120),o());}function l(e,t){return void 0!==e&&void 0!==t&&!e.open&&t.open&&e.runId===t.runId&&e.sequence>t.sequence;}e.s(["logRuntimeActivityEvents",0,function(e){for(let t of e){if("runtime-event"!==t.kind)continue;let e="operator-decision"!==t.eventKind||void 0===t.auxiliaryOutcome?r[t.eventKind]:s[t.auxiliaryOutcome],i={id:`${t.runId}:${t.cursor}`,type:e.type,labelKey:e.labelKey,agent:"runtime",time:Date.parse(t.occurredAt)};if("operator-decision"!==t.eventKind){a(i);continue;}!function(e,_window$n2){let t=(_window$n2=window[n])!==null&&_window$n2!==void 0?_window$n2:[];if(e.decision.open){if(t.some(t=>l(t.decision,e.decision)))return;}else{let i=t.filter(t=>!l(e.decision,t.decision));i.length!==t.length&&(window[n]=i,o());}a(e);}({...i,decision:{runId:t.runId,open:void 0===t.auxiliaryOutcome,sequence:t.sequence}});}},"useActivitySubscription",0,function(){var _window$n3;let[,e]=(0,t.useReducer)(e=>e+1,0);return(0,t.useEffect)(()=>(window.addEventListener(i,e),()=>window.removeEventListener(i,e)),[]),(_window$n3=window[n])!==null&&_window$n3!==void 0?_window$n3:[];}]);},98729,e=>{"use strict";var t=e.i(43476);let n=e.i(17161).Icons.file,i=[{test:e=>"dockerfile"===e||e.includes("docker-compose")||e.endsWith(".dockerignore"),key:"docker"},{test:e=>e.endsWith(".json"),key:"json"},{test:e=>e.endsWith(".yml")||e.endsWith(".yaml"),key:"yaml"},{test:e=>e.endsWith(".md"),key:"markdown"},{test:e=>e.endsWith(".properties")||e.endsWith(".env")||e.startsWith(".env."),key:"properties"},{test:e=>e.endsWith(".java"),key:"java"},{test:e=>e.endsWith(".tsx"),key:"react"},{test:e=>e.endsWith(".ts"),key:"typescript"},{test:e=>e.endsWith(".jsx")||e.endsWith(".js")||e.endsWith(".mjs")||e.endsWith(".cjs"),key:"javascript"},{test:e=>e.endsWith(".py"),key:"python"},{test:e=>e.endsWith(".go"),key:"go"},{test:e=>e.endsWith(".rs"),key:"rust"},{test:e=>e.endsWith(".gradle"),key:"gradle"},{test:e=>e.endsWith(".sql"),key:"postgresql"},{test:e=>e.endsWith(".html"),key:"html5"},{test:e=>e.endsWith(".css"),key:"css3"},{test:e=>e.endsWith(".graphql")||e.endsWith(".gql"),key:"graphql"},{test:e=>e.endsWith(".png")||e.endsWith(".jpg")||e.endsWith(".jpeg")||e.endsWith(".gif")||e.endsWith(".webp")||e.endsWith(".svg"),key:"image"}];e.s(["FileIcon",0,function({name:e,icon:r}){let s,o,a=r!==null&&r!==void 0?r:(s=e.toLowerCase(),(o=i.find(({test:e})=>e(s)))?o.key:null);return null!==a?(0,t.jsx)("img",{className:"fi-img",src:`/assets/icons/${a}.svg`,width:"15",height:"15",alt:""}):(0,t.jsx)("span",{className:"fi-fallback",children:(0,t.jsx)(n,{size:14})});}]);},54821,e=>{"use strict";var t=e.i(92215),n=e.i(58773);let i="/api/coding-workbench/history",r="keiko:coding-history-changed";async function s(){return await(0,n.codingAppSessionPairingSettled)(),(await(0,t.bffFetchJson)(i,{signal:AbortSignal.timeout(15e3)})).tasks;}async function o(e,r){return await(0,n.codingAppSessionPairingSettled)(),(0,t.bffFetchJson)(`${i}/${encodeURIComponent(e)}`,{signal:AbortSignal.timeout(15e3)},void 0===r?void 0:{correlationId:r});}async function a(e,s){await(0,n.codingAppSessionPairingSettled)();let o=await(0,t.bffFetchJson)(`${i}/${encodeURIComponent(e)}`,{method:"PATCH",body:JSON.stringify(s)});return window.dispatchEvent(new Event(r)),o.task;}e.s(["CODING_HISTORY_CHANGED",0,r,"fetchCodingHistory",0,s,"fetchCodingTask",0,o,"updateCodingTask",0,a]);}]);
|