@xemahq/agent-session-api-client 0.1.2

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 (418) hide show
  1. package/LICENSE +201 -0
  2. package/dist/custom-fetch.d.ts +52 -0
  3. package/dist/custom-fetch.js +152 -0
  4. package/dist/endpoints/health/health.d.ts +15 -0
  5. package/dist/endpoints/health/health.js +53 -0
  6. package/dist/endpoints/internal/internal.d.ts +82 -0
  7. package/dist/endpoints/internal/internal.js +226 -0
  8. package/dist/endpoints/internal-session-dispatch/internal-session-dispatch.d.ts +20 -0
  9. package/dist/endpoints/internal-session-dispatch/internal-session-dispatch.js +38 -0
  10. package/dist/endpoints/output-surface-inspect/output-surface-inspect.d.ts +18 -0
  11. package/dist/endpoints/output-surface-inspect/output-surface-inspect.js +36 -0
  12. package/dist/endpoints/output-surfaces/output-surfaces.d.ts +43 -0
  13. package/dist/endpoints/output-surfaces/output-surfaces.js +142 -0
  14. package/dist/endpoints/sandbox-sessions/sandbox-sessions.d.ts +43 -0
  15. package/dist/endpoints/sandbox-sessions/sandbox-sessions.js +127 -0
  16. package/dist/endpoints/session-attachments/session-attachments.d.ts +23 -0
  17. package/dist/endpoints/session-attachments/session-attachments.js +48 -0
  18. package/dist/endpoints/session-blob-attachments/session-blob-attachments.d.ts +13 -0
  19. package/dist/endpoints/session-blob-attachments/session-blob-attachments.js +18 -0
  20. package/dist/endpoints/session-participants/session-participants.d.ts +28 -0
  21. package/dist/endpoints/session-participants/session-participants.js +64 -0
  22. package/dist/endpoints/sessions/sessions.d.ts +243 -0
  23. package/dist/endpoints/sessions/sessions.js +812 -0
  24. package/dist/endpoints/threads/threads.d.ts +48 -0
  25. package/dist/endpoints/threads/threads.js +158 -0
  26. package/dist/index.d.ts +13 -0
  27. package/dist/index.js +35 -0
  28. package/dist/models/addAttachmentDto.d.ts +20 -0
  29. package/dist/models/addAttachmentDto.js +2 -0
  30. package/dist/models/attachSkillDto.d.ts +10 -0
  31. package/dist/models/attachSkillDto.js +9 -0
  32. package/dist/models/attachmentClass.d.ts +16 -0
  33. package/dist/models/attachmentClass.js +18 -0
  34. package/dist/models/attachmentResponseDto.d.ts +27 -0
  35. package/dist/models/attachmentResponseDto.js +2 -0
  36. package/dist/models/attachmentResponseDtoDataArrayEnvelope.d.ts +11 -0
  37. package/dist/models/attachmentResponseDtoDataArrayEnvelope.js +2 -0
  38. package/dist/models/attachmentResponseDtoDataEnvelope.d.ts +11 -0
  39. package/dist/models/attachmentResponseDtoDataEnvelope.js +2 -0
  40. package/dist/models/attachmentUploadInitResponseDto.d.ts +20 -0
  41. package/dist/models/attachmentUploadInitResponseDto.js +2 -0
  42. package/dist/models/attachmentUploadInitResponseDtoDataEnvelope.d.ts +11 -0
  43. package/dist/models/attachmentUploadInitResponseDtoDataEnvelope.js +2 -0
  44. package/dist/models/attachmentUploadInitResponseDtoRequiredHeaders.d.ts +13 -0
  45. package/dist/models/attachmentUploadInitResponseDtoRequiredHeaders.js +9 -0
  46. package/dist/models/branchStrategy.d.ts +13 -0
  47. package/dist/models/branchStrategy.js +15 -0
  48. package/dist/models/buildImageResultDto.d.ts +15 -0
  49. package/dist/models/buildImageResultDto.js +9 -0
  50. package/dist/models/buildImageStartedResponseDto.d.ts +17 -0
  51. package/dist/models/buildImageStartedResponseDto.js +9 -0
  52. package/dist/models/buildImageStartedResponseDtoDataEnvelope.d.ts +11 -0
  53. package/dist/models/buildImageStartedResponseDtoDataEnvelope.js +2 -0
  54. package/dist/models/buildImageStatusResponseDto.d.ts +22 -0
  55. package/dist/models/buildImageStatusResponseDto.js +2 -0
  56. package/dist/models/buildImageStatusResponseDtoDataEnvelope.d.ts +11 -0
  57. package/dist/models/buildImageStatusResponseDtoDataEnvelope.js +2 -0
  58. package/dist/models/buildImageStatusResponseDtoFailureMessage.d.ts +14 -0
  59. package/dist/models/buildImageStatusResponseDtoFailureMessage.js +9 -0
  60. package/dist/models/buildImageStatusResponseDtoStatus.d.ts +20 -0
  61. package/dist/models/buildImageStatusResponseDtoStatus.js +22 -0
  62. package/dist/models/changeSessionModelDto.d.ts +15 -0
  63. package/dist/models/changeSessionModelDto.js +2 -0
  64. package/dist/models/changeSessionModelDtoSelection.d.ts +14 -0
  65. package/dist/models/changeSessionModelDtoSelection.js +9 -0
  66. package/dist/models/changeSessionToolsDto.d.ts +13 -0
  67. package/dist/models/changeSessionToolsDto.js +2 -0
  68. package/dist/models/createAndRunDispatchDto.d.ts +24 -0
  69. package/dist/models/createAndRunDispatchDto.js +2 -0
  70. package/dist/models/createAndRunDispatchDtoMode.d.ts +14 -0
  71. package/dist/models/createAndRunDispatchDtoMode.js +13 -0
  72. package/dist/models/createSandboxSessionDto.d.ts +26 -0
  73. package/dist/models/createSandboxSessionDto.js +2 -0
  74. package/dist/models/createThreadDto.d.ts +16 -0
  75. package/dist/models/createThreadDto.js +9 -0
  76. package/dist/models/dispatchEnvelopeDto.d.ts +21 -0
  77. package/dist/models/dispatchEnvelopeDto.js +2 -0
  78. package/dist/models/dispatchPromptContextDto.d.ts +15 -0
  79. package/dist/models/dispatchPromptContextDto.js +9 -0
  80. package/dist/models/environmentDriftDetectedPayloadDto.d.ts +16 -0
  81. package/dist/models/environmentDriftDetectedPayloadDto.js +2 -0
  82. package/dist/models/environmentDriftEntryDto.d.ts +21 -0
  83. package/dist/models/environmentDriftEntryDto.js +2 -0
  84. package/dist/models/environmentDriftEntryDtoAfter.d.ts +13 -0
  85. package/dist/models/environmentDriftEntryDtoAfter.js +9 -0
  86. package/dist/models/environmentDriftEntryDtoBefore.d.ts +13 -0
  87. package/dist/models/environmentDriftEntryDtoBefore.js +9 -0
  88. package/dist/models/errorDetailsDto.d.ts +12 -0
  89. package/dist/models/errorDetailsDto.js +2 -0
  90. package/dist/models/errorDetailsDtoDetails.d.ts +13 -0
  91. package/dist/models/errorDetailsDtoDetails.js +9 -0
  92. package/dist/models/errorPayloadDto.d.ts +13 -0
  93. package/dist/models/errorPayloadDto.js +2 -0
  94. package/dist/models/errorResponseDto.d.ts +11 -0
  95. package/dist/models/errorResponseDto.js +2 -0
  96. package/dist/models/externalInviteDeliveryMode.d.ts +15 -0
  97. package/dist/models/externalInviteDeliveryMode.js +14 -0
  98. package/dist/models/gitCommitEntryDto.d.ts +14 -0
  99. package/dist/models/gitCommitEntryDto.js +9 -0
  100. package/dist/models/gitCommitEntryDtoDataArrayEnvelope.d.ts +11 -0
  101. package/dist/models/gitCommitEntryDtoDataArrayEnvelope.js +2 -0
  102. package/dist/models/gitCommitResponseDto.d.ts +11 -0
  103. package/dist/models/gitCommitResponseDto.js +9 -0
  104. package/dist/models/gitCommitResponseDtoDataEnvelope.d.ts +11 -0
  105. package/dist/models/gitCommitResponseDtoDataEnvelope.js +2 -0
  106. package/dist/models/gitStatusResponseDto.d.ts +17 -0
  107. package/dist/models/gitStatusResponseDto.js +2 -0
  108. package/dist/models/gitStatusResponseDtoDataEnvelope.d.ts +11 -0
  109. package/dist/models/gitStatusResponseDtoDataEnvelope.js +2 -0
  110. package/dist/models/index.d.ts +194 -0
  111. package/dist/models/index.js +211 -0
  112. package/dist/models/initAttachmentUploadDto.d.ts +18 -0
  113. package/dist/models/initAttachmentUploadDto.js +9 -0
  114. package/dist/models/inputsAppendEnvelopeDto.d.ts +19 -0
  115. package/dist/models/inputsAppendEnvelopeDto.js +9 -0
  116. package/dist/models/inspectStepResultDto.d.ts +16 -0
  117. package/dist/models/inspectStepResultDto.js +2 -0
  118. package/dist/models/inspectStepResultDtoData.d.ts +10 -0
  119. package/dist/models/inspectStepResultDtoData.js +9 -0
  120. package/dist/models/inspectStepResultDtoKind.d.ts +25 -0
  121. package/dist/models/inspectStepResultDtoKind.js +27 -0
  122. package/dist/models/inspectStepResultDtoStatus.d.ts +17 -0
  123. package/dist/models/inspectStepResultDtoStatus.js +19 -0
  124. package/dist/models/invitableParticipantRole.d.ts +15 -0
  125. package/dist/models/invitableParticipantRole.js +14 -0
  126. package/dist/models/inviteExternalDto.d.ts +18 -0
  127. package/dist/models/inviteExternalDto.js +2 -0
  128. package/dist/models/inviteParticipantDto.d.ts +16 -0
  129. package/dist/models/inviteParticipantDto.js +2 -0
  130. package/dist/models/invitedExternalParticipantResponseDto.d.ts +17 -0
  131. package/dist/models/invitedExternalParticipantResponseDto.js +9 -0
  132. package/dist/models/invitedExternalParticipantResponseDtoDataEnvelope.d.ts +11 -0
  133. package/dist/models/invitedExternalParticipantResponseDtoDataEnvelope.js +2 -0
  134. package/dist/models/kBPushResponseDto.d.ts +13 -0
  135. package/dist/models/kBPushResponseDto.js +9 -0
  136. package/dist/models/kBPushResponseDtoDataEnvelope.d.ts +11 -0
  137. package/dist/models/kBPushResponseDtoDataEnvelope.js +2 -0
  138. package/dist/models/kbMountsResponseDto.d.ts +14 -0
  139. package/dist/models/kbMountsResponseDto.js +2 -0
  140. package/dist/models/kbMountsResponseDtoDataEnvelope.d.ts +11 -0
  141. package/dist/models/kbMountsResponseDtoDataEnvelope.js +2 -0
  142. package/dist/models/kbPageMountDto.d.ts +13 -0
  143. package/dist/models/kbPageMountDto.js +9 -0
  144. package/dist/models/launchFailRequestDto.d.ts +19 -0
  145. package/dist/models/launchFailRequestDto.js +9 -0
  146. package/dist/models/launchStepRequestDto.d.ts +15 -0
  147. package/dist/models/launchStepRequestDto.js +9 -0
  148. package/dist/models/listSessionParticipantsResponseDto.d.ts +11 -0
  149. package/dist/models/listSessionParticipantsResponseDto.js +2 -0
  150. package/dist/models/listSessionParticipantsResponseDtoDataEnvelope.d.ts +11 -0
  151. package/dist/models/listSessionParticipantsResponseDtoDataEnvelope.js +2 -0
  152. package/dist/models/mergeCheckResponseDto.d.ts +13 -0
  153. package/dist/models/mergeCheckResponseDto.js +9 -0
  154. package/dist/models/mergeCheckResponseDtoDataEnvelope.d.ts +11 -0
  155. package/dist/models/mergeCheckResponseDtoDataEnvelope.js +2 -0
  156. package/dist/models/messageResponseDto.d.ts +24 -0
  157. package/dist/models/messageResponseDto.js +2 -0
  158. package/dist/models/messageResponseDtoMetadata.d.ts +14 -0
  159. package/dist/models/messageResponseDtoMetadata.js +9 -0
  160. package/dist/models/messageResponseDtoPaginatedEnvelope.d.ts +13 -0
  161. package/dist/models/messageResponseDtoPaginatedEnvelope.js +2 -0
  162. package/dist/models/outputSurfaceAppResponseDto.d.ts +48 -0
  163. package/dist/models/outputSurfaceAppResponseDto.js +2 -0
  164. package/dist/models/outputSurfaceAppResponseDtoDataArrayEnvelope.d.ts +11 -0
  165. package/dist/models/outputSurfaceAppResponseDtoDataArrayEnvelope.js +2 -0
  166. package/dist/models/outputSurfaceAppResponseDtoDataEnvelope.d.ts +11 -0
  167. package/dist/models/outputSurfaceAppResponseDtoDataEnvelope.js +2 -0
  168. package/dist/models/outputSurfaceAppStatus.d.ts +18 -0
  169. package/dist/models/outputSurfaceAppStatus.js +20 -0
  170. package/dist/models/outputSurfaceControllerRestartParams.d.ts +11 -0
  171. package/dist/models/outputSurfaceControllerRestartParams.js +2 -0
  172. package/dist/models/outputSurfaceControllerScanParams.d.ts +11 -0
  173. package/dist/models/outputSurfaceControllerScanParams.js +2 -0
  174. package/dist/models/outputSurfaceRemediationKindInput.d.ts +17 -0
  175. package/dist/models/outputSurfaceRemediationKindInput.js +16 -0
  176. package/dist/models/outputSurfaceRestartMode.d.ts +13 -0
  177. package/dist/models/outputSurfaceRestartMode.js +15 -0
  178. package/dist/models/paginationMeta.d.ts +18 -0
  179. package/dist/models/paginationMeta.js +9 -0
  180. package/dist/models/participantRole.d.ts +16 -0
  181. package/dist/models/participantRole.js +15 -0
  182. package/dist/models/participantSubjectKind.d.ts +15 -0
  183. package/dist/models/participantSubjectKind.js +14 -0
  184. package/dist/models/projectKind.d.ts +24 -0
  185. package/dist/models/projectKind.js +26 -0
  186. package/dist/models/providerEntryDto.d.ts +14 -0
  187. package/dist/models/providerEntryDto.js +2 -0
  188. package/dist/models/providerEntryDtoKind.d.ts +11 -0
  189. package/dist/models/providerEntryDtoKind.js +13 -0
  190. package/dist/models/pullRequestResponseDto.d.ts +12 -0
  191. package/dist/models/pullRequestResponseDto.js +2 -0
  192. package/dist/models/pullRequestResponseDtoDataEnvelope.d.ts +11 -0
  193. package/dist/models/pullRequestResponseDtoDataEnvelope.js +2 -0
  194. package/dist/models/pullRequestResponseDtoPrUrl.d.ts +10 -0
  195. package/dist/models/pullRequestResponseDtoPrUrl.js +9 -0
  196. package/dist/models/pushDocumentEditDto.d.ts +11 -0
  197. package/dist/models/pushDocumentEditDto.js +9 -0
  198. package/dist/models/reasoningDeltaPayloadDto.d.ts +11 -0
  199. package/dist/models/reasoningDeltaPayloadDto.js +9 -0
  200. package/dist/models/referenceAttachmentClass.d.ts +18 -0
  201. package/dist/models/referenceAttachmentClass.js +17 -0
  202. package/dist/models/remediateOutputSurfaceDto.d.ts +14 -0
  203. package/dist/models/remediateOutputSurfaceDto.js +2 -0
  204. package/dist/models/remediateOutputSurfaceResponseDto.d.ts +13 -0
  205. package/dist/models/remediateOutputSurfaceResponseDto.js +9 -0
  206. package/dist/models/remediateOutputSurfaceResponseDtoDataEnvelope.d.ts +11 -0
  207. package/dist/models/remediateOutputSurfaceResponseDtoDataEnvelope.js +2 -0
  208. package/dist/models/repoGitStatusDto.d.ts +25 -0
  209. package/dist/models/repoGitStatusDto.js +2 -0
  210. package/dist/models/repoRole.d.ts +15 -0
  211. package/dist/models/repoRole.js +14 -0
  212. package/dist/models/reportInspectPresenceDto.d.ts +21 -0
  213. package/dist/models/reportInspectPresenceDto.js +2 -0
  214. package/dist/models/reportInspectPresenceDtoKind.d.ts +15 -0
  215. package/dist/models/reportInspectPresenceDtoKind.js +17 -0
  216. package/dist/models/reportInspectPresenceDtoReason.d.ts +15 -0
  217. package/dist/models/reportInspectPresenceDtoReason.js +14 -0
  218. package/dist/models/reportInspectResultDto.d.ts +13 -0
  219. package/dist/models/reportInspectResultDto.js +2 -0
  220. package/dist/models/resumeAndRunDispatchDto.d.ts +19 -0
  221. package/dist/models/resumeAndRunDispatchDto.js +2 -0
  222. package/dist/models/resumeAndRunDispatchDtoMode.d.ts +14 -0
  223. package/dist/models/resumeAndRunDispatchDtoMode.js +13 -0
  224. package/dist/models/resumeSessionDto.d.ts +14 -0
  225. package/dist/models/resumeSessionDto.js +9 -0
  226. package/dist/models/revisionInputDto.d.ts +13 -0
  227. package/dist/models/revisionInputDto.js +9 -0
  228. package/dist/models/rotateTokenResponseDto.d.ts +12 -0
  229. package/dist/models/rotateTokenResponseDto.js +9 -0
  230. package/dist/models/rotateTokenResponseDtoDataEnvelope.d.ts +11 -0
  231. package/dist/models/rotateTokenResponseDtoDataEnvelope.js +2 -0
  232. package/dist/models/runBackfillBatchRequestDto.d.ts +22 -0
  233. package/dist/models/runBackfillBatchRequestDto.js +9 -0
  234. package/dist/models/runBackfillBatchResponseDto.d.ts +15 -0
  235. package/dist/models/runBackfillBatchResponseDto.js +9 -0
  236. package/dist/models/runSandboxEvalTurnDto.d.ts +11 -0
  237. package/dist/models/runSandboxEvalTurnDto.js +9 -0
  238. package/dist/models/sandboxEvalTurnResultDto.d.ts +19 -0
  239. package/dist/models/sandboxEvalTurnResultDto.js +9 -0
  240. package/dist/models/sandboxEvalTurnResultDtoDataEnvelope.d.ts +11 -0
  241. package/dist/models/sandboxEvalTurnResultDtoDataEnvelope.js +2 -0
  242. package/dist/models/sandboxSessionsControllerDeleteToolMocksParams.d.ts +13 -0
  243. package/dist/models/sandboxSessionsControllerDeleteToolMocksParams.js +9 -0
  244. package/dist/models/sandboxToolMockDto.d.ts +15 -0
  245. package/dist/models/sandboxToolMockDto.js +9 -0
  246. package/dist/models/sandboxToolMocksResponseDto.d.ts +13 -0
  247. package/dist/models/sandboxToolMocksResponseDto.js +9 -0
  248. package/dist/models/sandboxToolMocksResponseDtoDataEnvelope.d.ts +11 -0
  249. package/dist/models/sandboxToolMocksResponseDtoDataEnvelope.js +2 -0
  250. package/dist/models/sessionAttachmentStatus.d.ts +16 -0
  251. package/dist/models/sessionAttachmentStatus.js +15 -0
  252. package/dist/models/sessionBlobAttachmentDto.d.ts +18 -0
  253. package/dist/models/sessionBlobAttachmentDto.js +2 -0
  254. package/dist/models/sessionBlobAttachmentDtoDataArrayEnvelope.d.ts +11 -0
  255. package/dist/models/sessionBlobAttachmentDtoDataArrayEnvelope.js +2 -0
  256. package/dist/models/sessionBlobAttachmentDtoRequiredHeaders.d.ts +13 -0
  257. package/dist/models/sessionBlobAttachmentDtoRequiredHeaders.js +9 -0
  258. package/dist/models/sessionContextWindowSnapshotDto.d.ts +31 -0
  259. package/dist/models/sessionContextWindowSnapshotDto.js +9 -0
  260. package/dist/models/sessionDebugCompositionNodeDto.d.ts +20 -0
  261. package/dist/models/sessionDebugCompositionNodeDto.js +9 -0
  262. package/dist/models/sessionDebugInfoDto.d.ts +38 -0
  263. package/dist/models/sessionDebugInfoDto.js +2 -0
  264. package/dist/models/sessionDebugInfoDtoDataEnvelope.d.ts +11 -0
  265. package/dist/models/sessionDebugInfoDtoDataEnvelope.js +2 -0
  266. package/dist/models/sessionDebugInfoDtoMountPlan.d.ts +14 -0
  267. package/dist/models/sessionDebugInfoDtoMountPlan.js +9 -0
  268. package/dist/models/sessionDebugModelDecisionDto.d.ts +27 -0
  269. package/dist/models/sessionDebugModelDecisionDto.js +9 -0
  270. package/dist/models/sessionDebugSkillDto.d.ts +23 -0
  271. package/dist/models/sessionDebugSkillDto.js +2 -0
  272. package/dist/models/sessionDebugSkillDtoSnapshot.d.ts +14 -0
  273. package/dist/models/sessionDebugSkillDtoSnapshot.js +9 -0
  274. package/dist/models/sessionKind.d.ts +15 -0
  275. package/dist/models/sessionKind.js +14 -0
  276. package/dist/models/sessionLockfileDto.d.ts +29 -0
  277. package/dist/models/sessionLockfileDto.js +2 -0
  278. package/dist/models/sessionLockfileDtoAgents.d.ts +13 -0
  279. package/dist/models/sessionLockfileDtoAgents.js +9 -0
  280. package/dist/models/sessionLockfileDtoBiomes.d.ts +13 -0
  281. package/dist/models/sessionLockfileDtoBiomes.js +9 -0
  282. package/dist/models/sessionLockfileDtoCapabilities.d.ts +13 -0
  283. package/dist/models/sessionLockfileDtoCapabilities.js +9 -0
  284. package/dist/models/sessionLockfileDtoDataEnvelope.d.ts +11 -0
  285. package/dist/models/sessionLockfileDtoDataEnvelope.js +2 -0
  286. package/dist/models/sessionLockfileDtoDeliverableSpecs.d.ts +13 -0
  287. package/dist/models/sessionLockfileDtoDeliverableSpecs.js +9 -0
  288. package/dist/models/sessionLockfileDtoSkills.d.ts +13 -0
  289. package/dist/models/sessionLockfileDtoSkills.js +9 -0
  290. package/dist/models/sessionLockfileDtoWorkflows.d.ts +13 -0
  291. package/dist/models/sessionLockfileDtoWorkflows.js +9 -0
  292. package/dist/models/sessionMessageRole.d.ts +14 -0
  293. package/dist/models/sessionMessageRole.js +16 -0
  294. package/dist/models/sessionParticipantDto.d.ts +29 -0
  295. package/dist/models/sessionParticipantDto.js +2 -0
  296. package/dist/models/sessionParticipantDtoDataEnvelope.d.ts +11 -0
  297. package/dist/models/sessionParticipantDtoDataEnvelope.js +2 -0
  298. package/dist/models/sessionPauseReason.d.ts +15 -0
  299. package/dist/models/sessionPauseReason.js +14 -0
  300. package/dist/models/sessionProvisioningPhase.d.ts +24 -0
  301. package/dist/models/sessionProvisioningPhase.js +23 -0
  302. package/dist/models/sessionResponseDto.d.ts +134 -0
  303. package/dist/models/sessionResponseDto.js +2 -0
  304. package/dist/models/sessionResponseDtoDataEnvelope.d.ts +11 -0
  305. package/dist/models/sessionResponseDtoDataEnvelope.js +2 -0
  306. package/dist/models/sessionResponseDtoFailureMetaJson.d.ts +14 -0
  307. package/dist/models/sessionResponseDtoFailureMetaJson.js +9 -0
  308. package/dist/models/sessionResponseDtoHandoffOutput.d.ts +14 -0
  309. package/dist/models/sessionResponseDtoHandoffOutput.js +9 -0
  310. package/dist/models/sessionResponseDtoModelSelection.d.ts +14 -0
  311. package/dist/models/sessionResponseDtoModelSelection.js +9 -0
  312. package/dist/models/sessionResponseDtoPaginatedEnvelope.d.ts +13 -0
  313. package/dist/models/sessionResponseDtoPaginatedEnvelope.js +2 -0
  314. package/dist/models/sessionResponseDtoToolSelectionItem.d.ts +10 -0
  315. package/dist/models/sessionResponseDtoToolSelectionItem.js +9 -0
  316. package/dist/models/sessionStatus.d.ts +19 -0
  317. package/dist/models/sessionStatus.js +21 -0
  318. package/dist/models/sessionTimelineEntryDto.d.ts +23 -0
  319. package/dist/models/sessionTimelineEntryDto.js +2 -0
  320. package/dist/models/sessionTimelineEntryDtoEventType.d.ts +69 -0
  321. package/dist/models/sessionTimelineEntryDtoEventType.js +68 -0
  322. package/dist/models/sessionTimelineEntryDtoPayload.d.ts +17 -0
  323. package/dist/models/sessionTimelineEntryDtoPayload.js +2 -0
  324. package/dist/models/sessionTimelinePageDto.d.ts +16 -0
  325. package/dist/models/sessionTimelinePageDto.js +2 -0
  326. package/dist/models/sessionTimelinePageDtoDataEnvelope.d.ts +11 -0
  327. package/dist/models/sessionTimelinePageDtoDataEnvelope.js +2 -0
  328. package/dist/models/sessionTokenUsageDto.d.ts +11 -0
  329. package/dist/models/sessionTokenUsageDto.js +9 -0
  330. package/dist/models/sessionsControllerGetCommitHistoryParams.d.ts +13 -0
  331. package/dist/models/sessionsControllerGetCommitHistoryParams.js +9 -0
  332. package/dist/models/sessionsControllerGetGitDiffParams.d.ts +17 -0
  333. package/dist/models/sessionsControllerGetGitDiffParams.js +9 -0
  334. package/dist/models/sessionsControllerListFilesParams.d.ts +13 -0
  335. package/dist/models/sessionsControllerListFilesParams.js +9 -0
  336. package/dist/models/sessionsControllerListParams.d.ts +45 -0
  337. package/dist/models/sessionsControllerListParams.js +9 -0
  338. package/dist/models/sessionsControllerListTemplatesParams.d.ts +11 -0
  339. package/dist/models/sessionsControllerListTemplatesParams.js +9 -0
  340. package/dist/models/sessionsControllerMergeCheckParams.d.ts +13 -0
  341. package/dist/models/sessionsControllerMergeCheckParams.js +9 -0
  342. package/dist/models/sessionsControllerStreamEventsParams.d.ts +13 -0
  343. package/dist/models/sessionsControllerStreamEventsParams.js +9 -0
  344. package/dist/models/setSandboxToolMocksDto.d.ts +12 -0
  345. package/dist/models/setSandboxToolMocksDto.js +2 -0
  346. package/dist/models/shareAccessLevel.d.ts +14 -0
  347. package/dist/models/shareAccessLevel.js +13 -0
  348. package/dist/models/shareResponseDto.d.ts +21 -0
  349. package/dist/models/shareResponseDto.js +2 -0
  350. package/dist/models/shareResponseDtoDataEnvelope.d.ts +11 -0
  351. package/dist/models/shareResponseDtoDataEnvelope.js +2 -0
  352. package/dist/models/shareResponseDtoExpiresAt.d.ts +14 -0
  353. package/dist/models/shareResponseDtoExpiresAt.js +9 -0
  354. package/dist/models/startBuildImageDto.d.ts +16 -0
  355. package/dist/models/startBuildImageDto.js +9 -0
  356. package/dist/models/sweeperTickResponseDto.d.ts +13 -0
  357. package/dist/models/sweeperTickResponseDto.js +9 -0
  358. package/dist/models/templateResponseDto.d.ts +33 -0
  359. package/dist/models/templateResponseDto.js +2 -0
  360. package/dist/models/templateResponseDtoBudgetLimit.d.ts +10 -0
  361. package/dist/models/templateResponseDtoBudgetLimit.js +9 -0
  362. package/dist/models/templateResponseDtoCustomConfig.d.ts +14 -0
  363. package/dist/models/templateResponseDtoCustomConfig.js +9 -0
  364. package/dist/models/templateResponseDtoDataEnvelope.d.ts +11 -0
  365. package/dist/models/templateResponseDtoDataEnvelope.js +2 -0
  366. package/dist/models/templateResponseDtoDescription.d.ts +10 -0
  367. package/dist/models/templateResponseDtoDescription.js +9 -0
  368. package/dist/models/templateResponseDtoPaginatedEnvelope.d.ts +13 -0
  369. package/dist/models/templateResponseDtoPaginatedEnvelope.js +2 -0
  370. package/dist/models/templateResponseDtoRepositoryId.d.ts +10 -0
  371. package/dist/models/templateResponseDtoRepositoryId.js +9 -0
  372. package/dist/models/textDeltaPayloadDto.d.ts +11 -0
  373. package/dist/models/textDeltaPayloadDto.js +9 -0
  374. package/dist/models/threadResponseDto.d.ts +35 -0
  375. package/dist/models/threadResponseDto.js +2 -0
  376. package/dist/models/threadResponseDtoDataArrayEnvelope.d.ts +11 -0
  377. package/dist/models/threadResponseDtoDataArrayEnvelope.js +2 -0
  378. package/dist/models/threadResponseDtoDataEnvelope.d.ts +11 -0
  379. package/dist/models/threadResponseDtoDataEnvelope.js +2 -0
  380. package/dist/models/threadResponseDtoModelSelection.d.ts +14 -0
  381. package/dist/models/threadResponseDtoModelSelection.js +9 -0
  382. package/dist/models/threadStatus.d.ts +12 -0
  383. package/dist/models/threadStatus.js +14 -0
  384. package/dist/models/threadsControllerGetMessagesParams.d.ts +17 -0
  385. package/dist/models/threadsControllerGetMessagesParams.js +9 -0
  386. package/dist/models/threadsControllerGetTimelineParams.d.ts +17 -0
  387. package/dist/models/threadsControllerGetTimelineParams.js +9 -0
  388. package/dist/models/toolCallPayloadDto.d.ts +18 -0
  389. package/dist/models/toolCallPayloadDto.js +2 -0
  390. package/dist/models/toolCallPayloadDtoStatus.d.ts +15 -0
  391. package/dist/models/toolCallPayloadDtoStatus.js +14 -0
  392. package/dist/models/toolEntryDto.d.ts +16 -0
  393. package/dist/models/toolEntryDto.js +2 -0
  394. package/dist/models/toolEntryDtoKind.d.ts +11 -0
  395. package/dist/models/toolEntryDtoKind.js +13 -0
  396. package/dist/models/toolProviderKind.d.ts +15 -0
  397. package/dist/models/toolProviderKind.js +17 -0
  398. package/dist/models/toolUsageEntryDto.d.ts +15 -0
  399. package/dist/models/toolUsageEntryDto.js +9 -0
  400. package/dist/models/toolUsageResponseDto.d.ts +14 -0
  401. package/dist/models/toolUsageResponseDto.js +2 -0
  402. package/dist/models/toolUsageResponseDtoDataEnvelope.d.ts +11 -0
  403. package/dist/models/toolUsageResponseDtoDataEnvelope.js +2 -0
  404. package/dist/models/turnState.d.ts +16 -0
  405. package/dist/models/turnState.js +15 -0
  406. package/dist/models/updateKbMountsDto.d.ts +14 -0
  407. package/dist/models/updateKbMountsDto.js +2 -0
  408. package/dist/models/updateThreadDto.d.ts +17 -0
  409. package/dist/models/updateThreadDto.js +2 -0
  410. package/dist/models/usageResponseDto.d.ts +18 -0
  411. package/dist/models/usageResponseDto.js +2 -0
  412. package/dist/models/usageResponseDtoBudgetLimit.d.ts +13 -0
  413. package/dist/models/usageResponseDtoBudgetLimit.js +9 -0
  414. package/dist/models/usageResponseDtoBudgetRatio.d.ts +13 -0
  415. package/dist/models/usageResponseDtoBudgetRatio.js +9 -0
  416. package/dist/models/usageResponseDtoDataEnvelope.d.ts +11 -0
  417. package/dist/models/usageResponseDtoDataEnvelope.js +2 -0
  418. package/package.json +18 -0
@@ -0,0 +1,226 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.internalSweepersControllerSandboxSessionTick = exports.getInternalSweepersControllerSandboxSessionTickUrl = exports.internalBackfillsControllerRunCompositionRefBatch = exports.getInternalBackfillsControllerRunCompositionRefBatchUrl = exports.internalSessionCheckpointControllerCheckpointTick = exports.getInternalSessionCheckpointControllerCheckpointTickUrl = exports.internalSessionLifecycleReconcileControllerReconcileTick = exports.getInternalSessionLifecycleReconcileControllerReconcileTickUrl = exports.internalSessionLifecycleStepControllerHibernateForcePause = exports.getInternalSessionLifecycleStepControllerHibernateForcePauseUrl = exports.internalSessionLifecycleStepControllerHibernateRun = exports.getInternalSessionLifecycleStepControllerHibernateRunUrl = exports.internalSessionLifecycleStepControllerResumeFail = exports.getInternalSessionLifecycleStepControllerResumeFailUrl = exports.internalSessionLifecycleStepControllerResumeRun = exports.getInternalSessionLifecycleStepControllerResumeRunUrl = exports.internalSessionLaunchControllerFail = exports.getInternalSessionLaunchControllerFailUrl = exports.internalSessionLaunchControllerFinalize = exports.getInternalSessionLaunchControllerFinalizeUrl = exports.internalSessionLaunchControllerApplyBootstrap = exports.getInternalSessionLaunchControllerApplyBootstrapUrl = exports.internalSessionLaunchControllerApplyControlBundle = exports.getInternalSessionLaunchControllerApplyControlBundleUrl = exports.internalSessionLaunchControllerAcquireWorker = exports.getInternalSessionLaunchControllerAcquireWorkerUrl = exports.internalSessionLaunchControllerResolveConfig = exports.getInternalSessionLaunchControllerResolveConfigUrl = void 0;
4
+ const custom_fetch_1 = require("../../custom-fetch");
5
+ /**
6
+ * @summary Launch step — resolve config (creating → provisioning)
7
+ */
8
+ const getInternalSessionLaunchControllerResolveConfigUrl = (sessionId) => {
9
+ return `/internal/sessions/${sessionId}/launch/resolve-config`;
10
+ };
11
+ exports.getInternalSessionLaunchControllerResolveConfigUrl = getInternalSessionLaunchControllerResolveConfigUrl;
12
+ const internalSessionLaunchControllerResolveConfig = async (sessionId, launchStepRequestDto, options) => {
13
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSessionLaunchControllerResolveConfigUrl)(sessionId), {
14
+ ...options,
15
+ method: 'POST',
16
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
17
+ body: JSON.stringify(launchStepRequestDto)
18
+ });
19
+ };
20
+ exports.internalSessionLaunchControllerResolveConfig = internalSessionLaunchControllerResolveConfig;
21
+ /**
22
+ * @summary Launch step — acquire the pool worker
23
+ */
24
+ const getInternalSessionLaunchControllerAcquireWorkerUrl = (sessionId) => {
25
+ return `/internal/sessions/${sessionId}/launch/acquire-worker`;
26
+ };
27
+ exports.getInternalSessionLaunchControllerAcquireWorkerUrl = getInternalSessionLaunchControllerAcquireWorkerUrl;
28
+ const internalSessionLaunchControllerAcquireWorker = async (sessionId, launchStepRequestDto, options) => {
29
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSessionLaunchControllerAcquireWorkerUrl)(sessionId), {
30
+ ...options,
31
+ method: 'POST',
32
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
33
+ body: JSON.stringify(launchStepRequestDto)
34
+ });
35
+ };
36
+ exports.internalSessionLaunchControllerAcquireWorker = internalSessionLaunchControllerAcquireWorker;
37
+ /**
38
+ * @summary Launch step — apply the per-session control bundle
39
+ */
40
+ const getInternalSessionLaunchControllerApplyControlBundleUrl = (sessionId) => {
41
+ return `/internal/sessions/${sessionId}/launch/apply-control-bundle`;
42
+ };
43
+ exports.getInternalSessionLaunchControllerApplyControlBundleUrl = getInternalSessionLaunchControllerApplyControlBundleUrl;
44
+ const internalSessionLaunchControllerApplyControlBundle = async (sessionId, launchStepRequestDto, options) => {
45
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSessionLaunchControllerApplyControlBundleUrl)(sessionId), {
46
+ ...options,
47
+ method: 'POST',
48
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
49
+ body: JSON.stringify(launchStepRequestDto)
50
+ });
51
+ };
52
+ exports.internalSessionLaunchControllerApplyControlBundle = internalSessionLaunchControllerApplyControlBundle;
53
+ /**
54
+ * @summary Launch step — apply the workspace bootstrap + provision phase
55
+ */
56
+ const getInternalSessionLaunchControllerApplyBootstrapUrl = (sessionId) => {
57
+ return `/internal/sessions/${sessionId}/launch/apply-bootstrap`;
58
+ };
59
+ exports.getInternalSessionLaunchControllerApplyBootstrapUrl = getInternalSessionLaunchControllerApplyBootstrapUrl;
60
+ const internalSessionLaunchControllerApplyBootstrap = async (sessionId, launchStepRequestDto, options) => {
61
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSessionLaunchControllerApplyBootstrapUrl)(sessionId), {
62
+ ...options,
63
+ method: 'POST',
64
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
65
+ body: JSON.stringify(launchStepRequestDto)
66
+ });
67
+ };
68
+ exports.internalSessionLaunchControllerApplyBootstrap = internalSessionLaunchControllerApplyBootstrap;
69
+ /**
70
+ * @summary Launch step — finalize (provisioning → active)
71
+ */
72
+ const getInternalSessionLaunchControllerFinalizeUrl = (sessionId) => {
73
+ return `/internal/sessions/${sessionId}/launch/finalize`;
74
+ };
75
+ exports.getInternalSessionLaunchControllerFinalizeUrl = getInternalSessionLaunchControllerFinalizeUrl;
76
+ const internalSessionLaunchControllerFinalize = async (sessionId, launchStepRequestDto, options) => {
77
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSessionLaunchControllerFinalizeUrl)(sessionId), {
78
+ ...options,
79
+ method: 'POST',
80
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
81
+ body: JSON.stringify(launchStepRequestDto)
82
+ });
83
+ };
84
+ exports.internalSessionLaunchControllerFinalize = internalSessionLaunchControllerFinalize;
85
+ /**
86
+ * @summary Launch compensation — release the allocation, drive the session to failed
87
+ */
88
+ const getInternalSessionLaunchControllerFailUrl = (sessionId) => {
89
+ return `/internal/sessions/${sessionId}/launch/fail`;
90
+ };
91
+ exports.getInternalSessionLaunchControllerFailUrl = getInternalSessionLaunchControllerFailUrl;
92
+ const internalSessionLaunchControllerFail = async (sessionId, launchFailRequestDto, options) => {
93
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSessionLaunchControllerFailUrl)(sessionId), {
94
+ ...options,
95
+ method: 'POST',
96
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
97
+ body: JSON.stringify(launchFailRequestDto)
98
+ });
99
+ };
100
+ exports.internalSessionLaunchControllerFail = internalSessionLaunchControllerFail;
101
+ /**
102
+ * @summary Resume step — re-acquire, restore, recovering → active
103
+ */
104
+ const getInternalSessionLifecycleStepControllerResumeRunUrl = (sessionId) => {
105
+ return `/internal/sessions/${sessionId}/resume/run`;
106
+ };
107
+ exports.getInternalSessionLifecycleStepControllerResumeRunUrl = getInternalSessionLifecycleStepControllerResumeRunUrl;
108
+ const internalSessionLifecycleStepControllerResumeRun = async (sessionId, launchStepRequestDto, options) => {
109
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSessionLifecycleStepControllerResumeRunUrl)(sessionId), {
110
+ ...options,
111
+ method: 'POST',
112
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
113
+ body: JSON.stringify(launchStepRequestDto)
114
+ });
115
+ };
116
+ exports.internalSessionLifecycleStepControllerResumeRun = internalSessionLifecycleStepControllerResumeRun;
117
+ /**
118
+ * @summary Resume compensation — roll the session back to paused
119
+ */
120
+ const getInternalSessionLifecycleStepControllerResumeFailUrl = (sessionId) => {
121
+ return `/internal/sessions/${sessionId}/resume/fail`;
122
+ };
123
+ exports.getInternalSessionLifecycleStepControllerResumeFailUrl = getInternalSessionLifecycleStepControllerResumeFailUrl;
124
+ const internalSessionLifecycleStepControllerResumeFail = async (sessionId, launchStepRequestDto, options) => {
125
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSessionLifecycleStepControllerResumeFailUrl)(sessionId), {
126
+ ...options,
127
+ method: 'POST',
128
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
129
+ body: JSON.stringify(launchStepRequestDto)
130
+ });
131
+ };
132
+ exports.internalSessionLifecycleStepControllerResumeFail = internalSessionLifecycleStepControllerResumeFail;
133
+ /**
134
+ * @summary Hibernate step — snapshot, release worker, active → paused
135
+ */
136
+ const getInternalSessionLifecycleStepControllerHibernateRunUrl = (sessionId) => {
137
+ return `/internal/sessions/${sessionId}/hibernate/run`;
138
+ };
139
+ exports.getInternalSessionLifecycleStepControllerHibernateRunUrl = getInternalSessionLifecycleStepControllerHibernateRunUrl;
140
+ const internalSessionLifecycleStepControllerHibernateRun = async (sessionId, launchStepRequestDto, options) => {
141
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSessionLifecycleStepControllerHibernateRunUrl)(sessionId), {
142
+ ...options,
143
+ method: 'POST',
144
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
145
+ body: JSON.stringify(launchStepRequestDto)
146
+ });
147
+ };
148
+ exports.internalSessionLifecycleStepControllerHibernateRun = internalSessionLifecycleStepControllerHibernateRun;
149
+ /**
150
+ * @summary Hibernate compensation — force-pause a session whose snapshot failed after retries exhausted (worker permanently dead). Transitions active → paused without a new snapshot so the idle monitor stops retrying.
151
+ */
152
+ const getInternalSessionLifecycleStepControllerHibernateForcePauseUrl = (sessionId) => {
153
+ return `/internal/sessions/${sessionId}/hibernate/force-pause`;
154
+ };
155
+ exports.getInternalSessionLifecycleStepControllerHibernateForcePauseUrl = getInternalSessionLifecycleStepControllerHibernateForcePauseUrl;
156
+ const internalSessionLifecycleStepControllerHibernateForcePause = async (sessionId, launchStepRequestDto, options) => {
157
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSessionLifecycleStepControllerHibernateForcePauseUrl)(sessionId), {
158
+ ...options,
159
+ method: 'POST',
160
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
161
+ body: JSON.stringify(launchStepRequestDto)
162
+ });
163
+ };
164
+ exports.internalSessionLifecycleStepControllerHibernateForcePause = internalSessionLifecycleStepControllerHibernateForcePause;
165
+ /**
166
+ * Service-to-service endpoint fired by the session-lifecycle-reconcile Temporal Schedule. (Re)starts launch workflows for sessions stranded in creating/provisioning.
167
+ * @summary Run one session-lifecycle reconcile sweep
168
+ */
169
+ const getInternalSessionLifecycleReconcileControllerReconcileTickUrl = () => {
170
+ return `/internal/session-lifecycle/reconcile-tick`;
171
+ };
172
+ exports.getInternalSessionLifecycleReconcileControllerReconcileTickUrl = getInternalSessionLifecycleReconcileControllerReconcileTickUrl;
173
+ const internalSessionLifecycleReconcileControllerReconcileTick = async (options) => {
174
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSessionLifecycleReconcileControllerReconcileTickUrl)(), {
175
+ ...options,
176
+ method: 'POST'
177
+ });
178
+ };
179
+ exports.internalSessionLifecycleReconcileControllerReconcileTick = internalSessionLifecycleReconcileControllerReconcileTick;
180
+ /**
181
+ * Service-to-service endpoint fired by the session-checkpoint Temporal Schedule. Snapshots every active session to blob storage for crash recovery; an all-sessions-failed sweep throws so the activity retries.
182
+ * @summary Run one session-checkpoint sweep
183
+ */
184
+ const getInternalSessionCheckpointControllerCheckpointTickUrl = () => {
185
+ return `/internal/session-checkpoint/checkpoint-tick`;
186
+ };
187
+ exports.getInternalSessionCheckpointControllerCheckpointTickUrl = getInternalSessionCheckpointControllerCheckpointTickUrl;
188
+ const internalSessionCheckpointControllerCheckpointTick = async (options) => {
189
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSessionCheckpointControllerCheckpointTickUrl)(), {
190
+ ...options,
191
+ method: 'POST'
192
+ });
193
+ };
194
+ exports.internalSessionCheckpointControllerCheckpointTick = internalSessionCheckpointControllerCheckpointTick;
195
+ /**
196
+ * Service-to-service endpoint fired by the backfillSessionCompositionRefWorkflow once per batch. Scans up to `batchSize` pre-Phase-6 sessions, ensures a Composition exists in llm-registry-api per content-bucket, and stamps `composition_ref` on each session. Idempotent: the SQL UPDATE is guarded by `composition_ref IS NULL` so a concurrent tick is a no-op.
197
+ * @summary Run one batch of the session-composition-ref backfill
198
+ */
199
+ const getInternalBackfillsControllerRunCompositionRefBatchUrl = () => {
200
+ return `/internal/backfills/session-composition-ref/run-batch`;
201
+ };
202
+ exports.getInternalBackfillsControllerRunCompositionRefBatchUrl = getInternalBackfillsControllerRunCompositionRefBatchUrl;
203
+ const internalBackfillsControllerRunCompositionRefBatch = async (runBackfillBatchRequestDto, options) => {
204
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalBackfillsControllerRunCompositionRefBatchUrl)(), {
205
+ ...options,
206
+ method: 'POST',
207
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
208
+ body: JSON.stringify(runBackfillBatchRequestDto)
209
+ });
210
+ };
211
+ exports.internalBackfillsControllerRunCompositionRefBatch = internalBackfillsControllerRunCompositionRefBatch;
212
+ /**
213
+ * Service-to-service endpoint fired by the sweeperSandboxSessionWorkflow Temporal Schedule. Disposes every live sandbox session whose `sandboxExpiresAt` has elapsed.
214
+ * @summary Run one sandbox-session TTL sweep
215
+ */
216
+ const getInternalSweepersControllerSandboxSessionTickUrl = () => {
217
+ return `/internal/sweepers/sandbox-session/tick`;
218
+ };
219
+ exports.getInternalSweepersControllerSandboxSessionTickUrl = getInternalSweepersControllerSandboxSessionTickUrl;
220
+ const internalSweepersControllerSandboxSessionTick = async (options) => {
221
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSweepersControllerSandboxSessionTickUrl)(), {
222
+ ...options,
223
+ method: 'POST'
224
+ });
225
+ };
226
+ exports.internalSweepersControllerSandboxSessionTick = internalSweepersControllerSandboxSessionTick;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Interactive Session API
5
+ * Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { DispatchEnvelopeDto, InputsAppendEnvelopeDto } from '../../models';
9
+ /**
10
+ * `create_and_run` mints a new Session row, waits for provisioning, drives one turn, then pauses. `resume_and_run` resumes an existing paused session, seeds `revisionInputs` into `/workspace/inputs/`, drives one turn, then pauses.
11
+ * @summary Dispatch one agent turn on a pipeline-owned session and pause afterward.
12
+ */
13
+ export declare const getInternalSessionDispatchControllerDispatchTurnUrl: () => string;
14
+ export declare const internalSessionDispatchControllerDispatchTurn: (dispatchEnvelopeDto: DispatchEnvelopeDto, options?: RequestInit) => Promise<void>;
15
+ /**
16
+ * Out-of-band write into a session's inputs slot. The session must have a live allocation — callers resume the session first. Used by UI uploads and integration tests that need to seed inputs without driving a turn.
17
+ * @summary Append one file into a live session's `/workspace/inputs/` slot.
18
+ */
19
+ export declare const getInternalSessionDispatchControllerAppendInputsUrl: (id: string) => string;
20
+ export declare const internalSessionDispatchControllerAppendInputs: (id: string, inputsAppendEnvelopeDto: InputsAppendEnvelopeDto, options?: RequestInit) => Promise<void>;
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.internalSessionDispatchControllerAppendInputs = exports.getInternalSessionDispatchControllerAppendInputsUrl = exports.internalSessionDispatchControllerDispatchTurn = exports.getInternalSessionDispatchControllerDispatchTurnUrl = void 0;
4
+ const custom_fetch_1 = require("../../custom-fetch");
5
+ /**
6
+ * `create_and_run` mints a new Session row, waits for provisioning, drives one turn, then pauses. `resume_and_run` resumes an existing paused session, seeds `revisionInputs` into `/workspace/inputs/`, drives one turn, then pauses.
7
+ * @summary Dispatch one agent turn on a pipeline-owned session and pause afterward.
8
+ */
9
+ const getInternalSessionDispatchControllerDispatchTurnUrl = () => {
10
+ return `/internal/sessions/dispatch`;
11
+ };
12
+ exports.getInternalSessionDispatchControllerDispatchTurnUrl = getInternalSessionDispatchControllerDispatchTurnUrl;
13
+ const internalSessionDispatchControllerDispatchTurn = async (dispatchEnvelopeDto, options) => {
14
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSessionDispatchControllerDispatchTurnUrl)(), {
15
+ ...options,
16
+ method: 'POST',
17
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
18
+ body: JSON.stringify(dispatchEnvelopeDto)
19
+ });
20
+ };
21
+ exports.internalSessionDispatchControllerDispatchTurn = internalSessionDispatchControllerDispatchTurn;
22
+ /**
23
+ * Out-of-band write into a session's inputs slot. The session must have a live allocation — callers resume the session first. Used by UI uploads and integration tests that need to seed inputs without driving a turn.
24
+ * @summary Append one file into a live session's `/workspace/inputs/` slot.
25
+ */
26
+ const getInternalSessionDispatchControllerAppendInputsUrl = (id) => {
27
+ return `/internal/sessions/${id}/inputs/append`;
28
+ };
29
+ exports.getInternalSessionDispatchControllerAppendInputsUrl = getInternalSessionDispatchControllerAppendInputsUrl;
30
+ const internalSessionDispatchControllerAppendInputs = async (id, inputsAppendEnvelopeDto, options) => {
31
+ return (0, custom_fetch_1.customFetch)((0, exports.getInternalSessionDispatchControllerAppendInputsUrl)(id), {
32
+ ...options,
33
+ method: 'POST',
34
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
35
+ body: JSON.stringify(inputsAppendEnvelopeDto)
36
+ });
37
+ };
38
+ exports.internalSessionDispatchControllerAppendInputs = internalSessionDispatchControllerAppendInputs;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Interactive Session API
5
+ * Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { ReportInspectPresenceDto, ReportInspectResultDto } from '../../models';
9
+ /**
10
+ * @summary Relay an Output Surface Inspector step result from the output surface iframe back to the broker.
11
+ */
12
+ export declare const getOutputSurfaceInspectControllerResultUrl: (id: string) => string;
13
+ export declare const outputSurfaceInspectControllerResult: (id: string, reportInspectResultDto: ReportInspectResultDto, options?: RequestInit) => Promise<unknown>;
14
+ /**
15
+ * @summary Report output-surface-tab presence and bridge lifecycle (attach / heartbeat / detach / hello / unloading).
16
+ */
17
+ export declare const getOutputSurfaceInspectControllerPresenceUrl: (id: string) => string;
18
+ export declare const outputSurfaceInspectControllerPresence: (id: string, reportInspectPresenceDto: ReportInspectPresenceDto, options?: RequestInit) => Promise<unknown>;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.outputSurfaceInspectControllerPresence = exports.getOutputSurfaceInspectControllerPresenceUrl = exports.outputSurfaceInspectControllerResult = exports.getOutputSurfaceInspectControllerResultUrl = void 0;
4
+ const custom_fetch_1 = require("../../custom-fetch");
5
+ /**
6
+ * @summary Relay an Output Surface Inspector step result from the output surface iframe back to the broker.
7
+ */
8
+ const getOutputSurfaceInspectControllerResultUrl = (id) => {
9
+ return `/sessions/${id}/output-surface-inspect/result`;
10
+ };
11
+ exports.getOutputSurfaceInspectControllerResultUrl = getOutputSurfaceInspectControllerResultUrl;
12
+ const outputSurfaceInspectControllerResult = async (id, reportInspectResultDto, options) => {
13
+ return (0, custom_fetch_1.customFetch)((0, exports.getOutputSurfaceInspectControllerResultUrl)(id), {
14
+ ...options,
15
+ method: 'POST',
16
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
17
+ body: JSON.stringify(reportInspectResultDto)
18
+ });
19
+ };
20
+ exports.outputSurfaceInspectControllerResult = outputSurfaceInspectControllerResult;
21
+ /**
22
+ * @summary Report output-surface-tab presence and bridge lifecycle (attach / heartbeat / detach / hello / unloading).
23
+ */
24
+ const getOutputSurfaceInspectControllerPresenceUrl = (id) => {
25
+ return `/sessions/${id}/output-surface-inspect/presence`;
26
+ };
27
+ exports.getOutputSurfaceInspectControllerPresenceUrl = getOutputSurfaceInspectControllerPresenceUrl;
28
+ const outputSurfaceInspectControllerPresence = async (id, reportInspectPresenceDto, options) => {
29
+ return (0, custom_fetch_1.customFetch)((0, exports.getOutputSurfaceInspectControllerPresenceUrl)(id), {
30
+ ...options,
31
+ method: 'POST',
32
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
33
+ body: JSON.stringify(reportInspectPresenceDto)
34
+ });
35
+ };
36
+ exports.outputSurfaceInspectControllerPresence = outputSurfaceInspectControllerPresence;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Interactive Session API
5
+ * Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { OutputSurfaceAppResponseDtoDataArrayEnvelope, OutputSurfaceAppResponseDtoDataEnvelope, OutputSurfaceControllerRestartParams, OutputSurfaceControllerScanParams, RemediateOutputSurfaceDto, RemediateOutputSurfaceResponseDtoDataEnvelope, RotateTokenResponseDtoDataEnvelope } from '../../models';
9
+ /**
10
+ * @summary List runnable output surface apps for this session.
11
+ */
12
+ export declare const getOutputSurfaceControllerListAppsUrl: (id: string) => string;
13
+ export declare const outputSurfaceControllerListApps: (id: string, options?: RequestInit) => Promise<OutputSurfaceAppResponseDtoDataArrayEnvelope>;
14
+ /**
15
+ * @summary Request the worker to rescan the workspace for runnable apps.
16
+ */
17
+ export declare const getOutputSurfaceControllerScanUrl: (id: string, params?: OutputSurfaceControllerScanParams) => string;
18
+ export declare const outputSurfaceControllerScan: (id: string, params?: OutputSurfaceControllerScanParams, options?: RequestInit) => Promise<unknown>;
19
+ /**
20
+ * @summary Hard-restart an output surface app (stop then spawn).
21
+ */
22
+ export declare const getOutputSurfaceControllerRestartUrl: (id: string, appId: string, params?: OutputSurfaceControllerRestartParams) => string;
23
+ export declare const outputSurfaceControllerRestart: (id: string, appId: string, params?: OutputSurfaceControllerRestartParams, options?: RequestInit) => Promise<OutputSurfaceAppResponseDtoDataEnvelope>;
24
+ /**
25
+ * @summary Stream stdout/stderr from the running output surface app as Server-Sent Events. Each frame is `data: {"seq","ts","stream","line"}\n\n`. The stream stays open until the client disconnects or the worker stops the app; closing the client connection aborts the upstream subscription on the worker.
26
+ */
27
+ export declare const getOutputSurfaceControllerStreamLogsUrl: (id: string, appId: string) => string;
28
+ export declare const outputSurfaceControllerStreamLogs: (id: string, appId: string, options?: RequestInit) => Promise<unknown>;
29
+ /**
30
+ * @summary Stop an output surface app and release its port.
31
+ */
32
+ export declare const getOutputSurfaceControllerStopUrl: (id: string, appId: string) => string;
33
+ export declare const outputSurfaceControllerStop: (id: string, appId: string, options?: RequestInit) => Promise<unknown>;
34
+ /**
35
+ * @summary Dispatch an agent remediation for a stuck output-surface app (install_failed / declaration_needed / crashed / stopped). The server reads the current SessionOutputSurfaceApp row as source of truth — status, kind, port, lastError, install metadata — and validates `status` matches the requested `remediationKind` (409 otherwise). Renders a templated prompt that includes the runtime port contract + per-kind cheatsheet, then injects it into the opencode session as a user message. The agent is instructed to edit files and then call the `output_surface_rescan` MCP tool — it must NOT run install or dev commands directly.
36
+ */
37
+ export declare const getOutputSurfaceControllerRemediateUrl: (id: string) => string;
38
+ export declare const outputSurfaceControllerRemediate: (id: string, remediateOutputSurfaceDto: RemediateOutputSurfaceDto, options?: RequestInit) => Promise<RemediateOutputSurfaceResponseDtoDataEnvelope>;
39
+ /**
40
+ * @summary Revoke the current share token and mint a new one; updates the external URL.
41
+ */
42
+ export declare const getOutputSurfaceControllerRotateTokenUrl: (id: string, appId: string) => string;
43
+ export declare const outputSurfaceControllerRotateToken: (id: string, appId: string, options?: RequestInit) => Promise<RotateTokenResponseDtoDataEnvelope>;
@@ -0,0 +1,142 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.outputSurfaceControllerRotateToken = exports.getOutputSurfaceControllerRotateTokenUrl = exports.outputSurfaceControllerRemediate = exports.getOutputSurfaceControllerRemediateUrl = exports.outputSurfaceControllerStop = exports.getOutputSurfaceControllerStopUrl = exports.outputSurfaceControllerStreamLogs = exports.getOutputSurfaceControllerStreamLogsUrl = exports.outputSurfaceControllerRestart = exports.getOutputSurfaceControllerRestartUrl = exports.outputSurfaceControllerScan = exports.getOutputSurfaceControllerScanUrl = exports.outputSurfaceControllerListApps = exports.getOutputSurfaceControllerListAppsUrl = void 0;
4
+ const custom_fetch_1 = require("../../custom-fetch");
5
+ /**
6
+ * @summary List runnable output surface apps for this session.
7
+ */
8
+ const getOutputSurfaceControllerListAppsUrl = (id) => {
9
+ return `/sessions/${id}/output-surfaces/apps`;
10
+ };
11
+ exports.getOutputSurfaceControllerListAppsUrl = getOutputSurfaceControllerListAppsUrl;
12
+ const outputSurfaceControllerListApps = async (id, options) => {
13
+ return (0, custom_fetch_1.customFetch)((0, exports.getOutputSurfaceControllerListAppsUrl)(id), {
14
+ ...options,
15
+ method: 'GET'
16
+ });
17
+ };
18
+ exports.outputSurfaceControllerListApps = outputSurfaceControllerListApps;
19
+ /**
20
+ * @summary Request the worker to rescan the workspace for runnable apps.
21
+ */
22
+ const getOutputSurfaceControllerScanUrl = (id, params) => {
23
+ const normalizedParams = new URLSearchParams();
24
+ Object.entries(params || {}).forEach(([key, value]) => {
25
+ if (value === undefined)
26
+ return;
27
+ if (value === null) {
28
+ normalizedParams.append(key, 'null');
29
+ return;
30
+ }
31
+ if (Array.isArray(value)) {
32
+ for (const item of value) {
33
+ if (item === undefined || item === null)
34
+ continue;
35
+ normalizedParams.append(key, item.toString());
36
+ }
37
+ return;
38
+ }
39
+ normalizedParams.append(key, value.toString());
40
+ });
41
+ const stringifiedParams = normalizedParams.toString();
42
+ return stringifiedParams.length > 0 ? `/sessions/${id}/output-surfaces/scan?${stringifiedParams}` : `/sessions/${id}/output-surfaces/scan`;
43
+ };
44
+ exports.getOutputSurfaceControllerScanUrl = getOutputSurfaceControllerScanUrl;
45
+ const outputSurfaceControllerScan = async (id, params, options) => {
46
+ return (0, custom_fetch_1.customFetch)((0, exports.getOutputSurfaceControllerScanUrl)(id, params), {
47
+ ...options,
48
+ method: 'POST'
49
+ });
50
+ };
51
+ exports.outputSurfaceControllerScan = outputSurfaceControllerScan;
52
+ /**
53
+ * @summary Hard-restart an output surface app (stop then spawn).
54
+ */
55
+ const getOutputSurfaceControllerRestartUrl = (id, appId, params) => {
56
+ const normalizedParams = new URLSearchParams();
57
+ Object.entries(params || {}).forEach(([key, value]) => {
58
+ if (value === undefined)
59
+ return;
60
+ if (value === null) {
61
+ normalizedParams.append(key, 'null');
62
+ return;
63
+ }
64
+ if (Array.isArray(value)) {
65
+ for (const item of value) {
66
+ if (item === undefined || item === null)
67
+ continue;
68
+ normalizedParams.append(key, item.toString());
69
+ }
70
+ return;
71
+ }
72
+ normalizedParams.append(key, value.toString());
73
+ });
74
+ const stringifiedParams = normalizedParams.toString();
75
+ return stringifiedParams.length > 0 ? `/sessions/${id}/output-surfaces/apps/${appId}/restart?${stringifiedParams}` : `/sessions/${id}/output-surfaces/apps/${appId}/restart`;
76
+ };
77
+ exports.getOutputSurfaceControllerRestartUrl = getOutputSurfaceControllerRestartUrl;
78
+ const outputSurfaceControllerRestart = async (id, appId, params, options) => {
79
+ return (0, custom_fetch_1.customFetch)((0, exports.getOutputSurfaceControllerRestartUrl)(id, appId, params), {
80
+ ...options,
81
+ method: 'POST'
82
+ });
83
+ };
84
+ exports.outputSurfaceControllerRestart = outputSurfaceControllerRestart;
85
+ /**
86
+ * @summary Stream stdout/stderr from the running output surface app as Server-Sent Events. Each frame is `data: {"seq","ts","stream","line"}\n\n`. The stream stays open until the client disconnects or the worker stops the app; closing the client connection aborts the upstream subscription on the worker.
87
+ */
88
+ const getOutputSurfaceControllerStreamLogsUrl = (id, appId) => {
89
+ return `/sessions/${id}/output-surfaces/apps/${appId}/logs`;
90
+ };
91
+ exports.getOutputSurfaceControllerStreamLogsUrl = getOutputSurfaceControllerStreamLogsUrl;
92
+ const outputSurfaceControllerStreamLogs = async (id, appId, options) => {
93
+ return (0, custom_fetch_1.customFetch)((0, exports.getOutputSurfaceControllerStreamLogsUrl)(id, appId), {
94
+ ...options,
95
+ method: 'GET'
96
+ });
97
+ };
98
+ exports.outputSurfaceControllerStreamLogs = outputSurfaceControllerStreamLogs;
99
+ /**
100
+ * @summary Stop an output surface app and release its port.
101
+ */
102
+ const getOutputSurfaceControllerStopUrl = (id, appId) => {
103
+ return `/sessions/${id}/output-surfaces/apps/${appId}/stop`;
104
+ };
105
+ exports.getOutputSurfaceControllerStopUrl = getOutputSurfaceControllerStopUrl;
106
+ const outputSurfaceControllerStop = async (id, appId, options) => {
107
+ return (0, custom_fetch_1.customFetch)((0, exports.getOutputSurfaceControllerStopUrl)(id, appId), {
108
+ ...options,
109
+ method: 'POST'
110
+ });
111
+ };
112
+ exports.outputSurfaceControllerStop = outputSurfaceControllerStop;
113
+ /**
114
+ * @summary Dispatch an agent remediation for a stuck output-surface app (install_failed / declaration_needed / crashed / stopped). The server reads the current SessionOutputSurfaceApp row as source of truth — status, kind, port, lastError, install metadata — and validates `status` matches the requested `remediationKind` (409 otherwise). Renders a templated prompt that includes the runtime port contract + per-kind cheatsheet, then injects it into the opencode session as a user message. The agent is instructed to edit files and then call the `output_surface_rescan` MCP tool — it must NOT run install or dev commands directly.
115
+ */
116
+ const getOutputSurfaceControllerRemediateUrl = (id) => {
117
+ return `/sessions/${id}/output-surfaces/remediate`;
118
+ };
119
+ exports.getOutputSurfaceControllerRemediateUrl = getOutputSurfaceControllerRemediateUrl;
120
+ const outputSurfaceControllerRemediate = async (id, remediateOutputSurfaceDto, options) => {
121
+ return (0, custom_fetch_1.customFetch)((0, exports.getOutputSurfaceControllerRemediateUrl)(id), {
122
+ ...options,
123
+ method: 'POST',
124
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
125
+ body: JSON.stringify(remediateOutputSurfaceDto)
126
+ });
127
+ };
128
+ exports.outputSurfaceControllerRemediate = outputSurfaceControllerRemediate;
129
+ /**
130
+ * @summary Revoke the current share token and mint a new one; updates the external URL.
131
+ */
132
+ const getOutputSurfaceControllerRotateTokenUrl = (id, appId) => {
133
+ return `/sessions/${id}/output-surfaces/apps/${appId}/token/rotate`;
134
+ };
135
+ exports.getOutputSurfaceControllerRotateTokenUrl = getOutputSurfaceControllerRotateTokenUrl;
136
+ const outputSurfaceControllerRotateToken = async (id, appId, options) => {
137
+ return (0, custom_fetch_1.customFetch)((0, exports.getOutputSurfaceControllerRotateTokenUrl)(id, appId), {
138
+ ...options,
139
+ method: 'POST'
140
+ });
141
+ };
142
+ exports.outputSurfaceControllerRotateToken = outputSurfaceControllerRotateToken;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Interactive Session API
5
+ * Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { CreateSandboxSessionDto, RunSandboxEvalTurnDto, SandboxEvalTurnResultDtoDataEnvelope, SandboxSessionsControllerDeleteToolMocksParams, SandboxToolMocksResponseDtoDataEnvelope, SessionDebugInfoDtoDataEnvelope, SessionResponseDtoDataEnvelope, SetSandboxToolMocksDto } from '../../models';
9
+ /**
10
+ * @summary Create an ephemeral Agent Studio sandbox session bound to a DRAFT composition. The session is throwaway, lifecycle-bounded by a TTL, and isolated from every project side-effect (no artifact emit, no deliverable harvest, no KB push, no git, no snapshot persistence). When `toolMocks` is supplied the per-tool canned responses are registered with the mcp-gateway test-mode mock bridge as part of create.
11
+ */
12
+ export declare const getSandboxSessionsControllerCreateUrl: () => string;
13
+ export declare const sandboxSessionsControllerCreate: (createSandboxSessionDto: CreateSandboxSessionDto, options?: RequestInit) => Promise<SessionResponseDtoDataEnvelope>;
14
+ /**
15
+ * @summary Register (replace) the full set of per-tool canned mock responses for a sandbox session. When the sandbox runs with mocked tools, the mcp-gateway bridge serves these canned results instead of invoking live MCP services. Authorized as the sandbox owner; forwarded to mcp-gateway-api service-to-service.
16
+ */
17
+ export declare const getSandboxSessionsControllerSetToolMocksUrl: (id: string) => string;
18
+ export declare const sandboxSessionsControllerSetToolMocks: (id: string, setSandboxToolMocksDto: SetSandboxToolMocksDto, options?: RequestInit) => Promise<SandboxToolMocksResponseDtoDataEnvelope>;
19
+ /**
20
+ * @summary List the canonical tool names a sandbox session currently has canned mock responses registered for.
21
+ */
22
+ export declare const getSandboxSessionsControllerListToolMocksUrl: (id: string) => string;
23
+ export declare const sandboxSessionsControllerListToolMocks: (id: string, options?: RequestInit) => Promise<SandboxToolMocksResponseDtoDataEnvelope>;
24
+ /**
25
+ * @summary Delete one mocked tool from a sandbox session, or every mock for the session when the `toolName` query parameter is omitted.
26
+ */
27
+ export declare const getSandboxSessionsControllerDeleteToolMocksUrl: (id: string, params?: SandboxSessionsControllerDeleteToolMocksParams) => string;
28
+ export declare const sandboxSessionsControllerDeleteToolMocks: (id: string, params?: SandboxSessionsControllerDeleteToolMocksParams, options?: RequestInit) => Promise<unknown>;
29
+ /**
30
+ * @summary Drive ONE agent turn on a sandbox session to completion SYNCHRONOUSLY and return the captured assistant output + token/wall-clock timing. Unlike the SSE chat endpoint this blocks until the turn reaches its terminal state — built for the skill-registry-api eval harness, which is a service-to-service caller and cannot consume an event stream. Requires an `Idempotency-Key` header: it is the per-turn lock id, so a retried eval turn never double-drives the agent.
31
+ */
32
+ export declare const getSandboxSessionsControllerRunEvalTurnUrl: (id: string) => string;
33
+ export declare const sandboxSessionsControllerRunEvalTurn: (id: string, runSandboxEvalTurnDto: RunSandboxEvalTurnDto, options?: RequestInit) => Promise<SandboxEvalTurnResultDtoDataEnvelope>;
34
+ /**
35
+ * @summary Dispose a sandbox session — release its worker and drive it terminal. Idempotent.
36
+ */
37
+ export declare const getSandboxSessionsControllerDisposeUrl: (id: string) => string;
38
+ export declare const sandboxSessionsControllerDispose: (id: string, options?: RequestInit) => Promise<SessionResponseDtoDataEnvelope>;
39
+ /**
40
+ * @summary Debug / decision-trace view of a (sandbox) session: the resolved composition tree (sub-agent tree + per-node model), the Model Resolution Matrix decision trace for the primary agent, skill activation, the injected-context view, and the projected mount plan. Valid for any session; built for the Studio sandbox harness.
41
+ */
42
+ export declare const getSandboxSessionsControllerDebugUrl: (id: string) => string;
43
+ export declare const sandboxSessionsControllerDebug: (id: string, options?: RequestInit) => Promise<SessionDebugInfoDtoDataEnvelope>;