@beachside/upstash-box 0.0.0-stage → 0.19.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,7 @@
1
+ import { type AdapterSession } from "@beachside/adapter";
2
+ type ProcessFactory = {
3
+ processes: NonNullable<AdapterSession["processes"]>;
4
+ close: () => void;
5
+ };
6
+ export declare function createProcesses(origin: string, apiKey: string): ProcessFactory;
7
+ export {};
@@ -0,0 +1,14 @@
1
+ import { type AdapterSession, type ReadContext, type Sandbox, type SandboxInfo } from "@beachside/adapter";
2
+ import { type Transport } from "./transport.js";
3
+ type RegularHooks = Pick<AdapterSession, "preview" | "suspend" | "resume" | "suspensionCapabilities" | "resumeCapabilities">;
4
+ export declare function regularHooks(options: {
5
+ transport: Transport;
6
+ identify: (box: Sandbox) => string;
7
+ inspect: (box: Sandbox, ctx: ReadContext) => Promise<{
8
+ info: SandboxInfo;
9
+ keepAlive: boolean;
10
+ }>;
11
+ keepAlive: boolean;
12
+ access: "public" | "protected";
13
+ }): RegularHooks;
14
+ export {};
@@ -0,0 +1,543 @@
1
+ import { type ReadContext, type ResourceReference, type RestoreCapabilities, type Sandbox, type SandboxState, type Scope, type Support } from "@beachside/adapter";
2
+ import { z } from "zod";
3
+ import { type Transport } from "./transport.js";
4
+ declare const SourceClass: z.ZodEnum<{
5
+ ephemeral: "ephemeral";
6
+ regular: "regular";
7
+ }>;
8
+ type SnapshotHooksOptions = {
9
+ transport: Transport;
10
+ scope: Scope;
11
+ boxKind: z.infer<typeof SourceClass>;
12
+ readSandbox(sandbox: Sandbox, ctx: ReadContext): Promise<{
13
+ id: string;
14
+ state: SandboxState;
15
+ }>;
16
+ restoreCapabilities: Support<RestoreCapabilities>;
17
+ };
18
+ export declare function snapshotHooks(options: SnapshotHooksOptions): {
19
+ snapshotProfiles: () => Promise<{
20
+ status: "supported";
21
+ value: {
22
+ profiles: {
23
+ id: string;
24
+ preserve: "filesystem" | "filesystem+memory";
25
+ sourceStates: ("unknown" | "creating" | "running" | "stopped" | "suspended" | "restoring" | "destroying" | "destroyed")[];
26
+ interruption: "terminate" | "none" | "stop" | "pause";
27
+ sourceAfter: "stopped" | "destroyed" | "unchanged";
28
+ connections: "unknown" | "preserved" | "dropped";
29
+ consistency: "unknown" | "caller-quiesced" | "crash-consistent";
30
+ restoreExecution: "fresh" | "resume";
31
+ mountHandling: "unknown" | "none" | "excluded";
32
+ minimumRetentionSeconds?: number | undefined;
33
+ }[];
34
+ defaultProfileId: string;
35
+ };
36
+ }>;
37
+ resourceCapabilities: () => Promise<{
38
+ restore: Support<{
39
+ networkPolicies: string[];
40
+ resources: boolean;
41
+ mounts: boolean;
42
+ independentLifecycle: boolean;
43
+ options?: {
44
+ env?: boolean | undefined;
45
+ labels?: boolean | undefined;
46
+ lifetime?: {
47
+ minSeconds: number;
48
+ maxSeconds: number;
49
+ } | undefined;
50
+ } | undefined;
51
+ }>;
52
+ volumes: {
53
+ status: "unsupported";
54
+ reason: string;
55
+ };
56
+ mounts: {
57
+ status: "unsupported";
58
+ reason: string;
59
+ };
60
+ }>;
61
+ snapshotCapture: {
62
+ recovery: {
63
+ version: number;
64
+ token: z.ZodObject<{
65
+ sourceId: z.ZodString;
66
+ sourceClass: z.ZodEnum<{
67
+ ephemeral: "ephemeral";
68
+ regular: "regular";
69
+ }>;
70
+ consistency: z.ZodEnum<{
71
+ unknown: "unknown";
72
+ "caller-quiesced": "caller-quiesced";
73
+ }>;
74
+ id: z.ZodOptional<z.ZodString>;
75
+ name: z.ZodString;
76
+ sourceState: z.ZodEnum<{
77
+ running: "running";
78
+ stopped: "stopped";
79
+ }>;
80
+ }, z.core.$strict>;
81
+ };
82
+ prepare(input: {
83
+ sandbox: {
84
+ id: string;
85
+ reference?: {
86
+ version: 1;
87
+ provider: string;
88
+ scope: {
89
+ authority: {
90
+ kind: string;
91
+ id: string;
92
+ };
93
+ partition: Record<string, string>;
94
+ };
95
+ nativeId: string;
96
+ ownership: "unknown" | "borrowed" | "verified-created";
97
+ kind: "sandbox";
98
+ generation?: string | undefined;
99
+ history?: z.core.util.JSONType | undefined;
100
+ receipt?: string | undefined;
101
+ } | undefined;
102
+ };
103
+ request: {
104
+ requirements?: {
105
+ preserve?: "filesystem" | "filesystem+memory" | undefined;
106
+ maxInterruption?: "terminate" | "none" | "stop" | "pause" | undefined;
107
+ sourceAfter?: "stopped" | "destroyed" | "unchanged" | undefined;
108
+ consistency?: "caller-quiesced" | "crash-consistent" | undefined;
109
+ } | undefined;
110
+ labels?: Record<string, string> | undefined;
111
+ consistency?: "caller-quiesced" | undefined;
112
+ retention?: {
113
+ minimumSeconds?: number | undefined;
114
+ cleanupAfterSeconds?: number | undefined;
115
+ } | undefined;
116
+ };
117
+ expectation?: {
118
+ profile: {
119
+ id: string;
120
+ preserve: "filesystem" | "filesystem+memory";
121
+ sourceStates: ("unknown" | "creating" | "running" | "stopped" | "suspended" | "restoring" | "destroying" | "destroyed")[];
122
+ interruption: "terminate" | "none" | "stop" | "pause";
123
+ sourceAfter: "stopped" | "destroyed" | "unchanged";
124
+ connections: "unknown" | "preserved" | "dropped";
125
+ consistency: "unknown" | "caller-quiesced" | "crash-consistent";
126
+ restoreExecution: "fresh" | "resume";
127
+ mountHandling: "unknown" | "none" | "excluded";
128
+ minimumRetentionSeconds?: number | undefined;
129
+ };
130
+ sourceState: "unknown" | "creating" | "running" | "stopped" | "suspended" | "restoring" | "destroying" | "destroyed";
131
+ } | undefined;
132
+ }, ctx: ReadContext): Promise<{
133
+ expectation: {
134
+ profile: {
135
+ id: string;
136
+ preserve: "filesystem" | "filesystem+memory";
137
+ sourceStates: ("unknown" | "creating" | "running" | "stopped" | "suspended" | "restoring" | "destroying" | "destroyed")[];
138
+ interruption: "terminate" | "none" | "stop" | "pause";
139
+ sourceAfter: "stopped" | "destroyed" | "unchanged";
140
+ connections: "unknown" | "preserved" | "dropped";
141
+ consistency: "unknown" | "caller-quiesced" | "crash-consistent";
142
+ restoreExecution: "fresh" | "resume";
143
+ mountHandling: "unknown" | "none" | "excluded";
144
+ minimumRetentionSeconds?: number | undefined;
145
+ };
146
+ sourceState: "unknown" | "creating" | "running" | "stopped" | "suspended" | "restoring" | "destroying" | "destroyed";
147
+ };
148
+ sandbox: {
149
+ id: string;
150
+ reference?: {
151
+ version: 1;
152
+ provider: string;
153
+ scope: {
154
+ authority: {
155
+ kind: string;
156
+ id: string;
157
+ };
158
+ partition: Record<string, string>;
159
+ };
160
+ nativeId: string;
161
+ ownership: "unknown" | "borrowed" | "verified-created";
162
+ kind: "sandbox";
163
+ generation?: string | undefined;
164
+ history?: z.core.util.JSONType | undefined;
165
+ receipt?: string | undefined;
166
+ } | undefined;
167
+ };
168
+ request: {
169
+ requirements?: {
170
+ preserve?: "filesystem" | "filesystem+memory" | undefined;
171
+ maxInterruption?: "terminate" | "none" | "stop" | "pause" | undefined;
172
+ sourceAfter?: "stopped" | "destroyed" | "unchanged" | undefined;
173
+ consistency?: "caller-quiesced" | "crash-consistent" | undefined;
174
+ } | undefined;
175
+ labels?: Record<string, string> | undefined;
176
+ consistency?: "caller-quiesced" | undefined;
177
+ retention?: {
178
+ minimumSeconds?: number | undefined;
179
+ cleanupAfterSeconds?: number | undefined;
180
+ } | undefined;
181
+ };
182
+ }>;
183
+ submit(input: {
184
+ sandbox: {
185
+ id: string;
186
+ reference?: {
187
+ version: 1;
188
+ provider: string;
189
+ scope: {
190
+ authority: {
191
+ kind: string;
192
+ id: string;
193
+ };
194
+ partition: Record<string, string>;
195
+ };
196
+ nativeId: string;
197
+ ownership: "unknown" | "borrowed" | "verified-created";
198
+ kind: "sandbox";
199
+ generation?: string | undefined;
200
+ history?: z.core.util.JSONType | undefined;
201
+ receipt?: string | undefined;
202
+ } | undefined;
203
+ };
204
+ request: {
205
+ requirements?: {
206
+ preserve?: "filesystem" | "filesystem+memory" | undefined;
207
+ maxInterruption?: "terminate" | "none" | "stop" | "pause" | undefined;
208
+ sourceAfter?: "stopped" | "destroyed" | "unchanged" | undefined;
209
+ consistency?: "caller-quiesced" | "crash-consistent" | undefined;
210
+ } | undefined;
211
+ labels?: Record<string, string> | undefined;
212
+ consistency?: "caller-quiesced" | undefined;
213
+ retention?: {
214
+ minimumSeconds?: number | undefined;
215
+ cleanupAfterSeconds?: number | undefined;
216
+ } | undefined;
217
+ };
218
+ expectation?: {
219
+ profile: {
220
+ id: string;
221
+ preserve: "filesystem" | "filesystem+memory";
222
+ sourceStates: ("unknown" | "creating" | "running" | "stopped" | "suspended" | "restoring" | "destroying" | "destroyed")[];
223
+ interruption: "terminate" | "none" | "stop" | "pause";
224
+ sourceAfter: "stopped" | "destroyed" | "unchanged";
225
+ connections: "unknown" | "preserved" | "dropped";
226
+ consistency: "unknown" | "caller-quiesced" | "crash-consistent";
227
+ restoreExecution: "fresh" | "resume";
228
+ mountHandling: "unknown" | "none" | "excluded";
229
+ minimumRetentionSeconds?: number | undefined;
230
+ };
231
+ sourceState: "unknown" | "creating" | "running" | "stopped" | "suspended" | "restoring" | "destroying" | "destroyed";
232
+ } | undefined;
233
+ }, ctx: import("@beachside/adapter").AttemptContext<import("@beachside/adapter").Json>): Promise<import("@beachside/adapter").Rejected | import("@beachside/adapter").Unknown | {
234
+ snapshot: {
235
+ reference: {
236
+ version: 1;
237
+ kind: "sandbox" | "snapshot" | "image" | "volume" | "volume-version" | "mount" | "session";
238
+ provider: string;
239
+ scope: {
240
+ authority: {
241
+ kind: string;
242
+ id: string;
243
+ };
244
+ partition: Record<string, string>;
245
+ };
246
+ nativeId: string;
247
+ ownership: "unknown" | "borrowed" | "verified-created";
248
+ generation?: string | undefined;
249
+ history?: z.core.util.JSONType | undefined;
250
+ receipt?: string | undefined;
251
+ };
252
+ preserve: "filesystem" | "filesystem+memory" | null;
253
+ restoreExecution: "fresh" | "resume" | null;
254
+ consistency: "unknown" | "caller-quiesced" | "crash-consistent";
255
+ source: {
256
+ id: string;
257
+ class: string;
258
+ } | null;
259
+ state: "unknown" | "creating" | "ready" | "deleting";
260
+ createdAt: string | null;
261
+ expiration: "unknown";
262
+ excludedPaths: string[] | null;
263
+ mounts: {
264
+ volume: {
265
+ version: 1;
266
+ kind: "sandbox" | "snapshot" | "image" | "volume" | "volume-version" | "mount" | "session";
267
+ provider: string;
268
+ scope: {
269
+ authority: {
270
+ kind: string;
271
+ id: string;
272
+ };
273
+ partition: Record<string, string>;
274
+ };
275
+ nativeId: string;
276
+ ownership: "unknown" | "borrowed" | "verified-created";
277
+ generation?: string | undefined;
278
+ history?: z.core.util.JSONType | undefined;
279
+ receipt?: string | undefined;
280
+ };
281
+ path: string;
282
+ access: "read-write" | "read-only";
283
+ subpath?: string | undefined;
284
+ }[];
285
+ mountHandling: "unknown" | "none" | "excluded";
286
+ restore: {
287
+ networkPolicies: string[];
288
+ resources: boolean;
289
+ mounts: boolean;
290
+ independentLifecycle: boolean;
291
+ };
292
+ dependencies: {
293
+ version: 1;
294
+ kind: "sandbox" | "snapshot" | "image" | "volume" | "volume-version" | "mount" | "session";
295
+ provider: string;
296
+ scope: {
297
+ authority: {
298
+ kind: string;
299
+ id: string;
300
+ };
301
+ partition: Record<string, string>;
302
+ };
303
+ nativeId: string;
304
+ ownership: "unknown" | "borrowed" | "verified-created";
305
+ generation?: string | undefined;
306
+ history?: z.core.util.JSONType | undefined;
307
+ receipt?: string | undefined;
308
+ }[];
309
+ nativeDependencies: {
310
+ kind: string;
311
+ id: string;
312
+ }[] | null;
313
+ labels?: Record<string, string> | null | undefined;
314
+ };
315
+ capture: {
316
+ preserve: "filesystem" | "filesystem+memory";
317
+ interruption: "terminate" | "none" | "stop" | "pause";
318
+ restoreExecution: "fresh" | "resume";
319
+ };
320
+ source: {
321
+ state: "unknown" | "creating" | "running" | "stopped" | "suspended" | "restoring" | "destroying" | "destroyed";
322
+ connections: "unknown";
323
+ observedAt: string;
324
+ };
325
+ retainedResources: {
326
+ version: 1;
327
+ kind: "sandbox" | "snapshot" | "image" | "volume" | "volume-version" | "mount" | "session";
328
+ provider: string;
329
+ scope: {
330
+ authority: {
331
+ kind: string;
332
+ id: string;
333
+ };
334
+ partition: Record<string, string>;
335
+ };
336
+ nativeId: string;
337
+ ownership: "unknown" | "borrowed" | "verified-created";
338
+ generation?: string | undefined;
339
+ history?: z.core.util.JSONType | undefined;
340
+ receipt?: string | undefined;
341
+ }[];
342
+ } | import("@beachside/adapter").Pending>;
343
+ observe(attempt: import("@beachside/adapter").RecoveryAttempt<import("@beachside/adapter").Json, Sandbox | undefined>, ctx: import("@beachside/adapter").ObserveContext<import("@beachside/adapter").Json>): Promise<import("@beachside/adapter").Unknown | {
344
+ snapshot: {
345
+ reference: {
346
+ version: 1;
347
+ kind: "sandbox" | "snapshot" | "image" | "volume" | "volume-version" | "mount" | "session";
348
+ provider: string;
349
+ scope: {
350
+ authority: {
351
+ kind: string;
352
+ id: string;
353
+ };
354
+ partition: Record<string, string>;
355
+ };
356
+ nativeId: string;
357
+ ownership: "unknown" | "borrowed" | "verified-created";
358
+ generation?: string | undefined;
359
+ history?: z.core.util.JSONType | undefined;
360
+ receipt?: string | undefined;
361
+ };
362
+ preserve: "filesystem" | "filesystem+memory" | null;
363
+ restoreExecution: "fresh" | "resume" | null;
364
+ consistency: "unknown" | "caller-quiesced" | "crash-consistent";
365
+ source: {
366
+ id: string;
367
+ class: string;
368
+ } | null;
369
+ state: "unknown" | "creating" | "ready" | "deleting";
370
+ createdAt: string | null;
371
+ expiration: "unknown";
372
+ excludedPaths: string[] | null;
373
+ mounts: {
374
+ volume: {
375
+ version: 1;
376
+ kind: "sandbox" | "snapshot" | "image" | "volume" | "volume-version" | "mount" | "session";
377
+ provider: string;
378
+ scope: {
379
+ authority: {
380
+ kind: string;
381
+ id: string;
382
+ };
383
+ partition: Record<string, string>;
384
+ };
385
+ nativeId: string;
386
+ ownership: "unknown" | "borrowed" | "verified-created";
387
+ generation?: string | undefined;
388
+ history?: z.core.util.JSONType | undefined;
389
+ receipt?: string | undefined;
390
+ };
391
+ path: string;
392
+ access: "read-write" | "read-only";
393
+ subpath?: string | undefined;
394
+ }[];
395
+ mountHandling: "unknown" | "none" | "excluded";
396
+ restore: {
397
+ networkPolicies: string[];
398
+ resources: boolean;
399
+ mounts: boolean;
400
+ independentLifecycle: boolean;
401
+ };
402
+ dependencies: {
403
+ version: 1;
404
+ kind: "sandbox" | "snapshot" | "image" | "volume" | "volume-version" | "mount" | "session";
405
+ provider: string;
406
+ scope: {
407
+ authority: {
408
+ kind: string;
409
+ id: string;
410
+ };
411
+ partition: Record<string, string>;
412
+ };
413
+ nativeId: string;
414
+ ownership: "unknown" | "borrowed" | "verified-created";
415
+ generation?: string | undefined;
416
+ history?: z.core.util.JSONType | undefined;
417
+ receipt?: string | undefined;
418
+ }[];
419
+ nativeDependencies: {
420
+ kind: string;
421
+ id: string;
422
+ }[] | null;
423
+ labels?: Record<string, string> | null | undefined;
424
+ };
425
+ capture: {
426
+ preserve: "filesystem" | "filesystem+memory";
427
+ interruption: "terminate" | "none" | "stop" | "pause";
428
+ restoreExecution: "fresh" | "resume";
429
+ };
430
+ source: {
431
+ state: "unknown" | "creating" | "running" | "stopped" | "suspended" | "restoring" | "destroying" | "destroyed";
432
+ connections: "unknown";
433
+ observedAt: string;
434
+ };
435
+ retainedResources: {
436
+ version: 1;
437
+ kind: "sandbox" | "snapshot" | "image" | "volume" | "volume-version" | "mount" | "session";
438
+ provider: string;
439
+ scope: {
440
+ authority: {
441
+ kind: string;
442
+ id: string;
443
+ };
444
+ partition: Record<string, string>;
445
+ };
446
+ nativeId: string;
447
+ ownership: "unknown" | "borrowed" | "verified-created";
448
+ generation?: string | undefined;
449
+ history?: z.core.util.JSONType | undefined;
450
+ receipt?: string | undefined;
451
+ }[];
452
+ } | import("@beachside/adapter").Pending | null>;
453
+ };
454
+ snapshotInspect(reference: ResourceReference, ctx: ReadContext): Promise<{
455
+ reference: {
456
+ version: 1;
457
+ kind: "sandbox" | "snapshot" | "image" | "volume" | "volume-version" | "mount" | "session";
458
+ provider: string;
459
+ scope: {
460
+ authority: {
461
+ kind: string;
462
+ id: string;
463
+ };
464
+ partition: Record<string, string>;
465
+ };
466
+ nativeId: string;
467
+ ownership: "unknown" | "borrowed" | "verified-created";
468
+ generation?: string | undefined;
469
+ history?: z.core.util.JSONType | undefined;
470
+ receipt?: string | undefined;
471
+ };
472
+ preserve: "filesystem" | "filesystem+memory" | null;
473
+ restoreExecution: "fresh" | "resume" | null;
474
+ consistency: "unknown" | "caller-quiesced" | "crash-consistent";
475
+ source: {
476
+ id: string;
477
+ class: string;
478
+ } | null;
479
+ state: "unknown" | "creating" | "ready" | "deleting";
480
+ createdAt: string | null;
481
+ expiration: "unknown";
482
+ excludedPaths: string[] | null;
483
+ mounts: {
484
+ volume: {
485
+ version: 1;
486
+ kind: "sandbox" | "snapshot" | "image" | "volume" | "volume-version" | "mount" | "session";
487
+ provider: string;
488
+ scope: {
489
+ authority: {
490
+ kind: string;
491
+ id: string;
492
+ };
493
+ partition: Record<string, string>;
494
+ };
495
+ nativeId: string;
496
+ ownership: "unknown" | "borrowed" | "verified-created";
497
+ generation?: string | undefined;
498
+ history?: z.core.util.JSONType | undefined;
499
+ receipt?: string | undefined;
500
+ };
501
+ path: string;
502
+ access: "read-write" | "read-only";
503
+ subpath?: string | undefined;
504
+ }[];
505
+ mountHandling: "unknown" | "none" | "excluded";
506
+ restore: {
507
+ networkPolicies: string[];
508
+ resources: boolean;
509
+ mounts: boolean;
510
+ independentLifecycle: boolean;
511
+ };
512
+ dependencies: {
513
+ version: 1;
514
+ kind: "sandbox" | "snapshot" | "image" | "volume" | "volume-version" | "mount" | "session";
515
+ provider: string;
516
+ scope: {
517
+ authority: {
518
+ kind: string;
519
+ id: string;
520
+ };
521
+ partition: Record<string, string>;
522
+ };
523
+ nativeId: string;
524
+ ownership: "unknown" | "borrowed" | "verified-created";
525
+ generation?: string | undefined;
526
+ history?: z.core.util.JSONType | undefined;
527
+ receipt?: string | undefined;
528
+ }[];
529
+ nativeDependencies: {
530
+ kind: string;
531
+ id: string;
532
+ }[] | null;
533
+ labels?: Record<string, string> | null | undefined;
534
+ }>;
535
+ snapshotDelete: {
536
+ prepare(reference: ResourceReference): Promise<ResourceReference>;
537
+ submit(reference: ResourceReference, ctx: import("@beachside/adapter").AttemptContext<import("@beachside/adapter").Json>): Promise<import("@beachside/adapter").Rejected | import("@beachside/adapter").Unknown | {
538
+ deleted: true;
539
+ reference: ResourceReference;
540
+ }>;
541
+ };
542
+ };
543
+ export {};
@@ -0,0 +1,15 @@
1
+ import { AdapterError, type AdapterErrorCode, type Json } from "@beachside/adapter";
2
+ export declare const ORIGIN = "https://us-east-1.box.upstash.com";
3
+ export declare const RANGE_BYTES: number;
4
+ export declare function nativeCode(status: number): AdapterErrorCode;
5
+ export declare class BoxHttpError extends AdapterError {
6
+ readonly status: number;
7
+ constructor(status: number);
8
+ }
9
+ export declare function definitiveRefusal(error: unknown): error is BoxHttpError;
10
+ export declare function decodeBytes(value: string, max: number): Buffer;
11
+ export declare function createTransport(origin: string, apiKey: string, fetcher: typeof fetch): {
12
+ json: (path: string, signal: AbortSignal, method?: string, body?: Record<string, Json>) => Promise<unknown>;
13
+ empty: (path: string, signal: AbortSignal, method: string, body?: Record<string, Json>) => Promise<void>;
14
+ };
15
+ export type Transport = ReturnType<typeof createTransport>;
package/package.json CHANGED
@@ -1,6 +1,47 @@
1
1
  {
2
2
  "name": "@beachside/upstash-box",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.19.0",
4
+ "private": false,
5
+ "files": [
6
+ "dist",
7
+ "README.md",
8
+ "LICENSE"
9
+ ],
10
+ "type": "module",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js"
15
+ }
16
+ },
17
+ "scripts": {
18
+ "check": "tsc -p tsconfig.json",
19
+ "build": "rm -rf dist && bun build src/index.ts --target node --format esm --outdir dist --external @beachside/adapter --external ws --external zod && tsc -p tsconfig.build.json --noEmit false --declaration --emitDeclarationOnly --outDir dist && bun ../../../scripts/rewrite-declarations.mjs"
20
+ },
21
+ "dependencies": {
22
+ "@beachside/adapter": "0.19.0",
23
+ "ws": "8.23.0",
24
+ "zod": "4.6.6"
25
+ },
26
+ "devDependencies": {
27
+ "beachside": "0.19.0",
28
+ "@types/ws": "8.18.1"
29
+ },
30
+ "license": "Apache-2.0",
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git+https://github.com/beachside-compute/beachside.git",
34
+ "directory": "packages/providers/upstash-box"
35
+ },
36
+ "description": "Upstash Box sandbox provider adapter for Beachside.",
37
+ "bugs": {
38
+ "url": "https://github.com/beachside-compute/beachside/issues"
39
+ },
40
+ "publishConfig": {
41
+ "access": "public"
42
+ },
43
+ "types": "./dist/index.d.ts",
44
+ "engines": {
45
+ "node": ">=20"
46
+ }
47
+ }