@knpkv/control-center 0.3.0 → 0.4.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 +52 -9
- package/dist/client/.vite/manifest.json +183 -170
- package/dist/client/assets/{ActiveWorkPage-DJQgGZeV.js → ActiveWorkPage-Dd1mxPrq.js} +2 -2
- package/dist/client/assets/{ActiveWorkPage-DJQgGZeV.js.map → ActiveWorkPage-Dd1mxPrq.js.map} +1 -1
- package/dist/client/assets/AgentPage-C3LThgPZ.js +3 -0
- package/dist/client/assets/AgentPage-C3LThgPZ.js.map +1 -0
- package/dist/client/assets/{AtlassianOAuthCallbackPage-D1F1xE_2.js → AtlassianOAuthCallbackPage-BPoF6oKf.js} +2 -2
- package/dist/client/assets/{AtlassianOAuthCallbackPage-D1F1xE_2.js.map → AtlassianOAuthCallbackPage-BPoF6oKf.js.map} +1 -1
- package/dist/client/assets/AuthorizedSharePage-jjqu6W_f.js +2 -0
- package/dist/client/assets/AuthorizedSharePage-jjqu6W_f.js.map +1 -0
- package/dist/client/assets/BrowserCrypto-BMbjhcvP.js +2 -0
- package/dist/client/assets/{BrowserCrypto-DVWR7DFd.js.map → BrowserCrypto-BMbjhcvP.js.map} +1 -1
- package/dist/client/assets/BrowserSessionHydrator-BC1ymLkL.js +2 -0
- package/dist/client/assets/BrowserSessionHydrator-BC1ymLkL.js.map +1 -0
- package/dist/client/assets/CommandSearch-WwAVDrD9.js +2 -0
- package/dist/client/assets/{CommandSearch-CP_QCbkm.js.map → CommandSearch-WwAVDrD9.js.map} +1 -1
- package/dist/client/assets/ItemsPage-CKK_KkJ2.js +2 -0
- package/dist/client/assets/{ItemsPage-BGFUkRL2.js.map → ItemsPage-CKK_KkJ2.js.map} +1 -1
- package/dist/client/assets/{PairPage-DIgzx0K2.js → PairPage-DA6cmyqF.js} +2 -2
- package/dist/client/assets/{PairPage-DIgzx0K2.js.map → PairPage-DA6cmyqF.js.map} +1 -1
- package/dist/client/assets/PortfolioOverview-CEI4gpXi.js +2 -0
- package/dist/client/assets/PortfolioOverview-CEI4gpXi.js.map +1 -0
- package/dist/client/assets/PullRequestReviewPanel-D7AKnwL-.js +6 -0
- package/dist/client/assets/PullRequestReviewPanel-D7AKnwL-.js.map +1 -0
- package/dist/client/assets/ReleaseRoute-CbPW3qUT.js +2 -0
- package/dist/client/assets/{ReleaseRoute-DXJ8Jg60.js.map → ReleaseRoute-CbPW3qUT.js.map} +1 -1
- package/dist/client/assets/ReleaseWorkset-BluAe7Sq.js +2 -0
- package/dist/client/assets/{ReleaseWorkset-Dtzalmji.js.map → ReleaseWorkset-BluAe7Sq.js.map} +1 -1
- package/dist/client/assets/ServicesPage-_B89DAvG.js +2 -0
- package/dist/client/assets/ServicesPage-_B89DAvG.js.map +1 -0
- package/dist/client/assets/TimelinePage-DvpgD8AY.js +2 -0
- package/dist/client/assets/TimelinePage-DvpgD8AY.js.map +1 -0
- package/dist/client/assets/WorkspaceEntityLink-DPj6MKI2.js +2 -0
- package/dist/client/assets/{WorkspaceEntityLink-AdZ_T-Wk.js.map → WorkspaceEntityLink-DPj6MKI2.js.map} +1 -1
- package/dist/client/assets/WorkspaceEntityRoute-B01fxxB3.js +3 -0
- package/dist/client/assets/WorkspaceEntityRoute-B01fxxB3.js.map +1 -0
- package/dist/client/assets/{WorkspaceHomeLink-XbKSPths.js → WorkspaceHomeLink-CkJfzO25.js} +2 -2
- package/dist/client/assets/{WorkspaceHomeLink-XbKSPths.js.map → WorkspaceHomeLink-CkJfzO25.js.map} +1 -1
- package/dist/client/assets/WorkspacePullRequestDetails-HwDgp12e.js +3 -0
- package/dist/client/assets/WorkspacePullRequestDetails-HwDgp12e.js.map +1 -0
- package/dist/client/assets/{WorkspaceReleaseLayout-cfboC5Qh.js → WorkspaceReleaseLayout-CGHi8eoo.js} +2 -2
- package/dist/client/assets/{WorkspaceReleaseLayout-cfboC5Qh.js.map → WorkspaceReleaseLayout-CGHi8eoo.js.map} +1 -1
- package/dist/client/assets/{WorkspaceSettingsPage-Fy7Wx8Y2.js → WorkspaceSettingsPage-DyoGiGJG.js} +2 -2
- package/dist/client/assets/{WorkspaceSettingsPage-Fy7Wx8Y2.js.map → WorkspaceSettingsPage-DyoGiGJG.js.map} +1 -1
- package/dist/client/assets/agent-api-CeONl_8w.js +19 -0
- package/dist/client/assets/agent-api-CeONl_8w.js.map +1 -0
- package/dist/client/assets/authenticatedMutationClient-DYaieXUe.js +2 -0
- package/dist/client/assets/{authenticatedMutationClient-Ccwguc3i.js.map → authenticatedMutationClient-DYaieXUe.js.map} +1 -1
- package/dist/client/assets/authorizedShareTransport-cxBoQzQ2.js +2 -0
- package/dist/client/assets/{authorizedShareTransport-DZHgFEkh.js.map → authorizedShareTransport-cxBoQzQ2.js.map} +1 -1
- package/dist/client/assets/client-DKS82kT_.js +5 -0
- package/dist/client/assets/client-DKS82kT_.js.map +1 -0
- package/dist/client/assets/connectionTestTransport-I_Ga9UNs.js +2 -0
- package/dist/client/assets/{connectionTestTransport-BQ55d6Me.js.map → connectionTestTransport-I_Ga9UNs.js.map} +1 -1
- package/dist/client/assets/index-C7_FDTU7.js +11 -0
- package/dist/client/assets/index-C7_FDTU7.js.map +1 -0
- package/dist/client/assets/{patterns-5N-j-AD2-BwypFm-e.js → patterns-5N-j-AD2-B9qgekXA.js} +2 -2
- package/dist/client/assets/{patterns-5N-j-AD2-BwypFm-e.js.map → patterns-5N-j-AD2-B9qgekXA.js.map} +1 -1
- package/dist/client/assets/{presentPortfolio-D3ZIcnqt.js → presentPortfolio-C_JsoSWg.js} +2 -2
- package/dist/client/assets/presentPortfolio-C_JsoSWg.js.map +1 -0
- package/dist/client/assets/{presentWorkspaceItems-Bmh4oEbH.js → presentWorkspaceItems-DboAfwGc.js} +2 -2
- package/dist/client/assets/{presentWorkspaceItems-Bmh4oEbH.js.map → presentWorkspaceItems-DboAfwGc.js.map} +1 -1
- package/dist/client/assets/{pullRequestReviewFailures-S74M-fOk.js → pullRequestReviewFailures-DHmYwffV.js} +2 -2
- package/dist/client/assets/{pullRequestReviewFailures-S74M-fOk.js.map → pullRequestReviewFailures-DHmYwffV.js.map} +1 -1
- package/dist/client/assets/pullRequestReviewThreadReplay-Vy1k53qE.js +2 -0
- package/dist/client/assets/pullRequestReviewThreadReplay-Vy1k53qE.js.map +1 -0
- package/dist/client/assets/releaseRoutes-t9uCfs5T.js +2 -0
- package/dist/client/assets/{releaseRoutes-BCuIdZyA.js.map → releaseRoutes-t9uCfs5T.js.map} +1 -1
- package/dist/client/assets/serviceOnboarding-DLINCon7.js +2 -0
- package/dist/client/assets/{serviceOnboarding-Jg_0yNjf.js.map → serviceOnboarding-DLINCon7.js.map} +1 -1
- package/dist/client/assets/{useWorkspaceDefaultLanding-CzlDdEF-.js → useWorkspaceDefaultLanding-CC5ImHkL.js} +3 -3
- package/dist/client/assets/{useWorkspaceDefaultLanding-CzlDdEF-.js.map → useWorkspaceDefaultLanding-CC5ImHkL.js.map} +1 -1
- package/dist/client/assets/{useWorkspaceItems-Cd3MPke2.js → useWorkspaceItems-B1X-JNwq.js} +2 -2
- package/dist/client/assets/{useWorkspaceItems-Cd3MPke2.js.map → useWorkspaceItems-B1X-JNwq.js.map} +1 -1
- package/dist/client/assets/workspaceEntityRoutes-2TejMrzb.js +2 -0
- package/dist/client/assets/workspaceEntityRoutes-2TejMrzb.js.map +1 -0
- package/dist/client/assets/workspaceScrollCapture-BsjcWVsk.js +2 -0
- package/dist/client/assets/workspaceScrollCapture-BsjcWVsk.js.map +1 -0
- package/dist/client/assets/workspaceSettingsTransport-Dw2hueXv.js +2 -0
- package/dist/client/assets/{workspaceSettingsTransport-CZWYL5T7.js.map → workspaceSettingsTransport-Dw2hueXv.js.map} +1 -1
- package/dist/client/build-graph.json +17 -0
- package/dist/client/index.html +1 -1
- package/dist/server/api/agent.d.ts +563 -44
- package/dist/server/api/agent.d.ts.map +1 -1
- package/dist/server/api/deliveryGraph.d.ts +454 -454
- package/dist/server/api/index.d.ts +1 -1
- 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/shares.d.ts +2 -2
- package/dist/server/assets/{BindConfig-DIsf2Rnh.js → BindConfig-Bj282xDC.js} +2094 -290
- package/dist/server/assets/BindConfig-Bj282xDC.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-ZvwskOQu.js} +160 -10
- package/dist/server/assets/agent-ZvwskOQu.js.map +1 -0
- package/dist/server/assets/{controlCenterApi-ZUX3Y-LE.js → controlCenterApi-5j3gOXgE.js} +5 -5
- package/dist/server/assets/{controlCenterApi-ZUX3Y-LE.js.map → controlCenterApi-5j3gOXgE.js.map} +1 -1
- 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-CzIhZ_Dw.js} +5 -5
- package/dist/server/assets/{manualPluginSynchronization-DFlhKvav.js.map → manualPluginSynchronization-CzIhZ_Dw.js.map} +1 -1
- 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-BtntBhDj.js} +3 -3
- package/dist/server/assets/{readiness-BhA-Nr9c.js.map → readiness-BtntBhDj.js.map} +1 -1
- package/dist/server/assets/{relationshipInferenceMaterialization-DYBcaWhQ.js → relationshipInferenceMaterialization-CR6xyMNL.js} +1121 -159
- package/dist/server/assets/relationshipInferenceMaterialization-CR6xyMNL.js.map +1 -0
- package/dist/server/assets/{workspaceSettings-BE713Oe8.js → workspaceSettings-C2Zsk6RI.js} +2784 -2700
- package/dist/server/assets/workspaceSettings-C2Zsk6RI.js.map +1 -0
- package/dist/server/build-graph.json +117 -4
- package/dist/server/domain/actors.d.ts +12 -12
- package/dist/server/domain/deliveryGraph.d.ts +49 -49
- package/dist/server/domain/governedAction/bindings.d.ts +24 -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 +39 -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/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/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.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/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/pipelineExecutionProjection.d.ts +6 -6
- package/dist/server/server/application/portfolioSnapshots.d.ts +2014 -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 +3699 -0
- package/dist/server/server/application/releasePublicationSubmissions.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 +233 -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 +36 -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 +1539 -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/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 +138 -138
- package/dist/server/server/persistence/repositories/delivery-graph/decode.d.ts +25 -25
- package/dist/server/server/persistence/repositories/delivery-graph/read.d.ts +111 -111
- package/dist/server/server/persistence/repositories/delivery-graph/rows.d.ts +27 -27
- package/dist/server/server/persistence/repositories/delivery-graph/write.d.ts +48 -48
- package/dist/server/server/persistence/repositories/deliveryGraphRepository.d.ts +111 -111
- package/dist/server/server/persistence/repositories/governed-action/codec.d.ts +255 -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 +66 -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 +664 -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 +676 -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 +37 -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 +44 -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 +44 -32
- package/dist/server/server/persistence/repositories/governed-action/write.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governedActionRepository.d.ts +674 -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 +9 -8
- package/dist/client/assets/AgentPage-DGL93TJU.js +0 -3
- package/dist/client/assets/AgentPage-DGL93TJU.js.map +0 -1
- 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/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-Bxxnc8us.js +0 -3
- package/dist/client/assets/WorkspaceEntityRoute-Bxxnc8us.js.map +0 -1
- package/dist/client/assets/WorkspacePullRequestDetails-BErJ5bk8.js +0 -3
- package/dist/client/assets/WorkspacePullRequestDetails-BErJ5bk8.js.map +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/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/relationshipInferenceMaterialization-DYBcaWhQ.js.map +0 -1
- package/dist/server/assets/workspaceSettings-BE713Oe8.js.map +0 -1
|
@@ -91,6 +91,22 @@ export type DurableAgentPrompt = typeof DurableAgentPrompt.Type;
|
|
|
91
91
|
export declare const ReleaseAgentProvider: Schema.Literals<readonly ["codex", "claude"]>;
|
|
92
92
|
/** Decoded release-agent provider. */
|
|
93
93
|
export type ReleaseAgentProvider = AgentProvider;
|
|
94
|
+
/** Provider destination that Relay may create or update after human confirmation. */
|
|
95
|
+
export declare const ReleasePublicationProvider: Schema.Literals<readonly ["jira", "confluence"]>;
|
|
96
|
+
export type ReleasePublicationProvider = typeof ReleasePublicationProvider.Type;
|
|
97
|
+
export declare const SubmitReleasePublicationRequest: Schema.Struct<{
|
|
98
|
+
readonly provider: Schema.Literals<readonly ["jira", "confluence"]>;
|
|
99
|
+
readonly title: Schema.String;
|
|
100
|
+
readonly markdown: Schema.String;
|
|
101
|
+
readonly parentId: Schema.NullOr<Schema.String>;
|
|
102
|
+
readonly publicationActionId: Schema.optionalKey<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">>;
|
|
103
|
+
}>;
|
|
104
|
+
export type SubmitReleasePublicationRequest = typeof SubmitReleasePublicationRequest.Type;
|
|
105
|
+
export declare const SubmitReleasePublicationResponse: Schema.Struct<{
|
|
106
|
+
readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
|
|
107
|
+
readonly state: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
108
|
+
}>;
|
|
109
|
+
export type SubmitReleasePublicationResponse = typeof SubmitReleasePublicationResponse.Type;
|
|
94
110
|
/** One bounded prior turn supplied to preserve release-thread context. */
|
|
95
111
|
export declare const AgentHistoryMessage: Schema.Struct<{
|
|
96
112
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
@@ -113,6 +129,7 @@ export declare const ReleaseAgentTurnRequest: Schema.Struct<{
|
|
|
113
129
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
114
130
|
readonly content: Schema.String;
|
|
115
131
|
}>>;
|
|
132
|
+
readonly originPath: Schema.optionalKey<Schema.String>;
|
|
116
133
|
}>;
|
|
117
134
|
/** Decoded release-aware model request. */
|
|
118
135
|
export type ReleaseAgentTurnRequest = typeof ReleaseAgentTurnRequest.Type;
|
|
@@ -312,6 +329,11 @@ export declare const ReleaseAgentTurnResponse: Schema.Struct<{
|
|
|
312
329
|
readonly truncated: Schema.Boolean;
|
|
313
330
|
}>;
|
|
314
331
|
readonly sourceRevisionCount: Schema.Int;
|
|
332
|
+
readonly releasePageAwareness: Schema.optionalKey<Schema.Struct<{
|
|
333
|
+
readonly state: Schema.Literals<readonly ["current", "stale", "not-published", "unknown"]>;
|
|
334
|
+
readonly lastPublishedAt: Schema.NullOr<Schema.DateTimeUtcFromString>;
|
|
335
|
+
readonly publicationActionId: Schema.optionalKey<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">>;
|
|
336
|
+
}>>;
|
|
315
337
|
readonly updatedAt: Schema.DateTimeUtcFromString;
|
|
316
338
|
}>;
|
|
317
339
|
readonly eventCursor: Schema.brand<Schema.Int, "EventCursor">;
|
|
@@ -427,6 +449,20 @@ declare const PullRequestReviewNotStarted_base: Schema.Class<PullRequestReviewNo
|
|
|
427
449
|
/** No durable review exists yet for this exact immutable subject. */
|
|
428
450
|
export declare class PullRequestReviewNotStarted extends PullRequestReviewNotStarted_base {
|
|
429
451
|
}
|
|
452
|
+
declare const PullRequestReviewStale_base: Schema.Class<PullRequestReviewStale, Schema.TaggedStruct<"stale", {
|
|
453
|
+
readonly previousHead: Schema.String;
|
|
454
|
+
readonly previousJobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
455
|
+
readonly subject: Schema.Struct<{
|
|
456
|
+
readonly providerId: Schema.Literal<"codecommit">;
|
|
457
|
+
readonly repository: Schema.String;
|
|
458
|
+
readonly pullRequestId: Schema.String;
|
|
459
|
+
readonly baseRevision: Schema.String;
|
|
460
|
+
readonly headRevision: Schema.String;
|
|
461
|
+
}>;
|
|
462
|
+
}>, {}>;
|
|
463
|
+
/** A prior completed review exists, but its evidence is bound to an older head. */
|
|
464
|
+
export declare class PullRequestReviewStale extends PullRequestReviewStale_base {
|
|
465
|
+
}
|
|
430
466
|
declare const PullRequestReviewPending_base: Schema.Class<PullRequestReviewPending, Schema.TaggedStruct<"pending", {
|
|
431
467
|
readonly state: Schema.Literals<readonly ["queued", "running", "cancel-requested"]>;
|
|
432
468
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
@@ -443,6 +479,9 @@ declare const PullRequestReviewPending_base: Schema.Class<PullRequestReviewPendi
|
|
|
443
479
|
readonly events: Schema.$Array<Schema.String>;
|
|
444
480
|
readonly truncated: Schema.Boolean;
|
|
445
481
|
}>;
|
|
482
|
+
readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
483
|
+
readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
484
|
+
readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
|
|
446
485
|
readonly requestedAt: Schema.DateTimeUtcFromString;
|
|
447
486
|
readonly subject: Schema.Struct<{
|
|
448
487
|
readonly providerId: Schema.Literal<"codecommit">;
|
|
@@ -530,6 +569,7 @@ declare const PullRequestReviewCompleted_base: Schema.Class<PullRequestReviewCom
|
|
|
530
569
|
}>>;
|
|
531
570
|
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
532
571
|
readonly state: Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
|
|
572
|
+
readonly dismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
533
573
|
}>>;
|
|
534
574
|
readonly notes: Schema.$Array<Schema.Struct<{
|
|
535
575
|
readonly reason: Schema.Literals<readonly ["low-confidence", "pre-existing"]>;
|
|
@@ -546,6 +586,15 @@ declare const PullRequestReviewCompleted_base: Schema.Class<PullRequestReviewCom
|
|
|
546
586
|
}>>;
|
|
547
587
|
readonly noteId: Schema.brand<Schema.String, "PrReviewNoteId">;
|
|
548
588
|
}>>;
|
|
589
|
+
readonly transitions: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
590
|
+
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
591
|
+
readonly transition: Schema.Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
|
|
592
|
+
readonly previousState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
593
|
+
readonly currentState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
594
|
+
readonly previousDismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
595
|
+
readonly previousHead: Schema.NullOr<Schema.String>;
|
|
596
|
+
readonly currentHead: Schema.String;
|
|
597
|
+
}>>>;
|
|
549
598
|
}>;
|
|
550
599
|
readonly outcome: Schema.Literals<readonly ["changes-required", "non-blocking-suggestions", "no-issues-found", "unable-to-conclude"]>;
|
|
551
600
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
@@ -562,6 +611,9 @@ declare const PullRequestReviewCompleted_base: Schema.Class<PullRequestReviewCom
|
|
|
562
611
|
readonly events: Schema.$Array<Schema.String>;
|
|
563
612
|
readonly truncated: Schema.Boolean;
|
|
564
613
|
}>;
|
|
614
|
+
readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
615
|
+
readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
616
|
+
readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
|
|
565
617
|
readonly requestedAt: Schema.DateTimeUtcFromString;
|
|
566
618
|
readonly subject: Schema.Struct<{
|
|
567
619
|
readonly providerId: Schema.Literal<"codecommit">;
|
|
@@ -577,6 +629,106 @@ export declare class PullRequestReviewCompleted extends PullRequestReviewComplet
|
|
|
577
629
|
declare const PullRequestReviewFailed_base: Schema.Class<PullRequestReviewFailed, Schema.TaggedStruct<"failed", {
|
|
578
630
|
readonly completedAt: Schema.DateTimeUtcFromString;
|
|
579
631
|
readonly state: Schema.Literals<readonly ["failed", "cancelled"]>;
|
|
632
|
+
readonly report: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.Struct<{
|
|
633
|
+
readonly schemaVersion: Schema.Literal<3>;
|
|
634
|
+
readonly subject: Schema.Struct<{
|
|
635
|
+
readonly providerId: Schema.Literal<"codecommit">;
|
|
636
|
+
readonly repository: Schema.String;
|
|
637
|
+
readonly pullRequestId: Schema.String;
|
|
638
|
+
readonly baseRevision: Schema.String;
|
|
639
|
+
readonly headRevision: Schema.String;
|
|
640
|
+
}>;
|
|
641
|
+
readonly completion: Schema.Union<readonly [Schema.Struct<{
|
|
642
|
+
readonly status: Schema.Literal<"complete">;
|
|
643
|
+
}>, Schema.Struct<{
|
|
644
|
+
readonly status: Schema.Literal<"unable-to-conclude">;
|
|
645
|
+
readonly reason: Schema.String;
|
|
646
|
+
}>]>;
|
|
647
|
+
readonly suggestions: Schema.$Array<Schema.Struct<{
|
|
648
|
+
readonly anchor: Schema.Union<readonly [Schema.Struct<{
|
|
649
|
+
readonly _tag: Schema.Literal<"line">;
|
|
650
|
+
readonly path: Schema.brand<Schema.String, "PrReviewPath">;
|
|
651
|
+
readonly line: Schema.Int;
|
|
652
|
+
readonly relativeFileVersion: Schema.withDecodingDefaultTypeKey<Schema.Literal<"AFTER">, never>;
|
|
653
|
+
}>, Schema.Struct<{
|
|
654
|
+
readonly _tag: Schema.Literal<"file">;
|
|
655
|
+
readonly path: Schema.brand<Schema.String, "PrReviewPath">;
|
|
656
|
+
readonly line: Schema.Int;
|
|
657
|
+
readonly relativeFileVersion: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["BEFORE", "AFTER"]>, never>;
|
|
658
|
+
}>, Schema.Struct<{
|
|
659
|
+
readonly _tag: Schema.Literal<"changes">;
|
|
660
|
+
}>]>;
|
|
661
|
+
readonly title: Schema.String;
|
|
662
|
+
readonly severity: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
663
|
+
readonly problem: Schema.String;
|
|
664
|
+
readonly impact: Schema.String;
|
|
665
|
+
readonly evidence: Schema.Struct<{
|
|
666
|
+
readonly excerpt: Schema.String;
|
|
667
|
+
readonly path: Schema.brand<Schema.String, "PrReviewPath">;
|
|
668
|
+
readonly startLine: Schema.Int;
|
|
669
|
+
readonly endLine: Schema.Int;
|
|
670
|
+
}>;
|
|
671
|
+
readonly recommendation: Schema.String;
|
|
672
|
+
readonly confidence: Schema.Struct<{
|
|
673
|
+
readonly level: Schema.Literals<readonly ["low", "medium", "high"]>;
|
|
674
|
+
readonly reason: Schema.String;
|
|
675
|
+
}>;
|
|
676
|
+
readonly relatedLocations: Schema.$Array<Schema.Struct<{
|
|
677
|
+
readonly label: Schema.String;
|
|
678
|
+
readonly path: Schema.brand<Schema.String, "PrReviewPath">;
|
|
679
|
+
readonly startLine: Schema.Int;
|
|
680
|
+
readonly endLine: Schema.Int;
|
|
681
|
+
}>>;
|
|
682
|
+
readonly prevention: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
683
|
+
readonly summary: Schema.String;
|
|
684
|
+
readonly enforcement: Schema.Literals<readonly ["ast-grep", "ESLint", "type-check", "test", "instruction"]>;
|
|
685
|
+
readonly existingRuleOrConfig: Schema.String;
|
|
686
|
+
readonly recurrenceEvidence: Schema.String;
|
|
687
|
+
readonly targetFile: Schema.brand<Schema.String, "PrReviewPath">;
|
|
688
|
+
readonly sourcePaths: Schema.$Array<Schema.brand<Schema.String, "PrReviewPath">>;
|
|
689
|
+
readonly matcherOrInvariant: Schema.String;
|
|
690
|
+
readonly invalidFixture: Schema.String;
|
|
691
|
+
readonly validFixture: Schema.String;
|
|
692
|
+
readonly boundary: Schema.String;
|
|
693
|
+
}>, Schema.Struct<{
|
|
694
|
+
readonly summary: Schema.String;
|
|
695
|
+
readonly enforcement: Schema.Literal<"none">;
|
|
696
|
+
readonly rationale: Schema.String;
|
|
697
|
+
}>]>>;
|
|
698
|
+
readonly replacement: Schema.optionalKey<Schema.Struct<{
|
|
699
|
+
readonly reviewedHead: Schema.String;
|
|
700
|
+
readonly unifiedDiff: Schema.String;
|
|
701
|
+
readonly explanation: Schema.String;
|
|
702
|
+
}>>;
|
|
703
|
+
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
704
|
+
readonly state: Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
|
|
705
|
+
readonly dismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
706
|
+
}>>;
|
|
707
|
+
readonly notes: Schema.$Array<Schema.Struct<{
|
|
708
|
+
readonly reason: Schema.Literals<readonly ["low-confidence", "pre-existing"]>;
|
|
709
|
+
readonly title: Schema.String;
|
|
710
|
+
readonly observation: Schema.String;
|
|
711
|
+
readonly confidence: Schema.Struct<{
|
|
712
|
+
readonly level: Schema.Literals<readonly ["low", "medium", "high"]>;
|
|
713
|
+
readonly reason: Schema.String;
|
|
714
|
+
}>;
|
|
715
|
+
readonly location: Schema.optionalKey<Schema.Struct<{
|
|
716
|
+
readonly path: Schema.brand<Schema.String, "PrReviewPath">;
|
|
717
|
+
readonly startLine: Schema.Int;
|
|
718
|
+
readonly endLine: Schema.Int;
|
|
719
|
+
}>>;
|
|
720
|
+
readonly noteId: Schema.brand<Schema.String, "PrReviewNoteId">;
|
|
721
|
+
}>>;
|
|
722
|
+
readonly transitions: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
723
|
+
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
724
|
+
readonly transition: Schema.Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
|
|
725
|
+
readonly previousState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
726
|
+
readonly currentState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
727
|
+
readonly previousDismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
728
|
+
readonly previousHead: Schema.NullOr<Schema.String>;
|
|
729
|
+
readonly currentHead: Schema.String;
|
|
730
|
+
}>>>;
|
|
731
|
+
}>>>, never>>;
|
|
580
732
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
581
733
|
readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
|
|
582
734
|
readonly model: Schema.brand<Schema.String, "AgentModelId">;
|
|
@@ -591,6 +743,9 @@ declare const PullRequestReviewFailed_base: Schema.Class<PullRequestReviewFailed
|
|
|
591
743
|
readonly events: Schema.$Array<Schema.String>;
|
|
592
744
|
readonly truncated: Schema.Boolean;
|
|
593
745
|
}>;
|
|
746
|
+
readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
747
|
+
readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
748
|
+
readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
|
|
594
749
|
readonly requestedAt: Schema.DateTimeUtcFromString;
|
|
595
750
|
readonly subject: Schema.Struct<{
|
|
596
751
|
readonly providerId: Schema.Literal<"codecommit">;
|
|
@@ -603,8 +758,139 @@ declare const PullRequestReviewFailed_base: Schema.Class<PullRequestReviewFailed
|
|
|
603
758
|
/** Durable exact-head review stopped without publishing a recommendation. */
|
|
604
759
|
export declare class PullRequestReviewFailed extends PullRequestReviewFailed_base {
|
|
605
760
|
}
|
|
761
|
+
declare const PullRequestReviewInterrupted_base: Schema.Class<PullRequestReviewInterrupted, Schema.TaggedStruct<"interrupted", {
|
|
762
|
+
readonly completedAt: Schema.DateTimeUtcFromString;
|
|
763
|
+
readonly report: Schema.Struct<{
|
|
764
|
+
readonly schemaVersion: Schema.Literal<3>;
|
|
765
|
+
readonly subject: Schema.Struct<{
|
|
766
|
+
readonly providerId: Schema.Literal<"codecommit">;
|
|
767
|
+
readonly repository: Schema.String;
|
|
768
|
+
readonly pullRequestId: Schema.String;
|
|
769
|
+
readonly baseRevision: Schema.String;
|
|
770
|
+
readonly headRevision: Schema.String;
|
|
771
|
+
}>;
|
|
772
|
+
readonly completion: Schema.Union<readonly [Schema.Struct<{
|
|
773
|
+
readonly status: Schema.Literal<"complete">;
|
|
774
|
+
}>, Schema.Struct<{
|
|
775
|
+
readonly status: Schema.Literal<"unable-to-conclude">;
|
|
776
|
+
readonly reason: Schema.String;
|
|
777
|
+
}>]>;
|
|
778
|
+
readonly suggestions: Schema.$Array<Schema.Struct<{
|
|
779
|
+
readonly anchor: Schema.Union<readonly [Schema.Struct<{
|
|
780
|
+
readonly _tag: Schema.Literal<"line">;
|
|
781
|
+
readonly path: Schema.brand<Schema.String, "PrReviewPath">;
|
|
782
|
+
readonly line: Schema.Int;
|
|
783
|
+
readonly relativeFileVersion: Schema.withDecodingDefaultTypeKey<Schema.Literal<"AFTER">, never>;
|
|
784
|
+
}>, Schema.Struct<{
|
|
785
|
+
readonly _tag: Schema.Literal<"file">;
|
|
786
|
+
readonly path: Schema.brand<Schema.String, "PrReviewPath">;
|
|
787
|
+
readonly line: Schema.Int;
|
|
788
|
+
readonly relativeFileVersion: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["BEFORE", "AFTER"]>, never>;
|
|
789
|
+
}>, Schema.Struct<{
|
|
790
|
+
readonly _tag: Schema.Literal<"changes">;
|
|
791
|
+
}>]>;
|
|
792
|
+
readonly title: Schema.String;
|
|
793
|
+
readonly severity: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
794
|
+
readonly problem: Schema.String;
|
|
795
|
+
readonly impact: Schema.String;
|
|
796
|
+
readonly evidence: Schema.Struct<{
|
|
797
|
+
readonly excerpt: Schema.String;
|
|
798
|
+
readonly path: Schema.brand<Schema.String, "PrReviewPath">;
|
|
799
|
+
readonly startLine: Schema.Int;
|
|
800
|
+
readonly endLine: Schema.Int;
|
|
801
|
+
}>;
|
|
802
|
+
readonly recommendation: Schema.String;
|
|
803
|
+
readonly confidence: Schema.Struct<{
|
|
804
|
+
readonly level: Schema.Literals<readonly ["low", "medium", "high"]>;
|
|
805
|
+
readonly reason: Schema.String;
|
|
806
|
+
}>;
|
|
807
|
+
readonly relatedLocations: Schema.$Array<Schema.Struct<{
|
|
808
|
+
readonly label: Schema.String;
|
|
809
|
+
readonly path: Schema.brand<Schema.String, "PrReviewPath">;
|
|
810
|
+
readonly startLine: Schema.Int;
|
|
811
|
+
readonly endLine: Schema.Int;
|
|
812
|
+
}>>;
|
|
813
|
+
readonly prevention: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
814
|
+
readonly summary: Schema.String;
|
|
815
|
+
readonly enforcement: Schema.Literals<readonly ["ast-grep", "ESLint", "type-check", "test", "instruction"]>;
|
|
816
|
+
readonly existingRuleOrConfig: Schema.String;
|
|
817
|
+
readonly recurrenceEvidence: Schema.String;
|
|
818
|
+
readonly targetFile: Schema.brand<Schema.String, "PrReviewPath">;
|
|
819
|
+
readonly sourcePaths: Schema.$Array<Schema.brand<Schema.String, "PrReviewPath">>;
|
|
820
|
+
readonly matcherOrInvariant: Schema.String;
|
|
821
|
+
readonly invalidFixture: Schema.String;
|
|
822
|
+
readonly validFixture: Schema.String;
|
|
823
|
+
readonly boundary: Schema.String;
|
|
824
|
+
}>, Schema.Struct<{
|
|
825
|
+
readonly summary: Schema.String;
|
|
826
|
+
readonly enforcement: Schema.Literal<"none">;
|
|
827
|
+
readonly rationale: Schema.String;
|
|
828
|
+
}>]>>;
|
|
829
|
+
readonly replacement: Schema.optionalKey<Schema.Struct<{
|
|
830
|
+
readonly reviewedHead: Schema.String;
|
|
831
|
+
readonly unifiedDiff: Schema.String;
|
|
832
|
+
readonly explanation: Schema.String;
|
|
833
|
+
}>>;
|
|
834
|
+
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
835
|
+
readonly state: Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
|
|
836
|
+
readonly dismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
837
|
+
}>>;
|
|
838
|
+
readonly notes: Schema.$Array<Schema.Struct<{
|
|
839
|
+
readonly reason: Schema.Literals<readonly ["low-confidence", "pre-existing"]>;
|
|
840
|
+
readonly title: Schema.String;
|
|
841
|
+
readonly observation: Schema.String;
|
|
842
|
+
readonly confidence: Schema.Struct<{
|
|
843
|
+
readonly level: Schema.Literals<readonly ["low", "medium", "high"]>;
|
|
844
|
+
readonly reason: Schema.String;
|
|
845
|
+
}>;
|
|
846
|
+
readonly location: Schema.optionalKey<Schema.Struct<{
|
|
847
|
+
readonly path: Schema.brand<Schema.String, "PrReviewPath">;
|
|
848
|
+
readonly startLine: Schema.Int;
|
|
849
|
+
readonly endLine: Schema.Int;
|
|
850
|
+
}>>;
|
|
851
|
+
readonly noteId: Schema.brand<Schema.String, "PrReviewNoteId">;
|
|
852
|
+
}>>;
|
|
853
|
+
readonly transitions: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
854
|
+
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
855
|
+
readonly transition: Schema.Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
|
|
856
|
+
readonly previousState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
857
|
+
readonly currentState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
858
|
+
readonly previousDismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
859
|
+
readonly previousHead: Schema.NullOr<Schema.String>;
|
|
860
|
+
readonly currentHead: Schema.String;
|
|
861
|
+
}>>>;
|
|
862
|
+
}>;
|
|
863
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
864
|
+
readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
|
|
865
|
+
readonly model: Schema.brand<Schema.String, "AgentModelId">;
|
|
866
|
+
readonly reviewProfile: Schema.Struct<{
|
|
867
|
+
readonly profileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
|
|
868
|
+
readonly label: Schema.String;
|
|
869
|
+
readonly budgetMillis: Schema.Int;
|
|
870
|
+
readonly networkAccess: Schema.Literals<readonly ["blocked", "provider-enabled"]>;
|
|
871
|
+
readonly sandbox: Schema.Literal<"sbx">;
|
|
872
|
+
}>;
|
|
873
|
+
readonly activity: Schema.Struct<{
|
|
874
|
+
readonly events: Schema.$Array<Schema.String>;
|
|
875
|
+
readonly truncated: Schema.Boolean;
|
|
876
|
+
}>;
|
|
877
|
+
readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
878
|
+
readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
879
|
+
readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
|
|
880
|
+
readonly requestedAt: Schema.DateTimeUtcFromString;
|
|
881
|
+
readonly subject: Schema.Struct<{
|
|
882
|
+
readonly providerId: Schema.Literal<"codecommit">;
|
|
883
|
+
readonly repository: Schema.String;
|
|
884
|
+
readonly pullRequestId: Schema.String;
|
|
885
|
+
readonly baseRevision: Schema.String;
|
|
886
|
+
readonly headRevision: Schema.String;
|
|
887
|
+
}>;
|
|
888
|
+
}>, {}>;
|
|
889
|
+
/** Review interrupted by process restart; its partial evidence remains inspectable. */
|
|
890
|
+
export declare class PullRequestReviewInterrupted extends PullRequestReviewInterrupted_base {
|
|
891
|
+
}
|
|
606
892
|
/** Browser-safe current review state for one canonical pull-request entity. */
|
|
607
|
-
export declare const PullRequestReviewState: Schema.toTaggedUnion<"_tag", readonly [typeof PullRequestReviewUnavailable, typeof PullRequestReviewNotStarted, typeof PullRequestReviewPending, typeof PullRequestReviewCompleted, typeof PullRequestReviewFailed]>;
|
|
893
|
+
export declare const PullRequestReviewState: Schema.toTaggedUnion<"_tag", readonly [typeof PullRequestReviewUnavailable, typeof PullRequestReviewNotStarted, typeof PullRequestReviewStale, typeof PullRequestReviewPending, typeof PullRequestReviewCompleted, typeof PullRequestReviewFailed, typeof PullRequestReviewInterrupted]>;
|
|
608
894
|
/** Decoded current pull-request review state. */
|
|
609
895
|
export type PullRequestReviewState = typeof PullRequestReviewState.Type;
|
|
610
896
|
/** Browser-safe immutable activity in one stable pull-request review thread. */
|
|
@@ -729,6 +1015,7 @@ export declare const PullRequestReviewThreadEvent: Schema.toTaggedUnion<"_tag",
|
|
|
729
1015
|
}>>;
|
|
730
1016
|
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
731
1017
|
readonly state: Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
|
|
1018
|
+
readonly dismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
732
1019
|
}>>;
|
|
733
1020
|
readonly notes: Schema.$Array<Schema.Struct<{
|
|
734
1021
|
readonly reason: Schema.Literals<readonly ["low-confidence", "pre-existing"]>;
|
|
@@ -745,6 +1032,15 @@ export declare const PullRequestReviewThreadEvent: Schema.toTaggedUnion<"_tag",
|
|
|
745
1032
|
}>>;
|
|
746
1033
|
readonly noteId: Schema.brand<Schema.String, "PrReviewNoteId">;
|
|
747
1034
|
}>>;
|
|
1035
|
+
readonly transitions: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1036
|
+
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
1037
|
+
readonly transition: Schema.Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
|
|
1038
|
+
readonly previousState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
1039
|
+
readonly currentState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
1040
|
+
readonly previousDismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
1041
|
+
readonly previousHead: Schema.NullOr<Schema.String>;
|
|
1042
|
+
readonly currentHead: Schema.String;
|
|
1043
|
+
}>>>;
|
|
748
1044
|
}>;
|
|
749
1045
|
readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
|
|
750
1046
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
@@ -775,6 +1071,10 @@ export declare const PullRequestReviewThreadEvent: Schema.toTaggedUnion<"_tag",
|
|
|
775
1071
|
readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
|
|
776
1072
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
777
1073
|
readonly occurredAt: Schema.DateTimeUtcFromString;
|
|
1074
|
+
}>, Schema.TaggedStruct<"run-interrupted", {
|
|
1075
|
+
readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
|
|
1076
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1077
|
+
readonly occurredAt: Schema.DateTimeUtcFromString;
|
|
778
1078
|
}>, Schema.TaggedStruct<"cancellation-requested", {
|
|
779
1079
|
readonly requestedAt: Schema.DateTimeUtcFromString;
|
|
780
1080
|
readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
|
|
@@ -908,6 +1208,7 @@ export declare const PullRequestReviewThreadPage: Schema.Struct<{
|
|
|
908
1208
|
}>>;
|
|
909
1209
|
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
910
1210
|
readonly state: Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
|
|
1211
|
+
readonly dismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
911
1212
|
}>>;
|
|
912
1213
|
readonly notes: Schema.$Array<Schema.Struct<{
|
|
913
1214
|
readonly reason: Schema.Literals<readonly ["low-confidence", "pre-existing"]>;
|
|
@@ -924,6 +1225,15 @@ export declare const PullRequestReviewThreadPage: Schema.Struct<{
|
|
|
924
1225
|
}>>;
|
|
925
1226
|
readonly noteId: Schema.brand<Schema.String, "PrReviewNoteId">;
|
|
926
1227
|
}>>;
|
|
1228
|
+
readonly transitions: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1229
|
+
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
1230
|
+
readonly transition: Schema.Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
|
|
1231
|
+
readonly previousState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
1232
|
+
readonly currentState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
1233
|
+
readonly previousDismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
1234
|
+
readonly previousHead: Schema.NullOr<Schema.String>;
|
|
1235
|
+
readonly currentHead: Schema.String;
|
|
1236
|
+
}>>>;
|
|
927
1237
|
}>;
|
|
928
1238
|
readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
|
|
929
1239
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
@@ -954,6 +1264,10 @@ export declare const PullRequestReviewThreadPage: Schema.Struct<{
|
|
|
954
1264
|
readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
|
|
955
1265
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
956
1266
|
readonly occurredAt: Schema.DateTimeUtcFromString;
|
|
1267
|
+
}>, Schema.TaggedStruct<"run-interrupted", {
|
|
1268
|
+
readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
|
|
1269
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1270
|
+
readonly occurredAt: Schema.DateTimeUtcFromString;
|
|
957
1271
|
}>, Schema.TaggedStruct<"cancellation-requested", {
|
|
958
1272
|
readonly requestedAt: Schema.DateTimeUtcFromString;
|
|
959
1273
|
readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
|
|
@@ -1033,6 +1347,23 @@ export declare const EditReviewSuggestionRequest: Schema.Struct<{
|
|
|
1033
1347
|
}>;
|
|
1034
1348
|
/** Decoded manual suggestion edit. */
|
|
1035
1349
|
export type EditReviewSuggestionRequest = typeof EditReviewSuggestionRequest.Type;
|
|
1350
|
+
/** Durable targeted agent operation over one optimistic suggestion revision. */
|
|
1351
|
+
export declare const TargetReviewSuggestionRequest: Schema.Struct<{
|
|
1352
|
+
readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
|
|
1353
|
+
readonly model: Schema.brand<Schema.String, "AgentModelId">;
|
|
1354
|
+
readonly profile: Schema.Literal<"read-only">;
|
|
1355
|
+
readonly reviewProfileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
|
|
1356
|
+
readonly intent: Schema.Literals<readonly ["suggestion-edit", "suggestion-revalidation"]>;
|
|
1357
|
+
readonly expectedRevisionId: Schema.brand<Schema.String, "PrReviewSuggestionRevisionId">;
|
|
1358
|
+
readonly expectedSequence: Schema.brand<Schema.Int, "PrReviewSuggestionRevisionSequence">;
|
|
1359
|
+
readonly prompt: Schema.optionalKey<Schema.String>;
|
|
1360
|
+
}>;
|
|
1361
|
+
/** Decoded targeted agent operation request. */
|
|
1362
|
+
export type TargetReviewSuggestionRequest = typeof TargetReviewSuggestionRequest.Type;
|
|
1363
|
+
/** Accepted targeted review job. */
|
|
1364
|
+
export declare const TargetReviewSuggestionResponse: typeof PullRequestReviewPending;
|
|
1365
|
+
/** Decoded targeted review job response. */
|
|
1366
|
+
export type TargetReviewSuggestionResponse = typeof TargetReviewSuggestionResponse.Type;
|
|
1036
1367
|
/** Browser-safe immutable suggestion revision returned after an edit. */
|
|
1037
1368
|
export declare const EditReviewSuggestionResponse: typeof PrReviewSuggestionRevision;
|
|
1038
1369
|
/** Decoded manual suggestion-edit result. */
|
|
@@ -1041,6 +1372,7 @@ export type EditReviewSuggestionResponse = typeof EditReviewSuggestionResponse.T
|
|
|
1041
1372
|
export declare const DismissReviewSuggestionRequest: Schema.Struct<{
|
|
1042
1373
|
readonly expectedRevisionId: Schema.brand<Schema.String, "PrReviewSuggestionRevisionId">;
|
|
1043
1374
|
readonly expectedSequence: Schema.brand<Schema.Int, "PrReviewSuggestionRevisionSequence">;
|
|
1375
|
+
readonly reason: Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>;
|
|
1044
1376
|
}>;
|
|
1045
1377
|
/** Decoded human dismissal request. */
|
|
1046
1378
|
export type DismissReviewSuggestionRequest = typeof DismissReviewSuggestionRequest.Type;
|
|
@@ -1066,6 +1398,10 @@ export declare const MAXIMUM_REVIEW_SUGGESTION_PUBLICATION_CONTENT_LENGTH = 1010
|
|
|
1066
1398
|
export declare const ReviewSuggestionPublicationContent: Schema.String;
|
|
1067
1399
|
/** Decoded final review-comment content. */
|
|
1068
1400
|
export type ReviewSuggestionPublicationContent = typeof ReviewSuggestionPublicationContent.Type;
|
|
1401
|
+
/** Provider comment mutation selected by an explicit local publication preview. */
|
|
1402
|
+
export declare const ReviewSuggestionPublicationOperation: Schema.Literals<readonly ["create", "update", "reply"]>;
|
|
1403
|
+
/** Decoded provider comment mutation. */
|
|
1404
|
+
export type ReviewSuggestionPublicationOperation = typeof ReviewSuggestionPublicationOperation.Type;
|
|
1069
1405
|
/** Exact completed review suggestion selected for publication. */
|
|
1070
1406
|
export declare const ReviewSuggestionPublicationSelection: Schema.Struct<{
|
|
1071
1407
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
@@ -1086,6 +1422,8 @@ export declare const ReviewSuggestionPublicationAuthorityBinding: Schema.brand<S
|
|
|
1086
1422
|
/** Decoded immutable provider-generation binding. */
|
|
1087
1423
|
export type ReviewSuggestionPublicationAuthorityBinding = typeof ReviewSuggestionPublicationAuthorityBinding.Type;
|
|
1088
1424
|
declare const ReviewSuggestionPublicationPreview_base: Schema.Class<ReviewSuggestionPublicationPreview, Schema.Struct<{
|
|
1425
|
+
readonly operation: Schema.optionalKey<Schema.Literals<readonly ["create", "update", "reply"]>>;
|
|
1426
|
+
readonly commentId: Schema.optionalKey<Schema.String>;
|
|
1089
1427
|
readonly subject: Schema.Struct<{
|
|
1090
1428
|
readonly providerId: Schema.Literal<"codecommit">;
|
|
1091
1429
|
readonly repository: Schema.String;
|
|
@@ -1140,6 +1478,8 @@ export declare class ReviewSuggestionPublicationPreview extends ReviewSuggestion
|
|
|
1140
1478
|
}
|
|
1141
1479
|
/** Explicit operator confirmation containing the final editable snapshot. */
|
|
1142
1480
|
export declare const PublishReviewSuggestionRequest: Schema.Struct<{
|
|
1481
|
+
readonly operation: Schema.optionalKey<Schema.Literals<readonly ["create", "update", "reply"]>>;
|
|
1482
|
+
readonly commentId: Schema.optionalKey<Schema.String>;
|
|
1143
1483
|
readonly finalContent: Schema.String;
|
|
1144
1484
|
readonly authorityBinding: Schema.brand<Schema.String, "ReviewSuggestionPublicationAuthorityBinding">;
|
|
1145
1485
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
@@ -1207,6 +1547,8 @@ declare const PublishedReviewComment_base: Schema.Class<PublishedReviewComment,
|
|
|
1207
1547
|
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
1208
1548
|
readonly revisionId: Schema.brand<Schema.String, "PrReviewSuggestionRevisionId">;
|
|
1209
1549
|
readonly publicationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
|
|
1550
|
+
/** Provider comment targeted by a lifecycle operation, when available. */
|
|
1551
|
+
readonly commentId: Schema.optionalKey<Schema.String>;
|
|
1210
1552
|
}>, {}>;
|
|
1211
1553
|
/** Durable local snapshot of one successfully published CodeCommit comment. */
|
|
1212
1554
|
export declare class PublishedReviewComment extends PublishedReviewComment_base {
|
|
@@ -1280,6 +1622,7 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
|
|
|
1280
1622
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
1281
1623
|
readonly content: Schema.String;
|
|
1282
1624
|
}>>;
|
|
1625
|
+
readonly originPath: Schema.optionalKey<Schema.String>;
|
|
1283
1626
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1284
1627
|
readonly releaseId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ReleaseId">;
|
|
1285
1628
|
readonly provider: Schema.Literals<readonly ["codex", "claude"]>;
|
|
@@ -1475,10 +1818,15 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
|
|
|
1475
1818
|
readonly truncated: Schema.Boolean;
|
|
1476
1819
|
}>;
|
|
1477
1820
|
readonly sourceRevisionCount: Schema.Int;
|
|
1821
|
+
readonly releasePageAwareness: Schema.optionalKey<Schema.Struct<{
|
|
1822
|
+
readonly state: Schema.Literals<readonly ["current", "stale", "not-published", "unknown"]>;
|
|
1823
|
+
readonly lastPublishedAt: Schema.NullOr<Schema.DateTimeUtcFromString>;
|
|
1824
|
+
readonly publicationActionId: Schema.optionalKey<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">>;
|
|
1825
|
+
}>>;
|
|
1478
1826
|
readonly updatedAt: Schema.DateTimeUtcFromString;
|
|
1479
1827
|
}>;
|
|
1480
1828
|
readonly eventCursor: Schema.brand<Schema.Int, "EventCursor">;
|
|
1481
|
-
}>>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof PayloadTooLargeApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth | SessionMutationAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"enqueueJob", "POST", "/api/v1/agent/releases/:releaseId/jobs", Schema.toCodecStringTree<Schema.Struct<{
|
|
1829
|
+
}>>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof ConflictApiError | typeof PayloadTooLargeApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth | SessionMutationAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"enqueueJob", "POST", "/api/v1/agent/releases/:releaseId/jobs", Schema.toCodecStringTree<Schema.Struct<{
|
|
1482
1830
|
readonly releaseId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ReleaseId">;
|
|
1483
1831
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1484
1832
|
readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
|
|
@@ -1567,7 +1915,7 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
|
|
|
1567
1915
|
}>>;
|
|
1568
1916
|
}>>, Schema.toCodecJson<typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"pullRequestReview", "GET", "/api/v1/agent/pull-requests/:entityId/review", Schema.toCodecStringTree<Schema.Struct<{
|
|
1569
1917
|
readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
|
|
1570
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.toTaggedUnion<"_tag", readonly [typeof PullRequestReviewUnavailable, typeof PullRequestReviewNotStarted, typeof PullRequestReviewPending, typeof PullRequestReviewCompleted, typeof PullRequestReviewFailed]>>, Schema.toCodecJson<typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"pullRequestReviewThread", "GET", "/api/v1/agent/pull-requests/:entityId/review-thread/events", Schema.toCodecStringTree<Schema.Struct<{
|
|
1918
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.toTaggedUnion<"_tag", readonly [typeof PullRequestReviewUnavailable, typeof PullRequestReviewNotStarted, typeof PullRequestReviewStale, typeof PullRequestReviewPending, typeof PullRequestReviewCompleted, typeof PullRequestReviewFailed, typeof PullRequestReviewInterrupted]>>, Schema.toCodecJson<typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"pullRequestReviewThread", "GET", "/api/v1/agent/pull-requests/:entityId/review-thread/events", Schema.toCodecStringTree<Schema.Struct<{
|
|
1571
1919
|
readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
|
|
1572
1920
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1573
1921
|
readonly after: Schema.optionalKey<Schema.compose<Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">, Schema.decodeTo<Schema.Int, Schema.String, never, never>>>;
|
|
@@ -1695,6 +2043,7 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
|
|
|
1695
2043
|
}>>;
|
|
1696
2044
|
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
1697
2045
|
readonly state: Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
|
|
2046
|
+
readonly dismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
1698
2047
|
}>>;
|
|
1699
2048
|
readonly notes: Schema.$Array<Schema.Struct<{
|
|
1700
2049
|
readonly reason: Schema.Literals<readonly ["low-confidence", "pre-existing"]>;
|
|
@@ -1711,6 +2060,15 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
|
|
|
1711
2060
|
}>>;
|
|
1712
2061
|
readonly noteId: Schema.brand<Schema.String, "PrReviewNoteId">;
|
|
1713
2062
|
}>>;
|
|
2063
|
+
readonly transitions: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2064
|
+
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
2065
|
+
readonly transition: Schema.Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
|
|
2066
|
+
readonly previousState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
2067
|
+
readonly currentState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
|
|
2068
|
+
readonly previousDismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
|
|
2069
|
+
readonly previousHead: Schema.NullOr<Schema.String>;
|
|
2070
|
+
readonly currentHead: Schema.String;
|
|
2071
|
+
}>>>;
|
|
1714
2072
|
}>;
|
|
1715
2073
|
readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
|
|
1716
2074
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
@@ -1741,6 +2099,10 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
|
|
|
1741
2099
|
readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
|
|
1742
2100
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1743
2101
|
readonly occurredAt: Schema.DateTimeUtcFromString;
|
|
2102
|
+
}>, Schema.TaggedStruct<"run-interrupted", {
|
|
2103
|
+
readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
|
|
2104
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
2105
|
+
readonly occurredAt: Schema.DateTimeUtcFromString;
|
|
1744
2106
|
}>, Schema.TaggedStruct<"cancellation-requested", {
|
|
1745
2107
|
readonly requestedAt: Schema.DateTimeUtcFromString;
|
|
1746
2108
|
readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
|
|
@@ -1758,32 +2120,35 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
|
|
|
1758
2120
|
readonly profile: Schema.Literal<"read-only">;
|
|
1759
2121
|
readonly reviewProfileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
|
|
1760
2122
|
readonly prompt: Schema.optionalKey<Schema.String>;
|
|
1761
|
-
}>>, never, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<PullRequestReviewPending,
|
|
1762
|
-
readonly
|
|
1763
|
-
readonly
|
|
1764
|
-
readonly jobId:
|
|
1765
|
-
readonly
|
|
1766
|
-
|
|
1767
|
-
|
|
2123
|
+
}>>, never, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<PullRequestReviewPending, {
|
|
2124
|
+
readonly providerId: string;
|
|
2125
|
+
readonly _tag: "pending";
|
|
2126
|
+
readonly jobId: string;
|
|
2127
|
+
readonly subject: Schema.Struct.ReadonlySide<{
|
|
2128
|
+
readonly providerId: Schema.Literal<"codecommit">;
|
|
2129
|
+
readonly repository: Schema.String;
|
|
2130
|
+
readonly pullRequestId: Schema.String;
|
|
2131
|
+
readonly baseRevision: Schema.String;
|
|
2132
|
+
readonly headRevision: Schema.String;
|
|
2133
|
+
}, "Encoded">;
|
|
2134
|
+
readonly state: "cancel-requested" | "queued" | "running";
|
|
2135
|
+
readonly model: string;
|
|
2136
|
+
readonly reviewProfile: Schema.Struct.ReadonlySide<{
|
|
1768
2137
|
readonly profileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
|
|
1769
2138
|
readonly label: Schema.String;
|
|
1770
2139
|
readonly budgetMillis: Schema.Int;
|
|
1771
2140
|
readonly networkAccess: Schema.Literals<readonly ["blocked", "provider-enabled"]>;
|
|
1772
2141
|
readonly sandbox: Schema.Literal<"sbx">;
|
|
1773
|
-
}>;
|
|
1774
|
-
readonly
|
|
2142
|
+
}, "Encoded">;
|
|
2143
|
+
readonly requestedAt: string;
|
|
2144
|
+
readonly activity: Schema.Struct.ReadonlySide<{
|
|
1775
2145
|
readonly events: Schema.$Array<Schema.String>;
|
|
1776
2146
|
readonly truncated: Schema.Boolean;
|
|
1777
|
-
}>;
|
|
1778
|
-
readonly
|
|
1779
|
-
readonly
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
readonly pullRequestId: Schema.String;
|
|
1783
|
-
readonly baseRevision: Schema.String;
|
|
1784
|
-
readonly headRevision: Schema.String;
|
|
1785
|
-
}>;
|
|
1786
|
-
}, "Encoded">, readonly [Schema.TaggedStruct<"pending", {
|
|
2147
|
+
}, "Encoded">;
|
|
2148
|
+
readonly startedAt?: string | null;
|
|
2149
|
+
readonly budgetMillis?: number;
|
|
2150
|
+
readonly budgetExtensionCount?: number;
|
|
2151
|
+
}, readonly [Schema.TaggedStruct<"pending", {
|
|
1787
2152
|
readonly state: Schema.Literals<readonly ["queued", "running", "cancel-requested"]>;
|
|
1788
2153
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1789
2154
|
readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
|
|
@@ -1799,6 +2164,9 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
|
|
|
1799
2164
|
readonly events: Schema.$Array<Schema.String>;
|
|
1800
2165
|
readonly truncated: Schema.Boolean;
|
|
1801
2166
|
}>;
|
|
2167
|
+
readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
2168
|
+
readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
2169
|
+
readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
|
|
1802
2170
|
readonly requestedAt: Schema.DateTimeUtcFromString;
|
|
1803
2171
|
readonly subject: Schema.Struct<{
|
|
1804
2172
|
readonly providerId: Schema.Literal<"codecommit">;
|
|
@@ -1807,32 +2175,35 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
|
|
|
1807
2175
|
readonly baseRevision: Schema.String;
|
|
1808
2176
|
readonly headRevision: Schema.String;
|
|
1809
2177
|
}>;
|
|
1810
|
-
}>],
|
|
1811
|
-
readonly
|
|
1812
|
-
readonly
|
|
1813
|
-
readonly jobId:
|
|
1814
|
-
readonly
|
|
1815
|
-
|
|
1816
|
-
|
|
2178
|
+
}>], {
|
|
2179
|
+
readonly providerId: string & import("effect/Brand").Brand<"DurableAgentProviderId">;
|
|
2180
|
+
readonly _tag: "pending";
|
|
2181
|
+
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
2182
|
+
readonly subject: Schema.Struct.ReadonlySide<{
|
|
2183
|
+
readonly providerId: Schema.Literal<"codecommit">;
|
|
2184
|
+
readonly repository: Schema.String;
|
|
2185
|
+
readonly pullRequestId: Schema.String;
|
|
2186
|
+
readonly baseRevision: Schema.String;
|
|
2187
|
+
readonly headRevision: Schema.String;
|
|
2188
|
+
}, "Iso">;
|
|
2189
|
+
readonly state: "cancel-requested" | "queued" | "running";
|
|
2190
|
+
readonly model: string & import("effect/Brand").Brand<"AgentModelId">;
|
|
2191
|
+
readonly reviewProfile: Schema.Struct.ReadonlySide<{
|
|
1817
2192
|
readonly profileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
|
|
1818
2193
|
readonly label: Schema.String;
|
|
1819
2194
|
readonly budgetMillis: Schema.Int;
|
|
1820
2195
|
readonly networkAccess: Schema.Literals<readonly ["blocked", "provider-enabled"]>;
|
|
1821
2196
|
readonly sandbox: Schema.Literal<"sbx">;
|
|
1822
|
-
}>;
|
|
1823
|
-
readonly
|
|
2197
|
+
}, "Iso">;
|
|
2198
|
+
readonly requestedAt: import("effect/DateTime").Utc;
|
|
2199
|
+
readonly activity: Schema.Struct.ReadonlySide<{
|
|
1824
2200
|
readonly events: Schema.$Array<Schema.String>;
|
|
1825
2201
|
readonly truncated: Schema.Boolean;
|
|
1826
|
-
}>;
|
|
1827
|
-
readonly
|
|
1828
|
-
readonly
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
readonly pullRequestId: Schema.String;
|
|
1832
|
-
readonly baseRevision: Schema.String;
|
|
1833
|
-
readonly headRevision: Schema.String;
|
|
1834
|
-
}>;
|
|
1835
|
-
}, "Iso">>, Schema.TaggedStruct<"pending", {
|
|
2202
|
+
}, "Iso">;
|
|
2203
|
+
readonly startedAt?: import("effect/DateTime").Utc | null;
|
|
2204
|
+
readonly budgetMillis?: number;
|
|
2205
|
+
readonly budgetExtensionCount?: number;
|
|
2206
|
+
}>, Schema.TaggedStruct<"pending", {
|
|
1836
2207
|
readonly state: Schema.Literals<readonly ["queued", "running", "cancel-requested"]>;
|
|
1837
2208
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1838
2209
|
readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
|
|
@@ -1848,6 +2219,9 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
|
|
|
1848
2219
|
readonly events: Schema.$Array<Schema.String>;
|
|
1849
2220
|
readonly truncated: Schema.Boolean;
|
|
1850
2221
|
}>;
|
|
2222
|
+
readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
2223
|
+
readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
2224
|
+
readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
|
|
1851
2225
|
readonly requestedAt: Schema.DateTimeUtcFromString;
|
|
1852
2226
|
readonly subject: Schema.Struct<{
|
|
1853
2227
|
readonly providerId: Schema.Literal<"codecommit">;
|
|
@@ -1856,7 +2230,13 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
|
|
|
1856
2230
|
readonly baseRevision: Schema.String;
|
|
1857
2231
|
readonly headRevision: Schema.String;
|
|
1858
2232
|
}>;
|
|
1859
|
-
}>, never, never>>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof PayloadTooLargeApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth | SessionMutationAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2233
|
+
}>, never, never>>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof PayloadTooLargeApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth | SessionMutationAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"cancelPullRequestReview", "POST", "/api/v1/agent/pull-requests/:entityId/reviews/:jobId/cancellation", Schema.toCodecStringTree<Schema.Struct<{
|
|
2234
|
+
readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
|
|
2235
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
2236
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{}>>, never, Schema.toCodecJson<Schema.toTaggedUnion<"_tag", readonly [typeof PullRequestReviewUnavailable, typeof PullRequestReviewNotStarted, typeof PullRequestReviewStale, typeof PullRequestReviewPending, typeof PullRequestReviewCompleted, typeof PullRequestReviewFailed, typeof PullRequestReviewInterrupted]>>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth | SessionMutationAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"extendPullRequestReviewBudget", "POST", "/api/v1/agent/pull-requests/:entityId/reviews/:jobId/budget-extension", Schema.toCodecStringTree<Schema.Struct<{
|
|
2237
|
+
readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
|
|
2238
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
2239
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{}>>, never, Schema.toCodecJson<Schema.toTaggedUnion<"_tag", readonly [typeof PullRequestReviewUnavailable, typeof PullRequestReviewNotStarted, typeof PullRequestReviewStale, typeof PullRequestReviewPending, typeof PullRequestReviewCompleted, typeof PullRequestReviewFailed, typeof PullRequestReviewInterrupted]>>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth | SessionMutationAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reviewSuggestionRevisions", "GET", "/api/v1/agent/pull-requests/:entityId/reviews/:jobId/suggestions/:suggestionId/revisions", Schema.toCodecStringTree<Schema.Struct<{
|
|
1860
2240
|
readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
|
|
1861
2241
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1862
2242
|
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
@@ -1932,28 +2312,167 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
|
|
|
1932
2312
|
readonly _tag: Schema.Literal<"changes">;
|
|
1933
2313
|
}>]>;
|
|
1934
2314
|
}>;
|
|
1935
|
-
}>>, never, Schema.toCodecJson<typeof PrReviewSuggestionRevision>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof ConflictApiError | typeof PayloadTooLargeApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth | SessionMutationAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2315
|
+
}>>, never, Schema.toCodecJson<typeof PrReviewSuggestionRevision>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof ConflictApiError | typeof PayloadTooLargeApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth | SessionMutationAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"targetReviewSuggestion", "POST", "/api/v1/agent/pull-requests/:entityId/reviews/:jobId/suggestions/:suggestionId/agent", Schema.toCodecStringTree<Schema.Struct<{
|
|
2316
|
+
readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
|
|
2317
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
2318
|
+
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
2319
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2320
|
+
readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
|
|
2321
|
+
readonly model: Schema.brand<Schema.String, "AgentModelId">;
|
|
2322
|
+
readonly profile: Schema.Literal<"read-only">;
|
|
2323
|
+
readonly reviewProfileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
|
|
2324
|
+
readonly intent: Schema.Literals<readonly ["suggestion-edit", "suggestion-revalidation"]>;
|
|
2325
|
+
readonly expectedRevisionId: Schema.brand<Schema.String, "PrReviewSuggestionRevisionId">;
|
|
2326
|
+
readonly expectedSequence: Schema.brand<Schema.Int, "PrReviewSuggestionRevisionSequence">;
|
|
2327
|
+
readonly prompt: Schema.optionalKey<Schema.String>;
|
|
2328
|
+
}>>, never, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<PullRequestReviewPending, {
|
|
2329
|
+
readonly providerId: string;
|
|
2330
|
+
readonly _tag: "pending";
|
|
2331
|
+
readonly jobId: string;
|
|
2332
|
+
readonly subject: Schema.Struct.ReadonlySide<{
|
|
2333
|
+
readonly providerId: Schema.Literal<"codecommit">;
|
|
2334
|
+
readonly repository: Schema.String;
|
|
2335
|
+
readonly pullRequestId: Schema.String;
|
|
2336
|
+
readonly baseRevision: Schema.String;
|
|
2337
|
+
readonly headRevision: Schema.String;
|
|
2338
|
+
}, "Encoded">;
|
|
2339
|
+
readonly state: "cancel-requested" | "queued" | "running";
|
|
2340
|
+
readonly model: string;
|
|
2341
|
+
readonly reviewProfile: Schema.Struct.ReadonlySide<{
|
|
2342
|
+
readonly profileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
|
|
2343
|
+
readonly label: Schema.String;
|
|
2344
|
+
readonly budgetMillis: Schema.Int;
|
|
2345
|
+
readonly networkAccess: Schema.Literals<readonly ["blocked", "provider-enabled"]>;
|
|
2346
|
+
readonly sandbox: Schema.Literal<"sbx">;
|
|
2347
|
+
}, "Encoded">;
|
|
2348
|
+
readonly requestedAt: string;
|
|
2349
|
+
readonly activity: Schema.Struct.ReadonlySide<{
|
|
2350
|
+
readonly events: Schema.$Array<Schema.String>;
|
|
2351
|
+
readonly truncated: Schema.Boolean;
|
|
2352
|
+
}, "Encoded">;
|
|
2353
|
+
readonly startedAt?: string | null;
|
|
2354
|
+
readonly budgetMillis?: number;
|
|
2355
|
+
readonly budgetExtensionCount?: number;
|
|
2356
|
+
}, readonly [Schema.TaggedStruct<"pending", {
|
|
2357
|
+
readonly state: Schema.Literals<readonly ["queued", "running", "cancel-requested"]>;
|
|
2358
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
2359
|
+
readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
|
|
2360
|
+
readonly model: Schema.brand<Schema.String, "AgentModelId">;
|
|
2361
|
+
readonly reviewProfile: Schema.Struct<{
|
|
2362
|
+
readonly profileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
|
|
2363
|
+
readonly label: Schema.String;
|
|
2364
|
+
readonly budgetMillis: Schema.Int;
|
|
2365
|
+
readonly networkAccess: Schema.Literals<readonly ["blocked", "provider-enabled"]>;
|
|
2366
|
+
readonly sandbox: Schema.Literal<"sbx">;
|
|
2367
|
+
}>;
|
|
2368
|
+
readonly activity: Schema.Struct<{
|
|
2369
|
+
readonly events: Schema.$Array<Schema.String>;
|
|
2370
|
+
readonly truncated: Schema.Boolean;
|
|
2371
|
+
}>;
|
|
2372
|
+
readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
2373
|
+
readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
2374
|
+
readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
|
|
2375
|
+
readonly requestedAt: Schema.DateTimeUtcFromString;
|
|
2376
|
+
readonly subject: Schema.Struct<{
|
|
2377
|
+
readonly providerId: Schema.Literal<"codecommit">;
|
|
2378
|
+
readonly repository: Schema.String;
|
|
2379
|
+
readonly pullRequestId: Schema.String;
|
|
2380
|
+
readonly baseRevision: Schema.String;
|
|
2381
|
+
readonly headRevision: Schema.String;
|
|
2382
|
+
}>;
|
|
2383
|
+
}>], {
|
|
2384
|
+
readonly providerId: string & import("effect/Brand").Brand<"DurableAgentProviderId">;
|
|
2385
|
+
readonly _tag: "pending";
|
|
2386
|
+
readonly jobId: string & import("effect/Brand").Brand<"JobId">;
|
|
2387
|
+
readonly subject: Schema.Struct.ReadonlySide<{
|
|
2388
|
+
readonly providerId: Schema.Literal<"codecommit">;
|
|
2389
|
+
readonly repository: Schema.String;
|
|
2390
|
+
readonly pullRequestId: Schema.String;
|
|
2391
|
+
readonly baseRevision: Schema.String;
|
|
2392
|
+
readonly headRevision: Schema.String;
|
|
2393
|
+
}, "Iso">;
|
|
2394
|
+
readonly state: "cancel-requested" | "queued" | "running";
|
|
2395
|
+
readonly model: string & import("effect/Brand").Brand<"AgentModelId">;
|
|
2396
|
+
readonly reviewProfile: Schema.Struct.ReadonlySide<{
|
|
2397
|
+
readonly profileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
|
|
2398
|
+
readonly label: Schema.String;
|
|
2399
|
+
readonly budgetMillis: Schema.Int;
|
|
2400
|
+
readonly networkAccess: Schema.Literals<readonly ["blocked", "provider-enabled"]>;
|
|
2401
|
+
readonly sandbox: Schema.Literal<"sbx">;
|
|
2402
|
+
}, "Iso">;
|
|
2403
|
+
readonly requestedAt: import("effect/DateTime").Utc;
|
|
2404
|
+
readonly activity: Schema.Struct.ReadonlySide<{
|
|
2405
|
+
readonly events: Schema.$Array<Schema.String>;
|
|
2406
|
+
readonly truncated: Schema.Boolean;
|
|
2407
|
+
}, "Iso">;
|
|
2408
|
+
readonly startedAt?: import("effect/DateTime").Utc | null;
|
|
2409
|
+
readonly budgetMillis?: number;
|
|
2410
|
+
readonly budgetExtensionCount?: number;
|
|
2411
|
+
}>, Schema.TaggedStruct<"pending", {
|
|
2412
|
+
readonly state: Schema.Literals<readonly ["queued", "running", "cancel-requested"]>;
|
|
2413
|
+
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
2414
|
+
readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
|
|
2415
|
+
readonly model: Schema.brand<Schema.String, "AgentModelId">;
|
|
2416
|
+
readonly reviewProfile: Schema.Struct<{
|
|
2417
|
+
readonly profileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
|
|
2418
|
+
readonly label: Schema.String;
|
|
2419
|
+
readonly budgetMillis: Schema.Int;
|
|
2420
|
+
readonly networkAccess: Schema.Literals<readonly ["blocked", "provider-enabled"]>;
|
|
2421
|
+
readonly sandbox: Schema.Literal<"sbx">;
|
|
2422
|
+
}>;
|
|
2423
|
+
readonly activity: Schema.Struct<{
|
|
2424
|
+
readonly events: Schema.$Array<Schema.String>;
|
|
2425
|
+
readonly truncated: Schema.Boolean;
|
|
2426
|
+
}>;
|
|
2427
|
+
readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
2428
|
+
readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
|
|
2429
|
+
readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
|
|
2430
|
+
readonly requestedAt: Schema.DateTimeUtcFromString;
|
|
2431
|
+
readonly subject: Schema.Struct<{
|
|
2432
|
+
readonly providerId: Schema.Literal<"codecommit">;
|
|
2433
|
+
readonly repository: Schema.String;
|
|
2434
|
+
readonly pullRequestId: Schema.String;
|
|
2435
|
+
readonly baseRevision: Schema.String;
|
|
2436
|
+
readonly headRevision: Schema.String;
|
|
2437
|
+
}>;
|
|
2438
|
+
}>, never, never>>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof ConflictApiError | typeof PayloadTooLargeApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth | SessionMutationAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"dismissReviewSuggestion", "POST", "/api/v1/agent/pull-requests/:entityId/reviews/:jobId/suggestions/:suggestionId/dismissal", Schema.toCodecStringTree<Schema.Struct<{
|
|
1936
2439
|
readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
|
|
1937
2440
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1938
2441
|
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
1939
2442
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1940
2443
|
readonly expectedRevisionId: Schema.brand<Schema.String, "PrReviewSuggestionRevisionId">;
|
|
1941
2444
|
readonly expectedSequence: Schema.brand<Schema.Int, "PrReviewSuggestionRevisionSequence">;
|
|
2445
|
+
readonly reason: Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>;
|
|
1942
2446
|
}>>, never, Schema.toCodecJson<typeof PrReviewSuggestionRevision>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof ConflictApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth | SessionMutationAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"previewReviewSuggestionPublication", "GET", "/api/v1/agent/pull-requests/:entityId/reviews/:jobId/suggestions/:suggestionId/publication-preview", Schema.toCodecStringTree<Schema.Struct<{
|
|
1943
2447
|
readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
|
|
1944
2448
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1945
2449
|
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
1946
2450
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1947
2451
|
readonly revisionId: Schema.brand<Schema.String, "PrReviewSuggestionRevisionId">;
|
|
2452
|
+
readonly operation: Schema.optionalKey<Schema.Literals<readonly ["create", "update", "reply"]>>;
|
|
2453
|
+
readonly commentId: Schema.optionalKey<Schema.String>;
|
|
1948
2454
|
}>>, never, never, Schema.toCodecJson<typeof ReviewSuggestionPublicationPreview>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"publishReviewSuggestion", "POST", "/api/v1/agent/pull-requests/:entityId/review-comments", Schema.toCodecStringTree<Schema.Struct<{
|
|
1949
2455
|
readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
|
|
1950
2456
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2457
|
+
readonly operation: Schema.optionalKey<Schema.Literals<readonly ["create", "update", "reply"]>>;
|
|
2458
|
+
readonly commentId: Schema.optionalKey<Schema.String>;
|
|
1951
2459
|
readonly finalContent: Schema.String;
|
|
1952
2460
|
readonly authorityBinding: Schema.brand<Schema.String, "ReviewSuggestionPublicationAuthorityBinding">;
|
|
1953
2461
|
readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
|
|
1954
2462
|
readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
|
|
1955
2463
|
readonly revisionId: Schema.brand<Schema.String, "PrReviewSuggestionRevisionId">;
|
|
1956
|
-
}>>, never, Schema.toCodecJson<typeof PublishedReviewComment>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof PayloadTooLargeApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth | SessionMutationAuth, never
|
|
2464
|
+
}>>, never, Schema.toCodecJson<typeof PublishedReviewComment>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof NotFoundApiError | typeof PayloadTooLargeApiError | typeof RequestTimedOutApiError | typeof RateLimitedApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth | SessionMutationAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"submitReleasePublication", "POST", "/api/v1/agent/releases/:releaseId/publications", Schema.toCodecStringTree<Schema.Struct<{
|
|
2465
|
+
releaseId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ReleaseId">;
|
|
2466
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2467
|
+
readonly provider: Schema.Literals<readonly ["jira", "confluence"]>;
|
|
2468
|
+
readonly title: Schema.String;
|
|
2469
|
+
readonly markdown: Schema.String;
|
|
2470
|
+
readonly parentId: Schema.NullOr<Schema.String>;
|
|
2471
|
+
readonly publicationActionId: Schema.optionalKey<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">>;
|
|
2472
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2473
|
+
readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
|
|
2474
|
+
readonly state: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
2475
|
+
}>>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof ConflictApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth | SessionMutationAuth, never>, false>;
|
|
1957
2476
|
/** Authenticated release-aware synchronous and durable agent contract. */
|
|
1958
2477
|
export declare class AgentApiGroup extends AgentApiGroup_base {
|
|
1959
2478
|
}
|