@miosa/sdk 1.2.25 → 1.2.27

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
@@ -253,6 +253,19 @@ interface AgentRunCreateParams {
253
253
  timeout?: number;
254
254
  wait?: boolean;
255
255
  env?: Record<string, string>;
256
+ /** Claude Code: `--output-format`, e.g. "json" or "stream-json". */
257
+ outputFormat?: "text" | "json" | "stream-json" | string;
258
+ output_format?: "text" | "json" | "stream-json" | string;
259
+ /** Claude Code: `--resume <session_id>`. */
260
+ resumeSessionId?: string;
261
+ resume_session_id?: string;
262
+ /** Codex: pass `--json` for JSONL event output. */
263
+ json?: boolean;
264
+ /** Codex: path to a JSON Schema file inside the runtime. */
265
+ outputSchema?: string;
266
+ output_schema?: string;
267
+ /** Codex: path to an image file inside the runtime. */
268
+ image?: string;
256
269
  agentRuntimeProfileId?: string;
257
270
  agentProfileId?: string;
258
271
  agentRunGroupId?: string;
@@ -2339,12 +2352,24 @@ declare class Desktop$1 {
2339
2352
  screenshot(): Promise<Uint8Array>;
2340
2353
  /** Click at the given coordinates. */
2341
2354
  click(x: number, y: number, button?: ClickParams["button"]): Promise<DesktopActionResult>;
2355
+ /** Explicit left-button click. Alias for click(x, y, "left"). */
2356
+ leftClick(x: number, y: number): Promise<DesktopActionResult>;
2357
+ /** Right-button click. Alias for click(x, y, "right"). */
2358
+ rightClick(x: number, y: number): Promise<DesktopActionResult>;
2359
+ /** Middle-button click. Alias for click(x, y, "middle"). */
2360
+ middleClick(x: number, y: number): Promise<DesktopActionResult>;
2342
2361
  /** Double-click at the given coordinates. */
2343
2362
  doubleClick(x: number, y: number): Promise<DesktopActionResult>;
2363
+ /** Move the mouse pointer without clicking. */
2364
+ moveMouse(x: number, y: number): Promise<DesktopActionResult>;
2344
2365
  /** Type text into the currently focused element. */
2345
2366
  type(text: string, delay?: number): Promise<DesktopActionResult>;
2367
+ /** Alias for `type(text)` used by simple computer-control loops. */
2368
+ write(text: string, delay?: number): Promise<DesktopActionResult>;
2346
2369
  /** Send a key or key combination (e.g. "Enter", "ctrl+c"). */
2347
2370
  key(key: string): Promise<DesktopActionResult>;
2371
+ /** Alias for `key(key)` used by simple computer-control loops. */
2372
+ press(key: string): Promise<DesktopActionResult>;
2348
2373
  /** Scroll in a direction at an optional position. */
2349
2374
  scroll(direction: ScrollParams["direction"], clicks?: number, x?: number, y?: number): Promise<DesktopActionResult>;
2350
2375
  /** Click and drag from one coordinate to another. */
@@ -3236,16 +3261,24 @@ declare class Computer {
3236
3261
  rightClick(x: number, y: number): Promise<void>;
3237
3262
  /** Double-click at the given coordinates. */
3238
3263
  doubleClick(x: number, y: number): Promise<void>;
3264
+ /** Middle-button click. */
3265
+ middleClick(x: number, y: number): Promise<void>;
3266
+ /** Move the pointer without clicking. */
3267
+ moveMouse(x: number, y: number): Promise<void>;
3239
3268
  /**
3240
3269
  * Type text into the focused element.
3241
3270
  * Shortcut for `computer.desktop.type(text)`.
3242
3271
  */
3243
3272
  type(text: string): Promise<void>;
3273
+ /** Alias for `type(text)`. */
3274
+ write(text: string): Promise<void>;
3244
3275
  /**
3245
3276
  * Send a key or key combo.
3246
3277
  * Shortcut for `computer.desktop.key(key)`.
3247
3278
  */
3248
3279
  key(key: string): Promise<void>;
3280
+ /** Alias for `key(key)`. */
3281
+ press(key: string): Promise<void>;
3249
3282
  /**
3250
3283
  * Scroll in a direction.
3251
3284
  * Shortcut for `computer.desktop.scroll(direction, clicks)`.
@@ -3313,6 +3346,13 @@ declare class Computer {
3313
3346
  urls(): Promise<Record<string, unknown>>;
3314
3347
  /** Mint a short-lived stream token for this computer. */
3315
3348
  streamToken(): Promise<Record<string, unknown>>;
3349
+ /**
3350
+ * Mint a passwordless browser embed URL for authenticated platform sessions.
3351
+ *
3352
+ * Use this inside MIOSA or tenant apps. Raw shared desktop URLs can still use
3353
+ * the viewer password flow when opened outside an authenticated platform.
3354
+ */
3355
+ embed(): Promise<Record<string, unknown>>;
3316
3356
  /** Clone this computer into a new one. */
3317
3357
  clone(opts?: Record<string, unknown>): Promise<Computer>;
3318
3358
  /** Resize the computer (change CPU/memory/disk). */
@@ -5649,11 +5689,20 @@ interface TemplateData {
5649
5689
  slug?: string;
5650
5690
  [key: string]: unknown;
5651
5691
  }
5692
+ interface ComputeCatalogData {
5693
+ products?: Array<Record<string, unknown>>;
5694
+ regions?: Array<Record<string, unknown>>;
5695
+ sizes?: Array<Record<string, unknown>>;
5696
+ templates?: Array<Record<string, unknown>>;
5697
+ [key: string]: unknown;
5698
+ }
5652
5699
  declare class Regions {
5653
5700
  private readonly http;
5654
5701
  constructor(http: HttpClient);
5655
5702
  /** List datacenter regions. */
5656
5703
  listRegions(): Promise<RegionData[]>;
5704
+ /** Get canonical compute catalog, including product templates and readiness. */
5705
+ catalog(): Promise<ComputeCatalogData>;
5657
5706
  /** List available compute sizes. */
5658
5707
  listSizes(): Promise<SizeData[]>;
5659
5708
  /** Get static compute pricing data. */
@@ -5769,6 +5818,13 @@ interface SandboxCreateParams {
5769
5818
  };
5770
5819
  alwaysOn?: boolean;
5771
5820
  always_on?: boolean;
5821
+ /**
5822
+ * Opt in to the in-sandbox L3 token carrying the `provision` scope, so code
5823
+ * running inside the sandbox can call database/deployment create. Defaults
5824
+ * to false on the server when omitted.
5825
+ */
5826
+ allowProvision?: boolean;
5827
+ allow_provision?: boolean;
5772
5828
  env?: Record<string, string>;
5773
5829
  metadata?: Record<string, unknown>;
5774
5830
  services?: Array<Record<string, unknown>>;
@@ -6159,6 +6215,11 @@ declare class SandboxEvents {
6159
6215
  /** Stream live sandbox events via SSE. */
6160
6216
  stream(): AsyncIterableIterator<Record<string, unknown>>;
6161
6217
  }
6218
+ declare class SandboxMetrics {
6219
+ private readonly sandbox;
6220
+ constructor(sandbox: Sandbox);
6221
+ get(window?: string): Promise<Record<string, unknown>>;
6222
+ }
6162
6223
  declare class SandboxPreviews {
6163
6224
  private readonly sandbox;
6164
6225
  constructor(sandbox: Sandbox);
@@ -6212,6 +6273,8 @@ declare class Sandbox {
6212
6273
  readonly terminal: SandboxTerminal;
6213
6274
  /** SSE event stream. */
6214
6275
  readonly events: SandboxEvents;
6276
+ /** Operational metrics and current resource state. */
6277
+ readonly metricsResource: SandboxMetrics;
6215
6278
  /** Preview CRUD + share/revokeShare. */
6216
6279
  readonly previews: SandboxPreviews;
6217
6280
  /** Read-only env var listing. */
@@ -6251,11 +6314,15 @@ declare class Sandbox {
6251
6314
  listFiles(path?: string): Promise<SandboxFileList>;
6252
6315
  statFile(path: string): Promise<SandboxFileStat>;
6253
6316
  expose(port?: number): Promise<string>;
6317
+ getUrl(port?: number, path?: string): Promise<string>;
6318
+ getHost(port?: number): Promise<string>;
6254
6319
  exposeInfo(port?: number): Promise<PreviewUrlInfo>;
6255
6320
  startTemplate(options?: Record<string, unknown>): Promise<Record<string, unknown>>;
6256
6321
  getArtifacts(): Promise<Record<string, unknown>>;
6257
6322
  getLogs(lines?: number): Promise<string | Record<string, unknown>>;
6258
6323
  streamLogs(): AsyncIterableIterator<Record<string, unknown>>;
6324
+ metrics(window?: string): Promise<Record<string, unknown>>;
6325
+ getMetrics(window?: string): Promise<Record<string, unknown>>;
6259
6326
  createSnapshot(comment?: string): Promise<SandboxSnapshot>;
6260
6327
  listSnapshots(): Promise<SandboxSnapshot[]>;
6261
6328
  restoreSnapshot(snapshotId: string): Promise<Sandbox>;
@@ -6783,6 +6850,104 @@ declare class Tenant {
6783
6850
  deleteBranding(): Promise<void>;
6784
6851
  }
6785
6852
 
6853
+ /**
6854
+ * Product-aware template catalog.
6855
+ *
6856
+ * This is different from `sandboxTemplates`, which manages tenant-owned
6857
+ * sandbox template build records. `templates` is the canonical discovery
6858
+ * surface for product/template/size/readiness primitives across sandboxes,
6859
+ * computers, and appliances.
6860
+ */
6861
+
6862
+ type ComputeProduct = "sandbox" | "computer" | "docker_deploy_host" | "managed_database" | "deployment";
6863
+ type TemplateReadinessState = "fast_ready" | "cold_boot_only" | "missing" | "partial_fast_ready" | "unavailable";
6864
+ interface TemplateSizeReadiness {
6865
+ size: string;
6866
+ state: TemplateReadinessState | string;
6867
+ fast_ready?: boolean;
6868
+ cold_boot_only?: boolean;
6869
+ readiness_scope?: string;
6870
+ checked_nodes?: number;
6871
+ ready_nodes?: number;
6872
+ cold_boot_nodes?: number;
6873
+ missing_nodes?: number;
6874
+ unavailable_nodes?: number;
6875
+ [key: string]: unknown;
6876
+ }
6877
+ interface TemplateBenchmarkLane {
6878
+ id: string;
6879
+ name?: string;
6880
+ command?: string;
6881
+ purpose?: string;
6882
+ [key: string]: unknown;
6883
+ }
6884
+ interface TemplateReadinessContract {
6885
+ exec_ready?: boolean;
6886
+ preview_ready?: boolean;
6887
+ desktop_ready?: boolean;
6888
+ app_ready?: boolean;
6889
+ benchmark_command?: string;
6890
+ start_command?: string | null;
6891
+ readiness_probe?: Record<string, unknown> | null;
6892
+ [key: string]: unknown;
6893
+ }
6894
+ interface ProductTemplate {
6895
+ id: string;
6896
+ name: string;
6897
+ product: ComputeProduct | string;
6898
+ primitive?: "template" | string;
6899
+ default_size?: string;
6900
+ image_id?: string;
6901
+ description?: string | null;
6902
+ sdk_name?: string;
6903
+ cli_name?: string;
6904
+ installed_tools?: string[];
6905
+ install_command?: string | null;
6906
+ start_command?: string | null;
6907
+ readiness_probe?: Record<string, unknown> | null;
6908
+ readiness_contract?: TemplateReadinessContract;
6909
+ benchmark_lane?: TemplateBenchmarkLane;
6910
+ aliases?: string[];
6911
+ sizes?: TemplateSizeReadiness[];
6912
+ readiness?: TemplateReadinessState | string;
6913
+ [key: string]: unknown;
6914
+ }
6915
+ interface ProductCatalogEntry {
6916
+ id: ComputeProduct | string;
6917
+ name: string;
6918
+ primitive?: "product" | string;
6919
+ description?: string;
6920
+ default_template?: string;
6921
+ default_size?: string;
6922
+ templates?: ProductTemplate[];
6923
+ size_ids?: string[];
6924
+ [key: string]: unknown;
6925
+ }
6926
+ interface TemplatesListParams {
6927
+ product?: ComputeProduct | string;
6928
+ }
6929
+ interface ProductTemplateCatalog {
6930
+ templates: ProductTemplate[];
6931
+ products?: ProductCatalogEntry[];
6932
+ sizes?: Array<Record<string, unknown>>;
6933
+ readiness_states?: string[];
6934
+ rules?: Record<string, unknown>;
6935
+ [key: string]: unknown;
6936
+ }
6937
+ declare class Templates {
6938
+ private readonly http;
6939
+ constructor(http: HttpClient);
6940
+ /**
6941
+ * List product-aware templates across sandbox, computer, and appliance.
6942
+ *
6943
+ * Use `sandboxTemplates` for tenant-owned sandbox template CRUD/builds.
6944
+ */
6945
+ list(params?: TemplatesListParams): Promise<ProductTemplate[]>;
6946
+ catalog(): Promise<ProductTemplateCatalog>;
6947
+ get(templateId: string, params?: TemplatesListParams): Promise<ProductTemplate>;
6948
+ readiness(templateId: string, params?: TemplatesListParams): Promise<TemplateSizeReadiness[]>;
6949
+ }
6950
+
6786
6951
  /**
6787
6952
  * Usage — per-session metering, summary, and reports.
6788
6953
  */
@@ -6855,6 +7020,26 @@ interface VolumeCreateParams {
6855
7020
  idempotencyKey?: string;
6856
7021
  [key: string]: unknown;
6857
7022
  }
7023
+ interface VolumeAttachmentData {
7024
+ id: string;
7025
+ volume_id: string;
7026
+ computer_id: string;
7027
+ mount_path: string;
7028
+ read_only?: boolean;
7029
+ state?: string;
7030
+ created_at?: string;
7031
+ updated_at?: string;
7032
+ [key: string]: unknown;
7033
+ }
7034
+ interface VolumeAttachParams {
7035
+ volumeId?: string;
7036
+ volume_id?: string;
7037
+ mountPath?: string;
7038
+ mount_path?: string;
7039
+ readOnly?: boolean;
7040
+ read_only?: boolean;
7041
+ [key: string]: unknown;
7042
+ }
6858
7043
  declare class Volumes {
6859
7044
  private readonly http;
6860
7045
  constructor(http: HttpClient);
@@ -6862,6 +7047,9 @@ declare class Volumes {
6862
7047
  get(volumeId: string): Promise<VolumeData>;
6863
7048
  create(params: VolumeCreateParams): Promise<VolumeData>;
6864
7049
  delete(volumeId: string): Promise<void>;
7050
+ listAttachments(computerId: string): Promise<VolumeAttachmentData[]>;
7051
+ attach(computerId: string, params: VolumeAttachParams): Promise<VolumeAttachmentData>;
7052
+ detach(computerId: string, attachmentId: string): Promise<void>;
6865
7053
  }
6866
7054
 
6867
7055
  /**
@@ -7260,6 +7448,8 @@ declare class Miosa {
7260
7448
  readonly webhooks: Webhooks;
7261
7449
  /** Sandbox templates — CRUD, build-spec schema, builds. */
7262
7450
  readonly sandboxTemplates: SandboxTemplates;
7451
+ /** Product-aware templates — catalog/readiness for sandbox, computer, appliance. */
7452
+ readonly templates: Templates;
7263
7453
  /** API key management — list, create, delete. */
7264
7454
  readonly apiKeys: ApiKeys;
7265
7455
  /** Available LLM models via the intelligence gateway. */
@@ -7571,4 +7761,4 @@ declare class TokenRefreshFailedError extends MiosaError {
7571
7761
  constructor(message: string, status?: number, details?: unknown, requestId?: string);
7572
7762
  }
7573
7763
 
7574
- export { AGENT_BUILD_KIND_SPECS, type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentBuildArtifactSpec, type AgentBuildExecutionPacket, type AgentBuildKind, type AgentBuildKindSpec, type AgentBuildPlannerDocument, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, type AgentRun, type AgentRunCreateParams, type AgentRunEvent, type AgentRunGroup, type AgentRunGroupArtifact, type AgentRunGroupCounts, type AgentRunGroupCreateParams, type AgentRunGroupDispatchEntry, type AgentRunGroupDispatchResult, type AgentRunGroupEvent, type AgentRunGroupListParams, type AgentRunGroupStatus, type AgentRunGroupWaitOptions, AgentRunGroups, type AgentRunListParams, type AgentRunStatus, type AgentRunTargetKind, type AgentRunWaitOptions, AgentRuns, AgentRuntimeProfiles, type AgentSessionCreateParams, type AgentSessionData, type AgentSessionListResponse$1 as AgentSessionListResponse, type AgentSessionStatus$1 as AgentSessionStatus, type AllowParams, Analytics, type AnalyticsFilters, type ApiKeyCreateParams, type ApiKeyCreateResult, type ApiKeyData, type ApiKeyId, type ApiKeyListParams, ApiKeys, AppAuth, type AppAuthConfig, type AppAuthResourceType, type AppAuthSession, type AppAuthTokenPayload, type AppCatalogEntry, type AppInstallData, type AppInstallEvent, 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, 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 CreateBuildAgentRunParams, 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 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 OverviewData, type PolicyCreateParams, type PolicyListParams, type PolicyUpdateParams, type PresignParams, type PresignResult, type PreviewDomainData, 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 RuntimeCapabilities, RuntimeCapabilitiesResource, RuntimeEnv, type RuntimeEnvListParams, type RuntimeEnvScope, type RuntimeEnvSetParams, type RuntimeEnvTarget, type RuntimeEnvVar, type RuntimeInstanceData, type RuntimeInstanceId, type RuntimeInstanceState, type RuntimeLogsResult, SANDBOX_TEMPLATE, Sandbox, SandboxArtifacts, SandboxAudit, type SandboxBuildSpec, type SandboxBuildSpecError, type SandboxBuildSpecValidation, SandboxCommands, type SandboxConnectorAttachParams, type SandboxConnectorBinding, type SandboxConnectorPreflightParams, type SandboxConnectorPreflightResult, SandboxConnectors, type SandboxCreateParams, type SandboxData, SandboxEnv, SandboxEvents, type SandboxExecOptions, type SandboxExecResult, 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 TemplateBuildCreateParams, type TemplateCreateParams, type TemplateData, 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 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, createAgentBuildOutputContract, createAgentBuildPrompt, createBuildAgentRunParams, getAgentBuildKindSpec, resolveAgentBuildKind, verifySignature };
7764
+ export { AGENT_BUILD_KIND_SPECS, type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentBuildArtifactSpec, type AgentBuildExecutionPacket, type AgentBuildKind, type AgentBuildKindSpec, type AgentBuildPlannerDocument, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, type AgentRun, type AgentRunCreateParams, type AgentRunEvent, type AgentRunGroup, type AgentRunGroupArtifact, type AgentRunGroupCounts, type AgentRunGroupCreateParams, type AgentRunGroupDispatchEntry, type AgentRunGroupDispatchResult, type AgentRunGroupEvent, type AgentRunGroupListParams, type AgentRunGroupStatus, type AgentRunGroupWaitOptions, AgentRunGroups, type AgentRunListParams, type AgentRunStatus, type AgentRunTargetKind, type AgentRunWaitOptions, AgentRuns, AgentRuntimeProfiles, type AgentSessionCreateParams, type AgentSessionData, type AgentSessionListResponse$1 as AgentSessionListResponse, type AgentSessionStatus$1 as AgentSessionStatus, type AllowParams, Analytics, type AnalyticsFilters, type ApiKeyCreateParams, type ApiKeyCreateResult, type ApiKeyData, type ApiKeyId, type ApiKeyListParams, ApiKeys, AppAuth, type AppAuthConfig, type AppAuthResourceType, type AppAuthSession, type AppAuthTokenPayload, type AppCatalogEntry, type AppInstallData, type AppInstallEvent, 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 CreateBuildAgentRunParams, 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 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 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 RuntimeCapabilities, RuntimeCapabilitiesResource, RuntimeEnv, type RuntimeEnvListParams, type RuntimeEnvScope, type RuntimeEnvSetParams, type RuntimeEnvTarget, type RuntimeEnvVar, type RuntimeInstanceData, type RuntimeInstanceId, type RuntimeInstanceState, type RuntimeLogsResult, SANDBOX_TEMPLATE, Sandbox, SandboxArtifacts, 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, createAgentBuildOutputContract, createAgentBuildPrompt, createBuildAgentRunParams, getAgentBuildKindSpec, resolveAgentBuildKind, verifySignature };