@miosa/sdk 1.2.18 → 1.2.19

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/README.md CHANGED
@@ -287,7 +287,8 @@ Always display the server-returned `url` / `public_url`. Do not hardcode
287
287
  const computer = await miosa.computers.create({
288
288
  name: "agent-desktop",
289
289
  template_type: "miosa-desktop",
290
- size: "medium",
290
+ // Canonical fast desktop profile: 2 vCPU / 4 GB.
291
+ size: "small",
291
292
  });
292
293
  await computer.start();
293
294
  await computer.wait(5);
@@ -302,6 +303,12 @@ await computer.drag(100, 100, 400, 400);
302
303
  const result = await computer.bash("ls -la /home/user");
303
304
  console.log(result.output);
304
305
 
306
+ // Authenticated platform desktop links are passwordless. Raw external viewer
307
+ // links are password-gated; rotate the one-time password when you need to share
308
+ // that raw URL outside the platform.
309
+ const rotated = await computer.rotateViewerPassword();
310
+ console.log(rotated.viewer_password);
311
+
305
312
  await computer.destroy();
306
313
  ```
307
314
 
package/dist/index.d.ts CHANGED
@@ -708,6 +708,206 @@ declare class Channels {
708
708
  disable(channelId: string): Promise<ChannelData>;
709
709
  }
710
710
 
711
+ type CloudProvider = "aws" | "gcp" | string;
712
+ type CloudAccountMode = "miosa_managed" | "customer_byoc" | string;
713
+ type CloudCredentialType = "miosa_owned" | "assume_role" | "access_key_smoke" | "service_account" | string;
714
+ type CloudAccountStatus = "draft" | "preflight_required" | "preflight_failed" | "ready" | "disabled" | "error" | string;
715
+ type CloudPoolKind = "cloudburst" | "standing_byoc" | string;
716
+ type CloudPlacementScope = "sandbox" | "computer" | "deployment" | "mixed" | string;
717
+ type CloudPreflightStatus = "pass" | "warn" | "fail" | string;
718
+ interface CloudAccount {
719
+ id: string;
720
+ tenant_id?: string;
721
+ tenantId?: string;
722
+ provider: CloudProvider;
723
+ mode: CloudAccountMode;
724
+ display_name?: string;
725
+ displayName?: string;
726
+ external_account_id?: string | null;
727
+ externalAccountId?: string | null;
728
+ credential_type?: CloudCredentialType;
729
+ credentialType?: CloudCredentialType;
730
+ role_arn?: string | null;
731
+ roleArn?: string | null;
732
+ external_id?: string | null;
733
+ externalId?: string | null;
734
+ default_region?: string | null;
735
+ defaultRegion?: string | null;
736
+ status?: CloudAccountStatus;
737
+ last_preflight_run_id?: string | null;
738
+ lastPreflightRunId?: string | null;
739
+ created_by_user_id?: string | null;
740
+ createdByUserId?: string | null;
741
+ metadata?: Record<string, unknown>;
742
+ created_at?: string;
743
+ createdAt?: string;
744
+ updated_at?: string;
745
+ updatedAt?: string;
746
+ [key: string]: unknown;
747
+ }
748
+ interface CloudRegion {
749
+ id: string;
750
+ cloud_account_id?: string;
751
+ cloudAccountId?: string;
752
+ provider: CloudProvider;
753
+ provider_region?: string;
754
+ providerRegion?: string;
755
+ provider_zone?: string | null;
756
+ providerZone?: string | null;
757
+ display_name?: string;
758
+ displayName?: string;
759
+ guest_supernet?: string | null;
760
+ guestSupernet?: string | null;
761
+ artifact_manifest_uri?: string | null;
762
+ artifactManifestUri?: string | null;
763
+ network_ref?: string | null;
764
+ networkRef?: string | null;
765
+ subnet_ref?: string | null;
766
+ subnetRef?: string | null;
767
+ security_group_refs?: string[];
768
+ securityGroupRefs?: string[];
769
+ instance_profile_ref?: string | null;
770
+ instanceProfileRef?: string | null;
771
+ status?: string;
772
+ metadata?: Record<string, unknown>;
773
+ [key: string]: unknown;
774
+ }
775
+ interface CloudPool {
776
+ id: string;
777
+ cloud_region_id?: string;
778
+ cloudRegionId?: string;
779
+ pool_kind?: CloudPoolKind;
780
+ poolKind?: CloudPoolKind;
781
+ node_type?: string;
782
+ nodeType?: string;
783
+ instance_type?: string;
784
+ instanceType?: string;
785
+ target_nodes?: number;
786
+ targetNodes?: number;
787
+ max_nodes?: number;
788
+ maxNodes?: number;
789
+ ttl_seconds?: number | null;
790
+ ttlSeconds?: number | null;
791
+ max_hourly_cents?: number | null;
792
+ maxHourlyCents?: number | null;
793
+ placement_scope?: CloudPlacementScope;
794
+ placementScope?: CloudPlacementScope;
795
+ status?: string;
796
+ metadata?: Record<string, unknown>;
797
+ [key: string]: unknown;
798
+ }
799
+ interface CloudPreflightRun {
800
+ id: string;
801
+ cloud_account_id?: string | null;
802
+ cloudAccountId?: string | null;
803
+ cloud_region_id?: string | null;
804
+ cloudRegionId?: string | null;
805
+ provider: CloudProvider;
806
+ status: CloudPreflightStatus;
807
+ checks?: Record<string, unknown>;
808
+ raw_report?: Record<string, unknown>;
809
+ rawReport?: Record<string, unknown>;
810
+ metadata?: Record<string, unknown>;
811
+ created_at?: string;
812
+ createdAt?: string;
813
+ [key: string]: unknown;
814
+ }
815
+ interface CloudAccountCreateParams {
816
+ provider: CloudProvider;
817
+ mode: CloudAccountMode;
818
+ displayName?: string;
819
+ display_name?: string;
820
+ externalAccountId?: string;
821
+ external_account_id?: string;
822
+ credentialType?: CloudCredentialType;
823
+ credential_type?: CloudCredentialType;
824
+ defaultRegion?: string;
825
+ default_region?: string;
826
+ metadata?: Record<string, unknown>;
827
+ }
828
+ interface AttachAwsRoleParams {
829
+ roleArn?: string;
830
+ role_arn?: string;
831
+ defaultRegion?: string;
832
+ default_region?: string;
833
+ }
834
+ interface CloudRegionCreateParams {
835
+ cloudAccountId?: string;
836
+ cloud_account_id?: string;
837
+ providerRegion?: string;
838
+ provider_region?: string;
839
+ providerZone?: string;
840
+ provider_zone?: string;
841
+ displayName?: string;
842
+ display_name?: string;
843
+ guestSupernet?: string;
844
+ guest_supernet?: string;
845
+ artifactManifestUri?: string;
846
+ artifact_manifest_uri?: string;
847
+ networkRef?: string;
848
+ network_ref?: string;
849
+ subnetRef?: string;
850
+ subnet_ref?: string;
851
+ securityGroupRefs?: string[];
852
+ security_group_refs?: string[];
853
+ instanceProfileRef?: string;
854
+ instance_profile_ref?: string;
855
+ metadata?: Record<string, unknown>;
856
+ }
857
+ interface CloudPoolCreateParams {
858
+ cloudRegionId?: string;
859
+ cloud_region_id?: string;
860
+ poolKind?: CloudPoolKind;
861
+ pool_kind?: CloudPoolKind;
862
+ nodeType?: string;
863
+ node_type?: string;
864
+ instanceType?: string;
865
+ instance_type?: string;
866
+ targetNodes?: number;
867
+ target_nodes?: number;
868
+ maxNodes?: number;
869
+ max_nodes?: number;
870
+ ttlSeconds?: number;
871
+ ttl_seconds?: number;
872
+ maxHourlyCents?: number;
873
+ max_hourly_cents?: number;
874
+ placementScope?: CloudPlacementScope;
875
+ placement_scope?: CloudPlacementScope;
876
+ metadata?: Record<string, unknown>;
877
+ }
878
+ interface CloudPreflightRecordParams {
879
+ cloudAccountId?: string;
880
+ cloud_account_id?: string;
881
+ cloudRegionId?: string;
882
+ cloud_region_id?: string;
883
+ provider: CloudProvider;
884
+ status: CloudPreflightStatus;
885
+ checks?: Record<string, unknown>;
886
+ rawReport?: Record<string, unknown>;
887
+ raw_report?: Record<string, unknown>;
888
+ metadata?: Record<string, unknown>;
889
+ }
890
+ interface CloudListParams {
891
+ cloudAccountId?: string;
892
+ cloud_account_id?: string;
893
+ cloudRegionId?: string;
894
+ cloud_region_id?: string;
895
+ limit?: number;
896
+ }
897
+ declare class Cloud {
898
+ private readonly http;
899
+ constructor(http: HttpClient);
900
+ listAccounts(): Promise<CloudAccount[]>;
901
+ createAccount(params: CloudAccountCreateParams): Promise<CloudAccount>;
902
+ attachAwsRole(id: string, params: AttachAwsRoleParams): Promise<CloudAccount>;
903
+ listRegions(params?: CloudListParams): Promise<CloudRegion[]>;
904
+ createRegion(params: CloudRegionCreateParams): Promise<CloudRegion>;
905
+ listPools(params?: CloudListParams): Promise<CloudPool[]>;
906
+ createPool(params: CloudPoolCreateParams): Promise<CloudPool>;
907
+ listPreflights(params?: CloudListParams): Promise<CloudPreflightRun[]>;
908
+ recordPreflight(params: CloudPreflightRecordParams): Promise<CloudPreflightRun>;
909
+ }
910
+
711
911
  /**
712
912
  * CommandCenter — agent fleet, orchestrations, metrics.
713
913
  *
@@ -1046,7 +1246,8 @@ type SessionId = string & {
1046
1246
  type TenantId = string & {
1047
1247
  readonly __brand: "TenantId";
1048
1248
  };
1049
- type ComputerSize = "small" | "medium" | "large";
1249
+ type ComputerSize = "xs" | "small" | "medium" | "large" | "xl";
1250
+ type ComputerSizeInput = ComputerSize | "xlarge";
1050
1251
  /**
1051
1252
  * Lifecycle states emitted by the control plane.
1052
1253
  *
@@ -1087,7 +1288,8 @@ type ComputerVisibility = "public" | "tenant" | "key";
1087
1288
  interface ComputerCreateParams {
1088
1289
  name: string;
1089
1290
  template_type?: ComputerTemplateType;
1090
- size?: ComputerSize;
1291
+ /** Canonical sizes are xs/small/medium/large/xl. `xlarge` is accepted as a legacy input alias. */
1292
+ size?: ComputerSizeInput;
1091
1293
  visibility?: ComputerVisibility;
1092
1294
  metadata?: Record<string, string>;
1093
1295
  /**
@@ -1134,6 +1336,17 @@ interface ComputerData {
1134
1336
  created_at: string;
1135
1337
  updated_at: string;
1136
1338
  }
1339
+ interface ComputerViewerPasswordStatus {
1340
+ computer_id?: ComputerId | string;
1341
+ password_set: boolean;
1342
+ password_set_at?: string | null;
1343
+ viewer_password_set_at?: string | null;
1344
+ rotated_at?: string | null;
1345
+ }
1346
+ interface ComputerViewerPasswordRotation extends ComputerViewerPasswordStatus {
1347
+ viewer_password: string;
1348
+ password?: string;
1349
+ }
1137
1350
  type NetworkPolicyEffect = "allow" | "deny";
1138
1351
  type NetworkPolicyProtocol = "tcp" | "udp" | "any";
1139
1352
  /**
@@ -3073,6 +3286,19 @@ declare class Computer {
3073
3286
  fs(workingDir: string): ScopedFs;
3074
3287
  /** Get VNC credentials for this computer. */
3075
3288
  vncCredentials(): Promise<Record<string, unknown>>;
3289
+ /**
3290
+ * Return whether the external/raw desktop viewer password is set.
3291
+ *
3292
+ * Authenticated MIOSA platform users should use the platform desktop entry
3293
+ * URL and do not need this password. This is only for raw external viewer
3294
+ * links such as `*.computer.miosa.ai/desktop/index.html`.
3295
+ */
3296
+ viewerPassword(): Promise<ComputerViewerPasswordStatus>;
3297
+ /**
3298
+ * Rotate the external/raw desktop viewer password and return the plaintext
3299
+ * one time. Store it if you need to share the raw viewer URL.
3300
+ */
3301
+ rotateViewerPassword(): Promise<ComputerViewerPasswordRotation>;
3076
3302
  /** List installed apps inside the VM. */
3077
3303
  apps(): Promise<Record<string, unknown>>;
3078
3304
  /** Get URL map for this computer (VNC, preview, etc.). */
@@ -3140,6 +3366,19 @@ declare class Computers {
3140
3366
  * Permanently delete a computer.
3141
3367
  */
3142
3368
  delete(id: ComputerId | string): Promise<void>;
3369
+ /**
3370
+ * Return whether the external/raw desktop viewer password is set.
3371
+ *
3372
+ * Authenticated MIOSA platform users should use the platform desktop entry
3373
+ * URL and do not need this password. This is only for raw external viewer
3374
+ * links such as `*.computer.miosa.ai/desktop/index.html`.
3375
+ */
3376
+ viewerPassword(id: ComputerId | string): Promise<ComputerViewerPasswordStatus>;
3377
+ /**
3378
+ * Rotate the external/raw desktop viewer password and return the plaintext
3379
+ * one time. Store it if you need to share the raw viewer URL.
3380
+ */
3381
+ rotateViewerPassword(id: ComputerId | string): Promise<ComputerViewerPasswordRotation>;
3143
3382
  }
3144
3383
 
3145
3384
  interface CreditTransactionListParams {
@@ -6923,6 +7162,8 @@ declare class Miosa {
6923
7162
  readonly usage: Usage;
6924
7163
  /** Notification channels — Slack, Discord, email, etc. */
6925
7164
  readonly channels: Channels;
7165
+ /** Cloud accounts / BYOC / cloudburst control-plane state. */
7166
+ readonly cloud: Cloud;
6926
7167
  /** OAuth integrations — GitHub, Slack, Linear, Discord. */
6927
7168
  readonly integrations: Integrations;
6928
7169
  /** Per-project integrations (Stripe, Resend, Twilio, etc.). */
@@ -7017,6 +7258,122 @@ declare class Miosa {
7017
7258
  constructor(config: MiosaClientConfig);
7018
7259
  }
7019
7260
 
7261
+ type AgentBuildKind = "landing_page" | "website" | "lead_magnet" | "webinar" | "slides_deck" | "email_sequence" | "social_content" | "ad_creative" | "booking_page" | "brand_identity" | "offer" | "program" | "podcast" | "sales_script" | "campaign" | "challenge" | "character" | "custom";
7262
+ interface AgentBuildArtifactSpec {
7263
+ kind: string;
7264
+ path: string;
7265
+ mime_type?: string;
7266
+ name?: string;
7267
+ downloadable?: boolean;
7268
+ previewable?: boolean;
7269
+ required?: boolean;
7270
+ }
7271
+ interface AgentBuildInputRef {
7272
+ kind?: string;
7273
+ title?: string;
7274
+ ref?: string;
7275
+ file_ref?: string;
7276
+ drive_asset_id?: string;
7277
+ filename?: string;
7278
+ content_type?: string;
7279
+ size_bytes?: number;
7280
+ public_url?: string;
7281
+ text?: string;
7282
+ path?: string;
7283
+ metadata?: Record<string, unknown>;
7284
+ [key: string]: unknown;
7285
+ }
7286
+ interface AgentBuildKindSpec {
7287
+ kind: AgentBuildKind;
7288
+ label: string;
7289
+ artifactType: string;
7290
+ runtimeTemplate: Record<string, unknown>;
7291
+ requestedOutputs: string[];
7292
+ plannerDocumentKinds: string[];
7293
+ artifacts: AgentBuildArtifactSpec[];
7294
+ designResearchRequired: boolean;
7295
+ previewPort?: number;
7296
+ }
7297
+ interface AgentBuildPlannerDocument {
7298
+ kind: string;
7299
+ title: string;
7300
+ content_markdown?: string;
7301
+ contentMarkdown?: string;
7302
+ path?: string;
7303
+ metadata?: Record<string, unknown>;
7304
+ }
7305
+ interface AgentBuildExecutionPacket {
7306
+ version: string;
7307
+ run_type: AgentBuildKind;
7308
+ build_kind: AgentBuildKind;
7309
+ artifact_type: string;
7310
+ title: string;
7311
+ goal: string;
7312
+ source_refs: unknown[];
7313
+ input_refs: AgentBuildInputRef[];
7314
+ context_markdown: string;
7315
+ planner_documents: AgentBuildPlannerDocument[];
7316
+ requested_outputs: string[];
7317
+ quality_rules: string[];
7318
+ runtime_profile_id?: string;
7319
+ output_contract: AgentRunOutputContract;
7320
+ runtime_instructions: Record<string, unknown>;
7321
+ metadata: Record<string, unknown>;
7322
+ [key: string]: unknown;
7323
+ }
7324
+ interface CreateAgentBuildPacketParams {
7325
+ runType?: string;
7326
+ buildKind?: string;
7327
+ artifactType?: string;
7328
+ title: string;
7329
+ goal: string;
7330
+ contextMarkdown?: string;
7331
+ plannerDocuments?: AgentBuildPlannerDocument[];
7332
+ requestedOutputs?: string[];
7333
+ qualityRules?: string[];
7334
+ sourceRefs?: unknown[];
7335
+ inputRefs?: AgentBuildInputRef[];
7336
+ runtimeProfileId?: string;
7337
+ runtimeTemplate?: Record<string, unknown>;
7338
+ outputContract?: AgentRunOutputContract;
7339
+ artifacts?: AgentBuildArtifactSpec[];
7340
+ outputRoot?: string;
7341
+ metadata?: Record<string, unknown>;
7342
+ }
7343
+ interface CreateBuildAgentRunParams extends CreateAgentBuildPacketParams {
7344
+ targetKind?: AgentRunTargetKind;
7345
+ targetId?: string;
7346
+ sandboxId?: string;
7347
+ computerId?: string;
7348
+ provider?: string;
7349
+ model?: string;
7350
+ prompt?: string;
7351
+ cwd?: string;
7352
+ timeout?: number;
7353
+ wait?: boolean;
7354
+ env?: Record<string, string>;
7355
+ agentRuntimeProfileId?: string;
7356
+ externalWorkspaceId?: string;
7357
+ externalUserId?: string;
7358
+ externalProjectId?: string;
7359
+ approvalPolicy?: AgentRunCreateParams["approvalPolicy"];
7360
+ capabilityRequirements?: string[];
7361
+ }
7362
+ declare const DEFAULT_AGENT_BUILD_PACKET_VERSION = "2026-06-19";
7363
+ declare const DEFAULT_AGENT_BUILD_OUTPUT_ROOT = "/workspace/output";
7364
+ declare const AGENT_BUILD_KIND_SPECS: Record<AgentBuildKind, AgentBuildKindSpec>;
7365
+ declare function resolveAgentBuildKind(value: string | undefined, fallback?: AgentBuildKind): AgentBuildKind;
7366
+ declare function getAgentBuildKindSpec(value: string | undefined): AgentBuildKindSpec;
7367
+ declare function createAgentBuildOutputContract(buildKind: string | undefined, options?: {
7368
+ artifactType?: string;
7369
+ artifacts?: AgentBuildArtifactSpec[];
7370
+ outputContract?: AgentRunOutputContract;
7371
+ outputRoot?: string;
7372
+ }): AgentRunOutputContract;
7373
+ declare function createAgentBuildExecutionPacket(params: CreateAgentBuildPacketParams): AgentBuildExecutionPacket;
7374
+ declare function createAgentBuildPrompt(packet: AgentBuildExecutionPacket): string;
7375
+ declare function createBuildAgentRunParams(params: CreateBuildAgentRunParams): AgentRunCreateParams;
7376
+
7020
7377
  /**
7021
7378
  * AppAuth — end-user authentication client for apps deployed on MIOSA.
7022
7379
  *
@@ -7180,4 +7537,4 @@ declare class TokenRefreshFailedError extends MiosaError {
7180
7537
  constructor(message: string, status?: number, details?: unknown, requestId?: string);
7181
7538
  }
7182
7539
 
7183
- export { type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, 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 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, 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 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, 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, verifySignature };
7540
+ 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 };