@miosa/sdk 2.0.5 → 2.0.7

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/dist/index.d.ts CHANGED
@@ -5194,6 +5194,259 @@ declare class Functions {
5194
5194
  invoke(functionId: string, params?: FunctionInvokeParams): Promise<Record<string, unknown>>;
5195
5195
  }
5196
5196
 
5197
+ interface MiosaErrorBody {
5198
+ error?: string | {
5199
+ code?: string;
5200
+ message?: string;
5201
+ details?: unknown;
5202
+ };
5203
+ message?: string;
5204
+ code?: string;
5205
+ detail?: string;
5206
+ details?: unknown;
5207
+ reason?: string;
5208
+ request_id?: string;
5209
+ }
5210
+ declare class MiosaError extends Error {
5211
+ readonly status: number;
5212
+ readonly code: string;
5213
+ readonly details: unknown;
5214
+ readonly requestId: string | undefined;
5215
+ constructor(message: string, status: number, code: string, details?: unknown, requestId?: string);
5216
+ static fromResponse(status: number, body: MiosaErrorBody, requestId?: string): MiosaError;
5217
+ }
5218
+ declare class AuthError extends MiosaError {
5219
+ constructor(message: string, status?: number, code?: string, details?: unknown, requestId?: string);
5220
+ }
5221
+ declare class NotFoundError extends MiosaError {
5222
+ constructor(message: string, code?: string, details?: unknown, requestId?: string);
5223
+ }
5224
+ declare class RateLimitError extends MiosaError {
5225
+ readonly retryAfter: number | undefined;
5226
+ constructor(message: string, details?: unknown, requestId?: string, retryAfter?: number);
5227
+ }
5228
+ declare class InsufficientCreditsError extends MiosaError {
5229
+ constructor(message: string, details?: unknown, requestId?: string);
5230
+ }
5231
+ declare class ValidationError extends MiosaError {
5232
+ constructor(message: string, status: number, code?: string, details?: unknown, requestId?: string);
5233
+ }
5234
+ declare class TimeoutError extends MiosaError {
5235
+ constructor(message?: string);
5236
+ }
5237
+ declare class NetworkError extends MiosaError {
5238
+ readonly cause: Error;
5239
+ constructor(message: string, cause: Error);
5240
+ }
5241
+ declare class ProjectNotLinkedError extends MiosaError {
5242
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
5243
+ }
5244
+ declare class SubjectNotAllowedError extends MiosaError {
5245
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
5246
+ }
5247
+ declare class ScopeNotAllowedError extends MiosaError {
5248
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
5249
+ }
5250
+ declare class ManagedProviderBindingOnlyError extends MiosaError {
5251
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
5252
+ }
5253
+ declare class InstallationRequiredError extends MiosaError {
5254
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
5255
+ }
5256
+ declare class UserAuthorizationRequiredError extends MiosaError {
5257
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
5258
+ }
5259
+ declare class EgressHostNotAllowedError extends MiosaError {
5260
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
5261
+ }
5262
+ declare class TokenRefreshFailedError extends MiosaError {
5263
+ constructor(message: string, status?: number, details?: unknown, requestId?: string);
5264
+ }
5265
+
5266
+ type ForgeRepositoryId = string & {
5267
+ readonly __brand: "ForgeRepositoryId";
5268
+ };
5269
+ type ForgeOrganizationId = string & {
5270
+ readonly __brand: "ForgeOrganizationId";
5271
+ };
5272
+ type ForgeRepositoryVisibility = "public" | "private" | "internal";
5273
+ type ForgeRepositoryState = "provisioning" | "active" | "error" | "deletion_pending" | "deleted";
5274
+ interface ForgeRepository {
5275
+ id: ForgeRepositoryId;
5276
+ name: string;
5277
+ slug: string;
5278
+ default_branch: string;
5279
+ visibility: ForgeRepositoryVisibility;
5280
+ state: ForgeRepositoryState;
5281
+ clone_ready: boolean;
5282
+ clone_url: string | null;
5283
+ project_ids: string[];
5284
+ created_at: string;
5285
+ updated_at: string;
5286
+ }
5287
+ interface ForgeRepositoryCreateParams {
5288
+ name: string;
5289
+ slug?: string;
5290
+ defaultBranch?: string;
5291
+ visibility?: ForgeRepositoryVisibility;
5292
+ projectIds?: string[];
5293
+ idempotencyKey?: string;
5294
+ }
5295
+ interface ForgeRepositoryUpdateParams {
5296
+ name?: string;
5297
+ slug?: string;
5298
+ visibility?: ForgeRepositoryVisibility;
5299
+ projectIds?: string[];
5300
+ }
5301
+ interface ForgeRepositoryDeleteOptions {
5302
+ /** Deprecated: delete is inherently replay-safe and accepts no key in v1. */
5303
+ idempotencyKey?: never;
5304
+ }
5305
+ interface ForgeCapabilities {
5306
+ api_version: "v1";
5307
+ ownership: "organization";
5308
+ detail_locator: "repository_id";
5309
+ lifecycle_states: ForgeRepositoryState[];
5310
+ visibility_values: ForgeRepositoryVisibility[];
5311
+ clone_ready_states: ["active"];
5312
+ base_url: string;
5313
+ features: Record<string, boolean>;
5314
+ }
5315
+ interface ForgeDeleteReceipt {
5316
+ operation_id: ForgeRepositoryId;
5317
+ replayed: boolean;
5318
+ }
5319
+ interface ForgeNamedRef {
5320
+ name: string;
5321
+ oid: string;
5322
+ }
5323
+ interface ForgeBranch extends ForgeNamedRef {
5324
+ is_default: boolean;
5325
+ }
5326
+ interface ForgeRepositoryRefs {
5327
+ default_branch: string;
5328
+ head_oid: string | null;
5329
+ branches: ForgeBranch[];
5330
+ tags: ForgeNamedRef[];
5331
+ }
5332
+ type ForgeTreeEntryType = "blob" | "tree";
5333
+ interface ForgeTreeEntry {
5334
+ name: string;
5335
+ path: string;
5336
+ type: ForgeTreeEntryType;
5337
+ oid: string;
5338
+ size: number | null;
5339
+ }
5340
+ interface ForgeRepositoryTree {
5341
+ ref: string;
5342
+ commit_oid: string;
5343
+ path: string;
5344
+ entries: ForgeTreeEntry[];
5345
+ truncated: boolean;
5346
+ }
5347
+ type ForgeBlobEncoding = "utf-8" | "base64";
5348
+ interface ForgeRepositoryBlob {
5349
+ ref: string;
5350
+ commit_oid: string;
5351
+ path: string;
5352
+ oid: string;
5353
+ size: number;
5354
+ encoding: ForgeBlobEncoding;
5355
+ content: string;
5356
+ }
5357
+ interface ForgeCommit {
5358
+ oid: string;
5359
+ short_oid: string;
5360
+ subject: string;
5361
+ author_name: string;
5362
+ author_email: string;
5363
+ authored_at: string;
5364
+ committer_name: string;
5365
+ committed_at: string;
5366
+ parents: string[];
5367
+ }
5368
+ interface ForgeCommitHistory {
5369
+ ref: string;
5370
+ path: string;
5371
+ commits: ForgeCommit[];
5372
+ page: {
5373
+ has_more: boolean;
5374
+ next_cursor: string | null;
5375
+ };
5376
+ }
5377
+ interface ForgeContentLocation {
5378
+ ref?: string;
5379
+ path?: string;
5380
+ }
5381
+ interface ForgeCommitQuery extends ForgeContentLocation {
5382
+ limit?: number;
5383
+ cursor?: string;
5384
+ }
5385
+ interface ForgeFileAuthoringParams {
5386
+ branch?: string;
5387
+ expectedHead: string;
5388
+ message?: string;
5389
+ content?: string;
5390
+ idempotencyKey?: string;
5391
+ }
5392
+ interface ForgeFileOperationReceipt {
5393
+ operation_id: string;
5394
+ repository_id: ForgeRepositoryId;
5395
+ branch: string;
5396
+ path: string;
5397
+ action: "create" | "update" | "delete";
5398
+ previous_head: string;
5399
+ new_head: string;
5400
+ commit: Omit<ForgeCommit, "parents"> & {
5401
+ committer_email: string;
5402
+ signature_status: "unsigned";
5403
+ };
5404
+ policy: {
5405
+ decision: "allowed";
5406
+ receipt_ids: string[];
5407
+ };
5408
+ replayed: boolean;
5409
+ }
5410
+ declare class ForgeContractError extends MiosaError {
5411
+ constructor(message: string, details?: unknown);
5412
+ }
5413
+ declare class ForgeUnavailableError extends MiosaError {
5414
+ constructor(message: string, cause: MiosaError);
5415
+ }
5416
+ declare class ForgeStorageError extends MiosaError {
5417
+ constructor(message: string, cause: MiosaError);
5418
+ }
5419
+ declare class ForgePolicyViolationError extends MiosaError {
5420
+ constructor(message: string, cause: MiosaError);
5421
+ }
5422
+ declare class ForgeRepositories {
5423
+ private readonly http;
5424
+ constructor(http: HttpClient);
5425
+ create(params: ForgeRepositoryCreateParams): Promise<ForgeRepository>;
5426
+ list(): Promise<ForgeRepository[]>;
5427
+ get(id: ForgeRepositoryId): Promise<ForgeRepository>;
5428
+ refs(id: ForgeRepositoryId): Promise<ForgeRepositoryRefs>;
5429
+ tree(id: ForgeRepositoryId, location?: ForgeContentLocation): Promise<ForgeRepositoryTree>;
5430
+ blob(id: ForgeRepositoryId, location: ForgeContentLocation & {
5431
+ path: string;
5432
+ }): Promise<ForgeRepositoryBlob>;
5433
+ readme(id: ForgeRepositoryId, location?: ForgeContentLocation): Promise<ForgeRepositoryBlob>;
5434
+ commits(id: ForgeRepositoryId, query?: ForgeCommitQuery): Promise<ForgeCommitHistory>;
5435
+ putFile(id: ForgeRepositoryId, path: string, params: ForgeFileAuthoringParams & {
5436
+ content: string;
5437
+ }): Promise<ForgeFileOperationReceipt>;
5438
+ deleteFile(id: ForgeRepositoryId, path: string, params: ForgeFileAuthoringParams): Promise<ForgeFileOperationReceipt>;
5439
+ private authorFile;
5440
+ update(id: ForgeRepositoryId, params: ForgeRepositoryUpdateParams): Promise<ForgeRepository>;
5441
+ delete(id: ForgeRepositoryId, _options?: ForgeRepositoryDeleteOptions): Promise<ForgeDeleteReceipt>;
5442
+ }
5443
+ declare class Forge {
5444
+ readonly repositories: ForgeRepositories;
5445
+ constructor(http: HttpClient);
5446
+ private readonly http;
5447
+ capabilities(): Promise<ForgeCapabilities>;
5448
+ }
5449
+
5197
5450
  /**
5198
5451
  * HealthChecks resource — uptime monitoring.
5199
5452
  */
@@ -7148,6 +7401,16 @@ declare class Sandbox {
7148
7401
  timeout?: number;
7149
7402
  stream?: boolean;
7150
7403
  }): Promise<boolean>;
7404
+ /**
7405
+ * Readiness answers from the server; `assertRunning` reads the local
7406
+ * snapshot. Leaving that snapshot behind meant a caller could await
7407
+ * `waitUntilReady()`, receive `true`, and have the very next call refused
7408
+ * for being "provisioning" — the sandbox was running the whole time, only
7409
+ * this object had not been told. Nothing here can fail the wait: readiness
7410
+ * has already answered, so a refresh that does not land is not the caller's
7411
+ * problem.
7412
+ */
7413
+ private adoptReadyState;
7151
7414
  /**
7152
7415
  * Returns `true` / `false` for terminal SSE events, or `null` if the
7153
7416
  * stream endpoint is unavailable (404 or transport error) so callers
@@ -8186,6 +8449,7 @@ declare class Miosa {
8186
8449
  readonly orgInvites: OrgInvites;
8187
8450
  /** Organizations available to the user session, membership, invites, and switching. */
8188
8451
  readonly organizations: Organizations;
8452
+ readonly forge: Forge;
8189
8453
  /** Current tenant plan, limits, and live usage counters. */
8190
8454
  readonly tenant: Tenant;
8191
8455
  /** Datacenter regions, compute sizes, pricing, community templates. */
@@ -8523,73 +8787,4 @@ declare class AppAuth {
8523
8787
  private _post;
8524
8788
  }
8525
8789
 
8526
- interface MiosaErrorBody {
8527
- error?: string | {
8528
- code?: string;
8529
- message?: string;
8530
- details?: unknown;
8531
- };
8532
- message?: string;
8533
- code?: string;
8534
- detail?: string;
8535
- details?: unknown;
8536
- reason?: string;
8537
- request_id?: string;
8538
- }
8539
- declare class MiosaError extends Error {
8540
- readonly status: number;
8541
- readonly code: string;
8542
- readonly details: unknown;
8543
- readonly requestId: string | undefined;
8544
- constructor(message: string, status: number, code: string, details?: unknown, requestId?: string);
8545
- static fromResponse(status: number, body: MiosaErrorBody, requestId?: string): MiosaError;
8546
- }
8547
- declare class AuthError extends MiosaError {
8548
- constructor(message: string, status?: number, code?: string, details?: unknown, requestId?: string);
8549
- }
8550
- declare class NotFoundError extends MiosaError {
8551
- constructor(message: string, code?: string, details?: unknown, requestId?: string);
8552
- }
8553
- declare class RateLimitError extends MiosaError {
8554
- readonly retryAfter: number | undefined;
8555
- constructor(message: string, details?: unknown, requestId?: string, retryAfter?: number);
8556
- }
8557
- declare class InsufficientCreditsError extends MiosaError {
8558
- constructor(message: string, details?: unknown, requestId?: string);
8559
- }
8560
- declare class ValidationError extends MiosaError {
8561
- constructor(message: string, status: number, code?: string, details?: unknown, requestId?: string);
8562
- }
8563
- declare class TimeoutError extends MiosaError {
8564
- constructor(message?: string);
8565
- }
8566
- declare class NetworkError extends MiosaError {
8567
- readonly cause: Error;
8568
- constructor(message: string, cause: Error);
8569
- }
8570
- declare class ProjectNotLinkedError extends MiosaError {
8571
- constructor(message: string, status?: number, details?: unknown, requestId?: string);
8572
- }
8573
- declare class SubjectNotAllowedError extends MiosaError {
8574
- constructor(message: string, status?: number, details?: unknown, requestId?: string);
8575
- }
8576
- declare class ScopeNotAllowedError extends MiosaError {
8577
- constructor(message: string, status?: number, details?: unknown, requestId?: string);
8578
- }
8579
- declare class ManagedProviderBindingOnlyError extends MiosaError {
8580
- constructor(message: string, status?: number, details?: unknown, requestId?: string);
8581
- }
8582
- declare class InstallationRequiredError extends MiosaError {
8583
- constructor(message: string, status?: number, details?: unknown, requestId?: string);
8584
- }
8585
- declare class UserAuthorizationRequiredError extends MiosaError {
8586
- constructor(message: string, status?: number, details?: unknown, requestId?: string);
8587
- }
8588
- declare class EgressHostNotAllowedError extends MiosaError {
8589
- constructor(message: string, status?: number, details?: unknown, requestId?: string);
8590
- }
8591
- declare class TokenRefreshFailedError extends MiosaError {
8592
- constructor(message: string, status?: number, details?: unknown, requestId?: string);
8593
- }
8594
-
8595
- export { AGENT_BUILD_KIND_SPECS, type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentBuildExecutionPacket, type AgentBuildFileSpec, type AgentBuildKind, type AgentBuildKindSpec, type AgentBuildPlannerDocument, type AgentDefinitionCreateParams, type AgentDefinitionData, type AgentDefinitionListParams, type AgentDefinitionUpdateParams, AgentDefinitions, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, AgentRuntimeProfiles, type AgentSessionCreateParams, type AgentSessionData, type AgentSessionListResponse$1 as AgentSessionListResponse, type AgentSessionStatus$1 as AgentSessionStatus, type AgentVersionData, type AllowParams, Analytics, type AnalyticsFilters, type ApiKeyCreateParams, type ApiKeyCreateResult, type ApiKeyData, type ApiKeyId, type ApiKeyListParams, ApiKeys, type AppActionDecision, AppAuth, type AppAuthConfig, type AppAuthResourceType, type AppAuthSession, type AppAuthTokenPayload, type AppAutomationRun, type AppCatalogEntry, type AppCollectionRecord, type AppDocument, type AppDocumentCreateParams, type AppDocumentDiagnostics, type AppDocumentRecord, type AppDocumentUpdateParams, AppDocuments, type AppInstallData, type AppInstallEvent, type AppJson, type AppReleaseApproval, type AppReleaseCandidate, type AttachAwsRoleParams, type AuditListParams, AuditLog, type AuditLogEvent, type AuditLogListParams, type AuditTailParams, AuthError, type AuthToken, type BenchmarkCompareParams, type BenchmarkCreateParams, Benchmarks, type BindingCreateParams, type BindingListParams, type BrandingData, type BrandingUpdateParams, type BucketCreateParams, type BucketData, type BucketId, type BuilderSessionListParams, BuilderSessions, type BulkUserActionParams, type ChannelCreateParams, type ChannelData, type ChannelListParams, type ChannelUpdateParams, Channels, type ChatCompletionCreateParams, type ChatCompletionCreateStreamParams, Checkpoints, type ClickParams, Cloud, type CloudAccount, type CloudAccountCreateParams, type CloudAccountMode, type CloudAccountStatus, type CloudCredentialType, type CloudListParams, type CloudPlacementScope, type CloudPool, type CloudPoolCreateParams, type CloudPoolKind, type CloudPreflightRecordParams, type CloudPreflightRun, type CloudPreflightStatus, type CloudProvider, type CloudRegion, type CloudRegionCreateParams, type ClusterCreateParams, type ClusterData, type ClusterEvent, type ClusterId, type ClusterListResponse, type ClusterStatus, CommandCenter, Community, type CompletionCreateParams, type CompletionCreateStreamParams, Completions, type ComputeProduct, Computer, ComputerAudit, ComputerAutoStop, ComputerConnectors, type ComputerCreateParams, type ComputerData, ComputerEnv, type ComputerId, ComputerInbox, type ComputerListParams, type ComputerListResponse, ComputerLogs, type ComputerLogsGetParams, ComputerNetwork, ComputerOsa, ComputerPorts, ComputerSecrets, type ComputerSize, type ComputerStatus, type ComputerTemplateType, ComputerTerminal, type ComputerUpdateParams, type ComputerVisibility, ComputerVolumes, Computers, type ConnectorApplicableDefaultParams, type ConnectorCreateParams, type ConnectorData, type ConnectorDefault, type ConnectorDefaultListParams, type ConnectorDefaultParams, type ConnectorListParams, type ConnectorSubject, type ConnectorTokenParams, type ConnectorTokenResponse, Connectors, type CopyParams, type CreateAdminApiKeyParams, type CreateAgentBuildPacketParams, type CreateBuildRunParams, type CreateOrgInviteParams, type CreateWorkspaceInviteParams, type CreateWorkspaceInviteResponse, type CreditBalance, type CreditTransaction, type CreditTransactionListResponse, type CreditUsage, Credits, type CronJobCreateParams, type CronJobData, type CronJobExecutionData, type CronJobExecutionId, type CronJobId, type CronJobListParams, type CronJobUpdateParams, CronJobs, type CursorInfo, type CustomDomainCreateParams, type CustomDomainData, type CustomDomainId, type CustomDomainListParams, DEFAULT_AGENT_BUILD_OUTPUT_ROOT, DEFAULT_AGENT_BUILD_PACKET_VERSION, Dashboard, type DashboardSummary, type DatabaseCreateParams, type DatabaseCredentials, type DatabaseData, type DatabaseId, type DatabaseListParams, type DatabaseLogsParams, type DatabaseLogsResult, Databases, type DeploymentBuildData, DeploymentConnectors, type DeploymentCreateParams, type DeploymentData, DeploymentDomains, type DeploymentId, type DeploymentListParams, type DeploymentProduct, type DeploymentProofCheck, type DeploymentProofParams, type DeploymentProofProbe, type DeploymentProofResult, type DeploymentReleaseData, type DeploymentReleaseId, DeploymentReleases, DeploymentRuntimeInstances, type DeploymentServiceData, type DeploymentServiceId, type DeploymentServiceType, type DeploymentSourceType, type DeploymentState, type DeploymentUpdateParams, type DeploymentVersionData, type DeploymentVersionId, type DeploymentVersionKind, type DeploymentVersionState, DeploymentVersions, Deployments, Desktop$1 as Desktop, type DesktopActionResult, type DeviceBootstrapParams, type DeviceBootstrapResult, type DeviceBrowserResult, type DeviceCapabilities, type DeviceData, type DeviceExecParams, type DeviceExecResult, type DeviceExposeParams, type DeviceExposeResult, type DeviceExtendParams, type DeviceFileEntry, type DeviceFileListParams, type DeviceKind, type DeviceLifecycleResult, type DeviceListParams, type DeviceReadFileParams, type DeviceReadFileResult, type DeviceWriteFileParams, type DeviceWriteFileResult, Devices, type DirEntry, type DirListResult, type DiscordSendTestParams, DockerDeploy, type DockerDeployApplianceStatus, type DockerDeployCreateParams, type DockerDeployDoctorCheck, type DockerDeployDoctorParams, type DockerDeployDoctorProbe, type DockerDeployDoctorResult, type DockerDeployHostData, type DockerDeployHostEnsureParams, type DockerDeployHostId, type DockerDeployHostListParams, type DockerDeployHostListResponse, type DockerDeployHostResponse, type DockerDeployHostStatus, type DoubleClickParams, type DragParams, type EgressAllowlistRule, EgressAudit, type EgressAuditEvent, type EgressBindingData, EgressHostNotAllowedError, EgressNetwork, type EgressPolicyData, type EgressPolicyMode, type EgressRuleEffect, type EgressSecretData, type EgressSecretScope, type EgressSecretType, EgressSecrets, type EgressSuggestion, Email, EmailCampaigns, EmailInbox, EmailTemplates, type EmbeddingCreateParams, Embeddings, Exec, type ExecParams, type ExecPythonParams, type ExecResult, type ExternalAttribution, type ExternalKeyCreateParams, type ExternalKeyData, ExternalKeys, type FileDeleteParams, type FileDownloadParams, type FileEntry, type FileExportParams, type FileExportResult, type FileListParams, type FileListResult, type FileStat, Files, FlatCustomDomains, type FsEntry, type FsListResponse, type FsStat, type FunctionCreateParams, type FunctionData, type FunctionId, type FunctionInvokeParams, type FunctionListParams, type FunctionUpdateParams, Functions, type GithubRepo, type GithubSshKey, type HealthCheckCreateParams, type HealthCheckData, type HealthCheckId, type HealthCheckListParams, type HealthCheckUpdateParams, HealthChecks, type HostCreateParams, type HostData, type HostEvent, type HostId, type HostListResponse, type HostStatus, type HostUpdateParams, InstallationRequiredError, InsufficientCreditsError, type IntegrationCatalogEntry, type IntegrationData, Integrations, type JobData, type JobEvent, type JobEventType, type JobId, type JobListResponse, type JobRunParams, type JobStatus, type KeyParams, type LaunchParams, type LinearCreateIssueParams, type ListAdminApiKeysParams, type ListAdminComputersParams, type ListAdminTenantsParams, type ListAdminUsersParams, ManagedProviderBindingOnlyError, Mcp, type McpDispatchParams, Miosa, type MiosaClientConfig, MiosaError, type MiosaErrorBody, type MkdirParams, type ModeParams, Models, type MouseButton, NetworkError, NetworkPolicy, type NetworkPolicyData, type NetworkPolicyEffect, type NetworkPolicyProtocol, type NetworkPolicyRule, type NetworkPolicySetParams, NotFoundError, type NotificationPrefsUpdateParams, OAuthFlow, type OauthConnectParams, type OauthProvider, type OauthStartResult, type OauthStatusResult, type ObjectListParams, type AgentEvent as OcAgentEvent, type OcAgentSessionData, type AgentSessionListResponse as OcAgentSessionListResponse, type OcWorkspaceCreateParams, type OcWorkspaceData, type OcWorkspaceEvent, type OcWorkspaceListResponse, type OcWorkspaceStatus, type OcWorkspaceUpdateParams, OpenComputers, type OrgInvite, type OrgInviteCreated, type OrgInviteCreatedResponse, type OrgInviteListResponse, type OrgInvitePreview, type OrgInviteRevokeResponse, OrgInvites, type OrgRole, type OrganizationMember, type OrganizationMemberList, type OrganizationMemberRemoved, OrganizationMembers, type OrganizationRole, type OrganizationSummary, type OrganizationSwitchResult, Organizations, type OverviewData, type PolicyCreateParams, type PolicyListParams, type PolicyUpdateParams, type PresignParams, type PresignResult, type PreviewDomainData, type ProductCatalogEntry, type ProductTemplate, type ProductTemplateCatalog, ProjectAuth, type ProjectAuthEnableParams, type ProjectAuthStatus, type ProjectAuthUpdateParams, type ProjectIntegrationCatalogEntry, type ProjectIntegrationCreateParams, type ProjectIntegrationData, type ProjectIntegrationListParams, type ProjectIntegrationUpdateParams, ProjectIntegrations, ProjectNotLinkedError, ProviderDefaults, type ProviderKeyUpsertParams, type PublishFromSandboxParams, type PublishParams, type PublishResult, RateLimitError, type RegionData, Regions, type RollbackParams, type RulesListParams, type Run, type RunActivity, type RunCommandOutput, type RunCreateParams, type RunDiagnostic, type RunDownload, type RunFile, type RunGroup, type RunGroupActivity, type RunGroupCounts, type RunGroupCreateParams, type RunGroupDispatchEntry, type RunGroupDispatchResult, type RunGroupFile, type RunGroupListParams, type RunGroupStatus, type RunGroupWaitOptions, RunGroups, type RunListParams, type RunMessage, type RunOutputs, type RunPreview, type RunStatus, type RunTargetKind, type RunWaitOptions, Runs, type RuntimeCapabilities, RuntimeCapabilitiesResource, RuntimeEnv, type RuntimeEnvListParams, type RuntimeEnvScope, type RuntimeEnvSetParams, type RuntimeEnvTarget, type RuntimeEnvVar, type RuntimeInstanceData, type RuntimeInstanceId, type RuntimeInstanceState, type RuntimeLogsResult, SANDBOX_TEMPLATE, Sandbox, SandboxAudit, type SandboxBuildSpec, type SandboxBuildSpecError, type SandboxBuildSpecValidation, SandboxCommands, type SandboxConnectorAttachParams, type SandboxConnectorBinding, type SandboxConnectorPreflightParams, type SandboxConnectorPreflightResult, SandboxConnectors, type SandboxCreateParams, type SandboxData, SandboxEnv, SandboxEvents, type SandboxExecEvent, type SandboxExecOptions, type SandboxExecResult, type SandboxExecRunner, SandboxFiles, type SandboxGetOrCreateParams, type SandboxId, type SandboxListParams, SandboxNetwork, SandboxPreview, SandboxPreviews, SandboxSecrets, type SandboxState, SandboxTags, type SandboxTemplate, type SandboxTemplateBuild, type SandboxTemplateBuildCreateParams, type SandboxTemplateBuildResourceData, type SandboxTemplateBuildResourceId, type SandboxTemplateCreateParams, type SandboxTemplateList, type SandboxTemplateListParams, type SandboxTemplateResourceData, type SandboxTemplateResourceId, SandboxTemplates, SandboxTerminal, Sandboxes, ScopeNotAllowedError, ScopedFs, type ScrollDirection, type ScrollParams, type SecretCreateParams, type SecretData, type SecretId, type SecretListParams, type SecretRotateParams, type SecretSetParams, type SecretUpdateParams, type SessionId, Settings, type SettingsUpdateParams, type SizeData, type SlackSendTestParams, type SnapshotCreateParams, type SnapshotData, type SnapshotListResponse, type SnapshotProgressEvent, type SnapshotRestoreResult, type SnapshotStatus, SnapshotsStandalone, Storage, type StorageObjectData, SubjectNotAllowedError, type SuggestionsParams, type TemplateBenchmarkLane, type TemplateBuildCreateParams, type TemplateCreateParams, type TemplateData, type TemplateReadinessContract, type TemplateReadinessState, type TemplateSizeReadiness, Templates, type TemplatesListParams, Tenant, type TenantBrandingUpdateParams, type TenantId, type TenantPlan, type TenantSummary, type TerminalCreateParams, TimeoutError, type TimeseriesParams, TokenRefreshFailedError, type TunnelAuthMode, type TunnelCreateParams, type TunnelData, type TunnelId, type TunnelListResponse, type TunnelUpdateParams, type TypeParams, type UpdateWorkspaceMemberRoleParams, Usage, type UsageReportParams, type UsageSession, type UsageSessionsParams, type UsageSummary, UserAuthorizationRequiredError, type UserId, ValidationError, type VersionListParams, type VolumeAttachParams, type VolumeAttachmentData, type VolumeCreateParams, type VolumeData, type VolumeId, type VolumeListParams, Volumes, type WaitParams, type WebhookCreateParams, type WebhookData, type WebhookDeliveryData, type WebhookDeliveryId, type WebhookId, type WebhookListParams, type WebhookUpdateParams, Webhooks, type WindowFocusParams, type WindowInfo, type WorkspaceId, type WorkspaceInvite, type WorkspaceInviteCreatedResponse, type WorkspaceInviteListResponse, type WorkspaceInvitePreview, type WorkspaceInviteRevokeResponse, WorkspaceInvites, type WorkspaceMember, type WorkspaceMemberAddedResponse, type WorkspaceMemberDeleteResponse, type WorkspaceMemberListResponse, type WorkspaceMemberRecord, type WorkspaceMemberRecordResponse, WorkspaceMembers, type WorkspaceRole, type WsTicket, createAgentBuildExecutionPacket, createAgentBuildExpectedOutputs, createAgentBuildPrompt, createBuildRunParams, getAgentBuildKindSpec, resolveAgentBuildKind, verifySignature };
8790
+ export { AGENT_BUILD_KIND_SPECS, type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentBuildExecutionPacket, type AgentBuildFileSpec, type AgentBuildKind, type AgentBuildKindSpec, type AgentBuildPlannerDocument, type AgentDefinitionCreateParams, type AgentDefinitionData, type AgentDefinitionListParams, type AgentDefinitionUpdateParams, AgentDefinitions, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, AgentRuntimeProfiles, type AgentSessionCreateParams, type AgentSessionData, type AgentSessionListResponse$1 as AgentSessionListResponse, type AgentSessionStatus$1 as AgentSessionStatus, type AgentVersionData, type AllowParams, Analytics, type AnalyticsFilters, type ApiKeyCreateParams, type ApiKeyCreateResult, type ApiKeyData, type ApiKeyId, type ApiKeyListParams, ApiKeys, type AppActionDecision, AppAuth, type AppAuthConfig, type AppAuthResourceType, type AppAuthSession, type AppAuthTokenPayload, type AppAutomationRun, type AppCatalogEntry, type AppCollectionRecord, type AppDocument, type AppDocumentCreateParams, type AppDocumentDiagnostics, type AppDocumentRecord, type AppDocumentUpdateParams, AppDocuments, type AppInstallData, type AppInstallEvent, type AppJson, type AppReleaseApproval, type AppReleaseCandidate, type AttachAwsRoleParams, type AuditListParams, AuditLog, type AuditLogEvent, type AuditLogListParams, type AuditTailParams, AuthError, type AuthToken, type BenchmarkCompareParams, type BenchmarkCreateParams, Benchmarks, type BindingCreateParams, type BindingListParams, type BrandingData, type BrandingUpdateParams, type BucketCreateParams, type BucketData, type BucketId, type BuilderSessionListParams, BuilderSessions, type BulkUserActionParams, type ChannelCreateParams, type ChannelData, type ChannelListParams, type ChannelUpdateParams, Channels, type ChatCompletionCreateParams, type ChatCompletionCreateStreamParams, Checkpoints, type ClickParams, Cloud, type CloudAccount, type CloudAccountCreateParams, type CloudAccountMode, type CloudAccountStatus, type CloudCredentialType, type CloudListParams, type CloudPlacementScope, type CloudPool, type CloudPoolCreateParams, type CloudPoolKind, type CloudPreflightRecordParams, type CloudPreflightRun, type CloudPreflightStatus, type CloudProvider, type CloudRegion, type CloudRegionCreateParams, type ClusterCreateParams, type ClusterData, type ClusterEvent, type ClusterId, type ClusterListResponse, type ClusterStatus, CommandCenter, Community, type CompletionCreateParams, type CompletionCreateStreamParams, Completions, type ComputeProduct, Computer, ComputerAudit, ComputerAutoStop, ComputerConnectors, type ComputerCreateParams, type ComputerData, ComputerEnv, type ComputerId, ComputerInbox, type ComputerListParams, type ComputerListResponse, ComputerLogs, type ComputerLogsGetParams, ComputerNetwork, ComputerOsa, ComputerPorts, ComputerSecrets, type ComputerSize, type ComputerStatus, type ComputerTemplateType, ComputerTerminal, type ComputerUpdateParams, type ComputerVisibility, ComputerVolumes, Computers, type ConnectorApplicableDefaultParams, type ConnectorCreateParams, type ConnectorData, type ConnectorDefault, type ConnectorDefaultListParams, type ConnectorDefaultParams, type ConnectorListParams, type ConnectorSubject, type ConnectorTokenParams, type ConnectorTokenResponse, Connectors, type CopyParams, type CreateAdminApiKeyParams, type CreateAgentBuildPacketParams, type CreateBuildRunParams, type CreateOrgInviteParams, type CreateWorkspaceInviteParams, type CreateWorkspaceInviteResponse, type CreditBalance, type CreditTransaction, type CreditTransactionListResponse, type CreditUsage, Credits, type CronJobCreateParams, type CronJobData, type CronJobExecutionData, type CronJobExecutionId, type CronJobId, type CronJobListParams, type CronJobUpdateParams, CronJobs, type CursorInfo, type CustomDomainCreateParams, type CustomDomainData, type CustomDomainId, type CustomDomainListParams, DEFAULT_AGENT_BUILD_OUTPUT_ROOT, DEFAULT_AGENT_BUILD_PACKET_VERSION, Dashboard, type DashboardSummary, type DatabaseCreateParams, type DatabaseCredentials, type DatabaseData, type DatabaseId, type DatabaseListParams, type DatabaseLogsParams, type DatabaseLogsResult, Databases, type DeploymentBuildData, DeploymentConnectors, type DeploymentCreateParams, type DeploymentData, DeploymentDomains, type DeploymentId, type DeploymentListParams, type DeploymentProduct, type DeploymentProofCheck, type DeploymentProofParams, type DeploymentProofProbe, type DeploymentProofResult, type DeploymentReleaseData, type DeploymentReleaseId, DeploymentReleases, DeploymentRuntimeInstances, type DeploymentServiceData, type DeploymentServiceId, type DeploymentServiceType, type DeploymentSourceType, type DeploymentState, type DeploymentUpdateParams, type DeploymentVersionData, type DeploymentVersionId, type DeploymentVersionKind, type DeploymentVersionState, DeploymentVersions, Deployments, Desktop$1 as Desktop, type DesktopActionResult, type DeviceBootstrapParams, type DeviceBootstrapResult, type DeviceBrowserResult, type DeviceCapabilities, type DeviceData, type DeviceExecParams, type DeviceExecResult, type DeviceExposeParams, type DeviceExposeResult, type DeviceExtendParams, type DeviceFileEntry, type DeviceFileListParams, type DeviceKind, type DeviceLifecycleResult, type DeviceListParams, type DeviceReadFileParams, type DeviceReadFileResult, type DeviceWriteFileParams, type DeviceWriteFileResult, Devices, type DirEntry, type DirListResult, type DiscordSendTestParams, DockerDeploy, type DockerDeployApplianceStatus, type DockerDeployCreateParams, type DockerDeployDoctorCheck, type DockerDeployDoctorParams, type DockerDeployDoctorProbe, type DockerDeployDoctorResult, type DockerDeployHostData, type DockerDeployHostEnsureParams, type DockerDeployHostId, type DockerDeployHostListParams, type DockerDeployHostListResponse, type DockerDeployHostResponse, type DockerDeployHostStatus, type DoubleClickParams, type DragParams, type EgressAllowlistRule, EgressAudit, type EgressAuditEvent, type EgressBindingData, EgressHostNotAllowedError, EgressNetwork, type EgressPolicyData, type EgressPolicyMode, type EgressRuleEffect, type EgressSecretData, type EgressSecretScope, type EgressSecretType, EgressSecrets, type EgressSuggestion, Email, EmailCampaigns, EmailInbox, EmailTemplates, type EmbeddingCreateParams, Embeddings, Exec, type ExecParams, type ExecPythonParams, type ExecResult, type ExternalAttribution, type ExternalKeyCreateParams, type ExternalKeyData, ExternalKeys, type FileDeleteParams, type FileDownloadParams, type FileEntry, type FileExportParams, type FileExportResult, type FileListParams, type FileListResult, type FileStat, Files, FlatCustomDomains, Forge, ForgeContractError, type ForgeDeleteReceipt, type ForgeOrganizationId, ForgePolicyViolationError, ForgeRepositories, type ForgeRepository, type ForgeRepositoryCreateParams, type ForgeRepositoryDeleteOptions, type ForgeRepositoryId, type ForgeRepositoryState, type ForgeRepositoryUpdateParams, type ForgeRepositoryVisibility, ForgeStorageError, ForgeUnavailableError, type FsEntry, type FsListResponse, type FsStat, type FunctionCreateParams, type FunctionData, type FunctionId, type FunctionInvokeParams, type FunctionListParams, type FunctionUpdateParams, Functions, type GithubRepo, type GithubSshKey, type HealthCheckCreateParams, type HealthCheckData, type HealthCheckId, type HealthCheckListParams, type HealthCheckUpdateParams, HealthChecks, type HostCreateParams, type HostData, type HostEvent, type HostId, type HostListResponse, type HostStatus, type HostUpdateParams, InstallationRequiredError, InsufficientCreditsError, type IntegrationCatalogEntry, type IntegrationData, Integrations, type JobData, type JobEvent, type JobEventType, type JobId, type JobListResponse, type JobRunParams, type JobStatus, type KeyParams, type LaunchParams, type LinearCreateIssueParams, type ListAdminApiKeysParams, type ListAdminComputersParams, type ListAdminTenantsParams, type ListAdminUsersParams, ManagedProviderBindingOnlyError, Mcp, type McpDispatchParams, Miosa, type MiosaClientConfig, MiosaError, type MiosaErrorBody, type MkdirParams, type ModeParams, Models, type MouseButton, NetworkError, NetworkPolicy, type NetworkPolicyData, type NetworkPolicyEffect, type NetworkPolicyProtocol, type NetworkPolicyRule, type NetworkPolicySetParams, NotFoundError, type NotificationPrefsUpdateParams, OAuthFlow, type OauthConnectParams, type OauthProvider, type OauthStartResult, type OauthStatusResult, type ObjectListParams, type AgentEvent as OcAgentEvent, type OcAgentSessionData, type AgentSessionListResponse as OcAgentSessionListResponse, type OcWorkspaceCreateParams, type OcWorkspaceData, type OcWorkspaceEvent, type OcWorkspaceListResponse, type OcWorkspaceStatus, type OcWorkspaceUpdateParams, OpenComputers, type OrgInvite, type OrgInviteCreated, type OrgInviteCreatedResponse, type OrgInviteListResponse, type OrgInvitePreview, type OrgInviteRevokeResponse, OrgInvites, type OrgRole, type OrganizationMember, type OrganizationMemberList, type OrganizationMemberRemoved, OrganizationMembers, type OrganizationRole, type OrganizationSummary, type OrganizationSwitchResult, Organizations, type OverviewData, type PolicyCreateParams, type PolicyListParams, type PolicyUpdateParams, type PresignParams, type PresignResult, type PreviewDomainData, type ProductCatalogEntry, type ProductTemplate, type ProductTemplateCatalog, ProjectAuth, type ProjectAuthEnableParams, type ProjectAuthStatus, type ProjectAuthUpdateParams, type ProjectIntegrationCatalogEntry, type ProjectIntegrationCreateParams, type ProjectIntegrationData, type ProjectIntegrationListParams, type ProjectIntegrationUpdateParams, ProjectIntegrations, ProjectNotLinkedError, ProviderDefaults, type ProviderKeyUpsertParams, type PublishFromSandboxParams, type PublishParams, type PublishResult, RateLimitError, type RegionData, Regions, type RollbackParams, type RulesListParams, type Run, type RunActivity, type RunCommandOutput, type RunCreateParams, type RunDiagnostic, type RunDownload, type RunFile, type RunGroup, type RunGroupActivity, type RunGroupCounts, type RunGroupCreateParams, type RunGroupDispatchEntry, type RunGroupDispatchResult, type RunGroupFile, type RunGroupListParams, type RunGroupStatus, type RunGroupWaitOptions, RunGroups, type RunListParams, type RunMessage, type RunOutputs, type RunPreview, type RunStatus, type RunTargetKind, type RunWaitOptions, Runs, type RuntimeCapabilities, RuntimeCapabilitiesResource, RuntimeEnv, type RuntimeEnvListParams, type RuntimeEnvScope, type RuntimeEnvSetParams, type RuntimeEnvTarget, type RuntimeEnvVar, type RuntimeInstanceData, type RuntimeInstanceId, type RuntimeInstanceState, type RuntimeLogsResult, SANDBOX_TEMPLATE, Sandbox, SandboxAudit, type SandboxBuildSpec, type SandboxBuildSpecError, type SandboxBuildSpecValidation, SandboxCommands, type SandboxConnectorAttachParams, type SandboxConnectorBinding, type SandboxConnectorPreflightParams, type SandboxConnectorPreflightResult, SandboxConnectors, type SandboxCreateParams, type SandboxData, SandboxEnv, SandboxEvents, type SandboxExecEvent, type SandboxExecOptions, type SandboxExecResult, type SandboxExecRunner, SandboxFiles, type SandboxGetOrCreateParams, type SandboxId, type SandboxListParams, SandboxNetwork, SandboxPreview, SandboxPreviews, SandboxSecrets, type SandboxState, SandboxTags, type SandboxTemplate, type SandboxTemplateBuild, type SandboxTemplateBuildCreateParams, type SandboxTemplateBuildResourceData, type SandboxTemplateBuildResourceId, type SandboxTemplateCreateParams, type SandboxTemplateList, type SandboxTemplateListParams, type SandboxTemplateResourceData, type SandboxTemplateResourceId, SandboxTemplates, SandboxTerminal, Sandboxes, ScopeNotAllowedError, ScopedFs, type ScrollDirection, type ScrollParams, type SecretCreateParams, type SecretData, type SecretId, type SecretListParams, type SecretRotateParams, type SecretSetParams, type SecretUpdateParams, type SessionId, Settings, type SettingsUpdateParams, type SizeData, type SlackSendTestParams, type SnapshotCreateParams, type SnapshotData, type SnapshotListResponse, type SnapshotProgressEvent, type SnapshotRestoreResult, type SnapshotStatus, SnapshotsStandalone, Storage, type StorageObjectData, SubjectNotAllowedError, type SuggestionsParams, type TemplateBenchmarkLane, type TemplateBuildCreateParams, type TemplateCreateParams, type TemplateData, type TemplateReadinessContract, type TemplateReadinessState, type TemplateSizeReadiness, Templates, type TemplatesListParams, Tenant, type TenantBrandingUpdateParams, type TenantId, type TenantPlan, type TenantSummary, type TerminalCreateParams, TimeoutError, type TimeseriesParams, TokenRefreshFailedError, type TunnelAuthMode, type TunnelCreateParams, type TunnelData, type TunnelId, type TunnelListResponse, type TunnelUpdateParams, type TypeParams, type UpdateWorkspaceMemberRoleParams, Usage, type UsageReportParams, type UsageSession, type UsageSessionsParams, type UsageSummary, UserAuthorizationRequiredError, type UserId, ValidationError, type VersionListParams, type VolumeAttachParams, type VolumeAttachmentData, type VolumeCreateParams, type VolumeData, type VolumeId, type VolumeListParams, Volumes, type WaitParams, type WebhookCreateParams, type WebhookData, type WebhookDeliveryData, type WebhookDeliveryId, type WebhookId, type WebhookListParams, type WebhookUpdateParams, Webhooks, type WindowFocusParams, type WindowInfo, type WorkspaceId, type WorkspaceInvite, type WorkspaceInviteCreatedResponse, type WorkspaceInviteListResponse, type WorkspaceInvitePreview, type WorkspaceInviteRevokeResponse, WorkspaceInvites, type WorkspaceMember, type WorkspaceMemberAddedResponse, type WorkspaceMemberDeleteResponse, type WorkspaceMemberListResponse, type WorkspaceMemberRecord, type WorkspaceMemberRecordResponse, WorkspaceMembers, type WorkspaceRole, type WsTicket, createAgentBuildExecutionPacket, createAgentBuildExpectedOutputs, createAgentBuildPrompt, createBuildRunParams, getAgentBuildKindSpec, resolveAgentBuildKind, verifySignature };