sandcovery 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -3
- package/dist/{Schema-C4ay0Aif.mjs → Schema-DiSfJzMf.mjs} +80 -4
- package/dist/cli/index.mjs +7 -7
- package/dist/{handlers-BxhSLDGk.mjs → handlers-rkx0CsMY.mjs} +277 -35
- package/dist/index.d.mts +9 -1
- package/dist/index.mjs +1 -1
- package/dist/{origin-Dj-n4EQa.mjs → origin-CIA-1Jia.mjs} +68 -11
- package/dist/posthog-project-BpOd2VxW.mjs +1 -0
- package/dist/{posthog-project-Bb0IFKUv.mjs → posthog-project-CdWw_ofg.mjs} +3 -1
- package/dist/{spec-ClAX0dAN.mjs → spec-DfgmzDj-.mjs} +177 -30
- package/dist/{src-D3WZodpF.mjs → src-YrynO3hz.mjs} +304 -77
- package/dist/{telemetry-delivery-1a7C-8DK.mjs → telemetry-delivery-zinKRHRc.mjs} +1 -1
- package/dist/{types-Dxh7amZB.d.mts → types-DMB8KnA3.d.mts} +202 -2
- package/dist/types.d.mts +2 -2
- package/dist/types.mjs +18 -2
- package/package.json +4 -4
- package/dist/posthog-project-B0jmQTwy.mjs +0 -1
|
@@ -14,6 +14,45 @@ interface ActivityList {
|
|
|
14
14
|
readonly data: readonly ActivityEvent[];
|
|
15
15
|
readonly next_cursor: string | null;
|
|
16
16
|
}
|
|
17
|
+
interface Billing {
|
|
18
|
+
readonly credit_balance_micro_usd: number;
|
|
19
|
+
readonly plan: Plan;
|
|
20
|
+
readonly pro_price: ProPrice | null;
|
|
21
|
+
}
|
|
22
|
+
interface CatalogBenchmarkTerms {
|
|
23
|
+
readonly detail: string | null;
|
|
24
|
+
readonly source_url: string | null;
|
|
25
|
+
readonly value: "barred" | "conditional" | "no_bar_found";
|
|
26
|
+
}
|
|
27
|
+
interface CatalogFlag {
|
|
28
|
+
readonly detail: string | null;
|
|
29
|
+
readonly source_url: string | null;
|
|
30
|
+
readonly value: boolean;
|
|
31
|
+
}
|
|
32
|
+
interface CatalogGpus {
|
|
33
|
+
readonly detail: string | null;
|
|
34
|
+
readonly source_url: string | null;
|
|
35
|
+
readonly value: readonly {
|
|
36
|
+
readonly hourly_micro_usd: number | null;
|
|
37
|
+
readonly name: string;
|
|
38
|
+
}[];
|
|
39
|
+
}
|
|
40
|
+
interface CatalogLimit {
|
|
41
|
+
readonly detail: string | null;
|
|
42
|
+
readonly source_url: string | null;
|
|
43
|
+
readonly value: number | null;
|
|
44
|
+
}
|
|
45
|
+
interface CatalogList {
|
|
46
|
+
readonly detail: string | null;
|
|
47
|
+
readonly source_url: string | null;
|
|
48
|
+
readonly value: readonly string[];
|
|
49
|
+
}
|
|
50
|
+
type CatalogMeasurement = "measured" | "not_measured" | "not_published";
|
|
51
|
+
interface CatalogText {
|
|
52
|
+
readonly detail: string | null;
|
|
53
|
+
readonly source_url: string | null;
|
|
54
|
+
readonly value: string;
|
|
55
|
+
}
|
|
17
56
|
interface ConcurrencyLimitReachedError {
|
|
18
57
|
readonly concurrency_cap: number;
|
|
19
58
|
readonly error: "concurrency_limit_reached";
|
|
@@ -50,6 +89,7 @@ interface CreateSandboxRequest {
|
|
|
50
89
|
readonly disk_mib?: number;
|
|
51
90
|
readonly egress?: EgressPolicy;
|
|
52
91
|
readonly env?: Readonly<Record<string, string>>;
|
|
92
|
+
readonly gpu?: Gpu;
|
|
53
93
|
readonly idle_timeout_seconds?: number;
|
|
54
94
|
readonly image?: string;
|
|
55
95
|
readonly memory_mib?: number;
|
|
@@ -67,6 +107,20 @@ interface CredentialField {
|
|
|
67
107
|
readonly secret: boolean;
|
|
68
108
|
}
|
|
69
109
|
type CredentialFields = Readonly<Record<string, string>>;
|
|
110
|
+
interface CreditCheckout {
|
|
111
|
+
readonly url: string;
|
|
112
|
+
}
|
|
113
|
+
interface CreditPurchaseRequest {
|
|
114
|
+
readonly amount_micro_usd: number;
|
|
115
|
+
}
|
|
116
|
+
interface DetachedExec {
|
|
117
|
+
readonly started_at: string;
|
|
118
|
+
}
|
|
119
|
+
interface DetachedExecRequest {
|
|
120
|
+
readonly command: string;
|
|
121
|
+
readonly cwd?: string;
|
|
122
|
+
readonly env?: Readonly<Record<string, string>>;
|
|
123
|
+
}
|
|
70
124
|
declare const EGRESS_MODES: readonly ["allow_all", "allowlist", "deny_all"];
|
|
71
125
|
type EgressMode = (typeof EGRESS_MODES)[number] | (string & Record<never, never>);
|
|
72
126
|
type EgressPolicy = {
|
|
@@ -90,6 +144,7 @@ interface EstimateRequest {
|
|
|
90
144
|
readonly disk_mib?: number;
|
|
91
145
|
readonly egress?: EgressPolicy;
|
|
92
146
|
readonly env?: Readonly<Record<string, string>>;
|
|
147
|
+
readonly gpu?: Gpu;
|
|
93
148
|
readonly idle_timeout_seconds?: number;
|
|
94
149
|
readonly image?: string;
|
|
95
150
|
readonly memory_mib?: number;
|
|
@@ -143,9 +198,16 @@ interface ForbiddenError {
|
|
|
143
198
|
readonly error: "forbidden";
|
|
144
199
|
readonly message: string;
|
|
145
200
|
}
|
|
201
|
+
interface Gpu {
|
|
202
|
+
readonly count: number;
|
|
203
|
+
readonly type: GpuType;
|
|
204
|
+
}
|
|
205
|
+
declare const GPU_TYPES: readonly ["b200", "b300", "h100", "h200", "mi355x", "rtx-4090", "rtx-5090", "rtx-pro-6000"];
|
|
206
|
+
type GpuType = (typeof GPU_TYPES)[number] | (string & Record<never, never>);
|
|
146
207
|
interface Health {
|
|
147
208
|
readonly ok: true;
|
|
148
209
|
}
|
|
210
|
+
type IncidentImpact = "none" | "minor" | "major" | "critical" | "maintenance";
|
|
149
211
|
interface InvalidRequestError {
|
|
150
212
|
readonly error: "invalid_request";
|
|
151
213
|
readonly message: string;
|
|
@@ -182,14 +244,32 @@ interface NotFoundError {
|
|
|
182
244
|
readonly error: "not_found";
|
|
183
245
|
readonly message: string;
|
|
184
246
|
}
|
|
247
|
+
interface Offer {
|
|
248
|
+
readonly cap_vcpu_seconds: number;
|
|
249
|
+
readonly keys_counted: number;
|
|
250
|
+
readonly keys_needed: number;
|
|
251
|
+
readonly month_used_up: boolean;
|
|
252
|
+
readonly provider: Provider_1;
|
|
253
|
+
readonly remaining_vcpu_seconds: number;
|
|
254
|
+
readonly used_vcpu_seconds: number;
|
|
255
|
+
readonly vcpu_seconds_per_key: number;
|
|
256
|
+
}
|
|
257
|
+
type Plan = "free" | "pro";
|
|
185
258
|
interface PortPreview {
|
|
186
259
|
readonly expires_at: string | null;
|
|
187
260
|
readonly headers: Readonly<Record<string, string>>;
|
|
188
261
|
readonly port: number;
|
|
189
262
|
readonly url: string;
|
|
190
263
|
}
|
|
191
|
-
|
|
264
|
+
type ProInterval = "day" | "month" | "week" | "year";
|
|
265
|
+
interface ProPrice {
|
|
266
|
+
readonly interval: ProInterval;
|
|
267
|
+
readonly micro_usd: number;
|
|
268
|
+
}
|
|
269
|
+
declare const PROVIDERS: readonly ["daytona", "depot", "e2b", "upstash"];
|
|
192
270
|
type Provider = (typeof PROVIDERS)[number] | (string & Record<never, never>);
|
|
271
|
+
declare const PROVIDER_1S: readonly ["daytona", "depot", "e2b", "upstash"];
|
|
272
|
+
type Provider_1 = (typeof PROVIDER_1S)[number] | (string & Record<never, never>);
|
|
193
273
|
interface ProviderBoard {
|
|
194
274
|
readonly data: readonly ProviderBoardEntry[];
|
|
195
275
|
}
|
|
@@ -199,7 +279,15 @@ interface ProviderBoardEntry {
|
|
|
199
279
|
readonly p95: number | null;
|
|
200
280
|
};
|
|
201
281
|
readonly credential_fields: readonly CredentialField[];
|
|
282
|
+
readonly docs_only_adapter: boolean;
|
|
202
283
|
readonly features: ProviderFeatures;
|
|
284
|
+
readonly gpu_prices: readonly {
|
|
285
|
+
readonly hourly_micro_usd: number;
|
|
286
|
+
readonly type: GpuType;
|
|
287
|
+
}[];
|
|
288
|
+
readonly health_published: boolean;
|
|
289
|
+
readonly home_url: string;
|
|
290
|
+
readonly incidents: VendorIncidentRead | null;
|
|
203
291
|
readonly name: string;
|
|
204
292
|
readonly prices: readonly {
|
|
205
293
|
readonly hourly_micro_usd: number;
|
|
@@ -208,7 +296,9 @@ interface ProviderBoardEntry {
|
|
|
208
296
|
readonly provider: Provider;
|
|
209
297
|
readonly rate_card_source_url: string;
|
|
210
298
|
readonly rate_card_version: string;
|
|
299
|
+
readonly security: ProviderSecurity;
|
|
211
300
|
readonly status: ProviderStatus;
|
|
301
|
+
readonly status_url: string | null;
|
|
212
302
|
readonly updated_at: string;
|
|
213
303
|
readonly uptime: {
|
|
214
304
|
readonly last_15_minutes: number | null;
|
|
@@ -216,6 +306,82 @@ interface ProviderBoardEntry {
|
|
|
216
306
|
readonly last_7_days: number | null;
|
|
217
307
|
};
|
|
218
308
|
}
|
|
309
|
+
interface ProviderCatalog {
|
|
310
|
+
readonly data: readonly ProviderCatalogEntry[];
|
|
311
|
+
}
|
|
312
|
+
interface ProviderCatalogEntry {
|
|
313
|
+
readonly adapter_source_urls: readonly string[];
|
|
314
|
+
readonly billing: CatalogText | null;
|
|
315
|
+
readonly capabilities: {
|
|
316
|
+
readonly custom_image: CatalogFlag | null;
|
|
317
|
+
readonly environment: CatalogFlag | null;
|
|
318
|
+
readonly files: CatalogFlag | null;
|
|
319
|
+
readonly idle_timeout: CatalogFlag | null;
|
|
320
|
+
readonly pause: CatalogFlag | null;
|
|
321
|
+
readonly ports: CatalogFlag | null;
|
|
322
|
+
readonly snapshot: CatalogFlag | null;
|
|
323
|
+
readonly streamed_exec: CatalogFlag | null;
|
|
324
|
+
};
|
|
325
|
+
readonly create_latency_ms: {
|
|
326
|
+
readonly p50: number | null;
|
|
327
|
+
readonly p95: number | null;
|
|
328
|
+
};
|
|
329
|
+
readonly credential_fields: readonly CredentialField[];
|
|
330
|
+
readonly docs_only_adapter: boolean;
|
|
331
|
+
readonly egress_modes: CatalogList | null;
|
|
332
|
+
readonly gpus: CatalogGpus | null;
|
|
333
|
+
readonly incidents: VendorIncidentRead | null;
|
|
334
|
+
readonly limits: {
|
|
335
|
+
readonly max_disk_mib: CatalogLimit | null;
|
|
336
|
+
readonly max_memory_mib: CatalogLimit | null;
|
|
337
|
+
readonly max_ttl_seconds: CatalogLimit | null;
|
|
338
|
+
readonly max_vcpu: CatalogLimit | null;
|
|
339
|
+
};
|
|
340
|
+
readonly links: {
|
|
341
|
+
readonly docs_url: string;
|
|
342
|
+
readonly home_url: string;
|
|
343
|
+
readonly pricing_url: string;
|
|
344
|
+
readonly security_url: string | null;
|
|
345
|
+
readonly status_url: string | null;
|
|
346
|
+
readonly terms_url: string;
|
|
347
|
+
};
|
|
348
|
+
readonly measured_at: string | null;
|
|
349
|
+
readonly measurement: CatalogMeasurement;
|
|
350
|
+
readonly name: string;
|
|
351
|
+
readonly policy: {
|
|
352
|
+
readonly benchmark_terms: CatalogBenchmarkTerms;
|
|
353
|
+
readonly compliance: SecurityList | null;
|
|
354
|
+
readonly data_location: SecurityText | null;
|
|
355
|
+
readonly free_allowance: CatalogText | null;
|
|
356
|
+
readonly isolation: SecurityText | null;
|
|
357
|
+
readonly payment_required: CatalogFlag | null;
|
|
358
|
+
readonly plan_required: CatalogFlag | null;
|
|
359
|
+
readonly read_at: string;
|
|
360
|
+
readonly sla: CatalogText | null;
|
|
361
|
+
};
|
|
362
|
+
readonly prices: readonly {
|
|
363
|
+
readonly hourly_micro_usd: number | null;
|
|
364
|
+
readonly offered: boolean | null;
|
|
365
|
+
readonly size: StandardSize;
|
|
366
|
+
}[];
|
|
367
|
+
readonly provider: Provider;
|
|
368
|
+
readonly rates: {
|
|
369
|
+
readonly as_of: string;
|
|
370
|
+
readonly detail: string | null;
|
|
371
|
+
readonly memory_gib_hour_micro_usd: number;
|
|
372
|
+
readonly source_url: string;
|
|
373
|
+
readonly vcpu_hour_micro_usd: number;
|
|
374
|
+
} | null;
|
|
375
|
+
readonly regions: CatalogList | null;
|
|
376
|
+
readonly routed: boolean;
|
|
377
|
+
readonly sizes: CatalogText | null;
|
|
378
|
+
readonly status: ProviderStatus;
|
|
379
|
+
readonly uptime: {
|
|
380
|
+
readonly last_15_minutes: number | null;
|
|
381
|
+
readonly last_24_hours: number | null;
|
|
382
|
+
readonly last_7_days: number | null;
|
|
383
|
+
};
|
|
384
|
+
}
|
|
219
385
|
interface ProviderCredential {
|
|
220
386
|
readonly created_at: string;
|
|
221
387
|
readonly hint: string;
|
|
@@ -233,6 +399,7 @@ interface ProviderError {
|
|
|
233
399
|
interface ProviderFeatures {
|
|
234
400
|
readonly custom_image: boolean;
|
|
235
401
|
readonly egress_modes: readonly EgressMode[];
|
|
402
|
+
readonly gpu_types: readonly GpuType[];
|
|
236
403
|
readonly idle_timeout: boolean;
|
|
237
404
|
readonly max_disk_mib: number | null;
|
|
238
405
|
readonly max_memory_mib: number;
|
|
@@ -251,6 +418,11 @@ interface ProviderPreferences {
|
|
|
251
418
|
readonly order?: readonly Provider[];
|
|
252
419
|
readonly sort?: ProviderSort;
|
|
253
420
|
}
|
|
421
|
+
interface ProviderSecurity {
|
|
422
|
+
readonly compliance: SecurityList | null;
|
|
423
|
+
readonly data_location: SecurityText | null;
|
|
424
|
+
readonly isolation: SecurityText | null;
|
|
425
|
+
}
|
|
254
426
|
type ProviderSort = "latency" | "price" | "uptime";
|
|
255
427
|
type ProviderStatus = "degraded" | "down" | "operational" | "unknown";
|
|
256
428
|
declare const REGIONS: readonly ["asia", "eu", "us"];
|
|
@@ -265,6 +437,7 @@ interface Sandbox {
|
|
|
265
437
|
readonly end_reason: SandboxEndReason | null;
|
|
266
438
|
readonly ended_at: string | null;
|
|
267
439
|
readonly expires_at: string;
|
|
440
|
+
readonly gpu: Gpu | null;
|
|
268
441
|
readonly id: string;
|
|
269
442
|
readonly idle_timeout_seconds: number | null;
|
|
270
443
|
readonly image: string | null;
|
|
@@ -290,6 +463,20 @@ interface SandboxList {
|
|
|
290
463
|
readonly next_cursor: string | null;
|
|
291
464
|
}
|
|
292
465
|
type SandboxStatus = "creating" | "destroyed" | "destroying" | "failed" | "paused" | "running";
|
|
466
|
+
interface SecurityList {
|
|
467
|
+
readonly detail: string | null;
|
|
468
|
+
readonly read_at: string;
|
|
469
|
+
readonly source_changed_at: string | null;
|
|
470
|
+
readonly source_url: string;
|
|
471
|
+
readonly value: readonly string[];
|
|
472
|
+
}
|
|
473
|
+
interface SecurityText {
|
|
474
|
+
readonly detail: string | null;
|
|
475
|
+
readonly read_at: string;
|
|
476
|
+
readonly source_changed_at: string | null;
|
|
477
|
+
readonly source_url: string;
|
|
478
|
+
readonly value: string;
|
|
479
|
+
}
|
|
293
480
|
declare const SIZE_NAMES: readonly ["1x2", "1x2:cheapest", "1x2:fastest", "1x2:most-reliable", "2x4", "2x4:cheapest", "2x4:fastest", "2x4:most-reliable", "4x8", "4x8:cheapest", "4x8:fastest", "4x8:most-reliable", "8x16", "8x16:cheapest", "8x16:fastest", "8x16:most-reliable"];
|
|
294
481
|
type SizeName = (typeof SIZE_NAMES)[number] | (string & Record<never, never>);
|
|
295
482
|
interface Snapshot {
|
|
@@ -341,5 +528,18 @@ interface UsageDay {
|
|
|
341
528
|
readonly sandbox_count: number;
|
|
342
529
|
readonly sandbox_seconds: number;
|
|
343
530
|
}
|
|
531
|
+
interface VendorIncident {
|
|
532
|
+
readonly id: string;
|
|
533
|
+
readonly impact: IncidentImpact;
|
|
534
|
+
readonly resolved_at: string | null;
|
|
535
|
+
readonly started_at: string;
|
|
536
|
+
readonly title: string;
|
|
537
|
+
readonly url: string;
|
|
538
|
+
}
|
|
539
|
+
interface VendorIncidentRead {
|
|
540
|
+
readonly data: readonly VendorIncident[];
|
|
541
|
+
readonly read_at: string;
|
|
542
|
+
readonly source_url: string;
|
|
543
|
+
}
|
|
344
544
|
type ApiError = ConcurrencyLimitReachedError | ConflictError | ForbiddenError | InvalidRequestError | NoProviderAvailableError | NotFoundError | ProviderError | SpendLimitReachedError | UnauthorizedError | UnsupportedError;
|
|
345
|
-
export {
|
|
545
|
+
export { PROVIDERS as $, Estimate as A, SizeName as At, GPU_TYPES as B, UsageDay as Bt, CreditCheckout as C, Sandbox as Ct, EGRESS_MODES as D, SandboxStatus as Dt, DetachedExecRequest as E, SandboxList as Et, ExecResult as F, StandardSize as Ft, InvalidRequestError as G, GpuType as H, VendorIncidentRead as Ht, FileEntry as I, UnauthorizedError as It, KeyKind_1 as J, Key as K, FileEntryType as L, UnsupportedError as Lt, EstimateRequest as M, SpendLimit as Mt, ExecEvent as N, SpendLimitPeriod as Nt, EgressMode as O, SecurityList as Ot, ExecRequest as P, SpendLimitReachedError as Pt, Offer as Q, FileList as R, UpdateKeyRequest as Rt, CredentialFields as S, STANDARD_SIZES as St, DetachedExec as T, SandboxEndReason as Tt, Health as U, Gpu as V, VendorIncident as Vt, IncidentImpact as W, NoProviderAvailableError as X, KeyList as Y, NotFoundError as Z, CreateFailureReason as _, ProviderStatus as _t, ApiError as a, Provider as at, CreatedKey as b, Region as bt, CatalogFlag as c, ProviderCatalog as ct, CatalogList as d, ProviderCredentialList as dt, PROVIDER_1S as et, CatalogMeasurement as f, ProviderError as ft, CreateAttempt as g, ProviderSort as gt, ConflictError as h, ProviderSecurity as ht, ActivityList as i, ProPrice as it, EstimateList as j, Snapshot as jt, EgressPolicy as k, SecurityText as kt, CatalogGpus as l, ProviderCatalogEntry as lt, ConcurrencyLimitReachedError as m, ProviderPreferences as mt, ActivityAction as n, PortPreview as nt, Billing as o, ProviderBoard as ot, CatalogText as p, ProviderFeatures as pt, KeyKind as q, ActivityEvent as r, ProInterval as rt, CatalogBenchmarkTerms as s, ProviderBoardEntry as st, ACTIVITY_ACTIONS as t, Plan as tt, CatalogLimit as u, ProviderCredential as ut, CreateKeyRequest as v, Provider_1 as vt, CreditPurchaseRequest as w, SandboxCost as wt, CredentialField as x, SIZE_NAMES as xt, CreateSandboxRequest as y, REGIONS as yt, ForbiddenError as z, Usage as zt };
|
package/dist/types.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { ACTIVITY_ACTIONS, ActivityAction, ActivityEvent, ActivityList, ApiError, ConcurrencyLimitReachedError, ConflictError, CreateAttempt, CreateFailureReason, CreateKeyRequest, CreateSandboxRequest, CreatedKey, CredentialField, CredentialFields, EGRESS_MODES, EgressMode, EgressPolicy, Estimate, EstimateList, EstimateRequest, ExecEvent, ExecRequest, ExecResult, FileEntry, FileEntryType, FileList, ForbiddenError, Health, InvalidRequestError, Key, KeyKind, KeyKind_1, KeyList, NoProviderAvailableError, NotFoundError, PROVIDERS, PortPreview, Provider, ProviderBoard, ProviderBoardEntry, ProviderCredential, ProviderCredentialList, ProviderError, ProviderFeatures, ProviderPreferences, ProviderSort, ProviderStatus, REGIONS, Region, SIZE_NAMES, STANDARD_SIZES, Sandbox, SandboxCost, SandboxEndReason, SandboxList, SandboxStatus, SizeName, Snapshot, SpendLimit, SpendLimitPeriod, SpendLimitReachedError, StandardSize, UnauthorizedError, UnsupportedError, UpdateKeyRequest, Usage, UsageDay };
|
|
1
|
+
import { $ as PROVIDERS, A as Estimate, At as SizeName, B as GPU_TYPES, Bt as UsageDay, C as CreditCheckout, Ct as Sandbox, D as EGRESS_MODES, Dt as SandboxStatus, E as DetachedExecRequest, Et as SandboxList, F as ExecResult, Ft as StandardSize, G as InvalidRequestError, H as GpuType, Ht as VendorIncidentRead, I as FileEntry, It as UnauthorizedError, J as KeyKind_1, K as Key, L as FileEntryType, Lt as UnsupportedError, M as EstimateRequest, Mt as SpendLimit, N as ExecEvent, Nt as SpendLimitPeriod, O as EgressMode, Ot as SecurityList, P as ExecRequest, Pt as SpendLimitReachedError, Q as Offer, R as FileList, Rt as UpdateKeyRequest, S as CredentialFields, St as STANDARD_SIZES, T as DetachedExec, Tt as SandboxEndReason, U as Health, V as Gpu, Vt as VendorIncident, W as IncidentImpact, X as NoProviderAvailableError, Y as KeyList, Z as NotFoundError, _ as CreateFailureReason, _t as ProviderStatus, a as ApiError, at as Provider, b as CreatedKey, bt as Region, c as CatalogFlag, ct as ProviderCatalog, d as CatalogList, dt as ProviderCredentialList, et as PROVIDER_1S, f as CatalogMeasurement, ft as ProviderError, g as CreateAttempt, gt as ProviderSort, h as ConflictError, ht as ProviderSecurity, i as ActivityList, it as ProPrice, j as EstimateList, jt as Snapshot, k as EgressPolicy, kt as SecurityText, l as CatalogGpus, lt as ProviderCatalogEntry, m as ConcurrencyLimitReachedError, mt as ProviderPreferences, n as ActivityAction, nt as PortPreview, o as Billing, ot as ProviderBoard, p as CatalogText, pt as ProviderFeatures, q as KeyKind, r as ActivityEvent, rt as ProInterval, s as CatalogBenchmarkTerms, st as ProviderBoardEntry, t as ACTIVITY_ACTIONS, tt as Plan, u as CatalogLimit, ut as ProviderCredential, v as CreateKeyRequest, vt as Provider_1, w as CreditPurchaseRequest, wt as SandboxCost, x as CredentialField, xt as SIZE_NAMES, y as CreateSandboxRequest, yt as REGIONS, z as ForbiddenError, zt as Usage } from "./types-DMB8KnA3.mjs";
|
|
2
|
+
export { ACTIVITY_ACTIONS, ActivityAction, ActivityEvent, ActivityList, ApiError, Billing, CatalogBenchmarkTerms, CatalogFlag, CatalogGpus, CatalogLimit, CatalogList, CatalogMeasurement, CatalogText, ConcurrencyLimitReachedError, ConflictError, CreateAttempt, CreateFailureReason, CreateKeyRequest, CreateSandboxRequest, CreatedKey, CredentialField, CredentialFields, CreditCheckout, CreditPurchaseRequest, DetachedExec, DetachedExecRequest, EGRESS_MODES, EgressMode, EgressPolicy, Estimate, EstimateList, EstimateRequest, ExecEvent, ExecRequest, ExecResult, FileEntry, FileEntryType, FileList, ForbiddenError, GPU_TYPES, Gpu, GpuType, Health, IncidentImpact, InvalidRequestError, Key, KeyKind, KeyKind_1, KeyList, NoProviderAvailableError, NotFoundError, Offer, PROVIDERS, PROVIDER_1S, Plan, PortPreview, ProInterval, ProPrice, Provider, ProviderBoard, ProviderBoardEntry, ProviderCatalog, ProviderCatalogEntry, ProviderCredential, ProviderCredentialList, ProviderError, ProviderFeatures, ProviderPreferences, ProviderSecurity, ProviderSort, ProviderStatus, Provider_1, REGIONS, Region, SIZE_NAMES, STANDARD_SIZES, Sandbox, SandboxCost, SandboxEndReason, SandboxList, SandboxStatus, SecurityList, SecurityText, SizeName, Snapshot, SpendLimit, SpendLimitPeriod, SpendLimitReachedError, StandardSize, UnauthorizedError, UnsupportedError, UpdateKeyRequest, Usage, UsageDay, VendorIncident, VendorIncidentRead };
|
package/dist/types.mjs
CHANGED
|
@@ -13,11 +13,27 @@ const EGRESS_MODES = [
|
|
|
13
13
|
"allowlist",
|
|
14
14
|
"deny_all"
|
|
15
15
|
];
|
|
16
|
+
const GPU_TYPES = [
|
|
17
|
+
"b200",
|
|
18
|
+
"b300",
|
|
19
|
+
"h100",
|
|
20
|
+
"h200",
|
|
21
|
+
"mi355x",
|
|
22
|
+
"rtx-4090",
|
|
23
|
+
"rtx-5090",
|
|
24
|
+
"rtx-pro-6000"
|
|
25
|
+
];
|
|
16
26
|
const PROVIDERS = [
|
|
17
27
|
"daytona",
|
|
18
28
|
"depot",
|
|
19
29
|
"e2b",
|
|
20
|
-
"
|
|
30
|
+
"upstash"
|
|
31
|
+
];
|
|
32
|
+
const PROVIDER_1S = [
|
|
33
|
+
"daytona",
|
|
34
|
+
"depot",
|
|
35
|
+
"e2b",
|
|
36
|
+
"upstash"
|
|
21
37
|
];
|
|
22
38
|
const REGIONS = [
|
|
23
39
|
"asia",
|
|
@@ -48,4 +64,4 @@ const STANDARD_SIZES = [
|
|
|
48
64
|
"4x8",
|
|
49
65
|
"8x16"
|
|
50
66
|
];
|
|
51
|
-
export { ACTIVITY_ACTIONS, EGRESS_MODES, PROVIDERS, REGIONS, SIZE_NAMES, STANDARD_SIZES };
|
|
67
|
+
export { ACTIVITY_ACTIONS, EGRESS_MODES, GPU_TYPES, PROVIDERS, PROVIDER_1S, REGIONS, SIZE_NAMES, STANDARD_SIZES };
|
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sandcovery",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "TypeScript client for the Sandcovery API: one API and one key for ephemeral sandboxes across providers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"daytona",
|
|
7
7
|
"depot",
|
|
8
8
|
"e2b",
|
|
9
9
|
"sandbox",
|
|
10
|
-
"sandcovery"
|
|
11
|
-
"vercel"
|
|
10
|
+
"sandcovery"
|
|
12
11
|
],
|
|
13
12
|
"homepage": "https://www.sandcovery.com",
|
|
14
13
|
"license": "MIT",
|
|
@@ -41,8 +40,9 @@
|
|
|
41
40
|
},
|
|
42
41
|
"devDependencies": {
|
|
43
42
|
"@coveries/cli-core": "workspace:*",
|
|
43
|
+
"@coveries/format": "workspace:*",
|
|
44
44
|
"@coveries/sandcovery-contract": "workspace:*",
|
|
45
|
-
"@
|
|
45
|
+
"@coveries/tsconfig": "workspace:*",
|
|
46
46
|
"@types/node": "^26.6.6",
|
|
47
47
|
"effect": "^4.1.1",
|
|
48
48
|
"es-toolkit": "^1.53.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as OTLP_DESTINATIONS, n as POSTHOG_INGEST_HOST, r as POSTHOG_PROJECT_TOKEN, i as WORKER_OBSERVABILITY } from "./posthog-project-Bb0IFKUv.mjs";
|