@quietrobot/sandboxes 0.0.0-stage → 0.2.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.
@@ -0,0 +1,571 @@
1
+ /**
2
+ * Quiet Robot Sandboxes: TypeScript client.
3
+ *
4
+ * const qr = new Sandboxes({ apiKey: process.env.QR_API_KEY });
5
+ * const sbx = await qr.create({ egress: { mode: "allowlist", allow: ["pypi.org"] } });
6
+ * const run = await sbx.exec("python3 -c 'print(42)'");
7
+ * await sbx.destroy();
8
+ */
9
+ /** The hosted service. Change it with scripts/set-sdk-base-url.sh so both SDKs stay in step. */
10
+ export declare const DEFAULT_BASE_URL = "https://api.quietrobot.ai";
11
+ /** Where preview URLs live until an API answer says otherwise. */
12
+ export declare const DEFAULT_PREVIEW_DOMAIN = "quietrobot.dev";
13
+ /** The sandbox user's home folder. Relative paths (files and cwd) are relative to it. */
14
+ export declare const HOME = "/home/sandbox";
15
+ export type EgressMode = "deny" | "allowlist" | "open";
16
+ export interface SandboxInfo {
17
+ id: string;
18
+ name: string | null;
19
+ status: "starting" | "running" | "pausing" | "paused" | "archived" | "stopped" | "error";
20
+ template: string;
21
+ region: string | null;
22
+ cpuClass: "standard" | "performance";
23
+ /** Set when the sandbox runs on a reserved machine. */
24
+ reservationId: string | null;
25
+ /** When the sandbox was paused, if it is paused. */
26
+ pausedAt: string | null;
27
+ /** The snapshot this sandbox started from, if any. */
28
+ fromSnapshotId: string | null;
29
+ /** True when the sandbox was handed out from a pre-started VM instead of booting one. */
30
+ warmStart: boolean;
31
+ cpus: number;
32
+ memoryMb: number;
33
+ /** maxMode: the widest mode the rules can be switched to. locked: started with egress.lock, so it can never be widened. */
34
+ egress: {
35
+ mode: EgressMode;
36
+ allow: string[];
37
+ deny: string[];
38
+ maxMode: EgressMode;
39
+ locked?: boolean;
40
+ };
41
+ /** Names of the secrets this sandbox may use through the gateway. */
42
+ secrets: string[];
43
+ identity: {
44
+ hosts: string[];
45
+ };
46
+ autoPauseSec: number | null;
47
+ lastActiveAt: string | null;
48
+ /** Kept through pauses, the time limit and a lost host; ends only when destroyed. */
49
+ durable?: boolean;
50
+ metadata: Record<string, string>;
51
+ error: string | null;
52
+ createdAt: string;
53
+ startedAt: string | null;
54
+ deadlineAt: string;
55
+ endedAt: string | null;
56
+ /** Only on create with run: the first command's execution, or why it couldn't run. */
57
+ run?: Execution | {
58
+ error: {
59
+ code: string;
60
+ message: string;
61
+ };
62
+ };
63
+ }
64
+ export interface Execution {
65
+ id: string;
66
+ sandboxId: string;
67
+ status: "pending_approval" | "running" | "completed" | "denied" | "failed";
68
+ cmd: string;
69
+ cwd: string | null;
70
+ envKeys: string[];
71
+ exitCode: number | null;
72
+ stdout: string | null;
73
+ stderr: string | null;
74
+ durationMs: number | null;
75
+ timedOut: boolean | null;
76
+ requestedBy: {
77
+ kind: string;
78
+ id: string | null;
79
+ label: string | null;
80
+ };
81
+ approval: {
82
+ reason: string;
83
+ decidedBy: string | null;
84
+ decidedAt: string | null;
85
+ note: string | null;
86
+ } | null;
87
+ createdAt: string;
88
+ finishedAt: string | null;
89
+ }
90
+ /** One read of a live command's output. */
91
+ export interface OutputChunk {
92
+ stdout: string;
93
+ stderr: string;
94
+ /** Byte offsets the next read starts from. */
95
+ out: number;
96
+ err: number;
97
+ /** Bytes that fell out of the sandbox's buffer before they were read. */
98
+ missed: number;
99
+ done: boolean;
100
+ exitCode: number | null;
101
+ timedOut: boolean;
102
+ }
103
+ export interface AuditEvent {
104
+ seq: number;
105
+ sandboxId: string | null;
106
+ actorKind: string;
107
+ actorLabel: string | null;
108
+ action: string;
109
+ detail: Record<string, unknown>;
110
+ createdAt: string;
111
+ }
112
+ export interface Reservation {
113
+ id: string;
114
+ size: "2x4" | "4x8" | "8x16";
115
+ name: string;
116
+ cpus: number;
117
+ memoryMb: number;
118
+ region: string;
119
+ term: "annual" | "monthly";
120
+ priceMonthly: number;
121
+ status: "active" | "cancelled";
122
+ /** The sandbox running on this machine, if any. */
123
+ inUseBy: string | null;
124
+ createdAt: string;
125
+ cancelledAt: string | null;
126
+ }
127
+ export interface SnapshotInfo {
128
+ id: string;
129
+ name: string | null;
130
+ status: "creating" | "ready";
131
+ sizeBytes: number;
132
+ sourceSandboxId: string | null;
133
+ createdAt: string;
134
+ }
135
+ export interface VolumeInfo {
136
+ id: string;
137
+ name: string;
138
+ sizeBytes: number | null;
139
+ createdAt: string;
140
+ [k: string]: unknown;
141
+ }
142
+ export interface PortInfo {
143
+ port: number;
144
+ access: "private" | "public";
145
+ /** The preview URL. A private one needs the token (header X-QR-Preview-Token) or shareUrl. */
146
+ url: string;
147
+ /** Private ports: a link that signs a browser in. */
148
+ shareUrl?: string | null;
149
+ token?: string | null;
150
+ }
151
+ export interface WebhookInfo {
152
+ id: string;
153
+ url: string;
154
+ description: string | null;
155
+ events: string[];
156
+ enabled?: boolean;
157
+ /** Only in the answer to create and rotateSecret. */
158
+ secret?: string;
159
+ createdAt: string;
160
+ [k: string]: unknown;
161
+ }
162
+ export interface CodeResult {
163
+ /** repr() of the value. */
164
+ text: string;
165
+ html?: string;
166
+ /** Base64 PNG: a figure, or a value with _repr_png_. */
167
+ png?: string;
168
+ json?: unknown;
169
+ }
170
+ export interface CodeRun {
171
+ stdout: string;
172
+ stderr: string;
173
+ /** The cell's last expression, then any matplotlib figures. */
174
+ results: CodeResult[];
175
+ error: {
176
+ name: string;
177
+ value: string;
178
+ traceback: string;
179
+ } | null;
180
+ /** The command the cell ran as. */
181
+ execution: Execution;
182
+ }
183
+ export interface CreateOptions {
184
+ name?: string;
185
+ template?: string;
186
+ /** standard = shared CPU (cheaper), performance = dedicated CPU (Pay as you go with a card). */
187
+ cpuClass?: "standard" | "performance";
188
+ cpus?: 1 | 2 | 4 | 8 | 16;
189
+ memoryMb?: number;
190
+ timeoutSec?: number;
191
+ /** Region code, e.g. "us-virginia" or "eu-frankfurt". Performance CPUs run in US and European regions only. */
192
+ region?: string;
193
+ /** Run on one of your reserved machines; size, CPU class and region come from it. */
194
+ reservationId?: string;
195
+ /** Start with the files from this snapshot. */
196
+ snapshotId?: string;
197
+ /** Set false to always boot a fresh VM rather than take a pre-started one. */
198
+ pool?: boolean;
199
+ /**
200
+ * Keep the files through pauses, the time limit and a lost host. Ends only
201
+ * when destroyed. A durable sandbox's name also works as its id.
202
+ */
203
+ durable?: boolean;
204
+ /** Durable only: when the name is taken, "error" (default) or "return" that sandbox. */
205
+ ifExists?: "error" | "return";
206
+ /**
207
+ * Network rules. allow and deny take domains (pypi.org, *.github.com), IP
208
+ * addresses and CIDR ranges, with an optional port (db.example.com:5432).
209
+ * Left out, your organization's default (allowlist with package sites for
210
+ * new organizations). By default the rules can later be widened with
211
+ * setEgress to anything your plan allows; lock: true fixes them to what
212
+ * these rules need so they never can be (copies keep the lock). maxMode
213
+ * sets a narrower ceiling instead. Send lock or maxMode, not both.
214
+ */
215
+ egress?: {
216
+ mode?: EgressMode;
217
+ allow?: string[];
218
+ deny?: string[];
219
+ maxMode?: EgressMode;
220
+ lock?: boolean;
221
+ };
222
+ env?: Record<string, string>;
223
+ /**
224
+ * Secrets (added with secrets.set) this sandbox may use without holding
225
+ * them. Each arrives as an env var with a stand-in value; send calls to
226
+ * `$QR_GATEWAY_URL/<host>/<path>` with the stand-in where the key goes.
227
+ * Needs egress mode allowlist or open.
228
+ */
229
+ secrets?: string[];
230
+ /** Hosts this sandbox may prove itself to with QR_IDENTITY_TOKEN (checked against /api/v1/identity/jwks.json). */
231
+ identity?: {
232
+ hosts: string[];
233
+ };
234
+ /** Pause after this many seconds (60 to 86400) with no calls. Any command or file call wakes it again. */
235
+ autoPauseSec?: number;
236
+ metadata?: Record<string, string>;
237
+ /** Folders kept between sandboxes: a volume id or name, and a folder in /home/sandbox. */
238
+ volumes?: {
239
+ id?: string;
240
+ name?: string;
241
+ path: string;
242
+ }[];
243
+ /** A first command to run as soon as the sandbox is up, in the same request. Its result is in sandbox.info.run. */
244
+ run?: {
245
+ cmd: string;
246
+ cwd?: string;
247
+ env?: Record<string, string>;
248
+ timeoutMs?: number;
249
+ background?: boolean;
250
+ };
251
+ }
252
+ export interface SecretInfo {
253
+ name: string;
254
+ /** The only hosts the value may be sent to. */
255
+ hosts: string[];
256
+ createdAt: string;
257
+ updatedAt: string;
258
+ lastUsedAt: string | null;
259
+ }
260
+ export interface ApprovalOptions {
261
+ /** Wait for a person when a policy rule holds the command. Default true. */
262
+ waitForApproval?: boolean;
263
+ /** How long to wait for that person. Default 30 minutes. */
264
+ approvalTimeoutMs?: number;
265
+ onPending?: (e: Execution) => void;
266
+ }
267
+ export interface ExecOptions extends ApprovalOptions {
268
+ cwd?: string;
269
+ env?: Record<string, string>;
270
+ /** Default 60 s. Up to 5 minutes for a plain run, up to an hour when output streams. */
271
+ timeoutMs?: number;
272
+ /** Sent to the command's stdin, which is then closed. */
273
+ stdin?: string;
274
+ /** Called with output as it arrives. Either one makes exec() stream. */
275
+ onStdout?: (data: string) => void;
276
+ onStderr?: (data: string) => void;
277
+ }
278
+ export interface SpawnOptions extends ApprovalOptions {
279
+ cwd?: string;
280
+ env?: Record<string, string>;
281
+ /** 0 or left out: runs until it ends or the sandbox stops. */
282
+ timeoutMs?: number;
283
+ /** Written to stdin when it starts. */
284
+ stdin?: string;
285
+ /** Keep stdin open for sendStdin(). An API key's interactive command needs approval when the organization has any approval rule. */
286
+ interactive?: boolean;
287
+ }
288
+ export interface TerminalOptions extends ApprovalOptions {
289
+ cols?: number;
290
+ rows?: number;
291
+ /** Defaults to a login bash (or sh). */
292
+ cmd?: string;
293
+ cwd?: string;
294
+ env?: Record<string, string>;
295
+ }
296
+ export declare class SandboxesError extends Error {
297
+ status: number;
298
+ code: string;
299
+ constructor(status: number, code: string, message: string);
300
+ }
301
+ /** Thrown when a person denies the command. */
302
+ export declare class CommandDeniedError extends SandboxesError {
303
+ execution: Execution;
304
+ constructor(execution: Execution);
305
+ }
306
+ export interface ClientOptions {
307
+ apiKey?: string;
308
+ baseUrl?: string;
309
+ fetch?: typeof fetch;
310
+ }
311
+ export declare class Sandboxes {
312
+ private apiKey;
313
+ private base;
314
+ private f;
315
+ /** @internal */
316
+ previewDomain: string;
317
+ constructor(opts?: ClientOptions);
318
+ /** @internal */
319
+ request<T>(method: string, path: string, body?: unknown, raw?: boolean): Promise<T>;
320
+ /**
321
+ * Keys and tokens a sandbox can use without holding them. Values are
322
+ * write-only: list() shows names and hosts, never values.
323
+ */
324
+ readonly secrets: {
325
+ list: () => Promise<SecretInfo[]>;
326
+ /** Adds a secret, or replaces the value and hosts of one with the same name. */
327
+ set: (name: string, value: string, hosts: string[]) => Promise<SecretInfo>;
328
+ delete: (name: string) => Promise<SecretInfo>;
329
+ };
330
+ /** Folders kept between sandboxes. Attach one with create({ volumes: [{ name, path }] }). */
331
+ readonly volumes: {
332
+ list: () => Promise<VolumeInfo[]>;
333
+ create: (name: string) => Promise<VolumeInfo>;
334
+ get: (id: string) => Promise<VolumeInfo>;
335
+ delete: (id: string) => Promise<VolumeInfo>;
336
+ };
337
+ /** Lifecycle events sent to your own URLs, signed the Standard Webhooks way. Check them with verifyWebhook(). */
338
+ readonly webhooks: {
339
+ list: () => Promise<{
340
+ webhooks: WebhookInfo[];
341
+ events: string[];
342
+ }>;
343
+ /** The answer carries the signing secret, shown this once. events defaults to sandbox.*, approval.* and volume.save_failed. */
344
+ create: (opts: {
345
+ url: string;
346
+ events?: string[];
347
+ description?: string;
348
+ }) => Promise<WebhookInfo>;
349
+ get: (id: string) => Promise<WebhookInfo>;
350
+ update: (id: string, opts: {
351
+ url?: string;
352
+ events?: string[];
353
+ description?: string;
354
+ enabled?: boolean;
355
+ }) => Promise<WebhookInfo>;
356
+ delete: (id: string) => Promise<WebhookInfo>;
357
+ test: (id: string) => Promise<unknown>;
358
+ rotateSecret: (id: string) => Promise<WebhookInfo>;
359
+ deliveries: (id: string) => Promise<unknown>;
360
+ redeliver: (id: string, deliveryId: string) => Promise<unknown>;
361
+ };
362
+ create(opts?: CreateOptions): Promise<Sandbox>;
363
+ /** A sandbox by id, or by name for a durable one. */
364
+ get(id: string): Promise<Sandbox>;
365
+ /** Same as get(): attach to a sandbox started elsewhere. */
366
+ connect(id: string): Promise<Sandbox>;
367
+ list(status?: SandboxInfo["status"]): Promise<SandboxInfo[]>;
368
+ snapshots(): Promise<SnapshotInfo[]>;
369
+ deleteSnapshot(id: string): Promise<SnapshotInfo>;
370
+ reservations(): Promise<Reservation[]>;
371
+ execution(id: string): Promise<Execution>;
372
+ /** This month's usage and limits, or the last `days` days. */
373
+ usage(days?: number): Promise<Record<string, unknown>>;
374
+ audit(opts?: {
375
+ before?: number;
376
+ limit?: number;
377
+ action?: string;
378
+ }): Promise<AuditEvent[]>;
379
+ /** @internal Waits while a command is held for approval (and, for a plain run, until it finishes). */
380
+ settle(e: Execution, opts: ApprovalOptions, until: "approved" | "finished"): Promise<Execution>;
381
+ }
382
+ /**
383
+ * Checks a webhook request's signature (Standard Webhooks: the webhook-id,
384
+ * webhook-timestamp and webhook-signature headers) and returns its parsed
385
+ * body. Throws if the signature is wrong or the timestamp is more than five
386
+ * minutes away. Pass the raw body text, before any JSON parsing.
387
+ */
388
+ export declare function verifyWebhook(secret: string, headers: Record<string, string | string[] | undefined> | Headers, body: string, toleranceSec?: number): Promise<{
389
+ type: string;
390
+ data: Record<string, unknown>;
391
+ [k: string]: unknown;
392
+ }>;
393
+ /**
394
+ * A command started with spawn() or terminal(): running in the background,
395
+ * output read as it arrives.
396
+ */
397
+ export declare class Process implements AsyncIterable<{
398
+ stream: "stdout" | "stderr";
399
+ data: string;
400
+ }> {
401
+ protected client: Sandboxes;
402
+ execution: Execution;
403
+ private out;
404
+ private err;
405
+ /** Bytes lost because they weren't read before the sandbox's buffer filled. */
406
+ missed: number;
407
+ done: boolean;
408
+ exitCode: number | null;
409
+ constructor(client: Sandboxes, execution: Execution);
410
+ get id(): string;
411
+ /** The next output, waiting up to waitMs (max 25 s) for some to arrive. */
412
+ read(waitMs?: number): Promise<OutputChunk>;
413
+ [Symbol.asyncIterator](): AsyncGenerator<{
414
+ stream: "stdout";
415
+ data: string;
416
+ } | {
417
+ stream: "stderr";
418
+ data: string;
419
+ }, void, unknown>;
420
+ /** Waits for the end, passing output along as it arrives. stdout and stderr hold everything read. */
421
+ wait(opts?: {
422
+ onStdout?: (d: string) => void;
423
+ onStderr?: (d: string) => void;
424
+ }): Promise<Execution>;
425
+ /** Sends input. close ends stdin (a terminal gets ^D). */
426
+ sendStdin(data: string, close?: boolean): Promise<void>;
427
+ closeStdin(): Promise<void>;
428
+ /** Stops it and what it started. */
429
+ kill(signal?: "TERM" | "KILL" | "INT" | "HUP" | "QUIT" | "USR1" | "USR2"): Promise<Execution>;
430
+ }
431
+ /** An interactive shell on a pseudo-terminal. Write with sendStdin(), read with read() or for-await. */
432
+ export declare class Terminal extends Process {
433
+ resize(cols: number, rows: number): Promise<void>;
434
+ }
435
+ export declare class Sandbox {
436
+ private client;
437
+ info: SandboxInfo;
438
+ private kernelReady;
439
+ constructor(client: Sandboxes, info: SandboxInfo);
440
+ get id(): string;
441
+ private path;
442
+ refresh(): Promise<SandboxInfo>;
443
+ /**
444
+ * Runs a shell command and waits for it. If a policy rule holds it for
445
+ * approval, waits until a person decides (unless waitForApproval is false).
446
+ * Throws CommandDeniedError if they deny it. With onStdout or onStderr, or a
447
+ * timeout over 5 minutes, output streams back while it runs.
448
+ */
449
+ exec(cmd: string, opts?: ExecOptions): Promise<Execution>;
450
+ /**
451
+ * Starts a command in the background and returns at once. Read its output
452
+ * with for-await, read() or wait(); write to it with sendStdin() when
453
+ * started with interactive: true.
454
+ */
455
+ spawn(cmd: string, opts?: SpawnOptions): Promise<Process>;
456
+ /** Opens an interactive shell on a pseudo-terminal. */
457
+ terminal(opts?: TerminalOptions): Promise<Terminal>;
458
+ /** A command started earlier with spawn() or terminal(), by its execution id. */
459
+ process(executionId: string): Promise<Process>;
460
+ /**
461
+ * Runs Python in a kernel that keeps its variables between calls, like a
462
+ * notebook. The code is part of the command, so policy rules and the audit
463
+ * log see every cell. Returns printed output, the last expression's value
464
+ * and any matplotlib figures as PNG.
465
+ */
466
+ runCode(code: string, opts?: ExecOptions): Promise<CodeRun>;
467
+ /** Starts a fresh kernel for runCode(): variables are cleared. */
468
+ restartCode(): Promise<void>;
469
+ readonly files: {
470
+ read: (path: string) => Promise<Uint8Array<ArrayBufferLike>>;
471
+ readText: (path: string) => Promise<string>;
472
+ write: (path: string, data: string | Uint8Array | ArrayBuffer) => Promise<{
473
+ path: string;
474
+ bytes: number;
475
+ }>;
476
+ remove: (path: string) => Promise<{
477
+ path: string;
478
+ }>;
479
+ list: (path?: string) => Promise<{
480
+ path: string;
481
+ entries: {
482
+ name: string;
483
+ path: string;
484
+ type: string;
485
+ size: number;
486
+ modified: string;
487
+ }[];
488
+ }>;
489
+ };
490
+ /**
491
+ * Preview URLs for web servers in the sandbox: https://<port>-<id>.quietrobot.dev.
492
+ * Private ports need the token or the share link; public ones are open to anyone.
493
+ */
494
+ readonly ports: {
495
+ list: () => Promise<PortInfo[]>;
496
+ /** Replaces the exposed ports. rotate: true revokes every private link shared before. */
497
+ set: (ports: {
498
+ port: number;
499
+ access?: "private" | "public";
500
+ }[], opts?: {
501
+ rotate?: boolean;
502
+ }) => Promise<PortInfo[]>;
503
+ /** Exposes one port (keeping the others) and returns its URL. */
504
+ expose: (port: number, access?: "private" | "public") => Promise<PortInfo>;
505
+ /** Stops exposing one port. */
506
+ close: (port: number) => Promise<PortInfo[]>;
507
+ };
508
+ /** The preview host for a port (no scheme), whether or not it is exposed yet. */
509
+ host(port: number): string;
510
+ /**
511
+ * Freezes the sandbox. Memory, files and running processes are kept, and
512
+ * paused time isn't billed. Fails with 409 paused_storage_full when the
513
+ * organization's paused sandboxes already hold the disk its plan allows.
514
+ */
515
+ pause(): Promise<SandboxInfo>;
516
+ /** Resumes a paused sandbox with the session time it had left. */
517
+ resume(): Promise<SandboxInfo>;
518
+ /**
519
+ * Saves a copy of the sandbox's files (its home folder, including packages
520
+ * installed there). The sandbox keeps running. Start new sandboxes from it
521
+ * with create({ snapshotId }).
522
+ */
523
+ snapshot(name?: string): Promise<SnapshotInfo>;
524
+ /**
525
+ * Snapshots this sandbox (or uses snapshotId) and starts up to 10 copies of it.
526
+ * cpuClass, cpus and memoryMb give the copies a different size: this is how a
527
+ * sandbox is resized (fork, then destroy the original). egress replaces the
528
+ * network rules, for example wider than a locked original allows.
529
+ */
530
+ fork(opts?: {
531
+ count?: number;
532
+ snapshotId?: string;
533
+ name?: string;
534
+ env?: Record<string, string>;
535
+ timeoutSec?: number;
536
+ cpuClass?: CreateOptions["cpuClass"];
537
+ cpus?: CreateOptions["cpus"];
538
+ memoryMb?: number;
539
+ egress?: CreateOptions["egress"];
540
+ }): Promise<{
541
+ snapshot: SnapshotInfo;
542
+ sandboxes: Sandbox[];
543
+ errors: unknown[];
544
+ }>;
545
+ /** Puts the files back as they were in a snapshot (the latest one by default). saveCurrent keeps a snapshot of now first. */
546
+ rewind(opts?: {
547
+ snapshotId?: string;
548
+ saveCurrent?: boolean;
549
+ }): Promise<{
550
+ sandbox: SandboxInfo;
551
+ savedSnapshot: SnapshotInfo | null;
552
+ }>;
553
+ /**
554
+ * Changes the network rules while the sandbox runs. Fields left out keep their value.
555
+ * Can widen up to the sandbox's maxMode; past it (a locked sandbox), 409 egress_too_wide: fork it with the new egress.
556
+ */
557
+ setEgress(egress: {
558
+ mode?: EgressMode;
559
+ allow?: string[];
560
+ deny?: string[];
561
+ }): Promise<SandboxInfo>;
562
+ /** Resets the deadline to now + timeoutSec. */
563
+ setTimeout(timeoutSec: number): Promise<SandboxInfo>;
564
+ /** CPU, memory, disk, runtime, storage and egress, with readings over the last `hours` (default 24, up to 168). */
565
+ metrics(hours?: number): Promise<Record<string, unknown>>;
566
+ /** Saves the attached volumes now (they're also saved on pause, stop and near the deadline). */
567
+ syncVolumes(): Promise<VolumeInfo[]>;
568
+ executions(): Promise<Execution[]>;
569
+ audit(): Promise<AuditEvent[]>;
570
+ destroy(): Promise<SandboxInfo>;
571
+ }