@knpkv/control-center 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -17
- package/dist/client/.vite/manifest.json +223 -178
- package/dist/client/assets/{ActiveWorkPage-DJQgGZeV.js → ActiveWorkPage-g2-Jyavo.js} +2 -2
- package/dist/client/assets/{ActiveWorkPage-DJQgGZeV.js.map → ActiveWorkPage-g2-Jyavo.js.map} +1 -1
- package/dist/client/assets/AgentPage-B6GQdZAs.css +1 -0
- package/dist/client/assets/AgentPage-DmVsEe13.js +6 -0
- package/dist/client/assets/AgentPage-DmVsEe13.js.map +1 -0
- package/dist/client/assets/AtlassianOAuthCallbackPage-C8u9ItMj.js +2 -0
- package/dist/client/assets/{AtlassianOAuthCallbackPage-D1F1xE_2.js.map → AtlassianOAuthCallbackPage-C8u9ItMj.js.map} +1 -1
- package/dist/client/assets/AuthorizedSharePage-CVBJ1NTm.js +2 -0
- package/dist/client/assets/AuthorizedSharePage-CVBJ1NTm.js.map +1 -0
- package/dist/client/assets/BrowserCrypto-3BoTVFdl.js +2 -0
- package/dist/client/assets/{BrowserCrypto-DVWR7DFd.js.map → BrowserCrypto-3BoTVFdl.js.map} +1 -1
- package/dist/client/assets/BrowserSessionHydrator-CpZnNm4X.js +2 -0
- package/dist/client/assets/BrowserSessionHydrator-CpZnNm4X.js.map +1 -0
- package/dist/client/assets/CommandSearch-DUeRRbV2.js +2 -0
- package/dist/client/assets/{CommandSearch-CP_QCbkm.js.map → CommandSearch-DUeRRbV2.js.map} +1 -1
- package/dist/client/assets/ItemsPage-BF2ZkSzh.js +2 -0
- package/dist/client/assets/{ItemsPage-BGFUkRL2.js.map → ItemsPage-BF2ZkSzh.js.map} +1 -1
- package/dist/client/assets/{PairPage-DIgzx0K2.js → PairPage-CkaZltHd.js} +2 -2
- package/dist/client/assets/{PairPage-DIgzx0K2.js.map → PairPage-CkaZltHd.js.map} +1 -1
- package/dist/client/assets/PortfolioOverview-CEUHJmGC.js +2 -0
- package/dist/client/assets/PortfolioOverview-CEUHJmGC.js.map +1 -0
- package/dist/client/assets/PullRequestReviewPanel-D1IpvHe2.js +6 -0
- package/dist/client/assets/PullRequestReviewPanel-D1IpvHe2.js.map +1 -0
- package/dist/client/assets/ReleaseRoute-BuQybrsg.js +2 -0
- package/dist/client/assets/{ReleaseRoute-DXJ8Jg60.js.map → ReleaseRoute-BuQybrsg.js.map} +1 -1
- package/dist/client/assets/ReleaseWorkset-BclY0Nvj.js +2 -0
- package/dist/client/assets/ReleaseWorkset-BclY0Nvj.js.map +1 -0
- package/dist/client/assets/ServicesPage-hw5Ee69-.js +2 -0
- package/dist/client/assets/ServicesPage-hw5Ee69-.js.map +1 -0
- package/dist/client/assets/TimelinePage-Cj3V98uI.js +2 -0
- package/dist/client/assets/TimelinePage-Cj3V98uI.js.map +1 -0
- package/dist/client/assets/WorkspaceEntityLink-C_rc8lxi.js +2 -0
- package/dist/client/assets/{WorkspaceEntityLink-AdZ_T-Wk.js.map → WorkspaceEntityLink-C_rc8lxi.js.map} +1 -1
- package/dist/client/assets/WorkspaceEntityRoute-DLLT6fY0.css +1 -0
- package/dist/client/assets/WorkspaceEntityRoute-kbnrQ_lY.js +14 -0
- package/dist/client/assets/WorkspaceEntityRoute-kbnrQ_lY.js.map +1 -0
- package/dist/client/assets/WorkspaceHomeLink-DeYYLEsH.js +2 -0
- package/dist/client/assets/{WorkspaceHomeLink-XbKSPths.js.map → WorkspaceHomeLink-DeYYLEsH.js.map} +1 -1
- package/dist/client/assets/{WorkspacePullRequestDetails-BErJ5bk8.js → WorkspacePullRequestDetails-CizqydjN.js} +3 -3
- package/dist/client/assets/WorkspacePullRequestDetails-CizqydjN.js.map +1 -0
- package/dist/client/assets/{WorkspaceReleaseLayout-cfboC5Qh.js → WorkspaceReleaseLayout-CXAQUhkh.js} +2 -2
- package/dist/client/assets/{WorkspaceReleaseLayout-cfboC5Qh.js.map → WorkspaceReleaseLayout-CXAQUhkh.js.map} +1 -1
- package/dist/client/assets/{WorkspaceRichText-D1M637Ff.js → WorkspaceRichText-CCOciILO.js} +2 -2
- package/dist/client/assets/WorkspaceRichText-CCOciILO.js.map +1 -0
- package/dist/client/assets/WorkspaceSettingsPage-GoBfQzBx.css +1 -0
- package/dist/client/assets/WorkspaceSettingsPage-JG-pN_CA.js +2 -0
- package/dist/client/assets/WorkspaceSettingsPage-JG-pN_CA.js.map +1 -0
- package/dist/client/assets/agent-api-Dl9TuGOJ.js +19 -0
- package/dist/client/assets/agent-api-Dl9TuGOJ.js.map +1 -0
- package/dist/client/assets/atlassianOAuthSetupIntentStorage-DE4ySCTb.js +2 -0
- package/dist/client/assets/atlassianOAuthSetupIntentStorage-DE4ySCTb.js.map +1 -0
- package/dist/client/assets/authenticatedMutationClient-DdowMjyo.js +2 -0
- package/dist/client/assets/{authenticatedMutationClient-Ccwguc3i.js.map → authenticatedMutationClient-DdowMjyo.js.map} +1 -1
- package/dist/client/assets/authorizedShareTransport-CnclcYai.js +2 -0
- package/dist/client/assets/{authorizedShareTransport-DZHgFEkh.js.map → authorizedShareTransport-CnclcYai.js.map} +1 -1
- package/dist/client/assets/client-Dq_XQE_l.js +5 -0
- package/dist/client/assets/client-Dq_XQE_l.js.map +1 -0
- package/dist/client/assets/confluenceTasks-DtKq8_eU.js +5 -0
- package/dist/client/assets/confluenceTasks-DtKq8_eU.js.map +1 -0
- package/dist/client/assets/connectionTestTransport-CPK98z7H.js +2 -0
- package/dist/client/assets/connectionTestTransport-CPK98z7H.js.map +1 -0
- package/dist/client/assets/index-zVjlBm9l.js +11 -0
- package/dist/client/assets/index-zVjlBm9l.js.map +1 -0
- package/dist/client/assets/{patterns-5N-j-AD2-BwypFm-e.js → patterns-5N-j-AD2-DLfaGePK.js} +2 -2
- package/dist/client/assets/{patterns-5N-j-AD2-BwypFm-e.js.map → patterns-5N-j-AD2-DLfaGePK.js.map} +1 -1
- package/dist/client/assets/{presentPortfolio-D3ZIcnqt.js → presentPortfolio-DLEq-vEz.js} +2 -2
- package/dist/client/assets/presentPortfolio-DLEq-vEz.js.map +1 -0
- package/dist/client/assets/{presentWorkspaceItems-Bmh4oEbH.js → presentWorkspaceItems-BOY3FbhO.js} +2 -2
- package/dist/client/assets/{presentWorkspaceItems-Bmh4oEbH.js.map → presentWorkspaceItems-BOY3FbhO.js.map} +1 -1
- package/dist/client/assets/{pullRequestReviewFailures-S74M-fOk.js → pullRequestReviewFailures-CyjTVnSX.js} +2 -2
- package/dist/client/assets/{pullRequestReviewFailures-S74M-fOk.js.map → pullRequestReviewFailures-CyjTVnSX.js.map} +1 -1
- package/dist/client/assets/pullRequestReviewThreadReplay-CXHspFTr.js +2 -0
- package/dist/client/assets/pullRequestReviewThreadReplay-CXHspFTr.js.map +1 -0
- package/dist/client/assets/releaseAgentTransport-DaO4svPu.js +2 -0
- package/dist/client/assets/releaseAgentTransport-DaO4svPu.js.map +1 -0
- package/dist/client/assets/releaseRoutes-B4ciNOJj.js +2 -0
- package/dist/client/assets/{releaseRoutes-BCuIdZyA.js.map → releaseRoutes-B4ciNOJj.js.map} +1 -1
- package/dist/client/assets/serviceOnboarding-D0FmodRi.js +2 -0
- package/dist/client/assets/{serviceOnboarding-Jg_0yNjf.js.map → serviceOnboarding-D0FmodRi.js.map} +1 -1
- package/dist/client/assets/{useWorkspaceDefaultLanding-CzlDdEF-.js → useWorkspaceDefaultLanding-BaQdg0sY.js} +3 -3
- package/dist/client/assets/{useWorkspaceDefaultLanding-CzlDdEF-.js.map → useWorkspaceDefaultLanding-BaQdg0sY.js.map} +1 -1
- package/dist/client/assets/{useWorkspaceItems-Cd3MPke2.js → useWorkspaceItems-B-7JHtm0.js} +2 -2
- package/dist/client/assets/{useWorkspaceItems-Cd3MPke2.js.map → useWorkspaceItems-B-7JHtm0.js.map} +1 -1
- package/dist/client/assets/workspaceEntityRoutes-DqqDa0AB.js +2 -0
- package/dist/client/assets/workspaceEntityRoutes-DqqDa0AB.js.map +1 -0
- package/dist/client/assets/workspaceScrollCapture-BYNfR2wo.js +2 -0
- package/dist/client/assets/workspaceScrollCapture-BYNfR2wo.js.map +1 -0
- package/dist/client/assets/workspaceSettingsTransport-Br4lBmvS.js +2 -0
- package/dist/client/assets/{workspaceSettingsTransport-CZWYL5T7.js.map → workspaceSettingsTransport-Br4lBmvS.js.map} +1 -1
- package/dist/client/build-graph.json +115 -0
- package/dist/client/index.html +1 -1
- package/dist/server/api/agent.d.ts +575 -44
- package/dist/server/api/agent.d.ts.map +1 -1
- package/dist/server/api/deliveryGraph.d.ts +474 -454
- package/dist/server/api/deliveryGraph.d.ts.map +1 -1
- package/dist/server/api/index.d.ts +2 -2
- package/dist/server/api/index.d.ts.map +1 -1
- package/dist/server/api/index.js +4 -4
- package/dist/server/api/liveEvents.d.ts +20 -0
- package/dist/server/api/liveEvents.d.ts.map +1 -1
- package/dist/server/api/portfolio.d.ts +23 -0
- package/dist/server/api/portfolio.d.ts.map +1 -1
- package/dist/server/api/session.d.ts +23 -1
- package/dist/server/api/session.d.ts.map +1 -1
- package/dist/server/api/shares.d.ts +4 -2
- package/dist/server/api/shares.d.ts.map +1 -1
- package/dist/server/assets/{BindConfig-DIsf2Rnh.js → BindConfig-DAASchDn.js} +2405 -322
- package/dist/server/assets/BindConfig-DAASchDn.js.map +1 -0
- package/dist/server/assets/{CodePipelineStateDecoder-CVf1A2zG.js → CodePipelineStateDecoder-CNiFRgSi.js} +2 -2
- package/dist/server/assets/{CodePipelineStateDecoder-CVf1A2zG.js.map → CodePipelineStateDecoder-CNiFRgSi.js.map} +1 -1
- package/dist/server/assets/{agent-CyZ40zs1.js → agent-xQhAQXly.js} +181 -11
- package/dist/server/assets/agent-xQhAQXly.js.map +1 -0
- package/dist/server/assets/{controlCenterApi-ZUX3Y-LE.js → controlCenterApi-DNXK7MT1.js} +6 -5
- package/dist/server/assets/controlCenterApi-DNXK7MT1.js.map +1 -0
- package/dist/server/assets/{descriptor-CKtTnhef.js → descriptor-CCvNzSZL.js} +10 -10
- package/dist/server/assets/{descriptor-CKtTnhef.js.map → descriptor-CCvNzSZL.js.map} +1 -1
- package/dist/server/assets/{failures-mgYDkUZy.js → failures-CesHLYbN.js} +2 -2
- package/dist/server/assets/{failures-mgYDkUZy.js.map → failures-CesHLYbN.js.map} +1 -1
- package/dist/server/assets/{firstPartyServices-D7b8BOek.js → firstPartyServices-Cdzjcs2H.js} +2 -2
- package/dist/server/assets/{firstPartyServices-D7b8BOek.js.map → firstPartyServices-Cdzjcs2H.js.map} +1 -1
- package/dist/server/assets/{manualPluginSynchronization-DFlhKvav.js → manualPluginSynchronization-DFIeUHP9.js} +6 -5
- package/dist/server/assets/manualPluginSynchronization-DFIeUHP9.js.map +1 -0
- package/dist/server/assets/{plugins-D__oMDpI.js → plugins-DiPrfzV8.js} +2 -2
- package/dist/server/assets/{plugins-D__oMDpI.js.map → plugins-DiPrfzV8.js.map} +1 -1
- package/dist/server/assets/{readiness-BhA-Nr9c.js → readiness-31Mqc-9H.js} +3 -3
- package/dist/server/assets/{readiness-BhA-Nr9c.js.map → readiness-31Mqc-9H.js.map} +1 -1
- package/dist/server/assets/{relationshipInferenceMaterialization-DYBcaWhQ.js → relationshipInferenceMaterialization-Dyix96px.js} +1158 -169
- package/dist/server/assets/relationshipInferenceMaterialization-Dyix96px.js.map +1 -0
- package/dist/server/assets/{workspaceSettings-BE713Oe8.js → workspaceSettings-sv8h_h2P.js} +2787 -2700
- package/dist/server/assets/workspaceSettings-sv8h_h2P.js.map +1 -0
- package/dist/server/build-graph.json +144 -4
- package/dist/server/domain/actors.d.ts +12 -12
- package/dist/server/domain/confluenceTasks.d.ts +27 -0
- package/dist/server/domain/confluenceTasks.d.ts.map +1 -0
- package/dist/server/domain/deliveryGraph.d.ts +51 -49
- package/dist/server/domain/deliveryGraph.d.ts.map +1 -1
- package/dist/server/domain/governedAction/bindings.d.ts +26 -12
- package/dist/server/domain/governedAction/bindings.d.ts.map +1 -1
- package/dist/server/domain/governedAction/lifecycle.d.ts +8 -8
- package/dist/server/domain/governedAction/model.d.ts +45 -18
- package/dist/server/domain/governedAction/model.d.ts.map +1 -1
- package/dist/server/domain/governedAction/stateMachine.d.ts +34 -34
- package/dist/server/domain/index.js +6 -6
- package/dist/server/domain/normalizedIssue.d.ts +1 -1
- package/dist/server/domain/normalizedPage.d.ts +1 -0
- package/dist/server/domain/normalizedPage.d.ts.map +1 -1
- package/dist/server/domain/prReview.d.ts +38 -0
- package/dist/server/domain/prReview.d.ts.map +1 -1
- package/dist/server/domain/prReviewReconciliation.d.ts +56 -0
- package/dist/server/domain/prReviewReconciliation.d.ts.map +1 -0
- package/dist/server/domain/prReviewRevision.d.ts +1 -0
- package/dist/server/domain/prReviewRevision.d.ts.map +1 -1
- package/dist/server/domain/readiness/model.d.ts +3 -3
- package/dist/server/domain/release.d.ts +3 -3
- package/dist/server/domain/releasePipelineApproval.d.ts +31 -0
- package/dist/server/domain/releasePipelineApproval.d.ts.map +1 -0
- package/dist/server/domain/releasePublication.d.ts +4 -0
- package/dist/server/domain/releasePublication.d.ts.map +1 -0
- package/dist/server/index.js +8 -8
- package/dist/server/server/agent/AgentJobWorker.d.ts +10 -1
- package/dist/server/server/agent/AgentJobWorker.d.ts.map +1 -1
- package/dist/server/server/agent/ReleaseAgentPrompt.d.ts.map +1 -1
- package/dist/server/server/agent/internal/AgentJobTaskExecutor.d.ts +4 -3
- package/dist/server/server/agent/internal/AgentJobTaskExecutor.d.ts.map +1 -1
- package/dist/server/server/agent/internal/PrReviewSandboxSession.d.ts +17 -1
- package/dist/server/server/agent/internal/PrReviewSandboxSession.d.ts.map +1 -1
- package/dist/server/server/agent/internal/PrReviewTaskExecutor.d.ts +76 -2
- package/dist/server/server/agent/internal/PrReviewTaskExecutor.d.ts.map +1 -1
- package/dist/server/server/agent/internal/PrReviewTelemetry.d.ts +27 -0
- package/dist/server/server/agent/internal/PrReviewTelemetry.d.ts.map +1 -0
- package/dist/server/server/api/ApplicationServices.d.ts +39 -5
- package/dist/server/server/api/ApplicationServices.d.ts.map +1 -1
- package/dist/server/server/api/Handlers.d.ts +1 -1
- package/dist/server/server/api/Handlers.d.ts.map +1 -1
- package/dist/server/server/api/RequestBoundary.d.ts.map +1 -1
- package/dist/server/server/application/GovernedReviewSuggestionPublicationGateway.d.ts.map +1 -1
- package/dist/server/server/application/ReviewSuggestionPublicationGateway.d.ts +4 -0
- package/dist/server/server/application/ReviewSuggestionPublicationGateway.d.ts.map +1 -1
- package/dist/server/server/application/deliveryGraphInspection.d.ts.map +1 -1
- package/dist/server/server/application/index.d.ts +1 -0
- package/dist/server/server/application/index.d.ts.map +1 -1
- package/dist/server/server/application/liveEvents.d.ts.map +1 -1
- package/dist/server/server/application/normalizedPluginPageMaterialization.d.ts.map +1 -1
- package/dist/server/server/application/pipelineExecutionProjection.d.ts +7 -6
- package/dist/server/server/application/pipelineExecutionProjection.d.ts.map +1 -1
- package/dist/server/server/application/portfolioSnapshots.d.ts +2018 -4
- package/dist/server/server/application/portfolioSnapshots.d.ts.map +1 -1
- package/dist/server/server/application/pullRequestReviews.d.ts.map +1 -1
- package/dist/server/server/application/releaseAgent.d.ts +11 -3
- package/dist/server/server/application/releaseAgent.d.ts.map +1 -1
- package/dist/server/server/application/releasePublicationIntent.d.ts +7 -0
- package/dist/server/server/application/releasePublicationIntent.d.ts.map +1 -0
- package/dist/server/server/application/releasePublicationMetadata.d.ts +61 -0
- package/dist/server/server/application/releasePublicationMetadata.d.ts.map +1 -0
- package/dist/server/server/application/releasePublicationSubmissions.d.ts +3730 -0
- package/dist/server/server/application/releasePublicationSubmissions.d.ts.map +1 -0
- package/dist/server/server/application/releaseRunbookHydration.d.ts +2310 -0
- package/dist/server/server/application/releaseRunbookHydration.d.ts.map +1 -0
- package/dist/server/server/application/releaseSynchronization.d.ts.map +1 -1
- package/dist/server/server/cli.js +8 -8
- package/dist/server/server/cli.js.map +1 -1
- package/dist/server/server/governance/governedActionDigests.d.ts +236 -218
- package/dist/server/server/governance/governedActionDigests.d.ts.map +1 -1
- package/dist/server/server/governance/internal/GovernedActionExecutionEngine.d.ts +3 -4
- package/dist/server/server/governance/internal/GovernedActionExecutionEngine.d.ts.map +1 -1
- package/dist/server/server/governance/internal/execution-store/begin.d.ts.map +1 -1
- package/dist/server/server/governance/internal/execution-store/dispatch-inbox.d.ts +1 -1
- package/dist/server/server/governance/internal/execution-store/dispatch-outcome.d.ts +8 -8
- package/dist/server/server/governance/internal/execution-store/provider-outcome-fold.d.ts +2 -2
- package/dist/server/server/governance/internal/execution-store/reconciliation-inbox.d.ts +1 -1
- package/dist/server/server/governance/internal/execution-store/recovery-claim.d.ts +37 -30
- package/dist/server/server/governance/internal/execution-store/recovery-claim.d.ts.map +1 -1
- package/dist/server/server/index.js +5 -5
- package/dist/server/server/internal/codepipeline-state-probe.js +1 -1
- package/dist/server/server/persistence/Database.d.ts +1 -1
- package/dist/server/server/persistence/Database.d.ts.map +1 -1
- package/dist/server/server/persistence/Persistence.d.ts +1549 -577
- package/dist/server/server/persistence/Persistence.d.ts.map +1 -1
- package/dist/server/server/persistence/backup/BackupArchive.d.ts.map +1 -1
- package/dist/server/server/persistence/object-store/BlobPublisher.d.ts.map +1 -1
- package/dist/server/server/persistence/object-store/PinnedDirectory.d.ts +2 -2
- package/dist/server/server/persistence/object-store/PinnedDirectory.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/agentJobModels.d.ts +345 -8
- package/dist/server/server/persistence/repositories/agentJobModels.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/agentJobRepository.d.ts +654 -192
- package/dist/server/server/persistence/repositories/agentJobRepository.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/delivery-graph/contract.d.ts +148 -138
- package/dist/server/server/persistence/repositories/delivery-graph/contract.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/delivery-graph/decode.d.ts +27 -25
- package/dist/server/server/persistence/repositories/delivery-graph/decode.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/delivery-graph/read.d.ts +117 -111
- package/dist/server/server/persistence/repositories/delivery-graph/read.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/delivery-graph/rows.d.ts +28 -27
- package/dist/server/server/persistence/repositories/delivery-graph/rows.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/delivery-graph/write.d.ts +50 -48
- package/dist/server/server/persistence/repositories/delivery-graph/write.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/deliveryGraphRepository.d.ts +117 -111
- package/dist/server/server/persistence/repositories/deliveryGraphRepository.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/codec.d.ts +259 -234
- package/dist/server/server/persistence/repositories/governed-action/codec.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/contract.d.ts +68 -46
- package/dist/server/server/persistence/repositories/governed-action/contract.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/read.d.ts +668 -190
- package/dist/server/server/persistence/repositories/governed-action/read.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/transaction.d.ts +680 -206
- package/dist/server/server/persistence/repositories/governed-action/transaction.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/write-preparation.d.ts +38 -31
- package/dist/server/server/persistence/repositories/governed-action/write-preparation.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/write-replay.d.ts +46 -32
- package/dist/server/server/persistence/repositories/governed-action/write-replay.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/write.d.ts +46 -32
- package/dist/server/server/persistence/repositories/governed-action/write.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governedActionRepository.d.ts +678 -205
- package/dist/server/server/persistence/repositories/governedActionRepository.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/internal/reviewSuggestionRevisions.d.ts +85 -4
- package/dist/server/server/persistence/repositories/internal/reviewSuggestionRevisions.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/models.d.ts +9 -9
- package/dist/server/server/persistence/repositories/peopleRepository.d.ts +36 -36
- package/dist/server/server/persistence/repositories/providerAccountRepository.d.ts +1 -1
- package/dist/server/server/persistence/repositories/readiness/assessments.d.ts +6 -6
- package/dist/server/server/persistence/repositories/readiness/contract.d.ts +450 -450
- package/dist/server/server/persistence/repositories/readiness/queue.d.ts +14 -14
- package/dist/server/server/persistence/repositories/readinessRepository.d.ts +7 -7
- package/dist/server/server/persistence/repositories/releaseRepository.d.ts +18 -18
- package/dist/server/server/persistence/repositories/retentionRepository.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/timelineRepository.d.ts +4 -4
- package/dist/server/server/plugins/atlassian/AtlassianOAuthGrants.d.ts.map +1 -1
- package/dist/server/server/plugins/atlassian/AtlassianOAuthScopes.d.ts +9 -0
- package/dist/server/server/plugins/atlassian/AtlassianOAuthScopes.d.ts.map +1 -0
- package/dist/server/server/plugins/atlassian/AtlassianProfiles.d.ts.map +1 -1
- package/dist/server/server/plugins/codecommit/CodeCommitPluginDefinition.d.ts.map +1 -1
- package/dist/server/server/plugins/jira/JiraReadPlugin.d.ts +2 -2
- package/dist/server/server/plugins/jira/JiraReadPlugin.d.ts.map +1 -1
- package/dist/server/server/plugins/jira/JiraReadProvider.d.ts.map +1 -1
- package/dist/server/server/plugins/jira/JiraReleaseVersionLimits.d.ts +8 -0
- package/dist/server/server/plugins/jira/JiraReleaseVersionLimits.d.ts.map +1 -0
- package/dist/server/server/plugins/jira/index.d.ts +1 -1
- package/dist/server/server/plugins/jira/index.d.ts.map +1 -1
- package/dist/server/server/runtime/Bootstrap.d.ts +1 -1
- package/dist/server/server/runtime/Bootstrap.d.ts.map +1 -1
- package/dist/server/server/runtime/ControlCenterServer.d.ts +3 -3
- package/dist/server/server/runtime/ControlCenterServer.d.ts.map +1 -1
- package/dist/server/server/runtime/PrReviewWorkerStartup.d.ts +11 -1
- package/dist/server/server/runtime/PrReviewWorkerStartup.d.ts.map +1 -1
- package/dist/server/server/runtime/RetentionStartup.d.ts.map +1 -1
- package/dist/server/server/runtime/ServerLifecycle.d.ts.map +1 -1
- package/dist/server/server/secrets/SecretStore.d.ts.map +1 -1
- package/package.json +10 -9
- package/dist/client/assets/AgentPage-DGL93TJU.js +0 -3
- package/dist/client/assets/AgentPage-DGL93TJU.js.map +0 -1
- package/dist/client/assets/AgentPage-DVSgQgJa.css +0 -1
- package/dist/client/assets/AtlassianOAuthCallbackPage-D1F1xE_2.js +0 -2
- package/dist/client/assets/AuthorizedSharePage-DCQUFY2I.js +0 -2
- package/dist/client/assets/AuthorizedSharePage-DCQUFY2I.js.map +0 -1
- package/dist/client/assets/BrowserCrypto-DVWR7DFd.js +0 -2
- package/dist/client/assets/BrowserSessionHydrator-DE46feEX.js +0 -2
- package/dist/client/assets/BrowserSessionHydrator-DE46feEX.js.map +0 -1
- package/dist/client/assets/CommandSearch-CP_QCbkm.js +0 -2
- package/dist/client/assets/ItemsPage-BGFUkRL2.js +0 -2
- package/dist/client/assets/PortfolioOverview-D45rk8Hl.js +0 -2
- package/dist/client/assets/PortfolioOverview-D45rk8Hl.js.map +0 -1
- package/dist/client/assets/PullRequestReviewPanel-CqPtjhVW.js +0 -6
- package/dist/client/assets/PullRequestReviewPanel-CqPtjhVW.js.map +0 -1
- package/dist/client/assets/ReleaseRoute-DXJ8Jg60.js +0 -2
- package/dist/client/assets/ReleaseWorkset-Dtzalmji.js +0 -2
- package/dist/client/assets/ReleaseWorkset-Dtzalmji.js.map +0 -1
- package/dist/client/assets/ServicesPage-DGcUjd2H.js +0 -2
- package/dist/client/assets/ServicesPage-DGcUjd2H.js.map +0 -1
- package/dist/client/assets/TimelinePage-Bq1RTQlP.js +0 -2
- package/dist/client/assets/TimelinePage-Bq1RTQlP.js.map +0 -1
- package/dist/client/assets/WorkspaceEntityLink-AdZ_T-Wk.js +0 -2
- package/dist/client/assets/WorkspaceEntityRoute-9iMOV64J.css +0 -1
- package/dist/client/assets/WorkspaceEntityRoute-Bxxnc8us.js +0 -3
- package/dist/client/assets/WorkspaceEntityRoute-Bxxnc8us.js.map +0 -1
- package/dist/client/assets/WorkspaceHomeLink-XbKSPths.js +0 -2
- package/dist/client/assets/WorkspacePullRequestDetails-BErJ5bk8.js.map +0 -1
- package/dist/client/assets/WorkspaceRichText-D1M637Ff.js.map +0 -1
- package/dist/client/assets/WorkspaceSettingsPage-Fy7Wx8Y2.js +0 -2
- package/dist/client/assets/WorkspaceSettingsPage-Fy7Wx8Y2.js.map +0 -1
- package/dist/client/assets/WorkspaceSettingsPage-P6yfac0b.css +0 -1
- package/dist/client/assets/agent-api-QVqt4a0O.js +0 -19
- package/dist/client/assets/agent-api-QVqt4a0O.js.map +0 -1
- package/dist/client/assets/authenticatedMutationClient-Ccwguc3i.js +0 -2
- package/dist/client/assets/authorizedShareTransport-DZHgFEkh.js +0 -2
- package/dist/client/assets/client-D27unen8.js +0 -5
- package/dist/client/assets/client-D27unen8.js.map +0 -1
- package/dist/client/assets/connectionTestTransport-BQ55d6Me.js +0 -2
- package/dist/client/assets/connectionTestTransport-BQ55d6Me.js.map +0 -1
- package/dist/client/assets/index-j5ze816l.js +0 -11
- package/dist/client/assets/index-j5ze816l.js.map +0 -1
- package/dist/client/assets/presentPortfolio-D3ZIcnqt.js.map +0 -1
- package/dist/client/assets/pullRequestReviewThreadReplay-oljKM7Xz.js +0 -2
- package/dist/client/assets/pullRequestReviewThreadReplay-oljKM7Xz.js.map +0 -1
- package/dist/client/assets/releaseRoutes-BCuIdZyA.js +0 -2
- package/dist/client/assets/serviceOnboarding-Jg_0yNjf.js +0 -2
- package/dist/client/assets/workspaceScrollCapture-CJ4QUptr.js +0 -2
- package/dist/client/assets/workspaceScrollCapture-CJ4QUptr.js.map +0 -1
- package/dist/client/assets/workspaceSettingsTransport-CZWYL5T7.js +0 -2
- package/dist/server/assets/BindConfig-DIsf2Rnh.js.map +0 -1
- package/dist/server/assets/agent-CyZ40zs1.js.map +0 -1
- package/dist/server/assets/controlCenterApi-ZUX3Y-LE.js.map +0 -1
- package/dist/server/assets/manualPluginSynchronization-DFlhKvav.js.map +0 -1
- package/dist/server/assets/relationshipInferenceMaterialization-DYBcaWhQ.js.map +0 -1
- package/dist/server/assets/workspaceSettings-BE713Oe8.js.map +0 -1
|
@@ -57,41 +57,53 @@ declare const makePersistence: Effect.Effect<{
|
|
|
57
57
|
}>]>;
|
|
58
58
|
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
59
59
|
}, "Type">) => Effect.Effect<{
|
|
60
|
-
readonly payload: unknown;
|
|
61
|
-
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
62
60
|
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
63
|
-
readonly
|
|
61
|
+
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
64
62
|
readonly occurredAt: import("effect/DateTime").Utc;
|
|
63
|
+
readonly payload: unknown;
|
|
64
|
+
readonly eventSequence: number & import("effect/Brand").Brand<"AgentEventCursor">;
|
|
65
65
|
readonly threadId: string & import("effect/Brand").Brand<"AgentThreadId">;
|
|
66
66
|
readonly attemptSequence: (number & import("effect/Brand").Brand<"AgentAttemptSequence">) | null;
|
|
67
|
-
readonly eventKind: "progress" | "user-message" | "job-queued" | "job-started" | "assistant-output" | "usage" | "job-completed" | "job-failed" | "
|
|
67
|
+
readonly eventKind: "cancel-requested" | "progress" | "user-message" | "job-queued" | "job-started" | "assistant-output" | "usage" | "job-completed" | "job-failed" | "review-report" | "review-suggestion-revised" | "review-suggestion-published";
|
|
68
68
|
readonly task?: import("effect/Schema").Struct.ReadonlySide<{
|
|
69
69
|
readonly _tag: import("effect/Schema").tag<"release-chat">;
|
|
70
|
-
}, "Type"> |
|
|
71
|
-
readonly
|
|
72
|
-
|
|
73
|
-
subject: import("effect/Schema").Struct<{
|
|
70
|
+
}, "Type"> | {
|
|
71
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
72
|
+
readonly _tag: "pr-review";
|
|
73
|
+
readonly subject: import("effect/Schema").Struct.ReadonlySide<{
|
|
74
74
|
readonly providerId: import("effect/Schema").Literal<"codecommit">;
|
|
75
75
|
readonly repository: import("effect/Schema").String;
|
|
76
76
|
readonly pullRequestId: import("effect/Schema").String;
|
|
77
77
|
readonly baseRevision: import("effect/Schema").String;
|
|
78
78
|
readonly headRevision: import("effect/Schema").String;
|
|
79
|
-
}>;
|
|
80
|
-
reviewProfile: import("effect/Schema").Struct<{
|
|
79
|
+
}, "Type">;
|
|
80
|
+
readonly reviewProfile: import("effect/Schema").Struct.ReadonlySide<{
|
|
81
81
|
readonly profileId: import("effect/Schema").brand<import("effect/Schema").String, "ReviewAgentProfileId">;
|
|
82
82
|
readonly label: import("effect/Schema").String;
|
|
83
83
|
readonly budgetMillis: import("effect/Schema").Int;
|
|
84
84
|
readonly networkAccess: import("effect/Schema").Literals<readonly ["blocked", "provider-enabled"]>;
|
|
85
85
|
readonly sandbox: import("effect/Schema").Literal<"sbx">;
|
|
86
|
-
}>;
|
|
87
|
-
|
|
86
|
+
}, "Type">;
|
|
87
|
+
readonly target?: import("effect/Schema").Struct.ReadonlySide<{
|
|
88
|
+
readonly sourceJobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
89
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
90
|
+
readonly selectedRevisionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionRevisionId">;
|
|
91
|
+
readonly history: import("effect/Schema").Struct<{
|
|
92
|
+
readonly current: typeof import("../../index.ts").PrReviewSuggestionRevision;
|
|
93
|
+
readonly revisions: import("effect/Schema").$Array<typeof import("../../index.ts").PrReviewSuggestionRevision>;
|
|
94
|
+
readonly hasMore: import("effect/Schema").Boolean;
|
|
95
|
+
readonly nextBeforeSequence: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").Int, "PrReviewSuggestionRevisionSequence">>;
|
|
96
|
+
}>;
|
|
97
|
+
}, "Type">;
|
|
98
|
+
readonly intent?: "suggestion-edit" | "suggestion-revalidation" | "full-review";
|
|
99
|
+
};
|
|
88
100
|
}, PersistenceOperationFailure, never>;
|
|
89
101
|
appendReviewSuggestionRevision: (input: {
|
|
90
|
-
readonly suggestionId: string & import("effect/Brand").Brand<"PrReviewSuggestionId">;
|
|
91
|
-
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
92
102
|
readonly author: import("../../index.ts").PrReviewSuggestionOperatorAuthor | import("../../index.ts").PrReviewSuggestionAgentAuthor;
|
|
93
|
-
readonly createdAt: import("effect/DateTime").Utc;
|
|
94
103
|
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
104
|
+
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
105
|
+
readonly suggestionId: string & import("effect/Brand").Brand<"PrReviewSuggestionId">;
|
|
106
|
+
readonly createdAt: import("effect/DateTime").Utc;
|
|
95
107
|
readonly expectedRevisionId: string & import("effect/Brand").Brand<"PrReviewSuggestionRevisionId">;
|
|
96
108
|
readonly expectedSequence: number & import("effect/Brand").Brand<"PrReviewSuggestionRevisionSequence">;
|
|
97
109
|
readonly edit: {
|
|
@@ -114,14 +126,14 @@ declare const makePersistence: Effect.Effect<{
|
|
|
114
126
|
readonly _tag: import("effect/Schema").Literal<"changes">;
|
|
115
127
|
}, "Type">;
|
|
116
128
|
readonly impact: string;
|
|
117
|
-
readonly severity: "P1" | "P2" | "P3" | "P4";
|
|
118
|
-
readonly problem: string;
|
|
119
129
|
readonly evidence: import("effect/Schema").Struct.ReadonlySide<{
|
|
120
130
|
readonly excerpt: import("effect/Schema").String;
|
|
121
131
|
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
122
132
|
readonly startLine: import("effect/Schema").Int;
|
|
123
133
|
readonly endLine: import("effect/Schema").Int;
|
|
124
134
|
}, "Type">;
|
|
135
|
+
readonly severity: "P1" | "P2" | "P3" | "P4";
|
|
136
|
+
readonly problem: string;
|
|
125
137
|
readonly recommendation: string;
|
|
126
138
|
readonly relatedLocations: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
127
139
|
readonly label: import("effect/Schema").String;
|
|
@@ -151,7 +163,14 @@ declare const makePersistence: Effect.Effect<{
|
|
|
151
163
|
readonly explanation: import("effect/Schema").String;
|
|
152
164
|
}, "Type">;
|
|
153
165
|
};
|
|
154
|
-
readonly state?: "dismissed";
|
|
166
|
+
readonly state?: "stale" | "dismissed";
|
|
167
|
+
readonly dismissalReason?: "false-positive" | "not-applicable" | "accepted-risk" | "duplicate" | "other";
|
|
168
|
+
readonly validation?: "validated";
|
|
169
|
+
readonly leaseFence?: import("effect/Schema").Struct.ReadonlySide<{
|
|
170
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
171
|
+
readonly attemptSequence: import("effect/Schema").brand<import("effect/Schema").Int, "AgentAttemptSequence">;
|
|
172
|
+
readonly leaseToken: import("effect/Schema").brand<import("effect/Schema").String, "AgentLeaseToken">;
|
|
173
|
+
}, "Type">;
|
|
155
174
|
}) => Effect.Effect<import("../../index.ts").PrReviewSuggestionRevision, PersistenceOperationFailure, never>;
|
|
156
175
|
claimNext: (input: import("effect/Schema").Struct.ReadonlySide<{
|
|
157
176
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
@@ -160,20 +179,15 @@ declare const makePersistence: Effect.Effect<{
|
|
|
160
179
|
readonly leaseToken: import("effect/Schema").brand<import("effect/Schema").String, "AgentLeaseToken">;
|
|
161
180
|
readonly claimedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
162
181
|
readonly leaseExpiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
163
|
-
}, "Type">) => Effect.Effect<import("effect/Option").Option<
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
readonly jobId: import("effect/
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
171
|
-
readonly
|
|
172
|
-
readonly providerId: import("effect/Schema").brand<import("effect/Schema").String, "AgentProviderId">;
|
|
173
|
-
readonly model: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
174
|
-
readonly access: import("effect/Schema").Literals<readonly ["read-only", "workspace-write"]>;
|
|
175
|
-
readonly prompt: import("effect/Schema").String;
|
|
176
|
-
readonly context: import("effect/Schema").Struct<{
|
|
182
|
+
}, "Type">) => Effect.Effect<import("effect/Option").Option<{
|
|
183
|
+
readonly providerId: string & import("effect/Brand").Brand<"AgentProviderId">;
|
|
184
|
+
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
185
|
+
readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
|
|
186
|
+
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
187
|
+
readonly model: string | null;
|
|
188
|
+
readonly prompt: string;
|
|
189
|
+
readonly access: "read-only" | "workspace-write";
|
|
190
|
+
readonly context: import("effect/Schema").Struct.ReadonlySide<{
|
|
177
191
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
178
192
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
179
193
|
readonly subjectRevision: import("effect/Schema").String;
|
|
@@ -195,7 +209,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
195
209
|
readonly baseRevision: import("effect/Schema").String;
|
|
196
210
|
readonly headRevision: import("effect/Schema").String;
|
|
197
211
|
}>;
|
|
198
|
-
readonly state: import("effect/Schema").Literals<readonly ["cancelled", "failed", "succeeded", "unknown"]>;
|
|
212
|
+
readonly state: import("effect/Schema").Literals<readonly ["cancelled", "failed", "interrupted", "succeeded", "unknown"]>;
|
|
199
213
|
readonly requestedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
200
214
|
readonly suggestionTitles: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
201
215
|
readonly suggestionsTruncated: import("effect/Schema").Boolean;
|
|
@@ -220,11 +234,30 @@ declare const makePersistence: Effect.Effect<{
|
|
|
220
234
|
readonly networkAccess: import("effect/Schema").Literals<readonly ["blocked", "provider-enabled"]>;
|
|
221
235
|
readonly sandbox: import("effect/Schema").Literal<"sbx">;
|
|
222
236
|
}>;
|
|
237
|
+
readonly intent: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["full-review", "suggestion-edit", "suggestion-revalidation"]>>;
|
|
238
|
+
readonly target: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
239
|
+
readonly sourceJobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
240
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
241
|
+
readonly selectedRevisionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionRevisionId">;
|
|
242
|
+
readonly history: import("effect/Schema").Struct<{
|
|
243
|
+
readonly current: typeof import("../../index.ts").PrReviewSuggestionRevision;
|
|
244
|
+
readonly revisions: import("effect/Schema").$Array<typeof import("../../index.ts").PrReviewSuggestionRevision>;
|
|
245
|
+
readonly hasMore: import("effect/Schema").Boolean;
|
|
246
|
+
readonly nextBeforeSequence: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").Int, "PrReviewSuggestionRevisionSequence">>;
|
|
247
|
+
}>;
|
|
248
|
+
}>>;
|
|
223
249
|
}>]>;
|
|
224
|
-
}>;
|
|
225
|
-
readonly sessionRef:
|
|
226
|
-
readonly
|
|
227
|
-
|
|
250
|
+
}, "Type">;
|
|
251
|
+
readonly sessionRef: (string & import("effect/Brand").Brand<"AgentSessionRef">) | null;
|
|
252
|
+
readonly threadId: string & import("effect/Brand").Brand<"AgentThreadId">;
|
|
253
|
+
readonly attemptSequence: number & import("effect/Brand").Brand<"AgentAttemptSequence">;
|
|
254
|
+
readonly leaseOwner: string & import("effect/Brand").Brand<"AgentLeaseOwner">;
|
|
255
|
+
readonly leaseToken: string & import("effect/Brand").Brand<"AgentLeaseToken">;
|
|
256
|
+
readonly leaseExpiresAt: import("effect/DateTime").Utc;
|
|
257
|
+
readonly cancellationRequested: boolean;
|
|
258
|
+
readonly reviewBudgetMillis?: number;
|
|
259
|
+
readonly reviewBudgetExtensionCount?: number;
|
|
260
|
+
}>, PersistenceOperationFailure, never>;
|
|
228
261
|
completeReview: (input: import("effect/Schema").Struct.ReadonlySide<{
|
|
229
262
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
230
263
|
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
@@ -309,6 +342,120 @@ declare const makePersistence: Effect.Effect<{
|
|
|
309
342
|
}>>;
|
|
310
343
|
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
311
344
|
readonly state: import("effect/Schema").Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
|
|
345
|
+
readonly dismissalReason: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
346
|
+
}>>;
|
|
347
|
+
readonly notes: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
348
|
+
readonly reason: import("effect/Schema").Literals<readonly ["low-confidence", "pre-existing"]>;
|
|
349
|
+
readonly title: import("effect/Schema").String;
|
|
350
|
+
readonly observation: import("effect/Schema").String;
|
|
351
|
+
readonly confidence: import("effect/Schema").Struct<{
|
|
352
|
+
readonly level: import("effect/Schema").Literals<readonly ["low", "medium", "high"]>;
|
|
353
|
+
readonly reason: import("effect/Schema").String;
|
|
354
|
+
}>;
|
|
355
|
+
readonly location: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
356
|
+
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
357
|
+
readonly startLine: import("effect/Schema").Int;
|
|
358
|
+
readonly endLine: import("effect/Schema").Int;
|
|
359
|
+
}>>;
|
|
360
|
+
readonly noteId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewNoteId">;
|
|
361
|
+
}>>;
|
|
362
|
+
readonly transitions: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
363
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
364
|
+
readonly transition: import("effect/Schema").Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
|
|
365
|
+
readonly previousState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
366
|
+
readonly currentState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
367
|
+
readonly previousDismissalReason: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
368
|
+
readonly previousHead: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
369
|
+
readonly currentHead: import("effect/Schema").String;
|
|
370
|
+
}>>>;
|
|
371
|
+
}>;
|
|
372
|
+
readonly completedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
373
|
+
}, "Type">, PersistenceOperationFailure, never>;
|
|
374
|
+
recordReviewProgress: (input: import("effect/Schema").Struct.ReadonlySide<{
|
|
375
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
376
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
377
|
+
readonly attemptSequence: import("effect/Schema").brand<import("effect/Schema").Int, "AgentAttemptSequence">;
|
|
378
|
+
readonly leaseToken: import("effect/Schema").brand<import("effect/Schema").String, "AgentLeaseToken">;
|
|
379
|
+
readonly report: import("effect/Schema").Unknown;
|
|
380
|
+
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
381
|
+
}, "Type">) => Effect.Effect<import("effect/Schema").Struct.ReadonlySide<{
|
|
382
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
383
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
384
|
+
readonly attemptSequence: import("effect/Schema").brand<import("effect/Schema").Int, "AgentAttemptSequence">;
|
|
385
|
+
readonly report: import("effect/Schema").Struct<{
|
|
386
|
+
readonly schemaVersion: import("effect/Schema").Literal<3>;
|
|
387
|
+
readonly subject: import("effect/Schema").Struct<{
|
|
388
|
+
readonly providerId: import("effect/Schema").Literal<"codecommit">;
|
|
389
|
+
readonly repository: import("effect/Schema").String;
|
|
390
|
+
readonly pullRequestId: import("effect/Schema").String;
|
|
391
|
+
readonly baseRevision: import("effect/Schema").String;
|
|
392
|
+
readonly headRevision: import("effect/Schema").String;
|
|
393
|
+
}>;
|
|
394
|
+
readonly completion: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
395
|
+
readonly status: import("effect/Schema").Literal<"complete">;
|
|
396
|
+
}>, import("effect/Schema").Struct<{
|
|
397
|
+
readonly status: import("effect/Schema").Literal<"unable-to-conclude">;
|
|
398
|
+
readonly reason: import("effect/Schema").String;
|
|
399
|
+
}>]>;
|
|
400
|
+
readonly suggestions: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
401
|
+
readonly anchor: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
402
|
+
readonly _tag: import("effect/Schema").Literal<"line">;
|
|
403
|
+
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
404
|
+
readonly line: import("effect/Schema").Int;
|
|
405
|
+
readonly relativeFileVersion: import("effect/Schema").withDecodingDefaultTypeKey<import("effect/Schema").Literal<"AFTER">, never>;
|
|
406
|
+
}>, import("effect/Schema").Struct<{
|
|
407
|
+
readonly _tag: import("effect/Schema").Literal<"file">;
|
|
408
|
+
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
409
|
+
readonly line: import("effect/Schema").Int;
|
|
410
|
+
readonly relativeFileVersion: import("effect/Schema").withDecodingDefaultTypeKey<import("effect/Schema").Literals<readonly ["BEFORE", "AFTER"]>, never>;
|
|
411
|
+
}>, import("effect/Schema").Struct<{
|
|
412
|
+
readonly _tag: import("effect/Schema").Literal<"changes">;
|
|
413
|
+
}>]>;
|
|
414
|
+
readonly title: import("effect/Schema").String;
|
|
415
|
+
readonly severity: import("effect/Schema").Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
416
|
+
readonly problem: import("effect/Schema").String;
|
|
417
|
+
readonly impact: import("effect/Schema").String;
|
|
418
|
+
readonly evidence: import("effect/Schema").Struct<{
|
|
419
|
+
readonly excerpt: import("effect/Schema").String;
|
|
420
|
+
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
421
|
+
readonly startLine: import("effect/Schema").Int;
|
|
422
|
+
readonly endLine: import("effect/Schema").Int;
|
|
423
|
+
}>;
|
|
424
|
+
readonly recommendation: import("effect/Schema").String;
|
|
425
|
+
readonly confidence: import("effect/Schema").Struct<{
|
|
426
|
+
readonly level: import("effect/Schema").Literals<readonly ["low", "medium", "high"]>;
|
|
427
|
+
readonly reason: import("effect/Schema").String;
|
|
428
|
+
}>;
|
|
429
|
+
readonly relatedLocations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
430
|
+
readonly label: import("effect/Schema").String;
|
|
431
|
+
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
432
|
+
readonly startLine: import("effect/Schema").Int;
|
|
433
|
+
readonly endLine: import("effect/Schema").Int;
|
|
434
|
+
}>>;
|
|
435
|
+
readonly prevention: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
436
|
+
readonly summary: import("effect/Schema").String;
|
|
437
|
+
readonly enforcement: import("effect/Schema").Literals<readonly ["ast-grep", "ESLint", "type-check", "test", "instruction"]>;
|
|
438
|
+
readonly existingRuleOrConfig: import("effect/Schema").String;
|
|
439
|
+
readonly recurrenceEvidence: import("effect/Schema").String;
|
|
440
|
+
readonly targetFile: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
441
|
+
readonly sourcePaths: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">>;
|
|
442
|
+
readonly matcherOrInvariant: import("effect/Schema").String;
|
|
443
|
+
readonly invalidFixture: import("effect/Schema").String;
|
|
444
|
+
readonly validFixture: import("effect/Schema").String;
|
|
445
|
+
readonly boundary: import("effect/Schema").String;
|
|
446
|
+
}>, import("effect/Schema").Struct<{
|
|
447
|
+
readonly summary: import("effect/Schema").String;
|
|
448
|
+
readonly enforcement: import("effect/Schema").Literal<"none">;
|
|
449
|
+
readonly rationale: import("effect/Schema").String;
|
|
450
|
+
}>]>>;
|
|
451
|
+
readonly replacement: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
452
|
+
readonly reviewedHead: import("effect/Schema").String;
|
|
453
|
+
readonly unifiedDiff: import("effect/Schema").String;
|
|
454
|
+
readonly explanation: import("effect/Schema").String;
|
|
455
|
+
}>>;
|
|
456
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
457
|
+
readonly state: import("effect/Schema").Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
|
|
458
|
+
readonly dismissalReason: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
312
459
|
}>>;
|
|
313
460
|
readonly notes: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
314
461
|
readonly reason: import("effect/Schema").Literals<readonly ["low-confidence", "pre-existing"]>;
|
|
@@ -325,6 +472,15 @@ declare const makePersistence: Effect.Effect<{
|
|
|
325
472
|
}>>;
|
|
326
473
|
readonly noteId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewNoteId">;
|
|
327
474
|
}>>;
|
|
475
|
+
readonly transitions: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
476
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
477
|
+
readonly transition: import("effect/Schema").Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
|
|
478
|
+
readonly previousState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
479
|
+
readonly currentState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
480
|
+
readonly previousDismissalReason: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
481
|
+
readonly previousHead: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
482
|
+
readonly currentHead: import("effect/Schema").String;
|
|
483
|
+
}>>>;
|
|
328
484
|
}>;
|
|
329
485
|
readonly completedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
330
486
|
}, "Type">, PersistenceOperationFailure, never>;
|
|
@@ -355,6 +511,18 @@ declare const makePersistence: Effect.Effect<{
|
|
|
355
511
|
readonly networkAccess: import("effect/Schema").Literals<readonly ["blocked", "provider-enabled"]>;
|
|
356
512
|
readonly sandbox: import("effect/Schema").Literal<"sbx">;
|
|
357
513
|
}>;
|
|
514
|
+
intent: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["full-review", "suggestion-edit", "suggestion-revalidation"]>>;
|
|
515
|
+
target: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
516
|
+
readonly sourceJobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
517
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
518
|
+
readonly selectedRevisionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionRevisionId">;
|
|
519
|
+
readonly history: import("effect/Schema").Struct<{
|
|
520
|
+
readonly current: typeof import("../../index.ts").PrReviewSuggestionRevision;
|
|
521
|
+
readonly revisions: import("effect/Schema").$Array<typeof import("../../index.ts").PrReviewSuggestionRevision>;
|
|
522
|
+
readonly hasMore: import("effect/Schema").Boolean;
|
|
523
|
+
readonly nextBeforeSequence: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").Int, "PrReviewSuggestionRevisionSequence">>;
|
|
524
|
+
}>;
|
|
525
|
+
}>>;
|
|
358
526
|
}>]>;
|
|
359
527
|
readonly createdAt: import("effect/Schema").DateTimeUtcFromString;
|
|
360
528
|
}, "Type">) => Effect.Effect<string & import("effect/Brand").Brand<"AgentThreadId">, PersistenceOperationFailure, never>;
|
|
@@ -366,94 +534,117 @@ declare const makePersistence: Effect.Effect<{
|
|
|
366
534
|
readonly error: typeof import("@knpkv/ai-runtime").AgentProviderError;
|
|
367
535
|
readonly failedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
368
536
|
}, "Type">) => Effect.Effect<{
|
|
369
|
-
readonly payload: unknown;
|
|
370
|
-
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
371
537
|
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
372
|
-
readonly
|
|
538
|
+
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
373
539
|
readonly occurredAt: import("effect/DateTime").Utc;
|
|
540
|
+
readonly payload: unknown;
|
|
541
|
+
readonly eventSequence: number & import("effect/Brand").Brand<"AgentEventCursor">;
|
|
374
542
|
readonly threadId: string & import("effect/Brand").Brand<"AgentThreadId">;
|
|
375
543
|
readonly attemptSequence: (number & import("effect/Brand").Brand<"AgentAttemptSequence">) | null;
|
|
376
|
-
readonly eventKind: "progress" | "user-message" | "job-queued" | "job-started" | "assistant-output" | "usage" | "job-completed" | "job-failed" | "
|
|
544
|
+
readonly eventKind: "cancel-requested" | "progress" | "user-message" | "job-queued" | "job-started" | "assistant-output" | "usage" | "job-completed" | "job-failed" | "review-report" | "review-suggestion-revised" | "review-suggestion-published";
|
|
377
545
|
readonly task?: import("effect/Schema").Struct.ReadonlySide<{
|
|
378
546
|
readonly _tag: import("effect/Schema").tag<"release-chat">;
|
|
379
|
-
}, "Type"> |
|
|
380
|
-
readonly
|
|
381
|
-
|
|
382
|
-
subject: import("effect/Schema").Struct<{
|
|
547
|
+
}, "Type"> | {
|
|
548
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
549
|
+
readonly _tag: "pr-review";
|
|
550
|
+
readonly subject: import("effect/Schema").Struct.ReadonlySide<{
|
|
383
551
|
readonly providerId: import("effect/Schema").Literal<"codecommit">;
|
|
384
552
|
readonly repository: import("effect/Schema").String;
|
|
385
553
|
readonly pullRequestId: import("effect/Schema").String;
|
|
386
554
|
readonly baseRevision: import("effect/Schema").String;
|
|
387
555
|
readonly headRevision: import("effect/Schema").String;
|
|
388
|
-
}>;
|
|
389
|
-
reviewProfile: import("effect/Schema").Struct<{
|
|
556
|
+
}, "Type">;
|
|
557
|
+
readonly reviewProfile: import("effect/Schema").Struct.ReadonlySide<{
|
|
390
558
|
readonly profileId: import("effect/Schema").brand<import("effect/Schema").String, "ReviewAgentProfileId">;
|
|
391
559
|
readonly label: import("effect/Schema").String;
|
|
392
560
|
readonly budgetMillis: import("effect/Schema").Int;
|
|
393
561
|
readonly networkAccess: import("effect/Schema").Literals<readonly ["blocked", "provider-enabled"]>;
|
|
394
562
|
readonly sandbox: import("effect/Schema").Literal<"sbx">;
|
|
395
|
-
}>;
|
|
396
|
-
|
|
563
|
+
}, "Type">;
|
|
564
|
+
readonly target?: import("effect/Schema").Struct.ReadonlySide<{
|
|
565
|
+
readonly sourceJobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
566
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
567
|
+
readonly selectedRevisionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionRevisionId">;
|
|
568
|
+
readonly history: import("effect/Schema").Struct<{
|
|
569
|
+
readonly current: typeof import("../../index.ts").PrReviewSuggestionRevision;
|
|
570
|
+
readonly revisions: import("effect/Schema").$Array<typeof import("../../index.ts").PrReviewSuggestionRevision>;
|
|
571
|
+
readonly hasMore: import("effect/Schema").Boolean;
|
|
572
|
+
readonly nextBeforeSequence: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").Int, "PrReviewSuggestionRevisionSequence">>;
|
|
573
|
+
}>;
|
|
574
|
+
}, "Type">;
|
|
575
|
+
readonly intent?: "suggestion-edit" | "suggestion-revalidation" | "full-review";
|
|
576
|
+
};
|
|
397
577
|
}, PersistenceOperationFailure, never>;
|
|
398
|
-
latestReview: (input: any) => Effect.Effect<import("effect/Option").Option<
|
|
399
|
-
readonly
|
|
400
|
-
readonly
|
|
401
|
-
readonly
|
|
402
|
-
readonly model:
|
|
403
|
-
readonly
|
|
404
|
-
readonly
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
readonly
|
|
408
|
-
readonly
|
|
578
|
+
latestReview: (input: any) => Effect.Effect<import("effect/Option").Option<{
|
|
579
|
+
readonly providerId: string & import("effect/Brand").Brand<"AgentProviderId">;
|
|
580
|
+
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
581
|
+
readonly state: "succeeded" | "failed" | "cancelled" | "cancel-requested" | "queued" | "running" | "interrupted";
|
|
582
|
+
readonly model: string | null;
|
|
583
|
+
readonly createdAt: import("effect/DateTime").Utc;
|
|
584
|
+
readonly reviewProfile: import("effect/Schema").Struct.ReadonlySide<{
|
|
585
|
+
readonly profileId: import("effect/Schema").brand<import("effect/Schema").String, "ReviewAgentProfileId">;
|
|
586
|
+
readonly label: import("effect/Schema").String;
|
|
587
|
+
readonly budgetMillis: import("effect/Schema").Int;
|
|
588
|
+
readonly networkAccess: import("effect/Schema").Literals<readonly ["blocked", "provider-enabled"]>;
|
|
589
|
+
readonly sandbox: import("effect/Schema").Literal<"sbx">;
|
|
590
|
+
}, "Type">;
|
|
591
|
+
readonly activity: import("effect/Schema").Struct.ReadonlySide<{
|
|
592
|
+
readonly events: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
593
|
+
readonly truncated: import("effect/Schema").Boolean;
|
|
594
|
+
}, "Type">;
|
|
595
|
+
readonly report: {
|
|
596
|
+
readonly schemaVersion: 3;
|
|
597
|
+
readonly subject: import("effect/Schema").Struct.ReadonlySide<{
|
|
409
598
|
readonly providerId: import("effect/Schema").Literal<"codecommit">;
|
|
410
599
|
readonly repository: import("effect/Schema").String;
|
|
411
600
|
readonly pullRequestId: import("effect/Schema").String;
|
|
412
601
|
readonly baseRevision: import("effect/Schema").String;
|
|
413
602
|
readonly headRevision: import("effect/Schema").String;
|
|
414
|
-
}>;
|
|
415
|
-
readonly completion: import("effect/Schema").
|
|
603
|
+
}, "Type">;
|
|
604
|
+
readonly completion: import("effect/Schema").Struct.ReadonlySide<{
|
|
416
605
|
readonly status: import("effect/Schema").Literal<"complete">;
|
|
417
|
-
}
|
|
606
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
418
607
|
readonly status: import("effect/Schema").Literal<"unable-to-conclude">;
|
|
419
608
|
readonly reason: import("effect/Schema").String;
|
|
420
|
-
}
|
|
421
|
-
readonly suggestions:
|
|
422
|
-
readonly
|
|
609
|
+
}, "Type">;
|
|
610
|
+
readonly suggestions: readonly {
|
|
611
|
+
readonly title: string;
|
|
612
|
+
readonly confidence: import("effect/Schema").Struct.ReadonlySide<{
|
|
613
|
+
readonly level: import("effect/Schema").Literals<readonly ["low", "medium", "high"]>;
|
|
614
|
+
readonly reason: import("effect/Schema").String;
|
|
615
|
+
}, "Type">;
|
|
616
|
+
readonly anchor: import("effect/Schema").Struct.ReadonlySide<{
|
|
423
617
|
readonly _tag: import("effect/Schema").Literal<"line">;
|
|
424
618
|
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
425
619
|
readonly line: import("effect/Schema").Int;
|
|
426
620
|
readonly relativeFileVersion: import("effect/Schema").withDecodingDefaultTypeKey<import("effect/Schema").Literal<"AFTER">, never>;
|
|
427
|
-
}
|
|
621
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
428
622
|
readonly _tag: import("effect/Schema").Literal<"file">;
|
|
429
623
|
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
430
624
|
readonly line: import("effect/Schema").Int;
|
|
431
625
|
readonly relativeFileVersion: import("effect/Schema").withDecodingDefaultTypeKey<import("effect/Schema").Literals<readonly ["BEFORE", "AFTER"]>, never>;
|
|
432
|
-
}
|
|
626
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
433
627
|
readonly _tag: import("effect/Schema").Literal<"changes">;
|
|
434
|
-
}
|
|
435
|
-
readonly
|
|
436
|
-
readonly
|
|
437
|
-
readonly problem: import("effect/Schema").String;
|
|
438
|
-
readonly impact: import("effect/Schema").String;
|
|
439
|
-
readonly evidence: import("effect/Schema").Struct<{
|
|
628
|
+
}, "Type">;
|
|
629
|
+
readonly impact: string;
|
|
630
|
+
readonly evidence: import("effect/Schema").Struct.ReadonlySide<{
|
|
440
631
|
readonly excerpt: import("effect/Schema").String;
|
|
441
632
|
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
442
633
|
readonly startLine: import("effect/Schema").Int;
|
|
443
634
|
readonly endLine: import("effect/Schema").Int;
|
|
444
|
-
}>;
|
|
445
|
-
readonly
|
|
446
|
-
readonly
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
readonly relatedLocations: import("effect/Schema")
|
|
635
|
+
}, "Type">;
|
|
636
|
+
readonly state: "stale" | "draft" | "published" | "resolved" | "dismissed" | "reopened";
|
|
637
|
+
readonly suggestionId: string & import("effect/Brand").Brand<"PrReviewSuggestionId">;
|
|
638
|
+
readonly severity: "P1" | "P2" | "P3" | "P4";
|
|
639
|
+
readonly problem: string;
|
|
640
|
+
readonly recommendation: string;
|
|
641
|
+
readonly relatedLocations: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
451
642
|
readonly label: import("effect/Schema").String;
|
|
452
643
|
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
453
644
|
readonly startLine: import("effect/Schema").Int;
|
|
454
645
|
readonly endLine: import("effect/Schema").Int;
|
|
455
|
-
}
|
|
456
|
-
readonly prevention
|
|
646
|
+
}, "Type">[];
|
|
647
|
+
readonly prevention?: import("effect/Schema").Struct.ReadonlySide<{
|
|
457
648
|
readonly summary: import("effect/Schema").String;
|
|
458
649
|
readonly enforcement: import("effect/Schema").Literals<readonly ["ast-grep", "ESLint", "type-check", "test", "instruction"]>;
|
|
459
650
|
readonly existingRuleOrConfig: import("effect/Schema").String;
|
|
@@ -464,93 +655,333 @@ declare const makePersistence: Effect.Effect<{
|
|
|
464
655
|
readonly invalidFixture: import("effect/Schema").String;
|
|
465
656
|
readonly validFixture: import("effect/Schema").String;
|
|
466
657
|
readonly boundary: import("effect/Schema").String;
|
|
467
|
-
}
|
|
658
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
468
659
|
readonly summary: import("effect/Schema").String;
|
|
469
660
|
readonly enforcement: import("effect/Schema").Literal<"none">;
|
|
470
661
|
readonly rationale: import("effect/Schema").String;
|
|
471
|
-
}
|
|
472
|
-
readonly replacement
|
|
662
|
+
}, "Type">;
|
|
663
|
+
readonly replacement?: import("effect/Schema").Struct.ReadonlySide<{
|
|
473
664
|
readonly reviewedHead: import("effect/Schema").String;
|
|
474
665
|
readonly unifiedDiff: import("effect/Schema").String;
|
|
475
666
|
readonly explanation: import("effect/Schema").String;
|
|
476
|
-
}
|
|
477
|
-
readonly
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
readonly
|
|
482
|
-
readonly
|
|
483
|
-
readonly observation: import("effect/Schema").String;
|
|
484
|
-
readonly confidence: import("effect/Schema").Struct<{
|
|
667
|
+
}, "Type">;
|
|
668
|
+
readonly dismissalReason?: "false-positive" | "not-applicable" | "accepted-risk" | "duplicate" | "other";
|
|
669
|
+
}[];
|
|
670
|
+
readonly notes: readonly {
|
|
671
|
+
readonly reason: "low-confidence" | "pre-existing";
|
|
672
|
+
readonly title: string;
|
|
673
|
+
readonly confidence: import("effect/Schema").Struct.ReadonlySide<{
|
|
485
674
|
readonly level: import("effect/Schema").Literals<readonly ["low", "medium", "high"]>;
|
|
486
675
|
readonly reason: import("effect/Schema").String;
|
|
487
|
-
}>;
|
|
488
|
-
readonly
|
|
676
|
+
}, "Type">;
|
|
677
|
+
readonly observation: string;
|
|
678
|
+
readonly noteId: string & import("effect/Brand").Brand<"PrReviewNoteId">;
|
|
679
|
+
readonly location?: import("effect/Schema").Struct.ReadonlySide<{
|
|
489
680
|
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
490
681
|
readonly startLine: import("effect/Schema").Int;
|
|
491
682
|
readonly endLine: import("effect/Schema").Int;
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
683
|
+
}, "Type">;
|
|
684
|
+
}[];
|
|
685
|
+
readonly transitions?: readonly {
|
|
686
|
+
readonly transition: "resolved" | "reopened" | "new" | "still-present";
|
|
687
|
+
readonly previousState: "stale" | "draft" | "published" | "resolved" | "dismissed" | "reopened" | null;
|
|
688
|
+
readonly currentState: "stale" | "draft" | "published" | "resolved" | "dismissed" | "reopened" | null;
|
|
689
|
+
readonly previousHead: string | null;
|
|
690
|
+
readonly suggestionId: string & import("effect/Brand").Brand<"PrReviewSuggestionId">;
|
|
691
|
+
readonly currentHead: string;
|
|
692
|
+
readonly previousDismissalReason?: "false-positive" | "not-applicable" | "accepted-risk" | "duplicate" | "other";
|
|
693
|
+
}[];
|
|
694
|
+
} | null;
|
|
695
|
+
readonly threadId: string & import("effect/Brand").Brand<"AgentThreadId">;
|
|
696
|
+
readonly terminalAt: import("effect/DateTime").Utc | null;
|
|
697
|
+
readonly startedAt?: import("effect/DateTime").Utc | null;
|
|
698
|
+
readonly reviewBudgetMillis?: number;
|
|
699
|
+
readonly reviewBudgetExtensionCount?: number;
|
|
700
|
+
readonly taskIntent?: "suggestion-edit" | "suggestion-revalidation" | null;
|
|
701
|
+
}>, PersistenceOperationFailure, never>;
|
|
702
|
+
latestReviewForPullRequest: (input: any) => Effect.Effect<import("effect/Option").Option<{
|
|
703
|
+
readonly providerId: string & import("effect/Brand").Brand<"AgentProviderId">;
|
|
704
|
+
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
705
|
+
readonly state: "succeeded" | "failed" | "cancelled" | "cancel-requested" | "queued" | "running" | "interrupted";
|
|
706
|
+
readonly model: string | null;
|
|
707
|
+
readonly createdAt: import("effect/DateTime").Utc;
|
|
708
|
+
readonly reviewProfile: import("effect/Schema").Struct.ReadonlySide<{
|
|
497
709
|
readonly profileId: import("effect/Schema").brand<import("effect/Schema").String, "ReviewAgentProfileId">;
|
|
498
710
|
readonly label: import("effect/Schema").String;
|
|
499
711
|
readonly budgetMillis: import("effect/Schema").Int;
|
|
500
712
|
readonly networkAccess: import("effect/Schema").Literals<readonly ["blocked", "provider-enabled"]>;
|
|
501
713
|
readonly sandbox: import("effect/Schema").Literal<"sbx">;
|
|
502
|
-
}>;
|
|
503
|
-
readonly activity: import("effect/Schema").Struct<{
|
|
714
|
+
}, "Type">;
|
|
715
|
+
readonly activity: import("effect/Schema").Struct.ReadonlySide<{
|
|
504
716
|
readonly events: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
505
717
|
readonly truncated: import("effect/Schema").Boolean;
|
|
506
|
-
}>;
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
718
|
+
}, "Type">;
|
|
719
|
+
readonly report: {
|
|
720
|
+
readonly schemaVersion: 3;
|
|
721
|
+
readonly subject: import("effect/Schema").Struct.ReadonlySide<{
|
|
722
|
+
readonly providerId: import("effect/Schema").Literal<"codecommit">;
|
|
723
|
+
readonly repository: import("effect/Schema").String;
|
|
724
|
+
readonly pullRequestId: import("effect/Schema").String;
|
|
725
|
+
readonly baseRevision: import("effect/Schema").String;
|
|
726
|
+
readonly headRevision: import("effect/Schema").String;
|
|
727
|
+
}, "Type">;
|
|
728
|
+
readonly completion: import("effect/Schema").Struct.ReadonlySide<{
|
|
729
|
+
readonly status: import("effect/Schema").Literal<"complete">;
|
|
730
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
731
|
+
readonly status: import("effect/Schema").Literal<"unable-to-conclude">;
|
|
732
|
+
readonly reason: import("effect/Schema").String;
|
|
733
|
+
}, "Type">;
|
|
734
|
+
readonly suggestions: readonly {
|
|
735
|
+
readonly title: string;
|
|
736
|
+
readonly confidence: import("effect/Schema").Struct.ReadonlySide<{
|
|
737
|
+
readonly level: import("effect/Schema").Literals<readonly ["low", "medium", "high"]>;
|
|
738
|
+
readonly reason: import("effect/Schema").String;
|
|
739
|
+
}, "Type">;
|
|
740
|
+
readonly anchor: import("effect/Schema").Struct.ReadonlySide<{
|
|
741
|
+
readonly _tag: import("effect/Schema").Literal<"line">;
|
|
742
|
+
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
743
|
+
readonly line: import("effect/Schema").Int;
|
|
744
|
+
readonly relativeFileVersion: import("effect/Schema").withDecodingDefaultTypeKey<import("effect/Schema").Literal<"AFTER">, never>;
|
|
745
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
746
|
+
readonly _tag: import("effect/Schema").Literal<"file">;
|
|
747
|
+
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
748
|
+
readonly line: import("effect/Schema").Int;
|
|
749
|
+
readonly relativeFileVersion: import("effect/Schema").withDecodingDefaultTypeKey<import("effect/Schema").Literals<readonly ["BEFORE", "AFTER"]>, never>;
|
|
750
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
751
|
+
readonly _tag: import("effect/Schema").Literal<"changes">;
|
|
752
|
+
}, "Type">;
|
|
753
|
+
readonly impact: string;
|
|
754
|
+
readonly evidence: import("effect/Schema").Struct.ReadonlySide<{
|
|
755
|
+
readonly excerpt: import("effect/Schema").String;
|
|
756
|
+
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
757
|
+
readonly startLine: import("effect/Schema").Int;
|
|
758
|
+
readonly endLine: import("effect/Schema").Int;
|
|
759
|
+
}, "Type">;
|
|
760
|
+
readonly state: "stale" | "draft" | "published" | "resolved" | "dismissed" | "reopened";
|
|
761
|
+
readonly suggestionId: string & import("effect/Brand").Brand<"PrReviewSuggestionId">;
|
|
762
|
+
readonly severity: "P1" | "P2" | "P3" | "P4";
|
|
763
|
+
readonly problem: string;
|
|
764
|
+
readonly recommendation: string;
|
|
765
|
+
readonly relatedLocations: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
766
|
+
readonly label: import("effect/Schema").String;
|
|
767
|
+
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
768
|
+
readonly startLine: import("effect/Schema").Int;
|
|
769
|
+
readonly endLine: import("effect/Schema").Int;
|
|
770
|
+
}, "Type">[];
|
|
771
|
+
readonly prevention?: import("effect/Schema").Struct.ReadonlySide<{
|
|
772
|
+
readonly summary: import("effect/Schema").String;
|
|
773
|
+
readonly enforcement: import("effect/Schema").Literals<readonly ["ast-grep", "ESLint", "type-check", "test", "instruction"]>;
|
|
774
|
+
readonly existingRuleOrConfig: import("effect/Schema").String;
|
|
775
|
+
readonly recurrenceEvidence: import("effect/Schema").String;
|
|
776
|
+
readonly targetFile: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
777
|
+
readonly sourcePaths: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">>;
|
|
778
|
+
readonly matcherOrInvariant: import("effect/Schema").String;
|
|
779
|
+
readonly invalidFixture: import("effect/Schema").String;
|
|
780
|
+
readonly validFixture: import("effect/Schema").String;
|
|
781
|
+
readonly boundary: import("effect/Schema").String;
|
|
782
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
783
|
+
readonly summary: import("effect/Schema").String;
|
|
784
|
+
readonly enforcement: import("effect/Schema").Literal<"none">;
|
|
785
|
+
readonly rationale: import("effect/Schema").String;
|
|
786
|
+
}, "Type">;
|
|
787
|
+
readonly replacement?: import("effect/Schema").Struct.ReadonlySide<{
|
|
788
|
+
readonly reviewedHead: import("effect/Schema").String;
|
|
789
|
+
readonly unifiedDiff: import("effect/Schema").String;
|
|
790
|
+
readonly explanation: import("effect/Schema").String;
|
|
791
|
+
}, "Type">;
|
|
792
|
+
readonly dismissalReason?: "false-positive" | "not-applicable" | "accepted-risk" | "duplicate" | "other";
|
|
793
|
+
}[];
|
|
794
|
+
readonly notes: readonly {
|
|
795
|
+
readonly reason: "low-confidence" | "pre-existing";
|
|
796
|
+
readonly title: string;
|
|
797
|
+
readonly confidence: import("effect/Schema").Struct.ReadonlySide<{
|
|
798
|
+
readonly level: import("effect/Schema").Literals<readonly ["low", "medium", "high"]>;
|
|
799
|
+
readonly reason: import("effect/Schema").String;
|
|
800
|
+
}, "Type">;
|
|
801
|
+
readonly observation: string;
|
|
802
|
+
readonly noteId: string & import("effect/Brand").Brand<"PrReviewNoteId">;
|
|
803
|
+
readonly location?: import("effect/Schema").Struct.ReadonlySide<{
|
|
804
|
+
readonly path: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewPath">;
|
|
805
|
+
readonly startLine: import("effect/Schema").Int;
|
|
806
|
+
readonly endLine: import("effect/Schema").Int;
|
|
807
|
+
}, "Type">;
|
|
808
|
+
}[];
|
|
809
|
+
readonly transitions?: readonly {
|
|
810
|
+
readonly transition: "resolved" | "reopened" | "new" | "still-present";
|
|
811
|
+
readonly previousState: "stale" | "draft" | "published" | "resolved" | "dismissed" | "reopened" | null;
|
|
812
|
+
readonly currentState: "stale" | "draft" | "published" | "resolved" | "dismissed" | "reopened" | null;
|
|
813
|
+
readonly previousHead: string | null;
|
|
814
|
+
readonly suggestionId: string & import("effect/Brand").Brand<"PrReviewSuggestionId">;
|
|
815
|
+
readonly currentHead: string;
|
|
816
|
+
readonly previousDismissalReason?: "false-positive" | "not-applicable" | "accepted-risk" | "duplicate" | "other";
|
|
817
|
+
}[];
|
|
818
|
+
} | null;
|
|
819
|
+
readonly threadId: string & import("effect/Brand").Brand<"AgentThreadId">;
|
|
820
|
+
readonly terminalAt: import("effect/DateTime").Utc | null;
|
|
821
|
+
readonly startedAt?: import("effect/DateTime").Utc | null;
|
|
822
|
+
readonly reviewBudgetMillis?: number;
|
|
823
|
+
readonly reviewBudgetExtensionCount?: number;
|
|
824
|
+
readonly taskIntent?: "suggestion-edit" | "suggestion-revalidation" | null;
|
|
825
|
+
}>, PersistenceOperationFailure, never>;
|
|
826
|
+
listRunningPrReviewAttempts: (workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">) => Effect.Effect<import("effect/Schema").Struct.ReadonlySide<{
|
|
827
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
828
|
+
readonly attemptSequence: import("effect/Schema").brand<import("effect/Schema").Int, "AgentAttemptSequence">;
|
|
829
|
+
readonly attemptId: import("effect/Schema").String;
|
|
830
|
+
readonly sessionRef: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "AgentSessionRef">>;
|
|
831
|
+
}, "Type">[], PersistenceOperationFailure, never>;
|
|
832
|
+
attachRunningPrReviewSession: (input: import("effect/Schema").Struct.ReadonlySide<{
|
|
833
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
834
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
835
|
+
readonly attemptSequence: import("effect/Schema").brand<import("effect/Schema").Int, "AgentAttemptSequence">;
|
|
836
|
+
readonly sessionRef: import("effect/Schema").brand<import("effect/Schema").String, "AgentSessionRef">;
|
|
837
|
+
}, "Type">) => Effect.Effect<undefined, PersistenceOperationFailure, never>;
|
|
838
|
+
readReviewSuggestionPublication: (input: import("effect/Schema").Struct.ReadonlySide<{
|
|
839
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
840
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
841
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
842
|
+
readonly revisionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionRevisionId">;
|
|
524
843
|
}, "Type">) => Effect.Effect<import("effect/Schema").Struct.ReadonlySide<{
|
|
525
|
-
readonly
|
|
526
|
-
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
527
|
-
readonly _tag: import("effect/Schema").tag<"in-progress">;
|
|
528
|
-
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
529
|
-
readonly _tag: import("effect/Schema").tag<"recoverable">;
|
|
844
|
+
readonly state: import("effect/Schema").Literal<"published">;
|
|
530
845
|
readonly publicationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
531
|
-
readonly
|
|
846
|
+
readonly commentId: import("effect/Schema").brand<import("effect/Schema").String, "ReviewSuggestionPublicationCommentId">;
|
|
847
|
+
}, "Type"> | null, PersistenceOperationFailure, never>;
|
|
848
|
+
releaseReviewSuggestionPublication: (input: import("effect/Schema").Struct.ReadonlySide<{
|
|
849
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
850
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
851
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
852
|
+
readonly revisionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionRevisionId">;
|
|
853
|
+
readonly contentDigest: import("effect/Schema").brand<import("effect/Schema").String, "ReviewSuggestionPublicationDigest">;
|
|
532
854
|
readonly reservationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReviewSuggestionPublicationReservationId">;
|
|
533
|
-
}, "Type">
|
|
534
|
-
|
|
535
|
-
readonly
|
|
536
|
-
readonly publishedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
537
|
-
}, "Type">, PersistenceOperationFailure, never>;
|
|
538
|
-
recordReviewSuggestionPublication: (input: {
|
|
539
|
-
readonly suggestionId: string & import("effect/Brand").Brand<"PrReviewSuggestionId">;
|
|
855
|
+
}, "Type">) => Effect.Effect<void, PersistenceOperationFailure, never>;
|
|
856
|
+
reserveReviewSuggestionPublication: (input: {
|
|
857
|
+
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
540
858
|
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
859
|
+
readonly suggestionId: string & import("effect/Brand").Brand<"PrReviewSuggestionId">;
|
|
541
860
|
readonly revisionId: string & import("effect/Brand").Brand<"PrReviewSuggestionRevisionId">;
|
|
861
|
+
readonly contentDigest: string & import("effect/Brand").Brand<"ReviewSuggestionPublicationDigest">;
|
|
862
|
+
readonly reservationId: string & import("effect/Brand").Brand<"ReviewSuggestionPublicationReservationId">;
|
|
863
|
+
readonly reservedAt: import("effect/DateTime").Utc;
|
|
864
|
+
readonly operation?: "reply" | "create" | "update";
|
|
865
|
+
readonly commentId?: string & import("effect/Brand").Brand<"ReviewSuggestionPublicationCommentId">;
|
|
866
|
+
}) => Effect.Effect<{
|
|
867
|
+
readonly _tag: "acquired";
|
|
868
|
+
readonly commentId?: string & import("effect/Brand").Brand<"ReviewSuggestionPublicationCommentId">;
|
|
869
|
+
} | {
|
|
870
|
+
readonly _tag: "in-progress";
|
|
871
|
+
readonly commentId?: string & import("effect/Brand").Brand<"ReviewSuggestionPublicationCommentId">;
|
|
872
|
+
} | {
|
|
873
|
+
readonly _tag: "recoverable";
|
|
874
|
+
readonly publishedAt: import("effect/DateTime").Utc;
|
|
875
|
+
readonly publicationId: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
876
|
+
readonly reservationId: string & import("effect/Brand").Brand<"ReviewSuggestionPublicationReservationId">;
|
|
877
|
+
readonly commentId?: string & import("effect/Brand").Brand<"ReviewSuggestionPublicationCommentId">;
|
|
878
|
+
} | {
|
|
879
|
+
readonly _tag: "published";
|
|
880
|
+
readonly publishedAt: import("effect/DateTime").Utc;
|
|
881
|
+
readonly publicationId: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
882
|
+
readonly commentId?: string & import("effect/Brand").Brand<"ReviewSuggestionPublicationCommentId">;
|
|
883
|
+
}, PersistenceOperationFailure, never>;
|
|
884
|
+
recordReviewSuggestionPublication: (input: {
|
|
542
885
|
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
886
|
+
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
887
|
+
readonly suggestionId: string & import("effect/Brand").Brand<"PrReviewSuggestionId">;
|
|
888
|
+
readonly revisionId: string & import("effect/Brand").Brand<"PrReviewSuggestionRevisionId">;
|
|
543
889
|
readonly publishedAt: import("effect/DateTime").Utc;
|
|
544
890
|
readonly publicationId: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
545
891
|
readonly contentDigest: string & import("effect/Brand").Brand<"ReviewSuggestionPublicationDigest">;
|
|
546
892
|
readonly reservationId: string & import("effect/Brand").Brand<"ReviewSuggestionPublicationReservationId">;
|
|
893
|
+
readonly operation?: "reply" | "create" | "update";
|
|
894
|
+
readonly commentId?: string & import("effect/Brand").Brand<"ReviewSuggestionPublicationCommentId">;
|
|
547
895
|
readonly finalize?: boolean;
|
|
548
896
|
}) => Effect.Effect<undefined, PersistenceOperationFailure, never>;
|
|
897
|
+
reviewBudget: (input: import("effect/Schema").Struct.ReadonlySide<{
|
|
898
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
899
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
900
|
+
readonly task: import("effect/Schema").toTaggedUnion<"_tag", readonly [import("effect/Schema").TaggedStruct<"release-chat", {}>, import("effect/Schema").TaggedStruct<"pr-review", {
|
|
901
|
+
readonly context: import("effect/Schema").Struct<{
|
|
902
|
+
readonly recentRequests: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
903
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
904
|
+
readonly prompt: import("effect/Schema").String;
|
|
905
|
+
readonly subjectRevision: import("effect/Schema").String;
|
|
906
|
+
readonly requestedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
907
|
+
}>>;
|
|
908
|
+
readonly priorRuns: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
909
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
910
|
+
readonly subject: import("effect/Schema").Struct<{
|
|
911
|
+
readonly providerId: import("effect/Schema").Literal<"codecommit">;
|
|
912
|
+
readonly repository: import("effect/Schema").String;
|
|
913
|
+
readonly pullRequestId: import("effect/Schema").String;
|
|
914
|
+
readonly baseRevision: import("effect/Schema").String;
|
|
915
|
+
readonly headRevision: import("effect/Schema").String;
|
|
916
|
+
}>;
|
|
917
|
+
readonly state: import("effect/Schema").Literals<readonly ["cancelled", "failed", "interrupted", "succeeded", "unknown"]>;
|
|
918
|
+
readonly requestedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
919
|
+
readonly suggestionTitles: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
920
|
+
readonly suggestionsTruncated: import("effect/Schema").Boolean;
|
|
921
|
+
readonly noteTitles: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
922
|
+
readonly notesTruncated: import("effect/Schema").Boolean;
|
|
923
|
+
readonly limitation: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
924
|
+
}>>;
|
|
925
|
+
readonly historyTruncated: import("effect/Schema").Boolean;
|
|
926
|
+
}>;
|
|
927
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
928
|
+
readonly subject: import("effect/Schema").Struct<{
|
|
929
|
+
readonly providerId: import("effect/Schema").Literal<"codecommit">;
|
|
930
|
+
readonly repository: import("effect/Schema").String;
|
|
931
|
+
readonly pullRequestId: import("effect/Schema").String;
|
|
932
|
+
readonly baseRevision: import("effect/Schema").String;
|
|
933
|
+
readonly headRevision: import("effect/Schema").String;
|
|
934
|
+
}>;
|
|
935
|
+
readonly reviewProfile: import("effect/Schema").Struct<{
|
|
936
|
+
readonly profileId: import("effect/Schema").brand<import("effect/Schema").String, "ReviewAgentProfileId">;
|
|
937
|
+
readonly label: import("effect/Schema").String;
|
|
938
|
+
readonly budgetMillis: import("effect/Schema").Int;
|
|
939
|
+
readonly networkAccess: import("effect/Schema").Literals<readonly ["blocked", "provider-enabled"]>;
|
|
940
|
+
readonly sandbox: import("effect/Schema").Literal<"sbx">;
|
|
941
|
+
}>;
|
|
942
|
+
readonly intent: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["full-review", "suggestion-edit", "suggestion-revalidation"]>>;
|
|
943
|
+
readonly target: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
944
|
+
readonly sourceJobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
945
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
946
|
+
readonly selectedRevisionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionRevisionId">;
|
|
947
|
+
readonly history: import("effect/Schema").Struct<{
|
|
948
|
+
readonly current: typeof import("../../index.ts").PrReviewSuggestionRevision;
|
|
949
|
+
readonly revisions: import("effect/Schema").$Array<typeof import("../../index.ts").PrReviewSuggestionRevision>;
|
|
950
|
+
readonly hasMore: import("effect/Schema").Boolean;
|
|
951
|
+
readonly nextBeforeSequence: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").Int, "PrReviewSuggestionRevisionSequence">>;
|
|
952
|
+
}>;
|
|
953
|
+
}>>;
|
|
954
|
+
}>]>;
|
|
955
|
+
}, "Type">) => Effect.Effect<{
|
|
956
|
+
reviewBudgetMillis: undefined;
|
|
957
|
+
reviewBudgetExtensionCount: number;
|
|
958
|
+
} | {
|
|
959
|
+
reviewBudgetMillis: number;
|
|
960
|
+
reviewBudgetExtensionCount: number;
|
|
961
|
+
}, PersistenceOperationFailure, never>;
|
|
549
962
|
requestCancellation: (input: import("effect/Schema").Struct.ReadonlySide<{
|
|
550
963
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
551
964
|
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
552
965
|
readonly requestedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
553
966
|
}, "Type">) => Effect.Effect<void, PersistenceOperationFailure, never>;
|
|
967
|
+
extendReviewBudget: (input: import("effect/Schema").Struct.ReadonlySide<{
|
|
968
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
969
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
970
|
+
readonly extendedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
971
|
+
}, "Type">) => Effect.Effect<{
|
|
972
|
+
reviewBudgetMillis: number;
|
|
973
|
+
reviewBudgetExtensionCount: number;
|
|
974
|
+
}, PersistenceOperationFailure, never>;
|
|
975
|
+
interruptRunningReviews: (input: {
|
|
976
|
+
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
977
|
+
readonly interruptedAt: import("effect/DateTime").Utc;
|
|
978
|
+
readonly preservedAttempts?: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
979
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
980
|
+
readonly attemptSequence: import("effect/Schema").brand<import("effect/Schema").Int, "AgentAttemptSequence">;
|
|
981
|
+
}, "Type">[];
|
|
982
|
+
}) => Effect.Effect<{
|
|
983
|
+
interrupted: number;
|
|
984
|
+
}, PersistenceOperationFailure, never>;
|
|
554
985
|
reviewThreadAfter: (input: import("effect/Schema").Struct.ReadonlySide<{
|
|
555
986
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
556
987
|
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
@@ -563,34 +994,46 @@ declare const makePersistence: Effect.Effect<{
|
|
|
563
994
|
readonly limit: import("effect/Schema").brand<import("effect/Schema").Int, "AgentThreadEventPageSize">;
|
|
564
995
|
}, "Type">) => Effect.Effect<{
|
|
565
996
|
events: {
|
|
566
|
-
readonly payload: unknown;
|
|
567
|
-
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
568
997
|
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
569
|
-
readonly
|
|
998
|
+
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
570
999
|
readonly occurredAt: import("effect/DateTime").Utc;
|
|
1000
|
+
readonly payload: unknown;
|
|
1001
|
+
readonly eventSequence: number & import("effect/Brand").Brand<"AgentEventCursor">;
|
|
571
1002
|
readonly threadId: string & import("effect/Brand").Brand<"AgentThreadId">;
|
|
572
1003
|
readonly attemptSequence: (number & import("effect/Brand").Brand<"AgentAttemptSequence">) | null;
|
|
573
|
-
readonly eventKind: "progress" | "user-message" | "job-queued" | "job-started" | "assistant-output" | "usage" | "job-completed" | "job-failed" | "
|
|
1004
|
+
readonly eventKind: "cancel-requested" | "progress" | "user-message" | "job-queued" | "job-started" | "assistant-output" | "usage" | "job-completed" | "job-failed" | "review-report" | "review-suggestion-revised" | "review-suggestion-published";
|
|
574
1005
|
readonly task?: import("effect/Schema").Struct.ReadonlySide<{
|
|
575
1006
|
readonly _tag: import("effect/Schema").tag<"release-chat">;
|
|
576
|
-
}, "Type"> |
|
|
577
|
-
readonly
|
|
578
|
-
|
|
579
|
-
subject: import("effect/Schema").Struct<{
|
|
1007
|
+
}, "Type"> | {
|
|
1008
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
1009
|
+
readonly _tag: "pr-review";
|
|
1010
|
+
readonly subject: import("effect/Schema").Struct.ReadonlySide<{
|
|
580
1011
|
readonly providerId: import("effect/Schema").Literal<"codecommit">;
|
|
581
1012
|
readonly repository: import("effect/Schema").String;
|
|
582
1013
|
readonly pullRequestId: import("effect/Schema").String;
|
|
583
1014
|
readonly baseRevision: import("effect/Schema").String;
|
|
584
1015
|
readonly headRevision: import("effect/Schema").String;
|
|
585
|
-
}>;
|
|
586
|
-
reviewProfile: import("effect/Schema").Struct<{
|
|
1016
|
+
}, "Type">;
|
|
1017
|
+
readonly reviewProfile: import("effect/Schema").Struct.ReadonlySide<{
|
|
587
1018
|
readonly profileId: import("effect/Schema").brand<import("effect/Schema").String, "ReviewAgentProfileId">;
|
|
588
1019
|
readonly label: import("effect/Schema").String;
|
|
589
1020
|
readonly budgetMillis: import("effect/Schema").Int;
|
|
590
1021
|
readonly networkAccess: import("effect/Schema").Literals<readonly ["blocked", "provider-enabled"]>;
|
|
591
1022
|
readonly sandbox: import("effect/Schema").Literal<"sbx">;
|
|
592
|
-
}>;
|
|
593
|
-
|
|
1023
|
+
}, "Type">;
|
|
1024
|
+
readonly target?: import("effect/Schema").Struct.ReadonlySide<{
|
|
1025
|
+
readonly sourceJobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1026
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
1027
|
+
readonly selectedRevisionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionRevisionId">;
|
|
1028
|
+
readonly history: import("effect/Schema").Struct<{
|
|
1029
|
+
readonly current: typeof import("../../index.ts").PrReviewSuggestionRevision;
|
|
1030
|
+
readonly revisions: import("effect/Schema").$Array<typeof import("../../index.ts").PrReviewSuggestionRevision>;
|
|
1031
|
+
readonly hasMore: import("effect/Schema").Boolean;
|
|
1032
|
+
readonly nextBeforeSequence: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").Int, "PrReviewSuggestionRevisionSequence">>;
|
|
1033
|
+
}>;
|
|
1034
|
+
}, "Type">;
|
|
1035
|
+
readonly intent?: "suggestion-edit" | "suggestion-revalidation" | "full-review";
|
|
1036
|
+
};
|
|
594
1037
|
}[];
|
|
595
1038
|
nextCursor: number & import("effect/Brand").Brand<"AgentEventCursor">;
|
|
596
1039
|
}, PersistenceOperationFailure, never>;
|
|
@@ -606,34 +1049,46 @@ declare const makePersistence: Effect.Effect<{
|
|
|
606
1049
|
readonly limit: import("effect/Schema").brand<import("effect/Schema").Int, "AgentThreadEventPageSize">;
|
|
607
1050
|
}, "Type">) => Effect.Effect<{
|
|
608
1051
|
events: {
|
|
609
|
-
readonly payload: unknown;
|
|
610
|
-
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
611
1052
|
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
612
|
-
readonly
|
|
1053
|
+
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
613
1054
|
readonly occurredAt: import("effect/DateTime").Utc;
|
|
1055
|
+
readonly payload: unknown;
|
|
1056
|
+
readonly eventSequence: number & import("effect/Brand").Brand<"AgentEventCursor">;
|
|
614
1057
|
readonly threadId: string & import("effect/Brand").Brand<"AgentThreadId">;
|
|
615
1058
|
readonly attemptSequence: (number & import("effect/Brand").Brand<"AgentAttemptSequence">) | null;
|
|
616
|
-
readonly eventKind: "progress" | "user-message" | "job-queued" | "job-started" | "assistant-output" | "usage" | "job-completed" | "job-failed" | "
|
|
1059
|
+
readonly eventKind: "cancel-requested" | "progress" | "user-message" | "job-queued" | "job-started" | "assistant-output" | "usage" | "job-completed" | "job-failed" | "review-report" | "review-suggestion-revised" | "review-suggestion-published";
|
|
617
1060
|
readonly task?: import("effect/Schema").Struct.ReadonlySide<{
|
|
618
1061
|
readonly _tag: import("effect/Schema").tag<"release-chat">;
|
|
619
|
-
}, "Type"> |
|
|
620
|
-
readonly
|
|
621
|
-
|
|
622
|
-
subject: import("effect/Schema").Struct<{
|
|
1062
|
+
}, "Type"> | {
|
|
1063
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
1064
|
+
readonly _tag: "pr-review";
|
|
1065
|
+
readonly subject: import("effect/Schema").Struct.ReadonlySide<{
|
|
623
1066
|
readonly providerId: import("effect/Schema").Literal<"codecommit">;
|
|
624
1067
|
readonly repository: import("effect/Schema").String;
|
|
625
1068
|
readonly pullRequestId: import("effect/Schema").String;
|
|
626
1069
|
readonly baseRevision: import("effect/Schema").String;
|
|
627
1070
|
readonly headRevision: import("effect/Schema").String;
|
|
628
|
-
}>;
|
|
629
|
-
reviewProfile: import("effect/Schema").Struct<{
|
|
1071
|
+
}, "Type">;
|
|
1072
|
+
readonly reviewProfile: import("effect/Schema").Struct.ReadonlySide<{
|
|
630
1073
|
readonly profileId: import("effect/Schema").brand<import("effect/Schema").String, "ReviewAgentProfileId">;
|
|
631
1074
|
readonly label: import("effect/Schema").String;
|
|
632
1075
|
readonly budgetMillis: import("effect/Schema").Int;
|
|
633
1076
|
readonly networkAccess: import("effect/Schema").Literals<readonly ["blocked", "provider-enabled"]>;
|
|
634
1077
|
readonly sandbox: import("effect/Schema").Literal<"sbx">;
|
|
635
|
-
}>;
|
|
636
|
-
|
|
1078
|
+
}, "Type">;
|
|
1079
|
+
readonly target?: import("effect/Schema").Struct.ReadonlySide<{
|
|
1080
|
+
readonly sourceJobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1081
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
1082
|
+
readonly selectedRevisionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionRevisionId">;
|
|
1083
|
+
readonly history: import("effect/Schema").Struct<{
|
|
1084
|
+
readonly current: typeof import("../../index.ts").PrReviewSuggestionRevision;
|
|
1085
|
+
readonly revisions: import("effect/Schema").$Array<typeof import("../../index.ts").PrReviewSuggestionRevision>;
|
|
1086
|
+
readonly hasMore: import("effect/Schema").Boolean;
|
|
1087
|
+
readonly nextBeforeSequence: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").Int, "PrReviewSuggestionRevisionSequence">>;
|
|
1088
|
+
}>;
|
|
1089
|
+
}, "Type">;
|
|
1090
|
+
readonly intent?: "suggestion-edit" | "suggestion-revalidation" | "full-review";
|
|
1091
|
+
};
|
|
637
1092
|
}[];
|
|
638
1093
|
nextCursor: number & import("effect/Brand").Brand<"AgentEventCursor">;
|
|
639
1094
|
}, PersistenceOperationFailure, never>;
|
|
@@ -648,34 +1103,46 @@ declare const makePersistence: Effect.Effect<{
|
|
|
648
1103
|
readonly limit: import("effect/Schema").brand<import("effect/Schema").Int, "AgentThreadEventPageSize">;
|
|
649
1104
|
}, "Type">) => Effect.Effect<{
|
|
650
1105
|
events: {
|
|
651
|
-
readonly payload: unknown;
|
|
652
|
-
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
653
1106
|
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
654
|
-
readonly
|
|
1107
|
+
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
655
1108
|
readonly occurredAt: import("effect/DateTime").Utc;
|
|
1109
|
+
readonly payload: unknown;
|
|
1110
|
+
readonly eventSequence: number & import("effect/Brand").Brand<"AgentEventCursor">;
|
|
656
1111
|
readonly threadId: string & import("effect/Brand").Brand<"AgentThreadId">;
|
|
657
1112
|
readonly attemptSequence: (number & import("effect/Brand").Brand<"AgentAttemptSequence">) | null;
|
|
658
|
-
readonly eventKind: "progress" | "user-message" | "job-queued" | "job-started" | "assistant-output" | "usage" | "job-completed" | "job-failed" | "
|
|
1113
|
+
readonly eventKind: "cancel-requested" | "progress" | "user-message" | "job-queued" | "job-started" | "assistant-output" | "usage" | "job-completed" | "job-failed" | "review-report" | "review-suggestion-revised" | "review-suggestion-published";
|
|
659
1114
|
readonly task?: import("effect/Schema").Struct.ReadonlySide<{
|
|
660
1115
|
readonly _tag: import("effect/Schema").tag<"release-chat">;
|
|
661
|
-
}, "Type"> |
|
|
662
|
-
readonly
|
|
663
|
-
|
|
664
|
-
subject: import("effect/Schema").Struct<{
|
|
1116
|
+
}, "Type"> | {
|
|
1117
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
1118
|
+
readonly _tag: "pr-review";
|
|
1119
|
+
readonly subject: import("effect/Schema").Struct.ReadonlySide<{
|
|
665
1120
|
readonly providerId: import("effect/Schema").Literal<"codecommit">;
|
|
666
1121
|
readonly repository: import("effect/Schema").String;
|
|
667
1122
|
readonly pullRequestId: import("effect/Schema").String;
|
|
668
1123
|
readonly baseRevision: import("effect/Schema").String;
|
|
669
1124
|
readonly headRevision: import("effect/Schema").String;
|
|
670
|
-
}>;
|
|
671
|
-
reviewProfile: import("effect/Schema").Struct<{
|
|
1125
|
+
}, "Type">;
|
|
1126
|
+
readonly reviewProfile: import("effect/Schema").Struct.ReadonlySide<{
|
|
672
1127
|
readonly profileId: import("effect/Schema").brand<import("effect/Schema").String, "ReviewAgentProfileId">;
|
|
673
1128
|
readonly label: import("effect/Schema").String;
|
|
674
1129
|
readonly budgetMillis: import("effect/Schema").Int;
|
|
675
1130
|
readonly networkAccess: import("effect/Schema").Literals<readonly ["blocked", "provider-enabled"]>;
|
|
676
1131
|
readonly sandbox: import("effect/Schema").Literal<"sbx">;
|
|
677
|
-
}>;
|
|
678
|
-
|
|
1132
|
+
}, "Type">;
|
|
1133
|
+
readonly target?: import("effect/Schema").Struct.ReadonlySide<{
|
|
1134
|
+
readonly sourceJobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1135
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
1136
|
+
readonly selectedRevisionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionRevisionId">;
|
|
1137
|
+
readonly history: import("effect/Schema").Struct<{
|
|
1138
|
+
readonly current: typeof import("../../index.ts").PrReviewSuggestionRevision;
|
|
1139
|
+
readonly revisions: import("effect/Schema").$Array<typeof import("../../index.ts").PrReviewSuggestionRevision>;
|
|
1140
|
+
readonly hasMore: import("effect/Schema").Boolean;
|
|
1141
|
+
readonly nextBeforeSequence: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").Int, "PrReviewSuggestionRevisionSequence">>;
|
|
1142
|
+
}>;
|
|
1143
|
+
}, "Type">;
|
|
1144
|
+
readonly intent?: "suggestion-edit" | "suggestion-revalidation" | "full-review";
|
|
1145
|
+
};
|
|
679
1146
|
}[];
|
|
680
1147
|
nextCursor: number & import("effect/Brand").Brand<"AgentEventCursor">;
|
|
681
1148
|
}, PersistenceOperationFailure, never>;
|
|
@@ -759,6 +1226,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
759
1226
|
}>>;
|
|
760
1227
|
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
761
1228
|
readonly state: import("effect/Schema").Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
|
|
1229
|
+
readonly dismissalReason: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
762
1230
|
}>>;
|
|
763
1231
|
readonly notes: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
764
1232
|
readonly reason: import("effect/Schema").Literals<readonly ["low-confidence", "pre-existing"]>;
|
|
@@ -775,6 +1243,15 @@ declare const makePersistence: Effect.Effect<{
|
|
|
775
1243
|
}>>;
|
|
776
1244
|
readonly noteId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewNoteId">;
|
|
777
1245
|
}>>;
|
|
1246
|
+
readonly transitions: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1247
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
1248
|
+
readonly transition: import("effect/Schema").Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
|
|
1249
|
+
readonly previousState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
1250
|
+
readonly currentState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
1251
|
+
readonly previousDismissalReason: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
1252
|
+
readonly previousHead: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1253
|
+
readonly currentHead: import("effect/Schema").String;
|
|
1254
|
+
}>>>;
|
|
778
1255
|
}>;
|
|
779
1256
|
readonly completedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
780
1257
|
}, "Type">, PersistenceOperationFailure, never>;
|
|
@@ -797,34 +1274,46 @@ declare const makePersistence: Effect.Effect<{
|
|
|
797
1274
|
readonly limit: import("effect/Schema").brand<import("effect/Schema").Int, "AgentThreadEventPageSize">;
|
|
798
1275
|
}, "Type">) => Effect.Effect<{
|
|
799
1276
|
events: {
|
|
800
|
-
readonly payload: unknown;
|
|
801
|
-
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
802
1277
|
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
803
|
-
readonly
|
|
1278
|
+
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
804
1279
|
readonly occurredAt: import("effect/DateTime").Utc;
|
|
1280
|
+
readonly payload: unknown;
|
|
1281
|
+
readonly eventSequence: number & import("effect/Brand").Brand<"AgentEventCursor">;
|
|
805
1282
|
readonly threadId: string & import("effect/Brand").Brand<"AgentThreadId">;
|
|
806
1283
|
readonly attemptSequence: (number & import("effect/Brand").Brand<"AgentAttemptSequence">) | null;
|
|
807
|
-
readonly eventKind: "progress" | "user-message" | "job-queued" | "job-started" | "assistant-output" | "usage" | "job-completed" | "job-failed" | "
|
|
1284
|
+
readonly eventKind: "cancel-requested" | "progress" | "user-message" | "job-queued" | "job-started" | "assistant-output" | "usage" | "job-completed" | "job-failed" | "review-report" | "review-suggestion-revised" | "review-suggestion-published";
|
|
808
1285
|
readonly task?: import("effect/Schema").Struct.ReadonlySide<{
|
|
809
1286
|
readonly _tag: import("effect/Schema").tag<"release-chat">;
|
|
810
|
-
}, "Type"> |
|
|
811
|
-
readonly
|
|
812
|
-
|
|
813
|
-
subject: import("effect/Schema").Struct<{
|
|
1287
|
+
}, "Type"> | {
|
|
1288
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
1289
|
+
readonly _tag: "pr-review";
|
|
1290
|
+
readonly subject: import("effect/Schema").Struct.ReadonlySide<{
|
|
814
1291
|
readonly providerId: import("effect/Schema").Literal<"codecommit">;
|
|
815
1292
|
readonly repository: import("effect/Schema").String;
|
|
816
1293
|
readonly pullRequestId: import("effect/Schema").String;
|
|
817
1294
|
readonly baseRevision: import("effect/Schema").String;
|
|
818
1295
|
readonly headRevision: import("effect/Schema").String;
|
|
819
|
-
}>;
|
|
820
|
-
reviewProfile: import("effect/Schema").Struct<{
|
|
1296
|
+
}, "Type">;
|
|
1297
|
+
readonly reviewProfile: import("effect/Schema").Struct.ReadonlySide<{
|
|
821
1298
|
readonly profileId: import("effect/Schema").brand<import("effect/Schema").String, "ReviewAgentProfileId">;
|
|
822
1299
|
readonly label: import("effect/Schema").String;
|
|
823
1300
|
readonly budgetMillis: import("effect/Schema").Int;
|
|
824
1301
|
readonly networkAccess: import("effect/Schema").Literals<readonly ["blocked", "provider-enabled"]>;
|
|
825
1302
|
readonly sandbox: import("effect/Schema").Literal<"sbx">;
|
|
826
|
-
}>;
|
|
827
|
-
|
|
1303
|
+
}, "Type">;
|
|
1304
|
+
readonly target?: import("effect/Schema").Struct.ReadonlySide<{
|
|
1305
|
+
readonly sourceJobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1306
|
+
readonly suggestionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionId">;
|
|
1307
|
+
readonly selectedRevisionId: import("effect/Schema").brand<import("effect/Schema").String, "PrReviewSuggestionRevisionId">;
|
|
1308
|
+
readonly history: import("effect/Schema").Struct<{
|
|
1309
|
+
readonly current: typeof import("../../index.ts").PrReviewSuggestionRevision;
|
|
1310
|
+
readonly revisions: import("effect/Schema").$Array<typeof import("../../index.ts").PrReviewSuggestionRevision>;
|
|
1311
|
+
readonly hasMore: import("effect/Schema").Boolean;
|
|
1312
|
+
readonly nextBeforeSequence: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").Int, "PrReviewSuggestionRevisionSequence">>;
|
|
1313
|
+
}>;
|
|
1314
|
+
}, "Type">;
|
|
1315
|
+
readonly intent?: "suggestion-edit" | "suggestion-revalidation" | "full-review";
|
|
1316
|
+
};
|
|
828
1317
|
}[];
|
|
829
1318
|
nextCursor: number & import("effect/Brand").Brand<"AgentEventCursor">;
|
|
830
1319
|
}, PersistenceOperationFailure, never>;
|
|
@@ -948,28 +1437,28 @@ declare const makePersistence: Effect.Effect<{
|
|
|
948
1437
|
readonly evidenceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceId">;
|
|
949
1438
|
readonly schemaVersion: import("effect/Schema").Int;
|
|
950
1439
|
readonly attribution: import("effect/Schema").TaggedUnion<{
|
|
1440
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1441
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1442
|
+
}>;
|
|
951
1443
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
952
1444
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
953
1445
|
}>;
|
|
1446
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
1447
|
+
readonly component: import("effect/Schema").String;
|
|
1448
|
+
}>;
|
|
954
1449
|
readonly plugin: import("effect/Schema").TaggedStruct<"plugin", {
|
|
955
1450
|
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
956
1451
|
readonly sourceEntityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
957
1452
|
readonly sourceEntityRevision: import("effect/Schema").brand<import("effect/Schema").Int, "LedgerRevision">;
|
|
958
1453
|
}>;
|
|
1454
|
+
}>;
|
|
1455
|
+
readonly verifier: import("effect/Schema").TaggedUnion<{
|
|
959
1456
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
960
1457
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
961
1458
|
}>;
|
|
962
|
-
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
963
|
-
readonly component: import("effect/Schema").String;
|
|
964
|
-
}>;
|
|
965
|
-
}>;
|
|
966
|
-
readonly verifier: import("effect/Schema").TaggedUnion<{
|
|
967
1459
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
968
1460
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
969
1461
|
}>;
|
|
970
|
-
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
971
|
-
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
972
|
-
}>;
|
|
973
1462
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
974
1463
|
readonly component: import("effect/Schema").String;
|
|
975
1464
|
}>;
|
|
@@ -1128,23 +1617,23 @@ declare const makePersistence: Effect.Effect<{
|
|
|
1128
1617
|
readonly targetNodeId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GraphNodeId">;
|
|
1129
1618
|
readonly targetNodeKind: import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["issue", "pull-request", "page", "pipeline-execution", "deployment", "time-entry"]>, import("effect/Schema").Literals<readonly ["release", "environment"]>]>;
|
|
1130
1619
|
readonly scope: import("effect/Schema").NullOr<import("effect/Schema").TaggedUnion<{
|
|
1131
|
-
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
1132
|
-
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
1133
|
-
}>;
|
|
1134
1620
|
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
1135
1621
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
1136
1622
|
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
1137
1623
|
}>;
|
|
1624
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
1625
|
+
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
1626
|
+
}>;
|
|
1138
1627
|
}>>;
|
|
1139
1628
|
readonly lifecycle: import("effect/Schema").TaggedUnion<{
|
|
1140
1629
|
readonly missing: import("effect/Schema").TaggedStruct<"missing", {
|
|
1141
1630
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1142
1631
|
readonly reason: import("effect/Schema").String;
|
|
1143
1632
|
}>;
|
|
1144
|
-
readonly
|
|
1633
|
+
readonly proposed: import("effect/Schema").TaggedStruct<"proposed", {
|
|
1145
1634
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1146
1635
|
}>;
|
|
1147
|
-
readonly
|
|
1636
|
+
readonly inferred: import("effect/Schema").TaggedStruct<"inferred", {
|
|
1148
1637
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1149
1638
|
}>;
|
|
1150
1639
|
readonly verified: import("effect/Schema").TaggedStruct<"verified", {
|
|
@@ -1173,6 +1662,10 @@ declare const makePersistence: Effect.Effect<{
|
|
|
1173
1662
|
}>;
|
|
1174
1663
|
}>;
|
|
1175
1664
|
readonly provenance: import("effect/Schema").TaggedUnion<{
|
|
1665
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1666
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1667
|
+
readonly rationale: import("effect/Schema").String;
|
|
1668
|
+
}>;
|
|
1176
1669
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1177
1670
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1178
1671
|
readonly rationale: import("effect/Schema").String;
|
|
@@ -1182,10 +1675,6 @@ declare const makePersistence: Effect.Effect<{
|
|
|
1182
1675
|
readonly sourceEntityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
1183
1676
|
readonly sourceEntityRevision: import("effect/Schema").brand<import("effect/Schema").Int, "LedgerRevision">;
|
|
1184
1677
|
}>;
|
|
1185
|
-
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1186
|
-
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1187
|
-
readonly rationale: import("effect/Schema").String;
|
|
1188
|
-
}>;
|
|
1189
1678
|
readonly rule: import("effect/Schema").TaggedStruct<"rule", {
|
|
1190
1679
|
readonly ruleId: import("effect/Schema").String;
|
|
1191
1680
|
readonly ruleVersion: import("effect/Schema").Int;
|
|
@@ -1193,12 +1682,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
1193
1682
|
}>;
|
|
1194
1683
|
}>;
|
|
1195
1684
|
readonly recordedBy: import("effect/Schema").TaggedUnion<{
|
|
1196
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1197
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1198
|
-
}>;
|
|
1199
1685
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1200
1686
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1201
1687
|
}>;
|
|
1688
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1689
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1690
|
+
}>;
|
|
1202
1691
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
1203
1692
|
readonly component: import("effect/Schema").String;
|
|
1204
1693
|
}>;
|
|
@@ -1228,13 +1717,13 @@ declare const makePersistence: Effect.Effect<{
|
|
|
1228
1717
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
1229
1718
|
readonly entityKind: import("effect/Schema").Literals<readonly ["issue", "pull-request", "page", "pipeline-execution", "deployment", "time-entry"]>;
|
|
1230
1719
|
}>;
|
|
1231
|
-
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
1232
|
-
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
1233
|
-
}>;
|
|
1234
1720
|
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
1235
1721
|
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
1236
1722
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
1237
1723
|
}>;
|
|
1724
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
1725
|
+
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
1726
|
+
}>;
|
|
1238
1727
|
}>;
|
|
1239
1728
|
}>;
|
|
1240
1729
|
}>;
|
|
@@ -1386,7 +1875,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
1386
1875
|
}, "Encoded">, never, never>>>;
|
|
1387
1876
|
readonly historyTotal: import("effect/Schema").optionalKey<import("effect/Schema").Int>;
|
|
1388
1877
|
readonly historyTruncated: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1389
|
-
readonly truncatedFields: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Codec<"
|
|
1878
|
+
readonly truncatedFields: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Codec<"environment" | "summary" | "description" | "status" | "key" | "createdAt" | "updatedAt" | "collaborators" | "history" | "acceptanceCriteria" | "comments" | "components" | "fixVersions" | "issueType" | "labels" | "parent" | "priority" | "project" | "resolution" | "subtasks" | "dueDate" | "resolvedAt", "environment" | "summary" | "description" | "status" | "key" | "createdAt" | "updatedAt" | "collaborators" | "history" | "acceptanceCriteria" | "comments" | "components" | "fixVersions" | "issueType" | "labels" | "parent" | "priority" | "project" | "resolution" | "subtasks" | "dueDate" | "resolvedAt", never, never>>>;
|
|
1390
1879
|
}>, import("effect/Schema").TaggedStruct<"pull-request", {
|
|
1391
1880
|
readonly repository: import("effect/Schema").String;
|
|
1392
1881
|
readonly sourceBranch: import("effect/Schema").String;
|
|
@@ -1415,6 +1904,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
1415
1904
|
readonly markdown: import("effect/Schema").String;
|
|
1416
1905
|
}>>>;
|
|
1417
1906
|
readonly contentState: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["loaded", "lazy"]>>;
|
|
1907
|
+
readonly taskUpdatesSafe: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1418
1908
|
readonly versions: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1419
1909
|
readonly number: import("effect/Schema").Int;
|
|
1420
1910
|
readonly createdAt: import("effect/Schema").DateTimeUtcFromString;
|
|
@@ -1537,23 +2027,23 @@ declare const makePersistence: Effect.Effect<{
|
|
|
1537
2027
|
readonly targetNodeId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GraphNodeId">;
|
|
1538
2028
|
readonly targetNodeKind: import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["issue", "pull-request", "page", "pipeline-execution", "deployment", "time-entry"]>, import("effect/Schema").Literals<readonly ["release", "environment"]>]>;
|
|
1539
2029
|
readonly scope: import("effect/Schema").NullOr<import("effect/Schema").TaggedUnion<{
|
|
1540
|
-
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
1541
|
-
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
1542
|
-
}>;
|
|
1543
2030
|
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
1544
2031
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
1545
2032
|
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
1546
2033
|
}>;
|
|
2034
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
2035
|
+
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
2036
|
+
}>;
|
|
1547
2037
|
}>>;
|
|
1548
2038
|
readonly lifecycle: import("effect/Schema").TaggedUnion<{
|
|
1549
2039
|
readonly missing: import("effect/Schema").TaggedStruct<"missing", {
|
|
1550
2040
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1551
2041
|
readonly reason: import("effect/Schema").String;
|
|
1552
2042
|
}>;
|
|
1553
|
-
readonly
|
|
2043
|
+
readonly proposed: import("effect/Schema").TaggedStruct<"proposed", {
|
|
1554
2044
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1555
2045
|
}>;
|
|
1556
|
-
readonly
|
|
2046
|
+
readonly inferred: import("effect/Schema").TaggedStruct<"inferred", {
|
|
1557
2047
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1558
2048
|
}>;
|
|
1559
2049
|
readonly verified: import("effect/Schema").TaggedStruct<"verified", {
|
|
@@ -1582,6 +2072,10 @@ declare const makePersistence: Effect.Effect<{
|
|
|
1582
2072
|
}>;
|
|
1583
2073
|
}>;
|
|
1584
2074
|
readonly provenance: import("effect/Schema").TaggedUnion<{
|
|
2075
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
2076
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
2077
|
+
readonly rationale: import("effect/Schema").String;
|
|
2078
|
+
}>;
|
|
1585
2079
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1586
2080
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1587
2081
|
readonly rationale: import("effect/Schema").String;
|
|
@@ -1591,10 +2085,6 @@ declare const makePersistence: Effect.Effect<{
|
|
|
1591
2085
|
readonly sourceEntityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
1592
2086
|
readonly sourceEntityRevision: import("effect/Schema").brand<import("effect/Schema").Int, "LedgerRevision">;
|
|
1593
2087
|
}>;
|
|
1594
|
-
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1595
|
-
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1596
|
-
readonly rationale: import("effect/Schema").String;
|
|
1597
|
-
}>;
|
|
1598
2088
|
readonly rule: import("effect/Schema").TaggedStruct<"rule", {
|
|
1599
2089
|
readonly ruleId: import("effect/Schema").String;
|
|
1600
2090
|
readonly ruleVersion: import("effect/Schema").Int;
|
|
@@ -1602,12 +2092,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
1602
2092
|
}>;
|
|
1603
2093
|
}>;
|
|
1604
2094
|
readonly recordedBy: import("effect/Schema").TaggedUnion<{
|
|
1605
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1606
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1607
|
-
}>;
|
|
1608
2095
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1609
2096
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1610
2097
|
}>;
|
|
2098
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
2099
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
2100
|
+
}>;
|
|
1611
2101
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
1612
2102
|
readonly component: import("effect/Schema").String;
|
|
1613
2103
|
}>;
|
|
@@ -1643,28 +2133,28 @@ declare const makePersistence: Effect.Effect<{
|
|
|
1643
2133
|
readonly evidenceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceId">;
|
|
1644
2134
|
readonly schemaVersion: import("effect/Schema").Int;
|
|
1645
2135
|
readonly attribution: import("effect/Schema").TaggedUnion<{
|
|
2136
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
2137
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
2138
|
+
}>;
|
|
1646
2139
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1647
2140
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1648
2141
|
}>;
|
|
2142
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
2143
|
+
readonly component: import("effect/Schema").String;
|
|
2144
|
+
}>;
|
|
1649
2145
|
readonly plugin: import("effect/Schema").TaggedStruct<"plugin", {
|
|
1650
2146
|
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
1651
2147
|
readonly sourceEntityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
1652
2148
|
readonly sourceEntityRevision: import("effect/Schema").brand<import("effect/Schema").Int, "LedgerRevision">;
|
|
1653
2149
|
}>;
|
|
2150
|
+
}>;
|
|
2151
|
+
readonly verifier: import("effect/Schema").TaggedUnion<{
|
|
1654
2152
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1655
2153
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1656
2154
|
}>;
|
|
1657
|
-
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
1658
|
-
readonly component: import("effect/Schema").String;
|
|
1659
|
-
}>;
|
|
1660
|
-
}>;
|
|
1661
|
-
readonly verifier: import("effect/Schema").TaggedUnion<{
|
|
1662
2155
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1663
2156
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1664
2157
|
}>;
|
|
1665
|
-
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1666
|
-
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1667
|
-
}>;
|
|
1668
2158
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
1669
2159
|
readonly component: import("effect/Schema").String;
|
|
1670
2160
|
}>;
|
|
@@ -1965,7 +2455,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
1965
2455
|
}, "Encoded">, never, never>>>;
|
|
1966
2456
|
readonly historyTotal: import("effect/Schema").optionalKey<import("effect/Schema").Int>;
|
|
1967
2457
|
readonly historyTruncated: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1968
|
-
readonly truncatedFields: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Codec<"
|
|
2458
|
+
readonly truncatedFields: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Codec<"environment" | "summary" | "description" | "status" | "key" | "createdAt" | "updatedAt" | "collaborators" | "history" | "acceptanceCriteria" | "comments" | "components" | "fixVersions" | "issueType" | "labels" | "parent" | "priority" | "project" | "resolution" | "subtasks" | "dueDate" | "resolvedAt", "environment" | "summary" | "description" | "status" | "key" | "createdAt" | "updatedAt" | "collaborators" | "history" | "acceptanceCriteria" | "comments" | "components" | "fixVersions" | "issueType" | "labels" | "parent" | "priority" | "project" | "resolution" | "subtasks" | "dueDate" | "resolvedAt", never, never>>>;
|
|
1969
2459
|
}>, import("effect/Schema").TaggedStruct<"pull-request", {
|
|
1970
2460
|
readonly repository: import("effect/Schema").String;
|
|
1971
2461
|
readonly sourceBranch: import("effect/Schema").String;
|
|
@@ -1994,6 +2484,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
1994
2484
|
readonly markdown: import("effect/Schema").String;
|
|
1995
2485
|
}>>>;
|
|
1996
2486
|
readonly contentState: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["loaded", "lazy"]>>;
|
|
2487
|
+
readonly taskUpdatesSafe: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
1997
2488
|
readonly versions: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1998
2489
|
readonly number: import("effect/Schema").Int;
|
|
1999
2490
|
readonly createdAt: import("effect/Schema").DateTimeUtcFromString;
|
|
@@ -2119,23 +2610,23 @@ declare const makePersistence: Effect.Effect<{
|
|
|
2119
2610
|
readonly targetNodeId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GraphNodeId">;
|
|
2120
2611
|
readonly targetNodeKind: import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["issue", "pull-request", "page", "pipeline-execution", "deployment", "time-entry"]>, import("effect/Schema").Literals<readonly ["release", "environment"]>]>;
|
|
2121
2612
|
readonly scope: import("effect/Schema").NullOr<import("effect/Schema").TaggedUnion<{
|
|
2122
|
-
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
2123
|
-
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
2124
|
-
}>;
|
|
2125
2613
|
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
2126
2614
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
2127
2615
|
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
2128
2616
|
}>;
|
|
2617
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
2618
|
+
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
2619
|
+
}>;
|
|
2129
2620
|
}>>;
|
|
2130
2621
|
readonly lifecycle: import("effect/Schema").TaggedUnion<{
|
|
2131
2622
|
readonly missing: import("effect/Schema").TaggedStruct<"missing", {
|
|
2132
2623
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
2133
2624
|
readonly reason: import("effect/Schema").String;
|
|
2134
2625
|
}>;
|
|
2135
|
-
readonly
|
|
2626
|
+
readonly proposed: import("effect/Schema").TaggedStruct<"proposed", {
|
|
2136
2627
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
2137
2628
|
}>;
|
|
2138
|
-
readonly
|
|
2629
|
+
readonly inferred: import("effect/Schema").TaggedStruct<"inferred", {
|
|
2139
2630
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
2140
2631
|
}>;
|
|
2141
2632
|
readonly verified: import("effect/Schema").TaggedStruct<"verified", {
|
|
@@ -2164,6 +2655,10 @@ declare const makePersistence: Effect.Effect<{
|
|
|
2164
2655
|
}>;
|
|
2165
2656
|
}>;
|
|
2166
2657
|
readonly provenance: import("effect/Schema").TaggedUnion<{
|
|
2658
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
2659
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
2660
|
+
readonly rationale: import("effect/Schema").String;
|
|
2661
|
+
}>;
|
|
2167
2662
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
2168
2663
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
2169
2664
|
readonly rationale: import("effect/Schema").String;
|
|
@@ -2173,10 +2668,6 @@ declare const makePersistence: Effect.Effect<{
|
|
|
2173
2668
|
readonly sourceEntityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
2174
2669
|
readonly sourceEntityRevision: import("effect/Schema").brand<import("effect/Schema").Int, "LedgerRevision">;
|
|
2175
2670
|
}>;
|
|
2176
|
-
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
2177
|
-
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
2178
|
-
readonly rationale: import("effect/Schema").String;
|
|
2179
|
-
}>;
|
|
2180
2671
|
readonly rule: import("effect/Schema").TaggedStruct<"rule", {
|
|
2181
2672
|
readonly ruleId: import("effect/Schema").String;
|
|
2182
2673
|
readonly ruleVersion: import("effect/Schema").Int;
|
|
@@ -2184,12 +2675,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
2184
2675
|
}>;
|
|
2185
2676
|
}>;
|
|
2186
2677
|
readonly recordedBy: import("effect/Schema").TaggedUnion<{
|
|
2187
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
2188
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
2189
|
-
}>;
|
|
2190
2678
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
2191
2679
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
2192
2680
|
}>;
|
|
2681
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
2682
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
2683
|
+
}>;
|
|
2193
2684
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
2194
2685
|
readonly component: import("effect/Schema").String;
|
|
2195
2686
|
}>;
|
|
@@ -2345,7 +2836,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
2345
2836
|
}, "Encoded">, never, never>>>;
|
|
2346
2837
|
readonly historyTotal: import("effect/Schema").optionalKey<import("effect/Schema").Int>;
|
|
2347
2838
|
readonly historyTruncated: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
2348
|
-
readonly truncatedFields: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Codec<"
|
|
2839
|
+
readonly truncatedFields: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Codec<"environment" | "summary" | "description" | "status" | "key" | "createdAt" | "updatedAt" | "collaborators" | "history" | "acceptanceCriteria" | "comments" | "components" | "fixVersions" | "issueType" | "labels" | "parent" | "priority" | "project" | "resolution" | "subtasks" | "dueDate" | "resolvedAt", "environment" | "summary" | "description" | "status" | "key" | "createdAt" | "updatedAt" | "collaborators" | "history" | "acceptanceCriteria" | "comments" | "components" | "fixVersions" | "issueType" | "labels" | "parent" | "priority" | "project" | "resolution" | "subtasks" | "dueDate" | "resolvedAt", never, never>>>;
|
|
2349
2840
|
}>, import("effect/Schema").TaggedStruct<"pull-request", {
|
|
2350
2841
|
readonly repository: import("effect/Schema").String;
|
|
2351
2842
|
readonly sourceBranch: import("effect/Schema").String;
|
|
@@ -2374,6 +2865,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
2374
2865
|
readonly markdown: import("effect/Schema").String;
|
|
2375
2866
|
}>>>;
|
|
2376
2867
|
readonly contentState: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["loaded", "lazy"]>>;
|
|
2868
|
+
readonly taskUpdatesSafe: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
2377
2869
|
readonly versions: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
2378
2870
|
readonly number: import("effect/Schema").Int;
|
|
2379
2871
|
readonly createdAt: import("effect/Schema").DateTimeUtcFromString;
|
|
@@ -2633,7 +3125,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
2633
3125
|
}, "Encoded">, never, never>>>;
|
|
2634
3126
|
readonly historyTotal: import("effect/Schema").optionalKey<import("effect/Schema").Int>;
|
|
2635
3127
|
readonly historyTruncated: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
2636
|
-
readonly truncatedFields: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Codec<"
|
|
3128
|
+
readonly truncatedFields: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Codec<"environment" | "summary" | "description" | "status" | "key" | "createdAt" | "updatedAt" | "collaborators" | "history" | "acceptanceCriteria" | "comments" | "components" | "fixVersions" | "issueType" | "labels" | "parent" | "priority" | "project" | "resolution" | "subtasks" | "dueDate" | "resolvedAt", "environment" | "summary" | "description" | "status" | "key" | "createdAt" | "updatedAt" | "collaborators" | "history" | "acceptanceCriteria" | "comments" | "components" | "fixVersions" | "issueType" | "labels" | "parent" | "priority" | "project" | "resolution" | "subtasks" | "dueDate" | "resolvedAt", never, never>>>;
|
|
2637
3129
|
}>, import("effect/Schema").TaggedStruct<"pull-request", {
|
|
2638
3130
|
readonly repository: import("effect/Schema").String;
|
|
2639
3131
|
readonly sourceBranch: import("effect/Schema").String;
|
|
@@ -2662,6 +3154,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
2662
3154
|
readonly markdown: import("effect/Schema").String;
|
|
2663
3155
|
}>>>;
|
|
2664
3156
|
readonly contentState: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["loaded", "lazy"]>>;
|
|
3157
|
+
readonly taskUpdatesSafe: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
2665
3158
|
readonly versions: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
2666
3159
|
readonly number: import("effect/Schema").Int;
|
|
2667
3160
|
readonly createdAt: import("effect/Schema").DateTimeUtcFromString;
|
|
@@ -2790,13 +3283,13 @@ declare const makePersistence: Effect.Effect<{
|
|
|
2790
3283
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
2791
3284
|
readonly entityKind: import("effect/Schema").Literals<readonly ["issue", "pull-request", "page", "pipeline-execution", "deployment", "time-entry"]>;
|
|
2792
3285
|
}>;
|
|
2793
|
-
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
2794
|
-
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
2795
|
-
}>;
|
|
2796
3286
|
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
2797
3287
|
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
2798
3288
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
2799
3289
|
}>;
|
|
3290
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
3291
|
+
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
3292
|
+
}>;
|
|
2800
3293
|
}>;
|
|
2801
3294
|
}>;
|
|
2802
3295
|
}>;
|
|
@@ -2966,7 +3459,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
2966
3459
|
}, "Encoded">, never, never>>>;
|
|
2967
3460
|
readonly historyTotal: import("effect/Schema").optionalKey<import("effect/Schema").Int>;
|
|
2968
3461
|
readonly historyTruncated: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
2969
|
-
readonly truncatedFields: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Codec<"
|
|
3462
|
+
readonly truncatedFields: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Codec<"environment" | "summary" | "description" | "status" | "key" | "createdAt" | "updatedAt" | "collaborators" | "history" | "acceptanceCriteria" | "comments" | "components" | "fixVersions" | "issueType" | "labels" | "parent" | "priority" | "project" | "resolution" | "subtasks" | "dueDate" | "resolvedAt", "environment" | "summary" | "description" | "status" | "key" | "createdAt" | "updatedAt" | "collaborators" | "history" | "acceptanceCriteria" | "comments" | "components" | "fixVersions" | "issueType" | "labels" | "parent" | "priority" | "project" | "resolution" | "subtasks" | "dueDate" | "resolvedAt", never, never>>>;
|
|
2970
3463
|
}>, import("effect/Schema").TaggedStruct<"pull-request", {
|
|
2971
3464
|
readonly repository: import("effect/Schema").String;
|
|
2972
3465
|
readonly sourceBranch: import("effect/Schema").String;
|
|
@@ -2995,6 +3488,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
2995
3488
|
readonly markdown: import("effect/Schema").String;
|
|
2996
3489
|
}>>>;
|
|
2997
3490
|
readonly contentState: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["loaded", "lazy"]>>;
|
|
3491
|
+
readonly taskUpdatesSafe: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
2998
3492
|
readonly versions: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
2999
3493
|
readonly number: import("effect/Schema").Int;
|
|
3000
3494
|
readonly createdAt: import("effect/Schema").DateTimeUtcFromString;
|
|
@@ -3122,13 +3616,13 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3122
3616
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
3123
3617
|
readonly entityKind: import("effect/Schema").Literals<readonly ["issue", "pull-request", "page", "pipeline-execution", "deployment", "time-entry"]>;
|
|
3124
3618
|
}>;
|
|
3125
|
-
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
3126
|
-
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
3127
|
-
}>;
|
|
3128
3619
|
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
3129
3620
|
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
3130
3621
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
3131
3622
|
}>;
|
|
3623
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
3624
|
+
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
3625
|
+
}>;
|
|
3132
3626
|
}>;
|
|
3133
3627
|
}>;
|
|
3134
3628
|
}>;
|
|
@@ -3280,7 +3774,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3280
3774
|
}, "Encoded">, never, never>>>;
|
|
3281
3775
|
readonly historyTotal: import("effect/Schema").optionalKey<import("effect/Schema").Int>;
|
|
3282
3776
|
readonly historyTruncated: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
3283
|
-
readonly truncatedFields: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Codec<"
|
|
3777
|
+
readonly truncatedFields: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Codec<"environment" | "summary" | "description" | "status" | "key" | "createdAt" | "updatedAt" | "collaborators" | "history" | "acceptanceCriteria" | "comments" | "components" | "fixVersions" | "issueType" | "labels" | "parent" | "priority" | "project" | "resolution" | "subtasks" | "dueDate" | "resolvedAt", "environment" | "summary" | "description" | "status" | "key" | "createdAt" | "updatedAt" | "collaborators" | "history" | "acceptanceCriteria" | "comments" | "components" | "fixVersions" | "issueType" | "labels" | "parent" | "priority" | "project" | "resolution" | "subtasks" | "dueDate" | "resolvedAt", never, never>>>;
|
|
3284
3778
|
}>, import("effect/Schema").TaggedStruct<"pull-request", {
|
|
3285
3779
|
readonly repository: import("effect/Schema").String;
|
|
3286
3780
|
readonly sourceBranch: import("effect/Schema").String;
|
|
@@ -3309,6 +3803,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3309
3803
|
readonly markdown: import("effect/Schema").String;
|
|
3310
3804
|
}>>>;
|
|
3311
3805
|
readonly contentState: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["loaded", "lazy"]>>;
|
|
3806
|
+
readonly taskUpdatesSafe: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
3312
3807
|
readonly versions: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
3313
3808
|
readonly number: import("effect/Schema").Int;
|
|
3314
3809
|
readonly createdAt: import("effect/Schema").DateTimeUtcFromString;
|
|
@@ -3431,23 +3926,23 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3431
3926
|
readonly targetNodeId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GraphNodeId">;
|
|
3432
3927
|
readonly targetNodeKind: import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["issue", "pull-request", "page", "pipeline-execution", "deployment", "time-entry"]>, import("effect/Schema").Literals<readonly ["release", "environment"]>]>;
|
|
3433
3928
|
readonly scope: import("effect/Schema").NullOr<import("effect/Schema").TaggedUnion<{
|
|
3434
|
-
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
3435
|
-
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
3436
|
-
}>;
|
|
3437
3929
|
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
3438
3930
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
3439
3931
|
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
3440
3932
|
}>;
|
|
3933
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
3934
|
+
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
3935
|
+
}>;
|
|
3441
3936
|
}>>;
|
|
3442
3937
|
readonly lifecycle: import("effect/Schema").TaggedUnion<{
|
|
3443
3938
|
readonly missing: import("effect/Schema").TaggedStruct<"missing", {
|
|
3444
3939
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
3445
3940
|
readonly reason: import("effect/Schema").String;
|
|
3446
3941
|
}>;
|
|
3447
|
-
readonly
|
|
3942
|
+
readonly proposed: import("effect/Schema").TaggedStruct<"proposed", {
|
|
3448
3943
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
3449
3944
|
}>;
|
|
3450
|
-
readonly
|
|
3945
|
+
readonly inferred: import("effect/Schema").TaggedStruct<"inferred", {
|
|
3451
3946
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
3452
3947
|
}>;
|
|
3453
3948
|
readonly verified: import("effect/Schema").TaggedStruct<"verified", {
|
|
@@ -3476,6 +3971,10 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3476
3971
|
}>;
|
|
3477
3972
|
}>;
|
|
3478
3973
|
readonly provenance: import("effect/Schema").TaggedUnion<{
|
|
3974
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
3975
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
3976
|
+
readonly rationale: import("effect/Schema").String;
|
|
3977
|
+
}>;
|
|
3479
3978
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
3480
3979
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
3481
3980
|
readonly rationale: import("effect/Schema").String;
|
|
@@ -3485,10 +3984,6 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3485
3984
|
readonly sourceEntityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
3486
3985
|
readonly sourceEntityRevision: import("effect/Schema").brand<import("effect/Schema").Int, "LedgerRevision">;
|
|
3487
3986
|
}>;
|
|
3488
|
-
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
3489
|
-
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
3490
|
-
readonly rationale: import("effect/Schema").String;
|
|
3491
|
-
}>;
|
|
3492
3987
|
readonly rule: import("effect/Schema").TaggedStruct<"rule", {
|
|
3493
3988
|
readonly ruleId: import("effect/Schema").String;
|
|
3494
3989
|
readonly ruleVersion: import("effect/Schema").Int;
|
|
@@ -3496,12 +3991,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3496
3991
|
}>;
|
|
3497
3992
|
}>;
|
|
3498
3993
|
readonly recordedBy: import("effect/Schema").TaggedUnion<{
|
|
3499
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
3500
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
3501
|
-
}>;
|
|
3502
3994
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
3503
3995
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
3504
3996
|
}>;
|
|
3997
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
3998
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
3999
|
+
}>;
|
|
3505
4000
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
3506
4001
|
readonly component: import("effect/Schema").String;
|
|
3507
4002
|
}>;
|
|
@@ -3537,28 +4032,28 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3537
4032
|
readonly evidenceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceId">;
|
|
3538
4033
|
readonly schemaVersion: import("effect/Schema").Int;
|
|
3539
4034
|
readonly attribution: import("effect/Schema").TaggedUnion<{
|
|
4035
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
4036
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
4037
|
+
}>;
|
|
3540
4038
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
3541
4039
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
3542
4040
|
}>;
|
|
4041
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
4042
|
+
readonly component: import("effect/Schema").String;
|
|
4043
|
+
}>;
|
|
3543
4044
|
readonly plugin: import("effect/Schema").TaggedStruct<"plugin", {
|
|
3544
4045
|
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
3545
4046
|
readonly sourceEntityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
3546
4047
|
readonly sourceEntityRevision: import("effect/Schema").brand<import("effect/Schema").Int, "LedgerRevision">;
|
|
3547
4048
|
}>;
|
|
4049
|
+
}>;
|
|
4050
|
+
readonly verifier: import("effect/Schema").TaggedUnion<{
|
|
3548
4051
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
3549
4052
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
3550
4053
|
}>;
|
|
3551
|
-
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
3552
|
-
readonly component: import("effect/Schema").String;
|
|
3553
|
-
}>;
|
|
3554
|
-
}>;
|
|
3555
|
-
readonly verifier: import("effect/Schema").TaggedUnion<{
|
|
3556
4054
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
3557
4055
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
3558
4056
|
}>;
|
|
3559
|
-
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
3560
|
-
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
3561
|
-
}>;
|
|
3562
4057
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
3563
4058
|
readonly component: import("effect/Schema").String;
|
|
3564
4059
|
}>;
|
|
@@ -3697,23 +4192,23 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3697
4192
|
readonly targetNodeId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GraphNodeId">;
|
|
3698
4193
|
readonly targetNodeKind: import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["issue", "pull-request", "page", "pipeline-execution", "deployment", "time-entry"]>, import("effect/Schema").Literals<readonly ["release", "environment"]>]>;
|
|
3699
4194
|
readonly scope: import("effect/Schema").NullOr<import("effect/Schema").TaggedUnion<{
|
|
3700
|
-
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
3701
|
-
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
3702
|
-
}>;
|
|
3703
4195
|
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
3704
4196
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
3705
4197
|
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
3706
4198
|
}>;
|
|
4199
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
4200
|
+
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
4201
|
+
}>;
|
|
3707
4202
|
}>>;
|
|
3708
4203
|
readonly lifecycle: import("effect/Schema").TaggedUnion<{
|
|
3709
4204
|
readonly missing: import("effect/Schema").TaggedStruct<"missing", {
|
|
3710
4205
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
3711
4206
|
readonly reason: import("effect/Schema").String;
|
|
3712
4207
|
}>;
|
|
3713
|
-
readonly
|
|
4208
|
+
readonly proposed: import("effect/Schema").TaggedStruct<"proposed", {
|
|
3714
4209
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
3715
4210
|
}>;
|
|
3716
|
-
readonly
|
|
4211
|
+
readonly inferred: import("effect/Schema").TaggedStruct<"inferred", {
|
|
3717
4212
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
3718
4213
|
}>;
|
|
3719
4214
|
readonly verified: import("effect/Schema").TaggedStruct<"verified", {
|
|
@@ -3742,6 +4237,10 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3742
4237
|
}>;
|
|
3743
4238
|
}>;
|
|
3744
4239
|
readonly provenance: import("effect/Schema").TaggedUnion<{
|
|
4240
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
4241
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
4242
|
+
readonly rationale: import("effect/Schema").String;
|
|
4243
|
+
}>;
|
|
3745
4244
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
3746
4245
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
3747
4246
|
readonly rationale: import("effect/Schema").String;
|
|
@@ -3751,10 +4250,6 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3751
4250
|
readonly sourceEntityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
3752
4251
|
readonly sourceEntityRevision: import("effect/Schema").brand<import("effect/Schema").Int, "LedgerRevision">;
|
|
3753
4252
|
}>;
|
|
3754
|
-
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
3755
|
-
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
3756
|
-
readonly rationale: import("effect/Schema").String;
|
|
3757
|
-
}>;
|
|
3758
4253
|
readonly rule: import("effect/Schema").TaggedStruct<"rule", {
|
|
3759
4254
|
readonly ruleId: import("effect/Schema").String;
|
|
3760
4255
|
readonly ruleVersion: import("effect/Schema").Int;
|
|
@@ -3762,12 +4257,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3762
4257
|
}>;
|
|
3763
4258
|
}>;
|
|
3764
4259
|
readonly recordedBy: import("effect/Schema").TaggedUnion<{
|
|
3765
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
3766
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
3767
|
-
}>;
|
|
3768
4260
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
3769
4261
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
3770
4262
|
}>;
|
|
4263
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
4264
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
4265
|
+
}>;
|
|
3771
4266
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
3772
4267
|
readonly component: import("effect/Schema").String;
|
|
3773
4268
|
}>;
|
|
@@ -3793,23 +4288,23 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3793
4288
|
readonly targetNodeId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GraphNodeId">;
|
|
3794
4289
|
readonly targetNodeKind: import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["issue", "pull-request", "page", "pipeline-execution", "deployment", "time-entry"]>, import("effect/Schema").Literals<readonly ["release", "environment"]>]>;
|
|
3795
4290
|
readonly scope: import("effect/Schema").NullOr<import("effect/Schema").TaggedUnion<{
|
|
3796
|
-
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
3797
|
-
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
3798
|
-
}>;
|
|
3799
4291
|
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
3800
4292
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
3801
4293
|
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
3802
4294
|
}>;
|
|
4295
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
4296
|
+
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
4297
|
+
}>;
|
|
3803
4298
|
}>>;
|
|
3804
4299
|
readonly lifecycle: import("effect/Schema").TaggedUnion<{
|
|
3805
4300
|
readonly missing: import("effect/Schema").TaggedStruct<"missing", {
|
|
3806
4301
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
3807
4302
|
readonly reason: import("effect/Schema").String;
|
|
3808
4303
|
}>;
|
|
3809
|
-
readonly
|
|
4304
|
+
readonly proposed: import("effect/Schema").TaggedStruct<"proposed", {
|
|
3810
4305
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
3811
4306
|
}>;
|
|
3812
|
-
readonly
|
|
4307
|
+
readonly inferred: import("effect/Schema").TaggedStruct<"inferred", {
|
|
3813
4308
|
readonly effectiveAt: import("effect/Schema").DateTimeUtcFromString;
|
|
3814
4309
|
}>;
|
|
3815
4310
|
readonly verified: import("effect/Schema").TaggedStruct<"verified", {
|
|
@@ -3838,6 +4333,10 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3838
4333
|
}>;
|
|
3839
4334
|
}>;
|
|
3840
4335
|
readonly provenance: import("effect/Schema").TaggedUnion<{
|
|
4336
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
4337
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
4338
|
+
readonly rationale: import("effect/Schema").String;
|
|
4339
|
+
}>;
|
|
3841
4340
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
3842
4341
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
3843
4342
|
readonly rationale: import("effect/Schema").String;
|
|
@@ -3847,10 +4346,6 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3847
4346
|
readonly sourceEntityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
3848
4347
|
readonly sourceEntityRevision: import("effect/Schema").brand<import("effect/Schema").Int, "LedgerRevision">;
|
|
3849
4348
|
}>;
|
|
3850
|
-
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
3851
|
-
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
3852
|
-
readonly rationale: import("effect/Schema").String;
|
|
3853
|
-
}>;
|
|
3854
4349
|
readonly rule: import("effect/Schema").TaggedStruct<"rule", {
|
|
3855
4350
|
readonly ruleId: import("effect/Schema").String;
|
|
3856
4351
|
readonly ruleVersion: import("effect/Schema").Int;
|
|
@@ -3858,12 +4353,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
3858
4353
|
}>;
|
|
3859
4354
|
}>;
|
|
3860
4355
|
readonly recordedBy: import("effect/Schema").TaggedUnion<{
|
|
3861
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
3862
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
3863
|
-
}>;
|
|
3864
4356
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
3865
4357
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
3866
4358
|
}>;
|
|
4359
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
4360
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
4361
|
+
}>;
|
|
3867
4362
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
3868
4363
|
readonly component: import("effect/Schema").String;
|
|
3869
4364
|
}>;
|
|
@@ -4071,33 +4566,468 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4071
4566
|
readonly transition: import("../../index.ts").GovernedActionTransitionV1;
|
|
4072
4567
|
}, PersistenceOperationFailure, never>;
|
|
4073
4568
|
read: (input: unknown) => Effect.Effect<{
|
|
4074
|
-
envelope:
|
|
4075
|
-
readonly
|
|
4569
|
+
envelope: {
|
|
4570
|
+
readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
|
|
4571
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
4572
|
+
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
4573
|
+
readonly schemaVersion: 1;
|
|
4574
|
+
readonly causationId: (string & import("effect/Brand").Brand<"DomainEventId">) | null;
|
|
4575
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"DomainEventCorrelationId">) | null;
|
|
4576
|
+
readonly proposal: import("effect/Schema").Struct.ReadonlySide<{
|
|
4577
|
+
readonly proposalKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4578
|
+
readonly capabilityVersion: import("effect/Schema").Int;
|
|
4579
|
+
readonly request: import("effect/Schema").Struct<{
|
|
4580
|
+
readonly actionKind: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4581
|
+
readonly target: import("effect/Schema").Struct<{
|
|
4582
|
+
entityType: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4583
|
+
vendorImmutableId: import("effect/Schema").brand<import("effect/Schema").String, "VendorImmutableId">;
|
|
4584
|
+
}>;
|
|
4585
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
4586
|
+
readonly payload: import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>;
|
|
4587
|
+
readonly evidenceIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4588
|
+
}>;
|
|
4589
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
4590
|
+
readonly summary: import("effect/Schema").String;
|
|
4591
|
+
readonly impact: import("effect/Schema").Struct<{
|
|
4592
|
+
readonly level: import("effect/Schema").Literals<readonly ["low", "medium", "high", "critical"]>;
|
|
4593
|
+
readonly summary: import("effect/Schema").String;
|
|
4594
|
+
}>;
|
|
4595
|
+
readonly proposedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4596
|
+
}, "Type">;
|
|
4597
|
+
readonly idempotencyKey: string & import("effect/Brand").Brand<"GovernedActionIdempotencyKey">;
|
|
4598
|
+
readonly pluginId: string & import("effect/Brand").Brand<string>;
|
|
4599
|
+
readonly actionId: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
4600
|
+
readonly policy: import("effect/Schema").Struct.ReadonlySide<{
|
|
4601
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4602
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
4603
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4604
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
4605
|
+
}, "Type">;
|
|
4606
|
+
readonly evidenceSetDigest: string & import("effect/Brand").Brand<string>;
|
|
4607
|
+
readonly pluginConnectionRevision: number & import("effect/Brand").Brand<"GovernedActionPluginConnectionRevision">;
|
|
4608
|
+
readonly pluginConnectionAuthorityDigest: string & import("effect/Brand").Brand<string>;
|
|
4609
|
+
readonly pluginContractVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
4610
|
+
readonly major: import("effect/Schema").Int;
|
|
4611
|
+
readonly minor: import("effect/Schema").Int;
|
|
4612
|
+
readonly patch: import("effect/Schema").Int;
|
|
4613
|
+
}, "Type">;
|
|
4614
|
+
readonly pluginAdapterVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
4615
|
+
readonly major: import("effect/Schema").Int;
|
|
4616
|
+
readonly minor: import("effect/Schema").Int;
|
|
4617
|
+
readonly patch: import("effect/Schema").Int;
|
|
4618
|
+
}, "Type">;
|
|
4619
|
+
readonly capability: import("effect/Schema").Struct.ReadonlySide<{
|
|
4620
|
+
readonly capabilityId: import("effect/Schema").Literal<"action.execute">;
|
|
4621
|
+
readonly version: import("effect/Schema").Int;
|
|
4622
|
+
}, "Type">;
|
|
4623
|
+
readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
|
|
4624
|
+
readonly evidence: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
4625
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
4626
|
+
readonly evidenceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceId">;
|
|
4627
|
+
readonly evidenceClaimIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceClaimId">>;
|
|
4628
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4629
|
+
readonly validUntil: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
4630
|
+
readonly currentUntil: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
4631
|
+
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4632
|
+
readonly source: import("effect/Schema").Literals<readonly ["current", "stale", "missing", "unavailable"]>;
|
|
4633
|
+
readonly validity: import("effect/Schema").Literals<readonly ["valid", "expired"]>;
|
|
4634
|
+
}, "Type">[];
|
|
4635
|
+
readonly origin: import("effect/Schema").Struct.ReadonlySide<{
|
|
4636
|
+
readonly _tag: import("effect/Schema").tag<"human">;
|
|
4637
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
4638
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
4639
|
+
}>;
|
|
4640
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
4641
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
4642
|
+
readonly _tag: import("effect/Schema").tag<"agent">;
|
|
4643
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
4644
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
4645
|
+
}>;
|
|
4646
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
4647
|
+
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
4648
|
+
}, "Type">;
|
|
4649
|
+
readonly proposalExpiresAt: import("effect/DateTime").Utc;
|
|
4650
|
+
readonly envelopeDigest: string & import("effect/Brand").Brand<string>;
|
|
4651
|
+
readonly releasePublication?: {
|
|
4652
|
+
readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
|
|
4653
|
+
readonly sourceRevisionDigest: string & import("effect/Brand").Brand<string>;
|
|
4654
|
+
readonly sourceRevisionCount: number;
|
|
4655
|
+
readonly predecessorPublicationActionId?: (string & import("effect/Brand").Brand<"GovernedActionId">) | null;
|
|
4656
|
+
readonly templateSourceEntityId?: string & import("effect/Brand").Brand<"EntityId">;
|
|
4657
|
+
};
|
|
4658
|
+
};
|
|
4659
|
+
head: import("effect/Schema").Struct.ReadonlySide<{
|
|
4660
|
+
readonly state: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
4661
|
+
readonly lineage: import("effect/Schema").TaggedUnion<{
|
|
4662
|
+
readonly accepted: import("effect/Schema").TaggedStruct<"accepted", {
|
|
4663
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
4664
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
4665
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4666
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4667
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4668
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4669
|
+
}>;
|
|
4670
|
+
}>;
|
|
4671
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
4672
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4673
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4674
|
+
}>;
|
|
4675
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
4676
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4677
|
+
}>;
|
|
4678
|
+
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
4679
|
+
readonly terminal: import("effect/Schema").TaggedStruct<"terminal", {
|
|
4680
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
4681
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
4682
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
4683
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4684
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4685
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4686
|
+
}>;
|
|
4687
|
+
}>;
|
|
4688
|
+
}>;
|
|
4689
|
+
}, "Type">;
|
|
4690
|
+
headTransition: import("effect/Schema").Struct.ReadonlySide<{
|
|
4691
|
+
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
4692
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
4693
|
+
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
4694
|
+
readonly previousTransitionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">>;
|
|
4695
|
+
readonly commandId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4696
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
4697
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
4698
|
+
readonly sequence: import("effect/Schema").Int;
|
|
4699
|
+
readonly fromState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
|
|
4700
|
+
readonly toState: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
4701
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4702
|
+
readonly command: import("effect/Schema").TaggedUnion<{
|
|
4703
|
+
readonly propose: import("effect/Schema").TaggedStruct<"propose", {}>;
|
|
4704
|
+
readonly authorize: import("effect/Schema").TaggedStruct<"authorize", {
|
|
4705
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
4706
|
+
}>;
|
|
4707
|
+
readonly deny: import("effect/Schema").TaggedStruct<"deny", {
|
|
4708
|
+
readonly reason: import("effect/Schema").Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
|
|
4709
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4710
|
+
}>;
|
|
4711
|
+
readonly expire: import("effect/Schema").TaggedStruct<"expire", {
|
|
4712
|
+
readonly reason: import("effect/Schema").Literals<readonly ["proposal-expired", "authorization-expired"]>;
|
|
4713
|
+
}>;
|
|
4714
|
+
readonly cancel: import("effect/Schema").TaggedStruct<"cancel", {
|
|
4715
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4716
|
+
}>;
|
|
4717
|
+
readonly start: import("effect/Schema").TaggedStruct<"start", {
|
|
4718
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
4719
|
+
}>;
|
|
4720
|
+
readonly requestCancellation: import("effect/Schema").TaggedStruct<"requestCancellation", {
|
|
4721
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4722
|
+
}>;
|
|
4723
|
+
readonly recordAccepted: import("effect/Schema").TaggedStruct<"recordAccepted", {
|
|
4724
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
4725
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
4726
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4727
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4728
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4729
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4730
|
+
}>;
|
|
4731
|
+
}>;
|
|
4732
|
+
readonly recordSucceeded: import("effect/Schema").TaggedStruct<"recordSucceeded", {
|
|
4733
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
4734
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
4735
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
4736
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4737
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4738
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4739
|
+
}>;
|
|
4740
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
4741
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
4742
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
4743
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4744
|
+
}>;
|
|
4745
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
4746
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4747
|
+
}>;
|
|
4748
|
+
}>;
|
|
4749
|
+
}>;
|
|
4750
|
+
readonly recordFailed: import("effect/Schema").TaggedStruct<"recordFailed", {
|
|
4751
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
4752
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
4753
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
4754
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4755
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4756
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4757
|
+
}>;
|
|
4758
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
4759
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
4760
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
4761
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4762
|
+
}>;
|
|
4763
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
4764
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4765
|
+
}>;
|
|
4766
|
+
}>;
|
|
4767
|
+
}>;
|
|
4768
|
+
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
4769
|
+
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
4770
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
4771
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4772
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4773
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4774
|
+
}>;
|
|
4775
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
4776
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4777
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4778
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
4779
|
+
}>;
|
|
4780
|
+
}>;
|
|
4781
|
+
}>;
|
|
4782
|
+
readonly recordCancelled: import("effect/Schema").TaggedStruct<"recordCancelled", {
|
|
4783
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
4784
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
4785
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
4786
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4787
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4788
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4789
|
+
}>;
|
|
4790
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
4791
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
4792
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
4793
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4794
|
+
}>;
|
|
4795
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
4796
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4797
|
+
}>;
|
|
4798
|
+
}>;
|
|
4799
|
+
}>;
|
|
4800
|
+
readonly reconciliationPending: import("effect/Schema").TaggedStruct<"reconciliationPending", {
|
|
4801
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4802
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4803
|
+
}>;
|
|
4804
|
+
}>;
|
|
4805
|
+
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
4806
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
4807
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
4808
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
4809
|
+
}>;
|
|
4810
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
4811
|
+
}>;
|
|
4812
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
4813
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
4814
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
4815
|
+
}>;
|
|
4816
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
4817
|
+
}>;
|
|
4818
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
4819
|
+
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4820
|
+
}>;
|
|
4821
|
+
}>;
|
|
4822
|
+
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4823
|
+
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
4824
|
+
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
4825
|
+
}, "Type">;
|
|
4826
|
+
history: import("effect/Schema").Struct.ReadonlySide<{
|
|
4827
|
+
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
4828
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
4829
|
+
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
4830
|
+
readonly previousTransitionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">>;
|
|
4831
|
+
readonly commandId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4832
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
4833
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
4834
|
+
readonly sequence: import("effect/Schema").Int;
|
|
4835
|
+
readonly fromState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
|
|
4836
|
+
readonly toState: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
4837
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4838
|
+
readonly command: import("effect/Schema").TaggedUnion<{
|
|
4839
|
+
readonly propose: import("effect/Schema").TaggedStruct<"propose", {}>;
|
|
4840
|
+
readonly authorize: import("effect/Schema").TaggedStruct<"authorize", {
|
|
4841
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
4842
|
+
}>;
|
|
4843
|
+
readonly deny: import("effect/Schema").TaggedStruct<"deny", {
|
|
4844
|
+
readonly reason: import("effect/Schema").Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
|
|
4845
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4846
|
+
}>;
|
|
4847
|
+
readonly expire: import("effect/Schema").TaggedStruct<"expire", {
|
|
4848
|
+
readonly reason: import("effect/Schema").Literals<readonly ["proposal-expired", "authorization-expired"]>;
|
|
4849
|
+
}>;
|
|
4850
|
+
readonly cancel: import("effect/Schema").TaggedStruct<"cancel", {
|
|
4851
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4852
|
+
}>;
|
|
4853
|
+
readonly start: import("effect/Schema").TaggedStruct<"start", {
|
|
4854
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
4855
|
+
}>;
|
|
4856
|
+
readonly requestCancellation: import("effect/Schema").TaggedStruct<"requestCancellation", {
|
|
4857
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4858
|
+
}>;
|
|
4859
|
+
readonly recordAccepted: import("effect/Schema").TaggedStruct<"recordAccepted", {
|
|
4860
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
4861
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
4862
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4863
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4864
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4865
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4866
|
+
}>;
|
|
4867
|
+
}>;
|
|
4868
|
+
readonly recordSucceeded: import("effect/Schema").TaggedStruct<"recordSucceeded", {
|
|
4869
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
4870
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
4871
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
4872
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4873
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4874
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4875
|
+
}>;
|
|
4876
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
4877
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
4878
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
4879
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4880
|
+
}>;
|
|
4881
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
4882
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4883
|
+
}>;
|
|
4884
|
+
}>;
|
|
4885
|
+
}>;
|
|
4886
|
+
readonly recordFailed: import("effect/Schema").TaggedStruct<"recordFailed", {
|
|
4887
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
4888
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
4889
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
4890
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4891
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4892
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4893
|
+
}>;
|
|
4894
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
4895
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
4896
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
4897
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4898
|
+
}>;
|
|
4899
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
4900
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4901
|
+
}>;
|
|
4902
|
+
}>;
|
|
4903
|
+
}>;
|
|
4904
|
+
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
4905
|
+
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
4906
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
4907
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4908
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4909
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4910
|
+
}>;
|
|
4911
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
4912
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4913
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4914
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
4915
|
+
}>;
|
|
4916
|
+
}>;
|
|
4917
|
+
}>;
|
|
4918
|
+
readonly recordCancelled: import("effect/Schema").TaggedStruct<"recordCancelled", {
|
|
4919
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
4920
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
4921
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
4922
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4923
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
4924
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4925
|
+
}>;
|
|
4926
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
4927
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
4928
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
4929
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4930
|
+
}>;
|
|
4931
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
4932
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4933
|
+
}>;
|
|
4934
|
+
}>;
|
|
4935
|
+
}>;
|
|
4936
|
+
readonly reconciliationPending: import("effect/Schema").TaggedStruct<"reconciliationPending", {
|
|
4937
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4938
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4939
|
+
}>;
|
|
4940
|
+
}>;
|
|
4941
|
+
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
4942
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
4943
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
4944
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
4945
|
+
}>;
|
|
4946
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
4947
|
+
}>;
|
|
4948
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
4949
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
4950
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
4951
|
+
}>;
|
|
4952
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
4953
|
+
}>;
|
|
4954
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
4955
|
+
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4956
|
+
}>;
|
|
4957
|
+
}>;
|
|
4958
|
+
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4959
|
+
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
4960
|
+
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
4961
|
+
}, "Type">[];
|
|
4962
|
+
authorization: import("effect/Schema").Struct.ReadonlySide<{
|
|
4963
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
4964
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
4965
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
4966
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
4967
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
4968
|
+
readonly pluginConnectionRevision: import("effect/Schema").brand<import("effect/Schema").Int, "GovernedActionPluginConnectionRevision">;
|
|
4969
|
+
readonly pluginConnectionAuthorityDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4970
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4971
|
+
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
4972
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
4973
|
+
readonly evidenceSetDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4974
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4975
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
4976
|
+
readonly capabilityVersion: import("effect/Schema").Int;
|
|
4977
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
4978
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
4979
|
+
}>;
|
|
4980
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
4981
|
+
readonly sessionPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
4982
|
+
readonly sessionExpiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4983
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
4984
|
+
readonly authorizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4985
|
+
readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4986
|
+
}, "Type"> | null;
|
|
4987
|
+
policyEvaluation: import("effect/Schema").Struct.ReadonlySide<{
|
|
4988
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
4989
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
4990
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
4991
|
+
readonly policy: import("effect/Schema").Struct<{
|
|
4992
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4993
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
4994
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4995
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
4996
|
+
}>;
|
|
4997
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
4998
|
+
readonly evidenceSetDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4999
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
5000
|
+
readonly decision: import("effect/Schema").Literals<readonly ["allowed", "denied"]>;
|
|
5001
|
+
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5002
|
+
}, "Type"> | null;
|
|
5003
|
+
attempt: import("effect/Schema").Struct.ReadonlySide<{
|
|
4076
5004
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
5005
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
5006
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
4077
5007
|
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
4078
|
-
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
4079
5008
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
4080
5009
|
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
4081
|
-
readonly
|
|
4082
|
-
readonly
|
|
4083
|
-
readonly
|
|
4084
|
-
readonly
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
readonly
|
|
4088
|
-
|
|
4089
|
-
readonly pluginAdapterVersion: import("effect/Schema").Struct<{
|
|
4090
|
-
readonly major: import("effect/Schema").Int;
|
|
4091
|
-
readonly minor: import("effect/Schema").Int;
|
|
4092
|
-
readonly patch: import("effect/Schema").Int;
|
|
4093
|
-
}>;
|
|
4094
|
-
readonly providerId: import("effect/Schema").Literals<readonly ["codecommit", "codepipeline", "jira", "confluence", "clockify"]>;
|
|
4095
|
-
readonly capability: import("effect/Schema").Struct<{
|
|
4096
|
-
readonly capabilityId: import("effect/Schema").Literal<"action.execute">;
|
|
4097
|
-
readonly version: import("effect/Schema").Int;
|
|
5010
|
+
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
5011
|
+
readonly attemptNumber: import("effect/Schema").Literal<1>;
|
|
5012
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5013
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
5014
|
+
readonly policyEvaluationDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5015
|
+
readonly preflight: import("effect/Schema").TaggedStruct<"ready", {
|
|
5016
|
+
readonly checkedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
5017
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4098
5018
|
}>;
|
|
4099
|
-
readonly
|
|
4100
|
-
|
|
5019
|
+
readonly startedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5020
|
+
}, "Type"> | null;
|
|
5021
|
+
}, PersistenceOperationFailure, never>;
|
|
5022
|
+
readByIdempotencyKey: (input: unknown) => Effect.Effect<{
|
|
5023
|
+
envelope: {
|
|
5024
|
+
readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
|
|
5025
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
5026
|
+
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
5027
|
+
readonly schemaVersion: 1;
|
|
5028
|
+
readonly causationId: (string & import("effect/Brand").Brand<"DomainEventId">) | null;
|
|
5029
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"DomainEventCorrelationId">) | null;
|
|
5030
|
+
readonly proposal: import("effect/Schema").Struct.ReadonlySide<{
|
|
4101
5031
|
readonly proposalKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4102
5032
|
readonly capabilityVersion: import("effect/Schema").Int;
|
|
4103
5033
|
readonly request: import("effect/Schema").Struct<{
|
|
@@ -4117,8 +5047,35 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4117
5047
|
readonly summary: import("effect/Schema").String;
|
|
4118
5048
|
}>;
|
|
4119
5049
|
readonly proposedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4120
|
-
}>;
|
|
4121
|
-
readonly
|
|
5050
|
+
}, "Type">;
|
|
5051
|
+
readonly idempotencyKey: string & import("effect/Brand").Brand<"GovernedActionIdempotencyKey">;
|
|
5052
|
+
readonly pluginId: string & import("effect/Brand").Brand<string>;
|
|
5053
|
+
readonly actionId: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
5054
|
+
readonly policy: import("effect/Schema").Struct.ReadonlySide<{
|
|
5055
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5056
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
5057
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5058
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
5059
|
+
}, "Type">;
|
|
5060
|
+
readonly evidenceSetDigest: string & import("effect/Brand").Brand<string>;
|
|
5061
|
+
readonly pluginConnectionRevision: number & import("effect/Brand").Brand<"GovernedActionPluginConnectionRevision">;
|
|
5062
|
+
readonly pluginConnectionAuthorityDigest: string & import("effect/Brand").Brand<string>;
|
|
5063
|
+
readonly pluginContractVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
5064
|
+
readonly major: import("effect/Schema").Int;
|
|
5065
|
+
readonly minor: import("effect/Schema").Int;
|
|
5066
|
+
readonly patch: import("effect/Schema").Int;
|
|
5067
|
+
}, "Type">;
|
|
5068
|
+
readonly pluginAdapterVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
5069
|
+
readonly major: import("effect/Schema").Int;
|
|
5070
|
+
readonly minor: import("effect/Schema").Int;
|
|
5071
|
+
readonly patch: import("effect/Schema").Int;
|
|
5072
|
+
}, "Type">;
|
|
5073
|
+
readonly capability: import("effect/Schema").Struct.ReadonlySide<{
|
|
5074
|
+
readonly capabilityId: import("effect/Schema").Literal<"action.execute">;
|
|
5075
|
+
readonly version: import("effect/Schema").Int;
|
|
5076
|
+
}, "Type">;
|
|
5077
|
+
readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
|
|
5078
|
+
readonly evidence: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
4122
5079
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
4123
5080
|
readonly evidenceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceId">;
|
|
4124
5081
|
readonly evidenceClaimIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceClaimId">>;
|
|
@@ -4128,33 +5085,31 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4128
5085
|
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4129
5086
|
readonly source: import("effect/Schema").Literals<readonly ["current", "stale", "missing", "unavailable"]>;
|
|
4130
5087
|
readonly validity: import("effect/Schema").Literals<readonly ["valid", "expired"]>;
|
|
4131
|
-
}
|
|
4132
|
-
readonly
|
|
4133
|
-
|
|
4134
|
-
readonly
|
|
4135
|
-
|
|
4136
|
-
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4137
|
-
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
4138
|
-
}>;
|
|
4139
|
-
readonly origin: import("effect/Schema").TaggedUnion<{
|
|
4140
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
4141
|
-
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
4142
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
4143
|
-
}>;
|
|
4144
|
-
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
4145
|
-
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
5088
|
+
}, "Type">[];
|
|
5089
|
+
readonly origin: import("effect/Schema").Struct.ReadonlySide<{
|
|
5090
|
+
readonly _tag: import("effect/Schema").tag<"human">;
|
|
5091
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
5092
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
4146
5093
|
}>;
|
|
4147
|
-
readonly
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
readonly
|
|
5094
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
5095
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
5096
|
+
readonly _tag: import("effect/Schema").tag<"agent">;
|
|
5097
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
5098
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
4152
5099
|
}>;
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
readonly
|
|
4157
|
-
|
|
5100
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
5101
|
+
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
5102
|
+
}, "Type">;
|
|
5103
|
+
readonly proposalExpiresAt: import("effect/DateTime").Utc;
|
|
5104
|
+
readonly envelopeDigest: string & import("effect/Brand").Brand<string>;
|
|
5105
|
+
readonly releasePublication?: {
|
|
5106
|
+
readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
|
|
5107
|
+
readonly sourceRevisionDigest: string & import("effect/Brand").Brand<string>;
|
|
5108
|
+
readonly sourceRevisionCount: number;
|
|
5109
|
+
readonly predecessorPublicationActionId?: (string & import("effect/Brand").Brand<"GovernedActionId">) | null;
|
|
5110
|
+
readonly templateSourceEntityId?: string & import("effect/Brand").Brand<"EntityId">;
|
|
5111
|
+
};
|
|
5112
|
+
};
|
|
4158
5113
|
head: import("effect/Schema").Struct.ReadonlySide<{
|
|
4159
5114
|
readonly state: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
4160
5115
|
readonly lineage: import("effect/Schema").TaggedUnion<{
|
|
@@ -4167,14 +5122,14 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4167
5122
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4168
5123
|
}>;
|
|
4169
5124
|
}>;
|
|
4170
|
-
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
4171
|
-
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
4172
|
-
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4173
|
-
}>;
|
|
4174
5125
|
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
4175
5126
|
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4176
5127
|
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4177
5128
|
}>;
|
|
5129
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
5130
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
5131
|
+
}>;
|
|
5132
|
+
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
4178
5133
|
readonly terminal: import("effect/Schema").TaggedStruct<"terminal", {
|
|
4179
5134
|
readonly receipt: import("effect/Schema").Struct<{
|
|
4180
5135
|
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
@@ -4266,15 +5221,15 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4266
5221
|
}>;
|
|
4267
5222
|
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
4268
5223
|
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
4269
|
-
readonly
|
|
5224
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
5225
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4270
5226
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4271
5227
|
readonly safeSummary: import("effect/Schema").String;
|
|
4272
|
-
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
4273
5228
|
}>;
|
|
4274
|
-
readonly
|
|
4275
|
-
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5229
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
4276
5230
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4277
5231
|
readonly safeSummary: import("effect/Schema").String;
|
|
5232
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
4278
5233
|
}>;
|
|
4279
5234
|
}>;
|
|
4280
5235
|
}>;
|
|
@@ -4302,18 +5257,18 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4302
5257
|
}>;
|
|
4303
5258
|
}>;
|
|
4304
5259
|
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
4305
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
4306
|
-
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
4307
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
4308
|
-
}>;
|
|
4309
|
-
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
4310
|
-
}>;
|
|
4311
5260
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
4312
5261
|
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
4313
5262
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
4314
5263
|
}>;
|
|
4315
5264
|
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
4316
5265
|
}>;
|
|
5266
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
5267
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
5268
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
5269
|
+
}>;
|
|
5270
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
5271
|
+
}>;
|
|
4317
5272
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
4318
5273
|
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4319
5274
|
}>;
|
|
@@ -4402,15 +5357,15 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4402
5357
|
}>;
|
|
4403
5358
|
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
4404
5359
|
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
4405
|
-
readonly
|
|
5360
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
5361
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4406
5362
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4407
5363
|
readonly safeSummary: import("effect/Schema").String;
|
|
4408
|
-
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
4409
5364
|
}>;
|
|
4410
|
-
readonly
|
|
4411
|
-
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5365
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
4412
5366
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4413
5367
|
readonly safeSummary: import("effect/Schema").String;
|
|
5368
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
4414
5369
|
}>;
|
|
4415
5370
|
}>;
|
|
4416
5371
|
}>;
|
|
@@ -4438,18 +5393,18 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4438
5393
|
}>;
|
|
4439
5394
|
}>;
|
|
4440
5395
|
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
4441
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
4442
|
-
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
4443
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
4444
|
-
}>;
|
|
4445
|
-
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
4446
|
-
}>;
|
|
4447
5396
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
4448
5397
|
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
4449
5398
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
4450
5399
|
}>;
|
|
4451
5400
|
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
4452
5401
|
}>;
|
|
5402
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
5403
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
5404
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
5405
|
+
}>;
|
|
5406
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
5407
|
+
}>;
|
|
4453
5408
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
4454
5409
|
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4455
5410
|
}>;
|
|
@@ -4518,8 +5473,8 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4518
5473
|
readonly startedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4519
5474
|
}, "Type"> | null;
|
|
4520
5475
|
}, PersistenceOperationFailure, never>;
|
|
4521
|
-
|
|
4522
|
-
envelope: import("effect/Schema").Struct
|
|
5476
|
+
readLatestTerminalByTarget: (input: unknown) => Effect.Effect<readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
5477
|
+
readonly envelope: import("effect/Schema").Struct<{
|
|
4523
5478
|
readonly envelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4524
5479
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
4525
5480
|
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
@@ -4585,6 +5540,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4585
5540
|
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
4586
5541
|
}>;
|
|
4587
5542
|
readonly origin: import("effect/Schema").TaggedUnion<{
|
|
5543
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
5544
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
5545
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
5546
|
+
}>;
|
|
5547
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
5548
|
+
}>;
|
|
4588
5549
|
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
4589
5550
|
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
4590
5551
|
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
@@ -4592,18 +5553,19 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4592
5553
|
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
4593
5554
|
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
4594
5555
|
}>;
|
|
4595
|
-
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
4596
|
-
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
4597
|
-
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
4598
|
-
}>;
|
|
4599
|
-
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
4600
|
-
}>;
|
|
4601
5556
|
}>;
|
|
4602
5557
|
readonly proposalExpiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4603
5558
|
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
4604
5559
|
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
4605
|
-
|
|
4606
|
-
|
|
5560
|
+
readonly releasePublication: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
5561
|
+
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
5562
|
+
readonly predecessorPublicationActionId: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">>>;
|
|
5563
|
+
readonly templateSourceEntityId: import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">>;
|
|
5564
|
+
readonly sourceRevisionDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5565
|
+
readonly sourceRevisionCount: import("effect/Schema").Int;
|
|
5566
|
+
}>>;
|
|
5567
|
+
}>;
|
|
5568
|
+
readonly head: import("effect/Schema").Struct<{
|
|
4607
5569
|
readonly state: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
4608
5570
|
readonly lineage: import("effect/Schema").TaggedUnion<{
|
|
4609
5571
|
readonly accepted: import("effect/Schema").TaggedStruct<"accepted", {
|
|
@@ -4615,14 +5577,14 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4615
5577
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4616
5578
|
}>;
|
|
4617
5579
|
}>;
|
|
4618
|
-
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
4619
|
-
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
4620
|
-
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4621
|
-
}>;
|
|
4622
5580
|
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
4623
5581
|
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
4624
5582
|
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4625
5583
|
}>;
|
|
5584
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
5585
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
5586
|
+
}>;
|
|
5587
|
+
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
4626
5588
|
readonly terminal: import("effect/Schema").TaggedStruct<"terminal", {
|
|
4627
5589
|
readonly receipt: import("effect/Schema").Struct<{
|
|
4628
5590
|
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
@@ -4633,8 +5595,8 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4633
5595
|
}>;
|
|
4634
5596
|
}>;
|
|
4635
5597
|
}>;
|
|
4636
|
-
}
|
|
4637
|
-
headTransition: import("effect/Schema").Struct
|
|
5598
|
+
}>;
|
|
5599
|
+
readonly headTransition: import("effect/Schema").Struct<{
|
|
4638
5600
|
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
4639
5601
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
4640
5602
|
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
@@ -4714,15 +5676,15 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4714
5676
|
}>;
|
|
4715
5677
|
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
4716
5678
|
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
4717
|
-
readonly
|
|
5679
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
5680
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4718
5681
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4719
5682
|
readonly safeSummary: import("effect/Schema").String;
|
|
4720
|
-
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
4721
5683
|
}>;
|
|
4722
|
-
readonly
|
|
4723
|
-
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5684
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
4724
5685
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4725
5686
|
readonly safeSummary: import("effect/Schema").String;
|
|
5687
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
4726
5688
|
}>;
|
|
4727
5689
|
}>;
|
|
4728
5690
|
}>;
|
|
@@ -4750,18 +5712,18 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4750
5712
|
}>;
|
|
4751
5713
|
}>;
|
|
4752
5714
|
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
4753
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
4754
|
-
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
4755
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
4756
|
-
}>;
|
|
4757
|
-
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
4758
|
-
}>;
|
|
4759
5715
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
4760
5716
|
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
4761
5717
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
4762
5718
|
}>;
|
|
4763
5719
|
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
4764
5720
|
}>;
|
|
5721
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
5722
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
5723
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
5724
|
+
}>;
|
|
5725
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
5726
|
+
}>;
|
|
4765
5727
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
4766
5728
|
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4767
5729
|
}>;
|
|
@@ -4769,8 +5731,8 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4769
5731
|
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4770
5732
|
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
4771
5733
|
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
4772
|
-
}
|
|
4773
|
-
history: import("effect/Schema").Struct
|
|
5734
|
+
}>;
|
|
5735
|
+
readonly history: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
4774
5736
|
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
4775
5737
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
4776
5738
|
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
@@ -4850,15 +5812,15 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4850
5812
|
}>;
|
|
4851
5813
|
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
4852
5814
|
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
4853
|
-
readonly
|
|
5815
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
5816
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4854
5817
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4855
5818
|
readonly safeSummary: import("effect/Schema").String;
|
|
4856
|
-
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
4857
5819
|
}>;
|
|
4858
|
-
readonly
|
|
4859
|
-
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5820
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
4860
5821
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4861
5822
|
readonly safeSummary: import("effect/Schema").String;
|
|
5823
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
4862
5824
|
}>;
|
|
4863
5825
|
}>;
|
|
4864
5826
|
}>;
|
|
@@ -4886,18 +5848,18 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4886
5848
|
}>;
|
|
4887
5849
|
}>;
|
|
4888
5850
|
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
4889
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
4890
|
-
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
4891
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
4892
|
-
}>;
|
|
4893
|
-
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
4894
|
-
}>;
|
|
4895
5851
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
4896
5852
|
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
4897
5853
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
4898
5854
|
}>;
|
|
4899
5855
|
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
4900
5856
|
}>;
|
|
5857
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
5858
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
5859
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
5860
|
+
}>;
|
|
5861
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
5862
|
+
}>;
|
|
4901
5863
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
4902
5864
|
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4903
5865
|
}>;
|
|
@@ -4905,8 +5867,8 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4905
5867
|
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4906
5868
|
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
4907
5869
|
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
4908
|
-
}
|
|
4909
|
-
authorization: import("effect/Schema").Struct
|
|
5870
|
+
}>>;
|
|
5871
|
+
readonly authorization: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
4910
5872
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
4911
5873
|
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
4912
5874
|
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
@@ -4930,8 +5892,8 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4930
5892
|
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
4931
5893
|
readonly authorizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4932
5894
|
readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4933
|
-
}
|
|
4934
|
-
policyEvaluation: import("effect/Schema").Struct
|
|
5895
|
+
}>>;
|
|
5896
|
+
readonly policyEvaluation: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
4935
5897
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
4936
5898
|
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
4937
5899
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
@@ -4946,8 +5908,8 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4946
5908
|
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
4947
5909
|
readonly decision: import("effect/Schema").Literals<readonly ["allowed", "denied"]>;
|
|
4948
5910
|
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4949
|
-
}
|
|
4950
|
-
attempt: import("effect/Schema").Struct
|
|
5911
|
+
}>>;
|
|
5912
|
+
readonly attempt: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
4951
5913
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
4952
5914
|
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
4953
5915
|
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
@@ -4958,42 +5920,23 @@ declare const makePersistence: Effect.Effect<{
|
|
|
4958
5920
|
readonly attemptNumber: import("effect/Schema").Literal<1>;
|
|
4959
5921
|
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4960
5922
|
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
4961
|
-
readonly policyEvaluationDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4962
|
-
readonly preflight: import("effect/Schema").TaggedStruct<"ready", {
|
|
4963
|
-
readonly checkedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
4964
|
-
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4965
|
-
}>;
|
|
4966
|
-
readonly startedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4967
|
-
}, "Type"> | null;
|
|
4968
|
-
}, PersistenceOperationFailure, never>;
|
|
4969
|
-
readLatestTerminalByTarget: (input: unknown) => Effect.Effect<readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
4970
|
-
readonly envelope: import("effect/Schema").Struct<{
|
|
4971
|
-
readonly envelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4972
|
-
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
4973
|
-
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
4974
|
-
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
4975
|
-
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
4976
|
-
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
4977
|
-
readonly pluginConnectionRevision: import("effect/Schema").brand<import("effect/Schema").Int, "GovernedActionPluginConnectionRevision">;
|
|
4978
|
-
readonly pluginConnectionAuthorityDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4979
|
-
readonly pluginId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4980
|
-
readonly pluginContractVersion: import("effect/Schema").Struct<{
|
|
4981
|
-
readonly major: import("effect/Schema").Int;
|
|
4982
|
-
readonly minor: import("effect/Schema").Int;
|
|
4983
|
-
readonly patch: import("effect/Schema").Int;
|
|
4984
|
-
}>;
|
|
4985
|
-
readonly pluginAdapterVersion: import("effect/Schema").Struct<{
|
|
4986
|
-
readonly major: import("effect/Schema").Int;
|
|
4987
|
-
readonly minor: import("effect/Schema").Int;
|
|
4988
|
-
readonly patch: import("effect/Schema").Int;
|
|
4989
|
-
}>;
|
|
4990
|
-
readonly providerId: import("effect/Schema").Literals<readonly ["codecommit", "codepipeline", "jira", "confluence", "clockify"]>;
|
|
4991
|
-
readonly capability: import("effect/Schema").Struct<{
|
|
4992
|
-
readonly capabilityId: import("effect/Schema").Literal<"action.execute">;
|
|
4993
|
-
readonly version: import("effect/Schema").Int;
|
|
5923
|
+
readonly policyEvaluationDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5924
|
+
readonly preflight: import("effect/Schema").TaggedStruct<"ready", {
|
|
5925
|
+
readonly checkedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
5926
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
4994
5927
|
}>;
|
|
4995
|
-
readonly
|
|
4996
|
-
|
|
5928
|
+
readonly startedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5929
|
+
}>>;
|
|
5930
|
+
}, "Type">[], PersistenceOperationFailure, never>;
|
|
5931
|
+
readLatestTerminalReleasePublications: (input: unknown) => Effect.Effect<{
|
|
5932
|
+
envelope: {
|
|
5933
|
+
readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
|
|
5934
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
5935
|
+
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
5936
|
+
readonly schemaVersion: 1;
|
|
5937
|
+
readonly causationId: (string & import("effect/Brand").Brand<"DomainEventId">) | null;
|
|
5938
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"DomainEventCorrelationId">) | null;
|
|
5939
|
+
readonly proposal: import("effect/Schema").Struct.ReadonlySide<{
|
|
4997
5940
|
readonly proposalKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
4998
5941
|
readonly capabilityVersion: import("effect/Schema").Int;
|
|
4999
5942
|
readonly request: import("effect/Schema").Struct<{
|
|
@@ -5013,8 +5956,35 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5013
5956
|
readonly summary: import("effect/Schema").String;
|
|
5014
5957
|
}>;
|
|
5015
5958
|
readonly proposedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5016
|
-
}>;
|
|
5017
|
-
readonly
|
|
5959
|
+
}, "Type">;
|
|
5960
|
+
readonly idempotencyKey: string & import("effect/Brand").Brand<"GovernedActionIdempotencyKey">;
|
|
5961
|
+
readonly pluginId: string & import("effect/Brand").Brand<string>;
|
|
5962
|
+
readonly actionId: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
5963
|
+
readonly policy: import("effect/Schema").Struct.ReadonlySide<{
|
|
5964
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5965
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
5966
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5967
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
5968
|
+
}, "Type">;
|
|
5969
|
+
readonly evidenceSetDigest: string & import("effect/Brand").Brand<string>;
|
|
5970
|
+
readonly pluginConnectionRevision: number & import("effect/Brand").Brand<"GovernedActionPluginConnectionRevision">;
|
|
5971
|
+
readonly pluginConnectionAuthorityDigest: string & import("effect/Brand").Brand<string>;
|
|
5972
|
+
readonly pluginContractVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
5973
|
+
readonly major: import("effect/Schema").Int;
|
|
5974
|
+
readonly minor: import("effect/Schema").Int;
|
|
5975
|
+
readonly patch: import("effect/Schema").Int;
|
|
5976
|
+
}, "Type">;
|
|
5977
|
+
readonly pluginAdapterVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
5978
|
+
readonly major: import("effect/Schema").Int;
|
|
5979
|
+
readonly minor: import("effect/Schema").Int;
|
|
5980
|
+
readonly patch: import("effect/Schema").Int;
|
|
5981
|
+
}, "Type">;
|
|
5982
|
+
readonly capability: import("effect/Schema").Struct.ReadonlySide<{
|
|
5983
|
+
readonly capabilityId: import("effect/Schema").Literal<"action.execute">;
|
|
5984
|
+
readonly version: import("effect/Schema").Int;
|
|
5985
|
+
}, "Type">;
|
|
5986
|
+
readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
|
|
5987
|
+
readonly evidence: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
5018
5988
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5019
5989
|
readonly evidenceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceId">;
|
|
5020
5990
|
readonly evidenceClaimIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceClaimId">>;
|
|
@@ -5024,34 +5994,32 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5024
5994
|
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5025
5995
|
readonly source: import("effect/Schema").Literals<readonly ["current", "stale", "missing", "unavailable"]>;
|
|
5026
5996
|
readonly validity: import("effect/Schema").Literals<readonly ["valid", "expired"]>;
|
|
5027
|
-
}
|
|
5028
|
-
readonly
|
|
5029
|
-
|
|
5030
|
-
readonly
|
|
5031
|
-
|
|
5032
|
-
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5033
|
-
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
5034
|
-
}>;
|
|
5035
|
-
readonly origin: import("effect/Schema").TaggedUnion<{
|
|
5036
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
5037
|
-
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
5038
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
5039
|
-
}>;
|
|
5040
|
-
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
5041
|
-
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
5997
|
+
}, "Type">[];
|
|
5998
|
+
readonly origin: import("effect/Schema").Struct.ReadonlySide<{
|
|
5999
|
+
readonly _tag: import("effect/Schema").tag<"human">;
|
|
6000
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
6001
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
5042
6002
|
}>;
|
|
5043
|
-
readonly
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
readonly
|
|
6003
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
6004
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
6005
|
+
readonly _tag: import("effect/Schema").tag<"agent">;
|
|
6006
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
6007
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
5048
6008
|
}>;
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
readonly
|
|
5053
|
-
|
|
5054
|
-
|
|
6009
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
6010
|
+
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
6011
|
+
}, "Type">;
|
|
6012
|
+
readonly proposalExpiresAt: import("effect/DateTime").Utc;
|
|
6013
|
+
readonly envelopeDigest: string & import("effect/Brand").Brand<string>;
|
|
6014
|
+
readonly releasePublication?: {
|
|
6015
|
+
readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
|
|
6016
|
+
readonly sourceRevisionDigest: string & import("effect/Brand").Brand<string>;
|
|
6017
|
+
readonly sourceRevisionCount: number;
|
|
6018
|
+
readonly predecessorPublicationActionId?: (string & import("effect/Brand").Brand<"GovernedActionId">) | null;
|
|
6019
|
+
readonly templateSourceEntityId?: string & import("effect/Brand").Brand<"EntityId">;
|
|
6020
|
+
};
|
|
6021
|
+
};
|
|
6022
|
+
head: import("effect/Schema").Struct.ReadonlySide<{
|
|
5055
6023
|
readonly state: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
5056
6024
|
readonly lineage: import("effect/Schema").TaggedUnion<{
|
|
5057
6025
|
readonly accepted: import("effect/Schema").TaggedStruct<"accepted", {
|
|
@@ -5063,14 +6031,14 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5063
6031
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5064
6032
|
}>;
|
|
5065
6033
|
}>;
|
|
5066
|
-
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
5067
|
-
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
5068
|
-
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
5069
|
-
}>;
|
|
5070
6034
|
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
5071
6035
|
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
5072
6036
|
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5073
6037
|
}>;
|
|
6038
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
6039
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
6040
|
+
}>;
|
|
6041
|
+
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
5074
6042
|
readonly terminal: import("effect/Schema").TaggedStruct<"terminal", {
|
|
5075
6043
|
readonly receipt: import("effect/Schema").Struct<{
|
|
5076
6044
|
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
@@ -5081,8 +6049,8 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5081
6049
|
}>;
|
|
5082
6050
|
}>;
|
|
5083
6051
|
}>;
|
|
5084
|
-
}>;
|
|
5085
|
-
|
|
6052
|
+
}, "Type">;
|
|
6053
|
+
headTransition: import("effect/Schema").Struct.ReadonlySide<{
|
|
5086
6054
|
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
5087
6055
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
5088
6056
|
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
@@ -5162,15 +6130,15 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5162
6130
|
}>;
|
|
5163
6131
|
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
5164
6132
|
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
5165
|
-
readonly
|
|
6133
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
6134
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5166
6135
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5167
6136
|
readonly safeSummary: import("effect/Schema").String;
|
|
5168
|
-
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
5169
6137
|
}>;
|
|
5170
|
-
readonly
|
|
5171
|
-
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
6138
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
5172
6139
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5173
6140
|
readonly safeSummary: import("effect/Schema").String;
|
|
6141
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
5174
6142
|
}>;
|
|
5175
6143
|
}>;
|
|
5176
6144
|
}>;
|
|
@@ -5198,18 +6166,18 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5198
6166
|
}>;
|
|
5199
6167
|
}>;
|
|
5200
6168
|
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
5201
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
5202
|
-
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
5203
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
5204
|
-
}>;
|
|
5205
|
-
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
5206
|
-
}>;
|
|
5207
6169
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
5208
6170
|
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
5209
6171
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
5210
6172
|
}>;
|
|
5211
6173
|
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
5212
6174
|
}>;
|
|
6175
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
6176
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
6177
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
6178
|
+
}>;
|
|
6179
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
6180
|
+
}>;
|
|
5213
6181
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
5214
6182
|
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5215
6183
|
}>;
|
|
@@ -5217,8 +6185,8 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5217
6185
|
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5218
6186
|
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
5219
6187
|
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
5220
|
-
}>;
|
|
5221
|
-
|
|
6188
|
+
}, "Type">;
|
|
6189
|
+
history: import("effect/Schema").Struct.ReadonlySide<{
|
|
5222
6190
|
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
5223
6191
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
5224
6192
|
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
@@ -5298,15 +6266,15 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5298
6266
|
}>;
|
|
5299
6267
|
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
5300
6268
|
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
5301
|
-
readonly
|
|
6269
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
6270
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5302
6271
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5303
6272
|
readonly safeSummary: import("effect/Schema").String;
|
|
5304
|
-
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
5305
6273
|
}>;
|
|
5306
|
-
readonly
|
|
5307
|
-
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
6274
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
5308
6275
|
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5309
6276
|
readonly safeSummary: import("effect/Schema").String;
|
|
6277
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
5310
6278
|
}>;
|
|
5311
6279
|
}>;
|
|
5312
6280
|
}>;
|
|
@@ -5334,18 +6302,18 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5334
6302
|
}>;
|
|
5335
6303
|
}>;
|
|
5336
6304
|
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
5337
|
-
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
5338
|
-
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
5339
|
-
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
5340
|
-
}>;
|
|
5341
|
-
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
5342
|
-
}>;
|
|
5343
6305
|
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
5344
6306
|
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
5345
6307
|
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
5346
6308
|
}>;
|
|
5347
6309
|
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
5348
6310
|
}>;
|
|
6311
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
6312
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
6313
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
6314
|
+
}>;
|
|
6315
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
6316
|
+
}>;
|
|
5349
6317
|
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
5350
6318
|
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
5351
6319
|
}>;
|
|
@@ -5353,8 +6321,8 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5353
6321
|
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5354
6322
|
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
5355
6323
|
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
5356
|
-
}
|
|
5357
|
-
|
|
6324
|
+
}, "Type">[];
|
|
6325
|
+
authorization: import("effect/Schema").Struct.ReadonlySide<{
|
|
5358
6326
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
5359
6327
|
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
5360
6328
|
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
@@ -5378,8 +6346,8 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5378
6346
|
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
5379
6347
|
readonly authorizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5380
6348
|
readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5381
|
-
}
|
|
5382
|
-
|
|
6349
|
+
}, "Type"> | null;
|
|
6350
|
+
policyEvaluation: import("effect/Schema").Struct.ReadonlySide<{
|
|
5383
6351
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
5384
6352
|
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
5385
6353
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
@@ -5394,8 +6362,8 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5394
6362
|
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
5395
6363
|
readonly decision: import("effect/Schema").Literals<readonly ["allowed", "denied"]>;
|
|
5396
6364
|
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5397
|
-
}
|
|
5398
|
-
|
|
6365
|
+
}, "Type"> | null;
|
|
6366
|
+
attempt: import("effect/Schema").Struct.ReadonlySide<{
|
|
5399
6367
|
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
5400
6368
|
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
5401
6369
|
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
@@ -5412,18 +6380,18 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5412
6380
|
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5413
6381
|
}>;
|
|
5414
6382
|
readonly startedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
5415
|
-
}
|
|
5416
|
-
}
|
|
6383
|
+
}, "Type"> | null;
|
|
6384
|
+
}[], PersistenceOperationFailure, never>;
|
|
5417
6385
|
};
|
|
5418
6386
|
people: {
|
|
5419
6387
|
createPerson: (workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">, person: import("effect/Schema").Struct.ReadonlySide<{
|
|
5420
6388
|
readonly avatar: import("effect/Schema").TaggedUnion<{
|
|
5421
|
-
readonly reference: import("effect/Schema").TaggedStruct<"reference", {
|
|
5422
|
-
readonly reference: import("effect/Schema").String;
|
|
5423
|
-
}>;
|
|
5424
6389
|
readonly initials: import("effect/Schema").TaggedStruct<"initials", {
|
|
5425
6390
|
readonly text: import("effect/Schema").String;
|
|
5426
6391
|
}>;
|
|
6392
|
+
readonly reference: import("effect/Schema").TaggedStruct<"reference", {
|
|
6393
|
+
readonly reference: import("effect/Schema").String;
|
|
6394
|
+
}>;
|
|
5427
6395
|
}>;
|
|
5428
6396
|
readonly displayName: import("effect/Schema").String;
|
|
5429
6397
|
readonly isActive: import("effect/Schema").Boolean;
|
|
@@ -5437,12 +6405,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5437
6405
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5438
6406
|
readonly person: import("effect/Schema").Struct<{
|
|
5439
6407
|
readonly avatar: import("effect/Schema").TaggedUnion<{
|
|
5440
|
-
readonly reference: import("effect/Schema").TaggedStruct<"reference", {
|
|
5441
|
-
readonly reference: import("effect/Schema").String;
|
|
5442
|
-
}>;
|
|
5443
6408
|
readonly initials: import("effect/Schema").TaggedStruct<"initials", {
|
|
5444
6409
|
readonly text: import("effect/Schema").String;
|
|
5445
6410
|
}>;
|
|
6411
|
+
readonly reference: import("effect/Schema").TaggedStruct<"reference", {
|
|
6412
|
+
readonly reference: import("effect/Schema").String;
|
|
6413
|
+
}>;
|
|
5446
6414
|
}>;
|
|
5447
6415
|
readonly displayName: import("effect/Schema").String;
|
|
5448
6416
|
readonly isActive: import("effect/Schema").Boolean;
|
|
@@ -5481,12 +6449,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5481
6449
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
5482
6450
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5483
6451
|
}>;
|
|
5484
|
-
readonly
|
|
6452
|
+
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
6453
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
5485
6454
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
5486
6455
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5487
6456
|
}>;
|
|
5488
|
-
readonly
|
|
5489
|
-
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
6457
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
5490
6458
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
5491
6459
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5492
6460
|
}>;
|
|
@@ -5520,12 +6488,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5520
6488
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
5521
6489
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5522
6490
|
}>;
|
|
5523
|
-
readonly
|
|
6491
|
+
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
6492
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
5524
6493
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
5525
6494
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5526
6495
|
}>;
|
|
5527
|
-
readonly
|
|
5528
|
-
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
6496
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
5529
6497
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
5530
6498
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5531
6499
|
}>;
|
|
@@ -5542,12 +6510,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5542
6510
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5543
6511
|
readonly person: import("effect/Schema").Struct<{
|
|
5544
6512
|
readonly avatar: import("effect/Schema").TaggedUnion<{
|
|
5545
|
-
readonly reference: import("effect/Schema").TaggedStruct<"reference", {
|
|
5546
|
-
readonly reference: import("effect/Schema").String;
|
|
5547
|
-
}>;
|
|
5548
6513
|
readonly initials: import("effect/Schema").TaggedStruct<"initials", {
|
|
5549
6514
|
readonly text: import("effect/Schema").String;
|
|
5550
6515
|
}>;
|
|
6516
|
+
readonly reference: import("effect/Schema").TaggedStruct<"reference", {
|
|
6517
|
+
readonly reference: import("effect/Schema").String;
|
|
6518
|
+
}>;
|
|
5551
6519
|
}>;
|
|
5552
6520
|
readonly displayName: import("effect/Schema").String;
|
|
5553
6521
|
readonly isActive: import("effect/Schema").Boolean;
|
|
@@ -5570,12 +6538,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5570
6538
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5571
6539
|
readonly person: import("effect/Schema").Struct<{
|
|
5572
6540
|
readonly avatar: import("effect/Schema").TaggedUnion<{
|
|
5573
|
-
readonly reference: import("effect/Schema").TaggedStruct<"reference", {
|
|
5574
|
-
readonly reference: import("effect/Schema").String;
|
|
5575
|
-
}>;
|
|
5576
6541
|
readonly initials: import("effect/Schema").TaggedStruct<"initials", {
|
|
5577
6542
|
readonly text: import("effect/Schema").String;
|
|
5578
6543
|
}>;
|
|
6544
|
+
readonly reference: import("effect/Schema").TaggedStruct<"reference", {
|
|
6545
|
+
readonly reference: import("effect/Schema").String;
|
|
6546
|
+
}>;
|
|
5579
6547
|
}>;
|
|
5580
6548
|
readonly displayName: import("effect/Schema").String;
|
|
5581
6549
|
readonly isActive: import("effect/Schema").Boolean;
|
|
@@ -5616,12 +6584,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5616
6584
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
5617
6585
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5618
6586
|
}>;
|
|
5619
|
-
readonly
|
|
6587
|
+
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
6588
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
5620
6589
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
5621
6590
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5622
6591
|
}>;
|
|
5623
|
-
readonly
|
|
5624
|
-
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
6592
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
5625
6593
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
5626
6594
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5627
6595
|
}>;
|
|
@@ -5660,12 +6628,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5660
6628
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
5661
6629
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5662
6630
|
}>;
|
|
5663
|
-
readonly
|
|
6631
|
+
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
6632
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
5664
6633
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
5665
6634
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5666
6635
|
}>;
|
|
5667
|
-
readonly
|
|
5668
|
-
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
6636
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
5669
6637
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
5670
6638
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5671
6639
|
}>;
|
|
@@ -5680,12 +6648,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5680
6648
|
}, "Type">[], PersistenceOperationFailure, never>;
|
|
5681
6649
|
updatePerson: (workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">, person: import("effect/Schema").Struct.ReadonlySide<{
|
|
5682
6650
|
readonly avatar: import("effect/Schema").TaggedUnion<{
|
|
5683
|
-
readonly reference: import("effect/Schema").TaggedStruct<"reference", {
|
|
5684
|
-
readonly reference: import("effect/Schema").String;
|
|
5685
|
-
}>;
|
|
5686
6651
|
readonly initials: import("effect/Schema").TaggedStruct<"initials", {
|
|
5687
6652
|
readonly text: import("effect/Schema").String;
|
|
5688
6653
|
}>;
|
|
6654
|
+
readonly reference: import("effect/Schema").TaggedStruct<"reference", {
|
|
6655
|
+
readonly reference: import("effect/Schema").String;
|
|
6656
|
+
}>;
|
|
5689
6657
|
}>;
|
|
5690
6658
|
readonly displayName: import("effect/Schema").String;
|
|
5691
6659
|
readonly isActive: import("effect/Schema").Boolean;
|
|
@@ -5699,12 +6667,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5699
6667
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5700
6668
|
readonly person: import("effect/Schema").Struct<{
|
|
5701
6669
|
readonly avatar: import("effect/Schema").TaggedUnion<{
|
|
5702
|
-
readonly reference: import("effect/Schema").TaggedStruct<"reference", {
|
|
5703
|
-
readonly reference: import("effect/Schema").String;
|
|
5704
|
-
}>;
|
|
5705
6670
|
readonly initials: import("effect/Schema").TaggedStruct<"initials", {
|
|
5706
6671
|
readonly text: import("effect/Schema").String;
|
|
5707
6672
|
}>;
|
|
6673
|
+
readonly reference: import("effect/Schema").TaggedStruct<"reference", {
|
|
6674
|
+
readonly reference: import("effect/Schema").String;
|
|
6675
|
+
}>;
|
|
5708
6676
|
}>;
|
|
5709
6677
|
readonly displayName: import("effect/Schema").String;
|
|
5710
6678
|
readonly isActive: import("effect/Schema").Boolean;
|
|
@@ -5743,12 +6711,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5743
6711
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
5744
6712
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5745
6713
|
}>;
|
|
5746
|
-
readonly
|
|
6714
|
+
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
6715
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
5747
6716
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
5748
6717
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5749
6718
|
}>;
|
|
5750
|
-
readonly
|
|
5751
|
-
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
6719
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
5752
6720
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
5753
6721
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5754
6722
|
}>;
|
|
@@ -5782,12 +6750,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
5782
6750
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
5783
6751
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5784
6752
|
}>;
|
|
5785
|
-
readonly
|
|
6753
|
+
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
6754
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
5786
6755
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
5787
6756
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5788
6757
|
}>;
|
|
5789
|
-
readonly
|
|
5790
|
-
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
6758
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
5791
6759
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
5792
6760
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
5793
6761
|
}>;
|
|
@@ -6512,7 +7480,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
6512
7480
|
readonly updatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
6513
7481
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
6514
7482
|
readonly providerAccountId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ProviderAccountId">;
|
|
6515
|
-
}, "Type">, "
|
|
7483
|
+
}, "Type">, "workspaceId" | "providerAccountId">) => Effect.Effect<import("effect/Schema").Struct.ReadonlySide<{
|
|
6516
7484
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
6517
7485
|
readonly providerAccountId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ProviderAccountId">;
|
|
6518
7486
|
readonly providerFamily: import("effect/Schema").Literals<readonly ["aws", "atlassian", "clockify"]>;
|
|
@@ -6545,7 +7513,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
6545
7513
|
};
|
|
6546
7514
|
readiness: {
|
|
6547
7515
|
claimInvalidation: (input: unknown) => Effect.Effect<import("effect/Schema").Struct.ReadonlySide<{
|
|
6548
|
-
readonly _tag: import("effect/Schema").tag<"
|
|
7516
|
+
readonly _tag: import("effect/Schema").tag<"environment">;
|
|
6549
7517
|
readonly invalidationRevision: import("effect/Schema").brand<import("effect/Schema").Int, "ReadinessInvalidationRevision">;
|
|
6550
7518
|
readonly reason: import("effect/Schema").Literals<readonly ["evidence-changed", "plugin-health-changed", "rule-changed", "candidate-changed", "scheduled", "environment-assessment-changed"]>;
|
|
6551
7519
|
readonly enqueuedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
@@ -6557,8 +7525,9 @@ declare const makePersistence: Effect.Effect<{
|
|
|
6557
7525
|
}>>;
|
|
6558
7526
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
6559
7527
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
7528
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
6560
7529
|
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
6561
|
-
readonly _tag: import("effect/Schema").tag<"
|
|
7530
|
+
readonly _tag: import("effect/Schema").tag<"release">;
|
|
6562
7531
|
readonly invalidationRevision: import("effect/Schema").brand<import("effect/Schema").Int, "ReadinessInvalidationRevision">;
|
|
6563
7532
|
readonly reason: import("effect/Schema").Literals<readonly ["evidence-changed", "plugin-health-changed", "rule-changed", "candidate-changed", "scheduled", "environment-assessment-changed"]>;
|
|
6564
7533
|
readonly enqueuedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
@@ -6570,7 +7539,6 @@ declare const makePersistence: Effect.Effect<{
|
|
|
6570
7539
|
}>>;
|
|
6571
7540
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
6572
7541
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
6573
|
-
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
6574
7542
|
}, "Type"> | null, PersistenceOperationFailure, never>;
|
|
6575
7543
|
commitEnvironment: (input: unknown) => Effect.Effect<{
|
|
6576
7544
|
assessment: import("effect/Schema").Struct.ReadonlySide<{
|
|
@@ -7020,7 +7988,7 @@ declare const makePersistence: Effect.Effect<{
|
|
|
7020
7988
|
enqueued: number;
|
|
7021
7989
|
}, PersistenceOperationFailure, never>;
|
|
7022
7990
|
enqueueInvalidation: (input: unknown) => Effect.Effect<import("effect/Schema").Struct.ReadonlySide<{
|
|
7023
|
-
readonly _tag: import("effect/Schema").tag<"
|
|
7991
|
+
readonly _tag: import("effect/Schema").tag<"environment">;
|
|
7024
7992
|
readonly invalidationRevision: import("effect/Schema").brand<import("effect/Schema").Int, "ReadinessInvalidationRevision">;
|
|
7025
7993
|
readonly reason: import("effect/Schema").Literals<readonly ["evidence-changed", "plugin-health-changed", "rule-changed", "candidate-changed", "scheduled", "environment-assessment-changed"]>;
|
|
7026
7994
|
readonly enqueuedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
@@ -7032,8 +8000,9 @@ declare const makePersistence: Effect.Effect<{
|
|
|
7032
8000
|
}>>;
|
|
7033
8001
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
7034
8002
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
8003
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
7035
8004
|
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
7036
|
-
readonly _tag: import("effect/Schema").tag<"
|
|
8005
|
+
readonly _tag: import("effect/Schema").tag<"release">;
|
|
7037
8006
|
readonly invalidationRevision: import("effect/Schema").brand<import("effect/Schema").Int, "ReadinessInvalidationRevision">;
|
|
7038
8007
|
readonly reason: import("effect/Schema").Literals<readonly ["evidence-changed", "plugin-health-changed", "rule-changed", "candidate-changed", "scheduled", "environment-assessment-changed"]>;
|
|
7039
8008
|
readonly enqueuedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
@@ -7045,10 +8014,9 @@ declare const makePersistence: Effect.Effect<{
|
|
|
7045
8014
|
}>>;
|
|
7046
8015
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
7047
8016
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
7048
|
-
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
7049
8017
|
}, "Type">, PersistenceOperationFailure, never>;
|
|
7050
8018
|
readCurrent: (input: unknown) => Effect.Effect<{
|
|
7051
|
-
_tag: "
|
|
8019
|
+
_tag: "environment" | "release";
|
|
7052
8020
|
record: null;
|
|
7053
8021
|
} | {
|
|
7054
8022
|
_tag: "environment";
|
|
@@ -8571,12 +9539,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
8571
9539
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
8572
9540
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
8573
9541
|
}>;
|
|
8574
|
-
readonly
|
|
9542
|
+
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
9543
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
8575
9544
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
8576
9545
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
8577
9546
|
}>;
|
|
8578
|
-
readonly
|
|
8579
|
-
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
9547
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
8580
9548
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
8581
9549
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
8582
9550
|
}>;
|
|
@@ -8742,12 +9710,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
8742
9710
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
8743
9711
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
8744
9712
|
}>;
|
|
8745
|
-
readonly
|
|
9713
|
+
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
9714
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
8746
9715
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
8747
9716
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
8748
9717
|
}>;
|
|
8749
|
-
readonly
|
|
8750
|
-
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
9718
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
8751
9719
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
8752
9720
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
8753
9721
|
}>;
|
|
@@ -8915,12 +9883,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
8915
9883
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
8916
9884
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
8917
9885
|
}>;
|
|
8918
|
-
readonly
|
|
9886
|
+
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
9887
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
8919
9888
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
8920
9889
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
8921
9890
|
}>;
|
|
8922
|
-
readonly
|
|
8923
|
-
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
9891
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
8924
9892
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
8925
9893
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
8926
9894
|
}>;
|
|
@@ -9086,12 +10054,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
9086
10054
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
9087
10055
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
9088
10056
|
}>;
|
|
9089
|
-
readonly
|
|
10057
|
+
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
10058
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
9090
10059
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
9091
10060
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
9092
10061
|
}>;
|
|
9093
|
-
readonly
|
|
9094
|
-
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
10062
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
9095
10063
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
9096
10064
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
9097
10065
|
}>;
|
|
@@ -9260,12 +10228,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
9260
10228
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
9261
10229
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
9262
10230
|
}>;
|
|
9263
|
-
readonly
|
|
10231
|
+
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
10232
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
9264
10233
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
9265
10234
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
9266
10235
|
}>;
|
|
9267
|
-
readonly
|
|
9268
|
-
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
10236
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
9269
10237
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
9270
10238
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
9271
10239
|
}>;
|
|
@@ -9434,12 +10402,12 @@ declare const makePersistence: Effect.Effect<{
|
|
|
9434
10402
|
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
9435
10403
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
9436
10404
|
}>;
|
|
9437
|
-
readonly
|
|
10405
|
+
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
10406
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
9438
10407
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
9439
10408
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
9440
10409
|
}>;
|
|
9441
|
-
readonly
|
|
9442
|
-
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
10410
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
9443
10411
|
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
9444
10412
|
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
9445
10413
|
}>;
|
|
@@ -9508,10 +10476,10 @@ declare const makePersistence: Effect.Effect<{
|
|
|
9508
10476
|
readonly workspaceId: import("../../index.ts").WorkspaceId;
|
|
9509
10477
|
readonly eventKey: string;
|
|
9510
10478
|
}) => Effect.Effect<{
|
|
9511
|
-
actorKind: "
|
|
10479
|
+
actorKind: "human" | "agent" | "system" | "plugin";
|
|
9512
10480
|
occurredAt: import("effect/DateTime").Utc;
|
|
9513
10481
|
service: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify" | null;
|
|
9514
|
-
sourceKind: "
|
|
10482
|
+
sourceKind: "system" | "relationship" | "action" | "plugin-sync";
|
|
9515
10483
|
eventKey: string;
|
|
9516
10484
|
actorId: string | null;
|
|
9517
10485
|
actorLabel: string | null;
|
|
@@ -9524,10 +10492,10 @@ declare const makePersistence: Effect.Effect<{
|
|
|
9524
10492
|
agentJobId: string | null;
|
|
9525
10493
|
} | null, PersistenceOperationFailure, never>;
|
|
9526
10494
|
page: (input: import("./repositories/timelineRepository.ts").ReadTimelinePageInput) => Effect.Effect<{
|
|
9527
|
-
actorKind: "
|
|
10495
|
+
actorKind: "human" | "agent" | "system" | "plugin";
|
|
9528
10496
|
occurredAt: import("effect/DateTime").Utc;
|
|
9529
10497
|
service: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify" | null;
|
|
9530
|
-
sourceKind: "
|
|
10498
|
+
sourceKind: "system" | "relationship" | "action" | "plugin-sync";
|
|
9531
10499
|
eventKey: string;
|
|
9532
10500
|
actorId: string | null;
|
|
9533
10501
|
actorLabel: string | null;
|
|
@@ -9848,7 +10816,11 @@ declare const makePersistence: Effect.Effect<{
|
|
|
9848
10816
|
};
|
|
9849
10817
|
}, never, Crypto.Crypto | Database | ContentStore | AgentJobRepository | AuthorizedShareRepository | DeliveryGraphRepository | DiffContentCacheRepository | DomainEventRepository | EntityRepository | GovernedActionRepository | PeopleRepository | PluginConfigurationRepository | PluginConnectionRepository | PluginRuntimeRepository | ProviderAccountRepository | ReadinessRepository | RelationshipRepairProposalRepository | ReleaseRepository | WorkspaceSettingsRepository | RetentionRepository | TimelineExportAuditRepository | TimelineRepository | WorkspaceRepository>;
|
|
9850
10818
|
/** Public repository collection exposed to authenticated server workflows. */
|
|
9851
|
-
export interface PersistenceService extends Success<typeof makePersistence> {
|
|
10819
|
+
export interface PersistenceService extends Omit<Success<typeof makePersistence>, "agentJobs"> {
|
|
10820
|
+
readonly agentJobs: Omit<Success<typeof makePersistence>["agentJobs"], "attachRunningPrReviewSession" | "interruptRunningReviews"> & {
|
|
10821
|
+
readonly attachRunningPrReviewSession?: Success<typeof makePersistence>["agentJobs"]["attachRunningPrReviewSession"];
|
|
10822
|
+
readonly interruptRunningReviews?: Success<typeof makePersistence>["agentJobs"]["interruptRunningReviews"];
|
|
10823
|
+
};
|
|
9852
10824
|
}
|
|
9853
10825
|
declare const Persistence_base: Context.ServiceClass<Persistence, "@knpkv/control-center/Persistence", PersistenceService>;
|
|
9854
10826
|
/** Server-only durable state boundary; the database and filesystem stay private. */
|