@xemahq/agent-session-api-client 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/dist/custom-fetch.d.ts +52 -0
- package/dist/custom-fetch.js +152 -0
- package/dist/endpoints/health/health.d.ts +15 -0
- package/dist/endpoints/health/health.js +53 -0
- package/dist/endpoints/internal/internal.d.ts +82 -0
- package/dist/endpoints/internal/internal.js +226 -0
- package/dist/endpoints/internal-session-dispatch/internal-session-dispatch.d.ts +20 -0
- package/dist/endpoints/internal-session-dispatch/internal-session-dispatch.js +38 -0
- package/dist/endpoints/output-surface-inspect/output-surface-inspect.d.ts +18 -0
- package/dist/endpoints/output-surface-inspect/output-surface-inspect.js +36 -0
- package/dist/endpoints/output-surfaces/output-surfaces.d.ts +43 -0
- package/dist/endpoints/output-surfaces/output-surfaces.js +142 -0
- package/dist/endpoints/sandbox-sessions/sandbox-sessions.d.ts +43 -0
- package/dist/endpoints/sandbox-sessions/sandbox-sessions.js +127 -0
- package/dist/endpoints/session-attachments/session-attachments.d.ts +23 -0
- package/dist/endpoints/session-attachments/session-attachments.js +48 -0
- package/dist/endpoints/session-blob-attachments/session-blob-attachments.d.ts +13 -0
- package/dist/endpoints/session-blob-attachments/session-blob-attachments.js +18 -0
- package/dist/endpoints/session-participants/session-participants.d.ts +28 -0
- package/dist/endpoints/session-participants/session-participants.js +64 -0
- package/dist/endpoints/sessions/sessions.d.ts +243 -0
- package/dist/endpoints/sessions/sessions.js +812 -0
- package/dist/endpoints/threads/threads.d.ts +48 -0
- package/dist/endpoints/threads/threads.js +158 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +35 -0
- package/dist/models/addAttachmentDto.d.ts +20 -0
- package/dist/models/addAttachmentDto.js +2 -0
- package/dist/models/attachSkillDto.d.ts +10 -0
- package/dist/models/attachSkillDto.js +9 -0
- package/dist/models/attachmentClass.d.ts +16 -0
- package/dist/models/attachmentClass.js +18 -0
- package/dist/models/attachmentResponseDto.d.ts +27 -0
- package/dist/models/attachmentResponseDto.js +2 -0
- package/dist/models/attachmentResponseDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/attachmentResponseDtoDataArrayEnvelope.js +2 -0
- package/dist/models/attachmentResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/attachmentResponseDtoDataEnvelope.js +2 -0
- package/dist/models/attachmentUploadInitResponseDto.d.ts +20 -0
- package/dist/models/attachmentUploadInitResponseDto.js +2 -0
- package/dist/models/attachmentUploadInitResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/attachmentUploadInitResponseDtoDataEnvelope.js +2 -0
- package/dist/models/attachmentUploadInitResponseDtoRequiredHeaders.d.ts +13 -0
- package/dist/models/attachmentUploadInitResponseDtoRequiredHeaders.js +9 -0
- package/dist/models/branchStrategy.d.ts +13 -0
- package/dist/models/branchStrategy.js +15 -0
- package/dist/models/buildImageResultDto.d.ts +15 -0
- package/dist/models/buildImageResultDto.js +9 -0
- package/dist/models/buildImageStartedResponseDto.d.ts +17 -0
- package/dist/models/buildImageStartedResponseDto.js +9 -0
- package/dist/models/buildImageStartedResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/buildImageStartedResponseDtoDataEnvelope.js +2 -0
- package/dist/models/buildImageStatusResponseDto.d.ts +22 -0
- package/dist/models/buildImageStatusResponseDto.js +2 -0
- package/dist/models/buildImageStatusResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/buildImageStatusResponseDtoDataEnvelope.js +2 -0
- package/dist/models/buildImageStatusResponseDtoFailureMessage.d.ts +14 -0
- package/dist/models/buildImageStatusResponseDtoFailureMessage.js +9 -0
- package/dist/models/buildImageStatusResponseDtoStatus.d.ts +20 -0
- package/dist/models/buildImageStatusResponseDtoStatus.js +22 -0
- package/dist/models/changeSessionModelDto.d.ts +15 -0
- package/dist/models/changeSessionModelDto.js +2 -0
- package/dist/models/changeSessionModelDtoSelection.d.ts +14 -0
- package/dist/models/changeSessionModelDtoSelection.js +9 -0
- package/dist/models/changeSessionToolsDto.d.ts +13 -0
- package/dist/models/changeSessionToolsDto.js +2 -0
- package/dist/models/createAndRunDispatchDto.d.ts +24 -0
- package/dist/models/createAndRunDispatchDto.js +2 -0
- package/dist/models/createAndRunDispatchDtoMode.d.ts +14 -0
- package/dist/models/createAndRunDispatchDtoMode.js +13 -0
- package/dist/models/createSandboxSessionDto.d.ts +26 -0
- package/dist/models/createSandboxSessionDto.js +2 -0
- package/dist/models/createThreadDto.d.ts +16 -0
- package/dist/models/createThreadDto.js +9 -0
- package/dist/models/dispatchEnvelopeDto.d.ts +21 -0
- package/dist/models/dispatchEnvelopeDto.js +2 -0
- package/dist/models/dispatchPromptContextDto.d.ts +15 -0
- package/dist/models/dispatchPromptContextDto.js +9 -0
- package/dist/models/environmentDriftDetectedPayloadDto.d.ts +16 -0
- package/dist/models/environmentDriftDetectedPayloadDto.js +2 -0
- package/dist/models/environmentDriftEntryDto.d.ts +21 -0
- package/dist/models/environmentDriftEntryDto.js +2 -0
- package/dist/models/environmentDriftEntryDtoAfter.d.ts +13 -0
- package/dist/models/environmentDriftEntryDtoAfter.js +9 -0
- package/dist/models/environmentDriftEntryDtoBefore.d.ts +13 -0
- package/dist/models/environmentDriftEntryDtoBefore.js +9 -0
- package/dist/models/errorDetailsDto.d.ts +12 -0
- package/dist/models/errorDetailsDto.js +2 -0
- package/dist/models/errorDetailsDtoDetails.d.ts +13 -0
- package/dist/models/errorDetailsDtoDetails.js +9 -0
- package/dist/models/errorPayloadDto.d.ts +13 -0
- package/dist/models/errorPayloadDto.js +2 -0
- package/dist/models/errorResponseDto.d.ts +11 -0
- package/dist/models/errorResponseDto.js +2 -0
- package/dist/models/externalInviteDeliveryMode.d.ts +15 -0
- package/dist/models/externalInviteDeliveryMode.js +14 -0
- package/dist/models/gitCommitEntryDto.d.ts +14 -0
- package/dist/models/gitCommitEntryDto.js +9 -0
- package/dist/models/gitCommitEntryDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/gitCommitEntryDtoDataArrayEnvelope.js +2 -0
- package/dist/models/gitCommitResponseDto.d.ts +11 -0
- package/dist/models/gitCommitResponseDto.js +9 -0
- package/dist/models/gitCommitResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/gitCommitResponseDtoDataEnvelope.js +2 -0
- package/dist/models/gitStatusResponseDto.d.ts +17 -0
- package/dist/models/gitStatusResponseDto.js +2 -0
- package/dist/models/gitStatusResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/gitStatusResponseDtoDataEnvelope.js +2 -0
- package/dist/models/index.d.ts +194 -0
- package/dist/models/index.js +211 -0
- package/dist/models/initAttachmentUploadDto.d.ts +18 -0
- package/dist/models/initAttachmentUploadDto.js +9 -0
- package/dist/models/inputsAppendEnvelopeDto.d.ts +19 -0
- package/dist/models/inputsAppendEnvelopeDto.js +9 -0
- package/dist/models/inspectStepResultDto.d.ts +16 -0
- package/dist/models/inspectStepResultDto.js +2 -0
- package/dist/models/inspectStepResultDtoData.d.ts +10 -0
- package/dist/models/inspectStepResultDtoData.js +9 -0
- package/dist/models/inspectStepResultDtoKind.d.ts +25 -0
- package/dist/models/inspectStepResultDtoKind.js +27 -0
- package/dist/models/inspectStepResultDtoStatus.d.ts +17 -0
- package/dist/models/inspectStepResultDtoStatus.js +19 -0
- package/dist/models/invitableParticipantRole.d.ts +15 -0
- package/dist/models/invitableParticipantRole.js +14 -0
- package/dist/models/inviteExternalDto.d.ts +18 -0
- package/dist/models/inviteExternalDto.js +2 -0
- package/dist/models/inviteParticipantDto.d.ts +16 -0
- package/dist/models/inviteParticipantDto.js +2 -0
- package/dist/models/invitedExternalParticipantResponseDto.d.ts +17 -0
- package/dist/models/invitedExternalParticipantResponseDto.js +9 -0
- package/dist/models/invitedExternalParticipantResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/invitedExternalParticipantResponseDtoDataEnvelope.js +2 -0
- package/dist/models/kBPushResponseDto.d.ts +13 -0
- package/dist/models/kBPushResponseDto.js +9 -0
- package/dist/models/kBPushResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/kBPushResponseDtoDataEnvelope.js +2 -0
- package/dist/models/kbMountsResponseDto.d.ts +14 -0
- package/dist/models/kbMountsResponseDto.js +2 -0
- package/dist/models/kbMountsResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/kbMountsResponseDtoDataEnvelope.js +2 -0
- package/dist/models/kbPageMountDto.d.ts +13 -0
- package/dist/models/kbPageMountDto.js +9 -0
- package/dist/models/launchFailRequestDto.d.ts +19 -0
- package/dist/models/launchFailRequestDto.js +9 -0
- package/dist/models/launchStepRequestDto.d.ts +15 -0
- package/dist/models/launchStepRequestDto.js +9 -0
- package/dist/models/listSessionParticipantsResponseDto.d.ts +11 -0
- package/dist/models/listSessionParticipantsResponseDto.js +2 -0
- package/dist/models/listSessionParticipantsResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/listSessionParticipantsResponseDtoDataEnvelope.js +2 -0
- package/dist/models/mergeCheckResponseDto.d.ts +13 -0
- package/dist/models/mergeCheckResponseDto.js +9 -0
- package/dist/models/mergeCheckResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/mergeCheckResponseDtoDataEnvelope.js +2 -0
- package/dist/models/messageResponseDto.d.ts +24 -0
- package/dist/models/messageResponseDto.js +2 -0
- package/dist/models/messageResponseDtoMetadata.d.ts +14 -0
- package/dist/models/messageResponseDtoMetadata.js +9 -0
- package/dist/models/messageResponseDtoPaginatedEnvelope.d.ts +13 -0
- package/dist/models/messageResponseDtoPaginatedEnvelope.js +2 -0
- package/dist/models/outputSurfaceAppResponseDto.d.ts +48 -0
- package/dist/models/outputSurfaceAppResponseDto.js +2 -0
- package/dist/models/outputSurfaceAppResponseDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/outputSurfaceAppResponseDtoDataArrayEnvelope.js +2 -0
- package/dist/models/outputSurfaceAppResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/outputSurfaceAppResponseDtoDataEnvelope.js +2 -0
- package/dist/models/outputSurfaceAppStatus.d.ts +18 -0
- package/dist/models/outputSurfaceAppStatus.js +20 -0
- package/dist/models/outputSurfaceControllerRestartParams.d.ts +11 -0
- package/dist/models/outputSurfaceControllerRestartParams.js +2 -0
- package/dist/models/outputSurfaceControllerScanParams.d.ts +11 -0
- package/dist/models/outputSurfaceControllerScanParams.js +2 -0
- package/dist/models/outputSurfaceRemediationKindInput.d.ts +17 -0
- package/dist/models/outputSurfaceRemediationKindInput.js +16 -0
- package/dist/models/outputSurfaceRestartMode.d.ts +13 -0
- package/dist/models/outputSurfaceRestartMode.js +15 -0
- package/dist/models/paginationMeta.d.ts +18 -0
- package/dist/models/paginationMeta.js +9 -0
- package/dist/models/participantRole.d.ts +16 -0
- package/dist/models/participantRole.js +15 -0
- package/dist/models/participantSubjectKind.d.ts +15 -0
- package/dist/models/participantSubjectKind.js +14 -0
- package/dist/models/projectKind.d.ts +24 -0
- package/dist/models/projectKind.js +26 -0
- package/dist/models/providerEntryDto.d.ts +14 -0
- package/dist/models/providerEntryDto.js +2 -0
- package/dist/models/providerEntryDtoKind.d.ts +11 -0
- package/dist/models/providerEntryDtoKind.js +13 -0
- package/dist/models/pullRequestResponseDto.d.ts +12 -0
- package/dist/models/pullRequestResponseDto.js +2 -0
- package/dist/models/pullRequestResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/pullRequestResponseDtoDataEnvelope.js +2 -0
- package/dist/models/pullRequestResponseDtoPrUrl.d.ts +10 -0
- package/dist/models/pullRequestResponseDtoPrUrl.js +9 -0
- package/dist/models/pushDocumentEditDto.d.ts +11 -0
- package/dist/models/pushDocumentEditDto.js +9 -0
- package/dist/models/reasoningDeltaPayloadDto.d.ts +11 -0
- package/dist/models/reasoningDeltaPayloadDto.js +9 -0
- package/dist/models/referenceAttachmentClass.d.ts +18 -0
- package/dist/models/referenceAttachmentClass.js +17 -0
- package/dist/models/remediateOutputSurfaceDto.d.ts +14 -0
- package/dist/models/remediateOutputSurfaceDto.js +2 -0
- package/dist/models/remediateOutputSurfaceResponseDto.d.ts +13 -0
- package/dist/models/remediateOutputSurfaceResponseDto.js +9 -0
- package/dist/models/remediateOutputSurfaceResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/remediateOutputSurfaceResponseDtoDataEnvelope.js +2 -0
- package/dist/models/repoGitStatusDto.d.ts +25 -0
- package/dist/models/repoGitStatusDto.js +2 -0
- package/dist/models/repoRole.d.ts +15 -0
- package/dist/models/repoRole.js +14 -0
- package/dist/models/reportInspectPresenceDto.d.ts +21 -0
- package/dist/models/reportInspectPresenceDto.js +2 -0
- package/dist/models/reportInspectPresenceDtoKind.d.ts +15 -0
- package/dist/models/reportInspectPresenceDtoKind.js +17 -0
- package/dist/models/reportInspectPresenceDtoReason.d.ts +15 -0
- package/dist/models/reportInspectPresenceDtoReason.js +14 -0
- package/dist/models/reportInspectResultDto.d.ts +13 -0
- package/dist/models/reportInspectResultDto.js +2 -0
- package/dist/models/resumeAndRunDispatchDto.d.ts +19 -0
- package/dist/models/resumeAndRunDispatchDto.js +2 -0
- package/dist/models/resumeAndRunDispatchDtoMode.d.ts +14 -0
- package/dist/models/resumeAndRunDispatchDtoMode.js +13 -0
- package/dist/models/resumeSessionDto.d.ts +14 -0
- package/dist/models/resumeSessionDto.js +9 -0
- package/dist/models/revisionInputDto.d.ts +13 -0
- package/dist/models/revisionInputDto.js +9 -0
- package/dist/models/rotateTokenResponseDto.d.ts +12 -0
- package/dist/models/rotateTokenResponseDto.js +9 -0
- package/dist/models/rotateTokenResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/rotateTokenResponseDtoDataEnvelope.js +2 -0
- package/dist/models/runBackfillBatchRequestDto.d.ts +22 -0
- package/dist/models/runBackfillBatchRequestDto.js +9 -0
- package/dist/models/runBackfillBatchResponseDto.d.ts +15 -0
- package/dist/models/runBackfillBatchResponseDto.js +9 -0
- package/dist/models/runSandboxEvalTurnDto.d.ts +11 -0
- package/dist/models/runSandboxEvalTurnDto.js +9 -0
- package/dist/models/sandboxEvalTurnResultDto.d.ts +19 -0
- package/dist/models/sandboxEvalTurnResultDto.js +9 -0
- package/dist/models/sandboxEvalTurnResultDtoDataEnvelope.d.ts +11 -0
- package/dist/models/sandboxEvalTurnResultDtoDataEnvelope.js +2 -0
- package/dist/models/sandboxSessionsControllerDeleteToolMocksParams.d.ts +13 -0
- package/dist/models/sandboxSessionsControllerDeleteToolMocksParams.js +9 -0
- package/dist/models/sandboxToolMockDto.d.ts +15 -0
- package/dist/models/sandboxToolMockDto.js +9 -0
- package/dist/models/sandboxToolMocksResponseDto.d.ts +13 -0
- package/dist/models/sandboxToolMocksResponseDto.js +9 -0
- package/dist/models/sandboxToolMocksResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/sandboxToolMocksResponseDtoDataEnvelope.js +2 -0
- package/dist/models/sessionAttachmentStatus.d.ts +16 -0
- package/dist/models/sessionAttachmentStatus.js +15 -0
- package/dist/models/sessionBlobAttachmentDto.d.ts +18 -0
- package/dist/models/sessionBlobAttachmentDto.js +2 -0
- package/dist/models/sessionBlobAttachmentDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/sessionBlobAttachmentDtoDataArrayEnvelope.js +2 -0
- package/dist/models/sessionBlobAttachmentDtoRequiredHeaders.d.ts +13 -0
- package/dist/models/sessionBlobAttachmentDtoRequiredHeaders.js +9 -0
- package/dist/models/sessionContextWindowSnapshotDto.d.ts +31 -0
- package/dist/models/sessionContextWindowSnapshotDto.js +9 -0
- package/dist/models/sessionDebugCompositionNodeDto.d.ts +20 -0
- package/dist/models/sessionDebugCompositionNodeDto.js +9 -0
- package/dist/models/sessionDebugInfoDto.d.ts +38 -0
- package/dist/models/sessionDebugInfoDto.js +2 -0
- package/dist/models/sessionDebugInfoDtoDataEnvelope.d.ts +11 -0
- package/dist/models/sessionDebugInfoDtoDataEnvelope.js +2 -0
- package/dist/models/sessionDebugInfoDtoMountPlan.d.ts +14 -0
- package/dist/models/sessionDebugInfoDtoMountPlan.js +9 -0
- package/dist/models/sessionDebugModelDecisionDto.d.ts +27 -0
- package/dist/models/sessionDebugModelDecisionDto.js +9 -0
- package/dist/models/sessionDebugSkillDto.d.ts +23 -0
- package/dist/models/sessionDebugSkillDto.js +2 -0
- package/dist/models/sessionDebugSkillDtoSnapshot.d.ts +14 -0
- package/dist/models/sessionDebugSkillDtoSnapshot.js +9 -0
- package/dist/models/sessionKind.d.ts +15 -0
- package/dist/models/sessionKind.js +14 -0
- package/dist/models/sessionLockfileDto.d.ts +29 -0
- package/dist/models/sessionLockfileDto.js +2 -0
- package/dist/models/sessionLockfileDtoAgents.d.ts +13 -0
- package/dist/models/sessionLockfileDtoAgents.js +9 -0
- package/dist/models/sessionLockfileDtoBiomes.d.ts +13 -0
- package/dist/models/sessionLockfileDtoBiomes.js +9 -0
- package/dist/models/sessionLockfileDtoCapabilities.d.ts +13 -0
- package/dist/models/sessionLockfileDtoCapabilities.js +9 -0
- package/dist/models/sessionLockfileDtoDataEnvelope.d.ts +11 -0
- package/dist/models/sessionLockfileDtoDataEnvelope.js +2 -0
- package/dist/models/sessionLockfileDtoDeliverableSpecs.d.ts +13 -0
- package/dist/models/sessionLockfileDtoDeliverableSpecs.js +9 -0
- package/dist/models/sessionLockfileDtoSkills.d.ts +13 -0
- package/dist/models/sessionLockfileDtoSkills.js +9 -0
- package/dist/models/sessionLockfileDtoWorkflows.d.ts +13 -0
- package/dist/models/sessionLockfileDtoWorkflows.js +9 -0
- package/dist/models/sessionMessageRole.d.ts +14 -0
- package/dist/models/sessionMessageRole.js +16 -0
- package/dist/models/sessionParticipantDto.d.ts +29 -0
- package/dist/models/sessionParticipantDto.js +2 -0
- package/dist/models/sessionParticipantDtoDataEnvelope.d.ts +11 -0
- package/dist/models/sessionParticipantDtoDataEnvelope.js +2 -0
- package/dist/models/sessionPauseReason.d.ts +15 -0
- package/dist/models/sessionPauseReason.js +14 -0
- package/dist/models/sessionProvisioningPhase.d.ts +24 -0
- package/dist/models/sessionProvisioningPhase.js +23 -0
- package/dist/models/sessionResponseDto.d.ts +134 -0
- package/dist/models/sessionResponseDto.js +2 -0
- package/dist/models/sessionResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/sessionResponseDtoDataEnvelope.js +2 -0
- package/dist/models/sessionResponseDtoFailureMetaJson.d.ts +14 -0
- package/dist/models/sessionResponseDtoFailureMetaJson.js +9 -0
- package/dist/models/sessionResponseDtoHandoffOutput.d.ts +14 -0
- package/dist/models/sessionResponseDtoHandoffOutput.js +9 -0
- package/dist/models/sessionResponseDtoModelSelection.d.ts +14 -0
- package/dist/models/sessionResponseDtoModelSelection.js +9 -0
- package/dist/models/sessionResponseDtoPaginatedEnvelope.d.ts +13 -0
- package/dist/models/sessionResponseDtoPaginatedEnvelope.js +2 -0
- package/dist/models/sessionResponseDtoToolSelectionItem.d.ts +10 -0
- package/dist/models/sessionResponseDtoToolSelectionItem.js +9 -0
- package/dist/models/sessionStatus.d.ts +19 -0
- package/dist/models/sessionStatus.js +21 -0
- package/dist/models/sessionTimelineEntryDto.d.ts +23 -0
- package/dist/models/sessionTimelineEntryDto.js +2 -0
- package/dist/models/sessionTimelineEntryDtoEventType.d.ts +69 -0
- package/dist/models/sessionTimelineEntryDtoEventType.js +68 -0
- package/dist/models/sessionTimelineEntryDtoPayload.d.ts +17 -0
- package/dist/models/sessionTimelineEntryDtoPayload.js +2 -0
- package/dist/models/sessionTimelinePageDto.d.ts +16 -0
- package/dist/models/sessionTimelinePageDto.js +2 -0
- package/dist/models/sessionTimelinePageDtoDataEnvelope.d.ts +11 -0
- package/dist/models/sessionTimelinePageDtoDataEnvelope.js +2 -0
- package/dist/models/sessionTokenUsageDto.d.ts +11 -0
- package/dist/models/sessionTokenUsageDto.js +9 -0
- package/dist/models/sessionsControllerGetCommitHistoryParams.d.ts +13 -0
- package/dist/models/sessionsControllerGetCommitHistoryParams.js +9 -0
- package/dist/models/sessionsControllerGetGitDiffParams.d.ts +17 -0
- package/dist/models/sessionsControllerGetGitDiffParams.js +9 -0
- package/dist/models/sessionsControllerListFilesParams.d.ts +13 -0
- package/dist/models/sessionsControllerListFilesParams.js +9 -0
- package/dist/models/sessionsControllerListParams.d.ts +45 -0
- package/dist/models/sessionsControllerListParams.js +9 -0
- package/dist/models/sessionsControllerListTemplatesParams.d.ts +11 -0
- package/dist/models/sessionsControllerListTemplatesParams.js +9 -0
- package/dist/models/sessionsControllerMergeCheckParams.d.ts +13 -0
- package/dist/models/sessionsControllerMergeCheckParams.js +9 -0
- package/dist/models/sessionsControllerStreamEventsParams.d.ts +13 -0
- package/dist/models/sessionsControllerStreamEventsParams.js +9 -0
- package/dist/models/setSandboxToolMocksDto.d.ts +12 -0
- package/dist/models/setSandboxToolMocksDto.js +2 -0
- package/dist/models/shareAccessLevel.d.ts +14 -0
- package/dist/models/shareAccessLevel.js +13 -0
- package/dist/models/shareResponseDto.d.ts +21 -0
- package/dist/models/shareResponseDto.js +2 -0
- package/dist/models/shareResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/shareResponseDtoDataEnvelope.js +2 -0
- package/dist/models/shareResponseDtoExpiresAt.d.ts +14 -0
- package/dist/models/shareResponseDtoExpiresAt.js +9 -0
- package/dist/models/startBuildImageDto.d.ts +16 -0
- package/dist/models/startBuildImageDto.js +9 -0
- package/dist/models/sweeperTickResponseDto.d.ts +13 -0
- package/dist/models/sweeperTickResponseDto.js +9 -0
- package/dist/models/templateResponseDto.d.ts +33 -0
- package/dist/models/templateResponseDto.js +2 -0
- package/dist/models/templateResponseDtoBudgetLimit.d.ts +10 -0
- package/dist/models/templateResponseDtoBudgetLimit.js +9 -0
- package/dist/models/templateResponseDtoCustomConfig.d.ts +14 -0
- package/dist/models/templateResponseDtoCustomConfig.js +9 -0
- package/dist/models/templateResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/templateResponseDtoDataEnvelope.js +2 -0
- package/dist/models/templateResponseDtoDescription.d.ts +10 -0
- package/dist/models/templateResponseDtoDescription.js +9 -0
- package/dist/models/templateResponseDtoPaginatedEnvelope.d.ts +13 -0
- package/dist/models/templateResponseDtoPaginatedEnvelope.js +2 -0
- package/dist/models/templateResponseDtoRepositoryId.d.ts +10 -0
- package/dist/models/templateResponseDtoRepositoryId.js +9 -0
- package/dist/models/textDeltaPayloadDto.d.ts +11 -0
- package/dist/models/textDeltaPayloadDto.js +9 -0
- package/dist/models/threadResponseDto.d.ts +35 -0
- package/dist/models/threadResponseDto.js +2 -0
- package/dist/models/threadResponseDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/threadResponseDtoDataArrayEnvelope.js +2 -0
- package/dist/models/threadResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/threadResponseDtoDataEnvelope.js +2 -0
- package/dist/models/threadResponseDtoModelSelection.d.ts +14 -0
- package/dist/models/threadResponseDtoModelSelection.js +9 -0
- package/dist/models/threadStatus.d.ts +12 -0
- package/dist/models/threadStatus.js +14 -0
- package/dist/models/threadsControllerGetMessagesParams.d.ts +17 -0
- package/dist/models/threadsControllerGetMessagesParams.js +9 -0
- package/dist/models/threadsControllerGetTimelineParams.d.ts +17 -0
- package/dist/models/threadsControllerGetTimelineParams.js +9 -0
- package/dist/models/toolCallPayloadDto.d.ts +18 -0
- package/dist/models/toolCallPayloadDto.js +2 -0
- package/dist/models/toolCallPayloadDtoStatus.d.ts +15 -0
- package/dist/models/toolCallPayloadDtoStatus.js +14 -0
- package/dist/models/toolEntryDto.d.ts +16 -0
- package/dist/models/toolEntryDto.js +2 -0
- package/dist/models/toolEntryDtoKind.d.ts +11 -0
- package/dist/models/toolEntryDtoKind.js +13 -0
- package/dist/models/toolProviderKind.d.ts +15 -0
- package/dist/models/toolProviderKind.js +17 -0
- package/dist/models/toolUsageEntryDto.d.ts +15 -0
- package/dist/models/toolUsageEntryDto.js +9 -0
- package/dist/models/toolUsageResponseDto.d.ts +14 -0
- package/dist/models/toolUsageResponseDto.js +2 -0
- package/dist/models/toolUsageResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/toolUsageResponseDtoDataEnvelope.js +2 -0
- package/dist/models/turnState.d.ts +16 -0
- package/dist/models/turnState.js +15 -0
- package/dist/models/updateKbMountsDto.d.ts +14 -0
- package/dist/models/updateKbMountsDto.js +2 -0
- package/dist/models/updateThreadDto.d.ts +17 -0
- package/dist/models/updateThreadDto.js +2 -0
- package/dist/models/usageResponseDto.d.ts +18 -0
- package/dist/models/usageResponseDto.js +2 -0
- package/dist/models/usageResponseDtoBudgetLimit.d.ts +13 -0
- package/dist/models/usageResponseDtoBudgetLimit.js +9 -0
- package/dist/models/usageResponseDtoBudgetRatio.d.ts +13 -0
- package/dist/models/usageResponseDtoBudgetRatio.js +9 -0
- package/dist/models/usageResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/usageResponseDtoDataEnvelope.js +2 -0
- package/package.json +18 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Skill metadata snapshot captured at attach time (name, description, source path).
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type SessionDebugSkillDtoSnapshot = {
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
} | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Interactive Session API
|
|
6
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Session kind.
|
|
10
|
+
*/
|
|
11
|
+
export type SessionKind = typeof SessionKind[keyof typeof SessionKind];
|
|
12
|
+
export declare const SessionKind: {
|
|
13
|
+
readonly standard: "standard";
|
|
14
|
+
readonly sandbox: "sandbox";
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Interactive Session API
|
|
6
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SessionKind = void 0;
|
|
11
|
+
exports.SessionKind = {
|
|
12
|
+
standard: 'standard',
|
|
13
|
+
sandbox: 'sandbox',
|
|
14
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { SessionLockfileDtoAgents } from './sessionLockfileDtoAgents';
|
|
9
|
+
import type { SessionLockfileDtoBiomes } from './sessionLockfileDtoBiomes';
|
|
10
|
+
import type { SessionLockfileDtoCapabilities } from './sessionLockfileDtoCapabilities';
|
|
11
|
+
import type { SessionLockfileDtoDeliverableSpecs } from './sessionLockfileDtoDeliverableSpecs';
|
|
12
|
+
import type { SessionLockfileDtoSkills } from './sessionLockfileDtoSkills';
|
|
13
|
+
import type { SessionLockfileDtoWorkflows } from './sessionLockfileDtoWorkflows';
|
|
14
|
+
export interface SessionLockfileDto {
|
|
15
|
+
/** Resolved kernel semver string at the moment the session was created. */
|
|
16
|
+
kernel: string;
|
|
17
|
+
/** Map of capability ref (sans `@major`) to the chosen major version string. */
|
|
18
|
+
capabilities: SessionLockfileDtoCapabilities;
|
|
19
|
+
/** Map of biome slug to the chosen published semver. */
|
|
20
|
+
biomes: SessionLockfileDtoBiomes;
|
|
21
|
+
/** Map of agent slug to chosen published semver. Optional. */
|
|
22
|
+
agents?: SessionLockfileDtoAgents;
|
|
23
|
+
/** Map of workflow slug to chosen published semver. Optional. */
|
|
24
|
+
workflows?: SessionLockfileDtoWorkflows;
|
|
25
|
+
/** Map of deliverable-spec slug to chosen published semver. Optional. */
|
|
26
|
+
deliverableSpecs?: SessionLockfileDtoDeliverableSpecs;
|
|
27
|
+
/** Map of skill slug to chosen published semver. Optional. */
|
|
28
|
+
skills?: SessionLockfileDtoSkills;
|
|
29
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Map of agent slug to chosen published semver. Optional.
|
|
10
|
+
*/
|
|
11
|
+
export type SessionLockfileDtoAgents = {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Interactive Session API
|
|
6
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Map of biome slug to the chosen published semver.
|
|
10
|
+
*/
|
|
11
|
+
export type SessionLockfileDtoBiomes = {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Interactive Session API
|
|
6
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Map of capability ref (sans `@major`) to the chosen major version string.
|
|
10
|
+
*/
|
|
11
|
+
export type SessionLockfileDtoCapabilities = {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Interactive Session API
|
|
6
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { SessionLockfileDto } from './sessionLockfileDto';
|
|
9
|
+
export interface SessionLockfileDtoDataEnvelope {
|
|
10
|
+
data: SessionLockfileDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Map of deliverable-spec slug to chosen published semver. Optional.
|
|
10
|
+
*/
|
|
11
|
+
export type SessionLockfileDtoDeliverableSpecs = {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Interactive Session API
|
|
6
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Map of skill slug to chosen published semver. Optional.
|
|
10
|
+
*/
|
|
11
|
+
export type SessionLockfileDtoSkills = {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Interactive Session API
|
|
6
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Map of workflow slug to chosen published semver. Optional.
|
|
10
|
+
*/
|
|
11
|
+
export type SessionLockfileDtoWorkflows = {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Interactive Session API
|
|
6
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type SessionMessageRole = typeof SessionMessageRole[keyof typeof SessionMessageRole];
|
|
9
|
+
export declare const SessionMessageRole: {
|
|
10
|
+
readonly user: "user";
|
|
11
|
+
readonly assistant: "assistant";
|
|
12
|
+
readonly system: "system";
|
|
13
|
+
readonly tool: "tool";
|
|
14
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Interactive Session API
|
|
6
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SessionMessageRole = void 0;
|
|
11
|
+
exports.SessionMessageRole = {
|
|
12
|
+
user: 'user',
|
|
13
|
+
assistant: 'assistant',
|
|
14
|
+
system: 'system',
|
|
15
|
+
tool: 'tool',
|
|
16
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ParticipantRole } from './participantRole';
|
|
9
|
+
import type { ParticipantSubjectKind } from './participantSubjectKind';
|
|
10
|
+
export interface SessionParticipantDto {
|
|
11
|
+
/** Participant row id. */
|
|
12
|
+
id: string;
|
|
13
|
+
/** Session this participant belongs to. */
|
|
14
|
+
sessionId: string;
|
|
15
|
+
/** Discriminator on `subjectRef`. Closed set — `org_user` for a Xema-identity user (Keycloak sub) or `external_guest` for a delegated-session subject minted by `app-runtime-api`. */
|
|
16
|
+
subjectKind: ParticipantSubjectKind;
|
|
17
|
+
/** Opaque per-kind reference. `org_user`: Keycloak user id. `external_guest`: `external-user:<hash>` from the minted token `sub`. */
|
|
18
|
+
subjectRef: string;
|
|
19
|
+
displayName: string;
|
|
20
|
+
avatarUrl?: string;
|
|
21
|
+
/** Role inside this session. Closed set. */
|
|
22
|
+
role: ParticipantRole;
|
|
23
|
+
/** ISO-8601 timestamp of the invite. */
|
|
24
|
+
invitedAt: string;
|
|
25
|
+
/** Subject ref of the inviter. */
|
|
26
|
+
invitedBy: string;
|
|
27
|
+
/** ISO-8601 timestamp of the last message this participant posted on the session. Null until they post their first message. */
|
|
28
|
+
lastSeenAt?: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { SessionParticipantDto } from './sessionParticipantDto';
|
|
9
|
+
export interface SessionParticipantDtoDataEnvelope {
|
|
10
|
+
data: SessionParticipantDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Why the session left `active` for `paused`. `user` = explicit pause (needs an explicit resume); `allocation_lost` = the worker allocation was reaped out-of-band and the next user interaction auto-resumes. Frontend distinguishes the two so the user only sees the "resume required" affordance when their action is actually required.
|
|
10
|
+
*/
|
|
11
|
+
export type SessionPauseReason = typeof SessionPauseReason[keyof typeof SessionPauseReason];
|
|
12
|
+
export declare const SessionPauseReason: {
|
|
13
|
+
readonly user: "user";
|
|
14
|
+
readonly allocation_lost: "allocation_lost";
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Interactive Session API
|
|
6
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SessionPauseReason = void 0;
|
|
11
|
+
exports.SessionPauseReason = {
|
|
12
|
+
user: 'user',
|
|
13
|
+
allocation_lost: 'allocation_lost',
|
|
14
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Fine-grained provisioning phase advanced by the pool-api progress webhook. Starts at `queued`, transitions through the acquire pipeline, and lands at `ready` or `failed`. Complements the coarse `status` field.
|
|
10
|
+
*/
|
|
11
|
+
export type SessionProvisioningPhase = typeof SessionProvisioningPhase[keyof typeof SessionProvisioningPhase];
|
|
12
|
+
export declare const SessionProvisioningPhase: {
|
|
13
|
+
readonly queued: "queued";
|
|
14
|
+
readonly worker_launching: "worker_launching";
|
|
15
|
+
readonly worker_waiting_ready: "worker_waiting_ready";
|
|
16
|
+
readonly credentials_injecting: "credentials_injecting";
|
|
17
|
+
readonly workspace_preparing: "workspace_preparing";
|
|
18
|
+
readonly config_writing: "config_writing";
|
|
19
|
+
readonly config_reloading: "config_reloading";
|
|
20
|
+
readonly model_verifying: "model_verifying";
|
|
21
|
+
readonly tools_verifying: "tools_verifying";
|
|
22
|
+
readonly ready: "ready";
|
|
23
|
+
readonly failed: "failed";
|
|
24
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Interactive Session API
|
|
6
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SessionProvisioningPhase = void 0;
|
|
11
|
+
exports.SessionProvisioningPhase = {
|
|
12
|
+
queued: 'queued',
|
|
13
|
+
worker_launching: 'worker_launching',
|
|
14
|
+
worker_waiting_ready: 'worker_waiting_ready',
|
|
15
|
+
credentials_injecting: 'credentials_injecting',
|
|
16
|
+
workspace_preparing: 'workspace_preparing',
|
|
17
|
+
config_writing: 'config_writing',
|
|
18
|
+
config_reloading: 'config_reloading',
|
|
19
|
+
model_verifying: 'model_verifying',
|
|
20
|
+
tools_verifying: 'tools_verifying',
|
|
21
|
+
ready: 'ready',
|
|
22
|
+
failed: 'failed',
|
|
23
|
+
};
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { BranchStrategy } from './branchStrategy';
|
|
9
|
+
import type { SessionContextWindowSnapshotDto } from './sessionContextWindowSnapshotDto';
|
|
10
|
+
import type { SessionPauseReason } from './sessionPauseReason';
|
|
11
|
+
import type { SessionProvisioningPhase } from './sessionProvisioningPhase';
|
|
12
|
+
import type { SessionResponseDtoFailureMetaJson } from './sessionResponseDtoFailureMetaJson';
|
|
13
|
+
import type { SessionResponseDtoHandoffOutput } from './sessionResponseDtoHandoffOutput';
|
|
14
|
+
import type { SessionResponseDtoModelSelection } from './sessionResponseDtoModelSelection';
|
|
15
|
+
import type { SessionResponseDtoToolSelectionItem } from './sessionResponseDtoToolSelectionItem';
|
|
16
|
+
import type { SessionStatus } from './sessionStatus';
|
|
17
|
+
import type { SessionTokenUsageDto } from './sessionTokenUsageDto';
|
|
18
|
+
export interface SessionResponseDto {
|
|
19
|
+
/** Session identifier (cuid) */
|
|
20
|
+
id: string;
|
|
21
|
+
/** Owning organization ID (Keycloak group ID) */
|
|
22
|
+
orgId: string;
|
|
23
|
+
/** Project this session belongs to */
|
|
24
|
+
projectId: string;
|
|
25
|
+
/**
|
|
26
|
+
* Human-readable session title set at creation or inherited from profile
|
|
27
|
+
* @nullable
|
|
28
|
+
*/
|
|
29
|
+
title?: string | null;
|
|
30
|
+
status: SessionStatus;
|
|
31
|
+
/**
|
|
32
|
+
* Biome-owned domain key attached to this session runtime. Null means generic interactive session.
|
|
33
|
+
* @nullable
|
|
34
|
+
*/
|
|
35
|
+
sessionDomainKey?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Opaque domain row identifier associated with `sessionDomainKey` (for example a brainstorming id).
|
|
38
|
+
* @nullable
|
|
39
|
+
*/
|
|
40
|
+
sessionDomainRef?: string | null;
|
|
41
|
+
/** Internal agent slug resolved from profile */
|
|
42
|
+
agentSlug: string;
|
|
43
|
+
/** @nullable */
|
|
44
|
+
modelId?: string | null;
|
|
45
|
+
/** @nullable */
|
|
46
|
+
resolvedConfigHash?: string | null;
|
|
47
|
+
/** @nullable */
|
|
48
|
+
repositoryId?: string | null;
|
|
49
|
+
/** @nullable */
|
|
50
|
+
branchName?: string | null;
|
|
51
|
+
branchStrategy: BranchStrategy;
|
|
52
|
+
tokenUsage?: SessionTokenUsageDto | null;
|
|
53
|
+
/** @nullable */
|
|
54
|
+
budgetLimit?: number | null;
|
|
55
|
+
/** Latest OpenCode context-window snapshot, mirrored from the most recent `step_finished` frame and reset to zeros on `session.compacted`. Null until the first turn completes — the composer chip stays hidden in that window because we cannot honestly report the system-prompt size before any usage lands. */
|
|
56
|
+
contextWindowSnapshot?: SessionContextWindowSnapshotDto | null;
|
|
57
|
+
/**
|
|
58
|
+
* Pipeline run that owns this session (set when the session is created by a pipeline-run request). Sourced from RequestContext, never client-supplied.
|
|
59
|
+
* @nullable
|
|
60
|
+
*/
|
|
61
|
+
pipelineRunId?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Workflow-engine job-run id that spawned this session. Only meaningful when `pipelineRunId` is also set — together they let the workflow-runtime worker route the eventual handoff signal back to the right job-level promise.
|
|
64
|
+
* @nullable
|
|
65
|
+
*/
|
|
66
|
+
jobRunId?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* Structured deliverable contract emitted by the in-session agent (the JSON written to `/workspace/deliverables/contract.json` against the session's `deliverableSpecRef`). Captured idempotently on the first `POST /sessions/:id/handoff`. `null` until the agent has handed off.
|
|
69
|
+
* @nullable
|
|
70
|
+
*/
|
|
71
|
+
handoffOutput?: SessionResponseDtoHandoffOutput;
|
|
72
|
+
/**
|
|
73
|
+
* When the handoff arrived. Mirrors `handoffOutput` presence.
|
|
74
|
+
* @nullable
|
|
75
|
+
*/
|
|
76
|
+
handoffAt?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
* Reference to the session this one was forked from (via POST /sessions/:id/fork). Stamped server-side from the URL; API clients cannot forge parentage. Null for sessions created directly.
|
|
79
|
+
* @nullable
|
|
80
|
+
*/
|
|
81
|
+
parentSessionId?: string | null;
|
|
82
|
+
/** @nullable */
|
|
83
|
+
prUrl?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* Human-readable reason the session moved to failed status
|
|
86
|
+
* @nullable
|
|
87
|
+
*/
|
|
88
|
+
failureReason?: string | null;
|
|
89
|
+
/** Fine-grained provisioning phase advanced by the pool-api progress webhook. Starts at `queued`, transitions through the acquire pipeline, and lands at `ready` or `failed`. Complements the coarse `status` field. */
|
|
90
|
+
provisioningPhase: SessionProvisioningPhase;
|
|
91
|
+
/** Timestamp the session entered the current `provisioningPhase`. Used by UIs to render per-phase elapsed time. */
|
|
92
|
+
provisioningPhaseSince: string;
|
|
93
|
+
/**
|
|
94
|
+
* Human-readable hint attached when provisioning fails; `null` while still in progress or on success.
|
|
95
|
+
* @nullable
|
|
96
|
+
*/
|
|
97
|
+
provisioningFailureHint?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* Stable, machine-readable failure code paired with `failureReason` when the failure has structured recovery info. Frontend branches on this to render code-specific UX (e.g. `REPO_EMPTY` → "push your first commit"). `null` when the failure was unstructured (transport, timeout) — fall back to `failureReason`.
|
|
100
|
+
* @nullable
|
|
101
|
+
*/
|
|
102
|
+
failureCode?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* Structured payload paired with `failureCode`. Shape is code-specific. For clone failures: `{ slug, requestedBranch, availableBranches, defaultBranchSuggestion }`.
|
|
105
|
+
* @nullable
|
|
106
|
+
*/
|
|
107
|
+
failureMetaJson?: SessionResponseDtoFailureMetaJson;
|
|
108
|
+
/** Workspace-relative paths the snapshot tar includes on pause and restores on resume. Pinned at session create so an in-flight session is never surprised by later config changes — the snapshot stays self-describing. Empty array means only OpenCode internal state (chat DB, message storage, plans) is preserved. */
|
|
109
|
+
workspacePersistPaths: string[];
|
|
110
|
+
/**
|
|
111
|
+
* Current model selection override. Either a ConcreteModelRef `{kind: "concrete", modelId, providerSlug?, temperature?}` or a StrategyModelRef `{kind: "strategy", modelClass, temperature?}`. Null = no override; the agent's default modelClass strategy cascade resolves the model per prompt.
|
|
112
|
+
* @nullable
|
|
113
|
+
*/
|
|
114
|
+
modelSelection?: SessionResponseDtoModelSelection;
|
|
115
|
+
/** Tool selection for this session — a flat list of ToolSelectionEntry records from `@xemahq/kernel-contracts/mcp-tool`. Either `{kind: "provider", providerKind, resourceId}` (all tools from the resource) or `{kind: "tool", providerKind, resourceId, toolName}` (narrowed). Empty array (default) means OpenCode built-ins only — no MCP auto-mounted at session boot. Updated via PATCH /sessions/:id/tools. */
|
|
116
|
+
toolSelection: SessionResponseDtoToolSelectionItem[];
|
|
117
|
+
/**
|
|
118
|
+
* Agent Composition reference (`slug@version`) — the single source of truth for this session: agent + sub-agent tree, per-node skills, tools, model overrides, and the `/workspace/` filesystem layout. Resolved via llm-registry-api `GET /compositions/resolve/:ref` at launch and on resume. Null for a sandbox session (it resolves its DRAFT composition by `sandboxCompositionId` instead) or a session created before the Phase 6 cutover backfill.
|
|
119
|
+
* @nullable
|
|
120
|
+
*/
|
|
121
|
+
compositionRef: string | null;
|
|
122
|
+
/** Virtual provider keys currently materialised in the worker's opencode.jsonc. The FE picker uses this to decide whether a model switch will trigger a hot-add (cross-provider) or route directly (provider already mounted). Empty array before the first /control/setup applies. */
|
|
123
|
+
opencodeProviders: string[];
|
|
124
|
+
createdBy: string;
|
|
125
|
+
lastActivityAt: string;
|
|
126
|
+
/** @nullable */
|
|
127
|
+
pausedAt?: string | null;
|
|
128
|
+
/** Why the session left `active` for `paused`. `user` = explicit pause (needs an explicit resume); `allocation_lost` = the worker allocation was reaped out-of-band and the next user interaction auto-resumes. Frontend distinguishes the two so the user only sees the "resume required" affordance when their action is actually required. */
|
|
129
|
+
pauseReason?: SessionPauseReason | null;
|
|
130
|
+
/** @nullable */
|
|
131
|
+
completedAt?: string | null;
|
|
132
|
+
createdAt: string;
|
|
133
|
+
updatedAt: string;
|
|
134
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { SessionResponseDto } from './sessionResponseDto';
|
|
9
|
+
export interface SessionResponseDtoDataEnvelope {
|
|
10
|
+
data: SessionResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Structured payload paired with `failureCode`. Shape is code-specific. For clone failures: `{ slug, requestedBranch, availableBranches, defaultBranchSuggestion }`.
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type SessionResponseDtoFailureMetaJson = {
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
} | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Interactive Session API
|
|
6
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Interactive Session API
|
|
5
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Structured deliverable contract emitted by the in-session agent (the JSON written to `/workspace/deliverables/contract.json` against the session's `deliverableSpecRef`). Captured idempotently on the first `POST /sessions/:id/handoff`. `null` until the agent has handed off.
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type SessionResponseDtoHandoffOutput = {
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
} | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Interactive Session API
|
|
6
|
+
* Real-time interactive AI coding sessions with agent management, file browsing, and activity streaming
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|