sandcovery 0.2.0 → 0.4.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 +17 -7
- package/dist/{Schema-C4ay0Aif.mjs → Schema-CFI3ZMu8.mjs} +216 -4
- package/dist/cli/index.mjs +10 -29
- package/dist/handlers-BS1KuMqq.mjs +6546 -0
- package/dist/index.d.mts +31 -1
- package/dist/index.mjs +1 -1
- package/dist/{origin-Dj-n4EQa.mjs → origin-BTx2gX8x.mjs} +162 -81
- 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-B4c-Ug3B.mjs} +765 -144
- package/dist/src-DPDVOBkr.mjs +1016 -0
- package/dist/{telemetry-delivery-1a7C-8DK.mjs → telemetry-delivery-Yd6CeynR.mjs} +3 -3
- package/dist/types-DvoIdTvQ.d.mts +684 -0
- package/dist/types.d.mts +2 -2
- package/dist/types.mjs +35 -19
- package/package.json +6 -4
- package/dist/handlers-BxhSLDGk.mjs +0 -2217
- package/dist/posthog-project-B0jmQTwy.mjs +0 -1
- package/dist/src-D3WZodpF.mjs +0 -572
- package/dist/types-Dxh7amZB.d.mts +0 -345
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,
|
|
1
|
+
import { $ as GpuType, $t as ThemedBrandImage, A as CreatedKey, At as ProviderSecurity, B as EgressPolicy, Bt as SandboxEndReason, C as CiJobStatus, Ct as ProviderCatalog, D as CreateFailureReason, Dt as ProviderError, E as CreateAttempt, Et as ProviderCredentialList, F as CreditTerms, Ft as Region, G as ExecRequest, Gt as Slug, H as EstimateList, Ht as SandboxStatus, I as DetachedExec, It as SLUGS, J as FileEntryType, Jt as SpendLimitPeriod, K as ExecResult, Kt as Snapshot, L as DetachedExecRequest, Lt as STANDARD_SIZES, M as CredentialFields, Mt as ProviderStatus, N as CreditCheckout, Nt as Provider_1, O as CreateKeyRequest, Ot as ProviderFeatures, P as CreditPurchaseRequest, Pt as REGIONS, Q as Gpu, Qt as StatsDay, R as EGRESS_MODES, Rt as Sandbox, S as CiJobList, St as ProviderBoardEntry, T as ConflictError, Tt as ProviderCredential, U as EstimateRequest, Ut as SecurityList, V as Estimate, Vt as SandboxList, W as ExecEvent, Wt as SecurityText, X as ForbiddenError, Xt as StandardSize, Y as FileList, Yt as SpendLimitReachedError, Z as GPU_TYPES, Zt as Stats, _ as CatalogText, _t as Pricing, a as ApiError, an as UsagePeriod, at as KeyKind_1, b as CiJob, bt as Provider, c as BrandImage, cn as VendorIncident, ct as LiveSandboxes, d as CatalogBrandTerms, dt as NotFoundError, en as UnauthorizedError, et as Health, f as CatalogFlag, ft as Offer, g as CatalogMeasurement, gt as PortPreview, h as CatalogList, ht as Plan, i as ActivityList, in as UsageDay, it as KeyKind, j as CredentialField, jt as ProviderSort, k as CreateSandboxRequest, kt as ProviderPreferences, l as CI_JOB_CONCLUSIONS, ln as VendorIncidentRead, lt as LiveUsage, m as CatalogLimit, mt as PROVIDER_1S, n as ActivityAction, nn as UpdateKeyRequest, nt as InvalidRequestError, o as Badge, on as UsageTotal, ot as KeyList, p as CatalogGpus, pt as PROVIDERS, q as FileEntry, qt as SpendLimit, r as ActivityEvent, rn as Usage, rt as Key, s as Billing, sn as UsageTotals, st as LiveSandboxStatus, t as ACTIVITY_ACTIONS, tn as UnsupportedError, tt as IncidentImpact, u as CatalogBenchmarkTerms, ut as NoProviderAvailableError, v as CiInstallation, vt as ProInterval, w as ConcurrencyLimitReachedError, wt as ProviderCatalogEntry, x as CiJobConclusion, xt as ProviderBoard, y as CiInstallationList, yt as ProPrice, z as EgressMode, zt as SandboxCost } from "./types-DvoIdTvQ.mjs";
|
|
2
|
+
export { ACTIVITY_ACTIONS, ActivityAction, ActivityEvent, ActivityList, ApiError, Badge, Billing, BrandImage, CI_JOB_CONCLUSIONS, CatalogBenchmarkTerms, CatalogBrandTerms, CatalogFlag, CatalogGpus, CatalogLimit, CatalogList, CatalogMeasurement, CatalogText, CiInstallation, CiInstallationList, CiJob, CiJobConclusion, CiJobList, CiJobStatus, ConcurrencyLimitReachedError, ConflictError, CreateAttempt, CreateFailureReason, CreateKeyRequest, CreateSandboxRequest, CreatedKey, CredentialField, CredentialFields, CreditCheckout, CreditPurchaseRequest, CreditTerms, 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, LiveSandboxStatus, LiveSandboxes, LiveUsage, NoProviderAvailableError, NotFoundError, Offer, PROVIDERS, PROVIDER_1S, Plan, PortPreview, Pricing, ProInterval, ProPrice, Provider, ProviderBoard, ProviderBoardEntry, ProviderCatalog, ProviderCatalogEntry, ProviderCredential, ProviderCredentialList, ProviderError, ProviderFeatures, ProviderPreferences, ProviderSecurity, ProviderSort, ProviderStatus, Provider_1, REGIONS, Region, SLUGS, STANDARD_SIZES, Sandbox, SandboxCost, SandboxEndReason, SandboxList, SandboxStatus, SecurityList, SecurityText, Slug, Snapshot, SpendLimit, SpendLimitPeriod, SpendLimitReachedError, StandardSize, Stats, StatsDay, ThemedBrandImage, UnauthorizedError, UnsupportedError, UpdateKeyRequest, Usage, UsageDay, UsagePeriod, UsageTotal, UsageTotals, VendorIncident, VendorIncidentRead };
|
package/dist/types.mjs
CHANGED
|
@@ -8,39 +8,55 @@ const ACTIVITY_ACTIONS = [
|
|
|
8
8
|
"sandbox.resume",
|
|
9
9
|
"sandbox.snapshot"
|
|
10
10
|
];
|
|
11
|
+
const CI_JOB_CONCLUSIONS = [
|
|
12
|
+
"action_required",
|
|
13
|
+
"cancelled",
|
|
14
|
+
"failure",
|
|
15
|
+
"neutral",
|
|
16
|
+
"skipped",
|
|
17
|
+
"success",
|
|
18
|
+
"timed_out"
|
|
19
|
+
];
|
|
11
20
|
const EGRESS_MODES = [
|
|
12
21
|
"allow_all",
|
|
13
22
|
"allowlist",
|
|
14
23
|
"deny_all"
|
|
15
24
|
];
|
|
25
|
+
const GPU_TYPES = [
|
|
26
|
+
"b200",
|
|
27
|
+
"b300",
|
|
28
|
+
"h100",
|
|
29
|
+
"h200",
|
|
30
|
+
"mi355x",
|
|
31
|
+
"rtx-4090",
|
|
32
|
+
"rtx-5090",
|
|
33
|
+
"rtx-pro-6000"
|
|
34
|
+
];
|
|
16
35
|
const PROVIDERS = [
|
|
17
36
|
"daytona",
|
|
18
37
|
"depot",
|
|
19
38
|
"e2b",
|
|
20
|
-
"
|
|
39
|
+
"upstash"
|
|
40
|
+
];
|
|
41
|
+
const PROVIDER_1S = [
|
|
42
|
+
"daytona",
|
|
43
|
+
"depot",
|
|
44
|
+
"e2b",
|
|
45
|
+
"upstash"
|
|
21
46
|
];
|
|
22
47
|
const REGIONS = [
|
|
23
48
|
"asia",
|
|
24
49
|
"eu",
|
|
25
50
|
"us"
|
|
26
51
|
];
|
|
27
|
-
const
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"2x4
|
|
34
|
-
"
|
|
35
|
-
"2x4:most-reliable",
|
|
36
|
-
"4x8",
|
|
37
|
-
"4x8:cheapest",
|
|
38
|
-
"4x8:fastest",
|
|
39
|
-
"4x8:most-reliable",
|
|
40
|
-
"8x16",
|
|
41
|
-
"8x16:cheapest",
|
|
42
|
-
"8x16:fastest",
|
|
43
|
-
"8x16:most-reliable"
|
|
52
|
+
const SLUGS = [
|
|
53
|
+
"sandcovery/2x4",
|
|
54
|
+
"sandcovery/2x4:cheapest",
|
|
55
|
+
"sandcovery/nx16:cheapest",
|
|
56
|
+
"sandcovery/2xn:fastest",
|
|
57
|
+
"sandcovery/nxn:most-reliable",
|
|
58
|
+
"boat/2x4",
|
|
59
|
+
"e2b/2x0.5"
|
|
44
60
|
];
|
|
45
61
|
const STANDARD_SIZES = [
|
|
46
62
|
"1x2",
|
|
@@ -48,4 +64,4 @@ const STANDARD_SIZES = [
|
|
|
48
64
|
"4x8",
|
|
49
65
|
"8x16"
|
|
50
66
|
];
|
|
51
|
-
export { ACTIVITY_ACTIONS, EGRESS_MODES, PROVIDERS, REGIONS,
|
|
67
|
+
export { ACTIVITY_ACTIONS, CI_JOB_CONCLUSIONS, EGRESS_MODES, GPU_TYPES, PROVIDERS, PROVIDER_1S, REGIONS, SLUGS, STANDARD_SIZES };
|
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sandcovery",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.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,11 +40,14 @@
|
|
|
41
40
|
},
|
|
42
41
|
"devDependencies": {
|
|
43
42
|
"@coveries/cli-core": "workspace:*",
|
|
43
|
+
"@coveries/format": "workspace:*",
|
|
44
44
|
"@coveries/sandcovery-contract": "workspace:*",
|
|
45
|
-
"@
|
|
45
|
+
"@coveries/sandcovery-runner": "workspace:*",
|
|
46
|
+
"@coveries/tsconfig": "workspace:*",
|
|
46
47
|
"@types/node": "^26.6.6",
|
|
47
48
|
"effect": "^4.1.1",
|
|
48
49
|
"es-toolkit": "^1.53.1",
|
|
50
|
+
"tar": "^7.5.22",
|
|
49
51
|
"typescript": "^7.0.2",
|
|
50
52
|
"uuid": "^14.0.3",
|
|
51
53
|
"vite-plus": "catalog:"
|