@miosa/sdk 1.2.6 → 1.2.8
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 +345 -139
- package/dist/index.js +918 -475
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -164,72 +164,112 @@ declare class Admin {
|
|
|
164
164
|
}>;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
type
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
type AgentRuntime = "osa" | "codex" | "claude" | "claude-code" | "pi" | "hermes" | "custom";
|
|
168
|
+
interface AgentRuntimeProfile {
|
|
169
|
+
id: string;
|
|
170
|
+
tenant_id?: string;
|
|
171
|
+
tenantId?: string;
|
|
172
|
+
workspace_id?: string | null;
|
|
173
|
+
workspaceId?: string | null;
|
|
174
|
+
name: string;
|
|
175
|
+
runtime: AgentRuntime | string;
|
|
176
|
+
description?: string | null;
|
|
177
|
+
applies_to?: Record<string, unknown>;
|
|
178
|
+
appliesTo?: Record<string, unknown>;
|
|
179
|
+
tools?: string[];
|
|
180
|
+
connectors?: string[];
|
|
181
|
+
env?: Record<string, string>;
|
|
182
|
+
policy?: Record<string, unknown>;
|
|
183
|
+
metadata?: Record<string, unknown>;
|
|
184
|
+
is_default?: boolean;
|
|
185
|
+
isDefault?: boolean;
|
|
186
|
+
created_at?: string;
|
|
187
|
+
createdAt?: string;
|
|
188
|
+
updated_at?: string;
|
|
189
|
+
updatedAt?: string;
|
|
190
|
+
}
|
|
191
|
+
interface AgentRuntimeProfileParams {
|
|
192
|
+
workspaceId?: string;
|
|
193
|
+
workspace_id?: string;
|
|
194
|
+
name: string;
|
|
195
|
+
runtime: AgentRuntime | string;
|
|
196
|
+
description?: string;
|
|
197
|
+
appliesTo?: Record<string, unknown>;
|
|
198
|
+
applies_to?: Record<string, unknown>;
|
|
199
|
+
tools?: string[];
|
|
200
|
+
connectors?: string[];
|
|
201
|
+
env?: Record<string, string>;
|
|
202
|
+
policy?: Record<string, unknown>;
|
|
203
|
+
metadata?: Record<string, unknown>;
|
|
204
|
+
isDefault?: boolean;
|
|
205
|
+
is_default?: boolean;
|
|
206
|
+
}
|
|
207
|
+
type AgentRuntimeProfileUpdateParams = Partial<AgentRuntimeProfileParams>;
|
|
208
|
+
declare class AgentRuntimeProfiles {
|
|
209
|
+
private readonly http;
|
|
210
|
+
constructor(http: HttpClient);
|
|
211
|
+
list(params?: {
|
|
212
|
+
workspaceId?: string;
|
|
213
|
+
workspace_id?: string;
|
|
214
|
+
}): Promise<AgentRuntimeProfile[]>;
|
|
215
|
+
get(id: string): Promise<AgentRuntimeProfile>;
|
|
216
|
+
create(params: AgentRuntimeProfileParams): Promise<AgentRuntimeProfile>;
|
|
217
|
+
update(id: string, params: AgentRuntimeProfileUpdateParams): Promise<AgentRuntimeProfile>;
|
|
218
|
+
delete(id: string): Promise<void>;
|
|
219
|
+
}
|
|
220
|
+
|
|
170
221
|
type AgentRunTargetKind = "sandbox" | "computer";
|
|
171
222
|
type AgentRunStatus = "running" | "succeeded" | "failed" | "canceled";
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
tenant_id?: string | null;
|
|
176
|
-
user_id?: string | null;
|
|
177
|
-
target_kind: AgentRunTargetKind | string;
|
|
223
|
+
interface AgentRun {
|
|
224
|
+
id: string;
|
|
225
|
+
target_kind: AgentRunTargetKind;
|
|
178
226
|
target_id: string;
|
|
179
|
-
|
|
180
|
-
provider: AgentRunProvider;
|
|
181
|
-
model?: string | null;
|
|
227
|
+
provider: string;
|
|
182
228
|
prompt: string;
|
|
183
|
-
status: AgentRunStatus
|
|
184
|
-
output?: string
|
|
185
|
-
stderr?: string
|
|
186
|
-
exit_code?: number
|
|
187
|
-
error_code?: string | null;
|
|
188
|
-
error_message?: string | null;
|
|
229
|
+
status: AgentRunStatus;
|
|
230
|
+
output?: string;
|
|
231
|
+
stderr?: string;
|
|
232
|
+
exit_code?: number;
|
|
189
233
|
metadata?: Record<string, unknown>;
|
|
190
|
-
started_at?: string
|
|
191
|
-
finished_at?: string
|
|
192
|
-
created_at?: string
|
|
193
|
-
updated_at?: string
|
|
234
|
+
started_at?: string;
|
|
235
|
+
finished_at?: string;
|
|
236
|
+
created_at?: string;
|
|
237
|
+
updated_at?: string;
|
|
238
|
+
[key: string]: unknown;
|
|
194
239
|
}
|
|
195
240
|
interface AgentRunCreateParams {
|
|
196
|
-
|
|
241
|
+
prompt: string;
|
|
242
|
+
targetKind?: AgentRunTargetKind;
|
|
197
243
|
targetId?: string;
|
|
198
|
-
sandbox_id?: string;
|
|
199
244
|
sandboxId?: string;
|
|
200
|
-
|
|
245
|
+
/** Shortcut for a computer-backed Agent Run. */
|
|
201
246
|
computerId?: string;
|
|
202
|
-
|
|
203
|
-
targetKind?: AgentRunTargetKind;
|
|
204
|
-
provider?: AgentRunProvider;
|
|
205
|
-
prompt: string;
|
|
206
|
-
instruction?: string;
|
|
207
|
-
command?: string;
|
|
247
|
+
provider?: string;
|
|
208
248
|
model?: string;
|
|
249
|
+
command?: string;
|
|
250
|
+
runtimeCommand?: string;
|
|
209
251
|
cwd?: string;
|
|
210
252
|
timeout?: number;
|
|
253
|
+
env?: Record<string, string>;
|
|
254
|
+
agentRuntimeProfileId?: string;
|
|
255
|
+
agentProfileId?: string;
|
|
256
|
+
skipAgentRuntimeProfile?: boolean;
|
|
211
257
|
metadata?: Record<string, unknown>;
|
|
212
258
|
}
|
|
213
259
|
interface AgentRunListParams {
|
|
214
|
-
|
|
260
|
+
targetKind?: AgentRunTargetKind;
|
|
215
261
|
targetId?: string;
|
|
216
|
-
sandbox_id?: string;
|
|
217
262
|
sandboxId?: string;
|
|
218
|
-
computer_id?: string;
|
|
219
263
|
computerId?: string;
|
|
220
|
-
|
|
264
|
+
status?: AgentRunStatus | string;
|
|
221
265
|
}
|
|
222
266
|
declare class AgentRuns {
|
|
223
267
|
private readonly http;
|
|
224
268
|
constructor(http: HttpClient);
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
/** List recent agent runs for the authenticated tenant. */
|
|
230
|
-
list(params?: AgentRunListParams): Promise<AgentRunData[]>;
|
|
231
|
-
/** Fetch one persisted agent run. */
|
|
232
|
-
get(runId: string): Promise<AgentRunData>;
|
|
269
|
+
list(params?: AgentRunListParams): Promise<AgentRun[]>;
|
|
270
|
+
get(id: string): Promise<AgentRun>;
|
|
271
|
+
run(params: AgentRunCreateParams): Promise<AgentRun>;
|
|
272
|
+
cancel(id: string): Promise<AgentRun>;
|
|
233
273
|
}
|
|
234
274
|
|
|
235
275
|
/**
|
|
@@ -826,6 +866,18 @@ interface ComputerCreateParams {
|
|
|
826
866
|
size?: ComputerSize;
|
|
827
867
|
visibility?: ComputerVisibility;
|
|
828
868
|
metadata?: Record<string, string>;
|
|
869
|
+
/**
|
|
870
|
+
* Explicit agent runtime profile to mount into this computer. When omitted,
|
|
871
|
+
* MIOSA applies the workspace/tenant default profile that targets computers.
|
|
872
|
+
*/
|
|
873
|
+
agentRuntimeProfileId?: string;
|
|
874
|
+
agent_runtime_profile_id?: string;
|
|
875
|
+
/** Back-compat shorthand for agentRuntimeProfileId. */
|
|
876
|
+
agentProfileId?: string;
|
|
877
|
+
agent_profile_id?: string;
|
|
878
|
+
/** Opt out of the default agent runtime profile for this create call. */
|
|
879
|
+
skipAgentRuntimeProfile?: boolean;
|
|
880
|
+
skip_agent_runtime_profile?: boolean;
|
|
829
881
|
}
|
|
830
882
|
interface ComputerUpdateParams {
|
|
831
883
|
name?: string;
|
|
@@ -2616,6 +2668,90 @@ declare class Databases {
|
|
|
2616
2668
|
streamLogs(databaseId: string): AsyncIterableIterator<unknown>;
|
|
2617
2669
|
}
|
|
2618
2670
|
|
|
2671
|
+
type DockerDeployHostId = string & {
|
|
2672
|
+
readonly __brand: "DockerDeployHostId";
|
|
2673
|
+
};
|
|
2674
|
+
type DockerDeployHostStatus = "pending" | "provisioning" | "bootstrapping" | "active" | "degraded" | "suspended" | "retired" | "error";
|
|
2675
|
+
type DockerDeployApplianceStatus = "not_installed" | "installing" | "starting" | "healthy" | "unhealthy" | "unknown";
|
|
2676
|
+
interface DockerDeployHostData {
|
|
2677
|
+
id: DockerDeployHostId;
|
|
2678
|
+
tenant_id: string;
|
|
2679
|
+
workspace_id: string;
|
|
2680
|
+
external_workspace_id?: string | null;
|
|
2681
|
+
computer_id?: string | null;
|
|
2682
|
+
fleet_node_id?: string | null;
|
|
2683
|
+
status: DockerDeployHostStatus;
|
|
2684
|
+
size: string;
|
|
2685
|
+
region: string;
|
|
2686
|
+
portal_domain?: string | null;
|
|
2687
|
+
runtime_base_url?: string | null;
|
|
2688
|
+
agent_base_url?: string | null;
|
|
2689
|
+
appliance_image?: string | null;
|
|
2690
|
+
appliance_version?: string | null;
|
|
2691
|
+
appliance_status: DockerDeployApplianceStatus;
|
|
2692
|
+
agent_last_seen_at?: string | null;
|
|
2693
|
+
metadata?: Record<string, unknown>;
|
|
2694
|
+
created_at?: string;
|
|
2695
|
+
updated_at?: string;
|
|
2696
|
+
}
|
|
2697
|
+
interface DockerDeployHostListParams {
|
|
2698
|
+
workspace_id?: string;
|
|
2699
|
+
workspaceId?: string;
|
|
2700
|
+
}
|
|
2701
|
+
interface DockerDeployHostEnsureParams {
|
|
2702
|
+
workspace_id?: string;
|
|
2703
|
+
workspaceId?: string;
|
|
2704
|
+
external_workspace_id?: string;
|
|
2705
|
+
externalWorkspaceId?: string;
|
|
2706
|
+
}
|
|
2707
|
+
interface DockerDeployHostListResponse {
|
|
2708
|
+
data?: DockerDeployHostData[];
|
|
2709
|
+
hosts?: DockerDeployHostData[];
|
|
2710
|
+
}
|
|
2711
|
+
interface DockerDeployHostResponse {
|
|
2712
|
+
data?: DockerDeployHostData;
|
|
2713
|
+
host?: DockerDeployHostData;
|
|
2714
|
+
queued?: boolean;
|
|
2715
|
+
}
|
|
2716
|
+
interface DockerDeployTemplate {
|
|
2717
|
+
id: string;
|
|
2718
|
+
name: string;
|
|
2719
|
+
description?: string;
|
|
2720
|
+
category?: string;
|
|
2721
|
+
runtime?: string;
|
|
2722
|
+
tags?: string[];
|
|
2723
|
+
metadata?: Record<string, unknown>;
|
|
2724
|
+
[key: string]: unknown;
|
|
2725
|
+
}
|
|
2726
|
+
declare class DockerDeploy {
|
|
2727
|
+
private readonly http;
|
|
2728
|
+
constructor(http: HttpClient);
|
|
2729
|
+
/**
|
|
2730
|
+
* List Docker Deploy appliance hosts scoped to the current tenant.
|
|
2731
|
+
*
|
|
2732
|
+
* Pass a workspace ID to inspect the dedicated always-on appliance machine
|
|
2733
|
+
* for one white-label workspace.
|
|
2734
|
+
*/
|
|
2735
|
+
listHosts(params?: DockerDeployHostListParams): Promise<DockerDeployHostData[]>;
|
|
2736
|
+
/**
|
|
2737
|
+
* Ensure a workspace has its dedicated Docker Deploy appliance host.
|
|
2738
|
+
*
|
|
2739
|
+
* The host may still be `pending`, `provisioning`, or `bootstrapping` after
|
|
2740
|
+
* this call. Treat `status === "active"` and `appliance_status === "healthy"`
|
|
2741
|
+
* as the ready condition before sending app/container traffic to it.
|
|
2742
|
+
*/
|
|
2743
|
+
ensureHost(params?: DockerDeployHostEnsureParams): Promise<{
|
|
2744
|
+
host: DockerDeployHostData;
|
|
2745
|
+
queued: boolean;
|
|
2746
|
+
}>;
|
|
2747
|
+
/** Fetch one Docker Deploy host by ID. */
|
|
2748
|
+
getHost(hostId: string): Promise<DockerDeployHostData>;
|
|
2749
|
+
/** List Docker Deploy starter templates. */
|
|
2750
|
+
listTemplates(): Promise<DockerDeployTemplate[]>;
|
|
2751
|
+
/** Fetch one Docker Deploy starter template by ID. */
|
|
2752
|
+
getTemplate(templateId: string): Promise<DockerDeployTemplate>;
|
|
2753
|
+
}
|
|
2754
|
+
|
|
2619
2755
|
/**
|
|
2620
2756
|
* Deployments resource — sandbox→production publishing surface.
|
|
2621
2757
|
*
|
|
@@ -2846,6 +2982,31 @@ interface DeploymentCreateParams extends ExternalAttribution {
|
|
|
2846
2982
|
}
|
|
2847
2983
|
interface DockerDeployCreateParams extends DeploymentCreateParams {
|
|
2848
2984
|
}
|
|
2985
|
+
interface DockerDeployDoctorCheck {
|
|
2986
|
+
name: string;
|
|
2987
|
+
ok: boolean;
|
|
2988
|
+
message: string;
|
|
2989
|
+
details?: Record<string, unknown>;
|
|
2990
|
+
}
|
|
2991
|
+
interface DockerDeployDoctorProbe {
|
|
2992
|
+
url: string;
|
|
2993
|
+
ok: boolean;
|
|
2994
|
+
status?: number;
|
|
2995
|
+
error?: string;
|
|
2996
|
+
}
|
|
2997
|
+
interface DockerDeployDoctorResult {
|
|
2998
|
+
ok: boolean;
|
|
2999
|
+
deployment: DeploymentData;
|
|
3000
|
+
host?: DockerDeployHostData;
|
|
3001
|
+
checks: DockerDeployDoctorCheck[];
|
|
3002
|
+
probe?: DockerDeployDoctorProbe;
|
|
3003
|
+
}
|
|
3004
|
+
interface DockerDeployDoctorParams {
|
|
3005
|
+
probePath?: string;
|
|
3006
|
+
probe_path?: string;
|
|
3007
|
+
timeoutMs?: number;
|
|
3008
|
+
timeout_ms?: number;
|
|
3009
|
+
}
|
|
2849
3010
|
interface DeploymentUpdateParams {
|
|
2850
3011
|
name?: string;
|
|
2851
3012
|
branch?: string;
|
|
@@ -2976,6 +3137,12 @@ declare class Deployments {
|
|
|
2976
3137
|
* deployment so the control plane attaches it to the workspace Docker host.
|
|
2977
3138
|
*/
|
|
2978
3139
|
createDockerDeploy(params: DockerDeployCreateParams): Promise<DeploymentData>;
|
|
3140
|
+
/**
|
|
3141
|
+
* Verify a Docker Deploy deployment before telling a user or agent it is
|
|
3142
|
+
* live. Checks product markers, appliance host health, route metadata, and
|
|
3143
|
+
* optionally probes the public URL.
|
|
3144
|
+
*/
|
|
3145
|
+
doctorDockerDeploy(deploymentId: string, params?: DockerDeployDoctorParams): Promise<DockerDeployDoctorResult>;
|
|
2979
3146
|
update(deploymentId: string, params: DeploymentUpdateParams): Promise<DeploymentData>;
|
|
2980
3147
|
delete(deploymentId: string): Promise<void>;
|
|
2981
3148
|
publish(deploymentId: string, params: PublishParams): Promise<PublishResult>;
|
|
@@ -2999,90 +3166,6 @@ declare class Deployments {
|
|
|
2999
3166
|
domains(deploymentId: string): DeploymentDomains;
|
|
3000
3167
|
}
|
|
3001
3168
|
|
|
3002
|
-
type DockerDeployHostId = string & {
|
|
3003
|
-
readonly __brand: "DockerDeployHostId";
|
|
3004
|
-
};
|
|
3005
|
-
type DockerDeployHostStatus = "pending" | "provisioning" | "bootstrapping" | "active" | "degraded" | "suspended" | "retired" | "error";
|
|
3006
|
-
type DockerDeployApplianceStatus = "not_installed" | "installing" | "starting" | "healthy" | "unhealthy" | "unknown";
|
|
3007
|
-
interface DockerDeployHostData {
|
|
3008
|
-
id: DockerDeployHostId;
|
|
3009
|
-
tenant_id: string;
|
|
3010
|
-
workspace_id: string;
|
|
3011
|
-
external_workspace_id?: string | null;
|
|
3012
|
-
computer_id?: string | null;
|
|
3013
|
-
fleet_node_id?: string | null;
|
|
3014
|
-
status: DockerDeployHostStatus;
|
|
3015
|
-
size: string;
|
|
3016
|
-
region: string;
|
|
3017
|
-
portal_domain?: string | null;
|
|
3018
|
-
runtime_base_url?: string | null;
|
|
3019
|
-
agent_base_url?: string | null;
|
|
3020
|
-
appliance_image?: string | null;
|
|
3021
|
-
appliance_version?: string | null;
|
|
3022
|
-
appliance_status: DockerDeployApplianceStatus;
|
|
3023
|
-
agent_last_seen_at?: string | null;
|
|
3024
|
-
metadata?: Record<string, unknown>;
|
|
3025
|
-
created_at?: string;
|
|
3026
|
-
updated_at?: string;
|
|
3027
|
-
}
|
|
3028
|
-
interface DockerDeployHostListParams {
|
|
3029
|
-
workspace_id?: string;
|
|
3030
|
-
workspaceId?: string;
|
|
3031
|
-
}
|
|
3032
|
-
interface DockerDeployHostEnsureParams {
|
|
3033
|
-
workspace_id?: string;
|
|
3034
|
-
workspaceId?: string;
|
|
3035
|
-
external_workspace_id?: string;
|
|
3036
|
-
externalWorkspaceId?: string;
|
|
3037
|
-
}
|
|
3038
|
-
interface DockerDeployHostListResponse {
|
|
3039
|
-
data?: DockerDeployHostData[];
|
|
3040
|
-
hosts?: DockerDeployHostData[];
|
|
3041
|
-
}
|
|
3042
|
-
interface DockerDeployHostResponse {
|
|
3043
|
-
data?: DockerDeployHostData;
|
|
3044
|
-
host?: DockerDeployHostData;
|
|
3045
|
-
queued?: boolean;
|
|
3046
|
-
}
|
|
3047
|
-
interface DockerDeployTemplate {
|
|
3048
|
-
id: string;
|
|
3049
|
-
name: string;
|
|
3050
|
-
description?: string;
|
|
3051
|
-
category?: string;
|
|
3052
|
-
runtime?: string;
|
|
3053
|
-
tags?: string[];
|
|
3054
|
-
metadata?: Record<string, unknown>;
|
|
3055
|
-
[key: string]: unknown;
|
|
3056
|
-
}
|
|
3057
|
-
declare class DockerDeploy {
|
|
3058
|
-
private readonly http;
|
|
3059
|
-
constructor(http: HttpClient);
|
|
3060
|
-
/**
|
|
3061
|
-
* List Docker Deploy appliance hosts scoped to the current tenant.
|
|
3062
|
-
*
|
|
3063
|
-
* Pass a workspace ID to inspect the dedicated always-on appliance machine
|
|
3064
|
-
* for one white-label workspace.
|
|
3065
|
-
*/
|
|
3066
|
-
listHosts(params?: DockerDeployHostListParams): Promise<DockerDeployHostData[]>;
|
|
3067
|
-
/**
|
|
3068
|
-
* Ensure a workspace has its dedicated Docker Deploy appliance host.
|
|
3069
|
-
*
|
|
3070
|
-
* The host may still be `pending`, `provisioning`, or `bootstrapping` after
|
|
3071
|
-
* this call. Treat `status === "active"` and `appliance_status === "healthy"`
|
|
3072
|
-
* as the ready condition before sending app/container traffic to it.
|
|
3073
|
-
*/
|
|
3074
|
-
ensureHost(params?: DockerDeployHostEnsureParams): Promise<{
|
|
3075
|
-
host: DockerDeployHostData;
|
|
3076
|
-
queued: boolean;
|
|
3077
|
-
}>;
|
|
3078
|
-
/** Fetch one Docker Deploy host by ID. */
|
|
3079
|
-
getHost(hostId: string): Promise<DockerDeployHostData>;
|
|
3080
|
-
/** List Docker Deploy starter templates. */
|
|
3081
|
-
listTemplates(): Promise<DockerDeployTemplate[]>;
|
|
3082
|
-
/** Fetch one Docker Deploy starter template by ID. */
|
|
3083
|
-
getTemplate(templateId: string): Promise<DockerDeployTemplate>;
|
|
3084
|
-
}
|
|
3085
|
-
|
|
3086
3169
|
/**
|
|
3087
3170
|
* Email — admin email campaigns, templates, and inbox surfaces.
|
|
3088
3171
|
*
|
|
@@ -3627,28 +3710,53 @@ interface TunnelUpdateParams {
|
|
|
3627
3710
|
interface TunnelListResponse {
|
|
3628
3711
|
data: TunnelData[];
|
|
3629
3712
|
}
|
|
3630
|
-
type AgentSessionStatus = "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
3713
|
+
type AgentSessionStatus = "pending" | "running" | "succeeded" | "completed" | "failed" | "canceled" | "cancelled";
|
|
3631
3714
|
interface OcAgentSessionData {
|
|
3632
3715
|
id: string;
|
|
3716
|
+
session_id?: string;
|
|
3633
3717
|
host_id: HostId;
|
|
3634
3718
|
task: string;
|
|
3635
|
-
model_id
|
|
3719
|
+
model_id?: string | null;
|
|
3720
|
+
model?: string | null;
|
|
3636
3721
|
status: AgentSessionStatus;
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3722
|
+
tools?: string[];
|
|
3723
|
+
max_turns?: number;
|
|
3724
|
+
turns_used?: number;
|
|
3725
|
+
max_steps?: number | null;
|
|
3726
|
+
max_tokens?: number | null;
|
|
3727
|
+
timeout_ms?: number | null;
|
|
3728
|
+
agent_runtime_profile_id?: string | null;
|
|
3729
|
+
runtime_context?: Record<string, unknown>;
|
|
3730
|
+
sse_url?: string;
|
|
3731
|
+
optimal_session_id?: string | null;
|
|
3732
|
+
created_at?: string;
|
|
3733
|
+
updated_at?: string;
|
|
3734
|
+
started_at?: string | null;
|
|
3735
|
+
ended_at?: string | null;
|
|
3736
|
+
inserted_at?: string;
|
|
3737
|
+
completed_at?: string | null;
|
|
3738
|
+
error?: string | null;
|
|
3739
|
+
result_summary?: string | null;
|
|
3643
3740
|
}
|
|
3644
3741
|
interface AgentDispatchParams {
|
|
3645
3742
|
task: string;
|
|
3743
|
+
model?: string;
|
|
3646
3744
|
model_id?: string;
|
|
3647
3745
|
max_turns?: number;
|
|
3746
|
+
tools?: string[];
|
|
3747
|
+
budget?: {
|
|
3748
|
+
max_steps?: number;
|
|
3749
|
+
max_tokens?: number;
|
|
3750
|
+
timeout_ms?: number;
|
|
3751
|
+
};
|
|
3752
|
+
agent_runtime_profile_id?: string;
|
|
3753
|
+
agent_profile_id?: string;
|
|
3754
|
+
skip_agent_runtime_profile?: boolean;
|
|
3648
3755
|
context?: Record<string, unknown>;
|
|
3649
3756
|
}
|
|
3650
3757
|
interface AgentSessionListResponse {
|
|
3651
|
-
data
|
|
3758
|
+
data?: OcAgentSessionData[];
|
|
3759
|
+
sessions?: OcAgentSessionData[];
|
|
3652
3760
|
}
|
|
3653
3761
|
interface AgentEvent {
|
|
3654
3762
|
type: string;
|
|
@@ -3775,6 +3883,8 @@ declare class Agents {
|
|
|
3775
3883
|
private readonly http;
|
|
3776
3884
|
constructor(http: HttpClient);
|
|
3777
3885
|
private base;
|
|
3886
|
+
private unwrapSession;
|
|
3887
|
+
private unwrapList;
|
|
3778
3888
|
/**
|
|
3779
3889
|
* Dispatch a new agent session on the host.
|
|
3780
3890
|
*/
|
|
@@ -4523,6 +4633,12 @@ interface SandboxCreateParams {
|
|
|
4523
4633
|
idempotencyKey?: string;
|
|
4524
4634
|
idempotency_key?: string;
|
|
4525
4635
|
slug?: string;
|
|
4636
|
+
agentRuntimeProfileId?: string;
|
|
4637
|
+
agent_runtime_profile_id?: string;
|
|
4638
|
+
agentProfileId?: string;
|
|
4639
|
+
agent_profile_id?: string;
|
|
4640
|
+
skipAgentRuntimeProfile?: boolean;
|
|
4641
|
+
skip_agent_runtime_profile?: boolean;
|
|
4526
4642
|
externalWorkspaceId?: string;
|
|
4527
4643
|
external_workspace_id?: string;
|
|
4528
4644
|
externalUserId?: string;
|
|
@@ -4566,6 +4682,30 @@ interface SandboxExecResult {
|
|
|
4566
4682
|
durationMs?: number;
|
|
4567
4683
|
duration_ms?: number;
|
|
4568
4684
|
}
|
|
4685
|
+
interface SandboxExportFile {
|
|
4686
|
+
path: string;
|
|
4687
|
+
filename?: string;
|
|
4688
|
+
download_url?: string;
|
|
4689
|
+
downloadUrl?: string;
|
|
4690
|
+
}
|
|
4691
|
+
interface SandboxExport {
|
|
4692
|
+
id: string;
|
|
4693
|
+
sandbox_id?: string;
|
|
4694
|
+
sandboxId?: string;
|
|
4695
|
+
label?: string | null;
|
|
4696
|
+
status: string;
|
|
4697
|
+
files: SandboxExportFile[];
|
|
4698
|
+
archive_download_url?: string;
|
|
4699
|
+
archiveDownloadUrl?: string;
|
|
4700
|
+
created_at?: string;
|
|
4701
|
+
createdAt?: string;
|
|
4702
|
+
}
|
|
4703
|
+
interface SandboxExportParams {
|
|
4704
|
+
path?: string;
|
|
4705
|
+
paths?: string[];
|
|
4706
|
+
label?: string;
|
|
4707
|
+
filename?: string;
|
|
4708
|
+
}
|
|
4569
4709
|
type SandboxExecEvent = {
|
|
4570
4710
|
type?: "stdout";
|
|
4571
4711
|
line: string;
|
|
@@ -4593,6 +4733,7 @@ interface SandboxData {
|
|
|
4593
4733
|
disk_mb?: number | null;
|
|
4594
4734
|
disk_size_mb?: number | null;
|
|
4595
4735
|
timeout_sec?: number | null;
|
|
4736
|
+
persistent?: boolean;
|
|
4596
4737
|
boot_path?: string | null;
|
|
4597
4738
|
boot_ms?: number | null;
|
|
4598
4739
|
ready_at?: string | null;
|
|
@@ -4920,6 +5061,10 @@ declare class Sandbox {
|
|
|
4920
5061
|
private execStream;
|
|
4921
5062
|
writeFile(path: string, content: string | Uint8Array): Promise<void>;
|
|
4922
5063
|
download(path: string): Promise<Uint8Array>;
|
|
5064
|
+
createExport(params: string | string[] | SandboxExportParams): Promise<SandboxExport>;
|
|
5065
|
+
downloadExport(paths: string | string[], options?: {
|
|
5066
|
+
filename?: string;
|
|
5067
|
+
}): Promise<Uint8Array>;
|
|
4923
5068
|
readFile(path: string): Promise<string>;
|
|
4924
5069
|
listFiles(path?: string): Promise<SandboxFileList>;
|
|
4925
5070
|
statFile(path: string): Promise<SandboxFileStat>;
|
|
@@ -5397,11 +5542,62 @@ interface TenantPlan {
|
|
|
5397
5542
|
usage?: Record<string, unknown>;
|
|
5398
5543
|
[key: string]: unknown;
|
|
5399
5544
|
}
|
|
5545
|
+
interface PreviewDomainData {
|
|
5546
|
+
preview_domain?: string | null;
|
|
5547
|
+
default_domain?: string;
|
|
5548
|
+
status?: string;
|
|
5549
|
+
dns_status?: string;
|
|
5550
|
+
cname_target?: string | null;
|
|
5551
|
+
dns_instructions?: unknown;
|
|
5552
|
+
[key: string]: unknown;
|
|
5553
|
+
}
|
|
5554
|
+
interface TenantBrandingUpdateParams {
|
|
5555
|
+
product_name?: string;
|
|
5556
|
+
logo_url?: string;
|
|
5557
|
+
support_url?: string;
|
|
5558
|
+
support_email?: string;
|
|
5559
|
+
primary_color?: string;
|
|
5560
|
+
background_color?: string;
|
|
5561
|
+
[key: string]: unknown;
|
|
5562
|
+
}
|
|
5563
|
+
type BrandingData = TenantBrandingUpdateParams;
|
|
5564
|
+
declare class PreviewDomain {
|
|
5565
|
+
private readonly http;
|
|
5566
|
+
constructor(http: HttpClient);
|
|
5567
|
+
/** Get the tenant's white-label preview domain settings. */
|
|
5568
|
+
get(): Promise<PreviewDomainData>;
|
|
5569
|
+
/** Set the tenant's white-label preview domain. */
|
|
5570
|
+
set(domain: string): Promise<PreviewDomainData>;
|
|
5571
|
+
/** Re-run DNS verification for the configured preview domain. */
|
|
5572
|
+
verify(): Promise<PreviewDomainData>;
|
|
5573
|
+
/** Remove the tenant's custom preview domain. */
|
|
5574
|
+
delete(): Promise<void>;
|
|
5575
|
+
}
|
|
5576
|
+
declare class Branding {
|
|
5577
|
+
private readonly http;
|
|
5578
|
+
constructor(http: HttpClient);
|
|
5579
|
+
/** Get tenant branding used by white-label hosted surfaces. */
|
|
5580
|
+
get(): Promise<BrandingData>;
|
|
5581
|
+
/** Update tenant branding used by white-label hosted surfaces. */
|
|
5582
|
+
set(params: TenantBrandingUpdateParams): Promise<BrandingData>;
|
|
5583
|
+
/** Reset tenant branding to platform defaults. */
|
|
5584
|
+
delete(): Promise<void>;
|
|
5585
|
+
}
|
|
5400
5586
|
declare class Tenant {
|
|
5401
5587
|
private readonly http;
|
|
5588
|
+
readonly preview_domain: PreviewDomain;
|
|
5589
|
+
readonly branding: Branding;
|
|
5590
|
+
/** camelCase alias for SDK consumers that avoid snake_case properties. */
|
|
5591
|
+
readonly previewDomain: PreviewDomain;
|
|
5402
5592
|
constructor(http: HttpClient);
|
|
5403
5593
|
/** Get the current tenant's plan, limits, and live usage counters. */
|
|
5404
5594
|
current(): Promise<TenantPlan>;
|
|
5595
|
+
/** Convenience alias for `tenant.branding.get()`. */
|
|
5596
|
+
getBranding(): Promise<BrandingData>;
|
|
5597
|
+
/** Convenience alias for `tenant.branding.set(...)`. */
|
|
5598
|
+
setBranding(params: TenantBrandingUpdateParams): Promise<BrandingData>;
|
|
5599
|
+
/** Convenience alias for `tenant.branding.delete()`. */
|
|
5600
|
+
deleteBranding(): Promise<void>;
|
|
5405
5601
|
}
|
|
5406
5602
|
|
|
5407
5603
|
/**
|
|
@@ -5539,8 +5735,16 @@ interface WebhookUpdateParams {
|
|
|
5539
5735
|
enabled?: boolean;
|
|
5540
5736
|
[key: string]: unknown;
|
|
5541
5737
|
}
|
|
5738
|
+
/**
|
|
5739
|
+
* Verify the `Miosa-Signature` webhook header.
|
|
5740
|
+
*
|
|
5741
|
+
* Header format: `t=<unix_seconds>,v1=<hex_hmac>`.
|
|
5742
|
+
* Signed payload: `<timestamp>.<raw_body>`.
|
|
5743
|
+
*/
|
|
5744
|
+
declare function verifySignature(body: Buffer | Uint8Array | string, header: string, secret: string, toleranceSec?: number): boolean;
|
|
5542
5745
|
declare class Webhooks {
|
|
5543
5746
|
private readonly http;
|
|
5747
|
+
static verifySignature: typeof verifySignature;
|
|
5544
5748
|
constructor(http: HttpClient);
|
|
5545
5749
|
list(params?: WebhookListParams): Promise<WebhookData[]>;
|
|
5546
5750
|
get(webhookId: string): Promise<WebhookData>;
|
|
@@ -5783,8 +5987,6 @@ declare class WorkspaceInvites {
|
|
|
5783
5987
|
declare class Miosa {
|
|
5784
5988
|
/** Per-workspace user roster — list, add, update role, remove. */
|
|
5785
5989
|
readonly workspaceMembers: WorkspaceMembers;
|
|
5786
|
-
/** Target-agnostic prompt dispatch to sandboxes/computers with durable records. */
|
|
5787
|
-
readonly agentRuns: AgentRuns;
|
|
5788
5990
|
/**
|
|
5789
5991
|
* Workspace invite flow — create invite, list, revoke, preview, accept.
|
|
5790
5992
|
* Sending to an email already in the org adds the user directly.
|
|
@@ -5821,6 +6023,10 @@ declare class Miosa {
|
|
|
5821
6023
|
readonly externalKeys: ExternalKeys;
|
|
5822
6024
|
/** Model Context Protocol — JSON-RPC dispatch + streaming channel. */
|
|
5823
6025
|
readonly mcp: Mcp;
|
|
6026
|
+
/** Agent Runs — prompt dispatch into sandbox targets. */
|
|
6027
|
+
readonly agentRuns: AgentRuns;
|
|
6028
|
+
/** Agent runtime profiles — tenant/workspace defaults for sandbox/computer agents. */
|
|
6029
|
+
readonly agentRuntimeProfiles: AgentRuntimeProfiles;
|
|
5824
6030
|
/** Computer management — create, list, get, delete. */
|
|
5825
6031
|
readonly computers: Computers;
|
|
5826
6032
|
/** Sandboxes — native code-execution environments under `/sandboxes`. */
|
|
@@ -6030,4 +6236,4 @@ declare class NetworkError extends MiosaError {
|
|
|
6030
6236
|
constructor(message: string, cause: Error);
|
|
6031
6237
|
}
|
|
6032
6238
|
|
|
6033
|
-
export { type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, type AgentRunCreateParams, type AgentRunData, type AgentRunId, type AgentRunListParams, type AgentRunProvider, type AgentRunStatus, type AgentRunTargetKind, AgentRuns, 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 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, 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 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, 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 DirEntry, type DirListResult, type DiscordSendTestParams, DockerDeploy, type DockerDeployApplianceStatus, type DockerDeployCreateParams, 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, 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, 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, Mcp, type McpDispatchParams, Miosa, type MiosaClientConfig, MiosaError, 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, ProjectAuth, type ProjectAuthEnableParams, type ProjectAuthStatus, type ProjectAuthUpdateParams, type ProjectIntegrationCatalogEntry, type ProjectIntegrationCreateParams, type ProjectIntegrationData, type ProjectIntegrationListParams, type ProjectIntegrationUpdateParams, ProjectIntegrations, ProviderDefaults, type ProviderKeyUpsertParams, type PublishFromSandboxParams, type PublishParams, type PublishResult, RateLimitError, type RegionData, Regions, type RollbackParams, type RulesListParams, type RuntimeInstanceData, type RuntimeInstanceId, type RuntimeInstanceState, type RuntimeLogsResult, SANDBOX_TEMPLATE, Sandbox, SandboxArtifacts, SandboxAudit, type SandboxBuildSpec, type SandboxBuildSpecError, type SandboxBuildSpecValidation, SandboxCommands, 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, 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, type SuggestionsParams, type TemplateBuildCreateParams, type TemplateCreateParams, type TemplateData, Tenant, type TenantId, type TenantPlan, type TenantSummary, type TerminalCreateParams, TimeoutError, type TimeseriesParams, 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, 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 };
|
|
6239
|
+
export { type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, type AgentRun, type AgentRunCreateParams, type AgentRunListParams, type AgentRunStatus, type AgentRunTargetKind, 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, 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 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, 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 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, 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, 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, Mcp, type McpDispatchParams, Miosa, type MiosaClientConfig, MiosaError, 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, ProviderDefaults, type ProviderKeyUpsertParams, type PublishFromSandboxParams, type PublishParams, type PublishResult, RateLimitError, type RegionData, Regions, type RollbackParams, type RulesListParams, type RuntimeInstanceData, type RuntimeInstanceId, type RuntimeInstanceState, type RuntimeLogsResult, SANDBOX_TEMPLATE, Sandbox, SandboxArtifacts, SandboxAudit, type SandboxBuildSpec, type SandboxBuildSpecError, type SandboxBuildSpecValidation, SandboxCommands, 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, 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, type SuggestionsParams, type TemplateBuildCreateParams, type TemplateCreateParams, type TemplateData, Tenant, type TenantBrandingUpdateParams, type TenantId, type TenantPlan, type TenantSummary, type TerminalCreateParams, TimeoutError, type TimeseriesParams, 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, 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 };
|