@miosa/sdk 2.0.3 → 2.0.6
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 +24 -0
- package/dist/index.d.ts +326 -70
- package/dist/index.js +815 -316
- package/dist/index.js.map +1 -1
- package/package.json +13 -12
package/README.md
CHANGED
|
@@ -291,6 +291,30 @@ const deployment = await sbx.deploy({
|
|
|
291
291
|
});
|
|
292
292
|
```
|
|
293
293
|
|
|
294
|
+
To publish the exact snapshot that passed QA instead of whatever the editable
|
|
295
|
+
sandbox holds right now, use `deploySnapshot`. It forks the snapshot into a
|
|
296
|
+
temporary release sandbox, deploys that fork, and destroys it again, so the
|
|
297
|
+
source sandbox is never mutated:
|
|
298
|
+
|
|
299
|
+
```ts
|
|
300
|
+
const snap = await sbx.snapshots.create("qa-approved");
|
|
301
|
+
|
|
302
|
+
const release = await sbx.deploySnapshot(snap.id, {
|
|
303
|
+
name: "clinic-intake",
|
|
304
|
+
outputPath: "/workspace/dist",
|
|
305
|
+
entrypoint: "index.html",
|
|
306
|
+
});
|
|
307
|
+
|
|
308
|
+
console.log(release.source_snapshot_id, release.release_sandbox_id);
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
The result always carries `source_snapshot_id` and `release_sandbox_id` for
|
|
312
|
+
provenance. Pass `{ cleanup: false }` as the third argument to keep the release
|
|
313
|
+
sandbox for inspection. If the release sandbox could not be destroyed, the
|
|
314
|
+
deployment still succeeds and `release.release_cleanup_error` explains why; when
|
|
315
|
+
the deploy itself fails and the release sandbox survives, the thrown error
|
|
316
|
+
carries the same fields so the leftover sandbox can be cleaned up by id.
|
|
317
|
+
|
|
294
318
|
For workspace App Engine, publish from the same sandbox but choose the
|
|
295
319
|
App Engine target:
|
|
296
320
|
|
package/dist/index.d.ts
CHANGED
|
@@ -443,6 +443,9 @@ type RunTargetKind = "sandbox" | "computer";
|
|
|
443
443
|
type RunStatus = "running" | "succeeded" | "failed" | "canceled";
|
|
444
444
|
interface Run {
|
|
445
445
|
id: string;
|
|
446
|
+
agent_definition_id?: string | null;
|
|
447
|
+
agent_version_id?: string | null;
|
|
448
|
+
configuration_receipt?: Record<string, unknown> | null;
|
|
446
449
|
run_group_id?: string;
|
|
447
450
|
parent_run_id?: string;
|
|
448
451
|
orchestration_role?: string;
|
|
@@ -603,6 +606,9 @@ interface RunCreateParams {
|
|
|
603
606
|
env?: Record<string, string>;
|
|
604
607
|
agentRuntimeProfileId?: string;
|
|
605
608
|
agentProfileId?: string;
|
|
609
|
+
agentDefinitionId?: string;
|
|
610
|
+
agentVersionId?: string;
|
|
611
|
+
configurationReceipt?: Record<string, unknown>;
|
|
606
612
|
runGroupId?: string;
|
|
607
613
|
parentRunId?: string;
|
|
608
614
|
orchestrationRole?: string;
|
|
@@ -850,6 +856,62 @@ declare class AgentRuntimeProfiles {
|
|
|
850
856
|
delete(id: string): Promise<void>;
|
|
851
857
|
}
|
|
852
858
|
|
|
859
|
+
interface AgentVersionData {
|
|
860
|
+
id: string;
|
|
861
|
+
agent_definition_id: string;
|
|
862
|
+
version: number;
|
|
863
|
+
fingerprint: string;
|
|
864
|
+
configuration: Record<string, unknown>;
|
|
865
|
+
published_by_user_id?: string | null;
|
|
866
|
+
published_at: string;
|
|
867
|
+
}
|
|
868
|
+
interface AgentDefinitionData {
|
|
869
|
+
id: string;
|
|
870
|
+
tenant_id: string;
|
|
871
|
+
workspace_id: string;
|
|
872
|
+
project_id?: string | null;
|
|
873
|
+
name: string;
|
|
874
|
+
description?: string | null;
|
|
875
|
+
status: "active" | "archived" | string;
|
|
876
|
+
metadata: Record<string, unknown>;
|
|
877
|
+
latest_version: AgentVersionData;
|
|
878
|
+
versions?: AgentVersionData[];
|
|
879
|
+
created_at: string;
|
|
880
|
+
updated_at: string;
|
|
881
|
+
}
|
|
882
|
+
interface AgentDefinitionListParams {
|
|
883
|
+
workspaceId?: string;
|
|
884
|
+
workspace_id?: string;
|
|
885
|
+
projectId?: string;
|
|
886
|
+
project_id?: string;
|
|
887
|
+
status?: "active" | "archived" | "all" | string;
|
|
888
|
+
}
|
|
889
|
+
interface AgentDefinitionCreateParams {
|
|
890
|
+
workspaceId?: string;
|
|
891
|
+
workspace_id?: string;
|
|
892
|
+
projectId?: string;
|
|
893
|
+
project_id?: string;
|
|
894
|
+
name: string;
|
|
895
|
+
description?: string;
|
|
896
|
+
metadata?: Record<string, unknown>;
|
|
897
|
+
configuration: Record<string, unknown>;
|
|
898
|
+
}
|
|
899
|
+
interface AgentDefinitionUpdateParams {
|
|
900
|
+
name?: string;
|
|
901
|
+
description?: string;
|
|
902
|
+
metadata?: Record<string, unknown>;
|
|
903
|
+
}
|
|
904
|
+
declare class AgentDefinitions {
|
|
905
|
+
private readonly http;
|
|
906
|
+
constructor(http: HttpClient);
|
|
907
|
+
list(params?: AgentDefinitionListParams): Promise<AgentDefinitionData[]>;
|
|
908
|
+
get(id: string): Promise<AgentDefinitionData>;
|
|
909
|
+
create(params: AgentDefinitionCreateParams): Promise<AgentDefinitionData>;
|
|
910
|
+
update(id: string, params: AgentDefinitionUpdateParams): Promise<AgentDefinitionData>;
|
|
911
|
+
publish(id: string, configuration: Record<string, unknown>): Promise<AgentVersionData>;
|
|
912
|
+
archive(id: string): Promise<void>;
|
|
913
|
+
}
|
|
914
|
+
|
|
853
915
|
/**
|
|
854
916
|
* Analytics — overview + timeseries (admin scope).
|
|
855
917
|
*/
|
|
@@ -5132,6 +5194,259 @@ declare class Functions {
|
|
|
5132
5194
|
invoke(functionId: string, params?: FunctionInvokeParams): Promise<Record<string, unknown>>;
|
|
5133
5195
|
}
|
|
5134
5196
|
|
|
5197
|
+
interface MiosaErrorBody {
|
|
5198
|
+
error?: string | {
|
|
5199
|
+
code?: string;
|
|
5200
|
+
message?: string;
|
|
5201
|
+
details?: unknown;
|
|
5202
|
+
};
|
|
5203
|
+
message?: string;
|
|
5204
|
+
code?: string;
|
|
5205
|
+
detail?: string;
|
|
5206
|
+
details?: unknown;
|
|
5207
|
+
reason?: string;
|
|
5208
|
+
request_id?: string;
|
|
5209
|
+
}
|
|
5210
|
+
declare class MiosaError extends Error {
|
|
5211
|
+
readonly status: number;
|
|
5212
|
+
readonly code: string;
|
|
5213
|
+
readonly details: unknown;
|
|
5214
|
+
readonly requestId: string | undefined;
|
|
5215
|
+
constructor(message: string, status: number, code: string, details?: unknown, requestId?: string);
|
|
5216
|
+
static fromResponse(status: number, body: MiosaErrorBody, requestId?: string): MiosaError;
|
|
5217
|
+
}
|
|
5218
|
+
declare class AuthError extends MiosaError {
|
|
5219
|
+
constructor(message: string, status?: number, code?: string, details?: unknown, requestId?: string);
|
|
5220
|
+
}
|
|
5221
|
+
declare class NotFoundError extends MiosaError {
|
|
5222
|
+
constructor(message: string, code?: string, details?: unknown, requestId?: string);
|
|
5223
|
+
}
|
|
5224
|
+
declare class RateLimitError extends MiosaError {
|
|
5225
|
+
readonly retryAfter: number | undefined;
|
|
5226
|
+
constructor(message: string, details?: unknown, requestId?: string, retryAfter?: number);
|
|
5227
|
+
}
|
|
5228
|
+
declare class InsufficientCreditsError extends MiosaError {
|
|
5229
|
+
constructor(message: string, details?: unknown, requestId?: string);
|
|
5230
|
+
}
|
|
5231
|
+
declare class ValidationError extends MiosaError {
|
|
5232
|
+
constructor(message: string, status: number, code?: string, details?: unknown, requestId?: string);
|
|
5233
|
+
}
|
|
5234
|
+
declare class TimeoutError extends MiosaError {
|
|
5235
|
+
constructor(message?: string);
|
|
5236
|
+
}
|
|
5237
|
+
declare class NetworkError extends MiosaError {
|
|
5238
|
+
readonly cause: Error;
|
|
5239
|
+
constructor(message: string, cause: Error);
|
|
5240
|
+
}
|
|
5241
|
+
declare class ProjectNotLinkedError extends MiosaError {
|
|
5242
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5243
|
+
}
|
|
5244
|
+
declare class SubjectNotAllowedError extends MiosaError {
|
|
5245
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5246
|
+
}
|
|
5247
|
+
declare class ScopeNotAllowedError extends MiosaError {
|
|
5248
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5249
|
+
}
|
|
5250
|
+
declare class ManagedProviderBindingOnlyError extends MiosaError {
|
|
5251
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5252
|
+
}
|
|
5253
|
+
declare class InstallationRequiredError extends MiosaError {
|
|
5254
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5255
|
+
}
|
|
5256
|
+
declare class UserAuthorizationRequiredError extends MiosaError {
|
|
5257
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5258
|
+
}
|
|
5259
|
+
declare class EgressHostNotAllowedError extends MiosaError {
|
|
5260
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5261
|
+
}
|
|
5262
|
+
declare class TokenRefreshFailedError extends MiosaError {
|
|
5263
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5264
|
+
}
|
|
5265
|
+
|
|
5266
|
+
type ForgeRepositoryId = string & {
|
|
5267
|
+
readonly __brand: "ForgeRepositoryId";
|
|
5268
|
+
};
|
|
5269
|
+
type ForgeOrganizationId = string & {
|
|
5270
|
+
readonly __brand: "ForgeOrganizationId";
|
|
5271
|
+
};
|
|
5272
|
+
type ForgeRepositoryVisibility = "public" | "private" | "internal";
|
|
5273
|
+
type ForgeRepositoryState = "provisioning" | "active" | "error" | "deletion_pending" | "deleted";
|
|
5274
|
+
interface ForgeRepository {
|
|
5275
|
+
id: ForgeRepositoryId;
|
|
5276
|
+
name: string;
|
|
5277
|
+
slug: string;
|
|
5278
|
+
default_branch: string;
|
|
5279
|
+
visibility: ForgeRepositoryVisibility;
|
|
5280
|
+
state: ForgeRepositoryState;
|
|
5281
|
+
clone_ready: boolean;
|
|
5282
|
+
clone_url: string | null;
|
|
5283
|
+
project_ids: string[];
|
|
5284
|
+
created_at: string;
|
|
5285
|
+
updated_at: string;
|
|
5286
|
+
}
|
|
5287
|
+
interface ForgeRepositoryCreateParams {
|
|
5288
|
+
name: string;
|
|
5289
|
+
slug?: string;
|
|
5290
|
+
defaultBranch?: string;
|
|
5291
|
+
visibility?: ForgeRepositoryVisibility;
|
|
5292
|
+
projectIds?: string[];
|
|
5293
|
+
idempotencyKey?: string;
|
|
5294
|
+
}
|
|
5295
|
+
interface ForgeRepositoryUpdateParams {
|
|
5296
|
+
name?: string;
|
|
5297
|
+
slug?: string;
|
|
5298
|
+
visibility?: ForgeRepositoryVisibility;
|
|
5299
|
+
projectIds?: string[];
|
|
5300
|
+
}
|
|
5301
|
+
interface ForgeRepositoryDeleteOptions {
|
|
5302
|
+
/** Deprecated: delete is inherently replay-safe and accepts no key in v1. */
|
|
5303
|
+
idempotencyKey?: never;
|
|
5304
|
+
}
|
|
5305
|
+
interface ForgeCapabilities {
|
|
5306
|
+
api_version: "v1";
|
|
5307
|
+
ownership: "organization";
|
|
5308
|
+
detail_locator: "repository_id";
|
|
5309
|
+
lifecycle_states: ForgeRepositoryState[];
|
|
5310
|
+
visibility_values: ForgeRepositoryVisibility[];
|
|
5311
|
+
clone_ready_states: ["active"];
|
|
5312
|
+
base_url: string;
|
|
5313
|
+
features: Record<string, boolean>;
|
|
5314
|
+
}
|
|
5315
|
+
interface ForgeDeleteReceipt {
|
|
5316
|
+
operation_id: ForgeRepositoryId;
|
|
5317
|
+
replayed: boolean;
|
|
5318
|
+
}
|
|
5319
|
+
interface ForgeNamedRef {
|
|
5320
|
+
name: string;
|
|
5321
|
+
oid: string;
|
|
5322
|
+
}
|
|
5323
|
+
interface ForgeBranch extends ForgeNamedRef {
|
|
5324
|
+
is_default: boolean;
|
|
5325
|
+
}
|
|
5326
|
+
interface ForgeRepositoryRefs {
|
|
5327
|
+
default_branch: string;
|
|
5328
|
+
head_oid: string | null;
|
|
5329
|
+
branches: ForgeBranch[];
|
|
5330
|
+
tags: ForgeNamedRef[];
|
|
5331
|
+
}
|
|
5332
|
+
type ForgeTreeEntryType = "blob" | "tree";
|
|
5333
|
+
interface ForgeTreeEntry {
|
|
5334
|
+
name: string;
|
|
5335
|
+
path: string;
|
|
5336
|
+
type: ForgeTreeEntryType;
|
|
5337
|
+
oid: string;
|
|
5338
|
+
size: number | null;
|
|
5339
|
+
}
|
|
5340
|
+
interface ForgeRepositoryTree {
|
|
5341
|
+
ref: string;
|
|
5342
|
+
commit_oid: string;
|
|
5343
|
+
path: string;
|
|
5344
|
+
entries: ForgeTreeEntry[];
|
|
5345
|
+
truncated: boolean;
|
|
5346
|
+
}
|
|
5347
|
+
type ForgeBlobEncoding = "utf-8" | "base64";
|
|
5348
|
+
interface ForgeRepositoryBlob {
|
|
5349
|
+
ref: string;
|
|
5350
|
+
commit_oid: string;
|
|
5351
|
+
path: string;
|
|
5352
|
+
oid: string;
|
|
5353
|
+
size: number;
|
|
5354
|
+
encoding: ForgeBlobEncoding;
|
|
5355
|
+
content: string;
|
|
5356
|
+
}
|
|
5357
|
+
interface ForgeCommit {
|
|
5358
|
+
oid: string;
|
|
5359
|
+
short_oid: string;
|
|
5360
|
+
subject: string;
|
|
5361
|
+
author_name: string;
|
|
5362
|
+
author_email: string;
|
|
5363
|
+
authored_at: string;
|
|
5364
|
+
committer_name: string;
|
|
5365
|
+
committed_at: string;
|
|
5366
|
+
parents: string[];
|
|
5367
|
+
}
|
|
5368
|
+
interface ForgeCommitHistory {
|
|
5369
|
+
ref: string;
|
|
5370
|
+
path: string;
|
|
5371
|
+
commits: ForgeCommit[];
|
|
5372
|
+
page: {
|
|
5373
|
+
has_more: boolean;
|
|
5374
|
+
next_cursor: string | null;
|
|
5375
|
+
};
|
|
5376
|
+
}
|
|
5377
|
+
interface ForgeContentLocation {
|
|
5378
|
+
ref?: string;
|
|
5379
|
+
path?: string;
|
|
5380
|
+
}
|
|
5381
|
+
interface ForgeCommitQuery extends ForgeContentLocation {
|
|
5382
|
+
limit?: number;
|
|
5383
|
+
cursor?: string;
|
|
5384
|
+
}
|
|
5385
|
+
interface ForgeFileAuthoringParams {
|
|
5386
|
+
branch?: string;
|
|
5387
|
+
expectedHead: string;
|
|
5388
|
+
message?: string;
|
|
5389
|
+
content?: string;
|
|
5390
|
+
idempotencyKey?: string;
|
|
5391
|
+
}
|
|
5392
|
+
interface ForgeFileOperationReceipt {
|
|
5393
|
+
operation_id: string;
|
|
5394
|
+
repository_id: ForgeRepositoryId;
|
|
5395
|
+
branch: string;
|
|
5396
|
+
path: string;
|
|
5397
|
+
action: "create" | "update" | "delete";
|
|
5398
|
+
previous_head: string;
|
|
5399
|
+
new_head: string;
|
|
5400
|
+
commit: Omit<ForgeCommit, "parents"> & {
|
|
5401
|
+
committer_email: string;
|
|
5402
|
+
signature_status: "unsigned";
|
|
5403
|
+
};
|
|
5404
|
+
policy: {
|
|
5405
|
+
decision: "allowed";
|
|
5406
|
+
receipt_ids: string[];
|
|
5407
|
+
};
|
|
5408
|
+
replayed: boolean;
|
|
5409
|
+
}
|
|
5410
|
+
declare class ForgeContractError extends MiosaError {
|
|
5411
|
+
constructor(message: string, details?: unknown);
|
|
5412
|
+
}
|
|
5413
|
+
declare class ForgeUnavailableError extends MiosaError {
|
|
5414
|
+
constructor(message: string, cause: MiosaError);
|
|
5415
|
+
}
|
|
5416
|
+
declare class ForgeStorageError extends MiosaError {
|
|
5417
|
+
constructor(message: string, cause: MiosaError);
|
|
5418
|
+
}
|
|
5419
|
+
declare class ForgePolicyViolationError extends MiosaError {
|
|
5420
|
+
constructor(message: string, cause: MiosaError);
|
|
5421
|
+
}
|
|
5422
|
+
declare class ForgeRepositories {
|
|
5423
|
+
private readonly http;
|
|
5424
|
+
constructor(http: HttpClient);
|
|
5425
|
+
create(params: ForgeRepositoryCreateParams): Promise<ForgeRepository>;
|
|
5426
|
+
list(): Promise<ForgeRepository[]>;
|
|
5427
|
+
get(id: ForgeRepositoryId): Promise<ForgeRepository>;
|
|
5428
|
+
refs(id: ForgeRepositoryId): Promise<ForgeRepositoryRefs>;
|
|
5429
|
+
tree(id: ForgeRepositoryId, location?: ForgeContentLocation): Promise<ForgeRepositoryTree>;
|
|
5430
|
+
blob(id: ForgeRepositoryId, location: ForgeContentLocation & {
|
|
5431
|
+
path: string;
|
|
5432
|
+
}): Promise<ForgeRepositoryBlob>;
|
|
5433
|
+
readme(id: ForgeRepositoryId, location?: ForgeContentLocation): Promise<ForgeRepositoryBlob>;
|
|
5434
|
+
commits(id: ForgeRepositoryId, query?: ForgeCommitQuery): Promise<ForgeCommitHistory>;
|
|
5435
|
+
putFile(id: ForgeRepositoryId, path: string, params: ForgeFileAuthoringParams & {
|
|
5436
|
+
content: string;
|
|
5437
|
+
}): Promise<ForgeFileOperationReceipt>;
|
|
5438
|
+
deleteFile(id: ForgeRepositoryId, path: string, params: ForgeFileAuthoringParams): Promise<ForgeFileOperationReceipt>;
|
|
5439
|
+
private authorFile;
|
|
5440
|
+
update(id: ForgeRepositoryId, params: ForgeRepositoryUpdateParams): Promise<ForgeRepository>;
|
|
5441
|
+
delete(id: ForgeRepositoryId, _options?: ForgeRepositoryDeleteOptions): Promise<ForgeDeleteReceipt>;
|
|
5442
|
+
}
|
|
5443
|
+
declare class Forge {
|
|
5444
|
+
readonly repositories: ForgeRepositories;
|
|
5445
|
+
constructor(http: HttpClient);
|
|
5446
|
+
private readonly http;
|
|
5447
|
+
capabilities(): Promise<ForgeCapabilities>;
|
|
5448
|
+
}
|
|
5449
|
+
|
|
5135
5450
|
/**
|
|
5136
5451
|
* HealthChecks resource — uptime monitoring.
|
|
5137
5452
|
*/
|
|
@@ -6619,6 +6934,8 @@ interface SandboxUsage {
|
|
|
6619
6934
|
timeout_remaining_ms: number | null;
|
|
6620
6935
|
}
|
|
6621
6936
|
interface SandboxForkParams {
|
|
6937
|
+
snapshotId?: string;
|
|
6938
|
+
snapshot_id?: string;
|
|
6622
6939
|
timeoutSec?: number;
|
|
6623
6940
|
timeout_sec?: number;
|
|
6624
6941
|
templateId?: string;
|
|
@@ -7057,6 +7374,11 @@ declare class Sandbox {
|
|
|
7057
7374
|
resume(idempotencyKey?: string): Promise<Sandbox>;
|
|
7058
7375
|
deploy(params?: SandboxDeployParams): Promise<Record<string, unknown>>;
|
|
7059
7376
|
deployDocker(params?: SandboxDeployParams): Promise<Record<string, unknown>>;
|
|
7377
|
+
/** Deploy an immutable snapshot without modifying the editable sandbox. */
|
|
7378
|
+
deploySnapshot(snapshotId: string, params?: SandboxDeployParams, options?: {
|
|
7379
|
+
cleanup?: boolean;
|
|
7380
|
+
forkIdempotencyKey?: string;
|
|
7381
|
+
}): Promise<Record<string, unknown>>;
|
|
7060
7382
|
/** Check readiness of the sandbox (GET /sandboxes/:id/readiness). */
|
|
7061
7383
|
readiness(): Promise<Record<string, unknown>>;
|
|
7062
7384
|
/**
|
|
@@ -8117,6 +8439,7 @@ declare class Miosa {
|
|
|
8117
8439
|
readonly orgInvites: OrgInvites;
|
|
8118
8440
|
/** Organizations available to the user session, membership, invites, and switching. */
|
|
8119
8441
|
readonly organizations: Organizations;
|
|
8442
|
+
readonly forge: Forge;
|
|
8120
8443
|
/** Current tenant plan, limits, and live usage counters. */
|
|
8121
8444
|
readonly tenant: Tenant;
|
|
8122
8445
|
/** Datacenter regions, compute sizes, pricing, community templates. */
|
|
@@ -8157,6 +8480,8 @@ declare class Miosa {
|
|
|
8157
8480
|
readonly agentRunGroups: AgentRunGroups;
|
|
8158
8481
|
/** Agent runtime profiles — tenant/workspace defaults for sandbox/computer agents. */
|
|
8159
8482
|
readonly agentRuntimeProfiles: AgentRuntimeProfiles;
|
|
8483
|
+
/** Persisted workspace Agent definitions and immutable versions. */
|
|
8484
|
+
readonly agents: AgentDefinitions;
|
|
8160
8485
|
/** MIOSA Connect — provider connectors and runtime tokens. */
|
|
8161
8486
|
readonly connectors: Connectors;
|
|
8162
8487
|
/** Inherited runtime env — tenant/workspace/project defaults for agent runtimes. */
|
|
@@ -8452,73 +8777,4 @@ declare class AppAuth {
|
|
|
8452
8777
|
private _post;
|
|
8453
8778
|
}
|
|
8454
8779
|
|
|
8455
|
-
interface MiosaErrorBody {
|
|
8456
|
-
error?: string | {
|
|
8457
|
-
code?: string;
|
|
8458
|
-
message?: string;
|
|
8459
|
-
details?: unknown;
|
|
8460
|
-
};
|
|
8461
|
-
message?: string;
|
|
8462
|
-
code?: string;
|
|
8463
|
-
detail?: string;
|
|
8464
|
-
details?: unknown;
|
|
8465
|
-
reason?: string;
|
|
8466
|
-
request_id?: string;
|
|
8467
|
-
}
|
|
8468
|
-
declare class MiosaError extends Error {
|
|
8469
|
-
readonly status: number;
|
|
8470
|
-
readonly code: string;
|
|
8471
|
-
readonly details: unknown;
|
|
8472
|
-
readonly requestId: string | undefined;
|
|
8473
|
-
constructor(message: string, status: number, code: string, details?: unknown, requestId?: string);
|
|
8474
|
-
static fromResponse(status: number, body: MiosaErrorBody, requestId?: string): MiosaError;
|
|
8475
|
-
}
|
|
8476
|
-
declare class AuthError extends MiosaError {
|
|
8477
|
-
constructor(message: string, status?: number, code?: string, details?: unknown, requestId?: string);
|
|
8478
|
-
}
|
|
8479
|
-
declare class NotFoundError extends MiosaError {
|
|
8480
|
-
constructor(message: string, code?: string, details?: unknown, requestId?: string);
|
|
8481
|
-
}
|
|
8482
|
-
declare class RateLimitError extends MiosaError {
|
|
8483
|
-
readonly retryAfter: number | undefined;
|
|
8484
|
-
constructor(message: string, details?: unknown, requestId?: string, retryAfter?: number);
|
|
8485
|
-
}
|
|
8486
|
-
declare class InsufficientCreditsError extends MiosaError {
|
|
8487
|
-
constructor(message: string, details?: unknown, requestId?: string);
|
|
8488
|
-
}
|
|
8489
|
-
declare class ValidationError extends MiosaError {
|
|
8490
|
-
constructor(message: string, status: number, code?: string, details?: unknown, requestId?: string);
|
|
8491
|
-
}
|
|
8492
|
-
declare class TimeoutError extends MiosaError {
|
|
8493
|
-
constructor(message?: string);
|
|
8494
|
-
}
|
|
8495
|
-
declare class NetworkError extends MiosaError {
|
|
8496
|
-
readonly cause: Error;
|
|
8497
|
-
constructor(message: string, cause: Error);
|
|
8498
|
-
}
|
|
8499
|
-
declare class ProjectNotLinkedError extends MiosaError {
|
|
8500
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8501
|
-
}
|
|
8502
|
-
declare class SubjectNotAllowedError extends MiosaError {
|
|
8503
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8504
|
-
}
|
|
8505
|
-
declare class ScopeNotAllowedError extends MiosaError {
|
|
8506
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8507
|
-
}
|
|
8508
|
-
declare class ManagedProviderBindingOnlyError extends MiosaError {
|
|
8509
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8510
|
-
}
|
|
8511
|
-
declare class InstallationRequiredError extends MiosaError {
|
|
8512
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8513
|
-
}
|
|
8514
|
-
declare class UserAuthorizationRequiredError extends MiosaError {
|
|
8515
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8516
|
-
}
|
|
8517
|
-
declare class EgressHostNotAllowedError extends MiosaError {
|
|
8518
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8519
|
-
}
|
|
8520
|
-
declare class TokenRefreshFailedError extends MiosaError {
|
|
8521
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8522
|
-
}
|
|
8523
|
-
|
|
8524
|
-
export { AGENT_BUILD_KIND_SPECS, type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentBuildExecutionPacket, type AgentBuildFileSpec, type AgentBuildKind, type AgentBuildKindSpec, type AgentBuildPlannerDocument, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, 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, type AppActionDecision, AppAuth, type AppAuthConfig, type AppAuthResourceType, type AppAuthSession, type AppAuthTokenPayload, type AppAutomationRun, type AppCatalogEntry, type AppCollectionRecord, type AppDocument, type AppDocumentCreateParams, type AppDocumentDiagnostics, type AppDocumentRecord, type AppDocumentUpdateParams, AppDocuments, type AppInstallData, type AppInstallEvent, type AppJson, type AppReleaseApproval, type AppReleaseCandidate, type AttachAwsRoleParams, type AuditListParams, AuditLog, type AuditLogEvent, type AuditLogListParams, type AuditTailParams, AuthError, type AuthToken, type BenchmarkCompareParams, type BenchmarkCreateParams, Benchmarks, type BindingCreateParams, type BindingListParams, type BrandingData, type BrandingUpdateParams, type BucketCreateParams, type BucketData, type BucketId, type BuilderSessionListParams, BuilderSessions, type BulkUserActionParams, type ChannelCreateParams, type ChannelData, type ChannelListParams, type ChannelUpdateParams, Channels, type ChatCompletionCreateParams, type ChatCompletionCreateStreamParams, Checkpoints, type ClickParams, Cloud, type CloudAccount, type CloudAccountCreateParams, type CloudAccountMode, type CloudAccountStatus, type CloudCredentialType, type CloudListParams, type CloudPlacementScope, type CloudPool, type CloudPoolCreateParams, type CloudPoolKind, type CloudPreflightRecordParams, type CloudPreflightRun, type CloudPreflightStatus, type CloudProvider, type CloudRegion, type CloudRegionCreateParams, type ClusterCreateParams, type ClusterData, type ClusterEvent, type ClusterId, type ClusterListResponse, type ClusterStatus, CommandCenter, Community, type CompletionCreateParams, type CompletionCreateStreamParams, Completions, type ComputeProduct, Computer, ComputerAudit, ComputerAutoStop, ComputerConnectors, type ComputerCreateParams, type ComputerData, ComputerEnv, type ComputerId, ComputerInbox, type ComputerListParams, type ComputerListResponse, ComputerLogs, type ComputerLogsGetParams, ComputerNetwork, ComputerOsa, ComputerPorts, ComputerSecrets, type ComputerSize, type ComputerStatus, type ComputerTemplateType, ComputerTerminal, type ComputerUpdateParams, type ComputerVisibility, ComputerVolumes, Computers, type ConnectorApplicableDefaultParams, type ConnectorCreateParams, type ConnectorData, type ConnectorDefault, type ConnectorDefaultListParams, type ConnectorDefaultParams, type ConnectorListParams, type ConnectorSubject, type ConnectorTokenParams, type ConnectorTokenResponse, Connectors, type CopyParams, type CreateAdminApiKeyParams, type CreateAgentBuildPacketParams, type CreateBuildRunParams, type CreateOrgInviteParams, type CreateWorkspaceInviteParams, type CreateWorkspaceInviteResponse, type CreditBalance, type CreditTransaction, type CreditTransactionListResponse, type CreditUsage, Credits, type CronJobCreateParams, type CronJobData, type CronJobExecutionData, type CronJobExecutionId, type CronJobId, type CronJobListParams, type CronJobUpdateParams, CronJobs, type CursorInfo, type CustomDomainCreateParams, type CustomDomainData, type CustomDomainId, type CustomDomainListParams, DEFAULT_AGENT_BUILD_OUTPUT_ROOT, DEFAULT_AGENT_BUILD_PACKET_VERSION, Dashboard, type DashboardSummary, type DatabaseCreateParams, type DatabaseCredentials, type DatabaseData, type DatabaseId, type DatabaseListParams, type DatabaseLogsParams, type DatabaseLogsResult, Databases, type DeploymentBuildData, DeploymentConnectors, type DeploymentCreateParams, type DeploymentData, DeploymentDomains, type DeploymentId, type DeploymentListParams, type DeploymentProduct, type DeploymentProofCheck, type DeploymentProofParams, type DeploymentProofProbe, type DeploymentProofResult, type DeploymentReleaseData, type DeploymentReleaseId, DeploymentReleases, DeploymentRuntimeInstances, type DeploymentServiceData, type DeploymentServiceId, type DeploymentServiceType, type DeploymentSourceType, type DeploymentState, type DeploymentUpdateParams, type DeploymentVersionData, type DeploymentVersionId, type DeploymentVersionKind, type DeploymentVersionState, DeploymentVersions, Deployments, Desktop$1 as Desktop, type DesktopActionResult, type DeviceBootstrapParams, type DeviceBootstrapResult, type DeviceBrowserResult, type DeviceCapabilities, type DeviceData, type DeviceExecParams, type DeviceExecResult, type DeviceExposeParams, type DeviceExposeResult, type DeviceExtendParams, type DeviceFileEntry, type DeviceFileListParams, type DeviceKind, type DeviceLifecycleResult, type DeviceListParams, type DeviceReadFileParams, type DeviceReadFileResult, type DeviceWriteFileParams, type DeviceWriteFileResult, Devices, type DirEntry, type DirListResult, type DiscordSendTestParams, DockerDeploy, type DockerDeployApplianceStatus, type DockerDeployCreateParams, type DockerDeployDoctorCheck, type DockerDeployDoctorParams, type DockerDeployDoctorProbe, type DockerDeployDoctorResult, type DockerDeployHostData, type DockerDeployHostEnsureParams, type DockerDeployHostId, type DockerDeployHostListParams, type DockerDeployHostListResponse, type DockerDeployHostResponse, type DockerDeployHostStatus, type DoubleClickParams, type DragParams, type EgressAllowlistRule, EgressAudit, type EgressAuditEvent, type EgressBindingData, EgressHostNotAllowedError, EgressNetwork, type EgressPolicyData, type EgressPolicyMode, type EgressRuleEffect, type EgressSecretData, type EgressSecretScope, type EgressSecretType, EgressSecrets, type EgressSuggestion, Email, EmailCampaigns, EmailInbox, EmailTemplates, type EmbeddingCreateParams, Embeddings, Exec, type ExecParams, type ExecPythonParams, type ExecResult, type ExternalAttribution, type ExternalKeyCreateParams, type ExternalKeyData, ExternalKeys, type FileDeleteParams, type FileDownloadParams, type FileEntry, type FileExportParams, type FileExportResult, type FileListParams, type FileListResult, type FileStat, Files, FlatCustomDomains, type FsEntry, type FsListResponse, type FsStat, type FunctionCreateParams, type FunctionData, type FunctionId, type FunctionInvokeParams, type FunctionListParams, type FunctionUpdateParams, Functions, type GithubRepo, type GithubSshKey, type HealthCheckCreateParams, type HealthCheckData, type HealthCheckId, type HealthCheckListParams, type HealthCheckUpdateParams, HealthChecks, type HostCreateParams, type HostData, type HostEvent, type HostId, type HostListResponse, type HostStatus, type HostUpdateParams, InstallationRequiredError, InsufficientCreditsError, type IntegrationCatalogEntry, type IntegrationData, Integrations, type JobData, type JobEvent, type JobEventType, type JobId, type JobListResponse, type JobRunParams, type JobStatus, type KeyParams, type LaunchParams, type LinearCreateIssueParams, type ListAdminApiKeysParams, type ListAdminComputersParams, type ListAdminTenantsParams, type ListAdminUsersParams, ManagedProviderBindingOnlyError, Mcp, type McpDispatchParams, Miosa, type MiosaClientConfig, MiosaError, type MiosaErrorBody, type MkdirParams, type ModeParams, Models, type MouseButton, NetworkError, NetworkPolicy, type NetworkPolicyData, type NetworkPolicyEffect, type NetworkPolicyProtocol, type NetworkPolicyRule, type NetworkPolicySetParams, NotFoundError, type NotificationPrefsUpdateParams, OAuthFlow, type OauthConnectParams, type OauthProvider, type OauthStartResult, type OauthStatusResult, type ObjectListParams, type AgentEvent as OcAgentEvent, type OcAgentSessionData, type AgentSessionListResponse as OcAgentSessionListResponse, type OcWorkspaceCreateParams, type OcWorkspaceData, type OcWorkspaceEvent, type OcWorkspaceListResponse, type OcWorkspaceStatus, type OcWorkspaceUpdateParams, OpenComputers, type OrgInvite, type OrgInviteCreated, type OrgInviteCreatedResponse, type OrgInviteListResponse, type OrgInvitePreview, type OrgInviteRevokeResponse, OrgInvites, type OrgRole, type OrganizationMember, type OrganizationMemberList, type OrganizationMemberRemoved, OrganizationMembers, type OrganizationRole, type OrganizationSummary, type OrganizationSwitchResult, Organizations, type OverviewData, type PolicyCreateParams, type PolicyListParams, type PolicyUpdateParams, type PresignParams, type PresignResult, type PreviewDomainData, type ProductCatalogEntry, type ProductTemplate, type ProductTemplateCatalog, ProjectAuth, type ProjectAuthEnableParams, type ProjectAuthStatus, type ProjectAuthUpdateParams, type ProjectIntegrationCatalogEntry, type ProjectIntegrationCreateParams, type ProjectIntegrationData, type ProjectIntegrationListParams, type ProjectIntegrationUpdateParams, ProjectIntegrations, ProjectNotLinkedError, ProviderDefaults, type ProviderKeyUpsertParams, type PublishFromSandboxParams, type PublishParams, type PublishResult, RateLimitError, type RegionData, Regions, type RollbackParams, type RulesListParams, type Run, type RunActivity, type RunCommandOutput, type RunCreateParams, type RunDiagnostic, type RunDownload, type RunFile, type RunGroup, type RunGroupActivity, type RunGroupCounts, type RunGroupCreateParams, type RunGroupDispatchEntry, type RunGroupDispatchResult, type RunGroupFile, type RunGroupListParams, type RunGroupStatus, type RunGroupWaitOptions, RunGroups, type RunListParams, type RunMessage, type RunOutputs, type RunPreview, type RunStatus, type RunTargetKind, type RunWaitOptions, Runs, type RuntimeCapabilities, RuntimeCapabilitiesResource, RuntimeEnv, type RuntimeEnvListParams, type RuntimeEnvScope, type RuntimeEnvSetParams, type RuntimeEnvTarget, type RuntimeEnvVar, type RuntimeInstanceData, type RuntimeInstanceId, type RuntimeInstanceState, type RuntimeLogsResult, SANDBOX_TEMPLATE, Sandbox, SandboxAudit, type SandboxBuildSpec, type SandboxBuildSpecError, type SandboxBuildSpecValidation, SandboxCommands, type SandboxConnectorAttachParams, type SandboxConnectorBinding, type SandboxConnectorPreflightParams, type SandboxConnectorPreflightResult, SandboxConnectors, type SandboxCreateParams, type SandboxData, SandboxEnv, SandboxEvents, type SandboxExecEvent, type SandboxExecOptions, type SandboxExecResult, type SandboxExecRunner, SandboxFiles, type SandboxGetOrCreateParams, type SandboxId, type SandboxListParams, SandboxNetwork, SandboxPreview, SandboxPreviews, SandboxSecrets, type SandboxState, SandboxTags, type SandboxTemplate, type SandboxTemplateBuild, type SandboxTemplateBuildCreateParams, type SandboxTemplateBuildResourceData, type SandboxTemplateBuildResourceId, type SandboxTemplateCreateParams, type SandboxTemplateList, type SandboxTemplateListParams, type SandboxTemplateResourceData, type SandboxTemplateResourceId, SandboxTemplates, SandboxTerminal, Sandboxes, ScopeNotAllowedError, ScopedFs, type ScrollDirection, type ScrollParams, type SecretCreateParams, type SecretData, type SecretId, type SecretListParams, type SecretRotateParams, type SecretSetParams, type SecretUpdateParams, type SessionId, Settings, type SettingsUpdateParams, type SizeData, type SlackSendTestParams, type SnapshotCreateParams, type SnapshotData, type SnapshotListResponse, type SnapshotProgressEvent, type SnapshotRestoreResult, type SnapshotStatus, SnapshotsStandalone, Storage, type StorageObjectData, SubjectNotAllowedError, type SuggestionsParams, type TemplateBenchmarkLane, type TemplateBuildCreateParams, type TemplateCreateParams, type TemplateData, type TemplateReadinessContract, type TemplateReadinessState, type TemplateSizeReadiness, Templates, type TemplatesListParams, Tenant, type TenantBrandingUpdateParams, type TenantId, type TenantPlan, type TenantSummary, type TerminalCreateParams, TimeoutError, type TimeseriesParams, TokenRefreshFailedError, type TunnelAuthMode, type TunnelCreateParams, type TunnelData, type TunnelId, type TunnelListResponse, type TunnelUpdateParams, type TypeParams, type UpdateWorkspaceMemberRoleParams, Usage, type UsageReportParams, type UsageSession, type UsageSessionsParams, type UsageSummary, UserAuthorizationRequiredError, type UserId, ValidationError, type VersionListParams, type VolumeAttachParams, type VolumeAttachmentData, type VolumeCreateParams, type VolumeData, type VolumeId, type VolumeListParams, Volumes, type WaitParams, type WebhookCreateParams, type WebhookData, type WebhookDeliveryData, type WebhookDeliveryId, type WebhookId, type WebhookListParams, type WebhookUpdateParams, Webhooks, type WindowFocusParams, type WindowInfo, type WorkspaceId, type WorkspaceInvite, type WorkspaceInviteCreatedResponse, type WorkspaceInviteListResponse, type WorkspaceInvitePreview, type WorkspaceInviteRevokeResponse, WorkspaceInvites, type WorkspaceMember, type WorkspaceMemberAddedResponse, type WorkspaceMemberDeleteResponse, type WorkspaceMemberListResponse, type WorkspaceMemberRecord, type WorkspaceMemberRecordResponse, WorkspaceMembers, type WorkspaceRole, type WsTicket, createAgentBuildExecutionPacket, createAgentBuildExpectedOutputs, createAgentBuildPrompt, createBuildRunParams, getAgentBuildKindSpec, resolveAgentBuildKind, verifySignature };
|
|
8780
|
+
export { AGENT_BUILD_KIND_SPECS, type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentBuildExecutionPacket, type AgentBuildFileSpec, type AgentBuildKind, type AgentBuildKindSpec, type AgentBuildPlannerDocument, type AgentDefinitionCreateParams, type AgentDefinitionData, type AgentDefinitionListParams, type AgentDefinitionUpdateParams, AgentDefinitions, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, AgentRuntimeProfiles, type AgentSessionCreateParams, type AgentSessionData, type AgentSessionListResponse$1 as AgentSessionListResponse, type AgentSessionStatus$1 as AgentSessionStatus, type AgentVersionData, type AllowParams, Analytics, type AnalyticsFilters, type ApiKeyCreateParams, type ApiKeyCreateResult, type ApiKeyData, type ApiKeyId, type ApiKeyListParams, ApiKeys, type AppActionDecision, AppAuth, type AppAuthConfig, type AppAuthResourceType, type AppAuthSession, type AppAuthTokenPayload, type AppAutomationRun, type AppCatalogEntry, type AppCollectionRecord, type AppDocument, type AppDocumentCreateParams, type AppDocumentDiagnostics, type AppDocumentRecord, type AppDocumentUpdateParams, AppDocuments, type AppInstallData, type AppInstallEvent, type AppJson, type AppReleaseApproval, type AppReleaseCandidate, type AttachAwsRoleParams, type AuditListParams, AuditLog, type AuditLogEvent, type AuditLogListParams, type AuditTailParams, AuthError, type AuthToken, type BenchmarkCompareParams, type BenchmarkCreateParams, Benchmarks, type BindingCreateParams, type BindingListParams, type BrandingData, type BrandingUpdateParams, type BucketCreateParams, type BucketData, type BucketId, type BuilderSessionListParams, BuilderSessions, type BulkUserActionParams, type ChannelCreateParams, type ChannelData, type ChannelListParams, type ChannelUpdateParams, Channels, type ChatCompletionCreateParams, type ChatCompletionCreateStreamParams, Checkpoints, type ClickParams, Cloud, type CloudAccount, type CloudAccountCreateParams, type CloudAccountMode, type CloudAccountStatus, type CloudCredentialType, type CloudListParams, type CloudPlacementScope, type CloudPool, type CloudPoolCreateParams, type CloudPoolKind, type CloudPreflightRecordParams, type CloudPreflightRun, type CloudPreflightStatus, type CloudProvider, type CloudRegion, type CloudRegionCreateParams, type ClusterCreateParams, type ClusterData, type ClusterEvent, type ClusterId, type ClusterListResponse, type ClusterStatus, CommandCenter, Community, type CompletionCreateParams, type CompletionCreateStreamParams, Completions, type ComputeProduct, Computer, ComputerAudit, ComputerAutoStop, ComputerConnectors, type ComputerCreateParams, type ComputerData, ComputerEnv, type ComputerId, ComputerInbox, type ComputerListParams, type ComputerListResponse, ComputerLogs, type ComputerLogsGetParams, ComputerNetwork, ComputerOsa, ComputerPorts, ComputerSecrets, type ComputerSize, type ComputerStatus, type ComputerTemplateType, ComputerTerminal, type ComputerUpdateParams, type ComputerVisibility, ComputerVolumes, Computers, type ConnectorApplicableDefaultParams, type ConnectorCreateParams, type ConnectorData, type ConnectorDefault, type ConnectorDefaultListParams, type ConnectorDefaultParams, type ConnectorListParams, type ConnectorSubject, type ConnectorTokenParams, type ConnectorTokenResponse, Connectors, type CopyParams, type CreateAdminApiKeyParams, type CreateAgentBuildPacketParams, type CreateBuildRunParams, type CreateOrgInviteParams, type CreateWorkspaceInviteParams, type CreateWorkspaceInviteResponse, type CreditBalance, type CreditTransaction, type CreditTransactionListResponse, type CreditUsage, Credits, type CronJobCreateParams, type CronJobData, type CronJobExecutionData, type CronJobExecutionId, type CronJobId, type CronJobListParams, type CronJobUpdateParams, CronJobs, type CursorInfo, type CustomDomainCreateParams, type CustomDomainData, type CustomDomainId, type CustomDomainListParams, DEFAULT_AGENT_BUILD_OUTPUT_ROOT, DEFAULT_AGENT_BUILD_PACKET_VERSION, Dashboard, type DashboardSummary, type DatabaseCreateParams, type DatabaseCredentials, type DatabaseData, type DatabaseId, type DatabaseListParams, type DatabaseLogsParams, type DatabaseLogsResult, Databases, type DeploymentBuildData, DeploymentConnectors, type DeploymentCreateParams, type DeploymentData, DeploymentDomains, type DeploymentId, type DeploymentListParams, type DeploymentProduct, type DeploymentProofCheck, type DeploymentProofParams, type DeploymentProofProbe, type DeploymentProofResult, type DeploymentReleaseData, type DeploymentReleaseId, DeploymentReleases, DeploymentRuntimeInstances, type DeploymentServiceData, type DeploymentServiceId, type DeploymentServiceType, type DeploymentSourceType, type DeploymentState, type DeploymentUpdateParams, type DeploymentVersionData, type DeploymentVersionId, type DeploymentVersionKind, type DeploymentVersionState, DeploymentVersions, Deployments, Desktop$1 as Desktop, type DesktopActionResult, type DeviceBootstrapParams, type DeviceBootstrapResult, type DeviceBrowserResult, type DeviceCapabilities, type DeviceData, type DeviceExecParams, type DeviceExecResult, type DeviceExposeParams, type DeviceExposeResult, type DeviceExtendParams, type DeviceFileEntry, type DeviceFileListParams, type DeviceKind, type DeviceLifecycleResult, type DeviceListParams, type DeviceReadFileParams, type DeviceReadFileResult, type DeviceWriteFileParams, type DeviceWriteFileResult, Devices, type DirEntry, type DirListResult, type DiscordSendTestParams, DockerDeploy, type DockerDeployApplianceStatus, type DockerDeployCreateParams, type DockerDeployDoctorCheck, type DockerDeployDoctorParams, type DockerDeployDoctorProbe, type DockerDeployDoctorResult, type DockerDeployHostData, type DockerDeployHostEnsureParams, type DockerDeployHostId, type DockerDeployHostListParams, type DockerDeployHostListResponse, type DockerDeployHostResponse, type DockerDeployHostStatus, type DoubleClickParams, type DragParams, type EgressAllowlistRule, EgressAudit, type EgressAuditEvent, type EgressBindingData, EgressHostNotAllowedError, EgressNetwork, type EgressPolicyData, type EgressPolicyMode, type EgressRuleEffect, type EgressSecretData, type EgressSecretScope, type EgressSecretType, EgressSecrets, type EgressSuggestion, Email, EmailCampaigns, EmailInbox, EmailTemplates, type EmbeddingCreateParams, Embeddings, Exec, type ExecParams, type ExecPythonParams, type ExecResult, type ExternalAttribution, type ExternalKeyCreateParams, type ExternalKeyData, ExternalKeys, type FileDeleteParams, type FileDownloadParams, type FileEntry, type FileExportParams, type FileExportResult, type FileListParams, type FileListResult, type FileStat, Files, FlatCustomDomains, Forge, ForgeContractError, type ForgeDeleteReceipt, type ForgeOrganizationId, ForgePolicyViolationError, ForgeRepositories, type ForgeRepository, type ForgeRepositoryCreateParams, type ForgeRepositoryDeleteOptions, type ForgeRepositoryId, type ForgeRepositoryState, type ForgeRepositoryUpdateParams, type ForgeRepositoryVisibility, ForgeStorageError, ForgeUnavailableError, type FsEntry, type FsListResponse, type FsStat, type FunctionCreateParams, type FunctionData, type FunctionId, type FunctionInvokeParams, type FunctionListParams, type FunctionUpdateParams, Functions, type GithubRepo, type GithubSshKey, type HealthCheckCreateParams, type HealthCheckData, type HealthCheckId, type HealthCheckListParams, type HealthCheckUpdateParams, HealthChecks, type HostCreateParams, type HostData, type HostEvent, type HostId, type HostListResponse, type HostStatus, type HostUpdateParams, InstallationRequiredError, InsufficientCreditsError, type IntegrationCatalogEntry, type IntegrationData, Integrations, type JobData, type JobEvent, type JobEventType, type JobId, type JobListResponse, type JobRunParams, type JobStatus, type KeyParams, type LaunchParams, type LinearCreateIssueParams, type ListAdminApiKeysParams, type ListAdminComputersParams, type ListAdminTenantsParams, type ListAdminUsersParams, ManagedProviderBindingOnlyError, Mcp, type McpDispatchParams, Miosa, type MiosaClientConfig, MiosaError, type MiosaErrorBody, type MkdirParams, type ModeParams, Models, type MouseButton, NetworkError, NetworkPolicy, type NetworkPolicyData, type NetworkPolicyEffect, type NetworkPolicyProtocol, type NetworkPolicyRule, type NetworkPolicySetParams, NotFoundError, type NotificationPrefsUpdateParams, OAuthFlow, type OauthConnectParams, type OauthProvider, type OauthStartResult, type OauthStatusResult, type ObjectListParams, type AgentEvent as OcAgentEvent, type OcAgentSessionData, type AgentSessionListResponse as OcAgentSessionListResponse, type OcWorkspaceCreateParams, type OcWorkspaceData, type OcWorkspaceEvent, type OcWorkspaceListResponse, type OcWorkspaceStatus, type OcWorkspaceUpdateParams, OpenComputers, type OrgInvite, type OrgInviteCreated, type OrgInviteCreatedResponse, type OrgInviteListResponse, type OrgInvitePreview, type OrgInviteRevokeResponse, OrgInvites, type OrgRole, type OrganizationMember, type OrganizationMemberList, type OrganizationMemberRemoved, OrganizationMembers, type OrganizationRole, type OrganizationSummary, type OrganizationSwitchResult, Organizations, type OverviewData, type PolicyCreateParams, type PolicyListParams, type PolicyUpdateParams, type PresignParams, type PresignResult, type PreviewDomainData, type ProductCatalogEntry, type ProductTemplate, type ProductTemplateCatalog, ProjectAuth, type ProjectAuthEnableParams, type ProjectAuthStatus, type ProjectAuthUpdateParams, type ProjectIntegrationCatalogEntry, type ProjectIntegrationCreateParams, type ProjectIntegrationData, type ProjectIntegrationListParams, type ProjectIntegrationUpdateParams, ProjectIntegrations, ProjectNotLinkedError, ProviderDefaults, type ProviderKeyUpsertParams, type PublishFromSandboxParams, type PublishParams, type PublishResult, RateLimitError, type RegionData, Regions, type RollbackParams, type RulesListParams, type Run, type RunActivity, type RunCommandOutput, type RunCreateParams, type RunDiagnostic, type RunDownload, type RunFile, type RunGroup, type RunGroupActivity, type RunGroupCounts, type RunGroupCreateParams, type RunGroupDispatchEntry, type RunGroupDispatchResult, type RunGroupFile, type RunGroupListParams, type RunGroupStatus, type RunGroupWaitOptions, RunGroups, type RunListParams, type RunMessage, type RunOutputs, type RunPreview, type RunStatus, type RunTargetKind, type RunWaitOptions, Runs, type RuntimeCapabilities, RuntimeCapabilitiesResource, RuntimeEnv, type RuntimeEnvListParams, type RuntimeEnvScope, type RuntimeEnvSetParams, type RuntimeEnvTarget, type RuntimeEnvVar, type RuntimeInstanceData, type RuntimeInstanceId, type RuntimeInstanceState, type RuntimeLogsResult, SANDBOX_TEMPLATE, Sandbox, SandboxAudit, type SandboxBuildSpec, type SandboxBuildSpecError, type SandboxBuildSpecValidation, SandboxCommands, type SandboxConnectorAttachParams, type SandboxConnectorBinding, type SandboxConnectorPreflightParams, type SandboxConnectorPreflightResult, SandboxConnectors, type SandboxCreateParams, type SandboxData, SandboxEnv, SandboxEvents, type SandboxExecEvent, type SandboxExecOptions, type SandboxExecResult, type SandboxExecRunner, SandboxFiles, type SandboxGetOrCreateParams, type SandboxId, type SandboxListParams, SandboxNetwork, SandboxPreview, SandboxPreviews, SandboxSecrets, type SandboxState, SandboxTags, type SandboxTemplate, type SandboxTemplateBuild, type SandboxTemplateBuildCreateParams, type SandboxTemplateBuildResourceData, type SandboxTemplateBuildResourceId, type SandboxTemplateCreateParams, type SandboxTemplateList, type SandboxTemplateListParams, type SandboxTemplateResourceData, type SandboxTemplateResourceId, SandboxTemplates, SandboxTerminal, Sandboxes, ScopeNotAllowedError, ScopedFs, type ScrollDirection, type ScrollParams, type SecretCreateParams, type SecretData, type SecretId, type SecretListParams, type SecretRotateParams, type SecretSetParams, type SecretUpdateParams, type SessionId, Settings, type SettingsUpdateParams, type SizeData, type SlackSendTestParams, type SnapshotCreateParams, type SnapshotData, type SnapshotListResponse, type SnapshotProgressEvent, type SnapshotRestoreResult, type SnapshotStatus, SnapshotsStandalone, Storage, type StorageObjectData, SubjectNotAllowedError, type SuggestionsParams, type TemplateBenchmarkLane, type TemplateBuildCreateParams, type TemplateCreateParams, type TemplateData, type TemplateReadinessContract, type TemplateReadinessState, type TemplateSizeReadiness, Templates, type TemplatesListParams, Tenant, type TenantBrandingUpdateParams, type TenantId, type TenantPlan, type TenantSummary, type TerminalCreateParams, TimeoutError, type TimeseriesParams, TokenRefreshFailedError, type TunnelAuthMode, type TunnelCreateParams, type TunnelData, type TunnelId, type TunnelListResponse, type TunnelUpdateParams, type TypeParams, type UpdateWorkspaceMemberRoleParams, Usage, type UsageReportParams, type UsageSession, type UsageSessionsParams, type UsageSummary, UserAuthorizationRequiredError, type UserId, ValidationError, type VersionListParams, type VolumeAttachParams, type VolumeAttachmentData, type VolumeCreateParams, type VolumeData, type VolumeId, type VolumeListParams, Volumes, type WaitParams, type WebhookCreateParams, type WebhookData, type WebhookDeliveryData, type WebhookDeliveryId, type WebhookId, type WebhookListParams, type WebhookUpdateParams, Webhooks, type WindowFocusParams, type WindowInfo, type WorkspaceId, type WorkspaceInvite, type WorkspaceInviteCreatedResponse, type WorkspaceInviteListResponse, type WorkspaceInvitePreview, type WorkspaceInviteRevokeResponse, WorkspaceInvites, type WorkspaceMember, type WorkspaceMemberAddedResponse, type WorkspaceMemberDeleteResponse, type WorkspaceMemberListResponse, type WorkspaceMemberRecord, type WorkspaceMemberRecordResponse, WorkspaceMembers, type WorkspaceRole, type WsTicket, createAgentBuildExecutionPacket, createAgentBuildExpectedOutputs, createAgentBuildPrompt, createBuildRunParams, getAgentBuildKindSpec, resolveAgentBuildKind, verifySignature };
|