@xemahq/agent-session-api-client 0.1.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +175 -201
- package/README.md +62 -0
- package/dist/custom-fetch.d.ts +1 -1
- package/dist/custom-fetch.js +1 -1
- package/dist/endpoints/output-surface-inspect/output-surface-inspect.d.ts +3 -3
- package/dist/endpoints/output-surface-inspect/output-surface-inspect.js +6 -6
- package/dist/endpoints/output-surfaces/output-surfaces.d.ts +8 -8
- package/dist/endpoints/output-surfaces/output-surfaces.js +21 -21
- package/dist/endpoints/sandbox-sessions/sandbox-sessions.d.ts +8 -8
- package/dist/endpoints/sandbox-sessions/sandbox-sessions.js +21 -21
- package/dist/endpoints/session-attachments/session-attachments.d.ts +4 -4
- package/dist/endpoints/session-attachments/session-attachments.js +9 -9
- package/dist/endpoints/session-blob-attachments/session-blob-attachments.d.ts +2 -2
- package/dist/endpoints/session-blob-attachments/session-blob-attachments.js +3 -3
- package/dist/endpoints/session-participants/session-participants.d.ts +5 -5
- package/dist/endpoints/session-participants/session-participants.js +12 -12
- package/dist/endpoints/sessions/sessions.d.ts +60 -50
- package/dist/endpoints/sessions/sessions.js +177 -143
- package/dist/endpoints/threads/threads.d.ts +9 -9
- package/dist/endpoints/threads/threads.js +24 -24
- package/dist/index.d.ts +0 -3
- package/dist/index.js +1 -4
- package/dist/models/addAttachmentDto.d.ts +2 -2
- package/dist/models/attachSkillDto.d.ts +1 -1
- package/dist/models/attachSkillDto.js +1 -1
- package/dist/models/attachmentClass.d.ts +1 -1
- package/dist/models/attachmentClass.js +1 -1
- package/dist/models/attachmentResponseDto.d.ts +3 -3
- package/dist/models/attachmentResponseDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/attachmentResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/attachmentUploadInitResponseDto.d.ts +2 -2
- package/dist/models/attachmentUploadInitResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/attachmentUploadInitResponseDtoRequiredHeaders.d.ts +1 -1
- package/dist/models/attachmentUploadInitResponseDtoRequiredHeaders.js +1 -1
- package/dist/models/branchStrategy.d.ts +1 -1
- package/dist/models/branchStrategy.js +1 -1
- package/dist/models/buildImageResultDto.d.ts +1 -1
- package/dist/models/buildImageResultDto.js +1 -1
- package/dist/models/buildImageStartedResponseDto.d.ts +1 -1
- package/dist/models/buildImageStartedResponseDto.js +1 -1
- package/dist/models/buildImageStartedResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/buildImageStatusResponseDto.d.ts +4 -4
- package/dist/models/buildImageStatusResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/buildImageStatusResponseDtoFailureMessage.d.ts +1 -1
- package/dist/models/buildImageStatusResponseDtoFailureMessage.js +1 -1
- package/dist/models/buildImageStatusResponseDtoStatus.d.ts +1 -1
- package/dist/models/buildImageStatusResponseDtoStatus.js +1 -1
- package/dist/models/changeSessionInstructionsDto.d.ts +16 -0
- package/dist/models/changeSessionInstructionsDto.js +2 -0
- package/dist/models/changeSessionInstructionsDtoInstructions.d.ts +15 -0
- package/dist/models/changeSessionInstructionsDtoInstructions.js +9 -0
- package/dist/models/changeSessionModelDto.d.ts +2 -2
- package/dist/models/changeSessionModelDtoSelection.d.ts +1 -1
- package/dist/models/changeSessionModelDtoSelection.js +1 -1
- package/dist/models/changeSessionPermissionDto.d.ts +15 -0
- package/dist/models/changeSessionPermissionDto.js +2 -0
- package/dist/models/changeSessionPermissionDtoPermission.d.ts +14 -0
- package/dist/models/changeSessionPermissionDtoPermission.js +9 -0
- package/dist/models/changeSessionToolsDto.d.ts +3 -3
- package/dist/models/createSandboxSessionDto.d.ts +3 -3
- package/dist/models/createSessionDto.d.ts +44 -0
- package/dist/models/createSessionDto.js +2 -0
- package/dist/models/createSessionDtoCustomConfig.d.ts +13 -0
- package/dist/models/createSessionDtoCustomConfig.js +9 -0
- package/dist/models/createThreadDto.d.ts +1 -1
- package/dist/models/createThreadDto.js +1 -1
- package/dist/models/environmentDriftDetectedPayloadDto.d.ts +2 -2
- package/dist/models/environmentDriftEntryDto.d.ts +3 -3
- package/dist/models/environmentDriftEntryDtoAfter.d.ts +1 -1
- package/dist/models/environmentDriftEntryDtoAfter.js +1 -1
- package/dist/models/environmentDriftEntryDtoBefore.d.ts +1 -1
- package/dist/models/environmentDriftEntryDtoBefore.js +1 -1
- package/dist/models/errorDetailsDto.d.ts +2 -2
- package/dist/models/errorDetailsDtoDetails.d.ts +1 -1
- package/dist/models/errorDetailsDtoDetails.js +1 -1
- package/dist/models/errorPayloadDto.d.ts +2 -2
- package/dist/models/errorResponseDto.d.ts +2 -2
- package/dist/models/externalInviteDeliveryMode.d.ts +1 -1
- package/dist/models/externalInviteDeliveryMode.js +1 -1
- package/dist/models/gitCommitEntryDto.d.ts +1 -1
- package/dist/models/gitCommitEntryDto.js +1 -1
- package/dist/models/gitCommitEntryDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/gitCommitResponseDto.d.ts +1 -1
- package/dist/models/gitCommitResponseDto.js +1 -1
- package/dist/models/gitCommitResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/gitStatusResponseDto.d.ts +2 -2
- package/dist/models/gitStatusResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/index.d.ts +9 -14
- package/dist/models/index.js +9 -14
- package/dist/models/initAttachmentUploadDto.d.ts +1 -1
- package/dist/models/initAttachmentUploadDto.js +1 -1
- package/dist/models/inspectStepResultDto.d.ts +4 -4
- package/dist/models/inspectStepResultDtoData.d.ts +1 -1
- package/dist/models/inspectStepResultDtoData.js +1 -1
- package/dist/models/inspectStepResultDtoKind.d.ts +1 -1
- package/dist/models/inspectStepResultDtoKind.js +1 -1
- package/dist/models/inspectStepResultDtoStatus.d.ts +1 -1
- package/dist/models/inspectStepResultDtoStatus.js +1 -1
- package/dist/models/invitableParticipantRole.d.ts +1 -1
- package/dist/models/invitableParticipantRole.js +1 -1
- package/dist/models/inviteExternalDto.d.ts +3 -3
- package/dist/models/inviteParticipantDto.d.ts +2 -2
- package/dist/models/invitedExternalParticipantResponseDto.d.ts +1 -1
- package/dist/models/invitedExternalParticipantResponseDto.js +1 -1
- package/dist/models/invitedExternalParticipantResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/kBPushResponseDto.d.ts +1 -1
- package/dist/models/kBPushResponseDto.js +1 -1
- package/dist/models/kBPushResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/kbMountsResponseDto.d.ts +2 -2
- package/dist/models/kbMountsResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/kbPageMountDto.d.ts +1 -1
- package/dist/models/kbPageMountDto.js +1 -1
- package/dist/models/listSessionParticipantsResponseDto.d.ts +2 -2
- package/dist/models/listSessionParticipantsResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/mergeCheckResponseDto.d.ts +1 -1
- package/dist/models/mergeCheckResponseDto.js +1 -1
- package/dist/models/mergeCheckResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/messageResponseDto.d.ts +3 -3
- package/dist/models/messageResponseDtoMetadata.d.ts +1 -1
- package/dist/models/messageResponseDtoMetadata.js +1 -1
- package/dist/models/messageResponseDtoPaginatedEnvelope.d.ts +3 -3
- package/dist/models/outputSurfaceAppResponseDto.d.ts +3 -3
- package/dist/models/outputSurfaceAppResponseDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/outputSurfaceAppResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/outputSurfaceAppStatus.d.ts +1 -1
- package/dist/models/outputSurfaceAppStatus.js +1 -1
- package/dist/models/outputSurfaceControllerRestartParams.d.ts +2 -2
- package/dist/models/outputSurfaceControllerScanParams.d.ts +2 -2
- package/dist/models/outputSurfaceRemediationKindInput.d.ts +1 -1
- package/dist/models/outputSurfaceRemediationKindInput.js +1 -1
- package/dist/models/outputSurfaceRestartMode.d.ts +1 -1
- package/dist/models/outputSurfaceRestartMode.js +1 -1
- package/dist/models/paginationMeta.d.ts +1 -1
- package/dist/models/paginationMeta.js +1 -1
- package/dist/models/participantRole.d.ts +1 -1
- package/dist/models/participantRole.js +1 -1
- package/dist/models/participantSubjectKind.d.ts +1 -1
- package/dist/models/participantSubjectKind.js +1 -1
- package/dist/models/projectKind.d.ts +1 -1
- package/dist/models/projectKind.js +1 -1
- package/dist/models/providerEntryDto.d.ts +3 -3
- package/dist/models/providerEntryDtoKind.d.ts +1 -1
- package/dist/models/providerEntryDtoKind.js +1 -1
- package/dist/models/pullRequestResponseDto.d.ts +2 -2
- package/dist/models/pullRequestResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/pullRequestResponseDtoPrUrl.d.ts +1 -1
- package/dist/models/pullRequestResponseDtoPrUrl.js +1 -1
- package/dist/models/pushDocumentEditDto.d.ts +1 -1
- package/dist/models/pushDocumentEditDto.js +1 -1
- package/dist/models/reasoningDeltaPayloadDto.d.ts +1 -1
- package/dist/models/reasoningDeltaPayloadDto.js +1 -1
- package/dist/models/referenceAttachmentClass.d.ts +1 -1
- package/dist/models/referenceAttachmentClass.js +1 -1
- package/dist/models/remediateOutputSurfaceDto.d.ts +2 -2
- package/dist/models/remediateOutputSurfaceResponseDto.d.ts +1 -1
- package/dist/models/remediateOutputSurfaceResponseDto.js +1 -1
- package/dist/models/remediateOutputSurfaceResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/repoGitStatusDto.d.ts +2 -2
- package/dist/models/repoRole.d.ts +1 -1
- package/dist/models/repoRole.js +1 -1
- package/dist/models/reportInspectPresenceDto.d.ts +3 -3
- package/dist/models/reportInspectPresenceDtoKind.d.ts +1 -1
- package/dist/models/reportInspectPresenceDtoKind.js +1 -1
- package/dist/models/reportInspectPresenceDtoReason.d.ts +1 -1
- package/dist/models/reportInspectPresenceDtoReason.js +1 -1
- package/dist/models/reportInspectResultDto.d.ts +2 -2
- package/dist/models/resumeSessionDto.d.ts +1 -1
- package/dist/models/resumeSessionDto.js +1 -1
- package/dist/models/rotateTokenResponseDto.d.ts +1 -1
- package/dist/models/rotateTokenResponseDto.js +1 -1
- package/dist/models/rotateTokenResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/runSandboxEvalTurnDto.d.ts +1 -1
- package/dist/models/runSandboxEvalTurnDto.js +1 -1
- package/dist/models/sandboxEvalTurnResultDto.d.ts +1 -1
- package/dist/models/sandboxEvalTurnResultDto.js +1 -1
- package/dist/models/sandboxEvalTurnResultDtoDataEnvelope.d.ts +2 -2
- package/dist/models/sandboxSessionsControllerDeleteToolMocksParams.d.ts +1 -1
- package/dist/models/sandboxSessionsControllerDeleteToolMocksParams.js +1 -1
- package/dist/models/sandboxToolMockDto.d.ts +1 -1
- package/dist/models/sandboxToolMockDto.js +1 -1
- package/dist/models/sandboxToolMocksResponseDto.d.ts +1 -1
- package/dist/models/sandboxToolMocksResponseDto.js +1 -1
- package/dist/models/sandboxToolMocksResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/sessionAttachmentStatus.d.ts +1 -1
- package/dist/models/sessionAttachmentStatus.js +1 -1
- package/dist/models/sessionBlobAttachmentDto.d.ts +2 -2
- package/dist/models/sessionBlobAttachmentDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/sessionBlobAttachmentDtoRequiredHeaders.d.ts +1 -1
- package/dist/models/sessionBlobAttachmentDtoRequiredHeaders.js +1 -1
- package/dist/models/sessionContextWindowSnapshotDto.d.ts +1 -1
- package/dist/models/sessionContextWindowSnapshotDto.js +1 -1
- package/dist/models/sessionDebugAgentNodeDto.d.ts +20 -0
- package/dist/models/sessionDebugAgentNodeDto.js +9 -0
- package/dist/models/sessionDebugCompositionNodeDto.d.ts +1 -1
- package/dist/models/sessionDebugCompositionNodeDto.js +1 -1
- package/dist/models/sessionDebugInfoDto.d.ts +8 -8
- package/dist/models/sessionDebugInfoDtoDataEnvelope.d.ts +2 -2
- package/dist/models/sessionDebugInfoDtoMountPlan.d.ts +1 -1
- package/dist/models/sessionDebugInfoDtoMountPlan.js +1 -1
- package/dist/models/sessionDebugModelDecisionDto.d.ts +1 -1
- package/dist/models/sessionDebugModelDecisionDto.js +1 -1
- package/dist/models/sessionDebugSkillDto.d.ts +2 -2
- package/dist/models/sessionDebugSkillDtoSnapshot.d.ts +1 -1
- package/dist/models/sessionDebugSkillDtoSnapshot.js +1 -1
- package/dist/models/sessionKind.d.ts +1 -1
- package/dist/models/sessionKind.js +1 -1
- package/dist/models/sessionLayer.d.ts +17 -0
- package/dist/models/sessionLayer.js +16 -0
- package/dist/models/sessionLockfileDto.d.ts +7 -7
- package/dist/models/sessionLockfileDtoAgents.d.ts +1 -1
- package/dist/models/sessionLockfileDtoAgents.js +1 -1
- package/dist/models/sessionLockfileDtoBiomes.d.ts +1 -1
- package/dist/models/sessionLockfileDtoBiomes.js +1 -1
- package/dist/models/sessionLockfileDtoCapabilities.d.ts +1 -1
- package/dist/models/sessionLockfileDtoCapabilities.js +1 -1
- package/dist/models/sessionLockfileDtoDataEnvelope.d.ts +2 -2
- package/dist/models/sessionLockfileDtoDeliverableSpecs.d.ts +1 -1
- package/dist/models/sessionLockfileDtoDeliverableSpecs.js +1 -1
- package/dist/models/sessionLockfileDtoSkills.d.ts +1 -1
- package/dist/models/sessionLockfileDtoSkills.js +1 -1
- package/dist/models/sessionLockfileDtoWorkflows.d.ts +1 -1
- package/dist/models/sessionLockfileDtoWorkflows.js +1 -1
- package/dist/models/sessionMessageRole.d.ts +1 -1
- package/dist/models/sessionMessageRole.js +1 -1
- package/dist/models/sessionParticipantDto.d.ts +3 -3
- package/dist/models/sessionParticipantDtoDataEnvelope.d.ts +2 -2
- package/dist/models/sessionPauseReason.d.ts +1 -1
- package/dist/models/sessionPauseReason.js +1 -1
- package/dist/models/sessionProvisioningPhase.d.ts +1 -1
- package/dist/models/sessionProvisioningPhase.js +1 -1
- package/dist/models/sessionResponseDto.d.ts +13 -13
- package/dist/models/sessionResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/sessionResponseDtoFailureMetaJson.d.ts +1 -1
- package/dist/models/sessionResponseDtoFailureMetaJson.js +1 -1
- package/dist/models/sessionResponseDtoHandoffOutput.d.ts +1 -1
- package/dist/models/sessionResponseDtoHandoffOutput.js +1 -1
- package/dist/models/sessionResponseDtoModelSelection.d.ts +1 -1
- package/dist/models/sessionResponseDtoModelSelection.js +1 -1
- package/dist/models/sessionResponseDtoPaginatedEnvelope.d.ts +3 -3
- package/dist/models/sessionResponseDtoToolSelectionItem.d.ts +1 -1
- package/dist/models/sessionResponseDtoToolSelectionItem.js +1 -1
- package/dist/models/sessionStatus.d.ts +1 -1
- package/dist/models/sessionStatus.js +1 -1
- package/dist/models/sessionTimelineEntryDto.d.ts +3 -3
- package/dist/models/sessionTimelineEntryDtoEventType.d.ts +1 -1
- package/dist/models/sessionTimelineEntryDtoEventType.js +1 -1
- package/dist/models/sessionTimelineEntryDtoPayload.d.ts +5 -5
- package/dist/models/sessionTimelinePageDto.d.ts +2 -2
- package/dist/models/sessionTimelinePageDtoDataEnvelope.d.ts +2 -2
- package/dist/models/sessionTokenUsageDto.d.ts +1 -1
- package/dist/models/sessionTokenUsageDto.js +1 -1
- package/dist/models/sessionsControllerGetCommitHistoryParams.d.ts +1 -1
- package/dist/models/sessionsControllerGetCommitHistoryParams.js +1 -1
- package/dist/models/sessionsControllerGetGitDiffParams.d.ts +1 -1
- package/dist/models/sessionsControllerGetGitDiffParams.js +1 -1
- package/dist/models/sessionsControllerListFilesParams.d.ts +1 -1
- package/dist/models/sessionsControllerListFilesParams.js +1 -1
- package/dist/models/sessionsControllerListParams.d.ts +1 -1
- package/dist/models/sessionsControllerListParams.js +1 -1
- package/dist/models/sessionsControllerListTemplatesParams.d.ts +1 -1
- package/dist/models/sessionsControllerListTemplatesParams.js +1 -1
- package/dist/models/sessionsControllerMergeCheckParams.d.ts +1 -1
- package/dist/models/sessionsControllerMergeCheckParams.js +1 -1
- package/dist/models/sessionsControllerStreamEventsParams.d.ts +1 -1
- package/dist/models/sessionsControllerStreamEventsParams.js +1 -1
- package/dist/models/setSandboxToolMocksDto.d.ts +2 -2
- package/dist/models/shareAccessLevel.d.ts +1 -1
- package/dist/models/shareAccessLevel.js +1 -1
- package/dist/models/shareResponseDto.d.ts +3 -3
- package/dist/models/shareResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/shareResponseDtoExpiresAt.d.ts +1 -1
- package/dist/models/shareResponseDtoExpiresAt.js +1 -1
- package/dist/models/startBuildImageDto.d.ts +1 -1
- package/dist/models/startBuildImageDto.js +1 -1
- package/dist/models/templateResponseDto.d.ts +6 -6
- package/dist/models/templateResponseDtoBudgetLimit.d.ts +1 -1
- package/dist/models/templateResponseDtoBudgetLimit.js +1 -1
- package/dist/models/templateResponseDtoCustomConfig.d.ts +1 -1
- package/dist/models/templateResponseDtoCustomConfig.js +1 -1
- package/dist/models/templateResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/templateResponseDtoDescription.d.ts +1 -1
- package/dist/models/templateResponseDtoDescription.js +1 -1
- package/dist/models/templateResponseDtoPaginatedEnvelope.d.ts +3 -3
- package/dist/models/templateResponseDtoRepositoryId.d.ts +1 -1
- package/dist/models/templateResponseDtoRepositoryId.js +1 -1
- package/dist/models/textDeltaPayloadDto.d.ts +1 -1
- package/dist/models/textDeltaPayloadDto.js +1 -1
- package/dist/models/threadResponseDto.d.ts +4 -4
- package/dist/models/threadResponseDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/threadResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/threadResponseDtoModelSelection.d.ts +1 -1
- package/dist/models/threadResponseDtoModelSelection.js +1 -1
- package/dist/models/threadStatus.d.ts +1 -1
- package/dist/models/threadStatus.js +1 -1
- package/dist/models/threadsControllerGetMessagesParams.d.ts +1 -1
- package/dist/models/threadsControllerGetMessagesParams.js +1 -1
- package/dist/models/threadsControllerGetTimelineParams.d.ts +1 -1
- package/dist/models/threadsControllerGetTimelineParams.js +1 -1
- package/dist/models/toolCallPayloadDto.d.ts +2 -2
- package/dist/models/toolCallPayloadDtoStatus.d.ts +1 -1
- package/dist/models/toolCallPayloadDtoStatus.js +1 -1
- package/dist/models/toolEntryDto.d.ts +3 -3
- package/dist/models/toolEntryDtoKind.d.ts +1 -1
- package/dist/models/toolEntryDtoKind.js +1 -1
- package/dist/models/toolProviderKind.d.ts +1 -1
- package/dist/models/toolProviderKind.js +1 -1
- package/dist/models/toolUsageEntryDto.d.ts +1 -1
- package/dist/models/toolUsageEntryDto.js +1 -1
- package/dist/models/toolUsageResponseDto.d.ts +2 -2
- package/dist/models/toolUsageResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/turnState.d.ts +1 -1
- package/dist/models/turnState.js +1 -1
- package/dist/models/updateKbMountsDto.d.ts +2 -2
- package/dist/models/updateThreadDto.d.ts +2 -2
- package/dist/models/usageResponseDto.d.ts +3 -3
- package/dist/models/usageResponseDtoBudgetLimit.d.ts +1 -1
- package/dist/models/usageResponseDtoBudgetLimit.js +1 -1
- package/dist/models/usageResponseDtoBudgetRatio.d.ts +1 -1
- package/dist/models/usageResponseDtoBudgetRatio.js +1 -1
- package/dist/models/usageResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/workerRuntimeKind.d.ts +17 -0
- package/dist/models/workerRuntimeKind.js +16 -0
- package/package.json +10 -1
package/LICENSE
CHANGED
|
@@ -1,201 +1,175 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
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> ·
|
|
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 — © Xema. All rights reserved. — [xema.dev](https://xema.dev)
|
package/dist/custom-fetch.d.ts
CHANGED
|
@@ -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 {
|
package/dist/custom-fetch.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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>;
|