@xemahq/agent-session-api-client 0.1.2 → 0.2.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 (321) hide show
  1. package/LICENSE +175 -201
  2. package/README.md +62 -0
  3. package/dist/custom-fetch.d.ts +1 -1
  4. package/dist/custom-fetch.js +1 -1
  5. package/dist/endpoints/output-surface-inspect/output-surface-inspect.d.ts +3 -3
  6. package/dist/endpoints/output-surface-inspect/output-surface-inspect.js +6 -6
  7. package/dist/endpoints/output-surfaces/output-surfaces.d.ts +8 -8
  8. package/dist/endpoints/output-surfaces/output-surfaces.js +21 -21
  9. package/dist/endpoints/sandbox-sessions/sandbox-sessions.d.ts +8 -8
  10. package/dist/endpoints/sandbox-sessions/sandbox-sessions.js +21 -21
  11. package/dist/endpoints/session-attachments/session-attachments.d.ts +4 -4
  12. package/dist/endpoints/session-attachments/session-attachments.js +9 -9
  13. package/dist/endpoints/session-blob-attachments/session-blob-attachments.d.ts +2 -2
  14. package/dist/endpoints/session-blob-attachments/session-blob-attachments.js +3 -3
  15. package/dist/endpoints/session-participants/session-participants.d.ts +5 -5
  16. package/dist/endpoints/session-participants/session-participants.js +12 -12
  17. package/dist/endpoints/sessions/sessions.d.ts +60 -50
  18. package/dist/endpoints/sessions/sessions.js +177 -143
  19. package/dist/endpoints/threads/threads.d.ts +9 -9
  20. package/dist/endpoints/threads/threads.js +24 -24
  21. package/dist/index.d.ts +0 -3
  22. package/dist/index.js +1 -4
  23. package/dist/models/addAttachmentDto.d.ts +2 -2
  24. package/dist/models/attachSkillDto.d.ts +1 -1
  25. package/dist/models/attachSkillDto.js +1 -1
  26. package/dist/models/attachmentClass.d.ts +1 -1
  27. package/dist/models/attachmentClass.js +1 -1
  28. package/dist/models/attachmentResponseDto.d.ts +3 -3
  29. package/dist/models/attachmentResponseDtoDataArrayEnvelope.d.ts +2 -2
  30. package/dist/models/attachmentResponseDtoDataEnvelope.d.ts +2 -2
  31. package/dist/models/attachmentUploadInitResponseDto.d.ts +2 -2
  32. package/dist/models/attachmentUploadInitResponseDtoDataEnvelope.d.ts +2 -2
  33. package/dist/models/attachmentUploadInitResponseDtoRequiredHeaders.d.ts +1 -1
  34. package/dist/models/attachmentUploadInitResponseDtoRequiredHeaders.js +1 -1
  35. package/dist/models/branchStrategy.d.ts +1 -1
  36. package/dist/models/branchStrategy.js +1 -1
  37. package/dist/models/buildImageResultDto.d.ts +1 -1
  38. package/dist/models/buildImageResultDto.js +1 -1
  39. package/dist/models/buildImageStartedResponseDto.d.ts +1 -1
  40. package/dist/models/buildImageStartedResponseDto.js +1 -1
  41. package/dist/models/buildImageStartedResponseDtoDataEnvelope.d.ts +2 -2
  42. package/dist/models/buildImageStatusResponseDto.d.ts +4 -4
  43. package/dist/models/buildImageStatusResponseDtoDataEnvelope.d.ts +2 -2
  44. package/dist/models/buildImageStatusResponseDtoFailureMessage.d.ts +1 -1
  45. package/dist/models/buildImageStatusResponseDtoFailureMessage.js +1 -1
  46. package/dist/models/buildImageStatusResponseDtoStatus.d.ts +1 -1
  47. package/dist/models/buildImageStatusResponseDtoStatus.js +1 -1
  48. package/dist/models/changeSessionInstructionsDto.d.ts +16 -0
  49. package/dist/models/changeSessionInstructionsDto.js +2 -0
  50. package/dist/models/changeSessionInstructionsDtoInstructions.d.ts +15 -0
  51. package/dist/models/changeSessionInstructionsDtoInstructions.js +9 -0
  52. package/dist/models/changeSessionModelDto.d.ts +2 -2
  53. package/dist/models/changeSessionModelDtoSelection.d.ts +1 -1
  54. package/dist/models/changeSessionModelDtoSelection.js +1 -1
  55. package/dist/models/changeSessionPermissionDto.d.ts +15 -0
  56. package/dist/models/changeSessionPermissionDto.js +2 -0
  57. package/dist/models/changeSessionPermissionDtoPermission.d.ts +14 -0
  58. package/dist/models/changeSessionPermissionDtoPermission.js +9 -0
  59. package/dist/models/changeSessionToolsDto.d.ts +3 -3
  60. package/dist/models/createSandboxSessionDto.d.ts +3 -3
  61. package/dist/models/createSessionDto.d.ts +44 -0
  62. package/dist/models/createSessionDto.js +2 -0
  63. package/dist/models/createSessionDtoCustomConfig.d.ts +13 -0
  64. package/dist/models/createSessionDtoCustomConfig.js +9 -0
  65. package/dist/models/createThreadDto.d.ts +1 -1
  66. package/dist/models/createThreadDto.js +1 -1
  67. package/dist/models/environmentDriftDetectedPayloadDto.d.ts +2 -2
  68. package/dist/models/environmentDriftEntryDto.d.ts +3 -3
  69. package/dist/models/environmentDriftEntryDtoAfter.d.ts +1 -1
  70. package/dist/models/environmentDriftEntryDtoAfter.js +1 -1
  71. package/dist/models/environmentDriftEntryDtoBefore.d.ts +1 -1
  72. package/dist/models/environmentDriftEntryDtoBefore.js +1 -1
  73. package/dist/models/errorDetailsDto.d.ts +2 -2
  74. package/dist/models/errorDetailsDtoDetails.d.ts +1 -1
  75. package/dist/models/errorDetailsDtoDetails.js +1 -1
  76. package/dist/models/errorPayloadDto.d.ts +2 -2
  77. package/dist/models/errorResponseDto.d.ts +2 -2
  78. package/dist/models/externalInviteDeliveryMode.d.ts +1 -1
  79. package/dist/models/externalInviteDeliveryMode.js +1 -1
  80. package/dist/models/gitCommitEntryDto.d.ts +1 -1
  81. package/dist/models/gitCommitEntryDto.js +1 -1
  82. package/dist/models/gitCommitEntryDtoDataArrayEnvelope.d.ts +2 -2
  83. package/dist/models/gitCommitResponseDto.d.ts +1 -1
  84. package/dist/models/gitCommitResponseDto.js +1 -1
  85. package/dist/models/gitCommitResponseDtoDataEnvelope.d.ts +2 -2
  86. package/dist/models/gitStatusResponseDto.d.ts +2 -2
  87. package/dist/models/gitStatusResponseDtoDataEnvelope.d.ts +2 -2
  88. package/dist/models/index.d.ts +8 -13
  89. package/dist/models/index.js +8 -13
  90. package/dist/models/initAttachmentUploadDto.d.ts +1 -1
  91. package/dist/models/initAttachmentUploadDto.js +1 -1
  92. package/dist/models/inspectStepResultDto.d.ts +4 -4
  93. package/dist/models/inspectStepResultDtoData.d.ts +1 -1
  94. package/dist/models/inspectStepResultDtoData.js +1 -1
  95. package/dist/models/inspectStepResultDtoKind.d.ts +1 -1
  96. package/dist/models/inspectStepResultDtoKind.js +1 -1
  97. package/dist/models/inspectStepResultDtoStatus.d.ts +1 -1
  98. package/dist/models/inspectStepResultDtoStatus.js +1 -1
  99. package/dist/models/invitableParticipantRole.d.ts +1 -1
  100. package/dist/models/invitableParticipantRole.js +1 -1
  101. package/dist/models/inviteExternalDto.d.ts +3 -3
  102. package/dist/models/inviteParticipantDto.d.ts +2 -2
  103. package/dist/models/invitedExternalParticipantResponseDto.d.ts +1 -1
  104. package/dist/models/invitedExternalParticipantResponseDto.js +1 -1
  105. package/dist/models/invitedExternalParticipantResponseDtoDataEnvelope.d.ts +2 -2
  106. package/dist/models/kBPushResponseDto.d.ts +1 -1
  107. package/dist/models/kBPushResponseDto.js +1 -1
  108. package/dist/models/kBPushResponseDtoDataEnvelope.d.ts +2 -2
  109. package/dist/models/kbMountsResponseDto.d.ts +2 -2
  110. package/dist/models/kbMountsResponseDtoDataEnvelope.d.ts +2 -2
  111. package/dist/models/kbPageMountDto.d.ts +1 -1
  112. package/dist/models/kbPageMountDto.js +1 -1
  113. package/dist/models/listSessionParticipantsResponseDto.d.ts +2 -2
  114. package/dist/models/listSessionParticipantsResponseDtoDataEnvelope.d.ts +2 -2
  115. package/dist/models/mergeCheckResponseDto.d.ts +1 -1
  116. package/dist/models/mergeCheckResponseDto.js +1 -1
  117. package/dist/models/mergeCheckResponseDtoDataEnvelope.d.ts +2 -2
  118. package/dist/models/messageResponseDto.d.ts +3 -3
  119. package/dist/models/messageResponseDtoMetadata.d.ts +1 -1
  120. package/dist/models/messageResponseDtoMetadata.js +1 -1
  121. package/dist/models/messageResponseDtoPaginatedEnvelope.d.ts +3 -3
  122. package/dist/models/outputSurfaceAppResponseDto.d.ts +3 -3
  123. package/dist/models/outputSurfaceAppResponseDtoDataArrayEnvelope.d.ts +2 -2
  124. package/dist/models/outputSurfaceAppResponseDtoDataEnvelope.d.ts +2 -2
  125. package/dist/models/outputSurfaceAppStatus.d.ts +1 -1
  126. package/dist/models/outputSurfaceAppStatus.js +1 -1
  127. package/dist/models/outputSurfaceControllerRestartParams.d.ts +2 -2
  128. package/dist/models/outputSurfaceControllerScanParams.d.ts +2 -2
  129. package/dist/models/outputSurfaceRemediationKindInput.d.ts +1 -1
  130. package/dist/models/outputSurfaceRemediationKindInput.js +1 -1
  131. package/dist/models/outputSurfaceRestartMode.d.ts +1 -1
  132. package/dist/models/outputSurfaceRestartMode.js +1 -1
  133. package/dist/models/paginationMeta.d.ts +1 -1
  134. package/dist/models/paginationMeta.js +1 -1
  135. package/dist/models/participantRole.d.ts +1 -1
  136. package/dist/models/participantRole.js +1 -1
  137. package/dist/models/participantSubjectKind.d.ts +1 -1
  138. package/dist/models/participantSubjectKind.js +1 -1
  139. package/dist/models/projectKind.d.ts +1 -1
  140. package/dist/models/projectKind.js +1 -1
  141. package/dist/models/providerEntryDto.d.ts +3 -3
  142. package/dist/models/providerEntryDtoKind.d.ts +1 -1
  143. package/dist/models/providerEntryDtoKind.js +1 -1
  144. package/dist/models/pullRequestResponseDto.d.ts +2 -2
  145. package/dist/models/pullRequestResponseDtoDataEnvelope.d.ts +2 -2
  146. package/dist/models/pullRequestResponseDtoPrUrl.d.ts +1 -1
  147. package/dist/models/pullRequestResponseDtoPrUrl.js +1 -1
  148. package/dist/models/pushDocumentEditDto.d.ts +1 -1
  149. package/dist/models/pushDocumentEditDto.js +1 -1
  150. package/dist/models/reasoningDeltaPayloadDto.d.ts +1 -1
  151. package/dist/models/reasoningDeltaPayloadDto.js +1 -1
  152. package/dist/models/referenceAttachmentClass.d.ts +1 -1
  153. package/dist/models/referenceAttachmentClass.js +1 -1
  154. package/dist/models/remediateOutputSurfaceDto.d.ts +2 -2
  155. package/dist/models/remediateOutputSurfaceResponseDto.d.ts +1 -1
  156. package/dist/models/remediateOutputSurfaceResponseDto.js +1 -1
  157. package/dist/models/remediateOutputSurfaceResponseDtoDataEnvelope.d.ts +2 -2
  158. package/dist/models/repoGitStatusDto.d.ts +2 -2
  159. package/dist/models/repoRole.d.ts +1 -1
  160. package/dist/models/repoRole.js +1 -1
  161. package/dist/models/reportInspectPresenceDto.d.ts +3 -3
  162. package/dist/models/reportInspectPresenceDtoKind.d.ts +1 -1
  163. package/dist/models/reportInspectPresenceDtoKind.js +1 -1
  164. package/dist/models/reportInspectPresenceDtoReason.d.ts +1 -1
  165. package/dist/models/reportInspectPresenceDtoReason.js +1 -1
  166. package/dist/models/reportInspectResultDto.d.ts +2 -2
  167. package/dist/models/resumeSessionDto.d.ts +1 -1
  168. package/dist/models/resumeSessionDto.js +1 -1
  169. package/dist/models/rotateTokenResponseDto.d.ts +1 -1
  170. package/dist/models/rotateTokenResponseDto.js +1 -1
  171. package/dist/models/rotateTokenResponseDtoDataEnvelope.d.ts +2 -2
  172. package/dist/models/runSandboxEvalTurnDto.d.ts +1 -1
  173. package/dist/models/runSandboxEvalTurnDto.js +1 -1
  174. package/dist/models/sandboxEvalTurnResultDto.d.ts +1 -1
  175. package/dist/models/sandboxEvalTurnResultDto.js +1 -1
  176. package/dist/models/sandboxEvalTurnResultDtoDataEnvelope.d.ts +2 -2
  177. package/dist/models/sandboxSessionsControllerDeleteToolMocksParams.d.ts +1 -1
  178. package/dist/models/sandboxSessionsControllerDeleteToolMocksParams.js +1 -1
  179. package/dist/models/sandboxToolMockDto.d.ts +1 -1
  180. package/dist/models/sandboxToolMockDto.js +1 -1
  181. package/dist/models/sandboxToolMocksResponseDto.d.ts +1 -1
  182. package/dist/models/sandboxToolMocksResponseDto.js +1 -1
  183. package/dist/models/sandboxToolMocksResponseDtoDataEnvelope.d.ts +2 -2
  184. package/dist/models/sessionAttachmentStatus.d.ts +1 -1
  185. package/dist/models/sessionAttachmentStatus.js +1 -1
  186. package/dist/models/sessionBlobAttachmentDto.d.ts +2 -2
  187. package/dist/models/sessionBlobAttachmentDtoDataArrayEnvelope.d.ts +2 -2
  188. package/dist/models/sessionBlobAttachmentDtoRequiredHeaders.d.ts +1 -1
  189. package/dist/models/sessionBlobAttachmentDtoRequiredHeaders.js +1 -1
  190. package/dist/models/sessionContextWindowSnapshotDto.d.ts +1 -1
  191. package/dist/models/sessionContextWindowSnapshotDto.js +1 -1
  192. package/dist/models/sessionDebugCompositionNodeDto.d.ts +1 -1
  193. package/dist/models/sessionDebugCompositionNodeDto.js +1 -1
  194. package/dist/models/sessionDebugInfoDto.d.ts +7 -7
  195. package/dist/models/sessionDebugInfoDtoDataEnvelope.d.ts +2 -2
  196. package/dist/models/sessionDebugInfoDtoMountPlan.d.ts +1 -1
  197. package/dist/models/sessionDebugInfoDtoMountPlan.js +1 -1
  198. package/dist/models/sessionDebugModelDecisionDto.d.ts +1 -1
  199. package/dist/models/sessionDebugModelDecisionDto.js +1 -1
  200. package/dist/models/sessionDebugSkillDto.d.ts +2 -2
  201. package/dist/models/sessionDebugSkillDtoSnapshot.d.ts +1 -1
  202. package/dist/models/sessionDebugSkillDtoSnapshot.js +1 -1
  203. package/dist/models/sessionKind.d.ts +1 -1
  204. package/dist/models/sessionKind.js +1 -1
  205. package/dist/models/sessionLayer.d.ts +17 -0
  206. package/dist/models/sessionLayer.js +16 -0
  207. package/dist/models/sessionLockfileDto.d.ts +7 -7
  208. package/dist/models/sessionLockfileDtoAgents.d.ts +1 -1
  209. package/dist/models/sessionLockfileDtoAgents.js +1 -1
  210. package/dist/models/sessionLockfileDtoBiomes.d.ts +1 -1
  211. package/dist/models/sessionLockfileDtoBiomes.js +1 -1
  212. package/dist/models/sessionLockfileDtoCapabilities.d.ts +1 -1
  213. package/dist/models/sessionLockfileDtoCapabilities.js +1 -1
  214. package/dist/models/sessionLockfileDtoDataEnvelope.d.ts +2 -2
  215. package/dist/models/sessionLockfileDtoDeliverableSpecs.d.ts +1 -1
  216. package/dist/models/sessionLockfileDtoDeliverableSpecs.js +1 -1
  217. package/dist/models/sessionLockfileDtoSkills.d.ts +1 -1
  218. package/dist/models/sessionLockfileDtoSkills.js +1 -1
  219. package/dist/models/sessionLockfileDtoWorkflows.d.ts +1 -1
  220. package/dist/models/sessionLockfileDtoWorkflows.js +1 -1
  221. package/dist/models/sessionMessageRole.d.ts +1 -1
  222. package/dist/models/sessionMessageRole.js +1 -1
  223. package/dist/models/sessionParticipantDto.d.ts +3 -3
  224. package/dist/models/sessionParticipantDtoDataEnvelope.d.ts +2 -2
  225. package/dist/models/sessionPauseReason.d.ts +1 -1
  226. package/dist/models/sessionPauseReason.js +1 -1
  227. package/dist/models/sessionProvisioningPhase.d.ts +1 -1
  228. package/dist/models/sessionProvisioningPhase.js +1 -1
  229. package/dist/models/sessionResponseDto.d.ts +13 -13
  230. package/dist/models/sessionResponseDtoDataEnvelope.d.ts +2 -2
  231. package/dist/models/sessionResponseDtoFailureMetaJson.d.ts +1 -1
  232. package/dist/models/sessionResponseDtoFailureMetaJson.js +1 -1
  233. package/dist/models/sessionResponseDtoHandoffOutput.d.ts +1 -1
  234. package/dist/models/sessionResponseDtoHandoffOutput.js +1 -1
  235. package/dist/models/sessionResponseDtoModelSelection.d.ts +1 -1
  236. package/dist/models/sessionResponseDtoModelSelection.js +1 -1
  237. package/dist/models/sessionResponseDtoPaginatedEnvelope.d.ts +3 -3
  238. package/dist/models/sessionResponseDtoToolSelectionItem.d.ts +1 -1
  239. package/dist/models/sessionResponseDtoToolSelectionItem.js +1 -1
  240. package/dist/models/sessionStatus.d.ts +1 -1
  241. package/dist/models/sessionStatus.js +1 -1
  242. package/dist/models/sessionTimelineEntryDto.d.ts +3 -3
  243. package/dist/models/sessionTimelineEntryDtoEventType.d.ts +1 -1
  244. package/dist/models/sessionTimelineEntryDtoEventType.js +1 -1
  245. package/dist/models/sessionTimelineEntryDtoPayload.d.ts +5 -5
  246. package/dist/models/sessionTimelinePageDto.d.ts +2 -2
  247. package/dist/models/sessionTimelinePageDtoDataEnvelope.d.ts +2 -2
  248. package/dist/models/sessionTokenUsageDto.d.ts +1 -1
  249. package/dist/models/sessionTokenUsageDto.js +1 -1
  250. package/dist/models/sessionsControllerGetCommitHistoryParams.d.ts +1 -1
  251. package/dist/models/sessionsControllerGetCommitHistoryParams.js +1 -1
  252. package/dist/models/sessionsControllerGetGitDiffParams.d.ts +1 -1
  253. package/dist/models/sessionsControllerGetGitDiffParams.js +1 -1
  254. package/dist/models/sessionsControllerListFilesParams.d.ts +1 -1
  255. package/dist/models/sessionsControllerListFilesParams.js +1 -1
  256. package/dist/models/sessionsControllerListParams.d.ts +1 -1
  257. package/dist/models/sessionsControllerListParams.js +1 -1
  258. package/dist/models/sessionsControllerListTemplatesParams.d.ts +1 -1
  259. package/dist/models/sessionsControllerListTemplatesParams.js +1 -1
  260. package/dist/models/sessionsControllerMergeCheckParams.d.ts +1 -1
  261. package/dist/models/sessionsControllerMergeCheckParams.js +1 -1
  262. package/dist/models/sessionsControllerStreamEventsParams.d.ts +1 -1
  263. package/dist/models/sessionsControllerStreamEventsParams.js +1 -1
  264. package/dist/models/setSandboxToolMocksDto.d.ts +2 -2
  265. package/dist/models/shareAccessLevel.d.ts +1 -1
  266. package/dist/models/shareAccessLevel.js +1 -1
  267. package/dist/models/shareResponseDto.d.ts +3 -3
  268. package/dist/models/shareResponseDtoDataEnvelope.d.ts +2 -2
  269. package/dist/models/shareResponseDtoExpiresAt.d.ts +1 -1
  270. package/dist/models/shareResponseDtoExpiresAt.js +1 -1
  271. package/dist/models/startBuildImageDto.d.ts +1 -1
  272. package/dist/models/startBuildImageDto.js +1 -1
  273. package/dist/models/templateResponseDto.d.ts +6 -6
  274. package/dist/models/templateResponseDtoBudgetLimit.d.ts +1 -1
  275. package/dist/models/templateResponseDtoBudgetLimit.js +1 -1
  276. package/dist/models/templateResponseDtoCustomConfig.d.ts +1 -1
  277. package/dist/models/templateResponseDtoCustomConfig.js +1 -1
  278. package/dist/models/templateResponseDtoDataEnvelope.d.ts +2 -2
  279. package/dist/models/templateResponseDtoDescription.d.ts +1 -1
  280. package/dist/models/templateResponseDtoDescription.js +1 -1
  281. package/dist/models/templateResponseDtoPaginatedEnvelope.d.ts +3 -3
  282. package/dist/models/templateResponseDtoRepositoryId.d.ts +1 -1
  283. package/dist/models/templateResponseDtoRepositoryId.js +1 -1
  284. package/dist/models/textDeltaPayloadDto.d.ts +1 -1
  285. package/dist/models/textDeltaPayloadDto.js +1 -1
  286. package/dist/models/threadResponseDto.d.ts +4 -4
  287. package/dist/models/threadResponseDtoDataArrayEnvelope.d.ts +2 -2
  288. package/dist/models/threadResponseDtoDataEnvelope.d.ts +2 -2
  289. package/dist/models/threadResponseDtoModelSelection.d.ts +1 -1
  290. package/dist/models/threadResponseDtoModelSelection.js +1 -1
  291. package/dist/models/threadStatus.d.ts +1 -1
  292. package/dist/models/threadStatus.js +1 -1
  293. package/dist/models/threadsControllerGetMessagesParams.d.ts +1 -1
  294. package/dist/models/threadsControllerGetMessagesParams.js +1 -1
  295. package/dist/models/threadsControllerGetTimelineParams.d.ts +1 -1
  296. package/dist/models/threadsControllerGetTimelineParams.js +1 -1
  297. package/dist/models/toolCallPayloadDto.d.ts +2 -2
  298. package/dist/models/toolCallPayloadDtoStatus.d.ts +1 -1
  299. package/dist/models/toolCallPayloadDtoStatus.js +1 -1
  300. package/dist/models/toolEntryDto.d.ts +3 -3
  301. package/dist/models/toolEntryDtoKind.d.ts +1 -1
  302. package/dist/models/toolEntryDtoKind.js +1 -1
  303. package/dist/models/toolProviderKind.d.ts +1 -1
  304. package/dist/models/toolProviderKind.js +1 -1
  305. package/dist/models/toolUsageEntryDto.d.ts +1 -1
  306. package/dist/models/toolUsageEntryDto.js +1 -1
  307. package/dist/models/toolUsageResponseDto.d.ts +2 -2
  308. package/dist/models/toolUsageResponseDtoDataEnvelope.d.ts +2 -2
  309. package/dist/models/turnState.d.ts +1 -1
  310. package/dist/models/turnState.js +1 -1
  311. package/dist/models/updateKbMountsDto.d.ts +2 -2
  312. package/dist/models/updateThreadDto.d.ts +2 -2
  313. package/dist/models/usageResponseDto.d.ts +3 -3
  314. package/dist/models/usageResponseDtoBudgetLimit.d.ts +1 -1
  315. package/dist/models/usageResponseDtoBudgetLimit.js +1 -1
  316. package/dist/models/usageResponseDtoBudgetRatio.d.ts +1 -1
  317. package/dist/models/usageResponseDtoBudgetRatio.js +1 -1
  318. package/dist/models/usageResponseDtoDataEnvelope.d.ts +2 -2
  319. package/dist/models/workerRuntimeKind.d.ts +17 -0
  320. package/dist/models/workerRuntimeKind.js +16 -0
  321. package/package.json +12 -2
package/LICENSE CHANGED
@@ -1,201 +1,175 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for describing the origin of the Work and
141
- reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Support. While redistributing the Work or
166
- Derivative Works thereof, You may choose to offer, and charge a
167
- fee for, acceptance of support, warranty, indemnity, or other
168
- liability obligations and/or rights consistent with this License.
169
- However, in accepting such obligations, You may act only on Your
170
- own behalf and on Your sole responsibility, not on behalf of any
171
- other Contributor, and only if You agree to indemnify, defend, and
172
- hold each Contributor harmless for any liability incurred by, or
173
- claims asserted against, such Contributor by reason of your
174
- accepting any such warranty or support.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "[]"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright 2026 Xema
190
-
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
194
-
195
- http://www.apache.org/licenses/LICENSE-2.0
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.
1
+ Xema Business Source License 1.1
2
+
3
+ License text copyright (c) 2020 MariaDB Corporation Ab, All Rights Reserved.
4
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
5
+
6
+ -----------------------------------------------------------------------------
7
+
8
+ Parameters
9
+
10
+ Licensor: Neuralchowder Inc.
11
+
12
+ Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc..
13
+
14
+ The Licensed Work includes, without limitation, Xema Core, Xema Runtime,
15
+ Xema Kernel, Xema control plane, Xema application runtime, Xema biome
16
+ runtime, Xema biome registry, Xema store services, Xema orchestration
17
+ services, Xema agents, Xema skills, Xema memory services, Xema APIs, Xema
18
+ user interfaces, Xema command-line tools, Xema deployment artifacts, Xema
19
+ templates, Xema specifications, Xema schemas, Xema manifests, Xema
20
+ documentation, Xema examples, and all source code, object code, binaries,
21
+ packages, modules, configuration files, manifests, schemas, examples,
22
+ templates, documentation, and derivative works included in or distributed
23
+ as part of the Xema software project.
24
+
25
+ The Licensed Work does not include any third-party software, libraries,
26
+ dependencies, packages, assets, or components that are distributed with the
27
+ Licensed Work but are governed by their own separate license terms. Such
28
+ third-party materials remain subject to their respective licenses.
29
+
30
+ A specific file, package, component, or directory may state that it is
31
+ governed by a different license. In that case, that specific file, package,
32
+ component, or directory is governed by the license expressly stated therein.
33
+
34
+ Additional Use Grant:
35
+
36
+ You may make production use of the Licensed Work, provided that your use
37
+ does not include offering, providing, making available, distributing,
38
+ hosting, managing, embedding, reselling, white-labeling, sublicensing,
39
+ commercializing, or otherwise making the Licensed Work, or any modified
40
+ version or derivative work of the Licensed Work, available to Third Parties
41
+ as part of a Competitive Offering.
42
+
43
+ The following definitions and clarifications form part of, and govern
44
+ the interpretation of, the Additional Use Grant set out above.
45
+
46
+ 1. "Production Use" means any use of the Licensed Work other than for
47
+ development, testing, evaluation, demonstration, experimentation,
48
+ benchmarking, or other non-production purposes.
49
+
50
+ 2. "Affiliate" means any entity that, directly or indirectly,
51
+ controls, is controlled by, or is under common control with you,
52
+ where "control" means ownership of more than fifty percent (50%) of
53
+ the voting interests of the entity, or the power to direct its
54
+ management.
55
+
56
+ 3. "Third Party" means any natural person or legal entity other than
57
+ you and your Affiliates.
58
+
59
+ 4. "Competitive Offering" means any product or service, made available
60
+ to one or more Third Parties for a fee or other consideration
61
+ (including without limitation on a paid, subscription,
62
+ advertising-supported, hosted, or managed-service basis), that is
63
+ offered or marketed as, or that competes with, a software platform,
64
+ runtime, orchestration system, agent or automation system,
65
+ extension or distribution marketplace, or other software system
66
+ that provides, in substantial part, the same or substantially
67
+ similar capabilities as those provided by the Licensed Work. A
68
+ product or service is a Competitive Offering whether the Licensed
69
+ Work is provided in whole or in part, alone or bundled with other
70
+ software, and whether modified or unmodified.
71
+
72
+ 5. Providing, hosting, or managing the Licensed Work for a Third Party,
73
+ or otherwise making the Licensed Work available to a Third Party as
74
+ a hosted or managed service such that the Third Party obtains the
75
+ principal value or functionality of the Licensed Work, is a
76
+ Competitive Offering and is not permitted by the Additional Use
77
+ Grant.
78
+
79
+ 6. Subject to the foregoing, the Additional Use Grant permits you to
80
+ make Production Use of the Licensed Work for your own internal
81
+ business purposes and to build, operate, and provide your own
82
+ products and services to Third Parties, provided that the Licensed
83
+ Work itself (whether modified or unmodified) is not the product or
84
+ service, and is not a Competitive Offering, made available to those
85
+ Third Parties.
86
+
87
+ 7. You may modify the Licensed Work and create derivative works for
88
+ any purpose permitted by this License. Any Production Use of such
89
+ modified or derivative works remains subject to the same
90
+ restrictions as the Licensed Work, including the prohibition on
91
+ Competitive Offerings.
92
+
93
+ 8. Use of the Licensed Work by your own employees, contractors, and
94
+ agents, acting on your behalf and for your benefit, is not by
95
+ itself making the Licensed Work available to a Third Party.
96
+
97
+ 9. Embedding or distributing the Licensed Work as a component of your
98
+ own product or service is permitted only where the Licensed Work
99
+ does not constitute the principal value of that product or service
100
+ and the product or service is not a Competitive Offering.
101
+
102
+ 10. Nothing in this Additional Use Grant grants any right to use any
103
+ name, trademark, service mark, or logo of the Licensor or its
104
+ Affiliates, except as reasonably required for customary
105
+ attribution.
106
+
107
+ 11. The rights stated in this Additional Use Grant are the maximum
108
+ rights granted for Production Use prior to the Change Date. Any
109
+ Production Use not expressly permitted requires a separate
110
+ commercial license from the Licensor.
111
+
112
+ 12. If any provision of this Additional Use Grant is held invalid or
113
+ unenforceable, that provision shall be limited or eliminated to
114
+ the minimum extent necessary so that the remainder of this
115
+ Additional Use Grant, and of this License, remains in full force
116
+ and effect. The Licensor reserves all rights not expressly granted
117
+ by this License.
118
+
119
+
120
+ Change Date: Four years from the date the specific version of the Licensed
121
+ Work is first publicly released by Licensor.
122
+
123
+ Change License: Mozilla Public License, Version 2.0
124
+
125
+ For information about alternative licensing arrangements, commercial
126
+ licensing, enterprise licensing, OEM licensing, appliance licensing, managed
127
+ service licensing, cloud provider licensing, or other commercial use of the
128
+ Licensed Work, please contact: licensing@neuralchowder.com
129
+
130
+ -----------------------------------------------------------------------------
131
+
132
+ Notice
133
+
134
+ Business Source License 1.1
135
+
136
+ Terms
137
+
138
+ The Licensor hereby grants you the right to copy, modify, create derivative
139
+ works, redistribute, and make non-production use of the Licensed Work. The
140
+ Licensor may make an Additional Use Grant, above, permitting limited
141
+ production use.
142
+
143
+ Effective on the Change Date, or the fourth anniversary of the first publicly
144
+ available distribution of a specific version of the Licensed Work under this
145
+ License, whichever comes first, the Licensor hereby grants you rights under
146
+ the terms of the Change License, and the rights granted in the paragraph above
147
+ terminate.
148
+
149
+ If your use of the Licensed Work does not comply with the requirements
150
+ currently in effect as described in this License, you must purchase a
151
+ commercial license from the Licensor, its affiliated entities, or authorized
152
+ resellers, or you must refrain from using the Licensed Work.
153
+
154
+ All copies of the original and modified Licensed Work, and derivative works of
155
+ the Licensed Work, are subject to this License. This License applies separately
156
+ for each version of the Licensed Work and the Change Date may vary for each
157
+ version of the Licensed Work released by Licensor.
158
+
159
+ You must conspicuously display this License on each original or modified copy
160
+ of the Licensed Work. If you receive the Licensed Work in original or modified
161
+ form from a third party, the terms and conditions set forth in this License
162
+ apply to your use of that work.
163
+
164
+ Any use of the Licensed Work in violation of this License will automatically
165
+ terminate your rights under this License for the current and all other
166
+ versions of the Licensed Work.
167
+
168
+ This License does not grant you any right in any trademark or logo of Licensor
169
+ or its affiliates, provided that you may use a trademark or logo of Licensor
170
+ as expressly required by this License.
171
+
172
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN
173
+ "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS
174
+ OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS
175
+ FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE.
package/README.md ADDED
@@ -0,0 +1,62 @@
1
+ <!-- Generated by @xemahq/api-client-generator. Do not edit by hand. -->
2
+ <p align="center">
3
+ <svg width="680" height="120" viewBox="0 0 680 120" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="@xemahq/agent-session-api-client">
4
+ <rect width="680" height="120" rx="14" fill="#0B1020"/>
5
+ <g transform="translate(28,34)">
6
+ <path d="M26 0 L52 15 L52 45 L26 60 L0 45 L0 15 Z" fill="#14B8A6" opacity="0.18"/>
7
+ <path d="M26 12 L41 21 L41 39 L26 48 L11 39 L11 21 Z" fill="#14B8A6"/>
8
+ </g>
9
+ <text x="92" y="52" font-family="ui-monospace,SFMono-Regular,Menlo,monospace" font-size="22" fill="#F8FAFC" font-weight="700">@xemahq/agent-session-api-client</text>
10
+ <text x="92" y="80" font-family="ui-sans-serif,system-ui,sans-serif" font-size="15" fill="#94A3B8">Typed, generated HTTP client for the Interactive Session API.</text>
11
+ <text x="652" y="105" text-anchor="end" font-family="ui-sans-serif,system-ui,sans-serif" font-size="12" fill="#475569">xema.dev</text>
12
+ </svg>
13
+ </p>
14
+
15
+ <p align="center">
16
+ <a href="https://xema.dev">Website</a> &middot;
17
+ <a href="https://www.npmjs.com/package/@xemahq/agent-session-api-client">npm</a>
18
+ </p>
19
+
20
+ <p align="center">
21
+ <img alt="npm" src="https://img.shields.io/npm/v/%40xemahq%2Fagent-session-api-client?color=2563eb&label=npm">
22
+ <img alt="license" src="https://img.shields.io/npm/l/%40xemahq%2Fagent-session-api-client?color=10b981">
23
+ <img alt="types" src="https://img.shields.io/npm/types/%40xemahq%2Fagent-session-api-client?color=3178c6">
24
+ </p>
25
+
26
+ # @xemahq/agent-session-api-client
27
+
28
+ > Typed, generated HTTP client for the Interactive Session API.
29
+
30
+ ## Overview
31
+
32
+ Auto-generated TypeScript client for the **Interactive Session API**. It exports typed
33
+ request functions and response models that mirror the service's OpenAPI surface,
34
+ so callers get end-to-end type safety without hand-writing HTTP calls. This
35
+ package is produced by `@xemahq/api-client-generator` and regenerated whenever
36
+ the service's API changes — do not edit it by hand.
37
+
38
+ ## When to use it
39
+
40
+ - Use it from any TypeScript service or app that calls the Interactive Session API over HTTP.
41
+ - You get compile-time types for every endpoint and payload; regenerate to pick
42
+ up API changes rather than editing the client.
43
+
44
+ ## Installation
45
+
46
+ ```bash
47
+ pnpm add @xemahq/agent-session-api-client
48
+ ```
49
+
50
+ ## Usage
51
+
52
+ ```ts
53
+ // Every endpoint function and response model is exported from the package root.
54
+ import * as client from '@xemahq/agent-session-api-client';
55
+ ```
56
+
57
+ Call the typed endpoint functions; request and response shapes are fully typed
58
+ from the service's OpenAPI spec.
59
+
60
+ ## License
61
+
62
+ Proprietary — &copy; Xema. All rights reserved. — [xema.dev](https://xema.dev)
@@ -16,7 +16,7 @@
16
16
  * configureClient({
17
17
  * baseUrl: 'http://governance-api:3400',
18
18
  * getAuthToken: () => identityBootstrapService.getAccessToken(),
19
- * getHeaders: () => ({ 'X-Org-Id': orgId, 'X-Correlation-Id': crypto.randomUUID() }),
19
+ * getHeaders: () => ({ 'X-Xema-Org-Id': orgId, 'X-Correlation-Id': crypto.randomUUID() }),
20
20
  * });
21
21
  */
22
22
  export interface ClientConfig {
@@ -17,7 +17,7 @@
17
17
  * configureClient({
18
18
  * baseUrl: 'http://governance-api:3400',
19
19
  * getAuthToken: () => identityBootstrapService.getAccessToken(),
20
- * getHeaders: () => ({ 'X-Org-Id': orgId, 'X-Correlation-Id': crypto.randomUUID() }),
20
+ * getHeaders: () => ({ 'X-Xema-Org-Id': orgId, 'X-Correlation-Id': crypto.randomUUID() }),
21
21
  * });
22
22
  */
23
23
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,18 +1,18 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Interactive Session API
5
5
  * Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
8
  import type { ReportInspectPresenceDto, ReportInspectResultDto } from '../../models';
9
+ export declare const getOutputSurfaceInspectControllerResultUrl: (id: string) => string;
9
10
  /**
10
11
  * @summary Relay an Output Surface Inspector step result from the output surface iframe back to the broker.
11
12
  */
12
- export declare const getOutputSurfaceInspectControllerResultUrl: (id: string) => string;
13
13
  export declare const outputSurfaceInspectControllerResult: (id: string, reportInspectResultDto: ReportInspectResultDto, options?: RequestInit) => Promise<unknown>;
14
+ export declare const getOutputSurfaceInspectControllerPresenceUrl: (id: string) => string;
14
15
  /**
15
16
  * @summary Report output-surface-tab presence and bridge lifecycle (attach / heartbeat / detach / hello / unloading).
16
17
  */
17
- export declare const getOutputSurfaceInspectControllerPresenceUrl: (id: string) => string;
18
18
  export declare const outputSurfaceInspectControllerPresence: (id: string, reportInspectPresenceDto: ReportInspectPresenceDto, options?: RequestInit) => Promise<unknown>;
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.outputSurfaceInspectControllerPresence = exports.getOutputSurfaceInspectControllerPresenceUrl = exports.outputSurfaceInspectControllerResult = exports.getOutputSurfaceInspectControllerResultUrl = void 0;
4
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
5
  const getOutputSurfaceInspectControllerResultUrl = (id) => {
9
6
  return `/sessions/${id}/output-surface-inspect/result`;
10
7
  };
11
8
  exports.getOutputSurfaceInspectControllerResultUrl = getOutputSurfaceInspectControllerResultUrl;
9
+ /**
10
+ * @summary Relay an Output Surface Inspector step result from the output surface iframe back to the broker.
11
+ */
12
12
  const outputSurfaceInspectControllerResult = async (id, reportInspectResultDto, options) => {
13
13
  return (0, custom_fetch_1.customFetch)((0, exports.getOutputSurfaceInspectControllerResultUrl)(id), {
14
14
  ...options,
@@ -18,13 +18,13 @@ const outputSurfaceInspectControllerResult = async (id, reportInspectResultDto,
18
18
  });
19
19
  };
20
20
  exports.outputSurfaceInspectControllerResult = outputSurfaceInspectControllerResult;
21
- /**
22
- * @summary Report output-surface-tab presence and bridge lifecycle (attach / heartbeat / detach / hello / unloading).
23
- */
24
21
  const getOutputSurfaceInspectControllerPresenceUrl = (id) => {
25
22
  return `/sessions/${id}/output-surface-inspect/presence`;
26
23
  };
27
24
  exports.getOutputSurfaceInspectControllerPresenceUrl = getOutputSurfaceInspectControllerPresenceUrl;
25
+ /**
26
+ * @summary Report output-surface-tab presence and bridge lifecycle (attach / heartbeat / detach / hello / unloading).
27
+ */
28
28
  const outputSurfaceInspectControllerPresence = async (id, reportInspectPresenceDto, options) => {
29
29
  return (0, custom_fetch_1.customFetch)((0, exports.getOutputSurfaceInspectControllerPresenceUrl)(id), {
30
30
  ...options,
@@ -1,43 +1,43 @@
1
1
  /**
2
- * Generated by orval v8.6.2 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Interactive Session API
5
5
  * Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
8
  import type { OutputSurfaceAppResponseDtoDataArrayEnvelope, OutputSurfaceAppResponseDtoDataEnvelope, OutputSurfaceControllerRestartParams, OutputSurfaceControllerScanParams, RemediateOutputSurfaceDto, RemediateOutputSurfaceResponseDtoDataEnvelope, RotateTokenResponseDtoDataEnvelope } from '../../models';
9
+ export declare const getOutputSurfaceControllerListAppsUrl: (id: string) => string;
9
10
  /**
10
11
  * @summary List runnable output surface apps for this session.
11
12
  */
12
- export declare const getOutputSurfaceControllerListAppsUrl: (id: string) => string;
13
13
  export declare const outputSurfaceControllerListApps: (id: string, options?: RequestInit) => Promise<OutputSurfaceAppResponseDtoDataArrayEnvelope>;
14
+ export declare const getOutputSurfaceControllerScanUrl: (id: string, params?: OutputSurfaceControllerScanParams) => string;
14
15
  /**
15
16
  * @summary Request the worker to rescan the workspace for runnable apps.
16
17
  */
17
- export declare const getOutputSurfaceControllerScanUrl: (id: string, params?: OutputSurfaceControllerScanParams) => string;
18
18
  export declare const outputSurfaceControllerScan: (id: string, params?: OutputSurfaceControllerScanParams, options?: RequestInit) => Promise<unknown>;
19
+ export declare const getOutputSurfaceControllerRestartUrl: (id: string, appId: string, params?: OutputSurfaceControllerRestartParams) => string;
19
20
  /**
20
21
  * @summary Hard-restart an output surface app (stop then spawn).
21
22
  */
22
- export declare const getOutputSurfaceControllerRestartUrl: (id: string, appId: string, params?: OutputSurfaceControllerRestartParams) => string;
23
23
  export declare const outputSurfaceControllerRestart: (id: string, appId: string, params?: OutputSurfaceControllerRestartParams, options?: RequestInit) => Promise<OutputSurfaceAppResponseDtoDataEnvelope>;
24
+ export declare const getOutputSurfaceControllerStreamLogsUrl: (id: string, appId: string) => string;
24
25
  /**
25
26
  * @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
  */
27
- export declare const getOutputSurfaceControllerStreamLogsUrl: (id: string, appId: string) => string;
28
28
  export declare const outputSurfaceControllerStreamLogs: (id: string, appId: string, options?: RequestInit) => Promise<unknown>;
29
+ export declare const getOutputSurfaceControllerStopUrl: (id: string, appId: string) => string;
29
30
  /**
30
31
  * @summary Stop an output surface app and release its port.
31
32
  */
32
- export declare const getOutputSurfaceControllerStopUrl: (id: string, appId: string) => string;
33
33
  export declare const outputSurfaceControllerStop: (id: string, appId: string, options?: RequestInit) => Promise<unknown>;
34
+ export declare const getOutputSurfaceControllerRemediateUrl: (id: string) => string;
34
35
  /**
35
36
  * @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
  */
37
- export declare const getOutputSurfaceControllerRemediateUrl: (id: string) => string;
38
38
  export declare const outputSurfaceControllerRemediate: (id: string, remediateOutputSurfaceDto: RemediateOutputSurfaceDto, options?: RequestInit) => Promise<RemediateOutputSurfaceResponseDtoDataEnvelope>;
39
+ export declare const getOutputSurfaceControllerRotateTokenUrl: (id: string, appId: string) => string;
39
40
  /**
40
41
  * @summary Revoke the current share token and mint a new one; updates the external URL.
41
42
  */
42
- export declare const getOutputSurfaceControllerRotateTokenUrl: (id: string, appId: string) => string;
43
43
  export declare const outputSurfaceControllerRotateToken: (id: string, appId: string, options?: RequestInit) => Promise<RotateTokenResponseDtoDataEnvelope>;