@knpkv/control-center 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (346) hide show
  1. package/README.md +70 -17
  2. package/dist/client/.vite/manifest.json +223 -178
  3. package/dist/client/assets/{ActiveWorkPage-DJQgGZeV.js → ActiveWorkPage-g2-Jyavo.js} +2 -2
  4. package/dist/client/assets/{ActiveWorkPage-DJQgGZeV.js.map → ActiveWorkPage-g2-Jyavo.js.map} +1 -1
  5. package/dist/client/assets/AgentPage-B6GQdZAs.css +1 -0
  6. package/dist/client/assets/AgentPage-DmVsEe13.js +6 -0
  7. package/dist/client/assets/AgentPage-DmVsEe13.js.map +1 -0
  8. package/dist/client/assets/AtlassianOAuthCallbackPage-C8u9ItMj.js +2 -0
  9. package/dist/client/assets/{AtlassianOAuthCallbackPage-D1F1xE_2.js.map → AtlassianOAuthCallbackPage-C8u9ItMj.js.map} +1 -1
  10. package/dist/client/assets/AuthorizedSharePage-CVBJ1NTm.js +2 -0
  11. package/dist/client/assets/AuthorizedSharePage-CVBJ1NTm.js.map +1 -0
  12. package/dist/client/assets/BrowserCrypto-3BoTVFdl.js +2 -0
  13. package/dist/client/assets/{BrowserCrypto-DVWR7DFd.js.map → BrowserCrypto-3BoTVFdl.js.map} +1 -1
  14. package/dist/client/assets/BrowserSessionHydrator-CpZnNm4X.js +2 -0
  15. package/dist/client/assets/BrowserSessionHydrator-CpZnNm4X.js.map +1 -0
  16. package/dist/client/assets/CommandSearch-DUeRRbV2.js +2 -0
  17. package/dist/client/assets/{CommandSearch-CP_QCbkm.js.map → CommandSearch-DUeRRbV2.js.map} +1 -1
  18. package/dist/client/assets/ItemsPage-BF2ZkSzh.js +2 -0
  19. package/dist/client/assets/{ItemsPage-BGFUkRL2.js.map → ItemsPage-BF2ZkSzh.js.map} +1 -1
  20. package/dist/client/assets/{PairPage-DIgzx0K2.js → PairPage-CkaZltHd.js} +2 -2
  21. package/dist/client/assets/{PairPage-DIgzx0K2.js.map → PairPage-CkaZltHd.js.map} +1 -1
  22. package/dist/client/assets/PortfolioOverview-CEUHJmGC.js +2 -0
  23. package/dist/client/assets/PortfolioOverview-CEUHJmGC.js.map +1 -0
  24. package/dist/client/assets/PullRequestReviewPanel-D1IpvHe2.js +6 -0
  25. package/dist/client/assets/PullRequestReviewPanel-D1IpvHe2.js.map +1 -0
  26. package/dist/client/assets/ReleaseRoute-BuQybrsg.js +2 -0
  27. package/dist/client/assets/{ReleaseRoute-DXJ8Jg60.js.map → ReleaseRoute-BuQybrsg.js.map} +1 -1
  28. package/dist/client/assets/ReleaseWorkset-BclY0Nvj.js +2 -0
  29. package/dist/client/assets/ReleaseWorkset-BclY0Nvj.js.map +1 -0
  30. package/dist/client/assets/ServicesPage-hw5Ee69-.js +2 -0
  31. package/dist/client/assets/ServicesPage-hw5Ee69-.js.map +1 -0
  32. package/dist/client/assets/TimelinePage-Cj3V98uI.js +2 -0
  33. package/dist/client/assets/TimelinePage-Cj3V98uI.js.map +1 -0
  34. package/dist/client/assets/WorkspaceEntityLink-C_rc8lxi.js +2 -0
  35. package/dist/client/assets/{WorkspaceEntityLink-AdZ_T-Wk.js.map → WorkspaceEntityLink-C_rc8lxi.js.map} +1 -1
  36. package/dist/client/assets/WorkspaceEntityRoute-DLLT6fY0.css +1 -0
  37. package/dist/client/assets/WorkspaceEntityRoute-kbnrQ_lY.js +14 -0
  38. package/dist/client/assets/WorkspaceEntityRoute-kbnrQ_lY.js.map +1 -0
  39. package/dist/client/assets/WorkspaceHomeLink-DeYYLEsH.js +2 -0
  40. package/dist/client/assets/{WorkspaceHomeLink-XbKSPths.js.map → WorkspaceHomeLink-DeYYLEsH.js.map} +1 -1
  41. package/dist/client/assets/{WorkspacePullRequestDetails-BErJ5bk8.js → WorkspacePullRequestDetails-CizqydjN.js} +3 -3
  42. package/dist/client/assets/WorkspacePullRequestDetails-CizqydjN.js.map +1 -0
  43. package/dist/client/assets/{WorkspaceReleaseLayout-cfboC5Qh.js → WorkspaceReleaseLayout-CXAQUhkh.js} +2 -2
  44. package/dist/client/assets/{WorkspaceReleaseLayout-cfboC5Qh.js.map → WorkspaceReleaseLayout-CXAQUhkh.js.map} +1 -1
  45. package/dist/client/assets/{WorkspaceRichText-D1M637Ff.js → WorkspaceRichText-CCOciILO.js} +2 -2
  46. package/dist/client/assets/WorkspaceRichText-CCOciILO.js.map +1 -0
  47. package/dist/client/assets/WorkspaceSettingsPage-GoBfQzBx.css +1 -0
  48. package/dist/client/assets/WorkspaceSettingsPage-JG-pN_CA.js +2 -0
  49. package/dist/client/assets/WorkspaceSettingsPage-JG-pN_CA.js.map +1 -0
  50. package/dist/client/assets/agent-api-Dl9TuGOJ.js +19 -0
  51. package/dist/client/assets/agent-api-Dl9TuGOJ.js.map +1 -0
  52. package/dist/client/assets/atlassianOAuthSetupIntentStorage-DE4ySCTb.js +2 -0
  53. package/dist/client/assets/atlassianOAuthSetupIntentStorage-DE4ySCTb.js.map +1 -0
  54. package/dist/client/assets/authenticatedMutationClient-DdowMjyo.js +2 -0
  55. package/dist/client/assets/{authenticatedMutationClient-Ccwguc3i.js.map → authenticatedMutationClient-DdowMjyo.js.map} +1 -1
  56. package/dist/client/assets/authorizedShareTransport-CnclcYai.js +2 -0
  57. package/dist/client/assets/{authorizedShareTransport-DZHgFEkh.js.map → authorizedShareTransport-CnclcYai.js.map} +1 -1
  58. package/dist/client/assets/client-Dq_XQE_l.js +5 -0
  59. package/dist/client/assets/client-Dq_XQE_l.js.map +1 -0
  60. package/dist/client/assets/confluenceTasks-DtKq8_eU.js +5 -0
  61. package/dist/client/assets/confluenceTasks-DtKq8_eU.js.map +1 -0
  62. package/dist/client/assets/connectionTestTransport-CPK98z7H.js +2 -0
  63. package/dist/client/assets/connectionTestTransport-CPK98z7H.js.map +1 -0
  64. package/dist/client/assets/index-zVjlBm9l.js +11 -0
  65. package/dist/client/assets/index-zVjlBm9l.js.map +1 -0
  66. package/dist/client/assets/{patterns-5N-j-AD2-BwypFm-e.js → patterns-5N-j-AD2-DLfaGePK.js} +2 -2
  67. package/dist/client/assets/{patterns-5N-j-AD2-BwypFm-e.js.map → patterns-5N-j-AD2-DLfaGePK.js.map} +1 -1
  68. package/dist/client/assets/{presentPortfolio-D3ZIcnqt.js → presentPortfolio-DLEq-vEz.js} +2 -2
  69. package/dist/client/assets/presentPortfolio-DLEq-vEz.js.map +1 -0
  70. package/dist/client/assets/{presentWorkspaceItems-Bmh4oEbH.js → presentWorkspaceItems-BOY3FbhO.js} +2 -2
  71. package/dist/client/assets/{presentWorkspaceItems-Bmh4oEbH.js.map → presentWorkspaceItems-BOY3FbhO.js.map} +1 -1
  72. package/dist/client/assets/{pullRequestReviewFailures-S74M-fOk.js → pullRequestReviewFailures-CyjTVnSX.js} +2 -2
  73. package/dist/client/assets/{pullRequestReviewFailures-S74M-fOk.js.map → pullRequestReviewFailures-CyjTVnSX.js.map} +1 -1
  74. package/dist/client/assets/pullRequestReviewThreadReplay-CXHspFTr.js +2 -0
  75. package/dist/client/assets/pullRequestReviewThreadReplay-CXHspFTr.js.map +1 -0
  76. package/dist/client/assets/releaseAgentTransport-DaO4svPu.js +2 -0
  77. package/dist/client/assets/releaseAgentTransport-DaO4svPu.js.map +1 -0
  78. package/dist/client/assets/releaseRoutes-B4ciNOJj.js +2 -0
  79. package/dist/client/assets/{releaseRoutes-BCuIdZyA.js.map → releaseRoutes-B4ciNOJj.js.map} +1 -1
  80. package/dist/client/assets/serviceOnboarding-D0FmodRi.js +2 -0
  81. package/dist/client/assets/{serviceOnboarding-Jg_0yNjf.js.map → serviceOnboarding-D0FmodRi.js.map} +1 -1
  82. package/dist/client/assets/{useWorkspaceDefaultLanding-CzlDdEF-.js → useWorkspaceDefaultLanding-BaQdg0sY.js} +3 -3
  83. package/dist/client/assets/{useWorkspaceDefaultLanding-CzlDdEF-.js.map → useWorkspaceDefaultLanding-BaQdg0sY.js.map} +1 -1
  84. package/dist/client/assets/{useWorkspaceItems-Cd3MPke2.js → useWorkspaceItems-B-7JHtm0.js} +2 -2
  85. package/dist/client/assets/{useWorkspaceItems-Cd3MPke2.js.map → useWorkspaceItems-B-7JHtm0.js.map} +1 -1
  86. package/dist/client/assets/workspaceEntityRoutes-DqqDa0AB.js +2 -0
  87. package/dist/client/assets/workspaceEntityRoutes-DqqDa0AB.js.map +1 -0
  88. package/dist/client/assets/workspaceScrollCapture-BYNfR2wo.js +2 -0
  89. package/dist/client/assets/workspaceScrollCapture-BYNfR2wo.js.map +1 -0
  90. package/dist/client/assets/workspaceSettingsTransport-Br4lBmvS.js +2 -0
  91. package/dist/client/assets/{workspaceSettingsTransport-CZWYL5T7.js.map → workspaceSettingsTransport-Br4lBmvS.js.map} +1 -1
  92. package/dist/client/build-graph.json +115 -0
  93. package/dist/client/index.html +1 -1
  94. package/dist/server/api/agent.d.ts +575 -44
  95. package/dist/server/api/agent.d.ts.map +1 -1
  96. package/dist/server/api/deliveryGraph.d.ts +474 -454
  97. package/dist/server/api/deliveryGraph.d.ts.map +1 -1
  98. package/dist/server/api/index.d.ts +2 -2
  99. package/dist/server/api/index.d.ts.map +1 -1
  100. package/dist/server/api/index.js +4 -4
  101. package/dist/server/api/liveEvents.d.ts +20 -0
  102. package/dist/server/api/liveEvents.d.ts.map +1 -1
  103. package/dist/server/api/portfolio.d.ts +23 -0
  104. package/dist/server/api/portfolio.d.ts.map +1 -1
  105. package/dist/server/api/session.d.ts +23 -1
  106. package/dist/server/api/session.d.ts.map +1 -1
  107. package/dist/server/api/shares.d.ts +4 -2
  108. package/dist/server/api/shares.d.ts.map +1 -1
  109. package/dist/server/assets/{BindConfig-DIsf2Rnh.js → BindConfig-DAASchDn.js} +2405 -322
  110. package/dist/server/assets/BindConfig-DAASchDn.js.map +1 -0
  111. package/dist/server/assets/{CodePipelineStateDecoder-CVf1A2zG.js → CodePipelineStateDecoder-CNiFRgSi.js} +2 -2
  112. package/dist/server/assets/{CodePipelineStateDecoder-CVf1A2zG.js.map → CodePipelineStateDecoder-CNiFRgSi.js.map} +1 -1
  113. package/dist/server/assets/{agent-CyZ40zs1.js → agent-xQhAQXly.js} +181 -11
  114. package/dist/server/assets/agent-xQhAQXly.js.map +1 -0
  115. package/dist/server/assets/{controlCenterApi-ZUX3Y-LE.js → controlCenterApi-DNXK7MT1.js} +6 -5
  116. package/dist/server/assets/controlCenterApi-DNXK7MT1.js.map +1 -0
  117. package/dist/server/assets/{descriptor-CKtTnhef.js → descriptor-CCvNzSZL.js} +10 -10
  118. package/dist/server/assets/{descriptor-CKtTnhef.js.map → descriptor-CCvNzSZL.js.map} +1 -1
  119. package/dist/server/assets/{failures-mgYDkUZy.js → failures-CesHLYbN.js} +2 -2
  120. package/dist/server/assets/{failures-mgYDkUZy.js.map → failures-CesHLYbN.js.map} +1 -1
  121. package/dist/server/assets/{firstPartyServices-D7b8BOek.js → firstPartyServices-Cdzjcs2H.js} +2 -2
  122. package/dist/server/assets/{firstPartyServices-D7b8BOek.js.map → firstPartyServices-Cdzjcs2H.js.map} +1 -1
  123. package/dist/server/assets/{manualPluginSynchronization-DFlhKvav.js → manualPluginSynchronization-DFIeUHP9.js} +6 -5
  124. package/dist/server/assets/manualPluginSynchronization-DFIeUHP9.js.map +1 -0
  125. package/dist/server/assets/{plugins-D__oMDpI.js → plugins-DiPrfzV8.js} +2 -2
  126. package/dist/server/assets/{plugins-D__oMDpI.js.map → plugins-DiPrfzV8.js.map} +1 -1
  127. package/dist/server/assets/{readiness-BhA-Nr9c.js → readiness-31Mqc-9H.js} +3 -3
  128. package/dist/server/assets/{readiness-BhA-Nr9c.js.map → readiness-31Mqc-9H.js.map} +1 -1
  129. package/dist/server/assets/{relationshipInferenceMaterialization-DYBcaWhQ.js → relationshipInferenceMaterialization-Dyix96px.js} +1158 -169
  130. package/dist/server/assets/relationshipInferenceMaterialization-Dyix96px.js.map +1 -0
  131. package/dist/server/assets/{workspaceSettings-BE713Oe8.js → workspaceSettings-sv8h_h2P.js} +2787 -2700
  132. package/dist/server/assets/workspaceSettings-sv8h_h2P.js.map +1 -0
  133. package/dist/server/build-graph.json +144 -4
  134. package/dist/server/domain/actors.d.ts +12 -12
  135. package/dist/server/domain/confluenceTasks.d.ts +27 -0
  136. package/dist/server/domain/confluenceTasks.d.ts.map +1 -0
  137. package/dist/server/domain/deliveryGraph.d.ts +51 -49
  138. package/dist/server/domain/deliveryGraph.d.ts.map +1 -1
  139. package/dist/server/domain/governedAction/bindings.d.ts +26 -12
  140. package/dist/server/domain/governedAction/bindings.d.ts.map +1 -1
  141. package/dist/server/domain/governedAction/lifecycle.d.ts +8 -8
  142. package/dist/server/domain/governedAction/model.d.ts +45 -18
  143. package/dist/server/domain/governedAction/model.d.ts.map +1 -1
  144. package/dist/server/domain/governedAction/stateMachine.d.ts +34 -34
  145. package/dist/server/domain/index.js +6 -6
  146. package/dist/server/domain/normalizedIssue.d.ts +1 -1
  147. package/dist/server/domain/normalizedPage.d.ts +1 -0
  148. package/dist/server/domain/normalizedPage.d.ts.map +1 -1
  149. package/dist/server/domain/prReview.d.ts +38 -0
  150. package/dist/server/domain/prReview.d.ts.map +1 -1
  151. package/dist/server/domain/prReviewReconciliation.d.ts +56 -0
  152. package/dist/server/domain/prReviewReconciliation.d.ts.map +1 -0
  153. package/dist/server/domain/prReviewRevision.d.ts +1 -0
  154. package/dist/server/domain/prReviewRevision.d.ts.map +1 -1
  155. package/dist/server/domain/readiness/model.d.ts +3 -3
  156. package/dist/server/domain/release.d.ts +3 -3
  157. package/dist/server/domain/releasePipelineApproval.d.ts +31 -0
  158. package/dist/server/domain/releasePipelineApproval.d.ts.map +1 -0
  159. package/dist/server/domain/releasePublication.d.ts +4 -0
  160. package/dist/server/domain/releasePublication.d.ts.map +1 -0
  161. package/dist/server/index.js +8 -8
  162. package/dist/server/server/agent/AgentJobWorker.d.ts +10 -1
  163. package/dist/server/server/agent/AgentJobWorker.d.ts.map +1 -1
  164. package/dist/server/server/agent/ReleaseAgentPrompt.d.ts.map +1 -1
  165. package/dist/server/server/agent/internal/AgentJobTaskExecutor.d.ts +4 -3
  166. package/dist/server/server/agent/internal/AgentJobTaskExecutor.d.ts.map +1 -1
  167. package/dist/server/server/agent/internal/PrReviewSandboxSession.d.ts +17 -1
  168. package/dist/server/server/agent/internal/PrReviewSandboxSession.d.ts.map +1 -1
  169. package/dist/server/server/agent/internal/PrReviewTaskExecutor.d.ts +76 -2
  170. package/dist/server/server/agent/internal/PrReviewTaskExecutor.d.ts.map +1 -1
  171. package/dist/server/server/agent/internal/PrReviewTelemetry.d.ts +27 -0
  172. package/dist/server/server/agent/internal/PrReviewTelemetry.d.ts.map +1 -0
  173. package/dist/server/server/api/ApplicationServices.d.ts +39 -5
  174. package/dist/server/server/api/ApplicationServices.d.ts.map +1 -1
  175. package/dist/server/server/api/Handlers.d.ts +1 -1
  176. package/dist/server/server/api/Handlers.d.ts.map +1 -1
  177. package/dist/server/server/api/RequestBoundary.d.ts.map +1 -1
  178. package/dist/server/server/application/GovernedReviewSuggestionPublicationGateway.d.ts.map +1 -1
  179. package/dist/server/server/application/ReviewSuggestionPublicationGateway.d.ts +4 -0
  180. package/dist/server/server/application/ReviewSuggestionPublicationGateway.d.ts.map +1 -1
  181. package/dist/server/server/application/deliveryGraphInspection.d.ts.map +1 -1
  182. package/dist/server/server/application/index.d.ts +1 -0
  183. package/dist/server/server/application/index.d.ts.map +1 -1
  184. package/dist/server/server/application/liveEvents.d.ts.map +1 -1
  185. package/dist/server/server/application/normalizedPluginPageMaterialization.d.ts.map +1 -1
  186. package/dist/server/server/application/pipelineExecutionProjection.d.ts +7 -6
  187. package/dist/server/server/application/pipelineExecutionProjection.d.ts.map +1 -1
  188. package/dist/server/server/application/portfolioSnapshots.d.ts +2018 -4
  189. package/dist/server/server/application/portfolioSnapshots.d.ts.map +1 -1
  190. package/dist/server/server/application/pullRequestReviews.d.ts.map +1 -1
  191. package/dist/server/server/application/releaseAgent.d.ts +11 -3
  192. package/dist/server/server/application/releaseAgent.d.ts.map +1 -1
  193. package/dist/server/server/application/releasePublicationIntent.d.ts +7 -0
  194. package/dist/server/server/application/releasePublicationIntent.d.ts.map +1 -0
  195. package/dist/server/server/application/releasePublicationMetadata.d.ts +61 -0
  196. package/dist/server/server/application/releasePublicationMetadata.d.ts.map +1 -0
  197. package/dist/server/server/application/releasePublicationSubmissions.d.ts +3730 -0
  198. package/dist/server/server/application/releasePublicationSubmissions.d.ts.map +1 -0
  199. package/dist/server/server/application/releaseRunbookHydration.d.ts +2310 -0
  200. package/dist/server/server/application/releaseRunbookHydration.d.ts.map +1 -0
  201. package/dist/server/server/application/releaseSynchronization.d.ts.map +1 -1
  202. package/dist/server/server/cli.js +8 -8
  203. package/dist/server/server/cli.js.map +1 -1
  204. package/dist/server/server/governance/governedActionDigests.d.ts +236 -218
  205. package/dist/server/server/governance/governedActionDigests.d.ts.map +1 -1
  206. package/dist/server/server/governance/internal/GovernedActionExecutionEngine.d.ts +3 -4
  207. package/dist/server/server/governance/internal/GovernedActionExecutionEngine.d.ts.map +1 -1
  208. package/dist/server/server/governance/internal/execution-store/begin.d.ts.map +1 -1
  209. package/dist/server/server/governance/internal/execution-store/dispatch-inbox.d.ts +1 -1
  210. package/dist/server/server/governance/internal/execution-store/dispatch-outcome.d.ts +8 -8
  211. package/dist/server/server/governance/internal/execution-store/provider-outcome-fold.d.ts +2 -2
  212. package/dist/server/server/governance/internal/execution-store/reconciliation-inbox.d.ts +1 -1
  213. package/dist/server/server/governance/internal/execution-store/recovery-claim.d.ts +37 -30
  214. package/dist/server/server/governance/internal/execution-store/recovery-claim.d.ts.map +1 -1
  215. package/dist/server/server/index.js +5 -5
  216. package/dist/server/server/internal/codepipeline-state-probe.js +1 -1
  217. package/dist/server/server/persistence/Database.d.ts +1 -1
  218. package/dist/server/server/persistence/Database.d.ts.map +1 -1
  219. package/dist/server/server/persistence/Persistence.d.ts +1549 -577
  220. package/dist/server/server/persistence/Persistence.d.ts.map +1 -1
  221. package/dist/server/server/persistence/backup/BackupArchive.d.ts.map +1 -1
  222. package/dist/server/server/persistence/object-store/BlobPublisher.d.ts.map +1 -1
  223. package/dist/server/server/persistence/object-store/PinnedDirectory.d.ts +2 -2
  224. package/dist/server/server/persistence/object-store/PinnedDirectory.d.ts.map +1 -1
  225. package/dist/server/server/persistence/repositories/agentJobModels.d.ts +345 -8
  226. package/dist/server/server/persistence/repositories/agentJobModels.d.ts.map +1 -1
  227. package/dist/server/server/persistence/repositories/agentJobRepository.d.ts +654 -192
  228. package/dist/server/server/persistence/repositories/agentJobRepository.d.ts.map +1 -1
  229. package/dist/server/server/persistence/repositories/delivery-graph/contract.d.ts +148 -138
  230. package/dist/server/server/persistence/repositories/delivery-graph/contract.d.ts.map +1 -1
  231. package/dist/server/server/persistence/repositories/delivery-graph/decode.d.ts +27 -25
  232. package/dist/server/server/persistence/repositories/delivery-graph/decode.d.ts.map +1 -1
  233. package/dist/server/server/persistence/repositories/delivery-graph/read.d.ts +117 -111
  234. package/dist/server/server/persistence/repositories/delivery-graph/read.d.ts.map +1 -1
  235. package/dist/server/server/persistence/repositories/delivery-graph/rows.d.ts +28 -27
  236. package/dist/server/server/persistence/repositories/delivery-graph/rows.d.ts.map +1 -1
  237. package/dist/server/server/persistence/repositories/delivery-graph/write.d.ts +50 -48
  238. package/dist/server/server/persistence/repositories/delivery-graph/write.d.ts.map +1 -1
  239. package/dist/server/server/persistence/repositories/deliveryGraphRepository.d.ts +117 -111
  240. package/dist/server/server/persistence/repositories/deliveryGraphRepository.d.ts.map +1 -1
  241. package/dist/server/server/persistence/repositories/governed-action/codec.d.ts +259 -234
  242. package/dist/server/server/persistence/repositories/governed-action/codec.d.ts.map +1 -1
  243. package/dist/server/server/persistence/repositories/governed-action/contract.d.ts +68 -46
  244. package/dist/server/server/persistence/repositories/governed-action/contract.d.ts.map +1 -1
  245. package/dist/server/server/persistence/repositories/governed-action/read.d.ts +668 -190
  246. package/dist/server/server/persistence/repositories/governed-action/read.d.ts.map +1 -1
  247. package/dist/server/server/persistence/repositories/governed-action/transaction.d.ts +680 -206
  248. package/dist/server/server/persistence/repositories/governed-action/transaction.d.ts.map +1 -1
  249. package/dist/server/server/persistence/repositories/governed-action/write-preparation.d.ts +38 -31
  250. package/dist/server/server/persistence/repositories/governed-action/write-preparation.d.ts.map +1 -1
  251. package/dist/server/server/persistence/repositories/governed-action/write-replay.d.ts +46 -32
  252. package/dist/server/server/persistence/repositories/governed-action/write-replay.d.ts.map +1 -1
  253. package/dist/server/server/persistence/repositories/governed-action/write.d.ts +46 -32
  254. package/dist/server/server/persistence/repositories/governed-action/write.d.ts.map +1 -1
  255. package/dist/server/server/persistence/repositories/governedActionRepository.d.ts +678 -205
  256. package/dist/server/server/persistence/repositories/governedActionRepository.d.ts.map +1 -1
  257. package/dist/server/server/persistence/repositories/internal/reviewSuggestionRevisions.d.ts +85 -4
  258. package/dist/server/server/persistence/repositories/internal/reviewSuggestionRevisions.d.ts.map +1 -1
  259. package/dist/server/server/persistence/repositories/models.d.ts +9 -9
  260. package/dist/server/server/persistence/repositories/peopleRepository.d.ts +36 -36
  261. package/dist/server/server/persistence/repositories/providerAccountRepository.d.ts +1 -1
  262. package/dist/server/server/persistence/repositories/readiness/assessments.d.ts +6 -6
  263. package/dist/server/server/persistence/repositories/readiness/contract.d.ts +450 -450
  264. package/dist/server/server/persistence/repositories/readiness/queue.d.ts +14 -14
  265. package/dist/server/server/persistence/repositories/readinessRepository.d.ts +7 -7
  266. package/dist/server/server/persistence/repositories/releaseRepository.d.ts +18 -18
  267. package/dist/server/server/persistence/repositories/retentionRepository.d.ts.map +1 -1
  268. package/dist/server/server/persistence/repositories/timelineRepository.d.ts +4 -4
  269. package/dist/server/server/plugins/atlassian/AtlassianOAuthGrants.d.ts.map +1 -1
  270. package/dist/server/server/plugins/atlassian/AtlassianOAuthScopes.d.ts +9 -0
  271. package/dist/server/server/plugins/atlassian/AtlassianOAuthScopes.d.ts.map +1 -0
  272. package/dist/server/server/plugins/atlassian/AtlassianProfiles.d.ts.map +1 -1
  273. package/dist/server/server/plugins/codecommit/CodeCommitPluginDefinition.d.ts.map +1 -1
  274. package/dist/server/server/plugins/jira/JiraReadPlugin.d.ts +2 -2
  275. package/dist/server/server/plugins/jira/JiraReadPlugin.d.ts.map +1 -1
  276. package/dist/server/server/plugins/jira/JiraReadProvider.d.ts.map +1 -1
  277. package/dist/server/server/plugins/jira/JiraReleaseVersionLimits.d.ts +8 -0
  278. package/dist/server/server/plugins/jira/JiraReleaseVersionLimits.d.ts.map +1 -0
  279. package/dist/server/server/plugins/jira/index.d.ts +1 -1
  280. package/dist/server/server/plugins/jira/index.d.ts.map +1 -1
  281. package/dist/server/server/runtime/Bootstrap.d.ts +1 -1
  282. package/dist/server/server/runtime/Bootstrap.d.ts.map +1 -1
  283. package/dist/server/server/runtime/ControlCenterServer.d.ts +3 -3
  284. package/dist/server/server/runtime/ControlCenterServer.d.ts.map +1 -1
  285. package/dist/server/server/runtime/PrReviewWorkerStartup.d.ts +11 -1
  286. package/dist/server/server/runtime/PrReviewWorkerStartup.d.ts.map +1 -1
  287. package/dist/server/server/runtime/RetentionStartup.d.ts.map +1 -1
  288. package/dist/server/server/runtime/ServerLifecycle.d.ts.map +1 -1
  289. package/dist/server/server/secrets/SecretStore.d.ts.map +1 -1
  290. package/package.json +10 -9
  291. package/dist/client/assets/AgentPage-DGL93TJU.js +0 -3
  292. package/dist/client/assets/AgentPage-DGL93TJU.js.map +0 -1
  293. package/dist/client/assets/AgentPage-DVSgQgJa.css +0 -1
  294. package/dist/client/assets/AtlassianOAuthCallbackPage-D1F1xE_2.js +0 -2
  295. package/dist/client/assets/AuthorizedSharePage-DCQUFY2I.js +0 -2
  296. package/dist/client/assets/AuthorizedSharePage-DCQUFY2I.js.map +0 -1
  297. package/dist/client/assets/BrowserCrypto-DVWR7DFd.js +0 -2
  298. package/dist/client/assets/BrowserSessionHydrator-DE46feEX.js +0 -2
  299. package/dist/client/assets/BrowserSessionHydrator-DE46feEX.js.map +0 -1
  300. package/dist/client/assets/CommandSearch-CP_QCbkm.js +0 -2
  301. package/dist/client/assets/ItemsPage-BGFUkRL2.js +0 -2
  302. package/dist/client/assets/PortfolioOverview-D45rk8Hl.js +0 -2
  303. package/dist/client/assets/PortfolioOverview-D45rk8Hl.js.map +0 -1
  304. package/dist/client/assets/PullRequestReviewPanel-CqPtjhVW.js +0 -6
  305. package/dist/client/assets/PullRequestReviewPanel-CqPtjhVW.js.map +0 -1
  306. package/dist/client/assets/ReleaseRoute-DXJ8Jg60.js +0 -2
  307. package/dist/client/assets/ReleaseWorkset-Dtzalmji.js +0 -2
  308. package/dist/client/assets/ReleaseWorkset-Dtzalmji.js.map +0 -1
  309. package/dist/client/assets/ServicesPage-DGcUjd2H.js +0 -2
  310. package/dist/client/assets/ServicesPage-DGcUjd2H.js.map +0 -1
  311. package/dist/client/assets/TimelinePage-Bq1RTQlP.js +0 -2
  312. package/dist/client/assets/TimelinePage-Bq1RTQlP.js.map +0 -1
  313. package/dist/client/assets/WorkspaceEntityLink-AdZ_T-Wk.js +0 -2
  314. package/dist/client/assets/WorkspaceEntityRoute-9iMOV64J.css +0 -1
  315. package/dist/client/assets/WorkspaceEntityRoute-Bxxnc8us.js +0 -3
  316. package/dist/client/assets/WorkspaceEntityRoute-Bxxnc8us.js.map +0 -1
  317. package/dist/client/assets/WorkspaceHomeLink-XbKSPths.js +0 -2
  318. package/dist/client/assets/WorkspacePullRequestDetails-BErJ5bk8.js.map +0 -1
  319. package/dist/client/assets/WorkspaceRichText-D1M637Ff.js.map +0 -1
  320. package/dist/client/assets/WorkspaceSettingsPage-Fy7Wx8Y2.js +0 -2
  321. package/dist/client/assets/WorkspaceSettingsPage-Fy7Wx8Y2.js.map +0 -1
  322. package/dist/client/assets/WorkspaceSettingsPage-P6yfac0b.css +0 -1
  323. package/dist/client/assets/agent-api-QVqt4a0O.js +0 -19
  324. package/dist/client/assets/agent-api-QVqt4a0O.js.map +0 -1
  325. package/dist/client/assets/authenticatedMutationClient-Ccwguc3i.js +0 -2
  326. package/dist/client/assets/authorizedShareTransport-DZHgFEkh.js +0 -2
  327. package/dist/client/assets/client-D27unen8.js +0 -5
  328. package/dist/client/assets/client-D27unen8.js.map +0 -1
  329. package/dist/client/assets/connectionTestTransport-BQ55d6Me.js +0 -2
  330. package/dist/client/assets/connectionTestTransport-BQ55d6Me.js.map +0 -1
  331. package/dist/client/assets/index-j5ze816l.js +0 -11
  332. package/dist/client/assets/index-j5ze816l.js.map +0 -1
  333. package/dist/client/assets/presentPortfolio-D3ZIcnqt.js.map +0 -1
  334. package/dist/client/assets/pullRequestReviewThreadReplay-oljKM7Xz.js +0 -2
  335. package/dist/client/assets/pullRequestReviewThreadReplay-oljKM7Xz.js.map +0 -1
  336. package/dist/client/assets/releaseRoutes-BCuIdZyA.js +0 -2
  337. package/dist/client/assets/serviceOnboarding-Jg_0yNjf.js +0 -2
  338. package/dist/client/assets/workspaceScrollCapture-CJ4QUptr.js +0 -2
  339. package/dist/client/assets/workspaceScrollCapture-CJ4QUptr.js.map +0 -1
  340. package/dist/client/assets/workspaceSettingsTransport-CZWYL5T7.js +0 -2
  341. package/dist/server/assets/BindConfig-DIsf2Rnh.js.map +0 -1
  342. package/dist/server/assets/agent-CyZ40zs1.js.map +0 -1
  343. package/dist/server/assets/controlCenterApi-ZUX3Y-LE.js.map +0 -1
  344. package/dist/server/assets/manualPluginSynchronization-DFlhKvav.js.map +0 -1
  345. package/dist/server/assets/relationshipInferenceMaterialization-DYBcaWhQ.js.map +0 -1
  346. package/dist/server/assets/workspaceSettings-BE713Oe8.js.map +0 -1
@@ -91,6 +91,28 @@ 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
+ /** Exact synchronized Confluence page selected before its first governed release update. */
104
+ readonly targetEntityId: Schema.optionalKey<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">>;
105
+ /** Revision displayed to the owner before an exact-page update is submitted. */
106
+ readonly targetRevision: Schema.optionalKey<Schema.brand<Schema.String, "Revision">>;
107
+ /** Existing synchronized Confluence page copied into a new release-owned page. */
108
+ readonly templateEntityId: Schema.optionalKey<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">>;
109
+ }>;
110
+ export type SubmitReleasePublicationRequest = typeof SubmitReleasePublicationRequest.Type;
111
+ export declare const SubmitReleasePublicationResponse: Schema.Struct<{
112
+ readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
113
+ readonly state: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
114
+ }>;
115
+ export type SubmitReleasePublicationResponse = typeof SubmitReleasePublicationResponse.Type;
94
116
  /** One bounded prior turn supplied to preserve release-thread context. */
95
117
  export declare const AgentHistoryMessage: Schema.Struct<{
96
118
  readonly role: Schema.Literals<readonly ["user", "assistant"]>;
@@ -113,6 +135,7 @@ export declare const ReleaseAgentTurnRequest: Schema.Struct<{
113
135
  readonly role: Schema.Literals<readonly ["user", "assistant"]>;
114
136
  readonly content: Schema.String;
115
137
  }>>;
138
+ readonly originPath: Schema.optionalKey<Schema.String>;
116
139
  }>;
117
140
  /** Decoded release-aware model request. */
118
141
  export type ReleaseAgentTurnRequest = typeof ReleaseAgentTurnRequest.Type;
@@ -312,6 +335,11 @@ export declare const ReleaseAgentTurnResponse: Schema.Struct<{
312
335
  readonly truncated: Schema.Boolean;
313
336
  }>;
314
337
  readonly sourceRevisionCount: Schema.Int;
338
+ readonly releasePageAwareness: Schema.optionalKey<Schema.Struct<{
339
+ readonly state: Schema.Literals<readonly ["current", "stale", "not-published", "unknown"]>;
340
+ readonly lastPublishedAt: Schema.NullOr<Schema.DateTimeUtcFromString>;
341
+ readonly publicationActionId: Schema.optionalKey<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">>;
342
+ }>>;
315
343
  readonly updatedAt: Schema.DateTimeUtcFromString;
316
344
  }>;
317
345
  readonly eventCursor: Schema.brand<Schema.Int, "EventCursor">;
@@ -427,6 +455,20 @@ declare const PullRequestReviewNotStarted_base: Schema.Class<PullRequestReviewNo
427
455
  /** No durable review exists yet for this exact immutable subject. */
428
456
  export declare class PullRequestReviewNotStarted extends PullRequestReviewNotStarted_base {
429
457
  }
458
+ declare const PullRequestReviewStale_base: Schema.Class<PullRequestReviewStale, Schema.TaggedStruct<"stale", {
459
+ readonly previousHead: Schema.String;
460
+ readonly previousJobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
461
+ readonly subject: Schema.Struct<{
462
+ readonly providerId: Schema.Literal<"codecommit">;
463
+ readonly repository: Schema.String;
464
+ readonly pullRequestId: Schema.String;
465
+ readonly baseRevision: Schema.String;
466
+ readonly headRevision: Schema.String;
467
+ }>;
468
+ }>, {}>;
469
+ /** A prior completed review exists, but its evidence is bound to an older head. */
470
+ export declare class PullRequestReviewStale extends PullRequestReviewStale_base {
471
+ }
430
472
  declare const PullRequestReviewPending_base: Schema.Class<PullRequestReviewPending, Schema.TaggedStruct<"pending", {
431
473
  readonly state: Schema.Literals<readonly ["queued", "running", "cancel-requested"]>;
432
474
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
@@ -443,6 +485,9 @@ declare const PullRequestReviewPending_base: Schema.Class<PullRequestReviewPendi
443
485
  readonly events: Schema.$Array<Schema.String>;
444
486
  readonly truncated: Schema.Boolean;
445
487
  }>;
488
+ readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
489
+ readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
490
+ readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
446
491
  readonly requestedAt: Schema.DateTimeUtcFromString;
447
492
  readonly subject: Schema.Struct<{
448
493
  readonly providerId: Schema.Literal<"codecommit">;
@@ -530,6 +575,7 @@ declare const PullRequestReviewCompleted_base: Schema.Class<PullRequestReviewCom
530
575
  }>>;
531
576
  readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
532
577
  readonly state: Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
578
+ readonly dismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
533
579
  }>>;
534
580
  readonly notes: Schema.$Array<Schema.Struct<{
535
581
  readonly reason: Schema.Literals<readonly ["low-confidence", "pre-existing"]>;
@@ -546,6 +592,15 @@ declare const PullRequestReviewCompleted_base: Schema.Class<PullRequestReviewCom
546
592
  }>>;
547
593
  readonly noteId: Schema.brand<Schema.String, "PrReviewNoteId">;
548
594
  }>>;
595
+ readonly transitions: Schema.optionalKey<Schema.$Array<Schema.Struct<{
596
+ readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
597
+ readonly transition: Schema.Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
598
+ readonly previousState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
599
+ readonly currentState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
600
+ readonly previousDismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
601
+ readonly previousHead: Schema.NullOr<Schema.String>;
602
+ readonly currentHead: Schema.String;
603
+ }>>>;
549
604
  }>;
550
605
  readonly outcome: Schema.Literals<readonly ["changes-required", "non-blocking-suggestions", "no-issues-found", "unable-to-conclude"]>;
551
606
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
@@ -562,6 +617,9 @@ declare const PullRequestReviewCompleted_base: Schema.Class<PullRequestReviewCom
562
617
  readonly events: Schema.$Array<Schema.String>;
563
618
  readonly truncated: Schema.Boolean;
564
619
  }>;
620
+ readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
621
+ readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
622
+ readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
565
623
  readonly requestedAt: Schema.DateTimeUtcFromString;
566
624
  readonly subject: Schema.Struct<{
567
625
  readonly providerId: Schema.Literal<"codecommit">;
@@ -577,6 +635,106 @@ export declare class PullRequestReviewCompleted extends PullRequestReviewComplet
577
635
  declare const PullRequestReviewFailed_base: Schema.Class<PullRequestReviewFailed, Schema.TaggedStruct<"failed", {
578
636
  readonly completedAt: Schema.DateTimeUtcFromString;
579
637
  readonly state: Schema.Literals<readonly ["failed", "cancelled"]>;
638
+ readonly report: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.Struct<{
639
+ readonly schemaVersion: Schema.Literal<3>;
640
+ readonly subject: Schema.Struct<{
641
+ readonly providerId: Schema.Literal<"codecommit">;
642
+ readonly repository: Schema.String;
643
+ readonly pullRequestId: Schema.String;
644
+ readonly baseRevision: Schema.String;
645
+ readonly headRevision: Schema.String;
646
+ }>;
647
+ readonly completion: Schema.Union<readonly [Schema.Struct<{
648
+ readonly status: Schema.Literal<"complete">;
649
+ }>, Schema.Struct<{
650
+ readonly status: Schema.Literal<"unable-to-conclude">;
651
+ readonly reason: Schema.String;
652
+ }>]>;
653
+ readonly suggestions: Schema.$Array<Schema.Struct<{
654
+ readonly anchor: Schema.Union<readonly [Schema.Struct<{
655
+ readonly _tag: Schema.Literal<"line">;
656
+ readonly path: Schema.brand<Schema.String, "PrReviewPath">;
657
+ readonly line: Schema.Int;
658
+ readonly relativeFileVersion: Schema.withDecodingDefaultTypeKey<Schema.Literal<"AFTER">, never>;
659
+ }>, Schema.Struct<{
660
+ readonly _tag: Schema.Literal<"file">;
661
+ readonly path: Schema.brand<Schema.String, "PrReviewPath">;
662
+ readonly line: Schema.Int;
663
+ readonly relativeFileVersion: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["BEFORE", "AFTER"]>, never>;
664
+ }>, Schema.Struct<{
665
+ readonly _tag: Schema.Literal<"changes">;
666
+ }>]>;
667
+ readonly title: Schema.String;
668
+ readonly severity: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
669
+ readonly problem: Schema.String;
670
+ readonly impact: Schema.String;
671
+ readonly evidence: Schema.Struct<{
672
+ readonly excerpt: Schema.String;
673
+ readonly path: Schema.brand<Schema.String, "PrReviewPath">;
674
+ readonly startLine: Schema.Int;
675
+ readonly endLine: Schema.Int;
676
+ }>;
677
+ readonly recommendation: Schema.String;
678
+ readonly confidence: Schema.Struct<{
679
+ readonly level: Schema.Literals<readonly ["low", "medium", "high"]>;
680
+ readonly reason: Schema.String;
681
+ }>;
682
+ readonly relatedLocations: Schema.$Array<Schema.Struct<{
683
+ readonly label: Schema.String;
684
+ readonly path: Schema.brand<Schema.String, "PrReviewPath">;
685
+ readonly startLine: Schema.Int;
686
+ readonly endLine: Schema.Int;
687
+ }>>;
688
+ readonly prevention: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
689
+ readonly summary: Schema.String;
690
+ readonly enforcement: Schema.Literals<readonly ["ast-grep", "ESLint", "type-check", "test", "instruction"]>;
691
+ readonly existingRuleOrConfig: Schema.String;
692
+ readonly recurrenceEvidence: Schema.String;
693
+ readonly targetFile: Schema.brand<Schema.String, "PrReviewPath">;
694
+ readonly sourcePaths: Schema.$Array<Schema.brand<Schema.String, "PrReviewPath">>;
695
+ readonly matcherOrInvariant: Schema.String;
696
+ readonly invalidFixture: Schema.String;
697
+ readonly validFixture: Schema.String;
698
+ readonly boundary: Schema.String;
699
+ }>, Schema.Struct<{
700
+ readonly summary: Schema.String;
701
+ readonly enforcement: Schema.Literal<"none">;
702
+ readonly rationale: Schema.String;
703
+ }>]>>;
704
+ readonly replacement: Schema.optionalKey<Schema.Struct<{
705
+ readonly reviewedHead: Schema.String;
706
+ readonly unifiedDiff: Schema.String;
707
+ readonly explanation: Schema.String;
708
+ }>>;
709
+ readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
710
+ readonly state: Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
711
+ readonly dismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
712
+ }>>;
713
+ readonly notes: Schema.$Array<Schema.Struct<{
714
+ readonly reason: Schema.Literals<readonly ["low-confidence", "pre-existing"]>;
715
+ readonly title: Schema.String;
716
+ readonly observation: Schema.String;
717
+ readonly confidence: Schema.Struct<{
718
+ readonly level: Schema.Literals<readonly ["low", "medium", "high"]>;
719
+ readonly reason: Schema.String;
720
+ }>;
721
+ readonly location: Schema.optionalKey<Schema.Struct<{
722
+ readonly path: Schema.brand<Schema.String, "PrReviewPath">;
723
+ readonly startLine: Schema.Int;
724
+ readonly endLine: Schema.Int;
725
+ }>>;
726
+ readonly noteId: Schema.brand<Schema.String, "PrReviewNoteId">;
727
+ }>>;
728
+ readonly transitions: Schema.optionalKey<Schema.$Array<Schema.Struct<{
729
+ readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
730
+ readonly transition: Schema.Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
731
+ readonly previousState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
732
+ readonly currentState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
733
+ readonly previousDismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
734
+ readonly previousHead: Schema.NullOr<Schema.String>;
735
+ readonly currentHead: Schema.String;
736
+ }>>>;
737
+ }>>>, never>>;
580
738
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
581
739
  readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
582
740
  readonly model: Schema.brand<Schema.String, "AgentModelId">;
@@ -591,6 +749,9 @@ declare const PullRequestReviewFailed_base: Schema.Class<PullRequestReviewFailed
591
749
  readonly events: Schema.$Array<Schema.String>;
592
750
  readonly truncated: Schema.Boolean;
593
751
  }>;
752
+ readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
753
+ readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
754
+ readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
594
755
  readonly requestedAt: Schema.DateTimeUtcFromString;
595
756
  readonly subject: Schema.Struct<{
596
757
  readonly providerId: Schema.Literal<"codecommit">;
@@ -603,8 +764,139 @@ declare const PullRequestReviewFailed_base: Schema.Class<PullRequestReviewFailed
603
764
  /** Durable exact-head review stopped without publishing a recommendation. */
604
765
  export declare class PullRequestReviewFailed extends PullRequestReviewFailed_base {
605
766
  }
767
+ declare const PullRequestReviewInterrupted_base: Schema.Class<PullRequestReviewInterrupted, Schema.TaggedStruct<"interrupted", {
768
+ readonly completedAt: Schema.DateTimeUtcFromString;
769
+ readonly report: Schema.Struct<{
770
+ readonly schemaVersion: Schema.Literal<3>;
771
+ readonly subject: Schema.Struct<{
772
+ readonly providerId: Schema.Literal<"codecommit">;
773
+ readonly repository: Schema.String;
774
+ readonly pullRequestId: Schema.String;
775
+ readonly baseRevision: Schema.String;
776
+ readonly headRevision: Schema.String;
777
+ }>;
778
+ readonly completion: Schema.Union<readonly [Schema.Struct<{
779
+ readonly status: Schema.Literal<"complete">;
780
+ }>, Schema.Struct<{
781
+ readonly status: Schema.Literal<"unable-to-conclude">;
782
+ readonly reason: Schema.String;
783
+ }>]>;
784
+ readonly suggestions: Schema.$Array<Schema.Struct<{
785
+ readonly anchor: Schema.Union<readonly [Schema.Struct<{
786
+ readonly _tag: Schema.Literal<"line">;
787
+ readonly path: Schema.brand<Schema.String, "PrReviewPath">;
788
+ readonly line: Schema.Int;
789
+ readonly relativeFileVersion: Schema.withDecodingDefaultTypeKey<Schema.Literal<"AFTER">, never>;
790
+ }>, Schema.Struct<{
791
+ readonly _tag: Schema.Literal<"file">;
792
+ readonly path: Schema.brand<Schema.String, "PrReviewPath">;
793
+ readonly line: Schema.Int;
794
+ readonly relativeFileVersion: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["BEFORE", "AFTER"]>, never>;
795
+ }>, Schema.Struct<{
796
+ readonly _tag: Schema.Literal<"changes">;
797
+ }>]>;
798
+ readonly title: Schema.String;
799
+ readonly severity: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
800
+ readonly problem: Schema.String;
801
+ readonly impact: Schema.String;
802
+ readonly evidence: Schema.Struct<{
803
+ readonly excerpt: Schema.String;
804
+ readonly path: Schema.brand<Schema.String, "PrReviewPath">;
805
+ readonly startLine: Schema.Int;
806
+ readonly endLine: Schema.Int;
807
+ }>;
808
+ readonly recommendation: Schema.String;
809
+ readonly confidence: Schema.Struct<{
810
+ readonly level: Schema.Literals<readonly ["low", "medium", "high"]>;
811
+ readonly reason: Schema.String;
812
+ }>;
813
+ readonly relatedLocations: Schema.$Array<Schema.Struct<{
814
+ readonly label: Schema.String;
815
+ readonly path: Schema.brand<Schema.String, "PrReviewPath">;
816
+ readonly startLine: Schema.Int;
817
+ readonly endLine: Schema.Int;
818
+ }>>;
819
+ readonly prevention: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
820
+ readonly summary: Schema.String;
821
+ readonly enforcement: Schema.Literals<readonly ["ast-grep", "ESLint", "type-check", "test", "instruction"]>;
822
+ readonly existingRuleOrConfig: Schema.String;
823
+ readonly recurrenceEvidence: Schema.String;
824
+ readonly targetFile: Schema.brand<Schema.String, "PrReviewPath">;
825
+ readonly sourcePaths: Schema.$Array<Schema.brand<Schema.String, "PrReviewPath">>;
826
+ readonly matcherOrInvariant: Schema.String;
827
+ readonly invalidFixture: Schema.String;
828
+ readonly validFixture: Schema.String;
829
+ readonly boundary: Schema.String;
830
+ }>, Schema.Struct<{
831
+ readonly summary: Schema.String;
832
+ readonly enforcement: Schema.Literal<"none">;
833
+ readonly rationale: Schema.String;
834
+ }>]>>;
835
+ readonly replacement: Schema.optionalKey<Schema.Struct<{
836
+ readonly reviewedHead: Schema.String;
837
+ readonly unifiedDiff: Schema.String;
838
+ readonly explanation: Schema.String;
839
+ }>>;
840
+ readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
841
+ readonly state: Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
842
+ readonly dismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
843
+ }>>;
844
+ readonly notes: Schema.$Array<Schema.Struct<{
845
+ readonly reason: Schema.Literals<readonly ["low-confidence", "pre-existing"]>;
846
+ readonly title: Schema.String;
847
+ readonly observation: Schema.String;
848
+ readonly confidence: Schema.Struct<{
849
+ readonly level: Schema.Literals<readonly ["low", "medium", "high"]>;
850
+ readonly reason: Schema.String;
851
+ }>;
852
+ readonly location: Schema.optionalKey<Schema.Struct<{
853
+ readonly path: Schema.brand<Schema.String, "PrReviewPath">;
854
+ readonly startLine: Schema.Int;
855
+ readonly endLine: Schema.Int;
856
+ }>>;
857
+ readonly noteId: Schema.brand<Schema.String, "PrReviewNoteId">;
858
+ }>>;
859
+ readonly transitions: Schema.optionalKey<Schema.$Array<Schema.Struct<{
860
+ readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
861
+ readonly transition: Schema.Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
862
+ readonly previousState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
863
+ readonly currentState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
864
+ readonly previousDismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
865
+ readonly previousHead: Schema.NullOr<Schema.String>;
866
+ readonly currentHead: Schema.String;
867
+ }>>>;
868
+ }>;
869
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
870
+ readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
871
+ readonly model: Schema.brand<Schema.String, "AgentModelId">;
872
+ readonly reviewProfile: Schema.Struct<{
873
+ readonly profileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
874
+ readonly label: Schema.String;
875
+ readonly budgetMillis: Schema.Int;
876
+ readonly networkAccess: Schema.Literals<readonly ["blocked", "provider-enabled"]>;
877
+ readonly sandbox: Schema.Literal<"sbx">;
878
+ }>;
879
+ readonly activity: Schema.Struct<{
880
+ readonly events: Schema.$Array<Schema.String>;
881
+ readonly truncated: Schema.Boolean;
882
+ }>;
883
+ readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
884
+ readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
885
+ readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
886
+ readonly requestedAt: Schema.DateTimeUtcFromString;
887
+ readonly subject: Schema.Struct<{
888
+ readonly providerId: Schema.Literal<"codecommit">;
889
+ readonly repository: Schema.String;
890
+ readonly pullRequestId: Schema.String;
891
+ readonly baseRevision: Schema.String;
892
+ readonly headRevision: Schema.String;
893
+ }>;
894
+ }>, {}>;
895
+ /** Review interrupted by process restart; its partial evidence remains inspectable. */
896
+ export declare class PullRequestReviewInterrupted extends PullRequestReviewInterrupted_base {
897
+ }
606
898
  /** 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]>;
899
+ export declare const PullRequestReviewState: Schema.toTaggedUnion<"_tag", readonly [typeof PullRequestReviewUnavailable, typeof PullRequestReviewNotStarted, typeof PullRequestReviewStale, typeof PullRequestReviewPending, typeof PullRequestReviewCompleted, typeof PullRequestReviewFailed, typeof PullRequestReviewInterrupted]>;
608
900
  /** Decoded current pull-request review state. */
609
901
  export type PullRequestReviewState = typeof PullRequestReviewState.Type;
610
902
  /** Browser-safe immutable activity in one stable pull-request review thread. */
@@ -729,6 +1021,7 @@ export declare const PullRequestReviewThreadEvent: Schema.toTaggedUnion<"_tag",
729
1021
  }>>;
730
1022
  readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
731
1023
  readonly state: Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
1024
+ readonly dismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
732
1025
  }>>;
733
1026
  readonly notes: Schema.$Array<Schema.Struct<{
734
1027
  readonly reason: Schema.Literals<readonly ["low-confidence", "pre-existing"]>;
@@ -745,6 +1038,15 @@ export declare const PullRequestReviewThreadEvent: Schema.toTaggedUnion<"_tag",
745
1038
  }>>;
746
1039
  readonly noteId: Schema.brand<Schema.String, "PrReviewNoteId">;
747
1040
  }>>;
1041
+ readonly transitions: Schema.optionalKey<Schema.$Array<Schema.Struct<{
1042
+ readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
1043
+ readonly transition: Schema.Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
1044
+ readonly previousState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
1045
+ readonly currentState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
1046
+ readonly previousDismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
1047
+ readonly previousHead: Schema.NullOr<Schema.String>;
1048
+ readonly currentHead: Schema.String;
1049
+ }>>>;
748
1050
  }>;
749
1051
  readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
750
1052
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
@@ -775,6 +1077,10 @@ export declare const PullRequestReviewThreadEvent: Schema.toTaggedUnion<"_tag",
775
1077
  readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
776
1078
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
777
1079
  readonly occurredAt: Schema.DateTimeUtcFromString;
1080
+ }>, Schema.TaggedStruct<"run-interrupted", {
1081
+ readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
1082
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1083
+ readonly occurredAt: Schema.DateTimeUtcFromString;
778
1084
  }>, Schema.TaggedStruct<"cancellation-requested", {
779
1085
  readonly requestedAt: Schema.DateTimeUtcFromString;
780
1086
  readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
@@ -908,6 +1214,7 @@ export declare const PullRequestReviewThreadPage: Schema.Struct<{
908
1214
  }>>;
909
1215
  readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
910
1216
  readonly state: Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
1217
+ readonly dismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
911
1218
  }>>;
912
1219
  readonly notes: Schema.$Array<Schema.Struct<{
913
1220
  readonly reason: Schema.Literals<readonly ["low-confidence", "pre-existing"]>;
@@ -924,6 +1231,15 @@ export declare const PullRequestReviewThreadPage: Schema.Struct<{
924
1231
  }>>;
925
1232
  readonly noteId: Schema.brand<Schema.String, "PrReviewNoteId">;
926
1233
  }>>;
1234
+ readonly transitions: Schema.optionalKey<Schema.$Array<Schema.Struct<{
1235
+ readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
1236
+ readonly transition: Schema.Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
1237
+ readonly previousState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
1238
+ readonly currentState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
1239
+ readonly previousDismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
1240
+ readonly previousHead: Schema.NullOr<Schema.String>;
1241
+ readonly currentHead: Schema.String;
1242
+ }>>>;
927
1243
  }>;
928
1244
  readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
929
1245
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
@@ -954,6 +1270,10 @@ export declare const PullRequestReviewThreadPage: Schema.Struct<{
954
1270
  readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
955
1271
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
956
1272
  readonly occurredAt: Schema.DateTimeUtcFromString;
1273
+ }>, Schema.TaggedStruct<"run-interrupted", {
1274
+ readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
1275
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1276
+ readonly occurredAt: Schema.DateTimeUtcFromString;
957
1277
  }>, Schema.TaggedStruct<"cancellation-requested", {
958
1278
  readonly requestedAt: Schema.DateTimeUtcFromString;
959
1279
  readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
@@ -1033,6 +1353,23 @@ export declare const EditReviewSuggestionRequest: Schema.Struct<{
1033
1353
  }>;
1034
1354
  /** Decoded manual suggestion edit. */
1035
1355
  export type EditReviewSuggestionRequest = typeof EditReviewSuggestionRequest.Type;
1356
+ /** Durable targeted agent operation over one optimistic suggestion revision. */
1357
+ export declare const TargetReviewSuggestionRequest: Schema.Struct<{
1358
+ readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
1359
+ readonly model: Schema.brand<Schema.String, "AgentModelId">;
1360
+ readonly profile: Schema.Literal<"read-only">;
1361
+ readonly reviewProfileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
1362
+ readonly intent: Schema.Literals<readonly ["suggestion-edit", "suggestion-revalidation"]>;
1363
+ readonly expectedRevisionId: Schema.brand<Schema.String, "PrReviewSuggestionRevisionId">;
1364
+ readonly expectedSequence: Schema.brand<Schema.Int, "PrReviewSuggestionRevisionSequence">;
1365
+ readonly prompt: Schema.optionalKey<Schema.String>;
1366
+ }>;
1367
+ /** Decoded targeted agent operation request. */
1368
+ export type TargetReviewSuggestionRequest = typeof TargetReviewSuggestionRequest.Type;
1369
+ /** Accepted targeted review job. */
1370
+ export declare const TargetReviewSuggestionResponse: typeof PullRequestReviewPending;
1371
+ /** Decoded targeted review job response. */
1372
+ export type TargetReviewSuggestionResponse = typeof TargetReviewSuggestionResponse.Type;
1036
1373
  /** Browser-safe immutable suggestion revision returned after an edit. */
1037
1374
  export declare const EditReviewSuggestionResponse: typeof PrReviewSuggestionRevision;
1038
1375
  /** Decoded manual suggestion-edit result. */
@@ -1041,6 +1378,7 @@ export type EditReviewSuggestionResponse = typeof EditReviewSuggestionResponse.T
1041
1378
  export declare const DismissReviewSuggestionRequest: Schema.Struct<{
1042
1379
  readonly expectedRevisionId: Schema.brand<Schema.String, "PrReviewSuggestionRevisionId">;
1043
1380
  readonly expectedSequence: Schema.brand<Schema.Int, "PrReviewSuggestionRevisionSequence">;
1381
+ readonly reason: Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>;
1044
1382
  }>;
1045
1383
  /** Decoded human dismissal request. */
1046
1384
  export type DismissReviewSuggestionRequest = typeof DismissReviewSuggestionRequest.Type;
@@ -1066,6 +1404,10 @@ export declare const MAXIMUM_REVIEW_SUGGESTION_PUBLICATION_CONTENT_LENGTH = 1010
1066
1404
  export declare const ReviewSuggestionPublicationContent: Schema.String;
1067
1405
  /** Decoded final review-comment content. */
1068
1406
  export type ReviewSuggestionPublicationContent = typeof ReviewSuggestionPublicationContent.Type;
1407
+ /** Provider comment mutation selected by an explicit local publication preview. */
1408
+ export declare const ReviewSuggestionPublicationOperation: Schema.Literals<readonly ["create", "update", "reply"]>;
1409
+ /** Decoded provider comment mutation. */
1410
+ export type ReviewSuggestionPublicationOperation = typeof ReviewSuggestionPublicationOperation.Type;
1069
1411
  /** Exact completed review suggestion selected for publication. */
1070
1412
  export declare const ReviewSuggestionPublicationSelection: Schema.Struct<{
1071
1413
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
@@ -1086,6 +1428,8 @@ export declare const ReviewSuggestionPublicationAuthorityBinding: Schema.brand<S
1086
1428
  /** Decoded immutable provider-generation binding. */
1087
1429
  export type ReviewSuggestionPublicationAuthorityBinding = typeof ReviewSuggestionPublicationAuthorityBinding.Type;
1088
1430
  declare const ReviewSuggestionPublicationPreview_base: Schema.Class<ReviewSuggestionPublicationPreview, Schema.Struct<{
1431
+ readonly operation: Schema.optionalKey<Schema.Literals<readonly ["create", "update", "reply"]>>;
1432
+ readonly commentId: Schema.optionalKey<Schema.String>;
1089
1433
  readonly subject: Schema.Struct<{
1090
1434
  readonly providerId: Schema.Literal<"codecommit">;
1091
1435
  readonly repository: Schema.String;
@@ -1140,6 +1484,8 @@ export declare class ReviewSuggestionPublicationPreview extends ReviewSuggestion
1140
1484
  }
1141
1485
  /** Explicit operator confirmation containing the final editable snapshot. */
1142
1486
  export declare const PublishReviewSuggestionRequest: Schema.Struct<{
1487
+ readonly operation: Schema.optionalKey<Schema.Literals<readonly ["create", "update", "reply"]>>;
1488
+ readonly commentId: Schema.optionalKey<Schema.String>;
1143
1489
  readonly finalContent: Schema.String;
1144
1490
  readonly authorityBinding: Schema.brand<Schema.String, "ReviewSuggestionPublicationAuthorityBinding">;
1145
1491
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
@@ -1207,6 +1553,8 @@ declare const PublishedReviewComment_base: Schema.Class<PublishedReviewComment,
1207
1553
  readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
1208
1554
  readonly revisionId: Schema.brand<Schema.String, "PrReviewSuggestionRevisionId">;
1209
1555
  readonly publicationId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
1556
+ /** Provider comment targeted by a lifecycle operation, when available. */
1557
+ readonly commentId: Schema.optionalKey<Schema.String>;
1210
1558
  }>, {}>;
1211
1559
  /** Durable local snapshot of one successfully published CodeCommit comment. */
1212
1560
  export declare class PublishedReviewComment extends PublishedReviewComment_base {
@@ -1280,6 +1628,7 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
1280
1628
  readonly role: Schema.Literals<readonly ["user", "assistant"]>;
1281
1629
  readonly content: Schema.String;
1282
1630
  }>>;
1631
+ readonly originPath: Schema.optionalKey<Schema.String>;
1283
1632
  }>>, never, Schema.toCodecJson<Schema.Struct<{
1284
1633
  readonly releaseId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ReleaseId">;
1285
1634
  readonly provider: Schema.Literals<readonly ["codex", "claude"]>;
@@ -1475,10 +1824,15 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
1475
1824
  readonly truncated: Schema.Boolean;
1476
1825
  }>;
1477
1826
  readonly sourceRevisionCount: Schema.Int;
1827
+ readonly releasePageAwareness: Schema.optionalKey<Schema.Struct<{
1828
+ readonly state: Schema.Literals<readonly ["current", "stale", "not-published", "unknown"]>;
1829
+ readonly lastPublishedAt: Schema.NullOr<Schema.DateTimeUtcFromString>;
1830
+ readonly publicationActionId: Schema.optionalKey<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">>;
1831
+ }>>;
1478
1832
  readonly updatedAt: Schema.DateTimeUtcFromString;
1479
1833
  }>;
1480
1834
  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<{
1835
+ }>>, 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
1836
  readonly releaseId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ReleaseId">;
1483
1837
  }>>, never, Schema.toCodecJson<Schema.Struct<{
1484
1838
  readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
@@ -1567,7 +1921,7 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
1567
1921
  }>>;
1568
1922
  }>>, 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
1923
  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<{
1924
+ }>>, 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
1925
  readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
1572
1926
  }>>, Schema.toCodecStringTree<Schema.Struct<{
1573
1927
  readonly after: Schema.optionalKey<Schema.compose<Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">, Schema.decodeTo<Schema.Int, Schema.String, never, never>>>;
@@ -1695,6 +2049,7 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
1695
2049
  }>>;
1696
2050
  readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
1697
2051
  readonly state: Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>;
2052
+ readonly dismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
1698
2053
  }>>;
1699
2054
  readonly notes: Schema.$Array<Schema.Struct<{
1700
2055
  readonly reason: Schema.Literals<readonly ["low-confidence", "pre-existing"]>;
@@ -1711,6 +2066,15 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
1711
2066
  }>>;
1712
2067
  readonly noteId: Schema.brand<Schema.String, "PrReviewNoteId">;
1713
2068
  }>>;
2069
+ readonly transitions: Schema.optionalKey<Schema.$Array<Schema.Struct<{
2070
+ readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
2071
+ readonly transition: Schema.Literals<readonly ["new", "still-present", "resolved", "reopened"]>;
2072
+ readonly previousState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
2073
+ readonly currentState: Schema.NullOr<Schema.Literals<readonly ["draft", "published", "stale", "resolved", "dismissed", "reopened"]>>;
2074
+ readonly previousDismissalReason: Schema.optionalKey<Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>>;
2075
+ readonly previousHead: Schema.NullOr<Schema.String>;
2076
+ readonly currentHead: Schema.String;
2077
+ }>>>;
1714
2078
  }>;
1715
2079
  readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
1716
2080
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
@@ -1741,6 +2105,10 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
1741
2105
  readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
1742
2106
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1743
2107
  readonly occurredAt: Schema.DateTimeUtcFromString;
2108
+ }>, Schema.TaggedStruct<"run-interrupted", {
2109
+ readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
2110
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
2111
+ readonly occurredAt: Schema.DateTimeUtcFromString;
1744
2112
  }>, Schema.TaggedStruct<"cancellation-requested", {
1745
2113
  readonly requestedAt: Schema.DateTimeUtcFromString;
1746
2114
  readonly eventSequence: Schema.brand<Schema.Int, "ReleaseAgentThreadCursor">;
@@ -1758,32 +2126,35 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
1758
2126
  readonly profile: Schema.Literal<"read-only">;
1759
2127
  readonly reviewProfileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
1760
2128
  readonly prompt: Schema.optionalKey<Schema.String>;
1761
- }>>, never, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<PullRequestReviewPending, Schema.Struct.ReadonlySide<{
1762
- readonly _tag: Schema.tag<"pending">;
1763
- readonly state: Schema.Literals<readonly ["queued", "running", "cancel-requested"]>;
1764
- readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1765
- readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
1766
- readonly model: Schema.brand<Schema.String, "AgentModelId">;
1767
- readonly reviewProfile: Schema.Struct<{
2129
+ }>>, never, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<PullRequestReviewPending, {
2130
+ readonly providerId: string;
2131
+ readonly _tag: "pending";
2132
+ readonly jobId: string;
2133
+ readonly subject: Schema.Struct.ReadonlySide<{
2134
+ readonly providerId: Schema.Literal<"codecommit">;
2135
+ readonly repository: Schema.String;
2136
+ readonly pullRequestId: Schema.String;
2137
+ readonly baseRevision: Schema.String;
2138
+ readonly headRevision: Schema.String;
2139
+ }, "Encoded">;
2140
+ readonly state: "cancel-requested" | "queued" | "running";
2141
+ readonly model: string;
2142
+ readonly reviewProfile: Schema.Struct.ReadonlySide<{
1768
2143
  readonly profileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
1769
2144
  readonly label: Schema.String;
1770
2145
  readonly budgetMillis: Schema.Int;
1771
2146
  readonly networkAccess: Schema.Literals<readonly ["blocked", "provider-enabled"]>;
1772
2147
  readonly sandbox: Schema.Literal<"sbx">;
1773
- }>;
1774
- readonly activity: Schema.Struct<{
2148
+ }, "Encoded">;
2149
+ readonly requestedAt: string;
2150
+ readonly activity: Schema.Struct.ReadonlySide<{
1775
2151
  readonly events: Schema.$Array<Schema.String>;
1776
2152
  readonly truncated: Schema.Boolean;
1777
- }>;
1778
- readonly requestedAt: Schema.DateTimeUtcFromString;
1779
- readonly subject: Schema.Struct<{
1780
- readonly providerId: Schema.Literal<"codecommit">;
1781
- readonly repository: Schema.String;
1782
- readonly pullRequestId: Schema.String;
1783
- readonly baseRevision: Schema.String;
1784
- readonly headRevision: Schema.String;
1785
- }>;
1786
- }, "Encoded">, readonly [Schema.TaggedStruct<"pending", {
2153
+ }, "Encoded">;
2154
+ readonly startedAt?: string | null;
2155
+ readonly budgetMillis?: number;
2156
+ readonly budgetExtensionCount?: number;
2157
+ }, readonly [Schema.TaggedStruct<"pending", {
1787
2158
  readonly state: Schema.Literals<readonly ["queued", "running", "cancel-requested"]>;
1788
2159
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1789
2160
  readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
@@ -1799,6 +2170,9 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
1799
2170
  readonly events: Schema.$Array<Schema.String>;
1800
2171
  readonly truncated: Schema.Boolean;
1801
2172
  }>;
2173
+ readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
2174
+ readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
2175
+ readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
1802
2176
  readonly requestedAt: Schema.DateTimeUtcFromString;
1803
2177
  readonly subject: Schema.Struct<{
1804
2178
  readonly providerId: Schema.Literal<"codecommit">;
@@ -1807,32 +2181,35 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
1807
2181
  readonly baseRevision: Schema.String;
1808
2182
  readonly headRevision: Schema.String;
1809
2183
  }>;
1810
- }>], Schema.Struct.ReadonlySide<{
1811
- readonly _tag: Schema.tag<"pending">;
1812
- readonly state: Schema.Literals<readonly ["queued", "running", "cancel-requested"]>;
1813
- readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1814
- readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
1815
- readonly model: Schema.brand<Schema.String, "AgentModelId">;
1816
- readonly reviewProfile: Schema.Struct<{
2184
+ }>], {
2185
+ readonly providerId: string & import("effect/Brand").Brand<"DurableAgentProviderId">;
2186
+ readonly _tag: "pending";
2187
+ readonly jobId: string & import("effect/Brand").Brand<"JobId">;
2188
+ readonly subject: Schema.Struct.ReadonlySide<{
2189
+ readonly providerId: Schema.Literal<"codecommit">;
2190
+ readonly repository: Schema.String;
2191
+ readonly pullRequestId: Schema.String;
2192
+ readonly baseRevision: Schema.String;
2193
+ readonly headRevision: Schema.String;
2194
+ }, "Iso">;
2195
+ readonly state: "cancel-requested" | "queued" | "running";
2196
+ readonly model: string & import("effect/Brand").Brand<"AgentModelId">;
2197
+ readonly reviewProfile: Schema.Struct.ReadonlySide<{
1817
2198
  readonly profileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
1818
2199
  readonly label: Schema.String;
1819
2200
  readonly budgetMillis: Schema.Int;
1820
2201
  readonly networkAccess: Schema.Literals<readonly ["blocked", "provider-enabled"]>;
1821
2202
  readonly sandbox: Schema.Literal<"sbx">;
1822
- }>;
1823
- readonly activity: Schema.Struct<{
2203
+ }, "Iso">;
2204
+ readonly requestedAt: import("effect/DateTime").Utc;
2205
+ readonly activity: Schema.Struct.ReadonlySide<{
1824
2206
  readonly events: Schema.$Array<Schema.String>;
1825
2207
  readonly truncated: Schema.Boolean;
1826
- }>;
1827
- readonly requestedAt: Schema.DateTimeUtcFromString;
1828
- readonly subject: Schema.Struct<{
1829
- readonly providerId: Schema.Literal<"codecommit">;
1830
- readonly repository: Schema.String;
1831
- readonly pullRequestId: Schema.String;
1832
- readonly baseRevision: Schema.String;
1833
- readonly headRevision: Schema.String;
1834
- }>;
1835
- }, "Iso">>, Schema.TaggedStruct<"pending", {
2208
+ }, "Iso">;
2209
+ readonly startedAt?: import("effect/DateTime").Utc | null;
2210
+ readonly budgetMillis?: number;
2211
+ readonly budgetExtensionCount?: number;
2212
+ }>, Schema.TaggedStruct<"pending", {
1836
2213
  readonly state: Schema.Literals<readonly ["queued", "running", "cancel-requested"]>;
1837
2214
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1838
2215
  readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
@@ -1848,6 +2225,9 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
1848
2225
  readonly events: Schema.$Array<Schema.String>;
1849
2226
  readonly truncated: Schema.Boolean;
1850
2227
  }>;
2228
+ readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
2229
+ readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
2230
+ readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
1851
2231
  readonly requestedAt: Schema.DateTimeUtcFromString;
1852
2232
  readonly subject: Schema.Struct<{
1853
2233
  readonly providerId: Schema.Literal<"codecommit">;
@@ -1856,7 +2236,13 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
1856
2236
  readonly baseRevision: Schema.String;
1857
2237
  readonly headRevision: Schema.String;
1858
2238
  }>;
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<"reviewSuggestionRevisions", "GET", "/api/v1/agent/pull-requests/:entityId/reviews/:jobId/suggestions/:suggestionId/revisions", Schema.toCodecStringTree<Schema.Struct<{
2239
+ }>, 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<{
2240
+ readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
2241
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
2242
+ }>>, 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<{
2243
+ readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
2244
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
2245
+ }>>, 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
2246
  readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
1861
2247
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1862
2248
  readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
@@ -1932,28 +2318,173 @@ declare const AgentApiGroup_base: HttpApiGroup.HttpApiGroup<"agent", HttpApiEndp
1932
2318
  readonly _tag: Schema.Literal<"changes">;
1933
2319
  }>]>;
1934
2320
  }>;
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<"dismissReviewSuggestion", "POST", "/api/v1/agent/pull-requests/:entityId/reviews/:jobId/suggestions/:suggestionId/dismissal", Schema.toCodecStringTree<Schema.Struct<{
2321
+ }>>, 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<{
2322
+ readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
2323
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
2324
+ readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
2325
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
2326
+ readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
2327
+ readonly model: Schema.brand<Schema.String, "AgentModelId">;
2328
+ readonly profile: Schema.Literal<"read-only">;
2329
+ readonly reviewProfileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
2330
+ readonly intent: Schema.Literals<readonly ["suggestion-edit", "suggestion-revalidation"]>;
2331
+ readonly expectedRevisionId: Schema.brand<Schema.String, "PrReviewSuggestionRevisionId">;
2332
+ readonly expectedSequence: Schema.brand<Schema.Int, "PrReviewSuggestionRevisionSequence">;
2333
+ readonly prompt: Schema.optionalKey<Schema.String>;
2334
+ }>>, never, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<PullRequestReviewPending, {
2335
+ readonly providerId: string;
2336
+ readonly _tag: "pending";
2337
+ readonly jobId: string;
2338
+ readonly subject: Schema.Struct.ReadonlySide<{
2339
+ readonly providerId: Schema.Literal<"codecommit">;
2340
+ readonly repository: Schema.String;
2341
+ readonly pullRequestId: Schema.String;
2342
+ readonly baseRevision: Schema.String;
2343
+ readonly headRevision: Schema.String;
2344
+ }, "Encoded">;
2345
+ readonly state: "cancel-requested" | "queued" | "running";
2346
+ readonly model: string;
2347
+ readonly reviewProfile: Schema.Struct.ReadonlySide<{
2348
+ readonly profileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
2349
+ readonly label: Schema.String;
2350
+ readonly budgetMillis: Schema.Int;
2351
+ readonly networkAccess: Schema.Literals<readonly ["blocked", "provider-enabled"]>;
2352
+ readonly sandbox: Schema.Literal<"sbx">;
2353
+ }, "Encoded">;
2354
+ readonly requestedAt: string;
2355
+ readonly activity: Schema.Struct.ReadonlySide<{
2356
+ readonly events: Schema.$Array<Schema.String>;
2357
+ readonly truncated: Schema.Boolean;
2358
+ }, "Encoded">;
2359
+ readonly startedAt?: string | null;
2360
+ readonly budgetMillis?: number;
2361
+ readonly budgetExtensionCount?: number;
2362
+ }, readonly [Schema.TaggedStruct<"pending", {
2363
+ readonly state: Schema.Literals<readonly ["queued", "running", "cancel-requested"]>;
2364
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
2365
+ readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
2366
+ readonly model: Schema.brand<Schema.String, "AgentModelId">;
2367
+ readonly reviewProfile: Schema.Struct<{
2368
+ readonly profileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
2369
+ readonly label: Schema.String;
2370
+ readonly budgetMillis: Schema.Int;
2371
+ readonly networkAccess: Schema.Literals<readonly ["blocked", "provider-enabled"]>;
2372
+ readonly sandbox: Schema.Literal<"sbx">;
2373
+ }>;
2374
+ readonly activity: Schema.Struct<{
2375
+ readonly events: Schema.$Array<Schema.String>;
2376
+ readonly truncated: Schema.Boolean;
2377
+ }>;
2378
+ readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
2379
+ readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
2380
+ readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
2381
+ readonly requestedAt: Schema.DateTimeUtcFromString;
2382
+ readonly subject: Schema.Struct<{
2383
+ readonly providerId: Schema.Literal<"codecommit">;
2384
+ readonly repository: Schema.String;
2385
+ readonly pullRequestId: Schema.String;
2386
+ readonly baseRevision: Schema.String;
2387
+ readonly headRevision: Schema.String;
2388
+ }>;
2389
+ }>], {
2390
+ readonly providerId: string & import("effect/Brand").Brand<"DurableAgentProviderId">;
2391
+ readonly _tag: "pending";
2392
+ readonly jobId: string & import("effect/Brand").Brand<"JobId">;
2393
+ readonly subject: Schema.Struct.ReadonlySide<{
2394
+ readonly providerId: Schema.Literal<"codecommit">;
2395
+ readonly repository: Schema.String;
2396
+ readonly pullRequestId: Schema.String;
2397
+ readonly baseRevision: Schema.String;
2398
+ readonly headRevision: Schema.String;
2399
+ }, "Iso">;
2400
+ readonly state: "cancel-requested" | "queued" | "running";
2401
+ readonly model: string & import("effect/Brand").Brand<"AgentModelId">;
2402
+ readonly reviewProfile: Schema.Struct.ReadonlySide<{
2403
+ readonly profileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
2404
+ readonly label: Schema.String;
2405
+ readonly budgetMillis: Schema.Int;
2406
+ readonly networkAccess: Schema.Literals<readonly ["blocked", "provider-enabled"]>;
2407
+ readonly sandbox: Schema.Literal<"sbx">;
2408
+ }, "Iso">;
2409
+ readonly requestedAt: import("effect/DateTime").Utc;
2410
+ readonly activity: Schema.Struct.ReadonlySide<{
2411
+ readonly events: Schema.$Array<Schema.String>;
2412
+ readonly truncated: Schema.Boolean;
2413
+ }, "Iso">;
2414
+ readonly startedAt?: import("effect/DateTime").Utc | null;
2415
+ readonly budgetMillis?: number;
2416
+ readonly budgetExtensionCount?: number;
2417
+ }>, Schema.TaggedStruct<"pending", {
2418
+ readonly state: Schema.Literals<readonly ["queued", "running", "cancel-requested"]>;
2419
+ readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
2420
+ readonly providerId: Schema.brand<Schema.String, "DurableAgentProviderId">;
2421
+ readonly model: Schema.brand<Schema.String, "AgentModelId">;
2422
+ readonly reviewProfile: Schema.Struct<{
2423
+ readonly profileId: Schema.brand<Schema.String, "ReviewAgentProfileId">;
2424
+ readonly label: Schema.String;
2425
+ readonly budgetMillis: Schema.Int;
2426
+ readonly networkAccess: Schema.Literals<readonly ["blocked", "provider-enabled"]>;
2427
+ readonly sandbox: Schema.Literal<"sbx">;
2428
+ }>;
2429
+ readonly activity: Schema.Struct<{
2430
+ readonly events: Schema.$Array<Schema.String>;
2431
+ readonly truncated: Schema.Boolean;
2432
+ }>;
2433
+ readonly budgetMillis: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
2434
+ readonly budgetExtensionCount: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.Int>, never>>;
2435
+ readonly startedAt: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.optionalKey<Schema.NullOr<Schema.DateTimeUtcFromString>>, never>>;
2436
+ readonly requestedAt: Schema.DateTimeUtcFromString;
2437
+ readonly subject: Schema.Struct<{
2438
+ readonly providerId: Schema.Literal<"codecommit">;
2439
+ readonly repository: Schema.String;
2440
+ readonly pullRequestId: Schema.String;
2441
+ readonly baseRevision: Schema.String;
2442
+ readonly headRevision: Schema.String;
2443
+ }>;
2444
+ }>, 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
2445
  readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
1937
2446
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1938
2447
  readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
1939
2448
  }>>, never, Schema.toCodecJson<Schema.Struct<{
1940
2449
  readonly expectedRevisionId: Schema.brand<Schema.String, "PrReviewSuggestionRevisionId">;
1941
2450
  readonly expectedSequence: Schema.brand<Schema.Int, "PrReviewSuggestionRevisionSequence">;
2451
+ readonly reason: Schema.Literals<readonly ["false-positive", "not-applicable", "accepted-risk", "duplicate", "other"]>;
1942
2452
  }>>, 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
2453
  readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
1944
2454
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1945
2455
  readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
1946
2456
  }>>, Schema.toCodecStringTree<Schema.Struct<{
1947
2457
  readonly revisionId: Schema.brand<Schema.String, "PrReviewSuggestionRevisionId">;
2458
+ readonly operation: Schema.optionalKey<Schema.Literals<readonly ["create", "update", "reply"]>>;
2459
+ readonly commentId: Schema.optionalKey<Schema.String>;
1948
2460
  }>>, 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
2461
  readonly entityId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">;
1950
2462
  }>>, never, Schema.toCodecJson<Schema.Struct<{
2463
+ readonly operation: Schema.optionalKey<Schema.Literals<readonly ["create", "update", "reply"]>>;
2464
+ readonly commentId: Schema.optionalKey<Schema.String>;
1951
2465
  readonly finalContent: Schema.String;
1952
2466
  readonly authorityBinding: Schema.brand<Schema.String, "ReviewSuggestionPublicationAuthorityBinding">;
1953
2467
  readonly jobId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "JobId">;
1954
2468
  readonly suggestionId: Schema.brand<Schema.String, "PrReviewSuggestionId">;
1955
2469
  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>, false>;
2470
+ }>>, 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<{
2471
+ releaseId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ReleaseId">;
2472
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
2473
+ readonly provider: Schema.Literals<readonly ["jira", "confluence"]>;
2474
+ readonly title: Schema.String;
2475
+ readonly markdown: Schema.String;
2476
+ readonly parentId: Schema.NullOr<Schema.String>;
2477
+ readonly publicationActionId: Schema.optionalKey<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">>;
2478
+ /** Exact synchronized Confluence page selected before its first governed release update. */
2479
+ readonly targetEntityId: Schema.optionalKey<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">>;
2480
+ /** Revision displayed to the owner before an exact-page update is submitted. */
2481
+ readonly targetRevision: Schema.optionalKey<Schema.brand<Schema.String, "Revision">>;
2482
+ /** Existing synchronized Confluence page copied into a new release-owned page. */
2483
+ readonly templateEntityId: Schema.optionalKey<Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "EntityId">>;
2484
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
2485
+ readonly actionId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "GovernedActionId">;
2486
+ readonly state: Schema.Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
2487
+ }>>, Schema.toCodecJson<typeof InvalidRequestApiError | typeof UnauthorizedApiError | typeof ForbiddenApiError | typeof ConflictApiError | typeof ServiceUnavailableApiError>, SessionCookieAuth | SessionMutationAuth, never>, false>;
1957
2488
  /** Authenticated release-aware synchronous and durable agent contract. */
1958
2489
  export declare class AgentApiGroup extends AgentApiGroup_base {
1959
2490
  }