@tangle-network/sandbox 0.0.3
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/LICENSE +11 -0
- package/README.md +610 -0
- package/dist/auth/index.d.ts +2 -0
- package/dist/auth/index.js +1 -0
- package/dist/auth-BI8GUdn2.js +1 -0
- package/dist/client-C61BaimX.js +1 -0
- package/dist/collaboration/index.d.ts +2 -0
- package/dist/collaboration/index.js +1 -0
- package/dist/collaboration-oyXScjoL.js +1 -0
- package/dist/core.d.ts +3 -0
- package/dist/core.js +1 -0
- package/dist/errors-BxSeoGx4.js +1 -0
- package/dist/errors-WHP1v4xn.d.ts +449 -0
- package/dist/index-A6QuCBt3.d.ts +189 -0
- package/dist/index-CIkhycpG.d.ts +131 -0
- package/dist/index-DAcOU3eO.d.ts +356 -0
- package/dist/index.d.ts +427 -0
- package/dist/index.js +1 -0
- package/dist/sandbox-CoBxtmZ0.js +1 -0
- package/dist/sandbox-D-1E98ow.d.ts +3332 -0
- package/dist/session-gateway/index.d.ts +448 -0
- package/dist/session-gateway/index.js +1 -0
- package/dist/tangle/index.d.ts +2 -0
- package/dist/tangle/index.js +1 -0
- package/dist/tangle-D5R08WfG.js +1 -0
- package/package.json +85 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
import { f as CollaborationAccess, m as IssueCollaborationTokenOptions, o as issueCollaborationToken, p as CollaborationTokenPayload, u as AnyTokenPayload } from "./index-A6QuCBt3.js";
|
|
2
|
+
import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "./index-CIkhycpG.js";
|
|
3
|
+
import { $ as Process, $t as defineGitHubResource, A as ExecResult, At as StorageConfig, B as GitStatus, Bt as AgentProfile, C as DownloadOptions, Ct as SearchMatch, D as DriverType, Dt as SnapshotInfo, E as DriverInfo, Et as SecretsManager, F as GitAuth, Ft as UpdateUserOptions, G as McpServerConfig, Gt as AgentProfilePermissionValue, H as InstalledTool, Ht as AgentProfileFileMount, I as GitBranch, It as UploadOptions, J as NetworkManager, Jt as AgentProfileResources, K as MkdirOptions, Kt as AgentProfilePrompt, L as GitCommit, Lt as UploadProgress, M as FileSystem, Mt as TaskOptions, N as ForkOptions, Nt as TaskResult, O as EventStreamOptions, Ot as SnapshotOptions, P as ForkResult, Pt as ToolsConfig, Q as PreviewLinkManager, Qt as defineAgentProfile, R as GitConfig, Rt as UsageInfo, S as DirectoryPermission, St as SandboxUser, T as DriverConfig, Tt as SecretInfo, U as ListOptions, Ut as AgentProfileMcpServer, V as GpuType, Vt as AgentProfileCapabilities, W as ListSandboxOptions, Wt as AgentProfileModelHints, X as PermissionsManager, Xt as AgentProfileValidationResult, Y as PermissionLevel, Yt as AgentProfileValidationIssue, Z as PreviewLinkInfo, Zt as AgentSubagentProfile, _ as CheckpointOptions, _t as SandboxEvent, a as BackendCapabilities, at as ProcessStatus, b as CreateSandboxOptions, bt as SandboxResources, c as BackendManager, ct as ProvisionEvent, d as BatchEvent, dt as ProvisionStep, en as defineInlineResource, et as ProcessInfo, f as BatchOptions, ft as RunCodeOptions, g as CheckpointInfo, gt as SandboxEnvironment, h as BatchTaskResult, ht as SandboxConnection, i as AddUserOptions, it as ProcessSpawnOptions, j as FileInfo, jt as SubscriptionInfo, k as ExecOptions, kt as SnapshotResult, l as BackendStatus, lt as ProvisionResult, m as BatchTask, mt as SandboxClientConfig, n as SandboxInstance, nt as ProcessManager, o as BackendConfig, ot as PromptOptions, p as BatchResult, pt as SSHCredentials, q as NetworkConfig, qt as AgentProfileResourceRef, r as AccessPolicyRule, rt as ProcessSignal, s as BackendInfo, st as PromptResult, tn as mergeAgentProfiles, tt as ProcessLogEntry, u as BackendType, ut as ProvisionStatus, v as CheckpointResult, vt as SandboxInfo, w as DownloadProgress, wt as SearchOptions, x as DeleteOptions, xt as SandboxStatus, y as CodeResult, yt as SandboxPermissionsConfig, z as GitDiff, zt as WaitForOptions } from "./sandbox-D-1E98ow.js";
|
|
4
|
+
import { a as SandboxError, c as TimeoutError, d as InviteTeamMemberOptions, f as SandboxClient, h as TeamMember, i as QuotaError, l as ValidationError, m as TeamInvitation, n as NetworkError, o as ServerError, p as Team, r as NotFoundError, s as StateError, t as AuthError, u as CreateTeamOptions } from "./errors-WHP1v4xn.js";
|
|
5
|
+
import { l as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-DAcOU3eO.js";
|
|
6
|
+
|
|
7
|
+
//#region src/image.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* Image Builder for Sandbox SDK
|
|
10
|
+
*
|
|
11
|
+
* Provides a chainable API for building custom container images.
|
|
12
|
+
*
|
|
13
|
+
* @example Basic usage
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import { Image, Sandbox } from "@tangle-network/sandbox";
|
|
16
|
+
*
|
|
17
|
+
* const client = new Sandbox({ apiKey: "sk_sandbox_...", baseUrl: "https://your-sandbox-api.example.com" });
|
|
18
|
+
*
|
|
19
|
+
* const image = await Image.create()
|
|
20
|
+
* .python("3.11")
|
|
21
|
+
* .addPackages(["numpy", "pandas"])
|
|
22
|
+
* .addCommands(["apt-get update && apt-get install -y ffmpeg"])
|
|
23
|
+
* .withSecrets(["HF_TOKEN"])
|
|
24
|
+
* .build({ client });
|
|
25
|
+
*
|
|
26
|
+
* const box = await client.create({ image: image.id });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* Image specification for building a custom container image.
|
|
31
|
+
*/
|
|
32
|
+
interface ImageSpec {
|
|
33
|
+
/** Base Docker image (default: "ubuntu:22.04") */
|
|
34
|
+
baseImage: string;
|
|
35
|
+
/** Python version to install */
|
|
36
|
+
pythonVersion?: string;
|
|
37
|
+
/** Python packages to install via pip */
|
|
38
|
+
packages?: string[];
|
|
39
|
+
/** Shell commands to run during build */
|
|
40
|
+
commands?: string[];
|
|
41
|
+
/** Environment variables */
|
|
42
|
+
env?: Record<string, string>;
|
|
43
|
+
/** Secret names to inject during build */
|
|
44
|
+
secrets?: string[];
|
|
45
|
+
/** Custom Dockerfile content or path */
|
|
46
|
+
dockerfile?: string;
|
|
47
|
+
/** Build context directory */
|
|
48
|
+
dockerContext?: string;
|
|
49
|
+
/** Conda environment configuration */
|
|
50
|
+
conda?: {
|
|
51
|
+
packages: string[];
|
|
52
|
+
channels?: string[];
|
|
53
|
+
};
|
|
54
|
+
/** System packages to install via apt-get */
|
|
55
|
+
aptPackages?: string[];
|
|
56
|
+
/** Working directory */
|
|
57
|
+
workdir?: string;
|
|
58
|
+
/** User to run as */
|
|
59
|
+
user?: string;
|
|
60
|
+
/** Build arguments */
|
|
61
|
+
buildArgs?: Record<string, string>;
|
|
62
|
+
/** Image labels */
|
|
63
|
+
labels?: Record<string, string>;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Build result for an image.
|
|
67
|
+
*/
|
|
68
|
+
interface ImageBuildResult {
|
|
69
|
+
/** Content-addressed image ID */
|
|
70
|
+
id: string;
|
|
71
|
+
/** Image tag */
|
|
72
|
+
tag: string;
|
|
73
|
+
/** Image size in bytes */
|
|
74
|
+
size: number;
|
|
75
|
+
/** Build time in milliseconds */
|
|
76
|
+
buildTimeMs: number;
|
|
77
|
+
/** Whether served from cache */
|
|
78
|
+
cached: boolean;
|
|
79
|
+
/** Creation timestamp */
|
|
80
|
+
createdAt: Date;
|
|
81
|
+
/** Original build spec */
|
|
82
|
+
spec: ImageSpec;
|
|
83
|
+
/** Image digest */
|
|
84
|
+
digest: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Progress event during image build.
|
|
88
|
+
*/
|
|
89
|
+
interface BuildProgressEvent {
|
|
90
|
+
/** Current build step */
|
|
91
|
+
step: string;
|
|
92
|
+
/** Progress percentage (0-100) */
|
|
93
|
+
progress?: number;
|
|
94
|
+
/** Human-readable message */
|
|
95
|
+
message: string;
|
|
96
|
+
/** Whether step is complete */
|
|
97
|
+
complete: boolean;
|
|
98
|
+
/** Whether step used cache */
|
|
99
|
+
cached?: boolean;
|
|
100
|
+
/** Error message if failed */
|
|
101
|
+
error?: string;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Options for building an image.
|
|
105
|
+
*/
|
|
106
|
+
interface ImageBuildOptions {
|
|
107
|
+
/** Progress callback */
|
|
108
|
+
onProgress?: (event: BuildProgressEvent) => void;
|
|
109
|
+
/** Build timeout in milliseconds */
|
|
110
|
+
timeout?: number;
|
|
111
|
+
/** Force rebuild ignoring cache */
|
|
112
|
+
noCache?: boolean;
|
|
113
|
+
/** Target platform */
|
|
114
|
+
platform?: string;
|
|
115
|
+
/** Custom tag for the image */
|
|
116
|
+
tag?: string;
|
|
117
|
+
/** Sandbox client for API access */
|
|
118
|
+
client?: {
|
|
119
|
+
baseUrl: string;
|
|
120
|
+
apiKey: string;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Represents a built or existing container image.
|
|
125
|
+
*/
|
|
126
|
+
declare class Image {
|
|
127
|
+
/** Unique image identifier (content-addressed) */
|
|
128
|
+
readonly id: string;
|
|
129
|
+
/** Full image tag */
|
|
130
|
+
readonly tag: string;
|
|
131
|
+
/** Image digest */
|
|
132
|
+
readonly digest: string;
|
|
133
|
+
/** Original build spec */
|
|
134
|
+
readonly spec?: ImageSpec | undefined;
|
|
135
|
+
private constructor();
|
|
136
|
+
/**
|
|
137
|
+
* Start building a new image.
|
|
138
|
+
*
|
|
139
|
+
* @param baseImage Base Docker image (default: "ubuntu:22.04")
|
|
140
|
+
* @returns A new ImageBuilder instance
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* ```typescript
|
|
144
|
+
* const builder = Image.create("python:3.11-slim");
|
|
145
|
+
* ```
|
|
146
|
+
*/
|
|
147
|
+
static create(baseImage?: string): ImageBuilder;
|
|
148
|
+
/**
|
|
149
|
+
* Reference an existing image by ID.
|
|
150
|
+
*
|
|
151
|
+
* @param imageId The image ID
|
|
152
|
+
* @returns An Image instance
|
|
153
|
+
*
|
|
154
|
+
* @example
|
|
155
|
+
* ```typescript
|
|
156
|
+
* const image = Image.fromId("sha256:abc123...");
|
|
157
|
+
* const box = await client.create({ image: image.id });
|
|
158
|
+
* ```
|
|
159
|
+
*/
|
|
160
|
+
static fromId(imageId: string): Image;
|
|
161
|
+
/**
|
|
162
|
+
* Create an image builder from a Dockerfile.
|
|
163
|
+
*
|
|
164
|
+
* @param dockerfile Dockerfile path or content
|
|
165
|
+
* @param context Build context directory
|
|
166
|
+
* @returns A new ImageBuilder instance
|
|
167
|
+
*
|
|
168
|
+
* @example
|
|
169
|
+
* ```typescript
|
|
170
|
+
* const builder = Image.fromDockerfile("./Dockerfile", "./");
|
|
171
|
+
* ```
|
|
172
|
+
*/
|
|
173
|
+
static fromDockerfile(dockerfile: string, context?: string): ImageBuilder;
|
|
174
|
+
/**
|
|
175
|
+
* Create an Image from a build result.
|
|
176
|
+
* @internal
|
|
177
|
+
*/
|
|
178
|
+
static fromBuildResult(result: ImageBuildResult): Image;
|
|
179
|
+
/**
|
|
180
|
+
* Convert to JSON.
|
|
181
|
+
*/
|
|
182
|
+
toJSON(): {
|
|
183
|
+
id: string;
|
|
184
|
+
tag: string;
|
|
185
|
+
digest: string;
|
|
186
|
+
spec?: ImageSpec;
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Chainable builder for constructing custom container images.
|
|
191
|
+
*
|
|
192
|
+
* @example
|
|
193
|
+
* ```typescript
|
|
194
|
+
* const image = await Image.create()
|
|
195
|
+
* .python("3.11")
|
|
196
|
+
* .addPackages(["torch", "transformers"])
|
|
197
|
+
* .addCommands(["apt-get install -y ffmpeg"])
|
|
198
|
+
* .withEnv({ HF_HOME: "/models" })
|
|
199
|
+
* .withSecrets(["HF_TOKEN"])
|
|
200
|
+
* .build({ client });
|
|
201
|
+
* ```
|
|
202
|
+
*/
|
|
203
|
+
declare class ImageBuilder {
|
|
204
|
+
private spec;
|
|
205
|
+
private clientConfig?;
|
|
206
|
+
/** @internal */
|
|
207
|
+
constructor(initialSpec: Partial<ImageSpec>);
|
|
208
|
+
/**
|
|
209
|
+
* Configure Python version.
|
|
210
|
+
*
|
|
211
|
+
* @param version Python version (e.g., "3.11", "3.10")
|
|
212
|
+
*/
|
|
213
|
+
python(version: string): this;
|
|
214
|
+
/**
|
|
215
|
+
* Add Python packages via pip.
|
|
216
|
+
*
|
|
217
|
+
* @param packages Package names with optional versions
|
|
218
|
+
*
|
|
219
|
+
* @example
|
|
220
|
+
* ```typescript
|
|
221
|
+
* .addPackages(["numpy>=1.21", "pandas", "scikit-learn"])
|
|
222
|
+
* ```
|
|
223
|
+
*/
|
|
224
|
+
addPackages(packages: string[]): this;
|
|
225
|
+
/**
|
|
226
|
+
* Add packages from requirements file.
|
|
227
|
+
*
|
|
228
|
+
* @param requirementsPath Path to requirements.txt
|
|
229
|
+
*/
|
|
230
|
+
addPackagesFromFile(requirementsPath: string): this;
|
|
231
|
+
/**
|
|
232
|
+
* Add shell commands to run during build.
|
|
233
|
+
*
|
|
234
|
+
* @param commands Commands to execute
|
|
235
|
+
*
|
|
236
|
+
* @example
|
|
237
|
+
* ```typescript
|
|
238
|
+
* .addCommands([
|
|
239
|
+
* "apt-get update",
|
|
240
|
+
* "apt-get install -y ffmpeg libsm6"
|
|
241
|
+
* ])
|
|
242
|
+
* ```
|
|
243
|
+
*/
|
|
244
|
+
addCommands(commands: string[]): this;
|
|
245
|
+
/**
|
|
246
|
+
* Add system packages via apt-get.
|
|
247
|
+
*
|
|
248
|
+
* @param packages Package names
|
|
249
|
+
*/
|
|
250
|
+
addAptPackages(packages: string[]): this;
|
|
251
|
+
/**
|
|
252
|
+
* Set environment variables.
|
|
253
|
+
*
|
|
254
|
+
* @param env Key-value pairs
|
|
255
|
+
*
|
|
256
|
+
* @example
|
|
257
|
+
* ```typescript
|
|
258
|
+
* .withEnv({ HF_HOME: "/models", PYTHONUNBUFFERED: "1" })
|
|
259
|
+
* ```
|
|
260
|
+
*/
|
|
261
|
+
withEnv(env: Record<string, string>): this;
|
|
262
|
+
/**
|
|
263
|
+
* Inject secrets during build.
|
|
264
|
+
* Secrets are retrieved from the secret store.
|
|
265
|
+
*
|
|
266
|
+
* @param secretNames Names of secrets to inject
|
|
267
|
+
*
|
|
268
|
+
* @example
|
|
269
|
+
* ```typescript
|
|
270
|
+
* .withSecrets(["HF_TOKEN", "AWS_ACCESS_KEY"])
|
|
271
|
+
* ```
|
|
272
|
+
*/
|
|
273
|
+
withSecrets(secretNames: string[]): this;
|
|
274
|
+
/**
|
|
275
|
+
* Configure conda environment.
|
|
276
|
+
*
|
|
277
|
+
* @param packages Conda packages
|
|
278
|
+
* @param channels Conda channels (default: ["conda-forge"])
|
|
279
|
+
*
|
|
280
|
+
* @example
|
|
281
|
+
* ```typescript
|
|
282
|
+
* .conda(["pytorch", "torchvision"], ["pytorch", "conda-forge"])
|
|
283
|
+
* ```
|
|
284
|
+
*/
|
|
285
|
+
conda(packages: string[], channels?: string[]): this;
|
|
286
|
+
/**
|
|
287
|
+
* Set working directory.
|
|
288
|
+
*
|
|
289
|
+
* @param dir Working directory path
|
|
290
|
+
*/
|
|
291
|
+
workdir(dir: string): this;
|
|
292
|
+
/**
|
|
293
|
+
* Set user to run as.
|
|
294
|
+
*
|
|
295
|
+
* @param user Username or UID
|
|
296
|
+
*/
|
|
297
|
+
user(user: string): this;
|
|
298
|
+
/**
|
|
299
|
+
* Add build arguments.
|
|
300
|
+
*
|
|
301
|
+
* @param args Build arguments
|
|
302
|
+
*/
|
|
303
|
+
buildArgs(args: Record<string, string>): this;
|
|
304
|
+
/**
|
|
305
|
+
* Add image labels.
|
|
306
|
+
*
|
|
307
|
+
* @param labels Image labels
|
|
308
|
+
*/
|
|
309
|
+
labels(labels: Record<string, string>): this;
|
|
310
|
+
/**
|
|
311
|
+
* Get the image specification without building.
|
|
312
|
+
*
|
|
313
|
+
* @returns The current ImageSpec
|
|
314
|
+
*/
|
|
315
|
+
toSpec(): ImageSpec;
|
|
316
|
+
/**
|
|
317
|
+
* Compute content-addressed ID for this spec.
|
|
318
|
+
*
|
|
319
|
+
* @returns SHA256 hash of the normalized spec
|
|
320
|
+
*/
|
|
321
|
+
computeId(): string;
|
|
322
|
+
/**
|
|
323
|
+
* Configure client for API access.
|
|
324
|
+
* @internal
|
|
325
|
+
*/
|
|
326
|
+
withClient(config: {
|
|
327
|
+
baseUrl: string;
|
|
328
|
+
apiKey: string;
|
|
329
|
+
}): this;
|
|
330
|
+
/**
|
|
331
|
+
* Build the image.
|
|
332
|
+
*
|
|
333
|
+
* @param options Build options including client config
|
|
334
|
+
* @returns The built Image instance
|
|
335
|
+
*
|
|
336
|
+
* @example
|
|
337
|
+
* ```typescript
|
|
338
|
+
* const image = await Image.create()
|
|
339
|
+
* .python("3.11")
|
|
340
|
+
* .addPackages(["numpy"])
|
|
341
|
+
* .build({
|
|
342
|
+
* client: { baseUrl, apiKey },
|
|
343
|
+
* onProgress: (e) => console.log(e.message),
|
|
344
|
+
* });
|
|
345
|
+
*
|
|
346
|
+
* const box = await client.create({ image: image.id });
|
|
347
|
+
* ```
|
|
348
|
+
*/
|
|
349
|
+
build(options?: ImageBuildOptions): Promise<Image>;
|
|
350
|
+
/**
|
|
351
|
+
* Generate Dockerfile from the current spec.
|
|
352
|
+
* Useful for debugging or manual builds.
|
|
353
|
+
*
|
|
354
|
+
* @returns Dockerfile content
|
|
355
|
+
*/
|
|
356
|
+
generateDockerfile(): string;
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Generate a Dockerfile from an ImageSpec.
|
|
360
|
+
*
|
|
361
|
+
* @param spec The image specification
|
|
362
|
+
* @returns Dockerfile content
|
|
363
|
+
*/
|
|
364
|
+
declare function generateDockerfile(spec: ImageSpec): string;
|
|
365
|
+
//#endregion
|
|
366
|
+
//#region src/lib/sse-parser.d.ts
|
|
367
|
+
/**
|
|
368
|
+
* SSE Stream Parser
|
|
369
|
+
*
|
|
370
|
+
* EventSource stream parsing for SDK consumers. Implements the
|
|
371
|
+
* subset of the SSE spec (§9.2.6) that the platform actually emits —
|
|
372
|
+
* LF and CRLF terminators, `event:` / `data:` / `id:` fields, and
|
|
373
|
+
* multi-line `data:` dispatch. Used by `SandboxClient.streamBatch`
|
|
374
|
+
* and by the web dashboard's batch page; exported so downstream
|
|
375
|
+
* surfaces don't maintain their own copies.
|
|
376
|
+
*
|
|
377
|
+
* Guarantees:
|
|
378
|
+
* - Correctly buffers frames that straddle chunk boundaries.
|
|
379
|
+
* - Accepts LF- and CRLF-terminated streams interchangeably.
|
|
380
|
+
* - Joins multi-line `data:` per the spec (dispatch joins with
|
|
381
|
+
* "\n" before JSON parse).
|
|
382
|
+
* - Defaults event type to `"message"` when a frame carries
|
|
383
|
+
* `data:` but no `event:` field (SSE spec §9.2.6 step 3).
|
|
384
|
+
* - Surfaces optional `id:` so callers can implement reconnection.
|
|
385
|
+
* - Flushes a dangling event when the stream closes without a
|
|
386
|
+
* terminating blank line (well-behaved servers emit `\n\n`, but
|
|
387
|
+
* some close early).
|
|
388
|
+
* - Throws `AbortError` when the caller-supplied signal fires, so
|
|
389
|
+
* consumers can distinguish "ran to completion" from "cancelled"
|
|
390
|
+
* without peeking at signal state.
|
|
391
|
+
* - Silently drops frames with malformed JSON — the stream remains
|
|
392
|
+
* usable and only the individual frame is lost.
|
|
393
|
+
*
|
|
394
|
+
* What it does NOT do:
|
|
395
|
+
* - CR-only (legacy Mac) line terminators. No known emitter uses
|
|
396
|
+
* them; supporting them would risk splitting payloads that
|
|
397
|
+
* legitimately contain CR.
|
|
398
|
+
* - Retry/reconnect (caller's responsibility).
|
|
399
|
+
* - Event-type filtering (caller's responsibility).
|
|
400
|
+
*/
|
|
401
|
+
interface ParsedSSEEvent {
|
|
402
|
+
/** Event type from the `event:` field, e.g. `task.completed`. */
|
|
403
|
+
type: string;
|
|
404
|
+
/** Parsed JSON payload from joined `data:` lines. */
|
|
405
|
+
data: Record<string, unknown>;
|
|
406
|
+
/** Optional `id:` field if the server emitted one. */
|
|
407
|
+
id?: string;
|
|
408
|
+
}
|
|
409
|
+
interface ParseSSEStreamOptions {
|
|
410
|
+
/**
|
|
411
|
+
* Signal to abort the stream. When aborted, the generator throws
|
|
412
|
+
* `AbortError` — this is a deliberate departure from silent-return
|
|
413
|
+
* semantics so the consumer's for-await loop propagates the abort
|
|
414
|
+
* to its own catch block instead of looking like a clean finish.
|
|
415
|
+
*/
|
|
416
|
+
signal?: AbortSignal;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* Parse a streaming SSE response body into an async iterable of
|
|
420
|
+
* structured events.
|
|
421
|
+
*
|
|
422
|
+
* @throws `TypeError` when the response has no body.
|
|
423
|
+
* @throws `DOMException` with `name === "AbortError"` on cancellation.
|
|
424
|
+
*/
|
|
425
|
+
declare function parseSSEStream(body: ReadableStream<Uint8Array> | null | undefined, options?: ParseSSEStreamOptions): AsyncGenerator<ParsedSSEEvent>;
|
|
426
|
+
//#endregion
|
|
427
|
+
export { type AccessPolicyRule, type AddUserOptions, type AgentProfile, type AgentProfileCapabilities, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentSubagentProfile, type AnyTokenPayload, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendStatus, type BackendType, type BatchEvent, type BatchOptions, type BatchResult, type BatchTask, type BatchTaskResult, type BuildProgressEvent, type CheckpointInfo, type CheckpointOptions, type CheckpointResult, type CodeResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CreateSandboxOptions, type CreateTeamOptions, type DeleteOptions, type DirectoryPermission, type DownloadOptions, type DownloadProgress, type DriverConfig, type DriverInfo, type DriverType, type EventStreamOptions, type ExecOptions, type ExecResult, type FileInfo, type FileSystem, type ForkOptions, type ForkResult, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuType, Image, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, type ListOptions, type ListSandboxOptions, type McpServerConfig, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type Process, type ProcessInfo, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, QuotaError, type RunCodeOptions, type SSHCredentials, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, type SandboxConnection, type SandboxEnvironment, SandboxError, type SandboxEvent, type SandboxInfo, SandboxInstance, type SandboxPermissionsConfig, type SandboxResources, type SandboxStatus, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, ServerError, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, StateError, type StorageConfig, type SubscriptionInfo, TangleSandboxClient, type TangleSandboxClientConfig, type TaskOptions, type TaskResult, type Team, type TeamInvitation, type TeamMember, TimeoutError, type ToolsConfig, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, buildCollaborationDocumentId, defineAgentProfile, defineGitHubResource, defineInlineResource, generateDockerfile, issueCollaborationToken, mergeAgentProfiles, normalizeCollaborationPath, parseCollaborationDocumentId, parseSSEStream };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a0_0x5171bd=a0_0x452c;(function(_0x5ed297,_0x5522dd){const _0x12ef1d=a0_0x452c,_0x542815=_0x5ed297();while(!![]){try{const _0x2bffb8=parseInt(_0x12ef1d(0xef))/0x1*(-parseInt(_0x12ef1d(0x101))/0x2)+parseInt(_0x12ef1d(0xf5))/0x3+-parseInt(_0x12ef1d(0x124))/0x4+parseInt(_0x12ef1d(0x121))/0x5+-parseInt(_0x12ef1d(0xd4))/0x6+parseInt(_0x12ef1d(0xc6))/0x7*(parseInt(_0x12ef1d(0x119))/0x8)+parseInt(_0x12ef1d(0xcb))/0x9;if(_0x2bffb8===_0x5522dd)break;else _0x542815['push'](_0x542815['shift']());}catch(_0x498ad1){_0x542815['push'](_0x542815['shift']());}}}(a0_0x4356,0x3ba58));function a0_0x4356(){const _0x46dc41=['\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x5a','\x79\x32\x39\x54\x43\x68\x76\x30\x7a\x75\x4c\x4b','\x44\x77\x6a\x31\x42\x4e\x72\x31\x6f\x4a\x69\x59\x6c\x4a\x61\x30','\x6e\x4a\x6d\x35\x6d\x74\x79\x34\x42\x76\x62\x4e\x7a\x4b\x48\x6a','\x69\x63\x61\x47\x69\x67\x66\x57\x44\x63\x31\x4e\x7a\x78\x71\x47\x41\x77\x35\x5a\x44\x67\x66\x53\x42\x63\x61\x54\x45\x73\x62\x5a\x42\x32\x7a\x30\x44\x32\x66\x59\x7a\x73\x31\x57\x43\x4d\x39\x57\x7a\x78\x6a\x30\x41\x77\x76\x5a\x6c\x77\x6e\x56\x42\x77\x31\x56\x42\x49\x61\x4d\x6a\x49\x62\x43','\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x68\x6d','\x7a\x77\x35\x30\x43\x4d\x4c\x4c\x43\x57','\x71\x4d\x58\x6d\x76\x32\x75','\x44\x78\x6e\x4c\x43\x47','\x74\x65\x66\x63\x72\x75\x57\x47','\x72\x78\x62\x4c\x71\x76\x65','\x69\x63\x61\x47\x69\x68\x76\x57\x7a\x67\x66\x30\x7a\x73\x31\x48\x42\x68\x72\x4c\x43\x4d\x35\x48\x44\x67\x4c\x32\x7a\x78\x6d\x47\x6c\x73\x31\x50\x42\x4e\x6e\x30\x79\x77\x58\x53\x69\x63\x39\x31\x43\x33\x69\x56\x79\x4d\x4c\x55\x6c\x33\x62\x35\x44\x67\x48\x56\x42\x4a\x6d\x47\x43\x68\x4c\x30\x41\x67\x39\x55\x6d\x59\x61\x56\x44\x78\x6e\x59\x6c\x32\x6a\x50\x42\x49\x39\x57\x45\x78\x72\x4f\x42\x32\x34','\x43\x67\x58\x48\x44\x67\x7a\x56\x43\x4d\x30','\x79\x77\x72\x4b\x75\x67\x66\x4a\x41\x32\x66\x4e\x7a\x78\x6e\x67\x43\x4d\x39\x54\x72\x4d\x4c\x53\x7a\x71','\x43\x32\x48\x48\x6d\x4a\x75\x32','\x6e\x64\x4b\x35\x6d\x4d\x7a\x6c\x73\x78\x7a\x50\x73\x57','\x43\x32\x6e\x59\x79\x78\x72\x4a\x41\x61','\x42\x4d\x39\x64\x79\x77\x6e\x4f\x7a\x71','\x43\x68\x6a\x56\x7a\x33\x6a\x4c\x43\x33\x6d','\x79\x4d\x39\x4b\x45\x71','\x43\x33\x76\x49\x79\x77\x44\x4c\x42\x4e\x72\x5a','\x44\x78\x6a\x54\x73\x4b\x57','\x69\x63\x61\x47\x69\x67\x31\x50\x79\x33\x6a\x56\x42\x77\x66\x54\x79\x4d\x65\x47\x43\x32\x48\x4c\x42\x67\x57\x47\x41\x77\x35\x50\x44\x63\x61\x54\x43\x59\x62\x49\x79\x78\x6e\x4f\x69\x63\x31\x57\x69\x63\x39\x56\x43\x68\x71\x56\x79\x32\x39\x55\x7a\x67\x65','\x69\x63\x61\x47\x69\x67\x31\x32\x69\x67\x6a\x50\x42\x49\x39\x54\x41\x77\x6e\x59\x42\x32\x31\x48\x42\x77\x6a\x48\x69\x63\x39\x31\x43\x33\x69\x56\x42\x67\x39\x4a\x79\x77\x57\x56\x79\x4d\x4c\x55\x6c\x59\x61\x4d\x6a\x49\x62\x43','\x75\x67\x39\x77\x43\x4c\x71','\x7a\x4d\x4c\x53\x7a\x78\x6d','\x44\x67\x66\x4e','\x79\x77\x72\x4b\x75\x67\x66\x4a\x41\x32\x66\x4e\x7a\x78\x6d','\x43\x68\x6a\x56\x42\x78\x62\x30','\x43\x67\x76\x59\x42\x77\x4c\x5a\x43\x32\x4c\x56\x42\x4e\x6d','\x44\x67\x76\x34\x44\x63\x39\x4c\x44\x4d\x76\x55\x44\x63\x31\x5a\x44\x68\x6a\x4c\x79\x77\x30','\x7a\x4e\x6a\x56\x42\x75\x72\x56\x79\x32\x54\x4c\x43\x4d\x7a\x50\x42\x67\x75','\x7a\x32\x76\x30\x75\x4d\x76\x48\x7a\x67\x76\x59','\x43\x67\x66\x59\x43\x32\x75','\x42\x67\x66\x49\x7a\x77\x58\x5a','\x44\x67\x66\x55\x7a\x32\x58\x4c\x6c\x77\x4c\x54\x79\x77\x44\x4c\x6f\x47','\x75\x4c\x76\x6f\x69\x68\x76\x57\x7a\x67\x66\x30\x7a\x73\x31\x48\x42\x68\x72\x4c\x43\x4d\x35\x48\x44\x67\x4c\x32\x7a\x78\x6d\x47\x6c\x73\x31\x50\x42\x4e\x6e\x30\x79\x77\x58\x53\x69\x63\x39\x31\x43\x33\x69\x56\x79\x4d\x4c\x55\x6c\x33\x62\x35\x44\x67\x48\x56\x42\x49\x62\x57\x45\x78\x72\x4f\x42\x32\x34\x47\x6c\x33\x76\x5a\x43\x49\x39\x49\x41\x77\x34\x56\x43\x68\x4c\x30\x41\x67\x39\x55','\x43\x68\x76\x5a\x41\x61','\x44\x67\x39\x56\x42\x68\x6d','\x6d\x74\x43\x57\x6e\x66\x6e\x4c\x7a\x66\x72\x4e\x41\x57','\x43\x67\x4c\x57\x69\x67\x4c\x55\x43\x33\x72\x48\x42\x67\x57\x47\x6c\x78\x69\x47','\x79\x4d\x66\x5a\x7a\x75\x4c\x54\x79\x77\x44\x4c','\x72\x68\x72\x4f\x44\x77\x57','\x7a\x32\x4c\x30\x41\x68\x76\x49','\x69\x59\x62\x64\x44\x78\x6e\x30\x42\x32\x30\x47\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x68\x6d','\x79\x32\x39\x55\x7a\x67\x65\x54\x7a\x4d\x39\x59\x7a\x32\x75','\x79\x4c\x6a\x71\x71\x77\x65','\x6d\x74\x71\x35\x6d\x74\x47\x33\x6d\x68\x6a\x7a\x7a\x75\x54\x63\x75\x57','\x79\x32\x48\x48\x42\x4d\x35\x4c\x42\x68\x6d','\x69\x63\x79\x4d\x69\x66\x57','\x6d\x74\x61\x32\x6f\x74\x47\x59\x6d\x66\x6a\x6f\x73\x68\x66\x6b\x76\x57','\x43\x32\x39\x59\x44\x61','\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x78\x6d','\x7a\x4e\x6a\x56\x42\x75\x4c\x4b','\x75\x4c\x76\x6f\x69\x67\x6e\x31\x43\x4d\x57\x47\x6c\x78\x6e\x74\x69\x67\x48\x30\x44\x68\x62\x5a\x6f\x49\x38\x56\x79\x4d\x39\x56\x44\x68\x6e\x30\x43\x4d\x66\x57\x6c\x4e\x62\x35\x43\x67\x65\x55\x41\x77\x38\x56\x7a\x32\x76\x30\x6c\x78\x62\x50\x43\x63\x35\x57\x45\x73\x62\x38\x69\x68\x62\x35\x44\x67\x48\x56\x42\x47','\x44\x67\x76\x34\x44\x61','\x79\x75\x6a\x4f\x76\x67\x43','\x79\x77\x72\x4b\x71\x32\x39\x54\x42\x77\x66\x55\x7a\x68\x6d','\x7a\x32\x76\x30','\x69\x59\x62\x6a\x42\x4e\x6e\x30\x79\x77\x58\x53\x69\x66\x62\x35\x44\x67\x48\x56\x42\x49\x62\x57\x79\x77\x6e\x52\x79\x77\x44\x4c\x43\x57','\x79\x31\x50\x77\x75\x66\x75','\x44\x67\x39\x6b\x75\x30\x39\x6f','\x69\x59\x62\x6a\x42\x4e\x6e\x30\x79\x77\x58\x53\x69\x66\x62\x35\x44\x67\x48\x56\x42\x49\x61','\x42\x32\x35\x71\x43\x4d\x39\x4e\x43\x4d\x76\x5a\x43\x57','\x42\x77\x6e\x57','\x69\x63\x61\x47\x69\x67\x66\x4b\x7a\x63\x31\x48\x43\x68\x71\x54\x43\x4d\x76\x57\x42\x33\x6e\x50\x44\x67\x39\x59\x45\x73\x61\x54\x45\x73\x62\x57\x43\x67\x65\x36\x7a\x67\x76\x48\x7a\x68\x6e\x55\x79\x77\x54\x4c\x43\x59\x39\x57\x43\x67\x65\x47\x6a\x49\x79\x47\x78\x61','\x73\x66\x7a\x76\x73\x67\x43','\x41\x65\x66\x59\x76\x76\x4f','\x44\x32\x4c\x30\x41\x66\x6e\x4c\x79\x33\x6a\x4c\x44\x68\x6d','\x71\x76\x6a\x68\x69\x61','\x71\x32\x58\x50\x7a\x77\x35\x30\x69\x67\x6e\x56\x42\x4d\x7a\x50\x7a\x33\x76\x59\x79\x78\x72\x50\x42\x32\x34\x47\x43\x4d\x76\x58\x44\x77\x4c\x59\x7a\x77\x71\x55\x69\x66\x62\x48\x43\x33\x6d\x47\x45\x59\x62\x4a\x42\x67\x4c\x4c\x42\x4e\x71\x36\x69\x68\x53\x47\x79\x4d\x66\x5a\x7a\x76\x76\x59\x42\x63\x57\x47\x79\x78\x62\x50\x73\x32\x76\x35\x69\x68\x30\x47\x46\x73\x62\x30\x42\x59\x62\x49\x44\x77\x4c\x53\x7a\x63\x47\x50\x69\x67\x39\x59\x69\x68\x76\x5a\x7a\x73\x62\x6a\x42\x77\x66\x4e\x7a\x75\x6a\x31\x41\x77\x58\x4b\x7a\x78\x69\x47\x44\x67\x48\x59\x42\x33\x76\x4e\x41\x63\x62\x30\x41\x67\x75\x47\x75\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x62\x4a\x42\x67\x4c\x4c\x42\x4e\x71\x55','\x79\x4e\x76\x50\x42\x67\x72\x62\x43\x4d\x44\x5a','\x71\x4d\x76\x48\x43\x4d\x76\x59\x69\x61','\x79\x77\x35\x48\x79\x32\x39\x55\x7a\x67\x65','\x7a\x77\x35\x32','\x44\x67\x39\x74\x43\x67\x76\x4a','\x71\x77\x31\x30\x79\x4b\x34','\x69\x63\x61\x47\x69\x67\x66\x57\x44\x63\x31\x4e\x7a\x78\x71\x47\x79\x32\x58\x4c\x79\x77\x34\x47\x6a\x49\x79\x47\x43\x4d\x30\x47\x6c\x78\x6a\x4d\x69\x63\x39\x32\x79\x78\x69\x56\x42\x67\x4c\x49\x6c\x32\x66\x57\x44\x63\x39\x53\x41\x78\x6e\x30\x43\x59\x38\x51','\x75\x4c\x76\x6f\x69\x67\x66\x57\x44\x63\x31\x4e\x7a\x78\x71\x47\x44\x78\x62\x4b\x79\x78\x72\x4c\x69\x63\x79\x4d\x69\x66\x57','\x76\x30\x39\x73\x73\x30\x72\x6a\x75\x49\x61','\x42\x77\x4c\x55\x41\x77\x6e\x56\x42\x4d\x72\x48','\x75\x4c\x76\x6f\x69\x67\x31\x50\x79\x33\x6a\x56\x42\x77\x66\x54\x79\x4d\x65\x47\x41\x77\x35\x5a\x44\x67\x66\x53\x42\x63\x61\x54\x45\x73\x61\x54\x42\x49\x62\x49\x79\x78\x6e\x4c\x69\x61','\x43\x4e\x72\x58\x73\x75\x4f','\x79\x75\x58\x30\x44\x4e\x79','\x79\x32\x39\x55\x7a\x67\x65','\x45\x76\x7a\x53\x73\x31\x61','\x79\x32\x39\x54\x43\x67\x58\x4c\x44\x67\x75','\x44\x32\x4c\x30\x41\x65\x6e\x53\x41\x77\x76\x55\x44\x61','\x44\x78\x62\x4b\x79\x78\x72\x4c','\x74\x77\x7a\x30\x79\x32\x57','\x71\x4e\x76\x50\x42\x67\x71\x47\x79\x32\x39\x54\x43\x67\x58\x4c\x44\x67\x76\x4b\x69\x67\x6a\x31\x44\x63\x62\x55\x42\x59\x62\x59\x7a\x78\x6e\x31\x42\x68\x71\x47\x43\x4d\x76\x4a\x7a\x77\x4c\x32\x7a\x77\x71','\x7a\x66\x72\x77\x41\x4c\x6d','\x69\x63\x61\x47\x69\x67\x31\x50\x79\x33\x6a\x56\x42\x77\x66\x54\x79\x4d\x65\x47\x79\x32\x58\x4c\x79\x77\x34\x47\x6c\x73\x31\x48\x42\x67\x57\x47\x6c\x73\x31\x35\x7a\x78\x6d','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x41\x77\x35\x53\x41\x77\x35\x4c','\x75\x4c\x76\x6f\x69\x61','\x75\x65\x39\x74\x76\x61','\x6d\x5a\x69\x35\x72\x75\x6e\x34\x71\x30\x4c\x6d','\x43\x4d\x76\x4d','\x72\x4e\x66\x62\x45\x4c\x69','\x79\x33\x6a\x4c\x79\x78\x72\x4c\x7a\x65\x66\x30','\x69\x63\x61\x47\x69\x67\x66\x57\x44\x63\x31\x4e\x7a\x78\x71\x47\x41\x77\x35\x5a\x44\x67\x66\x53\x42\x63\x61\x54\x45\x73\x62\x57\x45\x78\x72\x4f\x42\x32\x34','\x6d\x5a\x4b\x34\x6d\x5a\x65\x30\x6f\x65\x76\x53\x41\x4c\x62\x56\x72\x57','\x79\x32\x58\x50\x7a\x77\x35\x30\x71\x32\x39\x55\x7a\x4d\x4c\x4e','\x43\x33\x62\x4c\x79\x57','\x43\x68\x4c\x30\x41\x67\x39\x55\x76\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x79\x78\x62\x50\x73\x32\x76\x35','\x6c\x33\x79\x58\x6c\x32\x4c\x54\x79\x77\x44\x4c\x43\x57','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x79\x32\x58\x50\x7a\x77\x35\x30','\x7a\x78\x48\x30\x7a\x77\x35\x5a\x41\x77\x39\x55\x43\x57','\x6d\x4a\x6d\x5a\x6f\x74\x61\x33\x6e\x4e\x7a\x65\x44\x30\x4c\x5a\x43\x47','\x75\x66\x66\x72\x73\x75\x53','\x69\x63\x61\x47\x69\x67\x66\x57\x44\x63\x31\x4e\x7a\x78\x71\x47\x41\x77\x35\x5a\x44\x67\x66\x53\x42\x63\x61\x54\x45\x73\x61\x54\x6c\x77\x35\x56\x6c\x77\x4c\x55\x43\x33\x72\x48\x42\x67\x57\x54\x43\x4d\x76\x4a\x42\x32\x31\x54\x7a\x77\x35\x4b\x43\x59\x61','\x79\x78\x62\x30\x75\x67\x66\x4a\x41\x32\x66\x4e\x7a\x78\x6d','\x41\x32\x76\x35\x43\x57','\x41\x4e\x6e\x56\x42\x47','\x41\x67\x76\x34','\x42\x77\x76\x30\x79\x77\x72\x48\x44\x67\x65','\x43\x32\x76\x4a\x43\x4d\x76\x30\x43\x57','\x7a\x32\x66\x62\x72\x75\x4b','\x43\x32\x58\x50\x79\x32\x75','\x7a\x32\x76\x55\x7a\x78\x6a\x48\x44\x67\x76\x65\x42\x32\x6e\x52\x7a\x78\x6a\x4d\x41\x77\x58\x4c','\x7a\x67\x4c\x4e\x7a\x78\x6e\x30','\x41\x4d\x39\x50\x42\x47','\x44\x68\x4c\x57\x7a\x71','\x41\x33\x66\x5a\x72\x33\x43','\x79\x77\x72\x4b\x71\x78\x62\x30\x75\x67\x66\x4a\x41\x32\x66\x4e\x7a\x78\x6d','\x7a\x4e\x6a\x56\x42\x75\x6a\x31\x41\x77\x58\x4b\x75\x4d\x76\x5a\x44\x77\x58\x30','\x43\x68\x4c\x30\x41\x67\x39\x55','\x42\x4d\x66\x54\x7a\x71','\x44\x32\x39\x59\x41\x32\x72\x50\x43\x47','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x41\x77\x35\x4a\x42\x68\x76\x4b\x7a\x78\x6d','\x7a\x67\x76\x4a\x42\x32\x72\x4c','\x69\x59\x62\x6a\x42\x4e\x6e\x30\x79\x77\x58\x53\x69\x67\x31\x50\x79\x33\x6a\x56\x42\x77\x66\x54\x79\x4d\x65\x47\x79\x77\x35\x4b\x69\x67\x6e\x56\x42\x4d\x72\x48\x69\x68\x62\x48\x79\x32\x54\x48\x7a\x32\x76\x5a','\x72\x75\x35\x77\x69\x66\x62\x62\x76\x65\x47\x39\x69\x49\x39\x56\x43\x68\x71\x56\x79\x32\x39\x55\x7a\x67\x65\x56\x79\x4d\x4c\x55\x6f\x49\x72\x71\x71\x76\x72\x69\x69\x47','\x69\x64\x65\x47\x6a\x49\x79\x47\x78\x61','\x6d\x4a\x76\x67\x42\x76\x6a\x4b\x42\x30\x57','\x6c\x78\x7a\x4c\x42\x4e\x79\x47\x43\x68\x4c\x30\x41\x67\x39\x55','\x7a\x78\x6a\x59\x42\x33\x69'];a0_0x4356=function(){return _0x46dc41;};return a0_0x4356();}import{o as a0_0x14ba3c}from'\x2e\x2f\x61\x75\x74\x68\x2d\x42\x49\x38\x47\x55\x64\x6e\x32\x2e\x6a\x73';import{a as a0_0x308c14,c as a0_0x24c541,i as a0_0x3a286e,l as a0_0x18d571,n as a0_0x489b4a,o as a0_0xba2b59,r as a0_0x152b90,s as a0_0x5a9d8d,t as a0_0x274947}from'\x2e\x2f\x65\x72\x72\x6f\x72\x73\x2d\x42\x78\x53\x65\x6f\x47\x78\x34\x2e\x6a\x73';import{r as a0_0xecd68f,t as a0_0x188612}from'\x2e\x2f\x73\x61\x6e\x64\x62\x6f\x78\x2d\x43\x6f\x42\x78\x74\x6d\x5a\x30\x2e\x6a\x73';import{t as a0_0x1b844f}from'\x2e\x2f\x63\x6c\x69\x65\x6e\x74\x2d\x43\x36\x31\x42\x61\x69\x6d\x58\x2e\x6a\x73';import{a as a0_0xe4e2f7,i as a0_0x50b902,n as a0_0x26252e,r as a0_0x4c4118,t as a0_0x372bca}from'\x2e\x2f\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e\x2d\x6f\x79\x58\x53\x63\x6a\x6f\x4c\x2e\x6a\x73';import{t as a0_0x4aaf45}from'\x2e\x2f\x74\x61\x6e\x67\x6c\x65\x2d\x44\x35\x52\x30\x38\x57\x66\x47\x2e\x6a\x73';import{createHash}from'\x6e\x6f\x64\x65\x3a\x63\x72\x79\x70\x74\x6f';function defineInlineResource(_0x1753cd,_0x176d59){const _0x3357c8=a0_0x452c;return{'\x6b\x69\x6e\x64':_0x3357c8(0xc3),'\x6e\x61\x6d\x65':_0x1753cd,'\x63\x6f\x6e\x74\x65\x6e\x74':_0x176d59};}function defineGitHubResource(_0x18820b,_0x28fcff={}){const _0x147392=a0_0x452c,_0x3f1158={'\x45\x70\x65\x41\x51':_0x147392(0x11d)};return{'\x6b\x69\x6e\x64':_0x3f1158[_0x147392(0xfc)],'\x70\x61\x74\x68':_0x18820b,'\x72\x65\x66':_0x28fcff[_0x147392(0xc7)],'\x6e\x61\x6d\x65':_0x28fcff[_0x147392(0xe7)]};}function defineAgentProfile(_0x15ea28){return _0x15ea28;}function mergeStringArrays(_0x13c1df,_0x37c0b4){if(!_0x13c1df&&!_0x37c0b4)return void 0x0;return[..._0x13c1df??[],..._0x37c0b4??[]];}function a0_0x452c(_0x17fd7b,_0x5889ae){_0x17fd7b=_0x17fd7b-0xba;const _0x435602=a0_0x4356();let _0x452c30=_0x435602[_0x17fd7b];if(a0_0x452c['\x44\x61\x44\x48\x74\x63']===undefined){var _0x582fc0=function(_0x4db8ec){const _0xfe0ce1='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x476616='',_0x1fa67f='';for(let _0x51e796=0x0,_0x44eb34,_0x54ea18,_0x11ccc5=0x0;_0x54ea18=_0x4db8ec['\x63\x68\x61\x72\x41\x74'](_0x11ccc5++);~_0x54ea18&&(_0x44eb34=_0x51e796%0x4?_0x44eb34*0x40+_0x54ea18:_0x54ea18,_0x51e796++%0x4)?_0x476616+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x44eb34>>(-0x2*_0x51e796&0x6)):0x0){_0x54ea18=_0xfe0ce1['\x69\x6e\x64\x65\x78\x4f\x66'](_0x54ea18);}for(let _0x2fbfce=0x0,_0x317150=_0x476616['\x6c\x65\x6e\x67\x74\x68'];_0x2fbfce<_0x317150;_0x2fbfce++){_0x1fa67f+='\x25'+('\x30\x30'+_0x476616['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x2fbfce)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x1fa67f);};a0_0x452c['\x6b\x7a\x63\x4b\x4d\x77']=_0x582fc0,a0_0x452c['\x76\x6b\x54\x45\x6e\x53']={},a0_0x452c['\x44\x61\x44\x48\x74\x63']=!![];}const _0x3b6332=_0x435602[0x0],_0x5575b5=_0x17fd7b+_0x3b6332,_0x4a4177=a0_0x452c['\x76\x6b\x54\x45\x6e\x53'][_0x5575b5];return!_0x4a4177?(_0x452c30=a0_0x452c['\x6b\x7a\x63\x4b\x4d\x77'](_0x452c30),a0_0x452c['\x76\x6b\x54\x45\x6e\x53'][_0x5575b5]=_0x452c30):_0x452c30=_0x4a4177,_0x452c30;}function mergeRecord(_0x298c13,_0x4c3f47){const _0x4768aa=a0_0x452c,_0x3aeabd={'\x63\x5a\x56\x50\x55':function(_0x3008d1,_0xa87600){return _0x3008d1??_0xa87600;}};if(!_0x298c13&&!_0x4c3f47)return void 0x0;return{..._0x3aeabd[_0x4768aa(0x12e)](_0x298c13,{}),..._0x4c3f47??{}};}function mergeAgentProfiles(_0x37006a,_0x2c40b8){const _0x1e474a=a0_0x452c,_0x4ecd5e={'\x68\x41\x72\x55\x5a':function(_0x3527de,_0x200c35,_0x2db86d){return _0x3527de(_0x200c35,_0x2db86d);},'\x75\x72\x6d\x4a\x4c':function(_0x218a4a,_0x5a7142,_0x20037){return _0x218a4a(_0x5a7142,_0x20037);},'\x4d\x66\x74\x63\x6c':function(_0x32e47b,_0x37e177,_0xec2c23){return _0x32e47b(_0x37e177,_0xec2c23);}};if(!_0x37006a&&!_0x2c40b8)return void 0x0;const _0x258a37=_0x37006a?.[_0x1e474a(0x10e)]||_0x2c40b8?.[_0x1e474a(0x10e)]?{..._0x37006a?.['\x70\x72\x6f\x6d\x70\x74']??{},..._0x2c40b8?.[_0x1e474a(0x10e)]??{},'\x69\x6e\x73\x74\x72\x75\x63\x74\x69\x6f\x6e\x73':_0x4ecd5e[_0x1e474a(0x135)](mergeStringArrays,_0x37006a?.[_0x1e474a(0x10e)]?.['\x69\x6e\x73\x74\x72\x75\x63\x74\x69\x6f\x6e\x73'],_0x2c40b8?.[_0x1e474a(0x10e)]?.['\x69\x6e\x73\x74\x72\x75\x63\x74\x69\x6f\x6e\x73'])}:void 0x0,_0x1eaf02=_0x37006a?.['\x72\x65\x73\x6f\x75\x72\x63\x65\x73']||_0x2c40b8?.[_0x1e474a(0xf2)]?{..._0x37006a?.['\x72\x65\x73\x6f\x75\x72\x63\x65\x73']??{},..._0x2c40b8?.[_0x1e474a(0xf2)]??{},'\x66\x69\x6c\x65\x73':[..._0x37006a?.[_0x1e474a(0xf2)]?.[_0x1e474a(0x10b)]??[],..._0x2c40b8?.['\x72\x65\x73\x6f\x75\x72\x63\x65\x73']?.[_0x1e474a(0x10b)]??[]],'\x69\x6e\x73\x74\x72\x75\x63\x74\x69\x6f\x6e\x73':_0x2c40b8?.[_0x1e474a(0xf2)]?.['\x69\x6e\x73\x74\x72\x75\x63\x74\x69\x6f\x6e\x73']??_0x37006a?.[_0x1e474a(0xf2)]?.['\x69\x6e\x73\x74\x72\x75\x63\x74\x69\x6f\x6e\x73']}:void 0x0;return{..._0x37006a??{},..._0x2c40b8??{},'\x70\x72\x6f\x6d\x70\x74':_0x258a37,'\x70\x65\x72\x6d\x69\x73\x73\x69\x6f\x6e\x73':_0x4ecd5e[_0x1e474a(0x107)](mergeRecord,_0x37006a?.[_0x1e474a(0x10f)],_0x2c40b8?.[_0x1e474a(0x10f)]),'\x74\x6f\x6f\x6c\x73':mergeRecord(_0x37006a?.['\x74\x6f\x6f\x6c\x73'],_0x2c40b8?.[_0x1e474a(0x118)]),'\x6d\x63\x70':mergeRecord(_0x37006a?.[_0x1e474a(0x132)],_0x2c40b8?.[_0x1e474a(0x132)]),'\x73\x75\x62\x61\x67\x65\x6e\x74\x73':_0x4ecd5e[_0x1e474a(0xbe)](mergeRecord,_0x37006a?.[_0x1e474a(0x106)],_0x2c40b8?.[_0x1e474a(0x106)]),'\x72\x65\x73\x6f\x75\x72\x63\x65\x73':_0x1eaf02,'\x6d\x65\x74\x61\x64\x61\x74\x61':mergeRecord(_0x37006a?.[_0x1e474a(0xdb)],_0x2c40b8?.[_0x1e474a(0xdb)]),'\x65\x78\x74\x65\x6e\x73\x69\x6f\x6e\x73':mergeRecord(_0x37006a?.['\x65\x78\x74\x65\x6e\x73\x69\x6f\x6e\x73'],_0x2c40b8?.[_0x1e474a(0xd3)])};}var Image=class Image{constructor(_0x3246bd,_0x264a15,_0xdd4103,_0x3aff86){const _0x41a5a1=a0_0x452c;this['\x69\x64']=_0x3246bd,this[_0x41a5a1(0x10c)]=_0x264a15,this[_0x41a5a1(0xe0)]=_0xdd4103,this[_0x41a5a1(0xcd)]=_0x3aff86;}static['\x63\x72\x65\x61\x74\x65'](_0x12ec10=a0_0x5171bd(0xf4)){return new ImageBuilder({'\x62\x61\x73\x65\x49\x6d\x61\x67\x65':_0x12ec10});}static[a0_0x5171bd(0x127)](_0x30342c){const _0xb46c9=a0_0x5171bd;return new Image(_0x30342c,_0x30342c[_0xb46c9(0xd1)]('\x73\x68\x61\x32\x35\x36\x3a')?_0xb46c9(0x115)+_0x30342c[_0xb46c9(0xde)](0x7,0x13):_0x30342c,_0x30342c);}static[a0_0x5171bd(0x111)](_0x233a63,_0x10e5fe){const _0x139241=a0_0x5171bd,_0x1116a0={'\x62\x52\x50\x41\x61':_0x139241(0x102),'\x45\x57\x4f\x4d\x72':function(_0x4d4129,_0x28b59e){return _0x4d4129||_0x28b59e;}};return new ImageBuilder({'\x62\x61\x73\x65\x49\x6d\x61\x67\x65':_0x1116a0[_0x139241(0x120)],'\x64\x6f\x63\x6b\x65\x72\x66\x69\x6c\x65':_0x233a63,'\x64\x6f\x63\x6b\x65\x72\x43\x6f\x6e\x74\x65\x78\x74':_0x1116a0['\x45\x57\x4f\x4d\x72'](_0x10e5fe,'\x2e')});}static['\x66\x72\x6f\x6d\x42\x75\x69\x6c\x64\x52\x65\x73\x75\x6c\x74'](_0x1d94f3){const _0x202a30=a0_0x5171bd;return new Image(_0x1d94f3['\x69\x64'],_0x1d94f3[_0x202a30(0x10c)],_0x1d94f3[_0x202a30(0xe0)],_0x1d94f3[_0x202a30(0xcd)]);}[a0_0x5171bd(0x12f)](){const _0x93c51e=a0_0x5171bd;return{'\x69\x64':this['\x69\x64'],'\x74\x61\x67':this['\x74\x61\x67'],'\x64\x69\x67\x65\x73\x74':this[_0x93c51e(0xe0)],'\x73\x70\x65\x63':this[_0x93c51e(0xcd)]};}},ImageBuilder=class{[a0_0x5171bd(0xcd)];[a0_0x5171bd(0xcc)];constructor(_0x2239f5){const _0x39127d=a0_0x5171bd,_0xcb457={'\x42\x69\x61\x6a\x52':_0x39127d(0xf4)};this['\x73\x70\x65\x63']={'\x62\x61\x73\x65\x49\x6d\x61\x67\x65':_0x2239f5[_0x39127d(0x11b)]||_0xcb457['\x42\x69\x61\x6a\x52'],..._0x2239f5};}[a0_0x5171bd(0xe6)](_0x250a4d){const _0xfb7461=a0_0x5171bd;return this[_0xfb7461(0xcd)][_0xfb7461(0xce)]=_0x250a4d,this;}[a0_0x5171bd(0x10d)](_0x25f066){const _0x404995=a0_0x5171bd;return this[_0x404995(0xcd)][_0x404995(0x126)]=[...this['\x73\x70\x65\x63'][_0x404995(0x126)]||[],..._0x25f066],this;}[a0_0x5171bd(0xff)](_0x52d856){const _0x539c2b=a0_0x5171bd;return this['\x73\x70\x65\x63'][_0x539c2b(0xf7)]=[...this[_0x539c2b(0xcd)]['\x63\x6f\x6d\x6d\x61\x6e\x64\x73']||[],_0x539c2b(0x11a)+_0x52d856],this;}[a0_0x5171bd(0x12b)](_0x381c9a){const _0x501f6a=a0_0x5171bd;return this[_0x501f6a(0xcd)][_0x501f6a(0xf7)]=[...this['\x73\x70\x65\x63']['\x63\x6f\x6d\x6d\x61\x6e\x64\x73']||[],..._0x381c9a],this;}[a0_0x5171bd(0xe4)](_0x43b767){const _0x5189aa=a0_0x5171bd;return this['\x73\x70\x65\x63'][_0x5189aa(0xd7)]=[...this['\x73\x70\x65\x63'][_0x5189aa(0xd7)]||[],..._0x43b767],this;}['\x77\x69\x74\x68\x45\x6e\x76'](_0x50728e){const _0x3c8266=a0_0x5171bd;return this[_0x3c8266(0xcd)][_0x3c8266(0x13c)]={...this[_0x3c8266(0xcd)]['\x65\x6e\x76'],..._0x50728e},this;}[a0_0x5171bd(0x136)](_0x255497){const _0x18ba9e=a0_0x5171bd;return this[_0x18ba9e(0xcd)]['\x73\x65\x63\x72\x65\x74\x73']=[...this['\x73\x70\x65\x63'][_0x18ba9e(0xdc)]||[],..._0x255497],this;}['\x63\x6f\x6e\x64\x61'](_0x4358a6,_0x2976d5){const _0x2c9a4a=a0_0x5171bd,_0x20e812={'\x58\x78\x71\x72\x43':_0x2c9a4a(0x11f)};return this['\x73\x70\x65\x63'][_0x2c9a4a(0x146)]={'\x70\x61\x63\x6b\x61\x67\x65\x73':[...this[_0x2c9a4a(0xcd)][_0x2c9a4a(0x146)]?.['\x70\x61\x63\x6b\x61\x67\x65\x73']||[],..._0x4358a6],'\x63\x68\x61\x6e\x6e\x65\x6c\x73':_0x2976d5||this['\x73\x70\x65\x63'][_0x2c9a4a(0x146)]?.[_0x2c9a4a(0x122)]||[_0x20e812['\x58\x78\x71\x72\x43']]},this;}[a0_0x5171bd(0xe8)](_0x1e369e){const _0x5686a6=a0_0x5171bd;return this[_0x5686a6(0xcd)]['\x77\x6f\x72\x6b\x64\x69\x72']=_0x1e369e,this;}[a0_0x5171bd(0xfa)](_0x392f61){const _0x28960f=a0_0x5171bd;return this['\x73\x70\x65\x63'][_0x28960f(0xfa)]=_0x392f61,this;}[a0_0x5171bd(0x139)](_0x44d39a){const _0x160489=a0_0x5171bd;return this[_0x160489(0xcd)][_0x160489(0x139)]={...this[_0x160489(0xcd)]['\x62\x75\x69\x6c\x64\x41\x72\x67\x73'],..._0x44d39a},this;}[a0_0x5171bd(0x114)](_0x1fc953){const _0x518feb=a0_0x5171bd;return this['\x73\x70\x65\x63']['\x6c\x61\x62\x65\x6c\x73']={...this[_0x518feb(0xcd)][_0x518feb(0x114)],..._0x1fc953},this;}[a0_0x5171bd(0x13d)](){const _0x48bcb0=a0_0x5171bd;return{...this[_0x48bcb0(0xcd)]};}[a0_0x5171bd(0xf3)](){const _0x27a105=a0_0x5171bd,_0xe74f94={'\x61\x42\x68\x54\x67':function(_0x5a4092,_0xd84f83){return _0x5a4092(_0xd84f83);}},_0x5bea95=JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](this[_0x27a105(0xcd)],Object[_0x27a105(0xd8)](this[_0x27a105(0xcd)])[_0x27a105(0x125)]());return _0xe74f94[_0x27a105(0x12a)](createHash,_0x27a105(0x100))[_0x27a105(0xbd)](_0x5bea95)[_0x27a105(0xe0)](_0x27a105(0xda));}[a0_0x5171bd(0xbc)](_0x4a9f2a){const _0x9c2cd9=a0_0x5171bd;return this[_0x9c2cd9(0xcc)]=_0x4a9f2a,this;}async['\x62\x75\x69\x6c\x64'](_0x440828){const _0x5aee8e=a0_0x5171bd,_0x10c665={'\x72\x74\x71\x49\x4a':function(_0x53cb82,_0x54cf36,_0x3fc690){return _0x53cb82(_0x54cf36,_0x3fc690);},'\x61\x4c\x74\x76\x76':'\x61\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x2f\x6a\x73\x6f\x6e','\x67\x61\x41\x45\x49':_0x5aee8e(0x110),'\x46\x71\x41\x7a\x52':function(_0xa98c2d,_0x45c83c){return _0xa98c2d instanceof _0x45c83c;}},_0xaef3bd=_0x440828?.[_0x5aee8e(0xd2)]||this[_0x5aee8e(0xcc)];if(!_0xaef3bd)throw new Error(_0x5aee8e(0x138));const _0x58dccf=await _0x10c665[_0x5aee8e(0x144)](fetch,_0xaef3bd['\x62\x61\x73\x65\x55\x72\x6c']+_0x5aee8e(0xd0),{'\x6d\x65\x74\x68\x6f\x64':_0x5aee8e(0xc5),'\x68\x65\x61\x64\x65\x72\x73':{'\x43\x6f\x6e\x74\x65\x6e\x74\x2d\x54\x79\x70\x65':_0x10c665[_0x5aee8e(0x145)],'\x41\x75\x74\x68\x6f\x72\x69\x7a\x61\x74\x69\x6f\x6e':_0x5aee8e(0x13a)+_0xaef3bd[_0x5aee8e(0xcf)]},'\x62\x6f\x64\x79':JSON[_0x5aee8e(0xe9)]({'\x73\x70\x65\x63':this[_0x5aee8e(0xcd)],'\x6f\x70\x74\x69\x6f\x6e\x73':{'\x6e\x6f\x43\x61\x63\x68\x65':_0x440828?.[_0x5aee8e(0x103)],'\x70\x6c\x61\x74\x66\x6f\x72\x6d':_0x440828?.[_0x5aee8e(0xfe)],'\x74\x61\x67':_0x440828?.[_0x5aee8e(0x10c)],'\x73\x74\x72\x65\x61\x6d':!!_0x440828?.[_0x5aee8e(0x131)]}})});if(!_0x58dccf['\x6f\x6b']){const _0x5499e3=await _0x58dccf[_0x5aee8e(0x129)]();throw new Error('\x46\x61\x69\x6c\x65\x64\x20\x74\x6f\x20\x62\x75\x69\x6c\x64\x20\x69\x6d\x61\x67\x65\x3a\x20'+_0x5499e3);}if(_0x440828?.[_0x5aee8e(0x131)]&&_0x58dccf['\x68\x65\x61\x64\x65\x72\x73'][_0x5aee8e(0x12c)]('\x63\x6f\x6e\x74\x65\x6e\x74\x2d\x74\x79\x70\x65')?.[_0x5aee8e(0xea)](_0x10c665[_0x5aee8e(0xdd)])){const _0x1a52e1=_0x58dccf[_0x5aee8e(0x105)]?.[_0x5aee8e(0x112)]();if(_0x1a52e1){const _0xd85985=new TextDecoder();let _0x4c3378;while(!![]){const {done:_0x3eb436,value:_0x4aaa11}=await _0x1a52e1['\x72\x65\x61\x64']();if(_0x3eb436)break;const _0x131787=_0xd85985[_0x5aee8e(0xeb)](_0x4aaa11)['\x73\x70\x6c\x69\x74']('\x0a')['\x66\x69\x6c\x74\x65\x72'](_0x57d1b7=>_0x57d1b7[_0x5aee8e(0xd1)]('\x64\x61\x74\x61\x3a\x20'));for(const _0xab0796 of _0x131787)try{const _0x577d4a=JSON[_0x5aee8e(0x113)](_0xab0796[_0x5aee8e(0xde)](0x6));if(_0x577d4a[_0x5aee8e(0xe2)]===_0x5aee8e(0x104))_0x440828['\x6f\x6e\x50\x72\x6f\x67\x72\x65\x73\x73'](_0x577d4a['\x65\x76\x65\x6e\x74']);else{if(_0x577d4a['\x74\x79\x70\x65']===_0x5aee8e(0xbb))_0x4c3378={..._0x577d4a['\x72\x65\x73\x75\x6c\x74'],'\x63\x72\x65\x61\x74\x65\x64\x41\x74':new Date(_0x577d4a['\x72\x65\x73\x75\x6c\x74'][_0x5aee8e(0xc9)])};else{if(_0x577d4a[_0x5aee8e(0xe2)]===_0x5aee8e(0xf1))throw new Error(_0x577d4a['\x6d\x65\x73\x73\x61\x67\x65']);}}}catch(_0x2a9330){if(_0x10c665[_0x5aee8e(0xc8)](_0x2a9330,SyntaxError))continue;throw _0x2a9330;}}if(!_0x4c3378)throw new Error(_0x5aee8e(0xbf));return Image[_0x5aee8e(0xe5)](_0x4c3378);}}const _0x18df2b=await _0x58dccf[_0x5aee8e(0xd9)](),_0x5d7bd9={..._0x18df2b,'\x63\x72\x65\x61\x74\x65\x64\x41\x74':new Date(_0x18df2b[_0x5aee8e(0xc9)])};return Image[_0x5aee8e(0xe5)](_0x5d7bd9);}[a0_0x5171bd(0xdf)](){const _0xbc0e64=a0_0x5171bd;return generateDockerfile(this[_0xbc0e64(0xcd)]);}};function generateDockerfile(_0x5947ad){const _0x16d296=a0_0x5171bd,_0x5584b5={'\x50\x51\x51\x49\x4b':function(_0x8246ff,_0x2024dd){return _0x8246ff>_0x2024dd;},'\x79\x56\x6c\x4b\x50':'\x23\x20\x49\x6e\x73\x74\x61\x6c\x6c\x20\x73\x79\x73\x74\x65\x6d\x20\x70\x61\x63\x6b\x61\x67\x65\x73','\x44\x74\x68\x75\x6c':'\x70\x79\x74\x68\x6f\x6e','\x50\x6f\x56\x72\x54':_0x16d296(0xf6),'\x48\x56\x55\x48\x67':_0x16d296(0x133),'\x41\x6d\x74\x62\x4e':'\x20\x20\x20\x20\x61\x70\x74\x2d\x67\x65\x74\x20\x63\x6c\x65\x61\x6e\x20\x26\x26\x20\x72\x6d\x20\x2d\x72\x66\x20\x2f\x76\x61\x72\x2f\x6c\x69\x62\x2f\x61\x70\x74\x2f\x6c\x69\x73\x74\x73\x2f\x2a','\x64\x54\x56\x6a\x53':_0x16d296(0x128),'\x6c\x47\x74\x46\x72':'\x52\x55\x4e\x20\x63\x75\x72\x6c\x20\x2d\x4c\x73\x20\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6d\x69\x63\x72\x6f\x2e\x6d\x61\x6d\x62\x61\x2e\x70\x6d\x2f\x61\x70\x69\x2f\x6d\x69\x63\x72\x6f\x6d\x61\x6d\x62\x61\x2f\x6c\x69\x6e\x75\x78\x2d\x36\x34\x2f\x6c\x61\x74\x65\x73\x74\x20\x7c\x20\x74\x61\x72\x20\x2d\x78\x76\x6a\x20\x62\x69\x6e\x2f\x6d\x69\x63\x72\x6f\x6d\x61\x6d\x62\x61\x20\x26\x26\x20\x5c','\x42\x6c\x4c\x57\x65':_0x16d296(0xc1),'\x6b\x71\x73\x47\x77':_0x16d296(0xed),'\x78\x6f\x6c\x53\x54':_0x16d296(0x12d)},_0x3b4f10=[];_0x3b4f10[_0x16d296(0x117)]('\x46\x52\x4f\x4d\x20'+_0x5947ad['\x62\x61\x73\x65\x49\x6d\x61\x67\x65']),_0x3b4f10[_0x16d296(0x117)]('');if(_0x5947ad[_0x16d296(0x114)]&&_0x5584b5[_0x16d296(0xd5)](Object[_0x16d296(0xd8)](_0x5947ad['\x6c\x61\x62\x65\x6c\x73'])[_0x16d296(0xc2)],0x0)){for(const [_0x4bdbec,_0x11fafe]of Object[_0x16d296(0xf8)](_0x5947ad[_0x16d296(0x114)]))_0x3b4f10[_0x16d296(0x117)](_0x16d296(0xfb)+_0x4bdbec+'\x3d\x22'+_0x11fafe+'\x22');_0x3b4f10['\x70\x75\x73\x68']('');}if(_0x5947ad[_0x16d296(0x139)]&&Object[_0x16d296(0xd8)](_0x5947ad['\x62\x75\x69\x6c\x64\x41\x72\x67\x73'])[_0x16d296(0xc2)]>0x0){for(const [_0x1df388,_0x52f3b2]of Object['\x65\x6e\x74\x72\x69\x65\x73'](_0x5947ad[_0x16d296(0x139)]))_0x3b4f10[_0x16d296(0x117)](_0x16d296(0x137)+_0x1df388+'\x3d'+_0x52f3b2);_0x3b4f10[_0x16d296(0x117)]('');}if(_0x5947ad['\x65\x6e\x76']&&Object[_0x16d296(0xd8)](_0x5947ad[_0x16d296(0x13c)])['\x6c\x65\x6e\x67\x74\x68']>0x0){for(const [_0x4ec957,_0x80ba2f]of Object[_0x16d296(0xf8)](_0x5947ad[_0x16d296(0x13c)]))_0x3b4f10[_0x16d296(0x117)]('\x45\x4e\x56\x20'+_0x4ec957+'\x3d\x22'+_0x80ba2f+'\x22');_0x3b4f10[_0x16d296(0x117)]('');}_0x5947ad[_0x16d296(0xe8)]&&(_0x3b4f10[_0x16d296(0x117)](_0x16d296(0x141)+_0x5947ad[_0x16d296(0xe8)]),_0x3b4f10[_0x16d296(0x117)](''));_0x5947ad[_0x16d296(0xd7)]&&_0x5947ad[_0x16d296(0xd7)][_0x16d296(0xc2)]>0x0&&(_0x3b4f10['\x70\x75\x73\x68'](_0x5584b5[_0x16d296(0xba)]),_0x3b4f10[_0x16d296(0x117)](_0x16d296(0x140)),_0x3b4f10[_0x16d296(0x117)](_0x16d296(0xd6)+_0x5947ad[_0x16d296(0xd7)][_0x16d296(0xe1)]('\x20')+_0x16d296(0x123)),_0x3b4f10[_0x16d296(0x117)](_0x16d296(0x13f)),_0x3b4f10[_0x16d296(0x117)](''));_0x5947ad['\x70\x79\x74\x68\x6f\x6e\x56\x65\x72\x73\x69\x6f\x6e']&&(_0x3b4f10[_0x16d296(0x117)](_0x16d296(0x130)+_0x5947ad['\x70\x79\x74\x68\x6f\x6e\x56\x65\x72\x73\x69\x6f\x6e']),!(_0x5947ad[_0x16d296(0x11b)][_0x16d296(0xea)](_0x5584b5[_0x16d296(0x11c)])||_0x5947ad[_0x16d296(0x11b)][_0x16d296(0xea)](_0x16d296(0x13b))||_0x5947ad[_0x16d296(0x11b)]['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0x16d296(0x142)))&&_0x5947ad[_0x16d296(0x11b)][_0x16d296(0xea)]('\x75\x62\x75\x6e\x74\x75')&&(_0x3b4f10[_0x16d296(0x117)](_0x16d296(0x140)),_0x3b4f10[_0x16d296(0x117)](_0x5584b5[_0x16d296(0x10a)]),_0x3b4f10['\x70\x75\x73\x68'](_0x5584b5[_0x16d296(0x134)]),_0x3b4f10['\x70\x75\x73\x68'](_0x16d296(0xca)+_0x5947ad[_0x16d296(0xce)]+'\x20\x70\x79\x74\x68\x6f\x6e'+_0x5947ad[_0x16d296(0xce)]+_0x16d296(0xf0)+_0x5947ad['\x70\x79\x74\x68\x6f\x6e\x56\x65\x72\x73\x69\x6f\x6e']+'\x2d\x64\x69\x73\x74\x75\x74\x69\x6c\x73\x20\x26\x26\x20\x5c'),_0x3b4f10['\x70\x75\x73\x68'](_0x5584b5[_0x16d296(0x13e)]),_0x3b4f10[_0x16d296(0x117)](''),_0x3b4f10[_0x16d296(0x117)](_0x16d296(0x116)+_0x5947ad[_0x16d296(0xce)]+_0x16d296(0xee)),_0x3b4f10['\x70\x75\x73\x68'](_0x16d296(0xfd)+_0x5947ad[_0x16d296(0xce)]+'\x20\x31'),_0x3b4f10[_0x16d296(0x117)](''),_0x3b4f10[_0x16d296(0x117)](_0x5584b5[_0x16d296(0xc0)])),_0x3b4f10[_0x16d296(0x117)](''));if(_0x5947ad[_0x16d296(0x146)]&&_0x5947ad[_0x16d296(0x146)][_0x16d296(0x126)][_0x16d296(0xc2)]>0x0){_0x3b4f10[_0x16d296(0x117)](_0x16d296(0xec)),_0x3b4f10[_0x16d296(0x117)](_0x5584b5['\x6c\x47\x74\x46\x72']),_0x3b4f10[_0x16d296(0x117)](_0x16d296(0x109)),_0x3b4f10['\x70\x75\x73\x68'](_0x16d296(0x108)),_0x3b4f10[_0x16d296(0x117)]('');const _0x4fcae4=(_0x5947ad['\x63\x6f\x6e\x64\x61'][_0x16d296(0x122)]||['\x63\x6f\x6e\x64\x61\x2d\x66\x6f\x72\x67\x65'])['\x6d\x61\x70'](_0x242b67=>'\x2d\x63\x20'+_0x242b67)[_0x16d296(0xe1)]('\x20');_0x3b4f10[_0x16d296(0x117)](_0x16d296(0x143)+_0x4fcae4+'\x20'+_0x5947ad[_0x16d296(0x146)][_0x16d296(0x126)][_0x16d296(0xe1)]('\x20')+'\x20\x26\x26\x20\x5c'),_0x3b4f10['\x70\x75\x73\x68'](_0x5584b5[_0x16d296(0xf9)]),_0x3b4f10['\x70\x75\x73\x68'](_0x5584b5[_0x16d296(0xe3)]),_0x3b4f10['\x70\x75\x73\x68']('');}_0x5947ad[_0x16d296(0x126)]&&_0x5947ad['\x70\x61\x63\x6b\x61\x67\x65\x73']['\x6c\x65\x6e\x67\x74\x68']>0x0&&(_0x3b4f10[_0x16d296(0x117)](_0x5584b5['\x78\x6f\x6c\x53\x54']),_0x3b4f10['\x70\x75\x73\x68']('\x52\x55\x4e\x20\x70\x69\x70\x20\x69\x6e\x73\x74\x61\x6c\x6c\x20\x2d\x2d\x6e\x6f\x2d\x63\x61\x63\x68\x65\x2d\x64\x69\x72\x20'+_0x5947ad[_0x16d296(0x126)][_0x16d296(0xe1)]('\x20')),_0x3b4f10[_0x16d296(0x117)](''));if(_0x5947ad['\x63\x6f\x6d\x6d\x61\x6e\x64\x73']&&_0x5584b5[_0x16d296(0xd5)](_0x5947ad['\x63\x6f\x6d\x6d\x61\x6e\x64\x73'][_0x16d296(0xc2)],0x0)){_0x3b4f10['\x70\x75\x73\x68'](_0x16d296(0x11e));for(const _0x4932c3 of _0x5947ad[_0x16d296(0xf7)])_0x3b4f10[_0x16d296(0x117)](_0x16d296(0xc4)+_0x4932c3);_0x3b4f10[_0x16d296(0x117)]('');}if(_0x5947ad[_0x16d296(0xfa)])_0x3b4f10[_0x16d296(0x117)]('\x55\x53\x45\x52\x20'+_0x5947ad['\x75\x73\x65\x72']);return _0x3b4f10[_0x16d296(0xe1)]('\x0a');}export{a0_0x274947 as AuthError,a0_0xe4e2f7 as CollaborationClient,a0_0x372bca as CollaborationFileBridge,Image,ImageBuilder,a0_0x489b4a as NetworkError,a0_0x152b90 as NotFoundError,a0_0x3a286e as QuotaError,a0_0x1b844f as Sandbox,a0_0x1b844f as SandboxClient,a0_0x308c14 as SandboxError,a0_0x188612 as SandboxInstance,a0_0xba2b59 as ServerError,a0_0x5a9d8d as StateError,a0_0x4aaf45 as TangleSandboxClient,a0_0x24c541 as TimeoutError,a0_0x18d571 as ValidationError,a0_0x26252e as buildCollaborationDocumentId,defineAgentProfile,defineGitHubResource,defineInlineResource,generateDockerfile,a0_0x14ba3c as issueCollaborationToken,mergeAgentProfiles,a0_0x4c4118 as normalizeCollaborationPath,a0_0x50b902 as parseCollaborationDocumentId,a0_0xecd68f as parseSSEStream};
|