sandcovery 0.12.0 → 0.12.1

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.
@@ -1,4 +1,4 @@
1
- import { Ga as isResult, Ha as fail, Ka as isSuccess, Xo as isString, Ya as succeed, es as ownEnumerableKeys, ss as identity, us as pipeArguments } from "./src-qykrguUO.mjs";
1
+ import { Ga as isResult, Ha as fail, Ka as isSuccess, Xo as isString, Ya as succeed, es as ownEnumerableKeys, ss as identity, us as pipeArguments } from "./src-BnspmiaT.mjs";
2
2
  const ValueMatcherProto = {
3
3
  ["~effect/Match/Matcher"]: {
4
4
  _input: identity,
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
- import { $ as toTransform, $a as add, $i as fail$5, $n as take, $o as assignProperty, $r as provideContext, $t as is, A as empty$4, Aa as isReadonlyArrayNonEmpty, Ai as provide$1, An as CurrentRedactedNames$1, Ar as forEach$1, B as mkString, Ba as map$9, Bi as doneUnsafe, Bn as make$18, Bo as NodeInspectSymbol, Br as logError, Bt as TrueLiterals, C as AgentId, Ca as empty$5, Ci as withParentSpan, Cn as empty$2, Co as liftThrowable, Cr as fail, Ct as NonEmptyString, D as catchReason$1, Di as round, Dn as toString, Do as orElse, Dr as flatMapEager, Dt as OptionFromOptional, E as callback$1, Ea as findLast, Ei as isDoneCause, En as setAll$1, Eo as none, Er as flatMap$1, F as fromReadableStream, Fa as reduce, Fi as addFinalizerExit, Fn as merge$2, Fo as withFiber$1, Fr as gen, Ft as String$7, G as splitLines, Gi as fail$3, Gn as fromInputUnsafe$1, Go as isNotNull, Gr as matchCauseEffect, Gt as declare, H as run$3, Ha as fail$1, Hi as isDone, Hn as stringOrRedacted, Ho as redact, Hr as mapEager, Ht as URL$2, I as interruptWhen, Ia as sort, Ii as close, In as remove$1, Io as getStackTraceLimit, Ir as ignore, It as Struct, J as toReadableStreamEffect, Ji as succeed$3, Jn as make$20, Jo as isNullish, Jr as onError, Jt as decodeUnknownEffect$1, K as suspend$1, Ka as isSuccess$1, Ki as isFailure, Kn as endUnsafe, Kr as matchEffect, Kt as decodeEffect, L as isStream, La as fromIterableWith, Li as makeUnsafe$1, Ln as set, Lo as setStackTraceLimit, Lr as ignoreCause, Lt as TaggedError$1, M as fail$2, Ma as match$1, Mi as succeed$4, Mn as fromInput$1, Mo as mapInput, Mr as forkChild, Mt as Record, N as fromChannel$1, Ni as Scope, Nn as fromRecordUnsafe, No as Prototype, Nr as forkScoped, Nt as RedactedFromValue, O as decodeText, Oa as head, Oi as effect, On as fromBody, Oo as some, Or as fn, Ot as OptionFromOptionalKey, P as fromPull, Pa as of, Pi as addFinalizer, Pn as isRedactedName, Po as PipeInspectableProto, Pr as fromResult, Pt as SchemaError, Q as mapDone, Qa as Service, Qi as done, Qn as sliding, Qo as isUndefined, Qr as provide$2, Qt as fromJsonString, R as merge$1, Ra as get$4, Ri as provide, Rn as setAll, Ro as BaseProto, Rr as interrupt$1, Rt as TaggedUnion, Sa as toMillis, Si as withFiber, Sn as CurrentRedactedNames, So as liftPredicate, Sr as ensuring, St as NonEmptyArray, Ta as findFirstIndex, Ti as catchDone, Tn as redactUrl, To as match, Tr as failSync, Tt as Number$2, U as runCollect, Ua as getOrThrow, Ui as isDoneUnsafe, Un as fromSetCookie, Uo as hasProperty, Ur as mapError, Ut as Union, V as mkUint8Array, Va as all$2, Vi as fail$4, Vn as value, Vo as format, Vr as map$5, Vt as Tuple, W as runDrain, Wa as isFailure$1, Wi as makeUnsafe, Wn as bytes, Wo as isFunction, Wr as match$2, Wt as Unknown, X as unwrap$4, Xa as try_$1, Xi as Done, Xn as offerUnsafe, Xo as isString, Xr as onInterrupt, Xt as decodeUnknownSync, Y as transduce, Ya as succeed$1, Yi as void_, Yn as offer, Yo as isObjectKeyword, Yr as onExit, Yt as decodeUnknownOption, Z as fromTransform$1, Za as Reference, Zi as UnknownError, Zn as poll, Zo as isTagged, Zr as orDie, Zt as encodeSync, _ as fromApi, _a as Error$1, _i as uninterruptible, _n as Transformation, _o as getOrNull, _r as catchTags, _t as Finite, a as SandcoveryApi, aa as makeDieReason, ai as runSync, an as optional$3, ao as merge, ar as addFinalizer$1, as as dual, ba as fromInputUnsafe, bi as useSpan, bn as InvalidValue$1, bo as isNone, br as contextWith, bt as Literal, ca as squash, ci as serviceOption, cn as toCodecJson, co as exists, cr as as, cs as memoize, da as LogToStderr$1, di as suspend, dn as decodeUnknownEffect, do as flatMap$2, dr as catchCause, dt as ArraySchema, ea as fromReasons, ei as provideService, en as isGreaterThan, eo as empty$6, er as getCurrent, es as ownEnumerableKeys, et as unwrap$3, fa as sync$1, fi as sync, fn as applyToSelfOrLastLinkEncoding, fo as flatten, fr as catchEager, ft as Boolean$3, ga as DisablePropagation, gi as try_, gn as unknown, go as getOrElse, gr as catchTag, gt as FalseLiterals, ha as TracerTimingEnabled$1, hi as tryPromise, hn as toEncoded, ho as fromUndefinedOr, hr as catchReason, ht as Error$2, ia as isFailReason, in as makeFilter, io as make$21, ir as acquireRelease, is as constant, j as ensuring$1, ja as map$8, ji as provideMerge, jn as empty$3, jo as String$6, jr as forever, k as drainFork, ka as isCanonicalArrayIndex, ki as mergeAll, kn as unwrap$5, ko as toArray, kr as fnUntraced, kt as OptionFromOptionalNullOr, la as ClockRef, li as sleep, ln as toCodecStringTree, lo as filter, lr as cached, ls as pipe, m as SANDCOVERY_ORIGIN, ma as TracerEnabled$1, mi as tapCause, mn as getIndexSignatureKeys, mo as fromNullishOr, mr as catchIf, mt as Defect, na as hasInterruptsOnly, ni as runFork, nn as isStartingWith, no as getOrUndefined, nr as join$2, ns as constTrue, nt as get$5, oa as makeFailReason, oi as scope, on as optionalKey, or as all$1, os as flow, ot as make$19, p as API_PREFIX, pa as MinimumLogLevel$1, pi as tap, pn as decodeTo, po as fromNullOr, pr as catchFilter, pt as BooleanLiterals, q as tapError, qa as map$6, qi as isSuccess, qn as failCauseUnsafe, qo as isNotUndefined, qr as never, qt as decodeTo$1, r as read, ra as isDieReason, ri as runForkWith, rn as make$17, ro as getUnsafe, rr as runIn, rs as constVoid, sa as reasonAnnotations, si as scoped, sn as tag, so as contains, sr as andThen, ss as identity, st as set$1, ta as hasInterrupts, ti as raceFirst, tn as isNonEmpty, to as get$3, tr as interrupt, ts as constFalse, ua as ConsoleRef, ui as succeed$2, ur as callback, us as pipeArguments, ut as makeUnsafe$2, v as allShort, va as TaggedError, vi as uninterruptibleMask, vn as passthrough, vo as getOrThrowWith, vr as catch_, vt as Int$1, wa as findFirst, wi as zipWith, wn as fromInput, wo as map$7, wr as failCause, wt as NullOr, x as Process, xa as isFinite, xi as void_$1, xn as Pointer, xo as isSome, xr as effectify, xt as Literals$2, y as isHttpMethod, ya as taggedEnum, yi as updateContext, yn as transformEffect, yo as getOrUndefined$1, yr as context, yt as Json, z as mkArrayBuffer, za as getSomes, zi as _await, zn as isRedacted, zo as Class, zr as isEffect, zt as Trim } from "../src-qykrguUO.mjs";
3
- import { a as value$1, i as tag$1, n as orElse$1, o as when, r as string, t as exhaustive } from "../Match-B1Ad5u7a.mjs";
4
- import { r as onPath } from "../kubectl-CDaJnlvo.mjs";
5
- import { a as follow, t as quoted } from "../sync-D1IG3FDD.mjs";
6
- import { i as chunk, n as logoutRun, r as signIn, t as loginRun } from "../sign-in-Cxjwe2Xs.mjs";
7
- import { E as noop, T as clamp, _ as stopSignalOf, b as v7, g as startTool, h as credentialsFileOf, v as storedKey } from "../saved-sandboxes-D_mgmx4a.mjs";
2
+ import { $ as toTransform, $a as add, $i as fail$5, $n as take, $o as assignProperty, $r as provideContext, $t as is, A as empty$4, Aa as isReadonlyArrayNonEmpty, Ai as provide$1, An as CurrentRedactedNames$1, Ar as forEach$1, B as mkString, Ba as map$9, Bi as doneUnsafe, Bn as make$18, Bo as NodeInspectSymbol, Br as logError, Bt as TrueLiterals, C as AgentId, Ca as empty$5, Ci as withParentSpan, Cn as empty$2, Co as liftThrowable, Cr as fail, Ct as NonEmptyString, D as catchReason$1, Di as round, Dn as toString, Do as orElse, Dr as flatMapEager, Dt as OptionFromOptional, E as callback$1, Ea as findLast, Ei as isDoneCause, En as setAll$1, Eo as none, Er as flatMap$1, F as fromReadableStream, Fa as reduce, Fi as addFinalizerExit, Fn as merge$2, Fo as withFiber$1, Fr as gen, Ft as String$7, G as splitLines, Gi as fail$3, Gn as fromInputUnsafe$1, Go as isNotNull, Gr as matchCauseEffect, Gt as declare, H as run$3, Ha as fail$1, Hi as isDone, Hn as stringOrRedacted, Ho as redact, Hr as mapEager, Ht as URL$2, I as interruptWhen, Ia as sort, Ii as close, In as remove$1, Io as getStackTraceLimit, Ir as ignore, It as Struct, J as toReadableStreamEffect, Ji as succeed$3, Jn as make$20, Jo as isNullish, Jr as onError, Jt as decodeUnknownEffect$1, K as suspend$1, Ka as isSuccess$1, Ki as isFailure, Kn as endUnsafe, Kr as matchEffect, Kt as decodeEffect, L as isStream, La as fromIterableWith, Li as makeUnsafe$1, Ln as set, Lo as setStackTraceLimit, Lr as ignoreCause, Lt as TaggedError$1, M as fail$2, Ma as match$1, Mi as succeed$4, Mn as fromInput$1, Mo as mapInput, Mr as forkChild, Mt as Record, N as fromChannel$1, Ni as Scope, Nn as fromRecordUnsafe, No as Prototype, Nr as forkScoped, Nt as RedactedFromValue, O as decodeText, Oa as head, Oi as effect, On as fromBody, Oo as some, Or as fn, Ot as OptionFromOptionalKey, P as fromPull, Pa as of, Pi as addFinalizer, Pn as isRedactedName, Po as PipeInspectableProto, Pr as fromResult, Pt as SchemaError, Q as mapDone, Qa as Service, Qi as done, Qn as sliding, Qo as isUndefined, Qr as provide$2, Qt as fromJsonString, R as merge$1, Ra as get$4, Ri as provide, Rn as setAll, Ro as BaseProto, Rr as interrupt$1, Rt as TaggedUnion, Sa as toMillis, Si as withFiber, Sn as CurrentRedactedNames, So as liftPredicate, Sr as ensuring, St as NonEmptyArray, Ta as findFirstIndex, Ti as catchDone, Tn as redactUrl, To as match, Tr as failSync, Tt as Number$2, U as runCollect, Ua as getOrThrow, Ui as isDoneUnsafe, Un as fromSetCookie, Uo as hasProperty, Ur as mapError, Ut as Union, V as mkUint8Array, Va as all$2, Vi as fail$4, Vn as value, Vo as format, Vr as map$5, Vt as Tuple, W as runDrain, Wa as isFailure$1, Wi as makeUnsafe, Wn as bytes, Wo as isFunction, Wr as match$2, Wt as Unknown, X as unwrap$4, Xa as try_$1, Xi as Done, Xn as offerUnsafe, Xo as isString, Xr as onInterrupt, Xt as decodeUnknownSync, Y as transduce, Ya as succeed$1, Yi as void_, Yn as offer, Yo as isObjectKeyword, Yr as onExit, Yt as decodeUnknownOption, Z as fromTransform$1, Za as Reference, Zi as UnknownError, Zn as poll, Zo as isTagged, Zr as orDie, Zt as encodeSync, _ as fromApi, _a as Error$1, _i as uninterruptible, _n as Transformation, _o as getOrNull, _r as catchTags, _t as Finite, a as SandcoveryApi, aa as makeDieReason, ai as runSync, an as optional$3, ao as merge, ar as addFinalizer$1, as as dual, ba as fromInputUnsafe, bi as useSpan, bn as InvalidValue$1, bo as isNone, br as contextWith, bt as Literal, ca as squash, ci as serviceOption, cn as toCodecJson, co as exists, cr as as, cs as memoize, da as LogToStderr$1, di as suspend, dn as decodeUnknownEffect, do as flatMap$2, dr as catchCause, dt as ArraySchema, ea as fromReasons, ei as provideService, en as isGreaterThan, eo as empty$6, er as getCurrent, es as ownEnumerableKeys, et as unwrap$3, fa as sync$1, fi as sync, fn as applyToSelfOrLastLinkEncoding, fo as flatten, fr as catchEager, ft as Boolean$3, ga as DisablePropagation, gi as try_, gn as unknown, go as getOrElse, gr as catchTag, gt as FalseLiterals, ha as TracerTimingEnabled$1, hi as tryPromise, hn as toEncoded, ho as fromUndefinedOr, hr as catchReason, ht as Error$2, ia as isFailReason, in as makeFilter, io as make$21, ir as acquireRelease, is as constant, j as ensuring$1, ja as map$8, ji as provideMerge, jn as empty$3, jo as String$6, jr as forever, k as drainFork, ka as isCanonicalArrayIndex, ki as mergeAll, kn as unwrap$5, ko as toArray, kr as fnUntraced, kt as OptionFromOptionalNullOr, la as ClockRef, li as sleep, ln as toCodecStringTree, lo as filter, lr as cached, ls as pipe, m as SANDCOVERY_ORIGIN, ma as TracerEnabled$1, mi as tapCause, mn as getIndexSignatureKeys, mo as fromNullishOr, mr as catchIf, mt as Defect, na as hasInterruptsOnly, ni as runFork, nn as isStartingWith, no as getOrUndefined, nr as join$2, ns as constTrue, nt as get$5, oa as makeFailReason, oi as scope, on as optionalKey, or as all$1, os as flow, ot as make$19, p as API_PREFIX, pa as MinimumLogLevel$1, pi as tap, pn as decodeTo, po as fromNullOr, pr as catchFilter, pt as BooleanLiterals, q as tapError, qa as map$6, qi as isSuccess, qn as failCauseUnsafe, qo as isNotUndefined, qr as never, qt as decodeTo$1, r as read, ra as isDieReason, ri as runForkWith, rn as make$17, ro as getUnsafe, rr as runIn, rs as constVoid, sa as reasonAnnotations, si as scoped, sn as tag, so as contains, sr as andThen, ss as identity, st as set$1, ta as hasInterrupts, ti as raceFirst, tn as isNonEmpty, to as get$3, tr as interrupt, ts as constFalse, ua as ConsoleRef, ui as succeed$2, ur as callback, us as pipeArguments, ut as makeUnsafe$2, v as allShort, va as TaggedError, vi as uninterruptibleMask, vn as passthrough, vo as getOrThrowWith, vr as catch_, vt as Int$1, wa as findFirst, wi as zipWith, wn as fromInput, wo as map$7, wr as failCause, wt as NullOr, x as Process, xa as isFinite, xi as void_$1, xn as Pointer, xo as isSome, xr as effectify, xt as Literals$2, y as isHttpMethod, ya as taggedEnum, yi as updateContext, yn as transformEffect, yo as getOrUndefined$1, yr as context, yt as Json, z as mkArrayBuffer, za as getSomes, zi as _await, zn as isRedacted, zo as Class, zr as isEffect, zt as Trim } from "../src-BnspmiaT.mjs";
3
+ import { a as value$1, i as tag$1, n as orElse$1, o as when, r as string, t as exhaustive } from "../Match-D3PuUIwy.mjs";
4
+ import { r as onPath } from "../kubectl-1KG0Du3J.mjs";
5
+ import { a as follow, t as quoted } from "../sync-DMMX7lD4.mjs";
6
+ import { i as chunk, n as logoutRun, r as signIn, t as loginRun } from "../sign-in-D-ICogCy.mjs";
7
+ import { E as noop, T as clamp, _ as stopSignalOf, b as v7, g as startTool, h as credentialsFileOf, v as storedKey } from "../saved-sandboxes-DPHHxLBw.mjs";
8
8
  import http, { WebSocket } from "node:http";
9
9
  import * as OS from "node:os";
10
10
  import os, { constants } from "node:os";
@@ -14534,7 +14534,7 @@ const runApiCli = ({ answerSeconds, name, origin, spec, storedToken, token, vers
14534
14534
  });
14535
14535
  };
14536
14536
  // package.json
14537
- var version = "0.12.0";
14537
+ var version = "0.12.1";
14538
14538
  // src/cli/commands/agents-ssh.ts
14539
14539
  const USAGE$1 = `Usage: sandcovery agents ssh <agent_id> [-- <ssh arguments>...]
14540
14540
 
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { $t as is, Ao as zipWith, At as ReadonlyMap, Co as liftThrowable, Ct as NonEmptyString, Da as get, Eo as none, Et as Option, Fa as reduce, Ft as String$1, Go as isNotNull, It as Struct, Mt as Record, Na as matchLeft, Oa as head, Oo as some, Ot as OptionFromOptionalKey, Qt as fromJsonString, S as ProcessTerminal, So as liftPredicate, T as SandboxId, To as match, Tt as Number$1, Ut as Union, Wt as Unknown, Xo as isString, Yt as decodeUnknownOption, _o as getOrNull, bo as isNone, co as exists, ct as update, d as NoProviderAvailable, do as flatMap, dt as ArraySchema, ft as Boolean$1, go as getOrElse, ho as fromUndefinedOr, it as getAndSet, jt as ReadonlySet, ko as toArray, l as ProviderError, lo as filter, mo as fromNullishOr, nt as get$1, oo as all, ot as make, po as fromNullOr, rt as getAndIncrement, st as set, t as Sandcovery, ui as succeed, un as withDecodingDefaultKey, uo as firstSomeOf, vo as getOrThrowWith, wa as findFirst, wo as map, wt as NullOr, xo as isSome, xt as Literals } from "../src-qykrguUO.mjs";
3
- import { E as noop, T as clamp, a as READY, b as v7, c as servedAt, d as unsealed, g as startTool, i as launchedRelay, l as servedOrSpawned, m as createdSandbox, n as savedSandboxes, o as isTerminal, p as DESTROY_TIMEOUT_MS, r as RELAY_PORT, s as sealed, t as runningSandbox, u as socketOf, w as RELAY_ENV, y as writePrivateFile } from "../saved-sandboxes-D_mgmx4a.mjs";
4
- import { a as value, n as orElse, o as when } from "../Match-B1Ad5u7a.mjs";
5
- import { c as uniq, d as __require, l as difference, n as syncCommand, o as runAttached, s as terminalOf, t as quoted, u as __commonJSMin } from "../sync-D1IG3FDD.mjs";
2
+ import { $t as is, Ao as zipWith, At as ReadonlyMap, Co as liftThrowable, Ct as NonEmptyString, Da as get, Eo as none, Et as Option, Fa as reduce, Ft as String$1, Go as isNotNull, It as Struct, Mt as Record, Na as matchLeft, Oa as head, Oo as some, Ot as OptionFromOptionalKey, Qt as fromJsonString, S as ProcessTerminal, So as liftPredicate, T as SandboxId, To as match, Tt as Number$1, Ut as Union, Wt as Unknown, Xo as isString, Yt as decodeUnknownOption, _o as getOrNull, bo as isNone, co as exists, ct as update, d as NoProviderAvailable, do as flatMap, dt as ArraySchema, ft as Boolean$1, go as getOrElse, ho as fromUndefinedOr, it as getAndSet, jt as ReadonlySet, ko as toArray, l as ProviderError, lo as filter, mo as fromNullishOr, nt as get$1, oo as all, ot as make, po as fromNullOr, rt as getAndIncrement, st as set, t as Sandcovery, ui as succeed, un as withDecodingDefaultKey, uo as firstSomeOf, vo as getOrThrowWith, wa as findFirst, wo as map, wt as NullOr, xo as isSome, xt as Literals } from "../src-BnspmiaT.mjs";
3
+ import { E as noop, T as clamp, a as READY, b as v7, c as servedAt, d as unsealed, g as startTool, i as launchedRelay, l as servedOrSpawned, m as createdSandbox, n as savedSandboxes, o as isTerminal, p as DESTROY_TIMEOUT_MS, r as RELAY_PORT, s as sealed, t as runningSandbox, u as socketOf, w as RELAY_ENV, y as writePrivateFile } from "../saved-sandboxes-DPHHxLBw.mjs";
4
+ import { a as value, n as orElse, o as when } from "../Match-D3PuUIwy.mjs";
5
+ import { c as uniq, d as __require, l as difference, n as syncCommand, o as runAttached, s as terminalOf, t as quoted, u as __commonJSMin } from "../sync-DMMX7lD4.mjs";
6
6
  import { WebSocket } from "node:http";
7
7
  import net from "node:net";
8
8
  import { randomBytes } from "node:crypto";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import { Oo as some } from "../src-qykrguUO.mjs";
3
- import { a as watchIdle, i as IDLE_WATCHER_ENV, n as kubectlRun } from "../kubectl-CDaJnlvo.mjs";
4
- import { g as startTool } from "../saved-sandboxes-D_mgmx4a.mjs";
2
+ import { Oo as some } from "../src-BnspmiaT.mjs";
3
+ import { a as watchIdle, i as IDLE_WATCHER_ENV, n as kubectlRun } from "../kubectl-1KG0Du3J.mjs";
4
+ import { g as startTool } from "../saved-sandboxes-DPHHxLBw.mjs";
5
5
  // src/cli/sandcovery-kubectl.ts
6
6
  await startTool({
7
7
  run: kubectlRun,
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
- import { $t as is, Co as liftThrowable, Eo as none, Ft as String$1, It as Struct, Ja as match$1, Ka as isSuccess, Mt as Record, Oo as some, To as match, Tt as Number$1, Xa as try_, _o as getOrNull, bo as isNone, bt as Literal, c as Unsupported, co as exists, do as flatMap, go as getOrElse, ho as fromUndefinedOr, i as ApiError, ko as toArray, lo as filter, lt as updateAndGet, ot as make, po as fromNullOr, t as Sandcovery, va as TaggedError, wo as map, xo as isSome } from "../src-qykrguUO.mjs";
3
- import { i as chunk, r as signIn } from "../sign-in-Cxjwe2Xs.mjs";
4
- import { c as uniq, i as So, o as runAttached, r as Qn, s as terminalOf, t as quoted } from "../sync-D1IG3FDD.mjs";
5
- import { b as v7, g as startTool, m as createdSandbox, n as savedSandboxes, p as DESTROY_TIMEOUT_MS, t as runningSandbox, v as storedKey, y as writePrivateFile } from "../saved-sandboxes-D_mgmx4a.mjs";
6
- import { r as onPath } from "../kubectl-CDaJnlvo.mjs";
2
+ import { $t as is, Co as liftThrowable, Eo as none, Ft as String$1, It as Struct, Ja as match$1, Ka as isSuccess, Mt as Record, Oo as some, To as match, Tt as Number$1, Xa as try_, _o as getOrNull, bo as isNone, bt as Literal, c as Unsupported, co as exists, do as flatMap, go as getOrElse, ho as fromUndefinedOr, i as ApiError, ko as toArray, lo as filter, lt as updateAndGet, ot as make, po as fromNullOr, t as Sandcovery, va as TaggedError, wo as map, xo as isSome } from "../src-BnspmiaT.mjs";
3
+ import { i as chunk, r as signIn } from "../sign-in-D-ICogCy.mjs";
4
+ import { c as uniq, i as So, o as runAttached, r as Qn, s as terminalOf, t as quoted } from "../sync-DMMX7lD4.mjs";
5
+ import { b as v7, g as startTool, m as createdSandbox, n as savedSandboxes, p as DESTROY_TIMEOUT_MS, t as runningSandbox, v as storedKey, y as writePrivateFile } from "../saved-sandboxes-DPHHxLBw.mjs";
6
+ import { r as onPath } from "../kubectl-1KG0Du3J.mjs";
7
7
  import os from "node:os";
8
8
  import { spawnSync } from "node:child_process";
9
9
  import { createHash } from "node:crypto";
@@ -176,7 +176,8 @@ const NUL = "\0";
176
176
  const TAB = " ";
177
177
  const LINK_STATE = "link:";
178
178
  const SHA_STATE = "sha256:";
179
- const AS_ROOT = `s= && [ "$(id -u)" -eq 0 ] || s='sudo -n' && exec $s sh -c`;
179
+ const AS_ROOT = `s= && { [ "$(id -u)" -eq 0 ] || ! sudo -n true 2>/dev/null || s='sudo -n'; } && exec $s sh -c`;
180
+ const MIRROR_BASE = `base= && { [ "$(id -u)" -eq 0 ] || base=\${HOME:?is not set for the sandbox user, so its files have no home folder to sit under}; }`;
180
181
  const REMOVE_GONE = [
181
182
  "r=$(pwd -P)",
182
183
  `for p; do d=$(dirname -- "$p"); t="$r/$d"; [ "$d" = . ] && t=$r; [ "$(cd -- "$d" 2>/dev/null && pwd -P)" = "$t" ] && { [ -L "$p" ] || [ ! -d "$p" ]; } && rm -f -- "$p"; done`,
@@ -414,7 +415,7 @@ const stampFiles = (stamp) => ({
414
415
  const nulJoined = (names) => names.map((name) => `${name}${NUL}`).join("");
415
416
  const asRoot = async ({ failure, id, script, tool }) => {
416
417
  const result = await tool.client.sandboxes.exec(id, {
417
- command: `${AS_ROOT} ${quoted(script)}`,
418
+ command: `${AS_ROOT} ${quoted([MIRROR_BASE, script].join(" && "))}`,
418
419
  cwd: null,
419
420
  env: null,
420
421
  timeout_seconds: null
@@ -573,13 +574,13 @@ const sentFiles = async ({ cwd, git, id, root, stamp, tool, tracked }) => {
573
574
  tool,
574
575
  failure: CANT_COPY,
575
576
  script: [
576
- `mkdir -p ${quoted(root)}`,
577
- `cd ${quoted(root)}`,
577
+ `mkdir -p "$base"${quoted(root)}`,
578
+ `cd "$base"${quoted(root)}`,
578
579
  String.raw`printf '%s %s\n' ${sums.join(" ")} | sha256sum -c --quiet -`,
579
580
  ...removals.map(({ file }) => `xargs -0 -r sh -c ${quoted(REMOVE_GONE)} sh <${quoted(file)}`),
580
581
  ...cleared.map(({ file }) => `xargs -0 -r sh -c ${quoted(CLEAR_WAY)} sh <${quoted(file)}`),
581
582
  ...archive.map(({ file }) => `tar -xzf ${quoted(file)} --numeric-owner`),
582
- `mkdir -p ${quoted(cwd)}`,
583
+ `mkdir -p "$base"${quoted(cwd)}`,
583
584
  statesScript({
584
585
  links: at.baseLinks,
585
586
  list: at.list,
@@ -608,7 +609,7 @@ const placedFromSandbox = async ({ after, copyable, id, root, stamp, tool }) =>
608
609
  id,
609
610
  tool,
610
611
  failure: CANT_COPY_BACK,
611
- script: [`cd ${quoted(root)}`, `tar -czf ${quoted(at.back)} --null --no-recursion -T ${quoted(at.wanted)}`].join(" && ")
612
+ script: [`cd "$base"${quoted(root)}`, `tar -czf ${quoted(at.back)} --null --no-recursion -T ${quoted(at.wanted)}`].join(" && ")
612
613
  });
613
614
  const file = path.join(scratch, "back.tar.gz");
614
615
  const wanted = new Set(regular);
@@ -647,7 +648,7 @@ const copiedBack = async ({ current, files, git, id, repositories, root, stamp,
647
648
  id,
648
649
  tool,
649
650
  failure: CANT_COPY_BACK,
650
- script: [`cd ${quoted(root)}`, String.raw`find . -iname ${GIT_FOLDER} -prune -o \( -type f -o -type l \) -printf '%P\0' >${quoted(at.found)}`].join(" && ")
651
+ script: [`cd "$base"${quoted(root)}`, String.raw`find . -iname ${GIT_FOLDER} -prune -o \( -type f -o -type l \) -printf '%P\0' >${quoted(at.found)}`].join(" && ")
651
652
  });
652
653
  const found = new Set(namesOf(await readSandboxText({
653
654
  id,
@@ -676,7 +677,7 @@ const copiedBack = async ({ current, files, git, id, repositories, root, stamp,
676
677
  id,
677
678
  tool,
678
679
  failure: CANT_COPY_BACK,
679
- script: [`cd ${quoted(root)}`, statesScript({
680
+ script: [`cd "$base"${quoted(root)}`, statesScript({
680
681
  links: at.links,
681
682
  list: at.candidates,
682
683
  sums: at.sums
@@ -840,7 +841,7 @@ const runRun = async (tool) => {
840
841
  const run = async () => {
841
842
  const signed = await signedOf(tool);
842
843
  const script = words.length === 1 ? words.join("") : words.map(quoted).join(" ");
843
- const inner = `cd ${quoted(cwd)} && exec sh -c ${quoted(script)}`;
844
+ const inner = `${MIRROR_BASE} && cd "$base"${quoted(cwd)} && exec sh -c ${quoted(script)}`;
844
845
  return await underLock({
845
846
  file: lock,
846
847
  signal: tool.signal,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import { Ct as NonEmptyString, Eo as none, It as Struct, Qt as fromJsonString, To as match, Yt as decodeUnknownOption, _o as getOrNull, bo as isNone, co as exists, ho as fromUndefinedOr, in as makeFilter, ko as toArray, wo as map } from "../src-qykrguUO.mjs";
3
- import { E as noop, g as startTool, m as createdSandbox, p as DESTROY_TIMEOUT_MS } from "../saved-sandboxes-D_mgmx4a.mjs";
4
- import { r as onPath, t as answers } from "../kubectl-CDaJnlvo.mjs";
2
+ import { Ct as NonEmptyString, Eo as none, It as Struct, Qt as fromJsonString, To as match, Yt as decodeUnknownOption, _o as getOrNull, bo as isNone, co as exists, ho as fromUndefinedOr, in as makeFilter, ko as toArray, wo as map } from "../src-BnspmiaT.mjs";
3
+ import { E as noop, g as startTool, m as createdSandbox, p as DESTROY_TIMEOUT_MS } from "../saved-sandboxes-DPHHxLBw.mjs";
4
+ import { r as onPath, t as answers } from "../kubectl-1KG0Du3J.mjs";
5
5
  import { spawn } from "node:child_process";
6
6
  import { once } from "node:events";
7
7
  import { parseArgs } from "node:util";
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { Dt as ExecEvent, Et as EstimateRequest, Ot as ExecRequest, Qn as SandboxStatus, S as AutoTopUpRequest, at as CreateKeyRequest, dn as ProblemReportRequest, gn as Provider, gt as CreditPurchaseRequest, m as AgentSshRequest, nt as CreateAgentRequest, ot as CreateSandboxRequest, p as AgentSessionRequest, pn as ProcessRequest, pt as CredentialFields, st as CreateUsageShareRequest, tn as OperatingSystemPick, wr as UpdateKeyRequest, yr as SubscriptionCheckoutRequest, yt as DetachedExecRequest } from "./types-Dyj4MeDD.mjs";
1
+ import { Dt as ExecEvent, Et as EstimateRequest, Ot as ExecRequest, Qn as SandboxStatus, S as AutoTopUpRequest, at as CreateKeyRequest, dn as ProblemReportRequest, gn as Provider, gt as CreditPurchaseRequest, m as AgentSshRequest, nt as CreateAgentRequest, ot as CreateSandboxRequest, p as AgentSessionRequest, pn as ProcessRequest, pt as CredentialFields, st as CreateUsageShareRequest, tn as OperatingSystemPick, wr as UpdateKeyRequest, yr as SubscriptionCheckoutRequest, yt as DetachedExecRequest } from "./types-bca78av5.mjs";
2
2
  /**
3
3
  * Describes the concurrency level for Effect operations that run multiple
4
4
  * effects.
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- export { t as Sandcovery } from "./src-qykrguUO.mjs";
1
+ export { t as Sandcovery } from "./src-BnspmiaT.mjs";
@@ -1,5 +1,5 @@
1
- import { Ct as NonEmptyString, Eo as none, Ft as String, It as Struct, Ka as isSuccess, Oo as some, Qt as fromJsonString, T as SandboxId, To as match, Tt as Number$1, Xa as try_, Xt as decodeUnknownSync, Yt as decodeUnknownOption, _o as getOrNull, at as increment, bo as isNone, co as exists, ct as update, do as flatMap, go as getOrElse, ho as fromUndefinedOr, ko as toArray, lo as filter, nt as get, ot as make, po as fromNullOr, st as set, t as Sandcovery, tt as decrement, wo as map, xo as isSome } from "./src-qykrguUO.mjs";
2
- import { C as KUBERNETES_PORT, E as noop, S as KUBERNETES_GATEWAY_COMMAND, T as clamp, _ as stopSignalOf, a as READY, c as servedAt, d as unsealed, i as launchedRelay, l as servedOrSpawned, m as createdSandbox, n as savedSandboxes, o as isTerminal, p as DESTROY_TIMEOUT_MS, s as sealed, t as runningSandbox, u as socketOf, x as KUBERNETES_COMMAND, y as writePrivateFile } from "./saved-sandboxes-D_mgmx4a.mjs";
1
+ import { Ct as NonEmptyString, Eo as none, Ft as String, It as Struct, Ka as isSuccess, Oo as some, Qt as fromJsonString, T as SandboxId, To as match, Tt as Number$1, Xa as try_, Xt as decodeUnknownSync, Yt as decodeUnknownOption, _o as getOrNull, at as increment, bo as isNone, co as exists, ct as update, do as flatMap, go as getOrElse, ho as fromUndefinedOr, ko as toArray, lo as filter, nt as get, ot as make, po as fromNullOr, st as set, t as Sandcovery, tt as decrement, wo as map, xo as isSome } from "./src-BnspmiaT.mjs";
2
+ import { C as KUBERNETES_PORT, E as noop, S as KUBERNETES_GATEWAY_COMMAND, T as clamp, _ as stopSignalOf, a as READY, c as servedAt, d as unsealed, i as launchedRelay, l as servedOrSpawned, m as createdSandbox, n as savedSandboxes, o as isTerminal, p as DESTROY_TIMEOUT_MS, s as sealed, t as runningSandbox, u as socketOf, x as KUBERNETES_COMMAND, y as writePrivateFile } from "./saved-sandboxes-DPHHxLBw.mjs";
3
3
  import os from "node:os";
4
4
  import { spawn } from "node:child_process";
5
5
  import net from "node:net";
@@ -1,4 +1,4 @@
1
- import { $t as is, Co as liftThrowable, Do as orElse, Eo as none, Ft as String$1, It as Struct, Mt as Record, Oo as some, Qt as fromJsonString, To as match, Ut as Union, Yt as decodeUnknownOption, bo as isNone, bt as Literal, c as Unsupported, ct as update, do as flatMap, f as Conflict, g as Forbidden, go as getOrElse, h as Unauthorized, ho as fromUndefinedOr, lo as filter, nt as get, ot as make, t as Sandcovery, u as NotFound, w as KeySecret, wo as map, xo as isSome, xt as Literals, yo as getOrUndefined } from "./src-qykrguUO.mjs";
1
+ import { $t as is, Co as liftThrowable, Do as orElse, Eo as none, Ft as String$1, It as Struct, Mt as Record, Oo as some, Qt as fromJsonString, To as match, Ut as Union, Yt as decodeUnknownOption, bo as isNone, bt as Literal, c as Unsupported, ct as update, do as flatMap, f as Conflict, g as Forbidden, go as getOrElse, h as Unauthorized, ho as fromUndefinedOr, lo as filter, nt as get, ot as make, t as Sandcovery, u as NotFound, w as KeySecret, wo as map, xo as isSome, xt as Literals, yo as getOrUndefined } from "./src-BnspmiaT.mjs";
2
2
  import http from "node:http";
3
3
  import os from "node:os";
4
4
  import { spawn } from "node:child_process";
@@ -1,5 +1,5 @@
1
- import { Eo as none, Oo as some, So as liftPredicate, Zt as encodeSync, a as SandcoveryApi, bo as isNone, go as getOrElse, ho as fromUndefinedOr, lo as filter, n as call, o as CliSignInStart, ot as make, po as fromNullOr, r as read, s as CliSignInToken } from "./src-qykrguUO.mjs";
2
- import { E as noop, f as Credentials, v as storedKey, y as writePrivateFile } from "./saved-sandboxes-D_mgmx4a.mjs";
1
+ import { Eo as none, Oo as some, So as liftPredicate, Zt as encodeSync, a as SandcoveryApi, bo as isNone, go as getOrElse, ho as fromUndefinedOr, lo as filter, n as call, o as CliSignInStart, ot as make, po as fromNullOr, r as read, s as CliSignInToken } from "./src-BnspmiaT.mjs";
2
+ import { E as noop, f as Credentials, v as storedKey, y as writePrivateFile } from "./saved-sandboxes-DPHHxLBw.mjs";
3
3
  import os from "node:os";
4
4
  import { spawn } from "node:child_process";
5
5
  import fs from "node:fs";
@@ -27368,6 +27368,25 @@ function fromJsonString(schema, options) {
27368
27368
  globalThis.File;
27369
27369
  globalThis.URLSearchParams;
27370
27370
  /**
27371
+ * Schema that parses a string into a `number` using JavaScript
27372
+ * number coercion.
27373
+ *
27374
+ * **Details**
27375
+ *
27376
+ * Decoding:
27377
+ * A `string` is decoded as a number, including possible non-finite values such as
27378
+ * `NaN`, `Infinity`, and `-Infinity`. Use `FiniteFromString` to reject non-finite
27379
+ * numbers.
27380
+ *
27381
+ * Encoding:
27382
+ * A number is encoded as a `string`, preserving negative zero as `"-0"`.
27383
+ *
27384
+ * @stability stable
27385
+ * @category schemas
27386
+ * @since 3.10.0
27387
+ */
27388
+ const NumberFromString = /*#__PURE__*/ String$1.annotate({ expected: "a string that will be decoded as a number" }).pipe(/*#__PURE__*/ decodeTo(Number$1, numberFromString));
27389
+ /**
27371
27390
  * Schema that parses a string into a finite number.
27372
27391
  *
27373
27392
  * **Details**
@@ -34306,6 +34325,10 @@ const CiJobsGroup = make("ciJobs").add(get("listCiJobs", "/ci/jobs", {
34306
34325
  description: "Lists the names of the GitHub organizations and personal accounts linked to Sandcovery CI, oldest link first, so every member can see whether CI is set up. Admins read the full links under CI installations.",
34307
34326
  summary: "List linked CI accounts"
34308
34327
  }))).middleware(RequireApiKey).annotateMerge(annotations({ description: "Sandcovery CI jobs, which run GitHub Actions jobs on runner sandboxes, the providers they run on, and the GitHub accounts linked to them. Needs an API key or a dashboard session; a management key receives 403. Every API key of the organization reads every CI job." })).prefix(API_PREFIX);
34328
+ NumberFromString.check(isInt(), isBetween({
34329
+ maximum: 3600,
34330
+ minimum: 60
34331
+ }));
34309
34332
  const DEVICE_CODE_MAX = 128;
34310
34333
  const UserCode = String$1.annotate({ description: "The code the computer shows, such as `BCDF-GHJK`, which the dashboard shows beside it so the person can match the two." });
34311
34334
  const CliSignInStatus = Literals([
@@ -34335,7 +34358,8 @@ const CliSignIn = Struct({
34335
34358
  expires_at: Timestamp,
34336
34359
  name: String$1.annotate({ description: "The computer's name." }),
34337
34360
  status: CliSignInStatus,
34338
- user_code: UserCode
34361
+ user_code: UserCode,
34362
+ via: Literals(["cli", "ssh"]).annotate({ description: "`ssh` when a terminal started the sign-in through `ssh new@sandcovery.com`, whose key expires soon after its sandbox does, and `cli` when the Sandcovery CLI started it." })
34339
34363
  }).annotate({
34340
34364
  description: "A sign-in a computer started, as the dashboard shows it.",
34341
34365
  identifier: "CliSignIn"
@@ -34359,7 +34383,7 @@ const SIGN_INS_PATH = "/cli/sign-ins";
34359
34383
  const SIGN_IN_PATH = "/cli/sign-ins/:user_code";
34360
34384
  const params$1 = { user_code: String$1 };
34361
34385
  const CliSignInsGroup = make("cliSignIns").add(post("startCliSignIn", SIGN_INS_PATH, {
34362
- error: RateLimited,
34386
+ error: [RateLimited, Unauthorized],
34363
34387
  payload: StartCliSignInRequest,
34364
34388
  success: CliSignInStart.pipe(status(201))
34365
34389
  }).annotateMerge(annotations({
@@ -1,5 +1,5 @@
1
- import { Co as liftThrowable, Eo as none, Ft as String$1, It as Struct, Ko as isNotNullish, Mt as Record, Oo as some, Qt as fromJsonString, To as match$1, Wa as isFailure, Wr as match, Xa as try_, Yt as decodeUnknownOption, bo as isNone, bt as Literal, co as exists, do as flatMap, dt as ArraySchema, go as getOrElse, hi as tryPromise, ho as fromUndefinedOr, ii as runPromise, ko as toArray, lo as filter, lt as updateAndGet, mo as fromNullishOr, ot as make, wo as map, xo as isSome } from "./src-qykrguUO.mjs";
2
- import { _ as stopSignalOf, b as v7, y as writePrivateFile } from "./saved-sandboxes-D_mgmx4a.mjs";
1
+ import { Co as liftThrowable, Eo as none, Ft as String$1, It as Struct, Ko as isNotNullish, Mt as Record, Oo as some, Qt as fromJsonString, To as match$1, Wa as isFailure, Wr as match, Xa as try_, Yt as decodeUnknownOption, bo as isNone, bt as Literal, co as exists, do as flatMap, dt as ArraySchema, go as getOrElse, hi as tryPromise, ho as fromUndefinedOr, ii as runPromise, ko as toArray, lo as filter, lt as updateAndGet, mo as fromNullishOr, ot as make, wo as map, xo as isSome } from "./src-BnspmiaT.mjs";
2
+ import { _ as stopSignalOf, b as v7, y as writePrivateFile } from "./saved-sandboxes-DPHHxLBw.mjs";
3
3
  import { createRequire } from "node:module";
4
4
  import os from "node:os";
5
5
  import Cs from "node:stream";
@@ -294,6 +294,7 @@ interface CliSignIn {
294
294
  readonly name: string;
295
295
  readonly status: CliSignInStatus;
296
296
  readonly user_code: string;
297
+ readonly via: 'cli' | 'ssh';
297
298
  }
298
299
  interface CliSignInStart {
299
300
  readonly device_code: string;
package/dist/types.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as CollectCliSignInRequest, $n as SecurityList, $t as Offer, A as CatalogBenchmarkTerms, An as ProviderCatalogEntryPricesItem, Ar as UsageShare, At as FileEntry, B as CiInstallation, Bn as ProviderStatus, Bt as InvalidRequestError, C as Badge, Cn as ProviderCatalogEntryCapabilities, Cr as UnsupportedError, Ct as EgressPolicy, D as BodyTooLargeError, Dn as ProviderCatalogEntryLinks, Dr as Usage, Dt as ExecEvent, E as BillingPortalSession, En as ProviderCatalogEntryLimits, Er as UsableKeyList, Et as EstimateRequest, F as CatalogList, Fn as ProviderError, Fr as VendorIncident, Ft as Gpu, G as CiLane, Gn as Region, Gt as LiveSandboxStatus, H as CiJob, Hn as REGIONS, Ht as KeyList, I as CatalogOperatingSystems, In as ProviderFeatures, Ir as VendorIncidentRead, It as GpuType, J as CiRunnerFailure, Jn as STANDARD_SIZES, Jt as MonthlyCost, K as CiProvider, Kn as RetryLaterError, Kt as LiveSandboxes, L as CatalogText, Ln as ProviderPreferences, Lr as XAccount, Lt as Health, M as CatalogFlag, Mn as ProviderCatalogEntryUptime, Mr as UsageShareList, Mt as FileList, N as CatalogGpus, Nn as ProviderCredential, Nr as UsageTotal, Nt as ForbiddenError, O as BrandImage, On as ProviderCatalogEntryOperatingSystems, Or as UsageDay, Ot as ExecRequest, P as CatalogLimit, Pn as ProviderCredentialList, Pr as UsageTotals, Pt as GPU_TYPES, Q as CliSignInToken, Qn as SandboxStatus, Qt as OPERATING_SYSTEMS, R as CiAccount, Rn as ProviderSecurity, Rr as XAccountLink, Rt as HealthChecks, S as AutoTopUpRequest, Sn as ProviderCatalogEntryBrand, Sr as UnhealthyError, St as EgressMode, T as Billing, Tn as ProviderCatalogEntryDiskPrice, Tr as UsableKey, Tt as EstimateList, U as CiJobConclusion, Un as RateCardBasis, Ut as LiveCheckOutcome, V as CiInstallationList, Vn as Provider_1, Vt as Key, W as CiJobList, Wn as RateLimitedError, Wt as LiveCheckResult, X as CliSignInStart, Xn as SandboxCost, Xt as NoProviderAvailableError, Y as CliSignIn, Yn as Sandbox, Yt as MonthlyCostList, Z as CliSignInStatus, Zn as SandboxList, Zt as NotFoundError, _ as AgentWebLink, _n as ProviderBenchmarkRun, _r as StatsUnit, _t as CreditTerms, a as ActivityList, an as Plan, ar as SharedUsageFigure, at as CreateKeyRequest, b as AutoTopUp, bn as ProviderCatalog, br as ThemeBrandImage, bt as DiskPriceKind, c as AgentLogs, cn as Pricing, cr as SnapshotList, ct as CreatedKey, d as AgentPresetList, dn as ProblemReportRequest, dr as SpendLimitReachedError, dt as CredentialChoicesRequest, en as OperatingSystem, er as SecurityText, et as ConcurrencyLimitReachedError, f as AgentRouting, fn as Process, fr as StandardSize, ft as CredentialField, g as AgentWebApp, gn as Provider, gr as StatsShare, gt as CreditPurchaseRequest, h as AgentStatus, hn as ProcessTerminal, hr as StatsDay, ht as CreditCheckout, i as ActivityEvent, in as PaidPlan, ir as SharedUsage, it as CreateFailureReason, j as CatalogBrandTerms, jn as ProviderCatalogEntryRates, jr as UsageShareFigure, jt as FileEntryType, k as CI_JOB_CONCLUSIONS, kn as ProviderCatalogEntryPolicy, kr as UsagePeriod, kt as ExecResult, l as AgentNativeSetup, ln as ProInterval, lr as SpendLimit, lt as CredentialChoice, m as AgentSshRequest, mn as ProcessStatus, mr as Stats, mt as CredentialRejectedError, n as AccountLimit, nn as PROVIDERS, nr as SharedStatsOrganization, nt as CreateAgentRequest, o as Agent, on as PlanBiller, or as Slug, ot as CreateSandboxRequest, p as AgentSessionRequest, pn as ProcessRequest, pr as StartCliSignInRequest, pt as CredentialFields, q as CiProviderList, qn as SLUGS, qt as LiveUsage, r as ActivityAction, rn as PROVIDER_1S, rr as SharedStatsUnit, rt as CreateAttempt, s as AgentList, sn as PortPreview, sr as Snapshot, st as CreateUsageShareRequest, t as ACTIVITY_ACTIONS, tn as OperatingSystemPick, tr as SharedStats, tt as ConflictError, u as AgentPreset, un as ProPrice, ur as SpendLimitPeriod, ut as CredentialChoices, v as AgentWebPreview, vn as ProviderBoard, vr as SubscriptionCheckout, vt as DetachedExec, w as BenchmarkResult, wn as ProviderCatalogEntryCreateLatencyMs, wr as UpdateKeyRequest, wt as Estimate, x as AutoTopUpChange, xn as ProviderCatalogEntry, xr as UnauthorizedError, xt as EGRESS_MODES, y as ApiError, yn as ProviderBoardEntry, yr as SubscriptionCheckoutRequest, yt as DetachedExecRequest, z as CiAccountList, zn as ProviderSort, zr as XAccountStatus, zt as IncidentImpact } from "./types-Dyj4MeDD.mjs";
1
+ import { $ as CollectCliSignInRequest, $n as SecurityList, $t as Offer, A as CatalogBenchmarkTerms, An as ProviderCatalogEntryPricesItem, Ar as UsageShare, At as FileEntry, B as CiInstallation, Bn as ProviderStatus, Bt as InvalidRequestError, C as Badge, Cn as ProviderCatalogEntryCapabilities, Cr as UnsupportedError, Ct as EgressPolicy, D as BodyTooLargeError, Dn as ProviderCatalogEntryLinks, Dr as Usage, Dt as ExecEvent, E as BillingPortalSession, En as ProviderCatalogEntryLimits, Er as UsableKeyList, Et as EstimateRequest, F as CatalogList, Fn as ProviderError, Fr as VendorIncident, Ft as Gpu, G as CiLane, Gn as Region, Gt as LiveSandboxStatus, H as CiJob, Hn as REGIONS, Ht as KeyList, I as CatalogOperatingSystems, In as ProviderFeatures, Ir as VendorIncidentRead, It as GpuType, J as CiRunnerFailure, Jn as STANDARD_SIZES, Jt as MonthlyCost, K as CiProvider, Kn as RetryLaterError, Kt as LiveSandboxes, L as CatalogText, Ln as ProviderPreferences, Lr as XAccount, Lt as Health, M as CatalogFlag, Mn as ProviderCatalogEntryUptime, Mr as UsageShareList, Mt as FileList, N as CatalogGpus, Nn as ProviderCredential, Nr as UsageTotal, Nt as ForbiddenError, O as BrandImage, On as ProviderCatalogEntryOperatingSystems, Or as UsageDay, Ot as ExecRequest, P as CatalogLimit, Pn as ProviderCredentialList, Pr as UsageTotals, Pt as GPU_TYPES, Q as CliSignInToken, Qn as SandboxStatus, Qt as OPERATING_SYSTEMS, R as CiAccount, Rn as ProviderSecurity, Rr as XAccountLink, Rt as HealthChecks, S as AutoTopUpRequest, Sn as ProviderCatalogEntryBrand, Sr as UnhealthyError, St as EgressMode, T as Billing, Tn as ProviderCatalogEntryDiskPrice, Tr as UsableKey, Tt as EstimateList, U as CiJobConclusion, Un as RateCardBasis, Ut as LiveCheckOutcome, V as CiInstallationList, Vn as Provider_1, Vt as Key, W as CiJobList, Wn as RateLimitedError, Wt as LiveCheckResult, X as CliSignInStart, Xn as SandboxCost, Xt as NoProviderAvailableError, Y as CliSignIn, Yn as Sandbox, Yt as MonthlyCostList, Z as CliSignInStatus, Zn as SandboxList, Zt as NotFoundError, _ as AgentWebLink, _n as ProviderBenchmarkRun, _r as StatsUnit, _t as CreditTerms, a as ActivityList, an as Plan, ar as SharedUsageFigure, at as CreateKeyRequest, b as AutoTopUp, bn as ProviderCatalog, br as ThemeBrandImage, bt as DiskPriceKind, c as AgentLogs, cn as Pricing, cr as SnapshotList, ct as CreatedKey, d as AgentPresetList, dn as ProblemReportRequest, dr as SpendLimitReachedError, dt as CredentialChoicesRequest, en as OperatingSystem, er as SecurityText, et as ConcurrencyLimitReachedError, f as AgentRouting, fn as Process, fr as StandardSize, ft as CredentialField, g as AgentWebApp, gn as Provider, gr as StatsShare, gt as CreditPurchaseRequest, h as AgentStatus, hn as ProcessTerminal, hr as StatsDay, ht as CreditCheckout, i as ActivityEvent, in as PaidPlan, ir as SharedUsage, it as CreateFailureReason, j as CatalogBrandTerms, jn as ProviderCatalogEntryRates, jr as UsageShareFigure, jt as FileEntryType, k as CI_JOB_CONCLUSIONS, kn as ProviderCatalogEntryPolicy, kr as UsagePeriod, kt as ExecResult, l as AgentNativeSetup, ln as ProInterval, lr as SpendLimit, lt as CredentialChoice, m as AgentSshRequest, mn as ProcessStatus, mr as Stats, mt as CredentialRejectedError, n as AccountLimit, nn as PROVIDERS, nr as SharedStatsOrganization, nt as CreateAgentRequest, o as Agent, on as PlanBiller, or as Slug, ot as CreateSandboxRequest, p as AgentSessionRequest, pn as ProcessRequest, pr as StartCliSignInRequest, pt as CredentialFields, q as CiProviderList, qn as SLUGS, qt as LiveUsage, r as ActivityAction, rn as PROVIDER_1S, rr as SharedStatsUnit, rt as CreateAttempt, s as AgentList, sn as PortPreview, sr as Snapshot, st as CreateUsageShareRequest, t as ACTIVITY_ACTIONS, tn as OperatingSystemPick, tr as SharedStats, tt as ConflictError, u as AgentPreset, un as ProPrice, ur as SpendLimitPeriod, ut as CredentialChoices, v as AgentWebPreview, vn as ProviderBoard, vr as SubscriptionCheckout, vt as DetachedExec, w as BenchmarkResult, wn as ProviderCatalogEntryCreateLatencyMs, wr as UpdateKeyRequest, wt as Estimate, x as AutoTopUpChange, xn as ProviderCatalogEntry, xr as UnauthorizedError, xt as EGRESS_MODES, y as ApiError, yn as ProviderBoardEntry, yr as SubscriptionCheckoutRequest, yt as DetachedExecRequest, z as CiAccountList, zn as ProviderSort, zr as XAccountStatus, zt as IncidentImpact } from "./types-bca78av5.mjs";
2
2
  export { ACTIVITY_ACTIONS, AccountLimit, ActivityAction, ActivityEvent, ActivityList, Agent, AgentList, AgentLogs, AgentNativeSetup, AgentPreset, AgentPresetList, AgentRouting, AgentSessionRequest, AgentSshRequest, AgentStatus, AgentWebApp, AgentWebLink, AgentWebPreview, ApiError, AutoTopUp, AutoTopUpChange, AutoTopUpRequest, Badge, BenchmarkResult, Billing, BillingPortalSession, BodyTooLargeError, BrandImage, CI_JOB_CONCLUSIONS, CatalogBenchmarkTerms, CatalogBrandTerms, CatalogFlag, CatalogGpus, CatalogLimit, CatalogList, CatalogOperatingSystems, CatalogText, CiAccount, CiAccountList, CiInstallation, CiInstallationList, CiJob, CiJobConclusion, CiJobList, CiLane, CiProvider, CiProviderList, CiRunnerFailure, CliSignIn, CliSignInStart, CliSignInStatus, CliSignInToken, CollectCliSignInRequest, ConcurrencyLimitReachedError, ConflictError, CreateAgentRequest, CreateAttempt, CreateFailureReason, CreateKeyRequest, CreateSandboxRequest, CreateUsageShareRequest, CreatedKey, CredentialChoice, CredentialChoices, CredentialChoicesRequest, CredentialField, CredentialFields, CredentialRejectedError, CreditCheckout, CreditPurchaseRequest, CreditTerms, DetachedExec, DetachedExecRequest, DiskPriceKind, EGRESS_MODES, EgressMode, EgressPolicy, Estimate, EstimateList, EstimateRequest, ExecEvent, ExecRequest, ExecResult, FileEntry, FileEntryType, FileList, ForbiddenError, GPU_TYPES, Gpu, GpuType, Health, HealthChecks, IncidentImpact, InvalidRequestError, Key, KeyList, LiveCheckOutcome, LiveCheckResult, LiveSandboxStatus, LiveSandboxes, LiveUsage, MonthlyCost, MonthlyCostList, NoProviderAvailableError, NotFoundError, OPERATING_SYSTEMS, Offer, OperatingSystem, OperatingSystemPick, PROVIDERS, PROVIDER_1S, PaidPlan, Plan, PlanBiller, PortPreview, Pricing, ProInterval, ProPrice, ProblemReportRequest, Process, ProcessRequest, ProcessStatus, ProcessTerminal, Provider, ProviderBenchmarkRun, ProviderBoard, ProviderBoardEntry, ProviderCatalog, ProviderCatalogEntry, ProviderCatalogEntryBrand, ProviderCatalogEntryCapabilities, ProviderCatalogEntryCreateLatencyMs, ProviderCatalogEntryDiskPrice, ProviderCatalogEntryLimits, ProviderCatalogEntryLinks, ProviderCatalogEntryOperatingSystems, ProviderCatalogEntryPolicy, ProviderCatalogEntryPricesItem, ProviderCatalogEntryRates, ProviderCatalogEntryUptime, ProviderCredential, ProviderCredentialList, ProviderError, ProviderFeatures, ProviderPreferences, ProviderSecurity, ProviderSort, ProviderStatus, Provider_1, REGIONS, RateCardBasis, RateLimitedError, Region, RetryLaterError, SLUGS, STANDARD_SIZES, Sandbox, SandboxCost, SandboxList, SandboxStatus, SecurityList, SecurityText, SharedStats, SharedStatsOrganization, SharedStatsUnit, SharedUsage, SharedUsageFigure, Slug, Snapshot, SnapshotList, SpendLimit, SpendLimitPeriod, SpendLimitReachedError, StandardSize, StartCliSignInRequest, Stats, StatsDay, StatsShare, StatsUnit, SubscriptionCheckout, SubscriptionCheckoutRequest, ThemeBrandImage, UnauthorizedError, UnhealthyError, UnsupportedError, UpdateKeyRequest, UsableKey, UsableKeyList, Usage, UsageDay, UsagePeriod, UsageShare, UsageShareFigure, UsageShareList, UsageTotal, UsageTotals, VendorIncident, VendorIncidentRead, XAccount, XAccountLink, XAccountStatus };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sandcovery",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "One API for every sandbox provider. Better prices, better uptime.",
5
5
  "keywords": [
6
6
  "daytona",