@miosa/sdk 3.0.1 → 3.1.0
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 +57 -0
- package/dist/index.d.ts +585 -75
- package/dist/index.js +1152 -398
- package/dist/index.js.map +1 -1
- package/package.json +14 -14
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,13 @@ interface RequestOptions {
|
|
|
13
13
|
/** Expected response is binary */
|
|
14
14
|
binary?: boolean;
|
|
15
15
|
}
|
|
16
|
+
/** One parsed Server-Sent Events frame: its `event:` name plus `data:` payload. */
|
|
17
|
+
interface SseFrame<T> {
|
|
18
|
+
/** The SSE `event:` name, or `null` when the frame carried no event field. */
|
|
19
|
+
event: string | null;
|
|
20
|
+
/** The parsed JSON payload from the frame's `data:` line(s). */
|
|
21
|
+
data: T;
|
|
22
|
+
}
|
|
16
23
|
interface HttpClientConfig {
|
|
17
24
|
baseUrl: string;
|
|
18
25
|
apiKey: string;
|
|
@@ -39,6 +46,14 @@ declare class HttpClient {
|
|
|
39
46
|
delete<T>(path: string, body?: unknown): Promise<T>;
|
|
40
47
|
getBinary(path: string): Promise<Uint8Array>;
|
|
41
48
|
postFormData<T>(path: string, formData: FormData): Promise<T>;
|
|
49
|
+
/**
|
|
50
|
+
* Open a Server-Sent Events stream and yield each frame's parsed `data:`
|
|
51
|
+
* payload together with its SSE `event:` name (when present). Most callers
|
|
52
|
+
* want {@link stream}; use this when the event name carries meaning — e.g. the
|
|
53
|
+
* sandbox exec stream tags frames as `stdout` / `stderr` / `exit`. The caller
|
|
54
|
+
* is responsible for breaking the loop.
|
|
55
|
+
*/
|
|
56
|
+
streamFrames<T>(path: string, options?: RequestOptions): AsyncIterableIterator<SseFrame<T>>;
|
|
42
57
|
/**
|
|
43
58
|
* Open a Server-Sent Events stream. Returns an AsyncIterableIterator of
|
|
44
59
|
* parsed event data objects. The caller is responsible for breaking the loop.
|
|
@@ -443,6 +458,9 @@ type RunTargetKind = "sandbox" | "computer";
|
|
|
443
458
|
type RunStatus = "running" | "succeeded" | "failed" | "canceled";
|
|
444
459
|
interface Run {
|
|
445
460
|
id: string;
|
|
461
|
+
agent_definition_id?: string | null;
|
|
462
|
+
agent_version_id?: string | null;
|
|
463
|
+
configuration_receipt?: Record<string, unknown> | null;
|
|
446
464
|
run_group_id?: string;
|
|
447
465
|
parent_run_id?: string;
|
|
448
466
|
orchestration_role?: string;
|
|
@@ -603,6 +621,9 @@ interface RunCreateParams {
|
|
|
603
621
|
env?: Record<string, string>;
|
|
604
622
|
agentRuntimeProfileId?: string;
|
|
605
623
|
agentProfileId?: string;
|
|
624
|
+
agentDefinitionId?: string;
|
|
625
|
+
agentVersionId?: string;
|
|
626
|
+
configurationReceipt?: Record<string, unknown>;
|
|
606
627
|
runGroupId?: string;
|
|
607
628
|
parentRunId?: string;
|
|
608
629
|
orchestrationRole?: string;
|
|
@@ -850,6 +871,62 @@ declare class AgentRuntimeProfiles {
|
|
|
850
871
|
delete(id: string): Promise<void>;
|
|
851
872
|
}
|
|
852
873
|
|
|
874
|
+
interface AgentVersionData {
|
|
875
|
+
id: string;
|
|
876
|
+
agent_definition_id: string;
|
|
877
|
+
version: number;
|
|
878
|
+
fingerprint: string;
|
|
879
|
+
configuration: Record<string, unknown>;
|
|
880
|
+
published_by_user_id?: string | null;
|
|
881
|
+
published_at: string;
|
|
882
|
+
}
|
|
883
|
+
interface AgentDefinitionData {
|
|
884
|
+
id: string;
|
|
885
|
+
tenant_id: string;
|
|
886
|
+
workspace_id: string;
|
|
887
|
+
project_id?: string | null;
|
|
888
|
+
name: string;
|
|
889
|
+
description?: string | null;
|
|
890
|
+
status: "active" | "archived" | string;
|
|
891
|
+
metadata: Record<string, unknown>;
|
|
892
|
+
latest_version: AgentVersionData;
|
|
893
|
+
versions?: AgentVersionData[];
|
|
894
|
+
created_at: string;
|
|
895
|
+
updated_at: string;
|
|
896
|
+
}
|
|
897
|
+
interface AgentDefinitionListParams {
|
|
898
|
+
workspaceId?: string;
|
|
899
|
+
workspace_id?: string;
|
|
900
|
+
projectId?: string;
|
|
901
|
+
project_id?: string;
|
|
902
|
+
status?: "active" | "archived" | "all" | string;
|
|
903
|
+
}
|
|
904
|
+
interface AgentDefinitionCreateParams {
|
|
905
|
+
workspaceId?: string;
|
|
906
|
+
workspace_id?: string;
|
|
907
|
+
projectId?: string;
|
|
908
|
+
project_id?: string;
|
|
909
|
+
name: string;
|
|
910
|
+
description?: string;
|
|
911
|
+
metadata?: Record<string, unknown>;
|
|
912
|
+
configuration: Record<string, unknown>;
|
|
913
|
+
}
|
|
914
|
+
interface AgentDefinitionUpdateParams {
|
|
915
|
+
name?: string;
|
|
916
|
+
description?: string;
|
|
917
|
+
metadata?: Record<string, unknown>;
|
|
918
|
+
}
|
|
919
|
+
declare class AgentDefinitions {
|
|
920
|
+
private readonly http;
|
|
921
|
+
constructor(http: HttpClient);
|
|
922
|
+
list(params?: AgentDefinitionListParams): Promise<AgentDefinitionData[]>;
|
|
923
|
+
get(id: string): Promise<AgentDefinitionData>;
|
|
924
|
+
create(params: AgentDefinitionCreateParams): Promise<AgentDefinitionData>;
|
|
925
|
+
update(id: string, params: AgentDefinitionUpdateParams): Promise<AgentDefinitionData>;
|
|
926
|
+
publish(id: string, configuration: Record<string, unknown>): Promise<AgentVersionData>;
|
|
927
|
+
archive(id: string): Promise<void>;
|
|
928
|
+
}
|
|
929
|
+
|
|
853
930
|
/**
|
|
854
931
|
* Analytics — overview + timeseries (admin scope).
|
|
855
932
|
*/
|
|
@@ -923,6 +1000,195 @@ declare class ApiKeys {
|
|
|
923
1000
|
delete(keyId: string): Promise<void>;
|
|
924
1001
|
}
|
|
925
1002
|
|
|
1003
|
+
type AppJson = null | boolean | number | string | AppJson[] | {
|
|
1004
|
+
[key: string]: AppJson;
|
|
1005
|
+
};
|
|
1006
|
+
interface AppDocument {
|
|
1007
|
+
id: string;
|
|
1008
|
+
name: string;
|
|
1009
|
+
format: "miosa-app/v1";
|
|
1010
|
+
metadata?: Record<string, AppJson>;
|
|
1011
|
+
view: {
|
|
1012
|
+
kind: "generated";
|
|
1013
|
+
source: string;
|
|
1014
|
+
artifact?: {
|
|
1015
|
+
entrypoint: string;
|
|
1016
|
+
files: Record<string, string>;
|
|
1017
|
+
};
|
|
1018
|
+
} | {
|
|
1019
|
+
kind: "served";
|
|
1020
|
+
deploymentId: string;
|
|
1021
|
+
releaseId: string;
|
|
1022
|
+
};
|
|
1023
|
+
capabilities: string[];
|
|
1024
|
+
collections: string[];
|
|
1025
|
+
connectors: string[];
|
|
1026
|
+
automations: Array<{
|
|
1027
|
+
id: string;
|
|
1028
|
+
trigger: {
|
|
1029
|
+
kind: "schedule";
|
|
1030
|
+
cron: string;
|
|
1031
|
+
} | {
|
|
1032
|
+
kind: "event";
|
|
1033
|
+
event: string;
|
|
1034
|
+
};
|
|
1035
|
+
steps: Array<{
|
|
1036
|
+
capability: string;
|
|
1037
|
+
input: AppJson;
|
|
1038
|
+
}>;
|
|
1039
|
+
}>;
|
|
1040
|
+
pins: Array<{
|
|
1041
|
+
slot: string;
|
|
1042
|
+
component: string;
|
|
1043
|
+
baseHash: string;
|
|
1044
|
+
source: string;
|
|
1045
|
+
editIntents: AppJson[];
|
|
1046
|
+
}>;
|
|
1047
|
+
bindings?: Array<{
|
|
1048
|
+
id: string;
|
|
1049
|
+
capability: string;
|
|
1050
|
+
samples: AppJson[];
|
|
1051
|
+
path: string[];
|
|
1052
|
+
}>;
|
|
1053
|
+
}
|
|
1054
|
+
interface AppReleaseApproval {
|
|
1055
|
+
id: string;
|
|
1056
|
+
app_document_id: string;
|
|
1057
|
+
version_hash: string;
|
|
1058
|
+
approved_by_user_id: string | null;
|
|
1059
|
+
reason: string | null;
|
|
1060
|
+
compiled_requirements: Record<string, AppJson>;
|
|
1061
|
+
deployment_id: string | null;
|
|
1062
|
+
deployment_version_id: string | null;
|
|
1063
|
+
release_id: string | null;
|
|
1064
|
+
artifact_sha256: string | null;
|
|
1065
|
+
source_snapshot_sha256: string | null;
|
|
1066
|
+
approved_at: string;
|
|
1067
|
+
revoked_at: string | null;
|
|
1068
|
+
revoked_by_user_id: string | null;
|
|
1069
|
+
}
|
|
1070
|
+
interface AppReleaseCandidate {
|
|
1071
|
+
deployment_id: string;
|
|
1072
|
+
deployment_version_id: string;
|
|
1073
|
+
release_id: string;
|
|
1074
|
+
artifact_sha256: string;
|
|
1075
|
+
source_snapshot_sha256: string;
|
|
1076
|
+
}
|
|
1077
|
+
interface AppDocumentDiagnostics {
|
|
1078
|
+
ok: boolean;
|
|
1079
|
+
issues: Array<Record<string, AppJson>>;
|
|
1080
|
+
manifest: Record<string, AppJson> | null;
|
|
1081
|
+
}
|
|
1082
|
+
interface AppCollectionRecord<T extends Record<string, AppJson> = Record<string, AppJson>> {
|
|
1083
|
+
key: string;
|
|
1084
|
+
collection: string;
|
|
1085
|
+
value: T;
|
|
1086
|
+
version: number;
|
|
1087
|
+
inserted_at: string;
|
|
1088
|
+
updated_at: string;
|
|
1089
|
+
}
|
|
1090
|
+
interface AppPublication {
|
|
1091
|
+
deployment_id: string;
|
|
1092
|
+
release_id: string;
|
|
1093
|
+
version_hash: string;
|
|
1094
|
+
published_at: string;
|
|
1095
|
+
}
|
|
1096
|
+
interface AppActionDecision {
|
|
1097
|
+
decision: "allow" | "pending_approval" | "deny";
|
|
1098
|
+
receipt_id?: string;
|
|
1099
|
+
approval_request_id?: string;
|
|
1100
|
+
reason?: string;
|
|
1101
|
+
capability?: Record<string, AppJson>;
|
|
1102
|
+
}
|
|
1103
|
+
interface AppRuntimeToken {
|
|
1104
|
+
token: string;
|
|
1105
|
+
release_id: string;
|
|
1106
|
+
expires_in: number;
|
|
1107
|
+
}
|
|
1108
|
+
interface AppBindingResolution {
|
|
1109
|
+
binding_id: string;
|
|
1110
|
+
receipt_id: string;
|
|
1111
|
+
capability_fingerprint: string;
|
|
1112
|
+
value: AppJson;
|
|
1113
|
+
}
|
|
1114
|
+
interface AppAutomationRun {
|
|
1115
|
+
id: string;
|
|
1116
|
+
app_document_id: string;
|
|
1117
|
+
release_id: string;
|
|
1118
|
+
automation_id: string;
|
|
1119
|
+
trigger: Record<string, AppJson>;
|
|
1120
|
+
cursor: number;
|
|
1121
|
+
status: "running" | "executing" | "waiting_approval" | "completed" | "failed" | "stopped";
|
|
1122
|
+
current_step: Record<string, AppJson> | null;
|
|
1123
|
+
claim: {
|
|
1124
|
+
receipt_id: string;
|
|
1125
|
+
idempotency_key: string;
|
|
1126
|
+
cursor: number;
|
|
1127
|
+
} | null;
|
|
1128
|
+
pending_approval_request_id: string | null;
|
|
1129
|
+
history: Array<Record<string, AppJson>>;
|
|
1130
|
+
last_error: Record<string, AppJson> | null;
|
|
1131
|
+
inserted_at: string;
|
|
1132
|
+
updated_at: string;
|
|
1133
|
+
}
|
|
1134
|
+
interface AppDocumentRecord {
|
|
1135
|
+
id: string;
|
|
1136
|
+
tenant_id: string;
|
|
1137
|
+
workspace_id: string;
|
|
1138
|
+
created_by_user_id: string | null;
|
|
1139
|
+
name: string;
|
|
1140
|
+
document: AppDocument;
|
|
1141
|
+
version_hash: string;
|
|
1142
|
+
state: "draft" | "published" | "archived";
|
|
1143
|
+
version_approved: boolean;
|
|
1144
|
+
approval: AppReleaseApproval | null;
|
|
1145
|
+
publication: AppPublication | null;
|
|
1146
|
+
inserted_at: string;
|
|
1147
|
+
updated_at: string;
|
|
1148
|
+
}
|
|
1149
|
+
interface AppDocumentCreateParams {
|
|
1150
|
+
workspaceId: string;
|
|
1151
|
+
name: string;
|
|
1152
|
+
document: AppDocument;
|
|
1153
|
+
}
|
|
1154
|
+
interface AppDocumentUpdateParams {
|
|
1155
|
+
name?: string;
|
|
1156
|
+
document?: AppDocument;
|
|
1157
|
+
}
|
|
1158
|
+
declare class AppDocuments {
|
|
1159
|
+
private readonly http;
|
|
1160
|
+
constructor(http: HttpClient);
|
|
1161
|
+
list(workspaceId: string): Promise<AppDocumentRecord[]>;
|
|
1162
|
+
get(id: string): Promise<AppDocumentRecord>;
|
|
1163
|
+
create(params: AppDocumentCreateParams): Promise<AppDocumentRecord>;
|
|
1164
|
+
update(id: string, params: AppDocumentUpdateParams): Promise<AppDocumentRecord>;
|
|
1165
|
+
archive(id: string): Promise<void>;
|
|
1166
|
+
diagnostics(id: string): Promise<AppDocumentDiagnostics>;
|
|
1167
|
+
stageCandidate(id: string): Promise<AppReleaseCandidate>;
|
|
1168
|
+
approveExactVersion(id: string, releaseId: string, reason?: string): Promise<AppReleaseApproval>;
|
|
1169
|
+
publishExactRelease(id: string): Promise<AppDocumentRecord>;
|
|
1170
|
+
listData<T extends Record<string, AppJson> = Record<string, AppJson>>(id: string, collection: string): Promise<AppCollectionRecord<T>[]>;
|
|
1171
|
+
getData<T extends Record<string, AppJson> = Record<string, AppJson>>(id: string, collection: string, key: string): Promise<AppCollectionRecord<T>>;
|
|
1172
|
+
putData<T extends Record<string, AppJson>>(id: string, collection: string, key: string, value: T, expectedVersion?: number): Promise<AppCollectionRecord<T>>;
|
|
1173
|
+
deleteData(id: string, collection: string, key: string, expectedVersion?: number): Promise<void>;
|
|
1174
|
+
authorizeAction(id: string, input: {
|
|
1175
|
+
releaseId: string;
|
|
1176
|
+
callbackToken: string;
|
|
1177
|
+
capability: Record<string, AppJson>;
|
|
1178
|
+
requestFingerprint: string;
|
|
1179
|
+
paramsFingerprint: string;
|
|
1180
|
+
connectorId?: string;
|
|
1181
|
+
}): Promise<AppActionDecision>;
|
|
1182
|
+
mintRuntimeToken(id: string): Promise<AppRuntimeToken>;
|
|
1183
|
+
resolveBinding(id: string, bindingId: string, receiptId: string, callbackToken: string): Promise<AppBindingResolution>;
|
|
1184
|
+
listAutomationRuns(id: string): Promise<AppAutomationRun[]>;
|
|
1185
|
+
startAutomationRun(id: string, automationId: string, trigger?: Record<string, AppJson>): Promise<AppAutomationRun>;
|
|
1186
|
+
claimAutomationStep(id: string, runId: string): Promise<AppAutomationRun>;
|
|
1187
|
+
completeAutomationStep(id: string, runId: string, cursor: number, idempotencyKey: string, output?: AppJson): Promise<AppAutomationRun>;
|
|
1188
|
+
failAutomationStep(id: string, runId: string, cursor: number, idempotencyKey: string, reason: string): Promise<AppAutomationRun>;
|
|
1189
|
+
revokeApproval(id: string, approvalId: string): Promise<void>;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
926
1192
|
/**
|
|
927
1193
|
* Audit log — admin-scoped event history.
|
|
928
1194
|
*/
|
|
@@ -4943,6 +5209,259 @@ declare class Functions {
|
|
|
4943
5209
|
invoke(functionId: string, params?: FunctionInvokeParams): Promise<Record<string, unknown>>;
|
|
4944
5210
|
}
|
|
4945
5211
|
|
|
5212
|
+
interface MiosaErrorBody {
|
|
5213
|
+
error?: string | {
|
|
5214
|
+
code?: string;
|
|
5215
|
+
message?: string;
|
|
5216
|
+
details?: unknown;
|
|
5217
|
+
};
|
|
5218
|
+
message?: string;
|
|
5219
|
+
code?: string;
|
|
5220
|
+
detail?: string;
|
|
5221
|
+
details?: unknown;
|
|
5222
|
+
reason?: string;
|
|
5223
|
+
request_id?: string;
|
|
5224
|
+
}
|
|
5225
|
+
declare class MiosaError extends Error {
|
|
5226
|
+
readonly status: number;
|
|
5227
|
+
readonly code: string;
|
|
5228
|
+
readonly details: unknown;
|
|
5229
|
+
readonly requestId: string | undefined;
|
|
5230
|
+
constructor(message: string, status: number, code: string, details?: unknown, requestId?: string);
|
|
5231
|
+
static fromResponse(status: number, body: MiosaErrorBody, requestId?: string): MiosaError;
|
|
5232
|
+
}
|
|
5233
|
+
declare class AuthError extends MiosaError {
|
|
5234
|
+
constructor(message: string, status?: number, code?: string, details?: unknown, requestId?: string);
|
|
5235
|
+
}
|
|
5236
|
+
declare class NotFoundError extends MiosaError {
|
|
5237
|
+
constructor(message: string, code?: string, details?: unknown, requestId?: string);
|
|
5238
|
+
}
|
|
5239
|
+
declare class RateLimitError extends MiosaError {
|
|
5240
|
+
readonly retryAfter: number | undefined;
|
|
5241
|
+
constructor(message: string, details?: unknown, requestId?: string, retryAfter?: number);
|
|
5242
|
+
}
|
|
5243
|
+
declare class InsufficientCreditsError extends MiosaError {
|
|
5244
|
+
constructor(message: string, details?: unknown, requestId?: string);
|
|
5245
|
+
}
|
|
5246
|
+
declare class ValidationError extends MiosaError {
|
|
5247
|
+
constructor(message: string, status: number, code?: string, details?: unknown, requestId?: string);
|
|
5248
|
+
}
|
|
5249
|
+
declare class TimeoutError extends MiosaError {
|
|
5250
|
+
constructor(message?: string);
|
|
5251
|
+
}
|
|
5252
|
+
declare class NetworkError extends MiosaError {
|
|
5253
|
+
readonly cause: Error;
|
|
5254
|
+
constructor(message: string, cause: Error);
|
|
5255
|
+
}
|
|
5256
|
+
declare class ProjectNotLinkedError extends MiosaError {
|
|
5257
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5258
|
+
}
|
|
5259
|
+
declare class SubjectNotAllowedError extends MiosaError {
|
|
5260
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5261
|
+
}
|
|
5262
|
+
declare class ScopeNotAllowedError extends MiosaError {
|
|
5263
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5264
|
+
}
|
|
5265
|
+
declare class ManagedProviderBindingOnlyError extends MiosaError {
|
|
5266
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5267
|
+
}
|
|
5268
|
+
declare class InstallationRequiredError extends MiosaError {
|
|
5269
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5270
|
+
}
|
|
5271
|
+
declare class UserAuthorizationRequiredError extends MiosaError {
|
|
5272
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5273
|
+
}
|
|
5274
|
+
declare class EgressHostNotAllowedError extends MiosaError {
|
|
5275
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5276
|
+
}
|
|
5277
|
+
declare class TokenRefreshFailedError extends MiosaError {
|
|
5278
|
+
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
5279
|
+
}
|
|
5280
|
+
|
|
5281
|
+
type ForgeRepositoryId = string & {
|
|
5282
|
+
readonly __brand: "ForgeRepositoryId";
|
|
5283
|
+
};
|
|
5284
|
+
type ForgeOrganizationId = string & {
|
|
5285
|
+
readonly __brand: "ForgeOrganizationId";
|
|
5286
|
+
};
|
|
5287
|
+
type ForgeRepositoryVisibility = "public" | "private" | "internal";
|
|
5288
|
+
type ForgeRepositoryState = "provisioning" | "active" | "error" | "deletion_pending" | "deleted";
|
|
5289
|
+
interface ForgeRepository {
|
|
5290
|
+
id: ForgeRepositoryId;
|
|
5291
|
+
name: string;
|
|
5292
|
+
slug: string;
|
|
5293
|
+
default_branch: string;
|
|
5294
|
+
visibility: ForgeRepositoryVisibility;
|
|
5295
|
+
state: ForgeRepositoryState;
|
|
5296
|
+
clone_ready: boolean;
|
|
5297
|
+
clone_url: string | null;
|
|
5298
|
+
project_ids: string[];
|
|
5299
|
+
created_at: string;
|
|
5300
|
+
updated_at: string;
|
|
5301
|
+
}
|
|
5302
|
+
interface ForgeRepositoryCreateParams {
|
|
5303
|
+
name: string;
|
|
5304
|
+
slug?: string;
|
|
5305
|
+
defaultBranch?: string;
|
|
5306
|
+
visibility?: ForgeRepositoryVisibility;
|
|
5307
|
+
projectIds?: string[];
|
|
5308
|
+
idempotencyKey?: string;
|
|
5309
|
+
}
|
|
5310
|
+
interface ForgeRepositoryUpdateParams {
|
|
5311
|
+
name?: string;
|
|
5312
|
+
slug?: string;
|
|
5313
|
+
visibility?: ForgeRepositoryVisibility;
|
|
5314
|
+
projectIds?: string[];
|
|
5315
|
+
}
|
|
5316
|
+
interface ForgeRepositoryDeleteOptions {
|
|
5317
|
+
/** Deprecated: delete is inherently replay-safe and accepts no key in v1. */
|
|
5318
|
+
idempotencyKey?: never;
|
|
5319
|
+
}
|
|
5320
|
+
interface ForgeCapabilities {
|
|
5321
|
+
api_version: "v1";
|
|
5322
|
+
ownership: "organization";
|
|
5323
|
+
detail_locator: "repository_id";
|
|
5324
|
+
lifecycle_states: ForgeRepositoryState[];
|
|
5325
|
+
visibility_values: ForgeRepositoryVisibility[];
|
|
5326
|
+
clone_ready_states: ["active"];
|
|
5327
|
+
base_url: string;
|
|
5328
|
+
features: Record<string, boolean>;
|
|
5329
|
+
}
|
|
5330
|
+
interface ForgeDeleteReceipt {
|
|
5331
|
+
operation_id: ForgeRepositoryId;
|
|
5332
|
+
replayed: boolean;
|
|
5333
|
+
}
|
|
5334
|
+
interface ForgeNamedRef {
|
|
5335
|
+
name: string;
|
|
5336
|
+
oid: string;
|
|
5337
|
+
}
|
|
5338
|
+
interface ForgeBranch extends ForgeNamedRef {
|
|
5339
|
+
is_default: boolean;
|
|
5340
|
+
}
|
|
5341
|
+
interface ForgeRepositoryRefs {
|
|
5342
|
+
default_branch: string;
|
|
5343
|
+
head_oid: string | null;
|
|
5344
|
+
branches: ForgeBranch[];
|
|
5345
|
+
tags: ForgeNamedRef[];
|
|
5346
|
+
}
|
|
5347
|
+
type ForgeTreeEntryType = "blob" | "tree";
|
|
5348
|
+
interface ForgeTreeEntry {
|
|
5349
|
+
name: string;
|
|
5350
|
+
path: string;
|
|
5351
|
+
type: ForgeTreeEntryType;
|
|
5352
|
+
oid: string;
|
|
5353
|
+
size: number | null;
|
|
5354
|
+
}
|
|
5355
|
+
interface ForgeRepositoryTree {
|
|
5356
|
+
ref: string;
|
|
5357
|
+
commit_oid: string;
|
|
5358
|
+
path: string;
|
|
5359
|
+
entries: ForgeTreeEntry[];
|
|
5360
|
+
truncated: boolean;
|
|
5361
|
+
}
|
|
5362
|
+
type ForgeBlobEncoding = "utf-8" | "base64";
|
|
5363
|
+
interface ForgeRepositoryBlob {
|
|
5364
|
+
ref: string;
|
|
5365
|
+
commit_oid: string;
|
|
5366
|
+
path: string;
|
|
5367
|
+
oid: string;
|
|
5368
|
+
size: number;
|
|
5369
|
+
encoding: ForgeBlobEncoding;
|
|
5370
|
+
content: string;
|
|
5371
|
+
}
|
|
5372
|
+
interface ForgeCommit {
|
|
5373
|
+
oid: string;
|
|
5374
|
+
short_oid: string;
|
|
5375
|
+
subject: string;
|
|
5376
|
+
author_name: string;
|
|
5377
|
+
author_email: string;
|
|
5378
|
+
authored_at: string;
|
|
5379
|
+
committer_name: string;
|
|
5380
|
+
committed_at: string;
|
|
5381
|
+
parents: string[];
|
|
5382
|
+
}
|
|
5383
|
+
interface ForgeCommitHistory {
|
|
5384
|
+
ref: string;
|
|
5385
|
+
path: string;
|
|
5386
|
+
commits: ForgeCommit[];
|
|
5387
|
+
page: {
|
|
5388
|
+
has_more: boolean;
|
|
5389
|
+
next_cursor: string | null;
|
|
5390
|
+
};
|
|
5391
|
+
}
|
|
5392
|
+
interface ForgeContentLocation {
|
|
5393
|
+
ref?: string;
|
|
5394
|
+
path?: string;
|
|
5395
|
+
}
|
|
5396
|
+
interface ForgeCommitQuery extends ForgeContentLocation {
|
|
5397
|
+
limit?: number;
|
|
5398
|
+
cursor?: string;
|
|
5399
|
+
}
|
|
5400
|
+
interface ForgeFileAuthoringParams {
|
|
5401
|
+
branch?: string;
|
|
5402
|
+
expectedHead: string;
|
|
5403
|
+
message?: string;
|
|
5404
|
+
content?: string;
|
|
5405
|
+
idempotencyKey?: string;
|
|
5406
|
+
}
|
|
5407
|
+
interface ForgeFileOperationReceipt {
|
|
5408
|
+
operation_id: string;
|
|
5409
|
+
repository_id: ForgeRepositoryId;
|
|
5410
|
+
branch: string;
|
|
5411
|
+
path: string;
|
|
5412
|
+
action: "create" | "update" | "delete";
|
|
5413
|
+
previous_head: string;
|
|
5414
|
+
new_head: string;
|
|
5415
|
+
commit: Omit<ForgeCommit, "parents"> & {
|
|
5416
|
+
committer_email: string;
|
|
5417
|
+
signature_status: "unsigned";
|
|
5418
|
+
};
|
|
5419
|
+
policy: {
|
|
5420
|
+
decision: "allowed";
|
|
5421
|
+
receipt_ids: string[];
|
|
5422
|
+
};
|
|
5423
|
+
replayed: boolean;
|
|
5424
|
+
}
|
|
5425
|
+
declare class ForgeContractError extends MiosaError {
|
|
5426
|
+
constructor(message: string, details?: unknown);
|
|
5427
|
+
}
|
|
5428
|
+
declare class ForgeUnavailableError extends MiosaError {
|
|
5429
|
+
constructor(message: string, cause: MiosaError);
|
|
5430
|
+
}
|
|
5431
|
+
declare class ForgeStorageError extends MiosaError {
|
|
5432
|
+
constructor(message: string, cause: MiosaError);
|
|
5433
|
+
}
|
|
5434
|
+
declare class ForgePolicyViolationError extends MiosaError {
|
|
5435
|
+
constructor(message: string, cause: MiosaError);
|
|
5436
|
+
}
|
|
5437
|
+
declare class ForgeRepositories {
|
|
5438
|
+
private readonly http;
|
|
5439
|
+
constructor(http: HttpClient);
|
|
5440
|
+
create(params: ForgeRepositoryCreateParams): Promise<ForgeRepository>;
|
|
5441
|
+
list(): Promise<ForgeRepository[]>;
|
|
5442
|
+
get(id: ForgeRepositoryId): Promise<ForgeRepository>;
|
|
5443
|
+
refs(id: ForgeRepositoryId): Promise<ForgeRepositoryRefs>;
|
|
5444
|
+
tree(id: ForgeRepositoryId, location?: ForgeContentLocation): Promise<ForgeRepositoryTree>;
|
|
5445
|
+
blob(id: ForgeRepositoryId, location: ForgeContentLocation & {
|
|
5446
|
+
path: string;
|
|
5447
|
+
}): Promise<ForgeRepositoryBlob>;
|
|
5448
|
+
readme(id: ForgeRepositoryId, location?: ForgeContentLocation): Promise<ForgeRepositoryBlob>;
|
|
5449
|
+
commits(id: ForgeRepositoryId, query?: ForgeCommitQuery): Promise<ForgeCommitHistory>;
|
|
5450
|
+
putFile(id: ForgeRepositoryId, path: string, params: ForgeFileAuthoringParams & {
|
|
5451
|
+
content: string;
|
|
5452
|
+
}): Promise<ForgeFileOperationReceipt>;
|
|
5453
|
+
deleteFile(id: ForgeRepositoryId, path: string, params: ForgeFileAuthoringParams): Promise<ForgeFileOperationReceipt>;
|
|
5454
|
+
private authorFile;
|
|
5455
|
+
update(id: ForgeRepositoryId, params: ForgeRepositoryUpdateParams): Promise<ForgeRepository>;
|
|
5456
|
+
delete(id: ForgeRepositoryId, _options?: ForgeRepositoryDeleteOptions): Promise<ForgeDeleteReceipt>;
|
|
5457
|
+
}
|
|
5458
|
+
declare class Forge {
|
|
5459
|
+
readonly repositories: ForgeRepositories;
|
|
5460
|
+
constructor(http: HttpClient);
|
|
5461
|
+
private readonly http;
|
|
5462
|
+
capabilities(): Promise<ForgeCapabilities>;
|
|
5463
|
+
}
|
|
5464
|
+
|
|
4946
5465
|
/**
|
|
4947
5466
|
* HealthChecks resource — uptime monitoring.
|
|
4948
5467
|
*/
|
|
@@ -6280,6 +6799,18 @@ interface SandboxCreateParams {
|
|
|
6280
6799
|
agent_profile_id?: string;
|
|
6281
6800
|
skipRuntimeProfile?: boolean;
|
|
6282
6801
|
skip_agent_runtime_profile?: boolean;
|
|
6802
|
+
workspaceId?: string;
|
|
6803
|
+
workspace_id?: string;
|
|
6804
|
+
workspaceSlug?: string;
|
|
6805
|
+
workspace_slug?: string;
|
|
6806
|
+
workspaceName?: string;
|
|
6807
|
+
workspace_name?: string;
|
|
6808
|
+
projectId?: string;
|
|
6809
|
+
project_id?: string;
|
|
6810
|
+
projectSlug?: string;
|
|
6811
|
+
project_slug?: string;
|
|
6812
|
+
projectName?: string;
|
|
6813
|
+
project_name?: string;
|
|
6283
6814
|
externalWorkspaceId?: string;
|
|
6284
6815
|
external_workspace_id?: string;
|
|
6285
6816
|
externalUserId?: string;
|
|
@@ -6347,17 +6878,29 @@ interface SandboxExportParams {
|
|
|
6347
6878
|
label?: string;
|
|
6348
6879
|
filename?: string;
|
|
6349
6880
|
}
|
|
6881
|
+
/**
|
|
6882
|
+
* A single frame from {@link SandboxExecRunner.stream}, normalized so callers
|
|
6883
|
+
* can always switch on `type` to separate stdout from stderr and detect the
|
|
6884
|
+
* terminal exit frame.
|
|
6885
|
+
*
|
|
6886
|
+
* The server tags each SSE frame with an `event:` name (`stdout` / `stderr` /
|
|
6887
|
+
* `exit`); the SDK maps that name onto `type`. For output frames `data` (and
|
|
6888
|
+
* its legacy alias `line`) carry the text chunk. The exit frame carries the
|
|
6889
|
+
* process exit code as both `exit_code` and its camelCase alias `exitCode`.
|
|
6890
|
+
*/
|
|
6350
6891
|
type SandboxExecEvent = {
|
|
6351
|
-
type
|
|
6892
|
+
type: "stdout";
|
|
6893
|
+
data: string;
|
|
6352
6894
|
line: string;
|
|
6353
6895
|
} | {
|
|
6354
|
-
type
|
|
6896
|
+
type: "stderr";
|
|
6897
|
+
data: string;
|
|
6355
6898
|
line: string;
|
|
6356
6899
|
} | {
|
|
6357
|
-
type
|
|
6900
|
+
type: "exit";
|
|
6358
6901
|
exit_code: number;
|
|
6359
|
-
exitCode
|
|
6360
|
-
}
|
|
6902
|
+
exitCode: number;
|
|
6903
|
+
};
|
|
6361
6904
|
interface SandboxExecRunner {
|
|
6362
6905
|
(command: string, options?: SandboxExecOptions): Promise<SandboxExecResult>;
|
|
6363
6906
|
run(command: string, options?: SandboxExecOptions): Promise<SandboxExecResult>;
|
|
@@ -6371,6 +6914,9 @@ interface SandboxData {
|
|
|
6371
6914
|
ready?: boolean;
|
|
6372
6915
|
template_id?: string;
|
|
6373
6916
|
image_id?: string | null;
|
|
6917
|
+
size?: SandboxSize | string | null;
|
|
6918
|
+
/** Resolved resource contract the control plane placed this sandbox on. */
|
|
6919
|
+
resource_contract?: SandboxResourceContract | null;
|
|
6374
6920
|
cpu_count?: number | null;
|
|
6375
6921
|
memory_mb?: number | null;
|
|
6376
6922
|
disk_mb?: number | null;
|
|
@@ -6403,6 +6949,8 @@ interface SandboxUsage {
|
|
|
6403
6949
|
state: string;
|
|
6404
6950
|
runtime_sec: number;
|
|
6405
6951
|
provisioned_vcpu_ms: number;
|
|
6952
|
+
provisioned_memory_mb_ms: number | null;
|
|
6953
|
+
creation_count: number;
|
|
6406
6954
|
active_cpu_ms: number | null;
|
|
6407
6955
|
network_ingress_bytes: number | null;
|
|
6408
6956
|
network_egress_bytes: number | null;
|
|
@@ -6416,6 +6964,8 @@ interface SandboxUsage {
|
|
|
6416
6964
|
timeout_remaining_ms: number | null;
|
|
6417
6965
|
}
|
|
6418
6966
|
interface SandboxForkParams {
|
|
6967
|
+
snapshotId?: string;
|
|
6968
|
+
snapshot_id?: string;
|
|
6419
6969
|
timeoutSec?: number;
|
|
6420
6970
|
timeout_sec?: number;
|
|
6421
6971
|
templateId?: string;
|
|
@@ -6427,6 +6977,15 @@ interface SandboxLegacyForkParams extends SandboxForkParams {
|
|
|
6427
6977
|
name?: string;
|
|
6428
6978
|
metadata?: Record<string, unknown>;
|
|
6429
6979
|
}
|
|
6980
|
+
interface SandboxResourceContract {
|
|
6981
|
+
id: string;
|
|
6982
|
+
version: string;
|
|
6983
|
+
product: string;
|
|
6984
|
+
size: SandboxSize | string;
|
|
6985
|
+
vcpus: number;
|
|
6986
|
+
memory_mb: number;
|
|
6987
|
+
disk_size_mb: number;
|
|
6988
|
+
}
|
|
6430
6989
|
type PreviewUrlClass = "temporary_preview" | "always_on_preview" | "stable_sandbox_embed" | "durable_deployment" | (string & {});
|
|
6431
6990
|
type PreviewUrlAction = "create_alias_or_publish" | "publish_when_ready" | "attach_custom_domain" | (string & {});
|
|
6432
6991
|
interface PreviewUrlInfo {
|
|
@@ -6854,6 +7413,11 @@ declare class Sandbox {
|
|
|
6854
7413
|
resume(idempotencyKey?: string): Promise<Sandbox>;
|
|
6855
7414
|
deploy(params?: SandboxDeployParams): Promise<Record<string, unknown>>;
|
|
6856
7415
|
deployDocker(params?: SandboxDeployParams): Promise<Record<string, unknown>>;
|
|
7416
|
+
/** Deploy an immutable snapshot without modifying the editable sandbox. */
|
|
7417
|
+
deploySnapshot(snapshotId: string, params?: SandboxDeployParams, options?: {
|
|
7418
|
+
cleanup?: boolean;
|
|
7419
|
+
forkIdempotencyKey?: string;
|
|
7420
|
+
}): Promise<Record<string, unknown>>;
|
|
6857
7421
|
/** Check readiness of the sandbox (GET /sandboxes/:id/readiness). */
|
|
6858
7422
|
readiness(): Promise<Record<string, unknown>>;
|
|
6859
7423
|
/**
|
|
@@ -6876,6 +7440,16 @@ declare class Sandbox {
|
|
|
6876
7440
|
timeout?: number;
|
|
6877
7441
|
stream?: boolean;
|
|
6878
7442
|
}): Promise<boolean>;
|
|
7443
|
+
/**
|
|
7444
|
+
* Readiness answers from the server; `assertRunning` reads the local
|
|
7445
|
+
* snapshot. Leaving that snapshot behind meant a caller could await
|
|
7446
|
+
* `waitUntilReady()`, receive `true`, and have the very next call refused
|
|
7447
|
+
* for being "provisioning" — the sandbox was running the whole time, only
|
|
7448
|
+
* this object had not been told. Nothing here can fail the wait: readiness
|
|
7449
|
+
* has already answered, so a refresh that does not land is not the caller's
|
|
7450
|
+
* problem.
|
|
7451
|
+
*/
|
|
7452
|
+
private adoptReadyState;
|
|
6879
7453
|
/**
|
|
6880
7454
|
* Returns `true` / `false` for terminal SSE events, or `null` if the
|
|
6881
7455
|
* stream endpoint is unavailable (404 or transport error) so callers
|
|
@@ -7914,6 +8488,7 @@ declare class Miosa {
|
|
|
7914
8488
|
readonly orgInvites: OrgInvites;
|
|
7915
8489
|
/** Organizations available to the user session, membership, invites, and switching. */
|
|
7916
8490
|
readonly organizations: Organizations;
|
|
8491
|
+
readonly forge: Forge;
|
|
7917
8492
|
/** Current tenant plan, limits, and live usage counters. */
|
|
7918
8493
|
readonly tenant: Tenant;
|
|
7919
8494
|
/** Datacenter regions, compute sizes, pricing, community templates. */
|
|
@@ -7938,6 +8513,8 @@ declare class Miosa {
|
|
|
7938
8513
|
readonly projectIntegrations: ProjectIntegrations;
|
|
7939
8514
|
/** Built-in auth for generated apps inside sandboxes/deployments. */
|
|
7940
8515
|
readonly projectAuth: ProjectAuth;
|
|
8516
|
+
/** Durable generated App Documents, exact-version reviews, and publication bindings. */
|
|
8517
|
+
readonly appDocuments: AppDocuments;
|
|
7941
8518
|
/** BYOK encrypted per-user provider keys. */
|
|
7942
8519
|
readonly externalKeys: ExternalKeys;
|
|
7943
8520
|
/** Model Context Protocol — JSON-RPC dispatch + streaming channel. */
|
|
@@ -7952,6 +8529,8 @@ declare class Miosa {
|
|
|
7952
8529
|
readonly agentRunGroups: AgentRunGroups;
|
|
7953
8530
|
/** Agent runtime profiles — tenant/workspace defaults for sandbox/computer agents. */
|
|
7954
8531
|
readonly agentRuntimeProfiles: AgentRuntimeProfiles;
|
|
8532
|
+
/** Persisted workspace Agent definitions and immutable versions. */
|
|
8533
|
+
readonly agents: AgentDefinitions;
|
|
7955
8534
|
/** MIOSA Connect — provider connectors and runtime tokens. */
|
|
7956
8535
|
readonly connectors: Connectors;
|
|
7957
8536
|
/** Inherited runtime env — tenant/workspace/project defaults for agent runtimes. */
|
|
@@ -8247,73 +8826,4 @@ declare class AppAuth {
|
|
|
8247
8826
|
private _post;
|
|
8248
8827
|
}
|
|
8249
8828
|
|
|
8250
|
-
interface MiosaErrorBody {
|
|
8251
|
-
error?: string | {
|
|
8252
|
-
code?: string;
|
|
8253
|
-
message?: string;
|
|
8254
|
-
details?: unknown;
|
|
8255
|
-
};
|
|
8256
|
-
message?: string;
|
|
8257
|
-
code?: string;
|
|
8258
|
-
detail?: string;
|
|
8259
|
-
details?: unknown;
|
|
8260
|
-
reason?: string;
|
|
8261
|
-
request_id?: string;
|
|
8262
|
-
}
|
|
8263
|
-
declare class MiosaError extends Error {
|
|
8264
|
-
readonly status: number;
|
|
8265
|
-
readonly code: string;
|
|
8266
|
-
readonly details: unknown;
|
|
8267
|
-
readonly requestId: string | undefined;
|
|
8268
|
-
constructor(message: string, status: number, code: string, details?: unknown, requestId?: string);
|
|
8269
|
-
static fromResponse(status: number, body: MiosaErrorBody, requestId?: string): MiosaError;
|
|
8270
|
-
}
|
|
8271
|
-
declare class AuthError extends MiosaError {
|
|
8272
|
-
constructor(message: string, status?: number, code?: string, details?: unknown, requestId?: string);
|
|
8273
|
-
}
|
|
8274
|
-
declare class NotFoundError extends MiosaError {
|
|
8275
|
-
constructor(message: string, code?: string, details?: unknown, requestId?: string);
|
|
8276
|
-
}
|
|
8277
|
-
declare class RateLimitError extends MiosaError {
|
|
8278
|
-
readonly retryAfter: number | undefined;
|
|
8279
|
-
constructor(message: string, details?: unknown, requestId?: string, retryAfter?: number);
|
|
8280
|
-
}
|
|
8281
|
-
declare class InsufficientCreditsError extends MiosaError {
|
|
8282
|
-
constructor(message: string, details?: unknown, requestId?: string);
|
|
8283
|
-
}
|
|
8284
|
-
declare class ValidationError extends MiosaError {
|
|
8285
|
-
constructor(message: string, status: number, code?: string, details?: unknown, requestId?: string);
|
|
8286
|
-
}
|
|
8287
|
-
declare class TimeoutError extends MiosaError {
|
|
8288
|
-
constructor(message?: string);
|
|
8289
|
-
}
|
|
8290
|
-
declare class NetworkError extends MiosaError {
|
|
8291
|
-
readonly cause: Error;
|
|
8292
|
-
constructor(message: string, cause: Error);
|
|
8293
|
-
}
|
|
8294
|
-
declare class ProjectNotLinkedError extends MiosaError {
|
|
8295
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8296
|
-
}
|
|
8297
|
-
declare class SubjectNotAllowedError extends MiosaError {
|
|
8298
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8299
|
-
}
|
|
8300
|
-
declare class ScopeNotAllowedError extends MiosaError {
|
|
8301
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8302
|
-
}
|
|
8303
|
-
declare class ManagedProviderBindingOnlyError extends MiosaError {
|
|
8304
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8305
|
-
}
|
|
8306
|
-
declare class InstallationRequiredError extends MiosaError {
|
|
8307
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8308
|
-
}
|
|
8309
|
-
declare class UserAuthorizationRequiredError extends MiosaError {
|
|
8310
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8311
|
-
}
|
|
8312
|
-
declare class EgressHostNotAllowedError extends MiosaError {
|
|
8313
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8314
|
-
}
|
|
8315
|
-
declare class TokenRefreshFailedError extends MiosaError {
|
|
8316
|
-
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
8317
|
-
}
|
|
8318
|
-
|
|
8319
|
-
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, AppAuth, type AppAuthConfig, type AppAuthResourceType, type AppAuthSession, type AppAuthTokenPayload, type AppCatalogEntry, type AppInstallData, type AppInstallEvent, type AttachAwsRoleParams, type AuditListParams, AuditLog, type AuditLogEvent, type AuditLogListParams, type AuditTailParams, AuthError, type AuthToken, type BenchmarkCompareParams, type BenchmarkCreateParams, Benchmarks, type BindingCreateParams, type BindingListParams, type BrandingData, type BrandingUpdateParams, type BucketCreateParams, type BucketData, type BucketId, type BuilderSessionListParams, BuilderSessions, type BulkUserActionParams, type ChannelCreateParams, type ChannelData, type ChannelListParams, type ChannelUpdateParams, Channels, type ChatCompletionCreateParams, type ChatCompletionCreateStreamParams, Checkpoints, type ClickParams, Cloud, type CloudAccount, type CloudAccountCreateParams, type CloudAccountMode, type CloudAccountStatus, type CloudCredentialType, type CloudListParams, type CloudPlacementScope, type CloudPool, type CloudPoolCreateParams, type CloudPoolKind, type CloudPreflightRecordParams, type CloudPreflightRun, type CloudPreflightStatus, type CloudProvider, type CloudRegion, type CloudRegionCreateParams, type ClusterCreateParams, type ClusterData, type ClusterEvent, type ClusterId, type ClusterListResponse, type ClusterStatus, CommandCenter, Community, type CompletionCreateParams, type CompletionCreateStreamParams, Completions, type ComputeProduct, Computer, ComputerAudit, ComputerAutoStop, ComputerConnectors, type ComputerCreateParams, type ComputerData, ComputerEnv, type ComputerId, ComputerInbox, type ComputerListParams, type ComputerListResponse, ComputerLogs, type ComputerLogsGetParams, ComputerNetwork, ComputerOsa, ComputerPorts, ComputerSecrets, type ComputerSize, type ComputerStatus, type ComputerTemplateType, ComputerTerminal, type ComputerUpdateParams, type ComputerVisibility, ComputerVolumes, Computers, type ConnectorApplicableDefaultParams, type ConnectorCreateParams, type ConnectorData, type ConnectorDefault, type ConnectorDefaultListParams, type ConnectorDefaultParams, type ConnectorListParams, type ConnectorSubject, type ConnectorTokenParams, type ConnectorTokenResponse, Connectors, type CopyParams, type CreateAdminApiKeyParams, type CreateAgentBuildPacketParams, type 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 };
|
|
8829
|
+
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 };
|