@ai-matrx/api 0.1.2 → 0.1.4
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/CHANGELOG.md +12 -0
- package/dist/account.d.cts +2 -2
- package/dist/account.d.ts +2 -2
- package/dist/agents.cjs +11 -11
- package/dist/agents.d.cts +2 -2
- package/dist/agents.d.ts +2 -2
- package/dist/agents.js +1 -1
- package/dist/ai.cjs +8 -2
- package/dist/ai.d.cts +27 -3
- package/dist/ai.d.ts +27 -3
- package/dist/ai.js +7 -2
- package/dist/apps.cjs +5 -5
- package/dist/apps.d.cts +2 -2
- package/dist/apps.d.ts +2 -2
- package/dist/apps.js +1 -1
- package/dist/architecture.cjs +32 -26
- package/dist/architecture.d.cts +48 -20
- package/dist/architecture.d.ts +48 -20
- package/dist/architecture.js +21 -16
- package/dist/audio.cjs +4 -4
- package/dist/audio.d.cts +2 -2
- package/dist/audio.d.ts +2 -2
- package/dist/audio.js +1 -1
- package/dist/chat.cjs +11 -11
- package/dist/chat.d.cts +2 -2
- package/dist/chat.d.ts +2 -2
- package/dist/chat.js +1 -1
- package/dist/{chunk-TSHL7Z53.js → chunk-6UOESA3L.js} +1 -1
- package/dist/{chunk-HER22VVH.cjs → chunk-DMJ3ZRN7.cjs} +1 -1
- package/dist/code.cjs +18 -6
- package/dist/code.d.cts +87 -4
- package/dist/code.d.ts +87 -4
- package/dist/code.js +12 -2
- package/dist/commerce.d.cts +2 -2
- package/dist/commerce.d.ts +2 -2
- package/dist/communications.cjs +70 -4
- package/dist/communications.d.cts +253 -5
- package/dist/communications.d.ts +253 -5
- package/dist/communications.js +57 -2
- package/dist/computer.cjs +3 -3
- package/dist/computer.d.cts +2 -2
- package/dist/computer.d.ts +2 -2
- package/dist/computer.js +1 -1
- package/dist/content.cjs +4 -4
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +1 -1
- package/dist/crm.cjs +2 -2
- package/dist/crm.d.cts +2 -2
- package/dist/crm.d.ts +2 -2
- package/dist/crm.js +1 -1
- package/dist/data.d.cts +4 -2
- package/dist/data.d.ts +4 -2
- package/dist/education.cjs +4 -4
- package/dist/education.d.cts +2 -2
- package/dist/education.d.ts +2 -2
- package/dist/education.js +1 -1
- package/dist/files.cjs +31 -25
- package/dist/files.d.cts +25 -13
- package/dist/files.d.ts +25 -13
- package/dist/files.js +11 -6
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-C2E-Cp19.d.ts → index-BUb7OxrB.d.ts} +2 -2
- package/dist/{index-wC2vtb70.d.cts → index-DCyEAVSW.d.cts} +2 -2
- package/dist/index.cjs +53 -53
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/integrations.cjs +253 -13
- package/dist/integrations.d.cts +756 -13
- package/dist/integrations.d.ts +756 -13
- package/dist/integrations.js +210 -10
- package/dist/intelligence.cjs +6 -6
- package/dist/intelligence.d.cts +11 -2
- package/dist/intelligence.d.ts +11 -2
- package/dist/intelligence.js +1 -1
- package/dist/knowledge.cjs +42 -42
- package/dist/knowledge.d.cts +2 -2
- package/dist/knowledge.d.ts +2 -2
- package/dist/knowledge.js +1 -1
- package/dist/legal.cjs +6 -6
- package/dist/legal.d.cts +2 -2
- package/dist/legal.d.ts +2 -2
- package/dist/legal.js +1 -1
- package/dist/marketing.cjs +226 -72
- package/dist/marketing.d.cts +732 -3
- package/dist/marketing.d.ts +732 -3
- package/dist/marketing.js +129 -2
- package/dist/masterwork.cjs +32 -32
- package/dist/masterwork.d.cts +2 -2
- package/dist/masterwork.d.ts +2 -2
- package/dist/masterwork.js +1 -1
- package/dist/media.cjs +11 -11
- package/dist/media.d.cts +30 -4
- package/dist/media.d.ts +30 -4
- package/dist/media.js +1 -1
- package/dist/platform.cjs +9 -3
- package/dist/platform.d.cts +29 -3
- package/dist/platform.d.ts +29 -3
- package/dist/platform.js +7 -2
- package/dist/publish.cjs +7 -7
- package/dist/publish.d.cts +2 -2
- package/dist/publish.d.ts +2 -2
- package/dist/publish.js +1 -1
- package/dist/schemas.d.cts +1 -1
- package/dist/schemas.d.ts +1 -1
- package/dist/stream.cjs +10 -10
- package/dist/stream.d.cts +1 -1
- package/dist/stream.d.ts +1 -1
- package/dist/stream.js +1 -1
- package/dist/web.cjs +26 -26
- package/dist/web.d.cts +3 -2
- package/dist/web.d.ts +3 -2
- package/dist/web.js +1 -1
- package/dist/workflows.cjs +29 -12
- package/dist/workflows.d.cts +85 -3
- package/dist/workflows.d.ts +85 -3
- package/dist/workflows.js +16 -2
- package/package.json +2 -2
package/dist/media.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-BUb7OxrB.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import './credentials.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** One run of a batch — a full GenerateRequest plus its matrix identity. */
|
|
@@ -122,7 +122,16 @@ type CaptureLadderResponse = {
|
|
|
122
122
|
transcript_id?: string | null;
|
|
123
123
|
library_item_id?: string | null;
|
|
124
124
|
library_id?: string | null;
|
|
125
|
-
notices?:
|
|
125
|
+
notices?: CaptureNotice[];
|
|
126
|
+
social?: {
|
|
127
|
+
[key: string]: unknown;
|
|
128
|
+
} | null;
|
|
129
|
+
};
|
|
130
|
+
/** Something the landing door did on the caller's behalf, said out loud. */
|
|
131
|
+
type CaptureNotice = {
|
|
132
|
+
code?: string;
|
|
133
|
+
message?: string;
|
|
134
|
+
remedy?: string;
|
|
126
135
|
};
|
|
127
136
|
/** CaptureRefusal */
|
|
128
137
|
type CaptureRefusal = {
|
|
@@ -130,6 +139,21 @@ type CaptureRefusal = {
|
|
|
130
139
|
why: string;
|
|
131
140
|
code?: string | null;
|
|
132
141
|
};
|
|
142
|
+
/** CapturedImageBody */
|
|
143
|
+
type CapturedImageBody = {
|
|
144
|
+
src: string;
|
|
145
|
+
alt?: string | null;
|
|
146
|
+
width?: number | null;
|
|
147
|
+
height?: number | null;
|
|
148
|
+
post_ref?: string | null;
|
|
149
|
+
};
|
|
150
|
+
/** CapturedVideoBody */
|
|
151
|
+
type CapturedVideoBody = {
|
|
152
|
+
src: string;
|
|
153
|
+
post_ref?: string | null;
|
|
154
|
+
poster?: string | null;
|
|
155
|
+
mime_type?: string | null;
|
|
156
|
+
};
|
|
133
157
|
/** ChangePasswordRequest */
|
|
134
158
|
type ChangePasswordRequest = {
|
|
135
159
|
current_password: string;
|
|
@@ -813,6 +837,8 @@ type ResultBody = {
|
|
|
813
837
|
final_url?: string | null;
|
|
814
838
|
note?: string | null;
|
|
815
839
|
caption_track?: CaptionTrackBody | null;
|
|
840
|
+
images?: CapturedImageBody[];
|
|
841
|
+
videos?: CapturedVideoBody[];
|
|
816
842
|
};
|
|
817
843
|
/** Either explicit ids or a filter. Both empty means the whole Library. */
|
|
818
844
|
type Selection = {
|
|
@@ -2267,4 +2293,4 @@ interface Operations {
|
|
|
2267
2293
|
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
2268
2294
|
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
2269
2295
|
|
|
2270
|
-
export { type BatchJobSpec, type BatchSummaryResponse, type BgRemoveArgs, type BgRemoveParams, type BgRemoveResult, type CancelGenerationArgs, type CancelGenerationResponse, type CancelGenerationResult, type CancelImageBatchArgs, type CancelImageBatchResult, type CancelImageJobArgs, type CancelImageJobResult, type CancelJobArgs, type CancelJobResult, type CancelVideoJobArgs, type CancelVideoJobResult, type CaptionSegment, type CaptionTrackBody, type CaptureHandoff, type CaptureLadderResponse, type CaptureRefusal, type CaptureScreenshotArgs, type CaptureScreenshotResult, type ChangePasswordRequest, type ClaimBody, type ClaimHandoffArgs, type ClaimHandoffResult, type ClearFinishedJobsArgs, type ClearFinishedJobsResult, type CommitJobArgs, type CommitJobResult, type CommitRequest, type CreateJobArgs, type CreateJobResult, type CreateLibraryArgs, type CreateLibraryBody, type CreateLibraryResult, type CustomModelEntry, type CustomModelInspectRequest, type CustomModelInspectResponse, type CustomModelRegisterResponse, type DeleteCustomModelArgs, type DeleteCustomModelResult, type DeleteImageLoraArgs, type DeleteImageLoraResult, type DeleteMediaItemArgs, type DeleteMediaItemResult, type DetectDocumentArgs, type DetectDocumentRequest, type DetectDocumentResult, type DiscardJobArgs, type DiscardJobResult, type DiscardRequest, type DiscardResponse, type DismissBody, type DismissHandoffArgs, type DismissHandoffResult, type DownloadLoraArgs, type DownloadLoraResult, type DownloadModelArgs, type DownloadModelRequest, type DownloadModelResponse, type DownloadModelResult, type DownloadTextEncoderArgs, type DownloadTextEncoderRequest, type DownloadTextEncoderResponse, type DownloadTextEncoderResult, type DownloadVideoModelArgs, type DownloadVideoModelResult, type EditImageArgs, type EditImageResult, type EnqueueBatchRequest, type EnqueueBatchResponse, type EnqueueBody, type EnqueueHandoffsArgs, type EnqueueHandoffsResult, type EnqueueImageBatchArgs, type EnqueueImageBatchResult, type EnqueueImageJobArgs, type EnqueueImageJobRequest, type EnqueueImageJobResult, type EnsureMediaRuntimeArgs, type EnsureMediaRuntimeResult, type EstimateBody, type EstimateSelectionArgs, type EstimateSelectionResult, type ExportBody, type ExportLibraryArgs, type ExportLibraryResult, type GenerateFromWorkflowArgs, type GenerateFromWorkflowResult, type GenerateImageArgs, type GenerateImageOnMatrxLocalArgs, type GenerateImageOnMatrxLocalResult, type GenerateImageRequest, type GenerateImageResult, type GenerateRequest, type GenerateResponse, type GenerateVideoArgs, type GenerateVideoRequest, type GenerateVideoResponse, type GenerateVideoResult, type GetImageJobArgs, type GetImageJobResult, type GetImageModelParamsArgs, type GetImageModelParamsResult, type GetInstallStatusArgs, type GetInstallStatusResult, type GetJobArgs, type GetJobResult, type GetLibraryArgs, type GetLibraryResult, type GetMediaFileArgs, type GetMediaFileResult, type GetMediaInitImageArgs, type GetMediaInitImageResult, type GetMediaThumbArgs, type GetMediaThumbResult, type GetOrRenderVariantArgs, type GetOrRenderVariantResult, type GetPresetsArgs, type GetPresetsResult, type GetQueueStateArgs, type GetQueueStateResult, type GetSettingsArgs, type GetSettingsResult, type GetVideoJobArgs, type GetVideoJobResult, type GetVideoJobResultArgs, type GetVideoJobResultResult, type GetVideoModelParamsArgs, type GetVideoModelParamsResult, type ImageBgRemoveRequest, type ImageEditOutput, type ImageEditRequest, type ImageGenModelInfo, type ImageGenStatusArgs, type ImageGenStatusResponse, type ImageGenStatusResult, type ImageInpaintRequest, type ImageJobEnqueuedResponse, type ImageJobResponse, type ImageOpDescriptor, type ImageOpsCatalog, type ImageRevisionRequest, type ImageStudioCapabilities, type ImageStudioPresetsResponse, type InpaintArgs, type InpaintParams, type InpaintResult, type InspectCustomModelArgs, type InspectCustomModelResult, type InstallImageGenArgs, type InstallImageGenResult, type InstallStatusResponse, type ItemIdsRequest, type LibraryMetricsArgs, type LibraryMetricsResult, type ListActionsArgs, type ListActionsResult, type ListHandoffsArgs, type ListHandoffsResult, type ListImageBatchesArgs, type ListImageBatchesResult, type ListImageGenModelsArgs, type ListImageGenModelsResult, type ListImageJobsArgs, type ListImageJobsResult, type ListImageLorasArgs, type ListImageLorasResult, type ListImageOpsArgs, type ListImageOpsResult, type ListLibrariesArgs, type ListLibrariesResult, type ListLibraryJobsArgs, type ListLibraryJobsResult, type ListLibraryVideosArgs, type ListLibraryVideosResult, type ListMediaItemsArgs, type ListMediaItemsResult, type ListRevisionBranchArgs, type ListRevisionBranchResult, type ListVideoGenModelsArgs, type ListVideoGenModelsResult, type ListVideoJobsArgs, type ListVideoJobsResult, type ListWorkflowPresetsArgs, type ListWorkflowPresetsResult, type LoadModelArgs, type LoadModelResponse, type LoadModelResult, type LoadVideoModelArgs, type LoadVideoModelResult, type LoraCatalogInfo, type LoraDownloadRequest, type LoraDownloadResponse, type LoraInstalledInfo, type LoraSpec, type LorasResponse, type MediaLibraryItem, type MediaLibraryListResponse, type MediaRuntimeStatusArgs, type MediaRuntimeStatusResponse, type MediaRuntimeStatusResult, type ModelParamsResponse, type NeedsDriveArgs, type NeedsDriveBody, type NeedsDriveResult, type Operations, type PasswordRequest, type PauseQueueArgs, type PauseQueueResult, type ProcessImageArgs, type ProcessImageResult, type PutSettingsArgs, type PutSettingsResult, type QueueStateResponse, type RecordResultArgs, type RecordResultResult, type RegisterCustomModelRouteArgs, type RegisterCustomModelRouteResult, type ReorderQueueArgs, type ReorderQueueRequest, type ReorderQueueResult, type RepairMediaRuntimeArgs, type RepairMediaRuntimeResult, type ResolveBody, type ResolveSourceArgs, type ResolveSourceResult, type ResultBody, type ResumeJobArgs, type ResumeJobResult, type ResumeQueueArgs, type ResumeQueueResult, type RetryFailedItemsArgs, type RetryFailedItemsResult, type RetryImageJobArgs, type RetryImageJobResult, type Selection, type SelectionFilter, type SettingsBody, type StartJobBody, type StreamInstallProgressArgs, type StreamInstallProgressResult, type StreamMediaRuntimeArgs, type StreamMediaRuntimeResult, type SyncBody, type SyncLibraryArgs, type SyncLibraryResult, type UnloadModelArgs, type UnloadModelResult, type UnloadVideoModelArgs, type UnloadVideoModelResult, type UploadVisionMasterArgs, type UploadVisionMasterResult, type VaultChangePasswordArgs, type VaultChangePasswordResult, type VaultCreateArgs, type VaultCreateResult, type VaultDeleteArgs, type VaultDeleteResult, type VaultFileArgs, type VaultFileResult, type VaultItemsArgs, type VaultItemsResult, type VaultLockArgs, type VaultLockResult, type VaultMoveArgs, type VaultMoveResult, type VaultOpResponse, type VaultOpResult, type VaultRestoreArgs, type VaultRestoreResult, type VaultStatusArgs, type VaultStatusResponse, type VaultStatusResult, type VaultUnlockArgs, type VaultUnlockResult, type VideoGenModelInfo, type VideoGenStatusArgs, type VideoGenStatusResponse, type VideoGenStatusResult, type VideoJobResponse, type VisionMediaUploadResponse, type WorkflowGenerateRequest, type WorkflowPresetInfo, type app__api__image_gen_routes__LoadModelRequest, type app__api__video_gen_routes__LoadModelRequest, bgRemove, call, cancelGeneration, cancelImageBatch, cancelImageJob, cancelJob, cancelVideoJob, captureScreenshot, claimHandoff, clearFinishedJobs, commitJob, createJob, createLibrary, deleteCustomModel, deleteImageLora, deleteMediaItem, detectDocument, discardJob, dismissHandoff, downloadLora, downloadModel, downloadTextEncoder, downloadVideoModel, editImage, enqueueHandoffs, enqueueImageBatch, enqueueImageJob, ensureMediaRuntime, estimateSelection, exportLibrary, generateFromWorkflow, generateImage, generateImageOnMatrxLocal, generateVideo, getImageJob, getImageModelParams, getInstallStatus, getJob, getLibrary, getMediaFile, getMediaInitImage, getMediaThumb, getOrRenderVariant, getPresets, getQueueState, getSettings, getVideoJob, getVideoJobResult, getVideoModelParams, imageGenStatus, inpaint, inspectCustomModel, installImageGen, libraryMetrics, listActions, listHandoffs, listImageBatches, listImageGenModels, listImageJobs, listImageLoras, listImageOps, listLibraries, listLibraryJobs, listLibraryVideos, listMediaItems, listRevisionBranch, listVideoGenModels, listVideoJobs, listWorkflowPresets, loadModel, loadVideoModel, mediaRuntimeStatus, needsDrive, pauseQueue, processImage, putSettings, recordResult, registerCustomModelRoute, reorderQueue, repairMediaRuntime, resolveSource, resumeJob, resumeQueue, retryFailedItems, retryImageJob, streamInstallProgress, streamMediaRuntime, syncLibrary, unloadModel, unloadVideoModel, uploadVisionMaster, vaultChangePassword, vaultCreate, vaultDelete, vaultFile, vaultItems, vaultLock, vaultMove, vaultRestore, vaultStatus, vaultUnlock, videoGenStatus };
|
|
2296
|
+
export { type BatchJobSpec, type BatchSummaryResponse, type BgRemoveArgs, type BgRemoveParams, type BgRemoveResult, type CancelGenerationArgs, type CancelGenerationResponse, type CancelGenerationResult, type CancelImageBatchArgs, type CancelImageBatchResult, type CancelImageJobArgs, type CancelImageJobResult, type CancelJobArgs, type CancelJobResult, type CancelVideoJobArgs, type CancelVideoJobResult, type CaptionSegment, type CaptionTrackBody, type CaptureHandoff, type CaptureLadderResponse, type CaptureNotice, type CaptureRefusal, type CaptureScreenshotArgs, type CaptureScreenshotResult, type CapturedImageBody, type CapturedVideoBody, type ChangePasswordRequest, type ClaimBody, type ClaimHandoffArgs, type ClaimHandoffResult, type ClearFinishedJobsArgs, type ClearFinishedJobsResult, type CommitJobArgs, type CommitJobResult, type CommitRequest, type CreateJobArgs, type CreateJobResult, type CreateLibraryArgs, type CreateLibraryBody, type CreateLibraryResult, type CustomModelEntry, type CustomModelInspectRequest, type CustomModelInspectResponse, type CustomModelRegisterResponse, type DeleteCustomModelArgs, type DeleteCustomModelResult, type DeleteImageLoraArgs, type DeleteImageLoraResult, type DeleteMediaItemArgs, type DeleteMediaItemResult, type DetectDocumentArgs, type DetectDocumentRequest, type DetectDocumentResult, type DiscardJobArgs, type DiscardJobResult, type DiscardRequest, type DiscardResponse, type DismissBody, type DismissHandoffArgs, type DismissHandoffResult, type DownloadLoraArgs, type DownloadLoraResult, type DownloadModelArgs, type DownloadModelRequest, type DownloadModelResponse, type DownloadModelResult, type DownloadTextEncoderArgs, type DownloadTextEncoderRequest, type DownloadTextEncoderResponse, type DownloadTextEncoderResult, type DownloadVideoModelArgs, type DownloadVideoModelResult, type EditImageArgs, type EditImageResult, type EnqueueBatchRequest, type EnqueueBatchResponse, type EnqueueBody, type EnqueueHandoffsArgs, type EnqueueHandoffsResult, type EnqueueImageBatchArgs, type EnqueueImageBatchResult, type EnqueueImageJobArgs, type EnqueueImageJobRequest, type EnqueueImageJobResult, type EnsureMediaRuntimeArgs, type EnsureMediaRuntimeResult, type EstimateBody, type EstimateSelectionArgs, type EstimateSelectionResult, type ExportBody, type ExportLibraryArgs, type ExportLibraryResult, type GenerateFromWorkflowArgs, type GenerateFromWorkflowResult, type GenerateImageArgs, type GenerateImageOnMatrxLocalArgs, type GenerateImageOnMatrxLocalResult, type GenerateImageRequest, type GenerateImageResult, type GenerateRequest, type GenerateResponse, type GenerateVideoArgs, type GenerateVideoRequest, type GenerateVideoResponse, type GenerateVideoResult, type GetImageJobArgs, type GetImageJobResult, type GetImageModelParamsArgs, type GetImageModelParamsResult, type GetInstallStatusArgs, type GetInstallStatusResult, type GetJobArgs, type GetJobResult, type GetLibraryArgs, type GetLibraryResult, type GetMediaFileArgs, type GetMediaFileResult, type GetMediaInitImageArgs, type GetMediaInitImageResult, type GetMediaThumbArgs, type GetMediaThumbResult, type GetOrRenderVariantArgs, type GetOrRenderVariantResult, type GetPresetsArgs, type GetPresetsResult, type GetQueueStateArgs, type GetQueueStateResult, type GetSettingsArgs, type GetSettingsResult, type GetVideoJobArgs, type GetVideoJobResult, type GetVideoJobResultArgs, type GetVideoJobResultResult, type GetVideoModelParamsArgs, type GetVideoModelParamsResult, type ImageBgRemoveRequest, type ImageEditOutput, type ImageEditRequest, type ImageGenModelInfo, type ImageGenStatusArgs, type ImageGenStatusResponse, type ImageGenStatusResult, type ImageInpaintRequest, type ImageJobEnqueuedResponse, type ImageJobResponse, type ImageOpDescriptor, type ImageOpsCatalog, type ImageRevisionRequest, type ImageStudioCapabilities, type ImageStudioPresetsResponse, type InpaintArgs, type InpaintParams, type InpaintResult, type InspectCustomModelArgs, type InspectCustomModelResult, type InstallImageGenArgs, type InstallImageGenResult, type InstallStatusResponse, type ItemIdsRequest, type LibraryMetricsArgs, type LibraryMetricsResult, type ListActionsArgs, type ListActionsResult, type ListHandoffsArgs, type ListHandoffsResult, type ListImageBatchesArgs, type ListImageBatchesResult, type ListImageGenModelsArgs, type ListImageGenModelsResult, type ListImageJobsArgs, type ListImageJobsResult, type ListImageLorasArgs, type ListImageLorasResult, type ListImageOpsArgs, type ListImageOpsResult, type ListLibrariesArgs, type ListLibrariesResult, type ListLibraryJobsArgs, type ListLibraryJobsResult, type ListLibraryVideosArgs, type ListLibraryVideosResult, type ListMediaItemsArgs, type ListMediaItemsResult, type ListRevisionBranchArgs, type ListRevisionBranchResult, type ListVideoGenModelsArgs, type ListVideoGenModelsResult, type ListVideoJobsArgs, type ListVideoJobsResult, type ListWorkflowPresetsArgs, type ListWorkflowPresetsResult, type LoadModelArgs, type LoadModelResponse, type LoadModelResult, type LoadVideoModelArgs, type LoadVideoModelResult, type LoraCatalogInfo, type LoraDownloadRequest, type LoraDownloadResponse, type LoraInstalledInfo, type LoraSpec, type LorasResponse, type MediaLibraryItem, type MediaLibraryListResponse, type MediaRuntimeStatusArgs, type MediaRuntimeStatusResponse, type MediaRuntimeStatusResult, type ModelParamsResponse, type NeedsDriveArgs, type NeedsDriveBody, type NeedsDriveResult, type Operations, type PasswordRequest, type PauseQueueArgs, type PauseQueueResult, type ProcessImageArgs, type ProcessImageResult, type PutSettingsArgs, type PutSettingsResult, type QueueStateResponse, type RecordResultArgs, type RecordResultResult, type RegisterCustomModelRouteArgs, type RegisterCustomModelRouteResult, type ReorderQueueArgs, type ReorderQueueRequest, type ReorderQueueResult, type RepairMediaRuntimeArgs, type RepairMediaRuntimeResult, type ResolveBody, type ResolveSourceArgs, type ResolveSourceResult, type ResultBody, type ResumeJobArgs, type ResumeJobResult, type ResumeQueueArgs, type ResumeQueueResult, type RetryFailedItemsArgs, type RetryFailedItemsResult, type RetryImageJobArgs, type RetryImageJobResult, type Selection, type SelectionFilter, type SettingsBody, type StartJobBody, type StreamInstallProgressArgs, type StreamInstallProgressResult, type StreamMediaRuntimeArgs, type StreamMediaRuntimeResult, type SyncBody, type SyncLibraryArgs, type SyncLibraryResult, type UnloadModelArgs, type UnloadModelResult, type UnloadVideoModelArgs, type UnloadVideoModelResult, type UploadVisionMasterArgs, type UploadVisionMasterResult, type VaultChangePasswordArgs, type VaultChangePasswordResult, type VaultCreateArgs, type VaultCreateResult, type VaultDeleteArgs, type VaultDeleteResult, type VaultFileArgs, type VaultFileResult, type VaultItemsArgs, type VaultItemsResult, type VaultLockArgs, type VaultLockResult, type VaultMoveArgs, type VaultMoveResult, type VaultOpResponse, type VaultOpResult, type VaultRestoreArgs, type VaultRestoreResult, type VaultStatusArgs, type VaultStatusResponse, type VaultStatusResult, type VaultUnlockArgs, type VaultUnlockResult, type VideoGenModelInfo, type VideoGenStatusArgs, type VideoGenStatusResponse, type VideoGenStatusResult, type VideoJobResponse, type VisionMediaUploadResponse, type WorkflowGenerateRequest, type WorkflowPresetInfo, type app__api__image_gen_routes__LoadModelRequest, type app__api__video_gen_routes__LoadModelRequest, bgRemove, call, cancelGeneration, cancelImageBatch, cancelImageJob, cancelJob, cancelVideoJob, captureScreenshot, claimHandoff, clearFinishedJobs, commitJob, createJob, createLibrary, deleteCustomModel, deleteImageLora, deleteMediaItem, detectDocument, discardJob, dismissHandoff, downloadLora, downloadModel, downloadTextEncoder, downloadVideoModel, editImage, enqueueHandoffs, enqueueImageBatch, enqueueImageJob, ensureMediaRuntime, estimateSelection, exportLibrary, generateFromWorkflow, generateImage, generateImageOnMatrxLocal, generateVideo, getImageJob, getImageModelParams, getInstallStatus, getJob, getLibrary, getMediaFile, getMediaInitImage, getMediaThumb, getOrRenderVariant, getPresets, getQueueState, getSettings, getVideoJob, getVideoJobResult, getVideoModelParams, imageGenStatus, inpaint, inspectCustomModel, installImageGen, libraryMetrics, listActions, listHandoffs, listImageBatches, listImageGenModels, listImageJobs, listImageLoras, listImageOps, listLibraries, listLibraryJobs, listLibraryVideos, listMediaItems, listRevisionBranch, listVideoGenModels, listVideoJobs, listWorkflowPresets, loadModel, loadVideoModel, mediaRuntimeStatus, needsDrive, pauseQueue, processImage, putSettings, recordResult, registerCustomModelRoute, reorderQueue, repairMediaRuntime, resolveSource, resumeJob, resumeQueue, retryFailedItems, retryImageJob, streamInstallProgress, streamMediaRuntime, syncLibrary, unloadModel, unloadVideoModel, uploadVisionMaster, vaultChangePassword, vaultCreate, vaultDelete, vaultFile, vaultItems, vaultLock, vaultMove, vaultRestore, vaultStatus, vaultUnlock, videoGenStatus };
|
package/dist/media.js
CHANGED
package/dist/platform.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDMJ3ZRN7_cjs = require('./chunk-DMJ3ZRN7.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
require('./chunk-5WJLKYH6.cjs');
|
|
6
6
|
|
|
@@ -17,6 +17,10 @@ var $exchangeSessionHandoff = { m: "POST", p: "/auth/session/exchange", d: "aidr
|
|
|
17
17
|
function exchangeSessionHandoff(api, args, options) {
|
|
18
18
|
return api.call($exchangeSessionHandoff, args, options);
|
|
19
19
|
}
|
|
20
|
+
var $openGuestSession = { m: "POST", p: "/auth/guest/session", d: "aidream", a: "public", o: "exempt", n: "platform.open_guest_session" };
|
|
21
|
+
function openGuestSession(api, args, options) {
|
|
22
|
+
return api.call($openGuestSession, args, options);
|
|
23
|
+
}
|
|
20
24
|
var $reportOauthIncident = { m: "POST", p: "/auth/session/oauth-incident", d: "aidream", a: "public", o: "exempt", n: "platform.report_oauth_incident" };
|
|
21
25
|
function reportOauthIncident(api, args, options) {
|
|
22
26
|
return api.call($reportOauthIncident, args, options);
|
|
@@ -43,7 +47,7 @@ function getAppConfig(api, args, options) {
|
|
|
43
47
|
}
|
|
44
48
|
var $publishDictionary = { m: "POST", p: "/dictionary/publish", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "platform.publish_dictionary" };
|
|
45
49
|
function publishDictionary(api, args, options) {
|
|
46
|
-
return
|
|
50
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $publishDictionary, args, options);
|
|
47
51
|
}
|
|
48
52
|
var $listPublications = { m: "GET", p: "/dictionary/publications", d: "aidream", a: "guest", o: "exempt", n: "platform.list_publications" };
|
|
49
53
|
function listPublications(api, args, options) {
|
|
@@ -67,7 +71,7 @@ function getCheck(api, args, options) {
|
|
|
67
71
|
}
|
|
68
72
|
var $runCheck = { m: "POST", p: "/proof-runs/checks/{slug}/run", d: "aidream", a: "admin", o: "required", s: "ndjson", n: "platform.run_check" };
|
|
69
73
|
function runCheck(api, args, options) {
|
|
70
|
-
return
|
|
74
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $runCheck, args, options);
|
|
71
75
|
}
|
|
72
76
|
var $listRecentRuns = { m: "GET", p: "/proof-runs/runs", d: "aidream", a: "admin", o: "optional", n: "platform.list_recent_runs" };
|
|
73
77
|
function listRecentRuns(api, args, options) {
|
|
@@ -101,6 +105,7 @@ var TABLE = {
|
|
|
101
105
|
"GET /auth/aimatrx": $initiateOauth,
|
|
102
106
|
"GET /auth/callback": $oauthCallback,
|
|
103
107
|
"POST /auth/session/exchange": $exchangeSessionHandoff,
|
|
108
|
+
"POST /auth/guest/session": $openGuestSession,
|
|
104
109
|
"POST /auth/session/oauth-incident": $reportOauthIncident,
|
|
105
110
|
"GET /auth/file-session/status": $currentFileSessionStatus,
|
|
106
111
|
"GET /auth/session/status": $currentSessionStatus,
|
|
@@ -142,6 +147,7 @@ exports.listScenarios = listScenarios;
|
|
|
142
147
|
exports.mandateCatalog = mandateCatalog;
|
|
143
148
|
exports.oauthCallback = oauthCallback;
|
|
144
149
|
exports.onSignIn = onSignIn;
|
|
150
|
+
exports.openGuestSession = openGuestSession;
|
|
145
151
|
exports.publishDictionary = publishDictionary;
|
|
146
152
|
exports.reportOauthIncident = reportOauthIncident;
|
|
147
153
|
exports.runCheck = runCheck;
|
package/dist/platform.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DCyEAVSW.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import './credentials.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AppConfigResponse */
|
|
@@ -53,6 +53,21 @@ type Expectation = {
|
|
|
53
53
|
rubric?: string;
|
|
54
54
|
required?: boolean;
|
|
55
55
|
};
|
|
56
|
+
/** GuestSessionRequest */
|
|
57
|
+
type GuestSessionRequest = {
|
|
58
|
+
fingerprint: string;
|
|
59
|
+
};
|
|
60
|
+
/** GuestSessionResponse */
|
|
61
|
+
type GuestSessionResponse = {
|
|
62
|
+
user_id: string;
|
|
63
|
+
organization_id: string | null;
|
|
64
|
+
access_token: string;
|
|
65
|
+
refresh_token: string;
|
|
66
|
+
expires_in: number;
|
|
67
|
+
expires_at: number;
|
|
68
|
+
token_type: string;
|
|
69
|
+
adopted_from: string | null;
|
|
70
|
+
};
|
|
56
71
|
/** One mandate an author can point a scenario at, with what it offers. */
|
|
57
72
|
type MandateOption = {
|
|
58
73
|
mandate_key: string;
|
|
@@ -321,6 +336,13 @@ type ExchangeSessionHandoffResult = SessionExchangeResponse;
|
|
|
321
336
|
/** Exchange Session Handoff */
|
|
322
337
|
/** `POST /auth/session/exchange` · aidream · auth public · org exempt */
|
|
323
338
|
declare function exchangeSessionHandoff(api: Api, args: ExchangeSessionHandoffArgs, options?: CallOptions): Promise<ExchangeSessionHandoffResult>;
|
|
339
|
+
type OpenGuestSessionArgs = {
|
|
340
|
+
body: GuestSessionRequest;
|
|
341
|
+
};
|
|
342
|
+
type OpenGuestSessionResult = GuestSessionResponse;
|
|
343
|
+
/** Open Guest Session */
|
|
344
|
+
/** `POST /auth/guest/session` · aidream · auth public · org exempt */
|
|
345
|
+
declare function openGuestSession(api: Api, args: OpenGuestSessionArgs, options?: CallOptions): Promise<OpenGuestSessionResult>;
|
|
324
346
|
type ReportOauthIncidentArgs = {
|
|
325
347
|
body: OAuthIncidentRequest;
|
|
326
348
|
};
|
|
@@ -493,6 +515,10 @@ interface Operations {
|
|
|
493
515
|
args: ExchangeSessionHandoffArgs;
|
|
494
516
|
result: ExchangeSessionHandoffResult;
|
|
495
517
|
};
|
|
518
|
+
"POST /auth/guest/session": {
|
|
519
|
+
args: OpenGuestSessionArgs;
|
|
520
|
+
result: OpenGuestSessionResult;
|
|
521
|
+
};
|
|
496
522
|
"POST /auth/session/oauth-incident": {
|
|
497
523
|
args: ReportOauthIncidentArgs;
|
|
498
524
|
result: ReportOauthIncidentResult;
|
|
@@ -569,4 +595,4 @@ interface Operations {
|
|
|
569
595
|
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
570
596
|
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
571
597
|
|
|
572
|
-
export { type AppConfigResponse, type CurrentFileSessionStatusArgs, type CurrentFileSessionStatusResult, type CurrentSessionStatusArgs, type CurrentSessionStatusResult, type DeleteScenarioArgs, type DeleteScenarioResult, type DevLoginAsArgs, type DevLoginAsResult, type DevLoginRequest, type DevLoginResponse, type DirectivePublishReport, type ExchangeSessionHandoffArgs, type ExchangeSessionHandoffResult, type Expectation, type GetAppConfigArgs, type GetAppConfigResult, type GetCheckArgs, type GetCheckResult, type GetRunDetailArgs, type GetRunDetailResult, type InitiateOauthArgs, type InitiateOauthResult, type ListChecksArgs, type ListChecksResult, type ListMyOrganizationsArgs, type ListMyOrganizationsResult, type ListPublicationsArgs, type ListPublicationsResult, type ListRecentRunsArgs, type ListRecentRunsResult, type ListScenariosArgs, type ListScenariosResult, type MandateCatalogArgs, type MandateCatalogResult, type MandateOption, type OAuthIncidentRequest, type OAuthIncidentResponse, type OauthCallbackArgs, type OauthCallbackResult, type OnSignInArgs, type OnSignInResponse, type OnSignInResult, type Operations, type OrganizationReport, type OrganizationSummary, type ProofCheckStatusKind, type ProofChecksResponse, type ProofRunDetail, type ProofRunSummary, type ProofRunsResponse, type PublicationStatus, type PublishDictionaryArgs, type PublishDictionaryResult, type RefreshRequiredRequest, type ReportOauthIncidentArgs, type ReportOauthIncidentResult, type RunCheckArgs, type RunCheckResult, type RunNowRequest, type SaveScenarioArgs, type SaveScenarioResult, type ScenarioDeleteResponse, type ScenarioPayload, type ScenarioRow, type ScenariosResponse, type SendRefreshRequiredArgs, type SendRefreshRequiredResult, type SessionExchangeRequest, type SessionExchangeResponse, type SupabaseAuthWebhookPayload, type SupabaseAuthWebhookUser, type WhoamiArgs, type WhoamiResponse, type WhoamiResult, type aidream__api__routers__dictionary__PublishRequest, type aidream__api__routers__proof_runs__MandateCatalogResponse, call, currentFileSessionStatus, currentSessionStatus, deleteScenario, devLoginAs, exchangeSessionHandoff, getAppConfig, getCheck, getRunDetail, initiateOauth, listChecks, listMyOrganizations, listPublications, listRecentRuns, listScenarios, mandateCatalog, oauthCallback, onSignIn, publishDictionary, reportOauthIncident, runCheck, saveScenario, sendRefreshRequired, whoami };
|
|
598
|
+
export { type AppConfigResponse, type CurrentFileSessionStatusArgs, type CurrentFileSessionStatusResult, type CurrentSessionStatusArgs, type CurrentSessionStatusResult, type DeleteScenarioArgs, type DeleteScenarioResult, type DevLoginAsArgs, type DevLoginAsResult, type DevLoginRequest, type DevLoginResponse, type DirectivePublishReport, type ExchangeSessionHandoffArgs, type ExchangeSessionHandoffResult, type Expectation, type GetAppConfigArgs, type GetAppConfigResult, type GetCheckArgs, type GetCheckResult, type GetRunDetailArgs, type GetRunDetailResult, type GuestSessionRequest, type GuestSessionResponse, type InitiateOauthArgs, type InitiateOauthResult, type ListChecksArgs, type ListChecksResult, type ListMyOrganizationsArgs, type ListMyOrganizationsResult, type ListPublicationsArgs, type ListPublicationsResult, type ListRecentRunsArgs, type ListRecentRunsResult, type ListScenariosArgs, type ListScenariosResult, type MandateCatalogArgs, type MandateCatalogResult, type MandateOption, type OAuthIncidentRequest, type OAuthIncidentResponse, type OauthCallbackArgs, type OauthCallbackResult, type OnSignInArgs, type OnSignInResponse, type OnSignInResult, type OpenGuestSessionArgs, type OpenGuestSessionResult, type Operations, type OrganizationReport, type OrganizationSummary, type ProofCheckStatusKind, type ProofChecksResponse, type ProofRunDetail, type ProofRunSummary, type ProofRunsResponse, type PublicationStatus, type PublishDictionaryArgs, type PublishDictionaryResult, type RefreshRequiredRequest, type ReportOauthIncidentArgs, type ReportOauthIncidentResult, type RunCheckArgs, type RunCheckResult, type RunNowRequest, type SaveScenarioArgs, type SaveScenarioResult, type ScenarioDeleteResponse, type ScenarioPayload, type ScenarioRow, type ScenariosResponse, type SendRefreshRequiredArgs, type SendRefreshRequiredResult, type SessionExchangeRequest, type SessionExchangeResponse, type SupabaseAuthWebhookPayload, type SupabaseAuthWebhookUser, type WhoamiArgs, type WhoamiResponse, type WhoamiResult, type aidream__api__routers__dictionary__PublishRequest, type aidream__api__routers__proof_runs__MandateCatalogResponse, call, currentFileSessionStatus, currentSessionStatus, deleteScenario, devLoginAs, exchangeSessionHandoff, getAppConfig, getCheck, getRunDetail, initiateOauth, listChecks, listMyOrganizations, listPublications, listRecentRuns, listScenarios, mandateCatalog, oauthCallback, onSignIn, openGuestSession, publishDictionary, reportOauthIncident, runCheck, saveScenario, sendRefreshRequired, whoami };
|
package/dist/platform.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BUb7OxrB.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import './credentials.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AppConfigResponse */
|
|
@@ -53,6 +53,21 @@ type Expectation = {
|
|
|
53
53
|
rubric?: string;
|
|
54
54
|
required?: boolean;
|
|
55
55
|
};
|
|
56
|
+
/** GuestSessionRequest */
|
|
57
|
+
type GuestSessionRequest = {
|
|
58
|
+
fingerprint: string;
|
|
59
|
+
};
|
|
60
|
+
/** GuestSessionResponse */
|
|
61
|
+
type GuestSessionResponse = {
|
|
62
|
+
user_id: string;
|
|
63
|
+
organization_id: string | null;
|
|
64
|
+
access_token: string;
|
|
65
|
+
refresh_token: string;
|
|
66
|
+
expires_in: number;
|
|
67
|
+
expires_at: number;
|
|
68
|
+
token_type: string;
|
|
69
|
+
adopted_from: string | null;
|
|
70
|
+
};
|
|
56
71
|
/** One mandate an author can point a scenario at, with what it offers. */
|
|
57
72
|
type MandateOption = {
|
|
58
73
|
mandate_key: string;
|
|
@@ -321,6 +336,13 @@ type ExchangeSessionHandoffResult = SessionExchangeResponse;
|
|
|
321
336
|
/** Exchange Session Handoff */
|
|
322
337
|
/** `POST /auth/session/exchange` · aidream · auth public · org exempt */
|
|
323
338
|
declare function exchangeSessionHandoff(api: Api, args: ExchangeSessionHandoffArgs, options?: CallOptions): Promise<ExchangeSessionHandoffResult>;
|
|
339
|
+
type OpenGuestSessionArgs = {
|
|
340
|
+
body: GuestSessionRequest;
|
|
341
|
+
};
|
|
342
|
+
type OpenGuestSessionResult = GuestSessionResponse;
|
|
343
|
+
/** Open Guest Session */
|
|
344
|
+
/** `POST /auth/guest/session` · aidream · auth public · org exempt */
|
|
345
|
+
declare function openGuestSession(api: Api, args: OpenGuestSessionArgs, options?: CallOptions): Promise<OpenGuestSessionResult>;
|
|
324
346
|
type ReportOauthIncidentArgs = {
|
|
325
347
|
body: OAuthIncidentRequest;
|
|
326
348
|
};
|
|
@@ -493,6 +515,10 @@ interface Operations {
|
|
|
493
515
|
args: ExchangeSessionHandoffArgs;
|
|
494
516
|
result: ExchangeSessionHandoffResult;
|
|
495
517
|
};
|
|
518
|
+
"POST /auth/guest/session": {
|
|
519
|
+
args: OpenGuestSessionArgs;
|
|
520
|
+
result: OpenGuestSessionResult;
|
|
521
|
+
};
|
|
496
522
|
"POST /auth/session/oauth-incident": {
|
|
497
523
|
args: ReportOauthIncidentArgs;
|
|
498
524
|
result: ReportOauthIncidentResult;
|
|
@@ -569,4 +595,4 @@ interface Operations {
|
|
|
569
595
|
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
570
596
|
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
571
597
|
|
|
572
|
-
export { type AppConfigResponse, type CurrentFileSessionStatusArgs, type CurrentFileSessionStatusResult, type CurrentSessionStatusArgs, type CurrentSessionStatusResult, type DeleteScenarioArgs, type DeleteScenarioResult, type DevLoginAsArgs, type DevLoginAsResult, type DevLoginRequest, type DevLoginResponse, type DirectivePublishReport, type ExchangeSessionHandoffArgs, type ExchangeSessionHandoffResult, type Expectation, type GetAppConfigArgs, type GetAppConfigResult, type GetCheckArgs, type GetCheckResult, type GetRunDetailArgs, type GetRunDetailResult, type InitiateOauthArgs, type InitiateOauthResult, type ListChecksArgs, type ListChecksResult, type ListMyOrganizationsArgs, type ListMyOrganizationsResult, type ListPublicationsArgs, type ListPublicationsResult, type ListRecentRunsArgs, type ListRecentRunsResult, type ListScenariosArgs, type ListScenariosResult, type MandateCatalogArgs, type MandateCatalogResult, type MandateOption, type OAuthIncidentRequest, type OAuthIncidentResponse, type OauthCallbackArgs, type OauthCallbackResult, type OnSignInArgs, type OnSignInResponse, type OnSignInResult, type Operations, type OrganizationReport, type OrganizationSummary, type ProofCheckStatusKind, type ProofChecksResponse, type ProofRunDetail, type ProofRunSummary, type ProofRunsResponse, type PublicationStatus, type PublishDictionaryArgs, type PublishDictionaryResult, type RefreshRequiredRequest, type ReportOauthIncidentArgs, type ReportOauthIncidentResult, type RunCheckArgs, type RunCheckResult, type RunNowRequest, type SaveScenarioArgs, type SaveScenarioResult, type ScenarioDeleteResponse, type ScenarioPayload, type ScenarioRow, type ScenariosResponse, type SendRefreshRequiredArgs, type SendRefreshRequiredResult, type SessionExchangeRequest, type SessionExchangeResponse, type SupabaseAuthWebhookPayload, type SupabaseAuthWebhookUser, type WhoamiArgs, type WhoamiResponse, type WhoamiResult, type aidream__api__routers__dictionary__PublishRequest, type aidream__api__routers__proof_runs__MandateCatalogResponse, call, currentFileSessionStatus, currentSessionStatus, deleteScenario, devLoginAs, exchangeSessionHandoff, getAppConfig, getCheck, getRunDetail, initiateOauth, listChecks, listMyOrganizations, listPublications, listRecentRuns, listScenarios, mandateCatalog, oauthCallback, onSignIn, publishDictionary, reportOauthIncident, runCheck, saveScenario, sendRefreshRequired, whoami };
|
|
598
|
+
export { type AppConfigResponse, type CurrentFileSessionStatusArgs, type CurrentFileSessionStatusResult, type CurrentSessionStatusArgs, type CurrentSessionStatusResult, type DeleteScenarioArgs, type DeleteScenarioResult, type DevLoginAsArgs, type DevLoginAsResult, type DevLoginRequest, type DevLoginResponse, type DirectivePublishReport, type ExchangeSessionHandoffArgs, type ExchangeSessionHandoffResult, type Expectation, type GetAppConfigArgs, type GetAppConfigResult, type GetCheckArgs, type GetCheckResult, type GetRunDetailArgs, type GetRunDetailResult, type GuestSessionRequest, type GuestSessionResponse, type InitiateOauthArgs, type InitiateOauthResult, type ListChecksArgs, type ListChecksResult, type ListMyOrganizationsArgs, type ListMyOrganizationsResult, type ListPublicationsArgs, type ListPublicationsResult, type ListRecentRunsArgs, type ListRecentRunsResult, type ListScenariosArgs, type ListScenariosResult, type MandateCatalogArgs, type MandateCatalogResult, type MandateOption, type OAuthIncidentRequest, type OAuthIncidentResponse, type OauthCallbackArgs, type OauthCallbackResult, type OnSignInArgs, type OnSignInResponse, type OnSignInResult, type OpenGuestSessionArgs, type OpenGuestSessionResult, type Operations, type OrganizationReport, type OrganizationSummary, type ProofCheckStatusKind, type ProofChecksResponse, type ProofRunDetail, type ProofRunSummary, type ProofRunsResponse, type PublicationStatus, type PublishDictionaryArgs, type PublishDictionaryResult, type RefreshRequiredRequest, type ReportOauthIncidentArgs, type ReportOauthIncidentResult, type RunCheckArgs, type RunCheckResult, type RunNowRequest, type SaveScenarioArgs, type SaveScenarioResult, type ScenarioDeleteResponse, type ScenarioPayload, type ScenarioRow, type ScenariosResponse, type SendRefreshRequiredArgs, type SendRefreshRequiredResult, type SessionExchangeRequest, type SessionExchangeResponse, type SupabaseAuthWebhookPayload, type SupabaseAuthWebhookUser, type WhoamiArgs, type WhoamiResponse, type WhoamiResult, type aidream__api__routers__dictionary__PublishRequest, type aidream__api__routers__proof_runs__MandateCatalogResponse, call, currentFileSessionStatus, currentSessionStatus, deleteScenario, devLoginAs, exchangeSessionHandoff, getAppConfig, getCheck, getRunDetail, initiateOauth, listChecks, listMyOrganizations, listPublications, listRecentRuns, listScenarios, mandateCatalog, oauthCallback, onSignIn, openGuestSession, publishDictionary, reportOauthIncident, runCheck, saveScenario, sendRefreshRequired, whoami };
|
package/dist/platform.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
1
|
+
import { openStream } from './chunk-6UOESA3L.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|
|
3
3
|
import './chunk-VTZKJMSY.js';
|
|
4
4
|
|
|
@@ -15,6 +15,10 @@ var $exchangeSessionHandoff = { m: "POST", p: "/auth/session/exchange", d: "aidr
|
|
|
15
15
|
function exchangeSessionHandoff(api, args, options) {
|
|
16
16
|
return api.call($exchangeSessionHandoff, args, options);
|
|
17
17
|
}
|
|
18
|
+
var $openGuestSession = { m: "POST", p: "/auth/guest/session", d: "aidream", a: "public", o: "exempt", n: "platform.open_guest_session" };
|
|
19
|
+
function openGuestSession(api, args, options) {
|
|
20
|
+
return api.call($openGuestSession, args, options);
|
|
21
|
+
}
|
|
18
22
|
var $reportOauthIncident = { m: "POST", p: "/auth/session/oauth-incident", d: "aidream", a: "public", o: "exempt", n: "platform.report_oauth_incident" };
|
|
19
23
|
function reportOauthIncident(api, args, options) {
|
|
20
24
|
return api.call($reportOauthIncident, args, options);
|
|
@@ -99,6 +103,7 @@ var TABLE = {
|
|
|
99
103
|
"GET /auth/aimatrx": $initiateOauth,
|
|
100
104
|
"GET /auth/callback": $oauthCallback,
|
|
101
105
|
"POST /auth/session/exchange": $exchangeSessionHandoff,
|
|
106
|
+
"POST /auth/guest/session": $openGuestSession,
|
|
102
107
|
"POST /auth/session/oauth-incident": $reportOauthIncident,
|
|
103
108
|
"GET /auth/file-session/status": $currentFileSessionStatus,
|
|
104
109
|
"GET /auth/session/status": $currentSessionStatus,
|
|
@@ -122,4 +127,4 @@ function call(api, key, args, options) {
|
|
|
122
127
|
return api.call(TABLE[key], args, options);
|
|
123
128
|
}
|
|
124
129
|
|
|
125
|
-
export { call, currentFileSessionStatus, currentSessionStatus, deleteScenario, devLoginAs, exchangeSessionHandoff, getAppConfig, getCheck, getRunDetail, initiateOauth, listChecks, listMyOrganizations, listPublications, listRecentRuns, listScenarios, mandateCatalog, oauthCallback, onSignIn, publishDictionary, reportOauthIncident, runCheck, saveScenario, sendRefreshRequired, whoami };
|
|
130
|
+
export { call, currentFileSessionStatus, currentSessionStatus, deleteScenario, devLoginAs, exchangeSessionHandoff, getAppConfig, getCheck, getRunDetail, initiateOauth, listChecks, listMyOrganizations, listPublications, listRecentRuns, listScenarios, mandateCatalog, oauthCallback, onSignIn, openGuestSession, publishDictionary, reportOauthIncident, runCheck, saveScenario, sendRefreshRequired, whoami };
|
package/dist/publish.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDMJ3ZRN7_cjs = require('./chunk-DMJ3ZRN7.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
require('./chunk-5WJLKYH6.cjs');
|
|
6
6
|
|
|
@@ -127,19 +127,19 @@ function castPreviewEndpoint(api, args, options) {
|
|
|
127
127
|
}
|
|
128
128
|
var $generatePodcastEndpoint = { m: "POST", p: "/podcast/generate", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.generate_podcast_endpoint" };
|
|
129
129
|
function generatePodcastEndpoint(api, args, options) {
|
|
130
|
-
return
|
|
130
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $generatePodcastEndpoint, args, options);
|
|
131
131
|
}
|
|
132
132
|
var $resumePodcastEndpoint = { m: "POST", p: "/podcast/resume/{run_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.resume_podcast_endpoint" };
|
|
133
133
|
function resumePodcastEndpoint(api, args, options) {
|
|
134
|
-
return
|
|
134
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $resumePodcastEndpoint, args, options);
|
|
135
135
|
}
|
|
136
136
|
var $regenerateAsset = { m: "POST", p: "/podcast/runs/{run_id}/assets/regenerate", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.regenerate_asset" };
|
|
137
137
|
function regenerateAsset(api, args, options) {
|
|
138
|
-
return
|
|
138
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $regenerateAsset, args, options);
|
|
139
139
|
}
|
|
140
140
|
var $addAsset = { m: "POST", p: "/podcast/runs/{run_id}/assets/add", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.add_asset" };
|
|
141
141
|
function addAsset(api, args, options) {
|
|
142
|
-
return
|
|
142
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $addAsset, args, options);
|
|
143
143
|
}
|
|
144
144
|
var $reconcilePodcastRun = { m: "POST", p: "/podcast/runs/{run_id}/reconcile", d: "aidream", a: "guest", o: "required", n: "publish.reconcile_podcast_run" };
|
|
145
145
|
function reconcilePodcastRun(api, args, options) {
|
|
@@ -147,11 +147,11 @@ function reconcilePodcastRun(api, args, options) {
|
|
|
147
147
|
}
|
|
148
148
|
var $startRace = { m: "POST", p: "/podcast/races", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.start_race" };
|
|
149
149
|
function startRace(api, args, options) {
|
|
150
|
-
return
|
|
150
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $startRace, args, options);
|
|
151
151
|
}
|
|
152
152
|
var $rerunRaceArm = { m: "POST", p: "/podcast/races/{race_id}/arms/{arm}/rerun", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.rerun_race_arm" };
|
|
153
153
|
function rerunRaceArm(api, args, options) {
|
|
154
|
-
return
|
|
154
|
+
return chunkDMJ3ZRN7_cjs.openStream(api, $rerunRaceArm, args, options);
|
|
155
155
|
}
|
|
156
156
|
var $artifactContent = { m: "GET", p: "/artifacts/{artifact_id}/content", d: "matrx-local", a: "loopback_open", o: "exempt", n: "publish.artifact_content" };
|
|
157
157
|
function artifactContent(api, args, options) {
|
package/dist/publish.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DCyEAVSW.cjs';
|
|
2
2
|
import { JsonValue, ContextAnchor, Asset } from './schemas.cjs';
|
|
3
3
|
import './credentials.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AddAssetRequest */
|
package/dist/publish.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-BUb7OxrB.js';
|
|
2
2
|
import { JsonValue, ContextAnchor, Asset } from './schemas.js';
|
|
3
3
|
import './credentials.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AddAssetRequest */
|
package/dist/publish.js
CHANGED
package/dist/schemas.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
3
|
-
* CONTRACT_SHA256
|
|
3
|
+
* CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
|
|
4
4
|
*/
|
|
5
5
|
/** Every schema reached from more than one domain (120). Types only — importing this costs nothing at runtime. */
|
|
6
6
|
/** ActionNeeded */
|
package/dist/schemas.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
3
|
-
* CONTRACT_SHA256
|
|
3
|
+
* CONTRACT_SHA256 7a09c07daad8cd41c7ae301d9ce90aace006a8f2d3a21dde98885807e5881da5
|
|
4
4
|
*/
|
|
5
5
|
/** Every schema reached from more than one domain (120). Types only — importing this costs nothing at runtime. */
|
|
6
6
|
/** ActionNeeded */
|
package/dist/stream.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDMJ3ZRN7_cjs = require('./chunk-DMJ3ZRN7.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
require('./chunk-5WJLKYH6.cjs');
|
|
6
6
|
|
|
@@ -8,37 +8,37 @@ require('./chunk-5WJLKYH6.cjs');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "DEFAULT_MATRX_NDJSON_READ_AHEAD", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkDMJ3ZRN7_cjs.DEFAULT_MATRX_NDJSON_READ_AHEAD; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "createMatrxNdjsonFramer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkDMJ3ZRN7_cjs.createMatrxNdjsonFramer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "createMatrxSseFramer", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkDMJ3ZRN7_cjs.createMatrxSseFramer; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "normalizeMatrxStreamEnvelope", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkDMJ3ZRN7_cjs.normalizeMatrxStreamEnvelope; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "openJsonOrStream", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkDMJ3ZRN7_cjs.openJsonOrStream; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "openStream", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkDMJ3ZRN7_cjs.openStream; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "parseMatrxSseFrame", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkDMJ3ZRN7_cjs.parseMatrxSseFrame; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "readMatrxNdjsonStream", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkDMJ3ZRN7_cjs.readMatrxNdjsonStream; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "readMatrxSseStream", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkDMJ3ZRN7_cjs.readMatrxSseStream; }
|
|
44
44
|
});
|
package/dist/stream.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as ApiStream, q as DEFAULT_MATRX_NDJSON_READ_AHEAD, J as JsonOrStream, r as MatrxNdjsonFramer, s as MatrxNdjsonFramerOptions, b as MatrxNdjsonIssue, d as MatrxSseFrame, t as MatrxSseFramer, M as MatrxStreamEnvelope, c as MatrxStreamEnvelopeObservation, N as NdjsonEvent, R as ReadMatrxNdjsonOptions, u as ReadMatrxSseOptions, S as SseEvent, v as createMatrxNdjsonFramer, w as createMatrxSseFramer, x as normalizeMatrxStreamEnvelope, o as openJsonOrStream, p as openStream, y as parseMatrxSseFrame, z as readMatrxNdjsonStream, B as readMatrxSseStream } from './index-
|
|
1
|
+
export { a as ApiStream, q as DEFAULT_MATRX_NDJSON_READ_AHEAD, J as JsonOrStream, r as MatrxNdjsonFramer, s as MatrxNdjsonFramerOptions, b as MatrxNdjsonIssue, d as MatrxSseFrame, t as MatrxSseFramer, M as MatrxStreamEnvelope, c as MatrxStreamEnvelopeObservation, N as NdjsonEvent, R as ReadMatrxNdjsonOptions, u as ReadMatrxSseOptions, S as SseEvent, v as createMatrxNdjsonFramer, w as createMatrxSseFramer, x as normalizeMatrxStreamEnvelope, o as openJsonOrStream, p as openStream, y as parseMatrxSseFrame, z as readMatrxNdjsonStream, B as readMatrxSseStream } from './index-DCyEAVSW.cjs';
|
|
2
2
|
import './credentials.cjs';
|
package/dist/stream.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as ApiStream, q as DEFAULT_MATRX_NDJSON_READ_AHEAD, J as JsonOrStream, r as MatrxNdjsonFramer, s as MatrxNdjsonFramerOptions, b as MatrxNdjsonIssue, d as MatrxSseFrame, t as MatrxSseFramer, M as MatrxStreamEnvelope, c as MatrxStreamEnvelopeObservation, N as NdjsonEvent, R as ReadMatrxNdjsonOptions, u as ReadMatrxSseOptions, S as SseEvent, v as createMatrxNdjsonFramer, w as createMatrxSseFramer, x as normalizeMatrxStreamEnvelope, o as openJsonOrStream, p as openStream, y as parseMatrxSseFrame, z as readMatrxNdjsonStream, B as readMatrxSseStream } from './index-
|
|
1
|
+
export { a as ApiStream, q as DEFAULT_MATRX_NDJSON_READ_AHEAD, J as JsonOrStream, r as MatrxNdjsonFramer, s as MatrxNdjsonFramerOptions, b as MatrxNdjsonIssue, d as MatrxSseFrame, t as MatrxSseFramer, M as MatrxStreamEnvelope, c as MatrxStreamEnvelopeObservation, N as NdjsonEvent, R as ReadMatrxNdjsonOptions, u as ReadMatrxSseOptions, S as SseEvent, v as createMatrxNdjsonFramer, w as createMatrxSseFramer, x as normalizeMatrxStreamEnvelope, o as openJsonOrStream, p as openStream, y as parseMatrxSseFrame, z as readMatrxNdjsonStream, B as readMatrxSseStream } from './index-BUb7OxrB.js';
|
|
2
2
|
import './credentials.js';
|
package/dist/stream.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DEFAULT_MATRX_NDJSON_READ_AHEAD, createMatrxNdjsonFramer, createMatrxSseFramer, normalizeMatrxStreamEnvelope, openJsonOrStream, openStream, parseMatrxSseFrame, readMatrxNdjsonStream, readMatrxSseStream } from './chunk-
|
|
1
|
+
export { DEFAULT_MATRX_NDJSON_READ_AHEAD, createMatrxNdjsonFramer, createMatrxSseFramer, normalizeMatrxStreamEnvelope, openJsonOrStream, openStream, parseMatrxSseFrame, readMatrxNdjsonStream, readMatrxSseStream } from './chunk-6UOESA3L.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|
|
3
3
|
import './chunk-VTZKJMSY.js';
|