@deslop/stash 0.1.1018 → 0.1.1022
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/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env -S node --max-old-space-size=16384 --heapsnapshot-near-heap-limit=3 --report-on-fatalerror
|
|
2
|
-
import { $ as Socket, $l as dual, $o as MinimumLogLevel, Ao as effect, Ar as take, At as TaggedError, B as constPing, Ci as fnUntraced, Cl as assignProperty, Cr as failCause, Ct as Literal, D as option, Di as forkIn, Do as squash, Ea as timeoutOrElse, Er as offerAll, F as layerJson, Fa as whileLoop, Fi as interruptible, Fs as Reference, Gc as succeed$2, Gn as fromQueue, Gt as tag, Ha as exponential, Hc as isSuccess, Hl as hasProperty, Ho as Scope, Hs as getUnsafe, Ht as is, Ia as withFiber, Ic as fail$2, Ii as isEffect, Ir as makeUnsafe, Is as Service, It as decodeSync, J as spanAttributes, Jc as exists, Ji as matchCauseEffect, K as getStreamSchemas, Ki as mapError, Ks as Prototype, L as RequestId, Lo as provide$1, Lr as getCurrent, Ls as add, Lt as decodeUnknownEffect, Mi as ignore, N as withRunClient, Na as useSpan, Ni as ignoreCause, Nt as Union, Oi as forkScoped, Ot as String$6, P as RpcSerialization, Pa as void_, Pi as interrupt$1, Ps as toMillis, Qi as onError, Qs as empty$2, Rr as interrupt$2, Rs as empty$1, Rt as encodeEffect, Sa as tapCause, Sc as reduce, Sl as withFiber$1, So as interruptors, Sr as end, Ss as sync, Ti as forever, Tt as NonEmptyArray, U as exitSchema, Ua as min, Ui as makeSpanScoped, Ul as isNotUndefined, Uo as addFinalizer, Us as make$3, Ut as optional$2, Vi as logInfo, Vs as getOrUndefinedUnsafe, Wa as spaced, Wi as map$3, Wo as addFinalizerExit, Wt as optionalKey, X as Collector, Xa as isEmpty, Xr as andThen, Y as spanName, Z as makeCollectorUnsafe, Za as isNonEmpty, Zl as constVoid, Zr as annotateLogs, _ as QuitError, _a as serviceOption, _o as findError, _t as BooleanLiterals, aa as provide, al as isSome, ar as runHead, at as layerWebSocket, ba as suspend, bc as match, bi as flatMap$1, bo as hasInterrupts, br as bounded, c as NotesError, ca as raceFirst, cl as map$4, dt as HttpClientErrorSchema, el as fromUndefinedOr, et as SocketError, fa as runForkWith, fi as context, fl as some, g as layer, gc as join, gi as ensuring, gt as ArraySchema, h as errorReported, ha as scoped, hc as isReadonlyArrayNonEmpty, hn as value, ic as findLast, ii as catchCauseIf, il as isNone, is as interrupt, j as Stdio, ja as uninterruptibleMask, ji as gen, jl as format, js as taggedEnum, jt as TrueLiterals, kr as shutdownUnsafe, la as result, li as catchTag, ll as match$1, lo as round, m as errorExitCode, mi as delay, mn as make$2, ms as ConsoleRef, na as orDie, nc as findFirst, ni as callback, ns as fail, nu as pipe, oa as provideContext, oi as catchFilter, on as empty, os as isFailure, ot as layerWebSocketConstructorGlobal, p as runMain, pr as unwrap, q as isStreamSchema, qi as match$2, qt as toCodecStringTree, rc as findFirstIndex, ri as catchCause, rl as getOrUndefined, rs as failCause$1, rt as SocketReadError, ru as pipeArguments, sa as provideService, sn as fromInput, t as RpcContracts, ta as onInterrupt, tc as filter$1, tl as getOrElse, to as replace, ts as die, tt as SocketErrorReason, tu as identity, u as LogToStderr, ua as retryOrElse, ui as catchTags, ul as none, un as merge, uo as Clock, v as Terminal, va as succeed$1, vi as fail$1, vt as Defect, w as String$7, wa as timeout, wc as some$1, wi as forEach, x as Crypto, xa as sync$1, xt as FalseLiterals, y as isQuitError, yc as map$5, yt as Error$1, za as withParentSpan, zi as logError, zn as filter, zs as get } from "./contracts-
|
|
2
|
+
import { $ as Socket, $l as dual, $o as MinimumLogLevel, Ao as effect, Ar as take, At as TaggedError, B as constPing, Ci as fnUntraced, Cl as assignProperty, Cr as failCause, Ct as Literal, D as option, Di as forkIn, Do as squash, Ea as timeoutOrElse, Er as offerAll, F as layerJson, Fa as whileLoop, Fi as interruptible, Fs as Reference, Gc as succeed$2, Gn as fromQueue, Gt as tag, Ha as exponential, Hc as isSuccess, Hl as hasProperty, Ho as Scope, Hs as getUnsafe, Ht as is, Ia as withFiber, Ic as fail$2, Ii as isEffect, Ir as makeUnsafe, Is as Service, It as decodeSync, J as spanAttributes, Jc as exists, Ji as matchCauseEffect, K as getStreamSchemas, Ki as mapError, Ks as Prototype, L as RequestId, Lo as provide$1, Lr as getCurrent, Ls as add, Lt as decodeUnknownEffect, Mi as ignore, N as withRunClient, Na as useSpan, Ni as ignoreCause, Nt as Union, Oi as forkScoped, Ot as String$6, P as RpcSerialization, Pa as void_, Pi as interrupt$1, Ps as toMillis, Qi as onError, Qs as empty$2, Rr as interrupt$2, Rs as empty$1, Rt as encodeEffect, Sa as tapCause, Sc as reduce, Sl as withFiber$1, So as interruptors, Sr as end, Ss as sync, Ti as forever, Tt as NonEmptyArray, U as exitSchema, Ua as min, Ui as makeSpanScoped, Ul as isNotUndefined, Uo as addFinalizer, Us as make$3, Ut as optional$2, Vi as logInfo, Vs as getOrUndefinedUnsafe, Wa as spaced, Wi as map$3, Wo as addFinalizerExit, Wt as optionalKey, X as Collector, Xa as isEmpty, Xr as andThen, Y as spanName, Z as makeCollectorUnsafe, Za as isNonEmpty, Zl as constVoid, Zr as annotateLogs, _ as QuitError, _a as serviceOption, _o as findError, _t as BooleanLiterals, aa as provide, al as isSome, ar as runHead, at as layerWebSocket, ba as suspend, bc as match, bi as flatMap$1, bo as hasInterrupts, br as bounded, c as NotesError, ca as raceFirst, cl as map$4, dt as HttpClientErrorSchema, el as fromUndefinedOr, et as SocketError, fa as runForkWith, fi as context, fl as some, g as layer, gc as join, gi as ensuring, gt as ArraySchema, h as errorReported, ha as scoped, hc as isReadonlyArrayNonEmpty, hn as value, ic as findLast, ii as catchCauseIf, il as isNone, is as interrupt, j as Stdio, ja as uninterruptibleMask, ji as gen, jl as format, js as taggedEnum, jt as TrueLiterals, kr as shutdownUnsafe, la as result, li as catchTag, ll as match$1, lo as round, m as errorExitCode, mi as delay, mn as make$2, ms as ConsoleRef, na as orDie, nc as findFirst, ni as callback, ns as fail, nu as pipe, oa as provideContext, oi as catchFilter, on as empty, os as isFailure, ot as layerWebSocketConstructorGlobal, p as runMain, pr as unwrap, q as isStreamSchema, qi as match$2, qt as toCodecStringTree, rc as findFirstIndex, ri as catchCause, rl as getOrUndefined, rs as failCause$1, rt as SocketReadError, ru as pipeArguments, sa as provideService, sn as fromInput, t as RpcContracts, ta as onInterrupt, tc as filter$1, tl as getOrElse, to as replace, ts as die, tt as SocketErrorReason, tu as identity, u as LogToStderr, ua as retryOrElse, ui as catchTags, ul as none, un as merge, uo as Clock, v as Terminal, va as succeed$1, vi as fail$1, vt as Defect, w as String$7, wa as timeout, wc as some$1, wi as forEach, x as Crypto, xa as sync$1, xt as FalseLiterals, y as isQuitError, yc as map$5, yt as Error$1, za as withParentSpan, zi as logError, zn as filter, zs as get } from "./contracts-B4aEKL_A.mjs";
|
|
3
3
|
//#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/workers/WorkerError.js
|
|
4
4
|
/**
|
|
5
5
|
* Worker error reason for failures while spawning or setting up a worker.
|
|
@@ -7255,7 +7255,7 @@ const runWith = (command, config) => {
|
|
|
7255
7255
|
};
|
|
7256
7256
|
//#endregion
|
|
7257
7257
|
//#region package.json
|
|
7258
|
-
var version = "0.1.
|
|
7258
|
+
var version = "0.1.1022";
|
|
7259
7259
|
//#endregion
|
|
7260
7260
|
//#region src/main.cli.ts
|
|
7261
7261
|
function section(title, text) {
|
|
@@ -44539,7 +44539,7 @@ const digest = (algorithm, data) => try_({
|
|
|
44539
44539
|
})
|
|
44540
44540
|
});
|
|
44541
44541
|
//#endregion
|
|
44542
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.
|
|
44542
|
+
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeCrypto.js
|
|
44543
44543
|
/**
|
|
44544
44544
|
* The `NodeCrypto` module provides the Node.js `Crypto` service layer for
|
|
44545
44545
|
* Effect programs. Provide {@link layer} at the edge of a Node application,
|
|
@@ -44941,7 +44941,7 @@ const makeFileSystem = /*#__PURE__*/ map$3(/*#__PURE__*/ serviceOption(WatchBack
|
|
|
44941
44941
|
writeFile
|
|
44942
44942
|
}));
|
|
44943
44943
|
//#endregion
|
|
44944
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.
|
|
44944
|
+
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeFileSystem.js
|
|
44945
44945
|
/**
|
|
44946
44946
|
* Node.js `FileSystem` layer for programs that perform real filesystem I/O.
|
|
44947
44947
|
*
|
|
@@ -45001,7 +45001,7 @@ const fileUrlOps = (windows) => ({
|
|
|
45001
45001
|
.../*#__PURE__*/ fileUrlOps(true)
|
|
45002
45002
|
});
|
|
45003
45003
|
//#endregion
|
|
45004
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.
|
|
45004
|
+
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodePath.js
|
|
45005
45005
|
/**
|
|
45006
45006
|
* Node.js layers for Effect's `Path` service.
|
|
45007
45007
|
*
|
|
@@ -45027,7 +45027,7 @@ const layer$6 = /* @__PURE__ */ succeed$5(Path$1)({
|
|
|
45027
45027
|
.../*#__PURE__*/ fileUrlOps(void 0)
|
|
45028
45028
|
});
|
|
45029
45029
|
//#endregion
|
|
45030
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.
|
|
45030
|
+
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeStdio.js
|
|
45031
45031
|
/**
|
|
45032
45032
|
* Node.js `Stdio` layer for the current process.
|
|
45033
45033
|
*
|
|
@@ -45275,7 +45275,7 @@ function defaultShouldQuit(input) {
|
|
|
45275
45275
|
return input.key.ctrl && (input.key.name === "c" || input.key.name === "d");
|
|
45276
45276
|
}
|
|
45277
45277
|
//#endregion
|
|
45278
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.
|
|
45278
|
+
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeServices.js
|
|
45279
45279
|
/**
|
|
45280
45280
|
* Provides the default Node implementations for child process spawning,
|
|
45281
45281
|
* filesystem, path, stdio, and terminal services.
|
|
@@ -45577,7 +45577,7 @@ const getErrorReported = (u) => {
|
|
|
45577
45577
|
return true;
|
|
45578
45578
|
};
|
|
45579
45579
|
//#endregion
|
|
45580
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.
|
|
45580
|
+
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeRuntime.js
|
|
45581
45581
|
/**
|
|
45582
45582
|
* Node.js process runner for Effect programs.
|
|
45583
45583
|
*
|
package/dist/server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env -S node --max-old-space-size=16384 --heapsnapshot-near-heap-limit=3 --report-on-fatalerror
|
|
2
|
-
import { $a as match$2, $c as fromNullishOr, $i as onExit, $l as dual, $n as mkUint8Array, $r as asSome, $s as ensure, $t as fromInput, A as withDefault, Aa as uninterruptible, Ac as has$4, Ai as fromResult, Al as toStringUnknown, An as toEpochMillis, Ao as effect, Ar as take, As as TaggedError, At as TaggedError$1, Ba as withSpan, Bc as isFailure, Bi as logFatal, Bl as string, Bn as flatMap$4, Bo as succeedContext, Br as interruptAs, Bs as getOrUndefined$1, Bt as encodeUnknownEffect$1, C as Redacted, Ca as tapError, Cc as reverse, Ci as fnUntraced, Cn as toArrayBuffer, Co as isNoSuchElementError, Cs as DisablePropagation, D as option, Da as transposeOption, Dc as takeRight, Dl as Class, Dn as ChildProcessSpawner, Do as squash, Dr as offerUnsafe, Ds as make$32, Dt as Record, E as map$8, Ea as timeoutOrElse, Ec as take$1, Ei as forkChild, El as BaseProto, En as make$29, Eo as prettyErrors, Es as externalSpan, Et as NullOr, F as layerJson, Fa as whileLoop, Fc as make$30, Fi as interruptible, Fn as decodeText, Fo as merge$3, Fr as set$2, Fs as Reference, Ft as decodeEffect, G as ClientAbort$1, Ga as catchDone, Gc as succeed, Gi as mapEager, Gl as isTagged, Gn as fromQueue, Go as close, Gr as gibibytes, Gs as merge$1, H as ServerClient, Hc as isSuccess, Hi as logWarning, Hl as hasProperty, Ho as Scope, Hr as badArgument, Hs as getUnsafe, Ht as is$4, I as layerSchemaBinary, Ia as withFiber, Ic as fail, Ii as isEffect, Il as combine, Io as mergeAll, Ir as makeUnsafe$4, Is as Service, J as spanAttributes, Ja as endsWith, Jc as exists, Ji as matchCauseEffect, Jl as constFalse, Jn as limitBytes, Jo as make$26, Jr as acquireRelease, Js as contains$1, Jt as toJsonSchemaDocument, K as getStreamSchemas, Kc as try_, Ki as mapError, Kl as isUndefined, Kn as fromReadableStream, Ko as closeUnsafe, Kr as mebibytes, Kt as toCodecJson, L as RequestId, La as withFiberSucceed, Lc as flatMap, Li as log, Ll as hash, Ln as ensuring, Lo as provide, Lr as getCurrent, Ls as add$1, Lt as decodeUnknownEffect, M as withRun, Ma as updateContext, Mc as map$7, Mi as ignore$1, Ml as redact, Mn as Path, Mo as effectDiscard, Mr as publishUnsafe, Ms as parts, Mt as Tuple, Na as useSpan, Nc as toEntries, Nl as equals, Nn as FileSystem, No as empty$11, Nr as unbounded, Ns as seconds, O as succeed$5, Oa as tryPromise, Oc as assignProperty, Oi as forkScoped, Ol as NodeInspectSymbol, On as encode, Oo as CurrentMemoMap, Or as shutdown, Os as nativeTracer, Ot as String$1, P as RpcSerialization, Pa as void_, Pc as empty$10, Pi as interrupt, Pl as symbol$1, Pn as concat, Po as launch, Pr as make$24, Pt as Unknown, Q as CloseEvent, Qa as length, Qc as flatten, Qi as onError, Ql as constant, Qn as mkString, Qo as CurrentLogSpans, Qr as as$1, Qs as empty$9, Qt as empty$5, R as ResponseDefectEncoded, Ra as withLogSpan, Rc as getOrElse$1, Ri as logDebug, Rl as number, Rn as fail$2, Ro as provideMerge, Rt as encodeEffect, S as Port, Sa as tapCause, Sc as reduce, Si as fn$1, Sn as pipeThroughDuplex, Sr as end$1, St as Finite, T as URL$3, Ta as timeoutOption, Tc as sort, Tl as setStackTraceLimit, Tn as fromWritable, To as map$3, Tr as offer, Ts as Tracer, Tt as NonEmptyArray, U as exitSchema, Uc as map$1, Ul as isNotUndefined, Un as fromIterable, Uo as addFinalizer, Ur as fromInput$2, Ut as optional$1, V as constPong, Va as zipWith, Vc as isResult, Vi as logInfo, Vl as symbol$2, Vn as fromArray, Vo as unwrap$2, Vr as runIn, Vs as getOrUndefinedUnsafe, Vt as fromJsonString, W as isWrapper, Wc as match$3, Wi as map$2, Wl as isObject, Wn as fromPubSub, Wo as addFinalizerExit, Wr as fromInputUnsafe, Ws as makeUnsafe$3, Wt as optionalKey, X as Collector, Xa as isEmpty$2, Xc as flatMap$2, Xi as matchEffect, Xl as constUndefined, Xn as mapAccum, Xo as provide$1, Xr as andThen, Xs as dedupeAdjacentWith, Xt as omit, Y as spanName, Ya as includes, Yc as filter$4, Yi as matchCauseEffectEager, Yl as constTrue, Yn as map$4, Yo as makeUnsafe$2, Yr as all, Ys as dedupe, Yt as isSchemaError, Z as makeCollectorUnsafe, Za as isNonEmpty$1, Zc as flatMapNullishOr, Zi as never, Zl as constVoid, Zn as mapError$1, Zo as CurrentLogAnnotations, Zr as annotateLogs, Zs as drop, Zt as encodeUnknownEffect, _c as last$1, _i as exit, _l as flip, _n as fromSetCookie, _s as fiberEnterUninterruptibleUnsafe, a as ImageType, aa as provide$2, ac as flatMap$3, ai as catchDefect, al as isSome, an as CurrentRedactedNames, ao as toLowerCase, as as isExit, b as layer$11, ba as suspend, bi as flatMap$1, bl as contA, bn as toSetCookieHeaders, bo as hasInterrupts, bs as onExitUnsafe, bt as Exit, c as NotesError, ca as raceFirst, cc as getSomes, ci as catchReason, cl as map$5, cn as fromRecordUnsafe, co as parse$10, cs as succeed$4, ct as EmptyBodyError, d as layer$13, da as runFork, dc as head, di as catch_, dl as orElse$2, dn as remove$3, dr as toReadableStreamEffect, ds as into, ea as onExitPrimitive, ec as every, ei as asVoid, el as fromUndefinedOr, en as setAll$1, eo as padStart, er as orDie$1, es as TracerTimingEnabled, et as SocketError, eu as flow, f as make$31, fa as runForkWith, fc as headNonEmpty, fi as context$1, fl as some$1, fn as set$3, fo as StackTrace, fs as isDeferred, ft as InvalidUrlError, g as layer$12, ga as service, gc as join, gi as ensuring$1, gl as combine$2, gn as empty$7, go as filterInterruptors, gs as fiberEnterInterruptibleUnsafe, gt as ArraySchema, ha as scoped, hc as isReadonlyArrayNonEmpty, hi as die$1, hl as String$2, hn as value$2, hs as effectIsExit, ht as Any, i as FileType, ia as promise, il as isNone, in as get$6, io as startsWith, ir as runForEachArray, is as interrupt$1, it as fromWebSocket, ja as uninterruptibleMask, jc as keys, ji as gen, jl as format$1, jn as defaultFormatter, jo as effectContext, jr as takeAll, k as unwrap$3, ka as try_$1, kc as filter$5, ki as fromOption, kl as toJson, kn as now, ko as buildWithMemoMap, ks as Error$1, kt as Struct, l as Organization, la as result$1, lc as getUnsafe$1, li as catchTag, ll as match$1, ln as isRedactedName, lr as suspend$1, ls as _await, lt as EncodeError, ma as scope, mc as isReadonlyArrayEmpty, ml as Number$1, mn as make$28, mo as die$2, mt as TransportError, n as Capture, na as orDie, nc as findFirst, ni as callback, nl as getOrNull, nn as has$3, no as slice$2, nr as run$2, ns as fail$3, nt as SocketOpenError, nu as pipe, o as Note, oa as provideContext, oc as fromIterable$1, ol as liftPredicate, on as empty$6, oo as trim, or as runLast, os as isFailure$1, p as runMain, pa as runSync, pc as isArray, pi as contextWith, pl as toArray$1, pn as setAll, po as combine$1, pr as unwrap$1, ps as makeUnsafe$5, pt as StatusCodeError, q as isStreamSchema, qa as Random$2, qc as contains$2, ql as compose$1, qn as groupedWithin, qo as forkUnsafe, qr as zero, qs as allocate, r as Extraction, ra as orElseSucceed, rc as findFirstIndex, ri as catchCause, rl as getOrUndefined, rn as fromIterable$2, ro as split, rr as runForEach, rs as failCause$1, ru as pipeArguments, s as NoteId, sa as provideService, sc as get$7, si as catchIf, sl as liftThrowable, sn as fromInput$1, so as max$1, sr as scan, ss as isSuccess$1, st as DecodeError, t as RpcContracts, ta as onInterrupt, tc as filter$3, ti as cached, tl as getOrElse, tn as fromIterable$3, to as replace$1, ts as die, tu as identity, uc as groupBy, ul as none, un as merge$2, uo as Clock, ur as takeUntil, us as doneUnsafe, ut as HttpClientError, va as succeed$1, vc as lastNonEmpty, vi as fail$1, vl as mapInput, vn as isEmpty$1, vo as fromReasons, vr as make$25, vs as forkUnsafe$1, vt as Defect, w as String$3, wa as timeout, wc as some$2, wi as forEach, wl as getStackTraceLimit, wn as toUint8Array$1, wo as makeDieReason, wr as make$27, ws as ParentSpan, wt as Never, xa as sync, xc as prepend$2, xi as flatMapEager, xl as contE, xn as fromReadable, xo as hasInterruptsOnly, xr as collect, xs as reportCauseUnsafe, ya as succeedNone, yc as map$6, yi as failCause, yl as PipeInspectableProto, yn as parseHeader, yo as hasDies, yr as makeUnsafe$6, ys as makeSpanUnsafe, z as constEof, za as withParentSpan, zc as getOrThrow, zl as optimize, zo as succeed$2, zr as interruptAll, zs as get$5, zt as encodeSync } from "./contracts-
|
|
2
|
+
import { $a as match$2, $c as fromNullishOr, $i as onExit, $l as dual, $n as mkUint8Array, $r as asSome, $s as ensure, $t as fromInput, A as withDefault, Aa as uninterruptible, Ac as has$4, Ai as fromResult, Al as toStringUnknown, An as toEpochMillis, Ao as effect, Ar as take, As as TaggedError, At as TaggedError$1, Ba as withSpan, Bc as isFailure, Bi as logFatal, Bl as string, Bn as flatMap$4, Bo as succeedContext, Br as interruptAs, Bs as getOrUndefined$1, Bt as encodeUnknownEffect$1, C as Redacted, Ca as tapError, Cc as reverse, Ci as fnUntraced, Cn as toArrayBuffer, Co as isNoSuchElementError, Cs as DisablePropagation, D as option, Da as transposeOption, Dc as takeRight, Dl as Class, Dn as ChildProcessSpawner, Do as squash, Dr as offerUnsafe, Ds as make$32, Dt as Record, E as map$8, Ea as timeoutOrElse, Ec as take$1, Ei as forkChild, El as BaseProto, En as make$29, Eo as prettyErrors, Es as externalSpan, Et as NullOr, F as layerJson, Fa as whileLoop, Fc as make$30, Fi as interruptible, Fn as decodeText, Fo as merge$3, Fr as set$2, Fs as Reference, Ft as decodeEffect, G as ClientAbort$1, Ga as catchDone, Gc as succeed, Gi as mapEager, Gl as isTagged, Gn as fromQueue, Go as close, Gr as gibibytes, Gs as merge$1, H as ServerClient, Hc as isSuccess, Hi as logWarning, Hl as hasProperty, Ho as Scope, Hr as badArgument, Hs as getUnsafe, Ht as is$4, I as layerSchemaBinary, Ia as withFiber, Ic as fail, Ii as isEffect, Il as combine, Io as mergeAll, Ir as makeUnsafe$4, Is as Service, J as spanAttributes, Ja as endsWith, Jc as exists, Ji as matchCauseEffect, Jl as constFalse, Jn as limitBytes, Jo as make$26, Jr as acquireRelease, Js as contains$1, Jt as toJsonSchemaDocument, K as getStreamSchemas, Kc as try_, Ki as mapError, Kl as isUndefined, Kn as fromReadableStream, Ko as closeUnsafe, Kr as mebibytes, Kt as toCodecJson, L as RequestId, La as withFiberSucceed, Lc as flatMap, Li as log, Ll as hash, Ln as ensuring, Lo as provide, Lr as getCurrent, Ls as add$1, Lt as decodeUnknownEffect, M as withRun, Ma as updateContext, Mc as map$7, Mi as ignore$1, Ml as redact, Mn as Path, Mo as effectDiscard, Mr as publishUnsafe, Ms as parts, Mt as Tuple, Na as useSpan, Nc as toEntries, Nl as equals, Nn as FileSystem, No as empty$11, Nr as unbounded, Ns as seconds, O as succeed$5, Oa as tryPromise, Oc as assignProperty, Oi as forkScoped, Ol as NodeInspectSymbol, On as encode, Oo as CurrentMemoMap, Or as shutdown, Os as nativeTracer, Ot as String$1, P as RpcSerialization, Pa as void_, Pc as empty$10, Pi as interrupt, Pl as symbol$1, Pn as concat, Po as launch, Pr as make$24, Pt as Unknown, Q as CloseEvent, Qa as length, Qc as flatten, Qi as onError, Ql as constant, Qn as mkString, Qo as CurrentLogSpans, Qr as as$1, Qs as empty$9, Qt as empty$5, R as ResponseDefectEncoded, Ra as withLogSpan, Rc as getOrElse$1, Ri as logDebug, Rl as number, Rn as fail$2, Ro as provideMerge, Rt as encodeEffect, S as Port, Sa as tapCause, Sc as reduce, Si as fn$1, Sn as pipeThroughDuplex, Sr as end$1, St as Finite, T as URL$3, Ta as timeoutOption, Tc as sort, Tl as setStackTraceLimit, Tn as fromWritable, To as map$3, Tr as offer, Ts as Tracer, Tt as NonEmptyArray, U as exitSchema, Uc as map$1, Ul as isNotUndefined, Un as fromIterable, Uo as addFinalizer, Ur as fromInput$2, Ut as optional$1, V as constPong, Va as zipWith, Vc as isResult, Vi as logInfo, Vl as symbol$2, Vn as fromArray, Vo as unwrap$2, Vr as runIn, Vs as getOrUndefinedUnsafe, Vt as fromJsonString, W as isWrapper, Wc as match$3, Wi as map$2, Wl as isObject, Wn as fromPubSub, Wo as addFinalizerExit, Wr as fromInputUnsafe, Ws as makeUnsafe$3, Wt as optionalKey, X as Collector, Xa as isEmpty$2, Xc as flatMap$2, Xi as matchEffect, Xl as constUndefined, Xn as mapAccum, Xo as provide$1, Xr as andThen, Xs as dedupeAdjacentWith, Xt as omit, Y as spanName, Ya as includes, Yc as filter$4, Yi as matchCauseEffectEager, Yl as constTrue, Yn as map$4, Yo as makeUnsafe$2, Yr as all, Ys as dedupe, Yt as isSchemaError, Z as makeCollectorUnsafe, Za as isNonEmpty$1, Zc as flatMapNullishOr, Zi as never, Zl as constVoid, Zn as mapError$1, Zo as CurrentLogAnnotations, Zr as annotateLogs, Zs as drop, Zt as encodeUnknownEffect, _c as last$1, _i as exit, _l as flip, _n as fromSetCookie, _s as fiberEnterUninterruptibleUnsafe, a as ImageType, aa as provide$2, ac as flatMap$3, ai as catchDefect, al as isSome, an as CurrentRedactedNames, ao as toLowerCase, as as isExit, b as layer$11, ba as suspend, bi as flatMap$1, bl as contA, bn as toSetCookieHeaders, bo as hasInterrupts, bs as onExitUnsafe, bt as Exit, c as NotesError, ca as raceFirst, cc as getSomes, ci as catchReason, cl as map$5, cn as fromRecordUnsafe, co as parse$10, cs as succeed$4, ct as EmptyBodyError, d as layer$13, da as runFork, dc as head, di as catch_, dl as orElse$2, dn as remove$3, dr as toReadableStreamEffect, ds as into, ea as onExitPrimitive, ec as every, ei as asVoid, el as fromUndefinedOr, en as setAll$1, eo as padStart, er as orDie$1, es as TracerTimingEnabled, et as SocketError, eu as flow, f as make$31, fa as runForkWith, fc as headNonEmpty, fi as context$1, fl as some$1, fn as set$3, fo as StackTrace, fs as isDeferred, ft as InvalidUrlError, g as layer$12, ga as service, gc as join, gi as ensuring$1, gl as combine$2, gn as empty$7, go as filterInterruptors, gs as fiberEnterInterruptibleUnsafe, gt as ArraySchema, ha as scoped, hc as isReadonlyArrayNonEmpty, hi as die$1, hl as String$2, hn as value$2, hs as effectIsExit, ht as Any, i as FileType, ia as promise, il as isNone, in as get$6, io as startsWith, ir as runForEachArray, is as interrupt$1, it as fromWebSocket, ja as uninterruptibleMask, jc as keys, ji as gen, jl as format$1, jn as defaultFormatter, jo as effectContext, jr as takeAll, k as unwrap$3, ka as try_$1, kc as filter$5, ki as fromOption, kl as toJson, kn as now, ko as buildWithMemoMap, ks as Error$1, kt as Struct, l as Organization, la as result$1, lc as getUnsafe$1, li as catchTag, ll as match$1, ln as isRedactedName, lr as suspend$1, ls as _await, lt as EncodeError, ma as scope, mc as isReadonlyArrayEmpty, ml as Number$1, mn as make$28, mo as die$2, mt as TransportError, n as Capture, na as orDie, nc as findFirst, ni as callback, nl as getOrNull, nn as has$3, no as slice$2, nr as run$2, ns as fail$3, nt as SocketOpenError, nu as pipe, o as Note, oa as provideContext, oc as fromIterable$1, ol as liftPredicate, on as empty$6, oo as trim, or as runLast, os as isFailure$1, p as runMain, pa as runSync, pc as isArray, pi as contextWith, pl as toArray$1, pn as setAll, po as combine$1, pr as unwrap$1, ps as makeUnsafe$5, pt as StatusCodeError, q as isStreamSchema, qa as Random$2, qc as contains$2, ql as compose$1, qn as groupedWithin, qo as forkUnsafe, qr as zero, qs as allocate, r as Extraction, ra as orElseSucceed, rc as findFirstIndex, ri as catchCause, rl as getOrUndefined, rn as fromIterable$2, ro as split, rr as runForEach, rs as failCause$1, ru as pipeArguments, s as NoteId, sa as provideService, sc as get$7, si as catchIf, sl as liftThrowable, sn as fromInput$1, so as max$1, sr as scan, ss as isSuccess$1, st as DecodeError, t as RpcContracts, ta as onInterrupt, tc as filter$3, ti as cached, tl as getOrElse, tn as fromIterable$3, to as replace$1, ts as die, tu as identity, uc as groupBy, ul as none, un as merge$2, uo as Clock, ur as takeUntil, us as doneUnsafe, ut as HttpClientError, va as succeed$1, vc as lastNonEmpty, vi as fail$1, vl as mapInput, vn as isEmpty$1, vo as fromReasons, vr as make$25, vs as forkUnsafe$1, vt as Defect, w as String$3, wa as timeout, wc as some$2, wi as forEach, wl as getStackTraceLimit, wn as toUint8Array$1, wo as makeDieReason, wr as make$27, ws as ParentSpan, wt as Never, xa as sync, xc as prepend$2, xi as flatMapEager, xl as contE, xn as fromReadable, xo as hasInterruptsOnly, xr as collect, xs as reportCauseUnsafe, ya as succeedNone, yc as map$6, yi as failCause, yl as PipeInspectableProto, yn as parseHeader, yo as hasDies, yr as makeUnsafe$6, ys as makeSpanUnsafe, z as constEof, za as withParentSpan, zc as getOrThrow, zl as optimize, zo as succeed$2, zr as interruptAll, zs as get$5, zt as encodeSync } from "./contracts-B4aEKL_A.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { Duplex, Readable, pipeline } from "node:stream";
|
|
5
5
|
import * as Http from "node:http";
|
|
@@ -10848,7 +10848,7 @@ require_subprotocol();
|
|
|
10848
10848
|
require_websocket$1();
|
|
10849
10849
|
var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
|
|
10850
10850
|
//#endregion
|
|
10851
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.
|
|
10851
|
+
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
|
|
10852
10852
|
/**
|
|
10853
10853
|
* Adapter base for exposing Node `http.IncomingMessage` values as Effect HTTP
|
|
10854
10854
|
* incoming messages.
|
|
@@ -11329,7 +11329,7 @@ const compressTransform = (algorithm, options) => {
|
|
|
11329
11329
|
}
|
|
11330
11330
|
};
|
|
11331
11331
|
//#endregion
|
|
11332
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.
|
|
11332
|
+
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeHttpPlatform.js
|
|
11333
11333
|
/**
|
|
11334
11334
|
* Node.js implementation of the Effect HTTP platform service.
|
|
11335
11335
|
*
|
|
@@ -11438,7 +11438,7 @@ const make$6 = /*#__PURE__*/ make$17({
|
|
|
11438
11438
|
*/
|
|
11439
11439
|
const layer$6 = /*#__PURE__*/ pipe(/*#__PURE__*/ effect(HttpPlatform)(make$6), /*#__PURE__*/ provide(layer$11), /*#__PURE__*/ provide(layer$10));
|
|
11440
11440
|
//#endregion
|
|
11441
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.
|
|
11441
|
+
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeMultipartParser.js
|
|
11442
11442
|
/**
|
|
11443
11443
|
* A Node.js duplex stream that parses multipart input.
|
|
11444
11444
|
*
|
|
@@ -11541,7 +11541,7 @@ var FileStream = class extends Readable {
|
|
|
11541
11541
|
}
|
|
11542
11542
|
};
|
|
11543
11543
|
//#endregion
|
|
11544
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.
|
|
11544
|
+
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeMultipart.js
|
|
11545
11545
|
/**
|
|
11546
11546
|
* Node.js multipart parsing for HTTP `multipart/form-data` request bodies.
|
|
11547
11547
|
*
|
|
@@ -11655,7 +11655,7 @@ function convertError(cause) {
|
|
|
11655
11655
|
}
|
|
11656
11656
|
}
|
|
11657
11657
|
//#endregion
|
|
11658
|
-
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.
|
|
11658
|
+
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.2_effect@4.0.2_redis@6.3.0_@opentelemetry+api@1.9.1_/node_modules/@effect/platform-node/dist/NodeHttpServer.js
|
|
11659
11659
|
/**
|
|
11660
11660
|
* Node.js implementation of the Effect `HttpServer`.
|
|
11661
11661
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deslop/stash",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1022",
|
|
4
4
|
"description": "A personal inbox for links and notes: the server, the iOS app, and a CLI that saves to it.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,12 @@
|
|
|
15
15
|
],
|
|
16
16
|
"type": "module",
|
|
17
17
|
"sideEffects": false,
|
|
18
|
+
"main": "src/main.client.tsx",
|
|
18
19
|
"imports": {
|
|
20
|
+
"#lib/*": "./src/lib/*",
|
|
21
|
+
"#modules/*": "./modules/*",
|
|
19
22
|
"#package": "./package.json",
|
|
23
|
+
"#routes/*": "./src/routes/*",
|
|
20
24
|
"#rpcs/*": "./src/rpcs/*",
|
|
21
25
|
"#services/*": "./src/services/*"
|
|
22
26
|
},
|
|
@@ -24,9 +28,18 @@
|
|
|
24
28
|
"access": "public"
|
|
25
29
|
},
|
|
26
30
|
"devDependencies": {
|
|
31
|
+
"@bacons/apple-targets": "latest",
|
|
32
|
+
"@deslop/components-mobile": "0.0.0",
|
|
27
33
|
"@deslop/runtime": "0.0.0",
|
|
34
|
+
"@expo/ui": "^58.0.15",
|
|
28
35
|
"@huggingface/transformers": "4.3.0",
|
|
36
|
+
"babel-preset-expo": "^58.0.12",
|
|
29
37
|
"cheerio": "latest",
|
|
38
|
+
"expo-clipboard": "^58.0.3",
|
|
39
|
+
"expo-crypto": "^58.0.6",
|
|
40
|
+
"expo-dev-client": "^58.0.12",
|
|
41
|
+
"expo-file-system": "^58.0.8",
|
|
42
|
+
"expo-updates": "^58.0.15",
|
|
30
43
|
"onnxruntime-common": "1.30.0",
|
|
31
44
|
"onnxruntime-node": "1.30.0",
|
|
32
45
|
"sharp": "latest"
|
|
@@ -36,6 +49,7 @@
|
|
|
36
49
|
},
|
|
37
50
|
"scripts": {
|
|
38
51
|
"build": "rm -rf dist && vp pack",
|
|
52
|
+
"dev": "EXPO_PACKAGER_PROXY_URL=https://dev.tailnet-8c4c.ts.net:8081 expo start --dev-client --localhost",
|
|
39
53
|
"preview": "vp run build && HOST=127.0.0.1 PORT=5017 node --env-file-if-exists=$HOME/.deslop/stash.env ./dist/server.js"
|
|
40
54
|
}
|
|
41
55
|
}
|