@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
|
@@ -1,243 +1,253 @@
|
|
|
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
|
-
import type { AddAttachmentDto, AttachmentResponseDtoDataArrayEnvelope, AttachmentResponseDtoDataEnvelope, AttachmentUploadInitResponseDtoDataEnvelope, BuildImageStartedResponseDtoDataEnvelope, BuildImageStatusResponseDtoDataEnvelope, ChangeSessionModelDto, ChangeSessionToolsDto, GitCommitEntryDtoDataArrayEnvelope, GitCommitResponseDtoDataEnvelope, GitStatusResponseDtoDataEnvelope, InitAttachmentUploadDto, KBPushResponseDtoDataEnvelope, KbMountsResponseDtoDataEnvelope, MergeCheckResponseDtoDataEnvelope, PullRequestResponseDtoDataEnvelope, PushDocumentEditDto, ResumeSessionDto, SessionLockfileDtoDataEnvelope, SessionResponseDtoDataEnvelope, SessionResponseDtoPaginatedEnvelope, SessionsControllerGetCommitHistoryParams, SessionsControllerGetGitDiffParams, SessionsControllerListFilesParams, SessionsControllerListParams, SessionsControllerListTemplatesParams, SessionsControllerMergeCheckParams, SessionsControllerStreamEventsParams, ShareResponseDtoDataEnvelope, StartBuildImageDto, TemplateResponseDtoDataEnvelope, TemplateResponseDtoPaginatedEnvelope, ToolUsageResponseDtoDataEnvelope, UpdateKbMountsDto, UsageResponseDtoDataEnvelope } from '../../models';
|
|
8
|
+
import type { AddAttachmentDto, AttachmentResponseDtoDataArrayEnvelope, AttachmentResponseDtoDataEnvelope, AttachmentUploadInitResponseDtoDataEnvelope, BuildImageStartedResponseDtoDataEnvelope, BuildImageStatusResponseDtoDataEnvelope, ChangeSessionInstructionsDto, ChangeSessionModelDto, ChangeSessionPermissionDto, ChangeSessionToolsDto, CreateSessionDto, GitCommitEntryDtoDataArrayEnvelope, GitCommitResponseDtoDataEnvelope, GitStatusResponseDtoDataEnvelope, InitAttachmentUploadDto, KBPushResponseDtoDataEnvelope, KbMountsResponseDtoDataEnvelope, MergeCheckResponseDtoDataEnvelope, PullRequestResponseDtoDataEnvelope, PushDocumentEditDto, ResumeSessionDto, SessionLockfileDtoDataEnvelope, SessionResponseDtoDataEnvelope, SessionResponseDtoPaginatedEnvelope, SessionsControllerGetCommitHistoryParams, SessionsControllerGetGitDiffParams, SessionsControllerListFilesParams, SessionsControllerListParams, SessionsControllerListTemplatesParams, SessionsControllerMergeCheckParams, SessionsControllerStreamEventsParams, ShareResponseDtoDataEnvelope, StartBuildImageDto, TemplateResponseDtoDataEnvelope, TemplateResponseDtoPaginatedEnvelope, ToolUsageResponseDtoDataEnvelope, UpdateKbMountsDto, UsageResponseDtoDataEnvelope } from '../../models';
|
|
9
|
+
export declare const getSessionsControllerCreateUrl: () => string;
|
|
9
10
|
/**
|
|
10
11
|
* @summary Create a new agent session
|
|
11
12
|
*/
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const sessionsControllerCreate: (createSessionDto: CreateSessionDto, options?: RequestInit) => Promise<SessionResponseDtoDataEnvelope>;
|
|
14
|
+
export declare const getSessionsControllerListUrl: (params?: SessionsControllerListParams) => string;
|
|
14
15
|
/**
|
|
15
16
|
* @summary List sessions with pagination and filters
|
|
16
17
|
*/
|
|
17
|
-
export declare const getSessionsControllerListUrl: (params?: SessionsControllerListParams) => string;
|
|
18
18
|
export declare const sessionsControllerList: (params?: SessionsControllerListParams, options?: RequestInit) => Promise<SessionResponseDtoPaginatedEnvelope>;
|
|
19
|
+
export declare const getSessionsControllerForkUrl: (id: string) => string;
|
|
19
20
|
/**
|
|
20
21
|
* @summary Fork an existing session. Creates a new session that inherits the parent's profile, model, repository and branch strategy, then provisions a fresh worker — no chat history is copied. Use this to explore a parallel direction without disturbing the parent.
|
|
21
22
|
*/
|
|
22
|
-
export declare const getSessionsControllerForkUrl: (id: string) => string;
|
|
23
23
|
export declare const sessionsControllerFork: (id: string, options?: RequestInit) => Promise<SessionResponseDtoDataEnvelope>;
|
|
24
|
+
export declare const getSessionsControllerGetByIdUrl: (id: string) => string;
|
|
24
25
|
/**
|
|
25
26
|
* @summary Get session detail
|
|
26
27
|
*/
|
|
27
|
-
export declare const getSessionsControllerGetByIdUrl: (id: string) => string;
|
|
28
28
|
export declare const sessionsControllerGetById: (id: string, options?: RequestInit) => Promise<SessionResponseDtoDataEnvelope>;
|
|
29
|
+
export declare const getSessionsControllerTerminateUrl: (id: string) => string;
|
|
29
30
|
/**
|
|
30
31
|
* @summary Terminate and archive a session
|
|
31
32
|
*/
|
|
32
|
-
export declare const getSessionsControllerTerminateUrl: (id: string) => string;
|
|
33
33
|
export declare const sessionsControllerTerminate: (id: string, options?: RequestInit) => Promise<SessionResponseDtoDataEnvelope>;
|
|
34
|
+
export declare const getSessionsControllerGetLockfileUrl: (id: string) => string;
|
|
34
35
|
/**
|
|
35
36
|
* @summary Get the pinned AppLockfile minted at session create time (plan §10.4 / §17.9 item 3). Returns 404 for sessions created before the lockfile column was introduced.
|
|
36
37
|
*/
|
|
37
|
-
export declare const getSessionsControllerGetLockfileUrl: (id: string) => string;
|
|
38
38
|
export declare const sessionsControllerGetLockfile: (id: string, options?: RequestInit) => Promise<SessionLockfileDtoDataEnvelope>;
|
|
39
|
+
export declare const getSessionsControllerTerminateByPipelineRunIdUrl: (pipelineRunId: string) => string;
|
|
39
40
|
/**
|
|
40
41
|
* @summary Terminate all non-terminal sessions tied to a pipeline run. Intended for service-to-service calls (e.g. work-orchestrator stopPipeline) that need to release OpenCode workers held by agent sessions spawned inside a run the user has just halted.
|
|
41
42
|
*/
|
|
42
|
-
export declare const getSessionsControllerTerminateByPipelineRunIdUrl: (pipelineRunId: string) => string;
|
|
43
43
|
export declare const sessionsControllerTerminateByPipelineRunId: (pipelineRunId: string, options?: RequestInit) => Promise<unknown>;
|
|
44
|
+
export declare const getSessionsControllerReplyToQuestionUrl: (id: string, requestId: string) => string;
|
|
44
45
|
/**
|
|
45
46
|
* @summary Reply to a question posed by the agent during a turn
|
|
46
47
|
*/
|
|
47
|
-
export declare const getSessionsControllerReplyToQuestionUrl: (id: string, requestId: string) => string;
|
|
48
48
|
export declare const sessionsControllerReplyToQuestion: (id: string, requestId: string, options?: RequestInit) => Promise<unknown>;
|
|
49
|
+
export declare const getSessionsControllerRejectQuestionUrl: (id: string, requestId: string) => string;
|
|
49
50
|
/**
|
|
50
51
|
* @summary Reject/dismiss a question posed by the agent during a turn
|
|
51
52
|
*/
|
|
52
|
-
export declare const getSessionsControllerRejectQuestionUrl: (id: string, requestId: string) => string;
|
|
53
53
|
export declare const sessionsControllerRejectQuestion: (id: string, requestId: string, options?: RequestInit) => Promise<unknown>;
|
|
54
|
+
export declare const getSessionsControllerStreamEventsUrl: (id: string, params?: SessionsControllerStreamEventsParams) => string;
|
|
54
55
|
/**
|
|
55
56
|
* @summary Live SSE stream of session events — backlog from afterSequence, then live tail. Same wire shape as /timeline; reuse a single mapper on the FE.
|
|
56
57
|
*/
|
|
57
|
-
export declare const getSessionsControllerStreamEventsUrl: (id: string, params?: SessionsControllerStreamEventsParams) => string;
|
|
58
58
|
export declare const sessionsControllerStreamEvents: (id: string, params?: SessionsControllerStreamEventsParams, options?: RequestInit) => Promise<unknown>;
|
|
59
|
+
export declare const getSessionsControllerListFilesUrl: (id: string, params?: SessionsControllerListFilesParams) => string;
|
|
59
60
|
/**
|
|
60
61
|
* @summary Browse workspace file tree (scoped proxy with security boundary)
|
|
61
62
|
*/
|
|
62
|
-
export declare const getSessionsControllerListFilesUrl: (id: string, params?: SessionsControllerListFilesParams) => string;
|
|
63
63
|
export declare const sessionsControllerListFiles: (id: string, params?: SessionsControllerListFilesParams, options?: RequestInit) => Promise<unknown>;
|
|
64
|
+
export declare const getSessionsControllerReadFileUrl: (id: string, filePath: unknown) => string;
|
|
64
65
|
/**
|
|
65
66
|
* @summary Read file content from workspace (scoped proxy, deny list enforced, 1MB limit)
|
|
66
67
|
*/
|
|
67
|
-
export declare const getSessionsControllerReadFileUrl: (id: string, filePath: unknown) => string;
|
|
68
68
|
export declare const sessionsControllerReadFile: (id: string, filePath: unknown, options?: RequestInit) => Promise<unknown>;
|
|
69
|
+
export declare const getSessionsControllerPushDocumentEditUrl: (id: string) => string;
|
|
69
70
|
/**
|
|
70
71
|
* @summary Document Buddy up-channel — stream a user editor edit into the document working file. The new base content is 3-way merged against the agent's working copy: the user edit folds into the accepted base, non-colliding agent suggestions survive, and agent hunks on the same lines are marked STALE (the user always wins). No turn gate.
|
|
71
72
|
*/
|
|
72
|
-
export declare const getSessionsControllerPushDocumentEditUrl: (id: string) => string;
|
|
73
73
|
export declare const sessionsControllerPushDocumentEdit: (id: string, pushDocumentEditDto: PushDocumentEditDto, options?: RequestInit) => Promise<unknown>;
|
|
74
|
+
export declare const getSessionsControllerResyncDocumentUrl: (id: string) => string;
|
|
74
75
|
/**
|
|
75
76
|
* @summary Document Buddy — re-materialize the worker's document working file from knowledge-base-api after a patch decision (accept / reject). The frontend calls this best-effort once a decision succeeds so a discarded hunk's text actually leaves the worker file. A paused session returns `resynced: false` — its file re-materializes on resume.
|
|
76
77
|
*/
|
|
77
|
-
export declare const getSessionsControllerResyncDocumentUrl: (id: string) => string;
|
|
78
78
|
export declare const sessionsControllerResyncDocument: (id: string, options?: RequestInit) => Promise<unknown>;
|
|
79
|
+
export declare const getSessionsControllerChangeModelUrl: (id: string) => string;
|
|
79
80
|
/**
|
|
80
81
|
* @summary Switch a session's model/provider override. Picks up on the NEXT user message — no worker restart. Send `selection: null` to clear the override and fall back to the agent's default modelClass strategy. Rejected for terminal sessions (completed/failed/archived).
|
|
81
82
|
*/
|
|
82
|
-
export declare const getSessionsControllerChangeModelUrl: (id: string) => string;
|
|
83
83
|
export declare const sessionsControllerChangeModel: (id: string, changeSessionModelDto: ChangeSessionModelDto, options?: RequestInit) => Promise<unknown>;
|
|
84
|
+
export declare const getSessionsControllerChangeToolsUrl: (id: string) => string;
|
|
84
85
|
/**
|
|
85
86
|
* @summary Replace a session's MCP tool selection. Takes a flat list of ToolSelectionEntry (provider-kind references + optional toolName for narrow selections). Each entry is tenancy-validated against the session's (orgId, projectId) BEFORE the column is written; cross-org references fail with 403. Phase D: applies HOT — the resolved `mcpServers` map is merged into the recomposed opencode.jsonc and pushed via `PUT /control/session-bundle`, triggering one opencode restart per real change (no restart when the fingerprint matches). Returns 409 `session_busy` when the session has an in-flight turn — wait for the agent to finish and retry. Default selection is `[]` (OpenCode built-ins only baseline).
|
|
86
87
|
*/
|
|
87
|
-
export declare const getSessionsControllerChangeToolsUrl: (id: string) => string;
|
|
88
88
|
export declare const sessionsControllerChangeTools: (id: string, changeSessionToolsDto: ChangeSessionToolsDto, options?: RequestInit) => Promise<unknown>;
|
|
89
|
+
export declare const getSessionsControllerChangeInstructionsUrl: (id: string) => string;
|
|
89
90
|
/**
|
|
90
|
-
* @summary
|
|
91
|
+
* @summary Set or clear the session-level instructions overlay (W4 for sessions). APPEND semantics: the text is appended AFTER the resolved primary system prompt + the composition's own root-node instructions. Send `instructions: null` (or omit) to clear it. Applies HOT via the same bundle rebuild path as model/tools (one opencode restart per real change; no-op when the fingerprint matches). Returns 409 `session_busy` during an in-flight turn; rejected for terminal sessions.
|
|
92
|
+
*/
|
|
93
|
+
export declare const sessionsControllerChangeInstructions: (id: string, changeSessionInstructionsDto: ChangeSessionInstructionsDto, options?: RequestInit) => Promise<unknown>;
|
|
94
|
+
export declare const getSessionsControllerChangePermissionUrl: (id: string) => string;
|
|
95
|
+
/**
|
|
96
|
+
* @summary Set or clear a RESTRICT-only permission overlay for the session (W4 for sessions). The map narrows the resolved primary permission map at the runtime boundary — keys are members of the closed permission-key set and values are `ask` | `deny` (or a nested per-resource sub-map); `allow` is rejected (an overlay may only narrow, never grant). Send `permission: null` (or omit) to clear it. Applies HOT via the same bundle rebuild path as model/tools. Returns 409 `session_busy` during an in-flight turn; rejected for terminal sessions.
|
|
91
97
|
*/
|
|
98
|
+
export declare const sessionsControllerChangePermission: (id: string, changeSessionPermissionDto: ChangeSessionPermissionDto, options?: RequestInit) => Promise<unknown>;
|
|
92
99
|
export declare const getSessionsControllerListKbMountsUrl: (id: string) => string;
|
|
100
|
+
/**
|
|
101
|
+
* @summary List the KB spaces and per-space page selections currently mounted into this session's `/workspace/references/kb/` tree. Empty arrays on a session that has never set a selection.
|
|
102
|
+
*/
|
|
93
103
|
export declare const sessionsControllerListKbMounts: (id: string, options?: RequestInit) => Promise<KbMountsResponseDtoDataEnvelope>;
|
|
104
|
+
export declare const getSessionsControllerUpdateKbMountsUrl: (id: string) => string;
|
|
94
105
|
/**
|
|
95
106
|
* @summary Full-replace the session’s KB mount selection. Both `spaceIds` and `pageMounts` are total sets — the persisted selection is overwritten. If the session has a live worker, the workspace references slot is atomically re-applied so the agent sees the change on its next turn. If the session is paused, the change is persisted and materialized on the next resume. To clear all KB mounts, send `{ spaceIds: [], pageMounts: [] }`.
|
|
96
107
|
*/
|
|
97
|
-
export declare const getSessionsControllerUpdateKbMountsUrl: (id: string) => string;
|
|
98
108
|
export declare const sessionsControllerUpdateKbMounts: (id: string, updateKbMountsDto: UpdateKbMountsDto, options?: RequestInit) => Promise<KbMountsResponseDtoDataEnvelope>;
|
|
109
|
+
export declare const getSessionsControllerPauseUrl: (id: string) => string;
|
|
99
110
|
/**
|
|
100
111
|
* @summary Pause session — snapshot to MinIO, release worker. Requires turnState=idle.
|
|
101
112
|
*/
|
|
102
|
-
export declare const getSessionsControllerPauseUrl: (id: string) => string;
|
|
103
113
|
export declare const sessionsControllerPause: (id: string, options?: RequestInit) => Promise<unknown>;
|
|
114
|
+
export declare const getSessionsControllerResumeUrl: (id: string) => string;
|
|
104
115
|
/**
|
|
105
116
|
* @summary Resume paused session — acquire worker, restore snapshot. Pass `agentSlugOverride` to recover a session whose primary agent was removed.
|
|
106
117
|
*/
|
|
107
|
-
export declare const getSessionsControllerResumeUrl: (id: string) => string;
|
|
108
118
|
export declare const sessionsControllerResume: (id: string, resumeSessionDto: ResumeSessionDto, options?: RequestInit) => Promise<unknown>;
|
|
119
|
+
export declare const getSessionsControllerCompactUrl: (id: string) => string;
|
|
109
120
|
/**
|
|
110
121
|
* @summary Trigger OpenCode-native conversation compaction. Auto-resumes paused sessions. The summary lands as a new assistant message inside OpenCode and `session.compacted` fires, which the event-bridge relays — `Session.contextWindowSnapshot` is reset to zeros and the FE chip drops via SSE without polling. Auto-compact still runs inside OpenCode on overflow independently of this endpoint.
|
|
111
122
|
*/
|
|
112
|
-
export declare const getSessionsControllerCompactUrl: (id: string) => string;
|
|
113
123
|
export declare const sessionsControllerCompact: (id: string, options?: RequestInit) => Promise<unknown>;
|
|
124
|
+
export declare const getSessionsControllerArchiveUrl: (id: string) => string;
|
|
114
125
|
/**
|
|
115
126
|
* @summary Archive session — deletes the MinIO snapshot and the `xema/session/<id>` branches on each DELIVERABLE repo, releases any active worker, and transitions the row to status=archived. Idempotent: a call against an already-archived session returns the prior archivedAt without re-running cleanup. Distinct from `/pause`: pause preserves state for resume; archive throws it away.
|
|
116
127
|
*/
|
|
117
|
-
export declare const getSessionsControllerArchiveUrl: (id: string) => string;
|
|
118
128
|
export declare const sessionsControllerArchive: (id: string, options?: RequestInit) => Promise<unknown>;
|
|
129
|
+
export declare const getSessionsControllerAddAttachmentUrl: (id: string) => string;
|
|
119
130
|
/**
|
|
120
131
|
* @summary Add reference-class attachment to session (kb_page / org_document / internal_url / repo_ref)
|
|
121
132
|
*/
|
|
122
|
-
export declare const getSessionsControllerAddAttachmentUrl: (id: string) => string;
|
|
123
133
|
export declare const sessionsControllerAddAttachment: (id: string, addAttachmentDto: AddAttachmentDto, options?: RequestInit) => Promise<AttachmentResponseDtoDataEnvelope>;
|
|
134
|
+
export declare const getSessionsControllerListAttachmentsUrl: (id: string) => string;
|
|
124
135
|
/**
|
|
125
136
|
* @summary List session attachments
|
|
126
137
|
*/
|
|
127
|
-
export declare const getSessionsControllerListAttachmentsUrl: (id: string) => string;
|
|
128
138
|
export declare const sessionsControllerListAttachments: (id: string, options?: RequestInit) => Promise<AttachmentResponseDtoDataArrayEnvelope>;
|
|
139
|
+
export declare const getSessionsControllerRemoveAttachmentUrl: (id: string, attachmentId: string) => string;
|
|
129
140
|
/**
|
|
130
141
|
* @summary Remove attachment from session
|
|
131
142
|
*/
|
|
132
|
-
export declare const getSessionsControllerRemoveAttachmentUrl: (id: string, attachmentId: string) => string;
|
|
133
143
|
export declare const sessionsControllerRemoveAttachment: (id: string, attachmentId: string, options?: RequestInit) => Promise<unknown>;
|
|
144
|
+
export declare const getSessionsControllerInitAttachmentUploadUrl: (id: string) => string;
|
|
134
145
|
/**
|
|
135
146
|
* @summary Initiate a direct-to-blob upload for a file attachment. Returns a short-lived presigned URL the browser uses to PUT the bytes straight to object storage; session-api never sees the buffer.
|
|
136
147
|
*/
|
|
137
|
-
export declare const getSessionsControllerInitAttachmentUploadUrl: (id: string) => string;
|
|
138
148
|
export declare const sessionsControllerInitAttachmentUpload: (id: string, initAttachmentUploadDto: InitAttachmentUploadDto, options?: RequestInit) => Promise<AttachmentUploadInitResponseDtoDataEnvelope>;
|
|
149
|
+
export declare const getSessionsControllerCompleteAttachmentUploadUrl: (id: string, attachmentId: string) => string;
|
|
139
150
|
/**
|
|
140
151
|
* @summary Finalise a SAS upload. Verifies the blob landed in storage, flips the attachment to ready, and projects the file into the live workspace via the workspace-proxy SAS-pull endpoint so the agent sees it immediately.
|
|
141
152
|
*/
|
|
142
|
-
export declare const getSessionsControllerCompleteAttachmentUploadUrl: (id: string, attachmentId: string) => string;
|
|
143
153
|
export declare const sessionsControllerCompleteAttachmentUpload: (id: string, attachmentId: string, options?: RequestInit) => Promise<AttachmentResponseDtoDataEnvelope>;
|
|
154
|
+
export declare const getSessionsControllerGetUsageUrl: (id: string) => string;
|
|
144
155
|
/**
|
|
145
156
|
* @summary Get session token usage and budget status
|
|
146
157
|
*/
|
|
147
|
-
export declare const getSessionsControllerGetUsageUrl: (id: string) => string;
|
|
148
158
|
export declare const sessionsControllerGetUsage: (id: string, options?: RequestInit) => Promise<UsageResponseDtoDataEnvelope>;
|
|
159
|
+
export declare const getSessionsControllerGetToolUsageUrl: (id: string) => string;
|
|
149
160
|
/**
|
|
150
161
|
* @summary Per-session MCP tool-usage counters (Phase E telemetry). Returns one row per (mcpServiceSlug, command) tuple, sorted by count desc. Counters live in Redis with a 30-day TTL; an unreachable telemetry store yields an empty list plus a `warning` string instead of an error — the read is debug-grade and never blocks the UI.
|
|
151
162
|
*/
|
|
152
|
-
export declare const getSessionsControllerGetToolUsageUrl: (id: string) => string;
|
|
153
163
|
export declare const sessionsControllerGetToolUsage: (id: string, options?: RequestInit) => Promise<ToolUsageResponseDtoDataEnvelope>;
|
|
164
|
+
export declare const getSessionsControllerCreateBranchUrl: (id: string) => string;
|
|
154
165
|
/**
|
|
155
166
|
* @summary Create or switch git branch. Requires turnState=idle.
|
|
156
167
|
*/
|
|
157
|
-
export declare const getSessionsControllerCreateBranchUrl: (id: string) => string;
|
|
158
168
|
export declare const sessionsControllerCreateBranch: (id: string, options?: RequestInit) => Promise<unknown>;
|
|
169
|
+
export declare const getSessionsControllerGetGitStatusUrl: (id: string) => string;
|
|
159
170
|
/**
|
|
160
171
|
* @summary Get git status (modified, staged, branch)
|
|
161
172
|
*/
|
|
162
|
-
export declare const getSessionsControllerGetGitStatusUrl: (id: string) => string;
|
|
163
173
|
export declare const sessionsControllerGetGitStatus: (id: string, options?: RequestInit) => Promise<GitStatusResponseDtoDataEnvelope>;
|
|
174
|
+
export declare const getSessionsControllerGetGitDiffUrl: (id: string, params?: SessionsControllerGetGitDiffParams) => string;
|
|
164
175
|
/**
|
|
165
176
|
* @summary Get git diff (staged or unstaged). When `path` is provided, the diff is scoped to that single file — used by the UI to render a per-file diff viewer on top of the changed-files panel.
|
|
166
177
|
*/
|
|
167
|
-
export declare const getSessionsControllerGetGitDiffUrl: (id: string, params?: SessionsControllerGetGitDiffParams) => string;
|
|
168
178
|
export declare const sessionsControllerGetGitDiff: (id: string, params?: SessionsControllerGetGitDiffParams, options?: RequestInit) => Promise<unknown>;
|
|
179
|
+
export declare const getSessionsControllerGitCommitUrl: (id: string) => string;
|
|
169
180
|
/**
|
|
170
181
|
* @summary Commit changes. Author=user, co-author=agent. Requires turnState=idle.
|
|
171
182
|
*/
|
|
172
|
-
export declare const getSessionsControllerGitCommitUrl: (id: string) => string;
|
|
173
183
|
export declare const sessionsControllerGitCommit: (id: string, options?: RequestInit) => Promise<GitCommitResponseDtoDataEnvelope>;
|
|
184
|
+
export declare const getSessionsControllerGitPushUrl: (id: string) => string;
|
|
174
185
|
/**
|
|
175
186
|
* @summary Push to remote. Requires turnState=idle.
|
|
176
187
|
*/
|
|
177
|
-
export declare const getSessionsControllerGitPushUrl: (id: string) => string;
|
|
178
188
|
export declare const sessionsControllerGitPush: (id: string, options?: RequestInit) => Promise<unknown>;
|
|
189
|
+
export declare const getSessionsControllerCreatePullRequestUrl: (id: string) => string;
|
|
179
190
|
/**
|
|
180
191
|
* @summary Create pull request from session branch
|
|
181
192
|
*/
|
|
182
|
-
export declare const getSessionsControllerCreatePullRequestUrl: (id: string) => string;
|
|
183
193
|
export declare const sessionsControllerCreatePullRequest: (id: string, options?: RequestInit) => Promise<PullRequestResponseDtoDataEnvelope>;
|
|
194
|
+
export declare const getSessionsControllerGetCommitHistoryUrl: (id: string, params?: SessionsControllerGetCommitHistoryParams) => string;
|
|
184
195
|
/**
|
|
185
196
|
* @summary Get commit history for session branch
|
|
186
197
|
*/
|
|
187
|
-
export declare const getSessionsControllerGetCommitHistoryUrl: (id: string, params?: SessionsControllerGetCommitHistoryParams) => string;
|
|
188
198
|
export declare const sessionsControllerGetCommitHistory: (id: string, params?: SessionsControllerGetCommitHistoryParams, options?: RequestInit) => Promise<GitCommitEntryDtoDataArrayEnvelope>;
|
|
199
|
+
export declare const getSessionsControllerMergeCheckUrl: (id: string, params?: SessionsControllerMergeCheckParams) => string;
|
|
189
200
|
/**
|
|
190
201
|
* @summary Check if the session branch can merge cleanly into the target branch. Uses git merge-tree (no workspace mutation).
|
|
191
202
|
*/
|
|
192
|
-
export declare const getSessionsControllerMergeCheckUrl: (id: string, params?: SessionsControllerMergeCheckParams) => string;
|
|
193
203
|
export declare const sessionsControllerMergeCheck: (id: string, params?: SessionsControllerMergeCheckParams, options?: RequestInit) => Promise<MergeCheckResponseDtoDataEnvelope>;
|
|
204
|
+
export declare const getSessionsControllerPushToKBUrl: (id: string) => string;
|
|
194
205
|
/**
|
|
195
206
|
* @summary Push content to knowledge base as a new or updated page
|
|
196
207
|
*/
|
|
197
|
-
export declare const getSessionsControllerPushToKBUrl: (id: string) => string;
|
|
198
208
|
export declare const sessionsControllerPushToKB: (id: string, options?: RequestInit) => Promise<KBPushResponseDtoDataEnvelope>;
|
|
209
|
+
export declare const getSessionsControllerCreateTemplateUrl: () => string;
|
|
199
210
|
/**
|
|
200
211
|
* @summary Create a session template
|
|
201
212
|
*/
|
|
202
|
-
export declare const getSessionsControllerCreateTemplateUrl: () => string;
|
|
203
213
|
export declare const sessionsControllerCreateTemplate: (options?: RequestInit) => Promise<TemplateResponseDtoDataEnvelope>;
|
|
214
|
+
export declare const getSessionsControllerListTemplatesUrl: (params?: SessionsControllerListTemplatesParams) => string;
|
|
204
215
|
/**
|
|
205
216
|
* @summary List session templates
|
|
206
217
|
*/
|
|
207
|
-
export declare const getSessionsControllerListTemplatesUrl: (params?: SessionsControllerListTemplatesParams) => string;
|
|
208
218
|
export declare const sessionsControllerListTemplates: (params?: SessionsControllerListTemplatesParams, options?: RequestInit) => Promise<TemplateResponseDtoPaginatedEnvelope>;
|
|
219
|
+
export declare const getSessionsControllerGetTemplateUrl: (templateId: string) => string;
|
|
209
220
|
/**
|
|
210
221
|
* @summary Get template by ID
|
|
211
222
|
*/
|
|
212
|
-
export declare const getSessionsControllerGetTemplateUrl: (templateId: string) => string;
|
|
213
223
|
export declare const sessionsControllerGetTemplate: (templateId: string, options?: RequestInit) => Promise<TemplateResponseDtoDataEnvelope>;
|
|
224
|
+
export declare const getSessionsControllerUpdateTemplateUrl: (templateId: string) => string;
|
|
214
225
|
/**
|
|
215
226
|
* @summary Update a session template
|
|
216
227
|
*/
|
|
217
|
-
export declare const getSessionsControllerUpdateTemplateUrl: (templateId: string) => string;
|
|
218
228
|
export declare const sessionsControllerUpdateTemplate: (templateId: string, options?: RequestInit) => Promise<TemplateResponseDtoDataEnvelope>;
|
|
229
|
+
export declare const getSessionsControllerDeleteTemplateUrl: (templateId: string) => string;
|
|
219
230
|
/**
|
|
220
231
|
* @summary Delete a session template
|
|
221
232
|
*/
|
|
222
|
-
export declare const getSessionsControllerDeleteTemplateUrl: (templateId: string) => string;
|
|
223
233
|
export declare const sessionsControllerDeleteTemplate: (templateId: string, options?: RequestInit) => Promise<unknown>;
|
|
234
|
+
export declare const getSessionsControllerCloneTemplateUrl: (templateId: string) => string;
|
|
224
235
|
/**
|
|
225
236
|
* @summary Clone a session template
|
|
226
237
|
*/
|
|
227
|
-
export declare const getSessionsControllerCloneTemplateUrl: (templateId: string) => string;
|
|
228
238
|
export declare const sessionsControllerCloneTemplate: (templateId: string, options?: RequestInit) => Promise<TemplateResponseDtoDataEnvelope>;
|
|
239
|
+
export declare const getSessionsControllerCreateShareUrl: (id: string) => string;
|
|
229
240
|
/**
|
|
230
241
|
* @summary Generate a read-only sharing link for the session
|
|
231
242
|
*/
|
|
232
|
-
export declare const getSessionsControllerCreateShareUrl: (id: string) => string;
|
|
233
243
|
export declare const sessionsControllerCreateShare: (id: string, options?: RequestInit) => Promise<ShareResponseDtoDataEnvelope>;
|
|
244
|
+
export declare const getBuildImageControllerStartUrl: (id: string) => string;
|
|
234
245
|
/**
|
|
235
246
|
* @summary Start a Kaniko-based container-image build for the session's primary repo HEAD. Dispatches `buildContainerImageWorkflow` on the xema-platform-worker. Idempotent per (sessionId, sha): a duplicate call returns the existing run id. Only standard interactive sessions can build — pipeline + sandbox sessions are rejected.
|
|
236
247
|
*/
|
|
237
|
-
export declare const getBuildImageControllerStartUrl: (id: string) => string;
|
|
238
248
|
export declare const buildImageControllerStart: (id: string, startBuildImageDto: StartBuildImageDto, options?: RequestInit) => Promise<BuildImageStartedResponseDtoDataEnvelope>;
|
|
249
|
+
export declare const getBuildImageControllerStatusUrl: (id: string, workflowId: string) => string;
|
|
239
250
|
/**
|
|
240
251
|
* @summary Describe a previously-started build-image workflow. The FE polls this to flip the button between Building… / Completed / Failed.
|
|
241
252
|
*/
|
|
242
|
-
export declare const getBuildImageControllerStatusUrl: (id: string, workflowId: string) => string;
|
|
243
253
|
export declare const buildImageControllerStatus: (id: string, workflowId: string, options?: RequestInit) => Promise<BuildImageStatusResponseDtoDataEnvelope>;
|