sandcovery 0.5.1 → 0.6.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 +2 -2
- package/dist/cli/index.mjs +1 -1
- package/dist/cli/sandcovery-docker.mjs +1 -1
- package/dist/cli/sandcovery-kubectl.mjs +1 -1
- package/dist/{handlers-CGHTslWU.mjs → handlers-U3pqRNro.mjs} +96 -8
- package/dist/index.d.mts +3 -1
- package/dist/index.mjs +1 -1
- package/dist/{port-forwarder-Dot4oNtz.mjs → port-forwarder-Du1VlKxg.mjs} +176 -71
- package/dist/{src-BoT9S6C3.mjs → src-lrpT0LG_.mjs} +1143 -1108
- package/dist/{start-C2p7R_Hj.mjs → start-Dg7sRQ28.mjs} +3 -3
- package/dist/{types-BGjvzP6q.d.mts → types-C7lGEXT5.d.mts} +18 -3
- package/dist/types.d.mts +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Br as isString, E as decodeUnknownSync, Ir as hasProperty, Jn as isSuccess, O as fromJsonString, V as optional, Yn as try_, _ as String$1, c as Json, g as Record, n as Boolean, or as getOrUndefined, qn as isFailure, v as Struct, w as decodeUnknownOption } from "./Schema-CoX0a2_o.mjs";
|
|
2
|
-
import { $ as exitCodeOf, A as isOptionValue, B as plainPrefix, C as enabledVariable, D as closest, E as productVariable, F as rerunArgv, G as remoteLine, H as theme, J as isDigit, K as remoteText, L as clearLine, M as parseFailure, N as parseLeaf, O as flagOf, P as readOptionToken, Q as CliFailure, R as ellipsis, S as writePrivateFile, T as modeOf, U as escapeUnprintable, V as spinnerFrame, W as remoteCell, X as isUpper, Z as isWordCharacter, b as configDirectory, d as BIN, et as statusOf$1, it as IDLE_WATCHER_ENV, j as lastValue, k as isOptionToken, l as setupDropIns, nt as Canceled, ot as watchIdle, p as CLI, q as consistsOf, r as forwardPorts, st as noop, t as FORWARDER_ENV, tt as usageFailure, w as guidanceOn, y as version, z as glyph } from "./port-forwarder-
|
|
3
|
-
import { m as SANDCOVERY_ORIGIN } from "./src-
|
|
2
|
+
import { $ as exitCodeOf, A as isOptionValue, B as plainPrefix, C as enabledVariable, D as closest, E as productVariable, F as rerunArgv, G as remoteLine, H as theme, J as isDigit, K as remoteText, L as clearLine, M as parseFailure, N as parseLeaf, O as flagOf, P as readOptionToken, Q as CliFailure, R as ellipsis, S as writePrivateFile, T as modeOf, U as escapeUnprintable, V as spinnerFrame, W as remoteCell, X as isUpper, Z as isWordCharacter, b as configDirectory, d as BIN, et as statusOf$1, it as IDLE_WATCHER_ENV, j as lastValue, k as isOptionToken, l as setupDropIns, nt as Canceled, ot as watchIdle, p as CLI, q as consistsOf, r as forwardPorts, st as noop, t as FORWARDER_ENV, tt as usageFailure, w as guidanceOn, y as version, z as glyph } from "./port-forwarder-Du1VlKxg.mjs";
|
|
3
|
+
import { m as SANDCOVERY_ORIGIN } from "./src-lrpT0LG_.mjs";
|
|
4
4
|
import { n as sendTelemetry$1, t as loopbackOrigin } from "./telemetry-DBPKT8Ap.mjs";
|
|
5
5
|
import "./posthog-project-CdWw_ofg.mjs";
|
|
6
6
|
import http from "node:http";
|
|
@@ -1340,7 +1340,7 @@ const runCommand = async ({ invocation, session }) => {
|
|
|
1340
1340
|
try {
|
|
1341
1341
|
const local = LOCAL_COMMANDS.get(key);
|
|
1342
1342
|
if (local !== void 0) return await local(context);
|
|
1343
|
-
const { HANDLERS } = await import("./handlers-
|
|
1343
|
+
const { HANDLERS } = await import("./handlers-U3pqRNro.mjs");
|
|
1344
1344
|
const handler = HANDLERS.get(key);
|
|
1345
1345
|
if (handler === void 0) throw internalFailure(invocation.path);
|
|
1346
1346
|
return await handler(context);
|
|
@@ -14,6 +14,21 @@ interface ActivityList {
|
|
|
14
14
|
readonly data: readonly ActivityEvent[];
|
|
15
15
|
readonly next_cursor: string | null;
|
|
16
16
|
}
|
|
17
|
+
interface AutoTopUp {
|
|
18
|
+
readonly amount_micro_usd: number | null;
|
|
19
|
+
readonly enabled: boolean;
|
|
20
|
+
readonly failed_at: string | null;
|
|
21
|
+
readonly failure: string | null;
|
|
22
|
+
readonly threshold_micro_usd: number | null;
|
|
23
|
+
}
|
|
24
|
+
interface AutoTopUpChange {
|
|
25
|
+
readonly auto_top_up: AutoTopUp;
|
|
26
|
+
readonly url: string | null;
|
|
27
|
+
}
|
|
28
|
+
interface AutoTopUpRequest {
|
|
29
|
+
readonly amount_micro_usd: number;
|
|
30
|
+
readonly threshold_micro_usd: number;
|
|
31
|
+
}
|
|
17
32
|
interface Badge {
|
|
18
33
|
readonly earned_at: string | null;
|
|
19
34
|
readonly id: string;
|
|
@@ -23,6 +38,7 @@ interface Badge {
|
|
|
23
38
|
readonly unit: string;
|
|
24
39
|
}
|
|
25
40
|
interface Billing {
|
|
41
|
+
readonly auto_top_up: AutoTopUp;
|
|
26
42
|
readonly credit_balance_micro_usd: number;
|
|
27
43
|
readonly credits_on_sale: boolean;
|
|
28
44
|
readonly enterprise_price: ProPrice | null;
|
|
@@ -68,7 +84,7 @@ interface CatalogList {
|
|
|
68
84
|
readonly source_url: string | null;
|
|
69
85
|
readonly value: readonly string[];
|
|
70
86
|
}
|
|
71
|
-
type CatalogMeasurement = "measured" | "not_measured"
|
|
87
|
+
type CatalogMeasurement = "measured" | "not_measured";
|
|
72
88
|
interface CatalogText {
|
|
73
89
|
readonly detail: string | null;
|
|
74
90
|
readonly source_url: string | null;
|
|
@@ -416,7 +432,6 @@ interface ProviderBoardEntry {
|
|
|
416
432
|
readonly hourly_micro_usd: number;
|
|
417
433
|
readonly type: GpuType;
|
|
418
434
|
}[];
|
|
419
|
-
readonly health_published: boolean;
|
|
420
435
|
readonly home_url: string;
|
|
421
436
|
readonly incidents: VendorIncidentRead | null;
|
|
422
437
|
readonly name: string;
|
|
@@ -773,4 +788,4 @@ interface XPostRequest {
|
|
|
773
788
|
readonly url: string;
|
|
774
789
|
}
|
|
775
790
|
type ApiError = ConcurrencyLimitReachedError | ConflictError | ForbiddenError | InvalidRequestError | NoProviderAvailableError | NotFoundError | ProviderError | RateLimitedError | SpendLimitReachedError | UnauthorizedError | UnsupportedError;
|
|
776
|
-
export {
|
|
791
|
+
export { FileList as $, SandboxList as $t, CreateFailureReason as A, XPostRequest as An, ProcessTerminal as At, DetachedExec as B, ProviderPreferences as Bt, CiJob as C, UsageTotal as Cn, Pricing as Ct, ConcurrencyLimitReachedError as D, XAccount as Dn, Process as Dt, CiJobStatus as E, VendorIncidentRead as En, ProblemReportRequest as Et, CredentialField as F, ProviderCatalogEntry as Ft, Estimate as G, REGIONS as Gt, EGRESS_MODES as H, ProviderSort as Ht, CredentialFields as I, ProviderCredential as It, ExecEvent as J, SLUGS as Jt, EstimateList as K, RateLimitedError as Kt, CreditCheckout as L, ProviderCredentialList as Lt, CreateSandboxRequest as M, ProviderBoard as Mt, CreateUsageShareRequest as N, ProviderBoardEntry as Nt, ConflictError as O, XAccountLink as On, ProcessRequest as Ot, CreatedKey as P, ProviderCatalog as Pt, FileEntryType as Q, SandboxEndReason as Qt, CreditPurchaseRequest as R, ProviderError as Rt, CiInstallationList as S, UsageShareList as Sn, PortPreview as St, CiJobList as T, VendorIncident as Tn, ProPrice as Tt, EgressMode as U, ProviderStatus as Ut, DetachedExecRequest as V, ProviderSecurity as Vt, EgressPolicy as W, Provider_1 as Wt, ExecResult as X, Sandbox as Xt, ExecRequest as Y, STANDARD_SIZES as Yt, FileEntry as Z, SandboxCost as Zt, CatalogLimit as _, Usage as _n, NotFoundError as _t, ApiError as a, Slug as an, IncidentImpact as at, CatalogText as b, UsageShare as bn, PROVIDER_1S as bt, AutoTopUpRequest as c, SpendLimitPeriod as cn, KeyKind as ct, BrandImage as d, Stats as dn, LiveSandboxStatus as dt, SandboxStatus as en, ForbiddenError as et, CI_JOB_CONCLUSIONS as f, StatsDay as fn, LiveSandboxes as ft, CatalogGpus as g, UpdateKeyRequest as gn, NoProviderAvailableError as gt, CatalogFlag as h, UnsupportedError as hn, MonthlyCostList as ht, ActivityList as i, SharedUsageFigure as in, Health as it, CreateKeyRequest as j, Provider as jt, CreateAttempt as k, XAccountStatus as kn, ProcessStatus as kt, Badge as l, SpendLimitReachedError as ln, KeyKind_1 as lt, CatalogBrandTerms as m, UnauthorizedError as mn, MonthlyCost as mt, ActivityAction as n, SecurityText as nn, Gpu as nt, AutoTopUp as o, Snapshot as on, InvalidRequestError as ot, CatalogBenchmarkTerms as p, ThemedBrandImage as pn, LiveUsage as pt, EstimateRequest as q, Region as qt, ActivityEvent as r, SharedUsage as rn, GpuType as rt, AutoTopUpChange as s, SpendLimit as sn, Key as st, ACTIVITY_ACTIONS as t, SecurityList as tn, GPU_TYPES as tt, Billing as u, StandardSize as un, KeyList as ut, CatalogList as v, UsageDay as vn, Offer as vt, CiJobConclusion as w, UsageTotals as wn, ProInterval as wt, CiInstallation as x, UsageShareFigure as xn, Plan as xt, CatalogMeasurement as y, UsagePeriod as yn, PROVIDERS as yt, CreditTerms as z, ProviderFeatures as zt };
|
package/dist/types.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
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, CreateUsageShareRequest, 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, MonthlyCost, MonthlyCostList, NoProviderAvailableError, NotFoundError, Offer, PROVIDERS, PROVIDER_1S, Plan, PortPreview, Pricing, ProInterval, ProPrice, ProblemReportRequest, Process, ProcessRequest, ProcessStatus, ProcessTerminal, Provider, ProviderBoard, ProviderBoardEntry, ProviderCatalog, ProviderCatalogEntry, ProviderCredential, ProviderCredentialList, ProviderError, ProviderFeatures, ProviderPreferences, ProviderSecurity, ProviderSort, ProviderStatus, Provider_1, REGIONS, RateLimitedError, Region, SLUGS, STANDARD_SIZES, Sandbox, SandboxCost, SandboxEndReason, SandboxList, SandboxStatus, SecurityList, SecurityText, SharedUsage, SharedUsageFigure, Slug, Snapshot, SpendLimit, SpendLimitPeriod, SpendLimitReachedError, StandardSize, Stats, StatsDay, ThemedBrandImage, UnauthorizedError, UnsupportedError, UpdateKeyRequest, Usage, UsageDay, UsagePeriod, UsageShare, UsageShareFigure, UsageShareList, UsageTotal, UsageTotals, VendorIncident, VendorIncidentRead, XAccount, XAccountLink, XAccountStatus, XPostRequest };
|
|
1
|
+
import { $ as FileList, $t as SandboxList, A as CreateFailureReason, An as XPostRequest, At as ProcessTerminal, B as DetachedExec, Bt as ProviderPreferences, C as CiJob, Cn as UsageTotal, Ct as Pricing, D as ConcurrencyLimitReachedError, Dn as XAccount, Dt as Process, E as CiJobStatus, En as VendorIncidentRead, Et as ProblemReportRequest, F as CredentialField, Ft as ProviderCatalogEntry, G as Estimate, Gt as REGIONS, H as EGRESS_MODES, Ht as ProviderSort, I as CredentialFields, It as ProviderCredential, J as ExecEvent, Jt as SLUGS, K as EstimateList, Kt as RateLimitedError, L as CreditCheckout, Lt as ProviderCredentialList, M as CreateSandboxRequest, Mt as ProviderBoard, N as CreateUsageShareRequest, Nt as ProviderBoardEntry, O as ConflictError, On as XAccountLink, Ot as ProcessRequest, P as CreatedKey, Pt as ProviderCatalog, Q as FileEntryType, Qt as SandboxEndReason, R as CreditPurchaseRequest, Rt as ProviderError, S as CiInstallationList, Sn as UsageShareList, St as PortPreview, T as CiJobList, Tn as VendorIncident, Tt as ProPrice, U as EgressMode, Ut as ProviderStatus, V as DetachedExecRequest, Vt as ProviderSecurity, W as EgressPolicy, Wt as Provider_1, X as ExecResult, Xt as Sandbox, Y as ExecRequest, Yt as STANDARD_SIZES, Z as FileEntry, Zt as SandboxCost, _ as CatalogLimit, _n as Usage, _t as NotFoundError, a as ApiError, an as Slug, at as IncidentImpact, b as CatalogText, bn as UsageShare, bt as PROVIDER_1S, c as AutoTopUpRequest, cn as SpendLimitPeriod, ct as KeyKind, d as BrandImage, dn as Stats, dt as LiveSandboxStatus, en as SandboxStatus, et as ForbiddenError, f as CI_JOB_CONCLUSIONS, fn as StatsDay, ft as LiveSandboxes, g as CatalogGpus, gn as UpdateKeyRequest, gt as NoProviderAvailableError, h as CatalogFlag, hn as UnsupportedError, ht as MonthlyCostList, i as ActivityList, in as SharedUsageFigure, it as Health, j as CreateKeyRequest, jt as Provider, k as CreateAttempt, kn as XAccountStatus, kt as ProcessStatus, l as Badge, ln as SpendLimitReachedError, lt as KeyKind_1, m as CatalogBrandTerms, mn as UnauthorizedError, mt as MonthlyCost, n as ActivityAction, nn as SecurityText, nt as Gpu, o as AutoTopUp, on as Snapshot, ot as InvalidRequestError, p as CatalogBenchmarkTerms, pn as ThemedBrandImage, pt as LiveUsage, q as EstimateRequest, qt as Region, r as ActivityEvent, rn as SharedUsage, rt as GpuType, s as AutoTopUpChange, sn as SpendLimit, st as Key, t as ACTIVITY_ACTIONS, tn as SecurityList, tt as GPU_TYPES, u as Billing, un as StandardSize, ut as KeyList, v as CatalogList, vn as UsageDay, vt as Offer, w as CiJobConclusion, wn as UsageTotals, wt as ProInterval, x as CiInstallation, xn as UsageShareFigure, xt as Plan, y as CatalogMeasurement, yn as UsagePeriod, yt as PROVIDERS, z as CreditTerms, zt as ProviderFeatures } from "./types-C7lGEXT5.mjs";
|
|
2
|
+
export { ACTIVITY_ACTIONS, ActivityAction, ActivityEvent, ActivityList, ApiError, AutoTopUp, AutoTopUpChange, AutoTopUpRequest, 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, CreateUsageShareRequest, 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, MonthlyCost, MonthlyCostList, NoProviderAvailableError, NotFoundError, Offer, PROVIDERS, PROVIDER_1S, Plan, PortPreview, Pricing, ProInterval, ProPrice, ProblemReportRequest, Process, ProcessRequest, ProcessStatus, ProcessTerminal, Provider, ProviderBoard, ProviderBoardEntry, ProviderCatalog, ProviderCatalogEntry, ProviderCredential, ProviderCredentialList, ProviderError, ProviderFeatures, ProviderPreferences, ProviderSecurity, ProviderSort, ProviderStatus, Provider_1, REGIONS, RateLimitedError, Region, SLUGS, STANDARD_SIZES, Sandbox, SandboxCost, SandboxEndReason, SandboxList, SandboxStatus, SecurityList, SecurityText, SharedUsage, SharedUsageFigure, Slug, Snapshot, SpendLimit, SpendLimitPeriod, SpendLimitReachedError, StandardSize, Stats, StatsDay, ThemedBrandImage, UnauthorizedError, UnsupportedError, UpdateKeyRequest, Usage, UsageDay, UsagePeriod, UsageShare, UsageShareFigure, UsageShareList, UsageTotal, UsageTotals, VendorIncident, VendorIncidentRead, XAccount, XAccountLink, XAccountStatus, XPostRequest };
|