withruntime 0.7.1 → 0.8.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/BLAXEL.md +210 -0
- package/README.md +18 -0
- package/dist/ai-harness/index.js +5 -0
- package/dist/blaxel/client.d.ts +48 -0
- package/dist/blaxel/client.js +58 -0
- package/dist/blaxel/context.d.ts +59 -0
- package/dist/blaxel/context.js +162 -0
- package/dist/blaxel/errors.d.ts +51 -0
- package/dist/blaxel/errors.js +148 -0
- package/dist/blaxel/filesystem.d.ts +147 -0
- package/dist/blaxel/filesystem.js +585 -0
- package/dist/blaxel/index.d.ts +280 -0
- package/dist/blaxel/index.js +332 -0
- package/dist/blaxel/interpreter.d.ts +74 -0
- package/dist/blaxel/interpreter.js +256 -0
- package/dist/blaxel/lookup.d.ts +37 -0
- package/dist/blaxel/lookup.js +82 -0
- package/dist/blaxel/pagination.d.ts +39 -0
- package/dist/blaxel/pagination.js +60 -0
- package/dist/blaxel/preview.d.ts +110 -0
- package/dist/blaxel/preview.js +228 -0
- package/dist/blaxel/process.d.ts +126 -0
- package/dist/blaxel/process.js +526 -0
- package/dist/blaxel/sandbox.d.ts +173 -0
- package/dist/blaxel/sandbox.js +768 -0
- package/dist/blaxel/snapshot.d.ts +119 -0
- package/dist/blaxel/snapshot.js +197 -0
- package/dist/blaxel/types.d.ts +145 -0
- package/dist/blaxel/types.js +60 -0
- package/dist/blaxel/unsupported.d.ts +22 -0
- package/dist/blaxel/unsupported.js +34 -0
- package/dist/cli.js +49 -15
- package/dist/login.d.ts +9 -36
- package/dist/login.js +0 -22
- package/dist/products/switching.d.ts +2 -2
- package/dist/sandbox.d.ts +3 -2
- package/dist/sandbox.js +3 -2
- package/dist/tar.js +72 -14
- package/dist/transport.d.ts +1 -1
- package/dist/transport.js +1 -1
- package/dist/types.d.ts +14 -1
- package/package.json +10 -2
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
import { type Config } from "./client.js";
|
|
2
|
+
export { SandboxInstance, DEFAULT_IMAGE, DEFAULT_MEMORY, MEMORY_PER_VCPU, durationMs, lifetimeOf, networkRules, type SandboxListQuery, type SandboxForkOptions, type SandboxArchiveOptions, } from "./sandbox.js";
|
|
3
|
+
export { CodeInterpreter } from "./interpreter.js";
|
|
4
|
+
export { SandboxFileSystem, retryOnTransient, type File, type FileWithContent, type Subdirectory, type Directory, type SuccessResponse, type FindMatch, type FindResponse, type FuzzySearchMatch, type FuzzySearchResponse, type ContentSearchMatch, type ContentSearchResponse, type CopyResponse, type WatchEvent, type SandboxFilesystemFile, type FilesystemSearchOptions, type FilesystemFindOptions, type FilesystemGrepOptions, } from "./filesystem.js";
|
|
5
|
+
export { SandboxProcess, type ProcessRequest, type ProcessResponse, type ProcessRequestWithLog, type ProcessResponseWithLog, type PostProcessResponse, type GetProcessResponse, type GetProcessByIdentifierResponse, type DeleteProcessByIdentifierResponse, type DeleteProcessByIdentifierKillResponse, type ProcessLogs, } from "./process.js";
|
|
6
|
+
export { SandboxPreview, SandboxPreviews, SandboxPreviewToken, SandboxPreviewTokens, type Preview, type PreviewMetadata, type PreviewSpec, type PreviewToken, } from "./preview.js";
|
|
7
|
+
export { Snapshot, SandboxSnapshotsResource, type Env, type SandboxSnapshot, type SandboxSnapshotSource, type SandboxSnapshotSpec, type SandboxForkResponse, type SandboxRestoreResponse, type SnapshotCreateConfiguration, type SnapshotForkOptions, type SnapshotListQuery, } from "./snapshot.js";
|
|
8
|
+
export { ResponseError, SandboxGatewayError, isGatewayError, isGatewayTimeout, CredentialsError, NotSupportedError, } from "./errors.js";
|
|
9
|
+
export { createPaginatedList, unwrapListData, type PaginatedList, type PaginatedListMeta, type ListResponse, type CursorPaginationQuery, type AutoPagingEachCallback, type AutoPagingToArrayOptions, } from "./pagination.js";
|
|
10
|
+
export { normalizePorts, normalizeEnvs, normalizeVolumes, type Status, type Port, type EnvVar, type ExpirationPolicy, type SandboxLifecycle, type SandboxNetwork, type VolumeBinding, type VolumeAttachment, type Metadata, type SandboxRuntime, type SandboxSpec, type CoreEvent, type Sandbox, type SandboxConfiguration, type SandboxCreateConfiguration, type SandboxUpdateMetadata, type SandboxUpdateNetwork, type SessionCreateOptions, type SessionWithToken, } from "./types.js";
|
|
11
|
+
export { initialize, type Config, type WithRuntime, type RuntimeOptions } from "./client.js";
|
|
12
|
+
/** Blaxel authenticates on first use; Runtime's SDK finds its key itself. */
|
|
13
|
+
export declare function authenticate(): Promise<void>;
|
|
14
|
+
/** Runtime's SDK closes idle connections itself. */
|
|
15
|
+
export declare function closeConnections(): Promise<void>;
|
|
16
|
+
export declare function ensureAutoloaded(): void;
|
|
17
|
+
/** A failure worth retrying once more: Runtime's SDK retries these itself. */
|
|
18
|
+
export declare function isTransientUploadError(error: unknown): boolean;
|
|
19
|
+
/** The process environment, read-only, as Blaxel's `env`. */
|
|
20
|
+
export declare const env: {
|
|
21
|
+
readonly [key: string]: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
type LoggerInterface = {
|
|
24
|
+
info: (message: string) => void;
|
|
25
|
+
debug: (message: string) => void;
|
|
26
|
+
warn: (message: string) => void;
|
|
27
|
+
error: (message: string) => void;
|
|
28
|
+
};
|
|
29
|
+
/** Blaxel's logger: to the console, or to the logger given to setLogger. */
|
|
30
|
+
export declare const logger: {
|
|
31
|
+
setLogger(next: LoggerInterface): void;
|
|
32
|
+
info: (...message: unknown[]) => void;
|
|
33
|
+
debug: (...message: unknown[]) => void;
|
|
34
|
+
warn: (...message: unknown[]) => void;
|
|
35
|
+
error: (...message: unknown[]) => void;
|
|
36
|
+
};
|
|
37
|
+
/** Blaxel's settings, as far as they mean anything on Runtime. `setConfig`
|
|
38
|
+
* takes a Runtime key as `apikey`; anything else throws NotSupportedError. */
|
|
39
|
+
export declare const settings: {
|
|
40
|
+
readonly env: string;
|
|
41
|
+
readonly region: string | undefined;
|
|
42
|
+
readonly workspace: string;
|
|
43
|
+
setConfig(config: Config): void;
|
|
44
|
+
authenticate(): Promise<void>;
|
|
45
|
+
readonly [key: string]: unknown;
|
|
46
|
+
};
|
|
47
|
+
export declare const SandboxSessions: import("./unsupported.js").Unsupported;
|
|
48
|
+
export declare const SandboxSchedules: import("./unsupported.js").Unsupported;
|
|
49
|
+
export declare const SandboxCodegen: import("./unsupported.js").Unsupported;
|
|
50
|
+
export declare const SandboxSystem: import("./unsupported.js").Unsupported;
|
|
51
|
+
export declare const SandboxDrive: import("./unsupported.js").Unsupported;
|
|
52
|
+
export declare const blAgent: import("./unsupported.js").Unsupported;
|
|
53
|
+
export declare const getAgentMetadata: import("./unsupported.js").Unsupported;
|
|
54
|
+
export declare const ApplicationInstance: import("./unsupported.js").Unsupported;
|
|
55
|
+
export declare const DriveInstance: import("./unsupported.js").Unsupported;
|
|
56
|
+
export declare const VolumeInstance: import("./unsupported.js").Unsupported;
|
|
57
|
+
export declare const ImageInstance: import("./unsupported.js").Unsupported;
|
|
58
|
+
export declare const SANDBOX_API_IMAGE: import("./unsupported.js").Unsupported;
|
|
59
|
+
export declare const SANDBOX_API_PATH: import("./unsupported.js").Unsupported;
|
|
60
|
+
export declare const blJob: import("./unsupported.js").Unsupported;
|
|
61
|
+
export declare const blStartJob: import("./unsupported.js").Unsupported;
|
|
62
|
+
export declare const BlaxelMcpClientTransport: import("./unsupported.js").Unsupported;
|
|
63
|
+
export declare const BlaxelMcpServerTransport: import("./unsupported.js").Unsupported;
|
|
64
|
+
export declare const BLModel: import("./unsupported.js").Unsupported;
|
|
65
|
+
export declare const blModel: import("./unsupported.js").Unsupported;
|
|
66
|
+
export declare const getModelMetadata: import("./unsupported.js").Unsupported;
|
|
67
|
+
export declare const getTool: import("./unsupported.js").Unsupported;
|
|
68
|
+
export declare const BLTools: import("./unsupported.js").Unsupported;
|
|
69
|
+
export declare const blTools: import("./unsupported.js").Unsupported;
|
|
70
|
+
export declare const blTool: import("./unsupported.js").Unsupported;
|
|
71
|
+
export declare const startSpan: import("./unsupported.js").Unsupported;
|
|
72
|
+
export declare const withSpan: import("./unsupported.js").Unsupported;
|
|
73
|
+
export declare const flush: import("./unsupported.js").Unsupported;
|
|
74
|
+
export declare const telemetryRegistry: import("./unsupported.js").Unsupported;
|
|
75
|
+
export declare const verifyWebhookSignature: import("./unsupported.js").Unsupported;
|
|
76
|
+
export declare const verifyWebhookFromRequest: import("./unsupported.js").Unsupported;
|
|
77
|
+
export declare const parseSemver: import("./unsupported.js").Unsupported;
|
|
78
|
+
export declare const isBrokenBunVersion: import("./unsupported.js").Unsupported;
|
|
79
|
+
export declare const detectBunVersion: import("./unsupported.js").Unsupported;
|
|
80
|
+
export declare const isBrokenBunH2Runtime: import("./unsupported.js").Unsupported;
|
|
81
|
+
export declare const BUN_H2_FIXED_VERSION: import("./unsupported.js").Unsupported;
|
|
82
|
+
export declare const H2_DEFAULT_CONNECTION_WINDOW_BYTES: import("./unsupported.js").Unsupported;
|
|
83
|
+
export declare const getWebSocket: import("./unsupported.js").Unsupported;
|
|
84
|
+
export declare const handleDynamicImportError: import("./unsupported.js").Unsupported;
|
|
85
|
+
export declare const getAlphanumericLimitedHash: import("./unsupported.js").Unsupported;
|
|
86
|
+
export declare const getGlobalUniqueHash: import("./unsupported.js").Unsupported;
|
|
87
|
+
export declare const pluralize: import("./unsupported.js").Unsupported;
|
|
88
|
+
export declare const getForcedUrl: import("./unsupported.js").Unsupported;
|
|
89
|
+
export declare const stringify: import("./unsupported.js").Unsupported;
|
|
90
|
+
export declare const crypto: import("./unsupported.js").Unsupported;
|
|
91
|
+
export declare const dotenv: import("./unsupported.js").Unsupported;
|
|
92
|
+
export declare const fs: import("./unsupported.js").Unsupported;
|
|
93
|
+
export declare const os: import("./unsupported.js").Unsupported;
|
|
94
|
+
export declare const path: import("./unsupported.js").Unsupported;
|
|
95
|
+
export declare const listAgents: import("./unsupported.js").Unsupported;
|
|
96
|
+
export declare const createAgent: import("./unsupported.js").Unsupported;
|
|
97
|
+
export declare const deleteAgent: import("./unsupported.js").Unsupported;
|
|
98
|
+
export declare const getAgent: import("./unsupported.js").Unsupported;
|
|
99
|
+
export declare const updateAgent: import("./unsupported.js").Unsupported;
|
|
100
|
+
export declare const listAgentRevisions: import("./unsupported.js").Unsupported;
|
|
101
|
+
export declare const listApplications: import("./unsupported.js").Unsupported;
|
|
102
|
+
export declare const createApplication: import("./unsupported.js").Unsupported;
|
|
103
|
+
export declare const deleteApplication: import("./unsupported.js").Unsupported;
|
|
104
|
+
export declare const getApplication: import("./unsupported.js").Unsupported;
|
|
105
|
+
export declare const updateApplication: import("./unsupported.js").Unsupported;
|
|
106
|
+
export declare const createApplicationCustomDomain: import("./unsupported.js").Unsupported;
|
|
107
|
+
export declare const listApplicationRevisions: import("./unsupported.js").Unsupported;
|
|
108
|
+
export declare const getChangelog: import("./unsupported.js").Unsupported;
|
|
109
|
+
export declare const getConfiguration: import("./unsupported.js").Unsupported;
|
|
110
|
+
export declare const listCustomDomains: import("./unsupported.js").Unsupported;
|
|
111
|
+
export declare const createCustomDomain: import("./unsupported.js").Unsupported;
|
|
112
|
+
export declare const deleteCustomDomain: import("./unsupported.js").Unsupported;
|
|
113
|
+
export declare const getCustomDomain: import("./unsupported.js").Unsupported;
|
|
114
|
+
export declare const updateCustomDomain: import("./unsupported.js").Unsupported;
|
|
115
|
+
export declare const listCustomDomainShares: import("./unsupported.js").Unsupported;
|
|
116
|
+
export declare const shareCustomDomain: import("./unsupported.js").Unsupported;
|
|
117
|
+
export declare const unshareCustomDomain: import("./unsupported.js").Unsupported;
|
|
118
|
+
export declare const verifyCustomDomain: import("./unsupported.js").Unsupported;
|
|
119
|
+
export declare const listDrives: import("./unsupported.js").Unsupported;
|
|
120
|
+
export declare const createDrive: import("./unsupported.js").Unsupported;
|
|
121
|
+
export declare const deleteDrive: import("./unsupported.js").Unsupported;
|
|
122
|
+
export declare const getDrive: import("./unsupported.js").Unsupported;
|
|
123
|
+
export declare const updateDrive: import("./unsupported.js").Unsupported;
|
|
124
|
+
export declare const createDriveAccessToken: import("./unsupported.js").Unsupported;
|
|
125
|
+
export declare const getDriveByExternalId: import("./unsupported.js").Unsupported;
|
|
126
|
+
export declare const getDriveJwks: import("./unsupported.js").Unsupported;
|
|
127
|
+
export declare const listAllEgressGateways: import("./unsupported.js").Unsupported;
|
|
128
|
+
export declare const getEgressGatewayUsage: import("./unsupported.js").Unsupported;
|
|
129
|
+
export declare const listAllEgressIps: import("./unsupported.js").Unsupported;
|
|
130
|
+
export declare const getWorkspaceFeatures: import("./unsupported.js").Unsupported;
|
|
131
|
+
export declare const testFeatureFlag: import("./unsupported.js").Unsupported;
|
|
132
|
+
export declare const listFunctions: import("./unsupported.js").Unsupported;
|
|
133
|
+
export declare const createFunction: import("./unsupported.js").Unsupported;
|
|
134
|
+
export declare const deleteFunction: import("./unsupported.js").Unsupported;
|
|
135
|
+
export declare const getFunction: import("./unsupported.js").Unsupported;
|
|
136
|
+
export declare const updateFunction: import("./unsupported.js").Unsupported;
|
|
137
|
+
export declare const listFunctionRevisions: import("./unsupported.js").Unsupported;
|
|
138
|
+
export declare const cleanupImages: import("./unsupported.js").Unsupported;
|
|
139
|
+
export declare const listImages: import("./unsupported.js").Unsupported;
|
|
140
|
+
export declare const createImage: import("./unsupported.js").Unsupported;
|
|
141
|
+
export declare const deleteImage: import("./unsupported.js").Unsupported;
|
|
142
|
+
export declare const getImage: import("./unsupported.js").Unsupported;
|
|
143
|
+
export declare const listImageShares: import("./unsupported.js").Unsupported;
|
|
144
|
+
export declare const shareImage: import("./unsupported.js").Unsupported;
|
|
145
|
+
export declare const unshareImage: import("./unsupported.js").Unsupported;
|
|
146
|
+
export declare const listImageTags: import("./unsupported.js").Unsupported;
|
|
147
|
+
export declare const deleteImageTag: import("./unsupported.js").Unsupported;
|
|
148
|
+
export declare const getIntegration: import("./unsupported.js").Unsupported;
|
|
149
|
+
export declare const listIntegrationConnections: import("./unsupported.js").Unsupported;
|
|
150
|
+
export declare const createIntegrationConnection: import("./unsupported.js").Unsupported;
|
|
151
|
+
export declare const deleteIntegrationConnection: import("./unsupported.js").Unsupported;
|
|
152
|
+
export declare const getIntegrationConnection: import("./unsupported.js").Unsupported;
|
|
153
|
+
export declare const updateIntegrationConnection: import("./unsupported.js").Unsupported;
|
|
154
|
+
export declare const getIntegrationConnectionModelEndpointConfigurations: import("./unsupported.js").Unsupported;
|
|
155
|
+
export declare const listIntegrationConnectionModels: import("./unsupported.js").Unsupported;
|
|
156
|
+
export declare const getIntegrationConnectionModel: import("./unsupported.js").Unsupported;
|
|
157
|
+
export declare const listJobs: import("./unsupported.js").Unsupported;
|
|
158
|
+
export declare const createJob: import("./unsupported.js").Unsupported;
|
|
159
|
+
export declare const deleteJob: import("./unsupported.js").Unsupported;
|
|
160
|
+
export declare const getJob: import("./unsupported.js").Unsupported;
|
|
161
|
+
export declare const updateJob: import("./unsupported.js").Unsupported;
|
|
162
|
+
export declare const listJobExecutions: import("./unsupported.js").Unsupported;
|
|
163
|
+
export declare const createJobExecution: import("./unsupported.js").Unsupported;
|
|
164
|
+
export declare const deleteJobExecution: import("./unsupported.js").Unsupported;
|
|
165
|
+
export declare const getJobExecution: import("./unsupported.js").Unsupported;
|
|
166
|
+
export declare const listJobExecutionTasks: import("./unsupported.js").Unsupported;
|
|
167
|
+
export declare const listJobRevisions: import("./unsupported.js").Unsupported;
|
|
168
|
+
export declare const listLocations: import("./unsupported.js").Unsupported;
|
|
169
|
+
export declare const listMcpHubDefinitions: import("./unsupported.js").Unsupported;
|
|
170
|
+
export declare const listModels: import("./unsupported.js").Unsupported;
|
|
171
|
+
export declare const createModel: import("./unsupported.js").Unsupported;
|
|
172
|
+
export declare const deleteModel: import("./unsupported.js").Unsupported;
|
|
173
|
+
export declare const getModel: import("./unsupported.js").Unsupported;
|
|
174
|
+
export declare const updateModel: import("./unsupported.js").Unsupported;
|
|
175
|
+
export declare const listModelRevisions: import("./unsupported.js").Unsupported;
|
|
176
|
+
export declare const listPendingImageShares: import("./unsupported.js").Unsupported;
|
|
177
|
+
export declare const acceptImageShare: import("./unsupported.js").Unsupported;
|
|
178
|
+
export declare const declineImageShare: import("./unsupported.js").Unsupported;
|
|
179
|
+
export declare const listPolicies: import("./unsupported.js").Unsupported;
|
|
180
|
+
export declare const createPolicy: import("./unsupported.js").Unsupported;
|
|
181
|
+
export declare const deletePolicy: import("./unsupported.js").Unsupported;
|
|
182
|
+
export declare const getPolicy: import("./unsupported.js").Unsupported;
|
|
183
|
+
export declare const updatePolicy: import("./unsupported.js").Unsupported;
|
|
184
|
+
export declare const getPolicyUsages: import("./unsupported.js").Unsupported;
|
|
185
|
+
export declare const listPublicIps: import("./unsupported.js").Unsupported;
|
|
186
|
+
export declare const listSandboxHubDefinitions: import("./unsupported.js").Unsupported;
|
|
187
|
+
export declare const listSandboxes: import("./unsupported.js").Unsupported;
|
|
188
|
+
export declare const createSandbox: import("./unsupported.js").Unsupported;
|
|
189
|
+
export declare const deleteSandbox: import("./unsupported.js").Unsupported;
|
|
190
|
+
export declare const getSandbox: import("./unsupported.js").Unsupported;
|
|
191
|
+
export declare const updateSandbox: import("./unsupported.js").Unsupported;
|
|
192
|
+
export declare const archiveSandbox: import("./unsupported.js").Unsupported;
|
|
193
|
+
export declare const forkSandbox: import("./unsupported.js").Unsupported;
|
|
194
|
+
export declare const listSandboxPreviews: import("./unsupported.js").Unsupported;
|
|
195
|
+
export declare const createSandboxPreview: import("./unsupported.js").Unsupported;
|
|
196
|
+
export declare const deleteSandboxPreview: import("./unsupported.js").Unsupported;
|
|
197
|
+
export declare const getSandboxPreview: import("./unsupported.js").Unsupported;
|
|
198
|
+
export declare const updateSandboxPreview: import("./unsupported.js").Unsupported;
|
|
199
|
+
export declare const listSandboxPreviewTokens: import("./unsupported.js").Unsupported;
|
|
200
|
+
export declare const createSandboxPreviewToken: import("./unsupported.js").Unsupported;
|
|
201
|
+
export declare const deleteSandboxPreviewToken: import("./unsupported.js").Unsupported;
|
|
202
|
+
export declare const listSandboxScheduleExecutions: import("./unsupported.js").Unsupported;
|
|
203
|
+
export declare const listSandboxSchedules: import("./unsupported.js").Unsupported;
|
|
204
|
+
export declare const createSandboxSchedule: import("./unsupported.js").Unsupported;
|
|
205
|
+
export declare const deleteSandboxSchedule: import("./unsupported.js").Unsupported;
|
|
206
|
+
export declare const getSandboxSchedule: import("./unsupported.js").Unsupported;
|
|
207
|
+
export declare const updateSandboxSchedule: import("./unsupported.js").Unsupported;
|
|
208
|
+
export declare const listSandboxSnapshots: import("./unsupported.js").Unsupported;
|
|
209
|
+
export declare const createSandboxSnapshot: import("./unsupported.js").Unsupported;
|
|
210
|
+
export declare const deleteSandboxSnapshot: import("./unsupported.js").Unsupported;
|
|
211
|
+
export declare const restoreSandboxSnapshot: import("./unsupported.js").Unsupported;
|
|
212
|
+
export declare const unarchiveSandbox: import("./unsupported.js").Unsupported;
|
|
213
|
+
export declare const getSandboxByExternalId: import("./unsupported.js").Unsupported;
|
|
214
|
+
export declare const listScheduleExecutions: import("./unsupported.js").Unsupported;
|
|
215
|
+
export declare const listSchedules: import("./unsupported.js").Unsupported;
|
|
216
|
+
export declare const getSandboxScheduleMetrics: import("./unsupported.js").Unsupported;
|
|
217
|
+
export declare const getWorkspaceServiceAccounts: import("./unsupported.js").Unsupported;
|
|
218
|
+
export declare const createWorkspaceServiceAccount: import("./unsupported.js").Unsupported;
|
|
219
|
+
export declare const deleteWorkspaceServiceAccount: import("./unsupported.js").Unsupported;
|
|
220
|
+
export declare const updateWorkspaceServiceAccount: import("./unsupported.js").Unsupported;
|
|
221
|
+
export declare const listApiKeysForServiceAccount: import("./unsupported.js").Unsupported;
|
|
222
|
+
export declare const createApiKeyForServiceAccount: import("./unsupported.js").Unsupported;
|
|
223
|
+
export declare const deleteApiKeyForServiceAccount: import("./unsupported.js").Unsupported;
|
|
224
|
+
export declare const listSnapshots: import("./unsupported.js").Unsupported;
|
|
225
|
+
export declare const createSnapshot: import("./unsupported.js").Unsupported;
|
|
226
|
+
export declare const deleteSnapshot: import("./unsupported.js").Unsupported;
|
|
227
|
+
export declare const getSnapshot: import("./unsupported.js").Unsupported;
|
|
228
|
+
export declare const forkSnapshot: import("./unsupported.js").Unsupported;
|
|
229
|
+
export declare const listTemplates: import("./unsupported.js").Unsupported;
|
|
230
|
+
export declare const getTemplate: import("./unsupported.js").Unsupported;
|
|
231
|
+
export declare const listWorkspaceUsers: import("./unsupported.js").Unsupported;
|
|
232
|
+
export declare const inviteWorkspaceUser: import("./unsupported.js").Unsupported;
|
|
233
|
+
export declare const removeWorkspaceUser: import("./unsupported.js").Unsupported;
|
|
234
|
+
export declare const updateWorkspaceUserRole: import("./unsupported.js").Unsupported;
|
|
235
|
+
export declare const listVolumeTemplates: import("./unsupported.js").Unsupported;
|
|
236
|
+
export declare const createVolumeTemplate: import("./unsupported.js").Unsupported;
|
|
237
|
+
export declare const deleteVolumeTemplate: import("./unsupported.js").Unsupported;
|
|
238
|
+
export declare const getVolumeTemplate: import("./unsupported.js").Unsupported;
|
|
239
|
+
export declare const updateVolumeTemplate: import("./unsupported.js").Unsupported;
|
|
240
|
+
export declare const deleteVolumeTemplateVersion: import("./unsupported.js").Unsupported;
|
|
241
|
+
export declare const listVolumes: import("./unsupported.js").Unsupported;
|
|
242
|
+
export declare const createVolume: import("./unsupported.js").Unsupported;
|
|
243
|
+
export declare const deleteVolume: import("./unsupported.js").Unsupported;
|
|
244
|
+
export declare const getVolume: import("./unsupported.js").Unsupported;
|
|
245
|
+
export declare const updateVolume: import("./unsupported.js").Unsupported;
|
|
246
|
+
export declare const getVolumeByExternalId: import("./unsupported.js").Unsupported;
|
|
247
|
+
export declare const listVpcs: import("./unsupported.js").Unsupported;
|
|
248
|
+
export declare const createVpc: import("./unsupported.js").Unsupported;
|
|
249
|
+
export declare const deleteVpc: import("./unsupported.js").Unsupported;
|
|
250
|
+
export declare const getVpc: import("./unsupported.js").Unsupported;
|
|
251
|
+
export declare const listEgressGateways: import("./unsupported.js").Unsupported;
|
|
252
|
+
export declare const createEgressGateway: import("./unsupported.js").Unsupported;
|
|
253
|
+
export declare const deleteEgressGateway: import("./unsupported.js").Unsupported;
|
|
254
|
+
export declare const getEgressGateway: import("./unsupported.js").Unsupported;
|
|
255
|
+
export declare const listEgressIps: import("./unsupported.js").Unsupported;
|
|
256
|
+
export declare const createEgressIp: import("./unsupported.js").Unsupported;
|
|
257
|
+
export declare const deleteEgressIp: import("./unsupported.js").Unsupported;
|
|
258
|
+
export declare const getEgressIp: import("./unsupported.js").Unsupported;
|
|
259
|
+
export declare const listWorkspaces: import("./unsupported.js").Unsupported;
|
|
260
|
+
export declare const createWorkspace: import("./unsupported.js").Unsupported;
|
|
261
|
+
export declare const deleteWorkspace: import("./unsupported.js").Unsupported;
|
|
262
|
+
export declare const getWorkspace: import("./unsupported.js").Unsupported;
|
|
263
|
+
export declare const updateWorkspace: import("./unsupported.js").Unsupported;
|
|
264
|
+
export declare const leaveWorkspace: import("./unsupported.js").Unsupported;
|
|
265
|
+
export declare const checkWorkspaceAvailability: import("./unsupported.js").Unsupported;
|
|
266
|
+
export declare const deleteFilesystemByPath: import("./unsupported.js").Unsupported;
|
|
267
|
+
export declare const deleteNetworkProcessByPidMonitor: import("./unsupported.js").Unsupported;
|
|
268
|
+
export declare const deleteProcessByIdentifier: import("./unsupported.js").Unsupported;
|
|
269
|
+
export declare const deleteProcessByIdentifierKill: import("./unsupported.js").Unsupported;
|
|
270
|
+
export declare const getFilesystemByPath: import("./unsupported.js").Unsupported;
|
|
271
|
+
export declare const getNetworkProcessByPidPorts: import("./unsupported.js").Unsupported;
|
|
272
|
+
export declare const putCodegenFastapplyByPath: import("./unsupported.js").Unsupported;
|
|
273
|
+
export declare const getCodegenRerankingByPath: import("./unsupported.js").Unsupported;
|
|
274
|
+
export declare const getProcess: import("./unsupported.js").Unsupported;
|
|
275
|
+
export declare const getProcessByIdentifier: import("./unsupported.js").Unsupported;
|
|
276
|
+
export declare const getProcessByIdentifierLogs: import("./unsupported.js").Unsupported;
|
|
277
|
+
export declare const getProcessByIdentifierLogsStream: import("./unsupported.js").Unsupported;
|
|
278
|
+
export declare const postNetworkProcessByPidMonitor: import("./unsupported.js").Unsupported;
|
|
279
|
+
export declare const postProcess: import("./unsupported.js").Unsupported;
|
|
280
|
+
export declare const putFilesystemByPath: import("./unsupported.js").Unsupported;
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
/** Code written for Blaxel's sandbox SDK (`@blaxel/core`), on Runtime Cloud.
|
|
2
|
+
* Change the import:
|
|
3
|
+
*
|
|
4
|
+
* import { SandboxInstance } from "withruntime/blaxel"; // was: from "@blaxel/core"
|
|
5
|
+
*
|
|
6
|
+
* and set RUNTIME_API_KEY, or run `npx withruntime login` once. A Blaxel key
|
|
7
|
+
* (BL_API_KEY) is never sent anywhere. Every name `@blaxel/core` 0.3.23
|
|
8
|
+
* exports can be imported; what Runtime cannot do the way Blaxel does throws
|
|
9
|
+
* NotSupportedError, naming what to use. */
|
|
10
|
+
import { RuntimeError } from "../errors.js";
|
|
11
|
+
import { initialize } from "./client.js";
|
|
12
|
+
import { NotSupportedError } from "./errors.js";
|
|
13
|
+
import { CODEGEN, DRIVES, SCHEDULES, SESSIONS, SYSTEM, unsupportedExport } from "./unsupported.js";
|
|
14
|
+
export { SandboxInstance, DEFAULT_IMAGE, DEFAULT_MEMORY, MEMORY_PER_VCPU, durationMs, lifetimeOf, networkRules, } from "./sandbox.js";
|
|
15
|
+
export { CodeInterpreter } from "./interpreter.js";
|
|
16
|
+
export { SandboxFileSystem, retryOnTransient, } from "./filesystem.js";
|
|
17
|
+
export { SandboxProcess, } from "./process.js";
|
|
18
|
+
export { SandboxPreview, SandboxPreviews, SandboxPreviewToken, SandboxPreviewTokens, } from "./preview.js";
|
|
19
|
+
export { Snapshot, SandboxSnapshotsResource, } from "./snapshot.js";
|
|
20
|
+
export { ResponseError, SandboxGatewayError, isGatewayError, isGatewayTimeout, CredentialsError, NotSupportedError, } from "./errors.js";
|
|
21
|
+
export { createPaginatedList, unwrapListData, } from "./pagination.js";
|
|
22
|
+
export { normalizePorts, normalizeEnvs, normalizeVolumes, } from "./types.js";
|
|
23
|
+
export { initialize } from "./client.js";
|
|
24
|
+
/** Blaxel authenticates on first use; Runtime's SDK finds its key itself. */
|
|
25
|
+
export async function authenticate() { }
|
|
26
|
+
/** Runtime's SDK closes idle connections itself. */
|
|
27
|
+
export async function closeConnections() { }
|
|
28
|
+
export function ensureAutoloaded() { }
|
|
29
|
+
/** A failure worth retrying once more: Runtime's SDK retries these itself. */
|
|
30
|
+
export function isTransientUploadError(error) {
|
|
31
|
+
return error instanceof RuntimeError && error.retryable;
|
|
32
|
+
}
|
|
33
|
+
/** The process environment, read-only, as Blaxel's `env`. */
|
|
34
|
+
export const env = new Proxy({}, {
|
|
35
|
+
get: (_target, property) => typeof property === "string" && typeof process !== "undefined"
|
|
36
|
+
? process.env[property]
|
|
37
|
+
: undefined,
|
|
38
|
+
});
|
|
39
|
+
let sink = {
|
|
40
|
+
info: (message) => console.info(message),
|
|
41
|
+
debug: (message) => console.debug(message),
|
|
42
|
+
warn: (message) => console.warn(message),
|
|
43
|
+
error: (message) => console.error(message),
|
|
44
|
+
};
|
|
45
|
+
const text = (parts) => parts.map((part) => (typeof part === "string" ? part : JSON.stringify(part))).join(" ");
|
|
46
|
+
/** Blaxel's logger: to the console, or to the logger given to setLogger. */
|
|
47
|
+
export const logger = {
|
|
48
|
+
setLogger(next) {
|
|
49
|
+
sink = next;
|
|
50
|
+
},
|
|
51
|
+
info: (...message) => sink.info(text(message)),
|
|
52
|
+
debug: (...message) => sink.debug(text(message)),
|
|
53
|
+
warn: (...message) => sink.warn(text(message)),
|
|
54
|
+
error: (...message) => sink.error(text(message)),
|
|
55
|
+
};
|
|
56
|
+
/** Blaxel's settings, as far as they mean anything on Runtime. `setConfig`
|
|
57
|
+
* takes a Runtime key as `apikey`; anything else throws NotSupportedError. */
|
|
58
|
+
export const settings = new Proxy({
|
|
59
|
+
get env() {
|
|
60
|
+
return "prod";
|
|
61
|
+
},
|
|
62
|
+
get region() {
|
|
63
|
+
return env.BL_REGION || undefined;
|
|
64
|
+
},
|
|
65
|
+
get workspace() {
|
|
66
|
+
return env.BL_WORKSPACE ?? "";
|
|
67
|
+
},
|
|
68
|
+
setConfig: (config) => initialize(config),
|
|
69
|
+
authenticate,
|
|
70
|
+
}, {
|
|
71
|
+
get: (target, property) => {
|
|
72
|
+
if (property in target || typeof property === "symbol" || property === "then")
|
|
73
|
+
return Reflect.get(target, property);
|
|
74
|
+
throw new NotSupportedError(`Blaxel's settings.${property}`, "Runtime's SDK is configured by RUNTIME_API_KEY (or `npx withruntime login`) and RUNTIME_API_URL.");
|
|
75
|
+
},
|
|
76
|
+
});
|
|
77
|
+
/* The sandbox parts Runtime has no counterpart for. On a sandbox they are
|
|
78
|
+
objects whose methods reject; as exports, stand-ins. */
|
|
79
|
+
export const SandboxSessions = unsupportedExport("SandboxSessions", SESSIONS);
|
|
80
|
+
export const SandboxSchedules = unsupportedExport("SandboxSchedules", SCHEDULES);
|
|
81
|
+
export const SandboxCodegen = unsupportedExport("SandboxCodegen", CODEGEN);
|
|
82
|
+
export const SandboxSystem = unsupportedExport("SandboxSystem", SYSTEM);
|
|
83
|
+
export const SandboxDrive = unsupportedExport("SandboxDrive", DRIVES);
|
|
84
|
+
/* Blaxel's other products: agents, models, tools, MCP, jobs, applications,
|
|
85
|
+
drives, volumes and images. Importable; using one throws. */
|
|
86
|
+
const AGENTS = "Runtime runs your agent's tools, not the agent: run it in your own process and give it sandboxes with SandboxInstance, or use withruntime/ai, withruntime/claude-agent-sdk or withruntime/openai-agents.";
|
|
87
|
+
const MODELS = "Call your model provider's SDK directly; Runtime does not proxy models.";
|
|
88
|
+
const TOOLS = "Give your agent Runtime's sandbox tools: `import { tools } from \"withruntime/tools\"`, or Runtime's MCP server (`npx withruntime mcp`).";
|
|
89
|
+
const MCP = "Serve MCP from a sandbox and share its port with sandbox.previews.create, or use Runtime's own MCP server (`npx withruntime mcp`).";
|
|
90
|
+
const JOBS = "Run the batch as processes in sandboxes: SandboxInstance.create, then sandbox.process.exec for each task.";
|
|
91
|
+
const IMAGES = "Build a Runtime image and create sandboxes from it by name: `npx withruntime image build --dockerfile Dockerfile --name <image>` or runtime.images.build({ name, dockerfile | image }).";
|
|
92
|
+
const VOLUMES = 'Use Runtime volumes: runtime.volumes.create({ name }) (`import { Runtime } from "withruntime"`), then pass volumes: [{ name, mountPath }] at create.';
|
|
93
|
+
const HOSTING = "Serve it from a sandbox and share its port with sandbox.previews.create.";
|
|
94
|
+
const TELEMETRY = "Send your own traces; Runtime exports sandbox metrics and events with runtime.otel (OpenTelemetry).";
|
|
95
|
+
const INTERNALS = "It is a Blaxel SDK internal with no meaning on Runtime; remove the call.";
|
|
96
|
+
const NODE = (module) => `Import it from node:${module}.`;
|
|
97
|
+
export const blAgent = unsupportedExport("blAgent", AGENTS);
|
|
98
|
+
export const getAgentMetadata = unsupportedExport("getAgentMetadata", AGENTS);
|
|
99
|
+
export const ApplicationInstance = unsupportedExport("ApplicationInstance", HOSTING);
|
|
100
|
+
export const DriveInstance = unsupportedExport("DriveInstance", DRIVES);
|
|
101
|
+
export const VolumeInstance = unsupportedExport("VolumeInstance", VOLUMES);
|
|
102
|
+
export const ImageInstance = unsupportedExport("ImageInstance", IMAGES);
|
|
103
|
+
export const SANDBOX_API_IMAGE = unsupportedExport("SANDBOX_API_IMAGE", IMAGES);
|
|
104
|
+
export const SANDBOX_API_PATH = unsupportedExport("SANDBOX_API_PATH", IMAGES);
|
|
105
|
+
export const blJob = unsupportedExport("blJob", JOBS);
|
|
106
|
+
export const blStartJob = unsupportedExport("blStartJob", JOBS);
|
|
107
|
+
export const BlaxelMcpClientTransport = unsupportedExport("BlaxelMcpClientTransport", MCP);
|
|
108
|
+
export const BlaxelMcpServerTransport = unsupportedExport("BlaxelMcpServerTransport", MCP);
|
|
109
|
+
export const BLModel = unsupportedExport("BLModel", MODELS);
|
|
110
|
+
export const blModel = unsupportedExport("blModel", MODELS);
|
|
111
|
+
export const getModelMetadata = unsupportedExport("getModelMetadata", MODELS);
|
|
112
|
+
export const getTool = unsupportedExport("getTool", TOOLS);
|
|
113
|
+
export const BLTools = unsupportedExport("BLTools", TOOLS);
|
|
114
|
+
export const blTools = unsupportedExport("blTools", TOOLS);
|
|
115
|
+
export const blTool = unsupportedExport("blTool", TOOLS);
|
|
116
|
+
export const startSpan = unsupportedExport("startSpan", TELEMETRY);
|
|
117
|
+
export const withSpan = unsupportedExport("withSpan", TELEMETRY);
|
|
118
|
+
export const flush = unsupportedExport("flush", TELEMETRY);
|
|
119
|
+
export const telemetryRegistry = unsupportedExport("telemetryRegistry", TELEMETRY);
|
|
120
|
+
export const verifyWebhookSignature = unsupportedExport("verifyWebhookSignature", "Runtime signs its own webhooks: verify them as runtime.webhooks describes (BLAXEL.md links it).");
|
|
121
|
+
export const verifyWebhookFromRequest = unsupportedExport("verifyWebhookFromRequest", "Runtime signs its own webhooks: verify them as runtime.webhooks describes (BLAXEL.md links it).");
|
|
122
|
+
export const parseSemver = unsupportedExport("parseSemver", INTERNALS);
|
|
123
|
+
export const isBrokenBunVersion = unsupportedExport("isBrokenBunVersion", INTERNALS);
|
|
124
|
+
export const detectBunVersion = unsupportedExport("detectBunVersion", INTERNALS);
|
|
125
|
+
export const isBrokenBunH2Runtime = unsupportedExport("isBrokenBunH2Runtime", INTERNALS);
|
|
126
|
+
export const BUN_H2_FIXED_VERSION = unsupportedExport("BUN_H2_FIXED_VERSION", INTERNALS);
|
|
127
|
+
export const H2_DEFAULT_CONNECTION_WINDOW_BYTES = unsupportedExport("H2_DEFAULT_CONNECTION_WINDOW_BYTES", INTERNALS);
|
|
128
|
+
export const getWebSocket = unsupportedExport("getWebSocket", INTERNALS);
|
|
129
|
+
export const handleDynamicImportError = unsupportedExport("handleDynamicImportError", INTERNALS);
|
|
130
|
+
export const getAlphanumericLimitedHash = unsupportedExport("getAlphanumericLimitedHash", INTERNALS);
|
|
131
|
+
export const getGlobalUniqueHash = unsupportedExport("getGlobalUniqueHash", INTERNALS);
|
|
132
|
+
export const pluralize = unsupportedExport("pluralize", INTERNALS);
|
|
133
|
+
export const getForcedUrl = unsupportedExport("getForcedUrl", INTERNALS);
|
|
134
|
+
export const stringify = unsupportedExport("stringify", INTERNALS);
|
|
135
|
+
export const crypto = unsupportedExport("crypto", NODE("crypto"));
|
|
136
|
+
export const dotenv = unsupportedExport("dotenv", "Import it from the dotenv package.");
|
|
137
|
+
export const fs = unsupportedExport("fs", NODE("fs"));
|
|
138
|
+
export const os = unsupportedExport("os", NODE("os"));
|
|
139
|
+
export const path = unsupportedExport("path", NODE("path"));
|
|
140
|
+
/* Blaxel's generated API functions (control plane and sandbox API): Runtime
|
|
141
|
+
has its own API, reached through SandboxInstance here or the withruntime
|
|
142
|
+
SDK. Each is importable and throws NotSupportedError when called. */
|
|
143
|
+
const API = 'Use SandboxInstance (create, get, list, delete, update*) and its parts here, or Runtime\'s own SDK: `import { Runtime } from "withruntime"`.';
|
|
144
|
+
const SANDBOX_API = "Use the sandbox's parts: sandbox.process, sandbox.fs, sandbox.fetch and sandbox.codegen.";
|
|
145
|
+
const api = (name) => unsupportedExport(`API function ${name}`, API);
|
|
146
|
+
const sandboxApi = (name) => unsupportedExport(`sandbox API function ${name}`, SANDBOX_API);
|
|
147
|
+
export const listAgents = api("listAgents");
|
|
148
|
+
export const createAgent = api("createAgent");
|
|
149
|
+
export const deleteAgent = api("deleteAgent");
|
|
150
|
+
export const getAgent = api("getAgent");
|
|
151
|
+
export const updateAgent = api("updateAgent");
|
|
152
|
+
export const listAgentRevisions = api("listAgentRevisions");
|
|
153
|
+
export const listApplications = api("listApplications");
|
|
154
|
+
export const createApplication = api("createApplication");
|
|
155
|
+
export const deleteApplication = api("deleteApplication");
|
|
156
|
+
export const getApplication = api("getApplication");
|
|
157
|
+
export const updateApplication = api("updateApplication");
|
|
158
|
+
export const createApplicationCustomDomain = api("createApplicationCustomDomain");
|
|
159
|
+
export const listApplicationRevisions = api("listApplicationRevisions");
|
|
160
|
+
export const getChangelog = api("getChangelog");
|
|
161
|
+
export const getConfiguration = api("getConfiguration");
|
|
162
|
+
export const listCustomDomains = api("listCustomDomains");
|
|
163
|
+
export const createCustomDomain = api("createCustomDomain");
|
|
164
|
+
export const deleteCustomDomain = api("deleteCustomDomain");
|
|
165
|
+
export const getCustomDomain = api("getCustomDomain");
|
|
166
|
+
export const updateCustomDomain = api("updateCustomDomain");
|
|
167
|
+
export const listCustomDomainShares = api("listCustomDomainShares");
|
|
168
|
+
export const shareCustomDomain = api("shareCustomDomain");
|
|
169
|
+
export const unshareCustomDomain = api("unshareCustomDomain");
|
|
170
|
+
export const verifyCustomDomain = api("verifyCustomDomain");
|
|
171
|
+
export const listDrives = api("listDrives");
|
|
172
|
+
export const createDrive = api("createDrive");
|
|
173
|
+
export const deleteDrive = api("deleteDrive");
|
|
174
|
+
export const getDrive = api("getDrive");
|
|
175
|
+
export const updateDrive = api("updateDrive");
|
|
176
|
+
export const createDriveAccessToken = api("createDriveAccessToken");
|
|
177
|
+
export const getDriveByExternalId = api("getDriveByExternalId");
|
|
178
|
+
export const getDriveJwks = api("getDriveJwks");
|
|
179
|
+
export const listAllEgressGateways = api("listAllEgressGateways");
|
|
180
|
+
export const getEgressGatewayUsage = api("getEgressGatewayUsage");
|
|
181
|
+
export const listAllEgressIps = api("listAllEgressIps");
|
|
182
|
+
export const getWorkspaceFeatures = api("getWorkspaceFeatures");
|
|
183
|
+
export const testFeatureFlag = api("testFeatureFlag");
|
|
184
|
+
export const listFunctions = api("listFunctions");
|
|
185
|
+
export const createFunction = api("createFunction");
|
|
186
|
+
export const deleteFunction = api("deleteFunction");
|
|
187
|
+
export const getFunction = api("getFunction");
|
|
188
|
+
export const updateFunction = api("updateFunction");
|
|
189
|
+
export const listFunctionRevisions = api("listFunctionRevisions");
|
|
190
|
+
export const cleanupImages = api("cleanupImages");
|
|
191
|
+
export const listImages = api("listImages");
|
|
192
|
+
export const createImage = api("createImage");
|
|
193
|
+
export const deleteImage = api("deleteImage");
|
|
194
|
+
export const getImage = api("getImage");
|
|
195
|
+
export const listImageShares = api("listImageShares");
|
|
196
|
+
export const shareImage = api("shareImage");
|
|
197
|
+
export const unshareImage = api("unshareImage");
|
|
198
|
+
export const listImageTags = api("listImageTags");
|
|
199
|
+
export const deleteImageTag = api("deleteImageTag");
|
|
200
|
+
export const getIntegration = api("getIntegration");
|
|
201
|
+
export const listIntegrationConnections = api("listIntegrationConnections");
|
|
202
|
+
export const createIntegrationConnection = api("createIntegrationConnection");
|
|
203
|
+
export const deleteIntegrationConnection = api("deleteIntegrationConnection");
|
|
204
|
+
export const getIntegrationConnection = api("getIntegrationConnection");
|
|
205
|
+
export const updateIntegrationConnection = api("updateIntegrationConnection");
|
|
206
|
+
export const getIntegrationConnectionModelEndpointConfigurations = api("getIntegrationConnectionModelEndpointConfigurations");
|
|
207
|
+
export const listIntegrationConnectionModels = api("listIntegrationConnectionModels");
|
|
208
|
+
export const getIntegrationConnectionModel = api("getIntegrationConnectionModel");
|
|
209
|
+
export const listJobs = api("listJobs");
|
|
210
|
+
export const createJob = api("createJob");
|
|
211
|
+
export const deleteJob = api("deleteJob");
|
|
212
|
+
export const getJob = api("getJob");
|
|
213
|
+
export const updateJob = api("updateJob");
|
|
214
|
+
export const listJobExecutions = api("listJobExecutions");
|
|
215
|
+
export const createJobExecution = api("createJobExecution");
|
|
216
|
+
export const deleteJobExecution = api("deleteJobExecution");
|
|
217
|
+
export const getJobExecution = api("getJobExecution");
|
|
218
|
+
export const listJobExecutionTasks = api("listJobExecutionTasks");
|
|
219
|
+
export const listJobRevisions = api("listJobRevisions");
|
|
220
|
+
export const listLocations = api("listLocations");
|
|
221
|
+
export const listMcpHubDefinitions = api("listMcpHubDefinitions");
|
|
222
|
+
export const listModels = api("listModels");
|
|
223
|
+
export const createModel = api("createModel");
|
|
224
|
+
export const deleteModel = api("deleteModel");
|
|
225
|
+
export const getModel = api("getModel");
|
|
226
|
+
export const updateModel = api("updateModel");
|
|
227
|
+
export const listModelRevisions = api("listModelRevisions");
|
|
228
|
+
export const listPendingImageShares = api("listPendingImageShares");
|
|
229
|
+
export const acceptImageShare = api("acceptImageShare");
|
|
230
|
+
export const declineImageShare = api("declineImageShare");
|
|
231
|
+
export const listPolicies = api("listPolicies");
|
|
232
|
+
export const createPolicy = api("createPolicy");
|
|
233
|
+
export const deletePolicy = api("deletePolicy");
|
|
234
|
+
export const getPolicy = api("getPolicy");
|
|
235
|
+
export const updatePolicy = api("updatePolicy");
|
|
236
|
+
export const getPolicyUsages = api("getPolicyUsages");
|
|
237
|
+
export const listPublicIps = api("listPublicIps");
|
|
238
|
+
export const listSandboxHubDefinitions = api("listSandboxHubDefinitions");
|
|
239
|
+
export const listSandboxes = api("listSandboxes");
|
|
240
|
+
export const createSandbox = api("createSandbox");
|
|
241
|
+
export const deleteSandbox = api("deleteSandbox");
|
|
242
|
+
export const getSandbox = api("getSandbox");
|
|
243
|
+
export const updateSandbox = api("updateSandbox");
|
|
244
|
+
export const archiveSandbox = api("archiveSandbox");
|
|
245
|
+
export const forkSandbox = api("forkSandbox");
|
|
246
|
+
export const listSandboxPreviews = api("listSandboxPreviews");
|
|
247
|
+
export const createSandboxPreview = api("createSandboxPreview");
|
|
248
|
+
export const deleteSandboxPreview = api("deleteSandboxPreview");
|
|
249
|
+
export const getSandboxPreview = api("getSandboxPreview");
|
|
250
|
+
export const updateSandboxPreview = api("updateSandboxPreview");
|
|
251
|
+
export const listSandboxPreviewTokens = api("listSandboxPreviewTokens");
|
|
252
|
+
export const createSandboxPreviewToken = api("createSandboxPreviewToken");
|
|
253
|
+
export const deleteSandboxPreviewToken = api("deleteSandboxPreviewToken");
|
|
254
|
+
export const listSandboxScheduleExecutions = api("listSandboxScheduleExecutions");
|
|
255
|
+
export const listSandboxSchedules = api("listSandboxSchedules");
|
|
256
|
+
export const createSandboxSchedule = api("createSandboxSchedule");
|
|
257
|
+
export const deleteSandboxSchedule = api("deleteSandboxSchedule");
|
|
258
|
+
export const getSandboxSchedule = api("getSandboxSchedule");
|
|
259
|
+
export const updateSandboxSchedule = api("updateSandboxSchedule");
|
|
260
|
+
export const listSandboxSnapshots = api("listSandboxSnapshots");
|
|
261
|
+
export const createSandboxSnapshot = api("createSandboxSnapshot");
|
|
262
|
+
export const deleteSandboxSnapshot = api("deleteSandboxSnapshot");
|
|
263
|
+
export const restoreSandboxSnapshot = api("restoreSandboxSnapshot");
|
|
264
|
+
export const unarchiveSandbox = api("unarchiveSandbox");
|
|
265
|
+
export const getSandboxByExternalId = api("getSandboxByExternalId");
|
|
266
|
+
export const listScheduleExecutions = api("listScheduleExecutions");
|
|
267
|
+
export const listSchedules = api("listSchedules");
|
|
268
|
+
export const getSandboxScheduleMetrics = api("getSandboxScheduleMetrics");
|
|
269
|
+
export const getWorkspaceServiceAccounts = api("getWorkspaceServiceAccounts");
|
|
270
|
+
export const createWorkspaceServiceAccount = api("createWorkspaceServiceAccount");
|
|
271
|
+
export const deleteWorkspaceServiceAccount = api("deleteWorkspaceServiceAccount");
|
|
272
|
+
export const updateWorkspaceServiceAccount = api("updateWorkspaceServiceAccount");
|
|
273
|
+
export const listApiKeysForServiceAccount = api("listApiKeysForServiceAccount");
|
|
274
|
+
export const createApiKeyForServiceAccount = api("createApiKeyForServiceAccount");
|
|
275
|
+
export const deleteApiKeyForServiceAccount = api("deleteApiKeyForServiceAccount");
|
|
276
|
+
export const listSnapshots = api("listSnapshots");
|
|
277
|
+
export const createSnapshot = api("createSnapshot");
|
|
278
|
+
export const deleteSnapshot = api("deleteSnapshot");
|
|
279
|
+
export const getSnapshot = api("getSnapshot");
|
|
280
|
+
export const forkSnapshot = api("forkSnapshot");
|
|
281
|
+
export const listTemplates = api("listTemplates");
|
|
282
|
+
export const getTemplate = api("getTemplate");
|
|
283
|
+
export const listWorkspaceUsers = api("listWorkspaceUsers");
|
|
284
|
+
export const inviteWorkspaceUser = api("inviteWorkspaceUser");
|
|
285
|
+
export const removeWorkspaceUser = api("removeWorkspaceUser");
|
|
286
|
+
export const updateWorkspaceUserRole = api("updateWorkspaceUserRole");
|
|
287
|
+
export const listVolumeTemplates = api("listVolumeTemplates");
|
|
288
|
+
export const createVolumeTemplate = api("createVolumeTemplate");
|
|
289
|
+
export const deleteVolumeTemplate = api("deleteVolumeTemplate");
|
|
290
|
+
export const getVolumeTemplate = api("getVolumeTemplate");
|
|
291
|
+
export const updateVolumeTemplate = api("updateVolumeTemplate");
|
|
292
|
+
export const deleteVolumeTemplateVersion = api("deleteVolumeTemplateVersion");
|
|
293
|
+
export const listVolumes = api("listVolumes");
|
|
294
|
+
export const createVolume = api("createVolume");
|
|
295
|
+
export const deleteVolume = api("deleteVolume");
|
|
296
|
+
export const getVolume = api("getVolume");
|
|
297
|
+
export const updateVolume = api("updateVolume");
|
|
298
|
+
export const getVolumeByExternalId = api("getVolumeByExternalId");
|
|
299
|
+
export const listVpcs = api("listVpcs");
|
|
300
|
+
export const createVpc = api("createVpc");
|
|
301
|
+
export const deleteVpc = api("deleteVpc");
|
|
302
|
+
export const getVpc = api("getVpc");
|
|
303
|
+
export const listEgressGateways = api("listEgressGateways");
|
|
304
|
+
export const createEgressGateway = api("createEgressGateway");
|
|
305
|
+
export const deleteEgressGateway = api("deleteEgressGateway");
|
|
306
|
+
export const getEgressGateway = api("getEgressGateway");
|
|
307
|
+
export const listEgressIps = api("listEgressIps");
|
|
308
|
+
export const createEgressIp = api("createEgressIp");
|
|
309
|
+
export const deleteEgressIp = api("deleteEgressIp");
|
|
310
|
+
export const getEgressIp = api("getEgressIp");
|
|
311
|
+
export const listWorkspaces = api("listWorkspaces");
|
|
312
|
+
export const createWorkspace = api("createWorkspace");
|
|
313
|
+
export const deleteWorkspace = api("deleteWorkspace");
|
|
314
|
+
export const getWorkspace = api("getWorkspace");
|
|
315
|
+
export const updateWorkspace = api("updateWorkspace");
|
|
316
|
+
export const leaveWorkspace = api("leaveWorkspace");
|
|
317
|
+
export const checkWorkspaceAvailability = api("checkWorkspaceAvailability");
|
|
318
|
+
export const deleteFilesystemByPath = sandboxApi("deleteFilesystemByPath");
|
|
319
|
+
export const deleteNetworkProcessByPidMonitor = sandboxApi("deleteNetworkProcessByPidMonitor");
|
|
320
|
+
export const deleteProcessByIdentifier = sandboxApi("deleteProcessByIdentifier");
|
|
321
|
+
export const deleteProcessByIdentifierKill = sandboxApi("deleteProcessByIdentifierKill");
|
|
322
|
+
export const getFilesystemByPath = sandboxApi("getFilesystemByPath");
|
|
323
|
+
export const getNetworkProcessByPidPorts = sandboxApi("getNetworkProcessByPidPorts");
|
|
324
|
+
export const putCodegenFastapplyByPath = sandboxApi("putCodegenFastapplyByPath");
|
|
325
|
+
export const getCodegenRerankingByPath = sandboxApi("getCodegenRerankingByPath");
|
|
326
|
+
export const getProcess = sandboxApi("getProcess");
|
|
327
|
+
export const getProcessByIdentifier = sandboxApi("getProcessByIdentifier");
|
|
328
|
+
export const getProcessByIdentifierLogs = sandboxApi("getProcessByIdentifierLogs");
|
|
329
|
+
export const getProcessByIdentifierLogsStream = sandboxApi("getProcessByIdentifierLogsStream");
|
|
330
|
+
export const postNetworkProcessByPidMonitor = sandboxApi("postNetworkProcessByPidMonitor");
|
|
331
|
+
export const postProcess = sandboxApi("postProcess");
|
|
332
|
+
export const putFilesystemByPath = sandboxApi("putFilesystemByPath");
|