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/dist/types.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as SandboxCost, A as Key, B as ProviderBoardEntry, C as ExecResult, D as ForbiddenError, E as FileList, F as NotFoundError, G as ProviderPreferences, H as ProviderCredentialList, I as PROVIDERS, J as REGIONS, K as ProviderSort, L as PortPreview, M as KeyKind_1, N as KeyList, O as Health, P as NoProviderAvailableError, Q as Sandbox, R as Provider, S as ExecRequest, T as FileEntryType, U as ProviderError, V as ProviderCredential, W as ProviderFeatures, X as SIZE_NAMES, Y as Region, Z as STANDARD_SIZES, _ as EgressPolicy, a as ApiError, at as SpendLimit, b as EstimateRequest, c as CreateAttempt, ct as StandardSize, d as CreateSandboxRequest, dt as UpdateKeyRequest, et as SandboxEndReason, f as CreatedKey, ft as Usage, g as EgressMode, h as EGRESS_MODES, i as ActivityList, it as Snapshot, j as KeyKind, k as InvalidRequestError, l as CreateFailureReason, lt as UnauthorizedError, m as CredentialFields, n as ActivityAction, nt as SandboxStatus, o as ConcurrencyLimitReachedError, ot as SpendLimitPeriod, p as CredentialField, pt as UsageDay, q as ProviderStatus, r as ActivityEvent, rt as SizeName, s as ConflictError, st as SpendLimitReachedError, t as ACTIVITY_ACTIONS, tt as SandboxList, u as CreateKeyRequest, ut as UnsupportedError, v as Estimate, w as FileEntry, x as ExecEvent, y as EstimateList, z as ProviderBoard } from "./types-Dxh7amZB.mjs";
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 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
- "vercel"
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 SIZE_NAMES = [
28
- "1x2",
29
- "1x2:cheapest",
30
- "1x2:fastest",
31
- "1x2:most-reliable",
32
- "2x4",
33
- "2x4:cheapest",
34
- "2x4:fastest",
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, SIZE_NAMES, STANDARD_SIZES };
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.2.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
- "@starcovery/schema": "workspace:*",
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:"