getborg 0.0.109 → 0.0.118
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/{BunPtyAdapter-B8CZTUkK.mjs → BunPtyAdapter-kPTUT2mb.mjs} +3 -3
- package/dist/{Config-DFbx48ty.mjs → Config-DvH5tPG0.mjs} +2 -2
- package/dist/{FetchHttpClient-DEMRQKIB.mjs → FetchHttpClient-C-jciW95.mjs} +3 -3
- package/dist/{FileSystem-41Cezpd1.mjs → FileSystem-NX0EtGtm.mjs} +109 -3
- package/dist/{Mime-D2854Tqo.mjs → Mime-C6O17O_3.mjs} +5 -5
- package/dist/{NodeHttpIncomingMessage-BqU9AHA2.mjs → NodeHttpIncomingMessage-CylGKvlB.mjs} +4 -4
- package/dist/{NodeHttpServer-C-eqvdR4.mjs → NodeHttpServer-EarHJJzn.mjs} +9 -9
- package/dist/{NodePtyAdapter-BdtcaYPg.mjs → NodePtyAdapter-C6ioPYk6.mjs} +5 -5
- package/dist/{NodeServices-pD4zkANr.mjs → NodeServices-C18DO3cx.mjs} +6 -6
- package/dist/{NodeSqliteClient-BIVa5aFu.mjs → NodeSqliteClient-CWkKfsSo.mjs} +5 -5
- package/dist/{NodeStream-BjNgA5_1.mjs → NodeStream-1N7oXzTp.mjs} +3 -3
- package/dist/{Path-D8BPsRhh.mjs → Path-ZDpyUmZ1.mjs} +2 -2
- package/dist/{PtyAdapter-B9zQDp9u.mjs → PtyAdapter-DSEyRij4.mjs} +2 -2
- package/dist/{Schema-DkAVclKk.mjs → Schema-CA_wFfhH.mjs} +141 -4
- package/dist/{SqlClient-JflyUX7a.mjs → SqlClient-Cusaqpaw.mjs} +3 -3
- package/dist/bin.mjs +7894 -2484
- package/dist/{borgTelemetryNode-B0vVayda.mjs → borgTelemetryNode-CHLcRFOW.mjs} +6 -6
- package/dist/client/.vite/manifest.json +330 -330
- package/dist/client/assets/ArrowRight-CgvCTAzu.js +2 -0
- package/dist/client/assets/ArrowSquareOut-C1CwJQ7R.js +2 -0
- package/dist/client/assets/ArrowsClockwise-CBwAQTtQ.js +2 -0
- package/dist/client/assets/CaretLeft-Bk0n02vc.js +2 -0
- package/dist/client/assets/ChatMarkdown-BhfpBJaq.js +249 -0
- package/dist/client/assets/DesignWorkspace-okkekyBu.js +3 -0
- package/dist/client/assets/DiffPanel-Dn_Or9fx.js +2 -0
- package/dist/client/assets/DiffWorkerPoolProvider-Hp3trMBG.js +10 -0
- package/dist/client/assets/DocxPreview-DHnzhQMX.js +17 -0
- package/dist/client/assets/{FilePreviewPanel-CeAwd87I.js → FilePreviewPanel-KOVwBhPe.js} +19 -19
- package/dist/client/assets/HtmlPreview-I3xV5YgS.js +2 -0
- package/dist/client/assets/PdfPreview-CjWrZkCM.js +3 -0
- package/dist/client/assets/PptxPreview-D4YsFq_s.js +3 -0
- package/dist/client/assets/PreviewPanel-CKieJ-9L.js +2 -0
- package/dist/client/assets/PullRequestCodeTab-DbUx3FWB.js +6 -0
- package/dist/client/assets/{PullRequestReactions-BWjOU4KY.js → PullRequestReactions-BSI_Qt4L.js} +4 -4
- package/dist/client/assets/{RightPanelResizeHandle-DZdzK7y3.js → RightPanelResizeHandle-DBci-Ee2.js} +2 -2
- package/dist/client/assets/VirtualizedFile-VSzhLWFM.js +2 -0
- package/dist/client/assets/XlsxPreview-BnnrdNes.js +3 -0
- package/dist/client/assets/accountData-C4ZvicpJ.js +16 -0
- package/dist/client/assets/assetUrls-C2vkiSgX.js +2 -0
- package/dist/client/assets/browserHistoryStore-CIr_OQCq.js +4 -0
- package/dist/client/assets/browserRecording-BmG6q-H4.js +2 -0
- package/dist/client/assets/clientPersistenceStorage-BlYjZvCd.js +2 -0
- package/dist/client/assets/combobox-uXzVxkLc.js +2 -0
- package/dist/client/assets/composerMentionDrag-DTGN7WcV.js +2 -0
- package/dist/client/assets/designCanvas.logic-DtK3Ht6X.js +8 -0
- package/dist/client/assets/designOpenFileContext-DCJpUleA.js +2 -0
- package/dist/client/assets/diffFileContents-CFjzWK4l.js +248 -0
- package/dist/client/assets/empty-tcpR9LH8.js +2 -0
- package/dist/client/assets/entities-Da-AvwsX.js +2 -0
- package/dist/client/assets/env-71Gq9H0m.js +2 -0
- package/dist/client/assets/{index-BKWzfr1Y.js → index-DraeEDbf.js} +3 -3
- package/dist/client/assets/input-BRLXkmUH.js +2 -0
- package/dist/client/assets/{lib-DyhHMOev.js → lib-ay4Y8Jpt.js} +2 -2
- package/dist/client/assets/main-Bn8Ylf8R.js +161 -0
- package/dist/client/assets/main-YscGsfgO.css +2 -0
- package/dist/client/assets/{pdf-C_AIVI51.js → pdf-BH4RlEy2.js} +2 -2
- package/dist/client/assets/popover-DTprsoPQ.js +2 -0
- package/dist/client/assets/{pptxDocument-CHL8asXA.js → pptxDocument-ifTk53yH.js} +2 -2
- package/dist/client/assets/projectFilesQueryState-CD_JXBj5.js +2 -0
- package/dist/client/assets/queries-D1AwaR_5.js +2 -0
- package/dist/client/assets/scroll-area-j6QV0udq.js +1634 -0
- package/dist/client/assets/session-BaysTZDD.js +67 -0
- package/dist/client/assets/spinner-DHhZaoFg.js +2 -0
- package/dist/client/assets/textarea-BB3euU4O.js +5 -0
- package/dist/client/assets/toggle-DwBa6pBo.js +2 -0
- package/dist/client/assets/toggle-group-BU7-0DcW.js +2 -0
- package/dist/client/assets/useWorkspaceMutationRefresh-DLI4brDf.js +2 -0
- package/dist/client/assets/utils-DgzD4MA_.js +30 -0
- package/dist/client/assets/{xlsxDocument-ANMZ6ewU.js → xlsxDocument-DwhEMpfP.js} +2 -2
- package/dist/client/index.html +1 -1
- package/dist/service-launcher.mjs +1 -1
- package/package.json +1 -1
- package/dist/client/assets/ArrowRight-BOicMyF9.js +0 -2
- package/dist/client/assets/ArrowSquareOut-D7Y2Tt3L.js +0 -2
- package/dist/client/assets/ArrowsClockwise-DycxhEkt.js +0 -2
- package/dist/client/assets/CaretLeft-CDMA3Uas.js +0 -2
- package/dist/client/assets/ChatMarkdown-Cl8M9HCx.js +0 -247
- package/dist/client/assets/DesignWorkspace-DBL7AxwS.js +0 -3
- package/dist/client/assets/DiffPanel-BJ-Ix_7K.js +0 -2
- package/dist/client/assets/DiffWorkerPoolProvider-_R9JGgmp.js +0 -10
- package/dist/client/assets/DocxPreview-BFCC5VXn.js +0 -17
- package/dist/client/assets/HtmlPreview-BpBdu9_j.js +0 -2
- package/dist/client/assets/PdfPreview-CeECoD5z.js +0 -3
- package/dist/client/assets/PptxPreview-u6gN3x3Z.js +0 -3
- package/dist/client/assets/PreviewPanel-BVJp3UI5.js +0 -2
- package/dist/client/assets/PullRequestCodeTab-Bxx0Vkdn.js +0 -6
- package/dist/client/assets/VirtualizedFile-CyAKSbzc.js +0 -2
- package/dist/client/assets/XlsxPreview-CaykIFrZ.js +0 -3
- package/dist/client/assets/assetUrls-BBFxUocf.js +0 -2
- package/dist/client/assets/browserHistoryStore-K9gWOOUq.js +0 -2
- package/dist/client/assets/browserRecording-DrMz1iOt.js +0 -4
- package/dist/client/assets/clientPersistenceStorage-DSC61yLx.js +0 -2
- package/dist/client/assets/combobox-C4C8XR-w.js +0 -6
- package/dist/client/assets/composerMentionDrag-D06cCeGC.js +0 -2
- package/dist/client/assets/designCanvas.logic-DuuhotDy.js +0 -8
- package/dist/client/assets/designOpenFileContext-CCQs4ovB.js +0 -2
- package/dist/client/assets/diffFileContents-Bj3q_jc2.js +0 -248
- package/dist/client/assets/empty-DynqTxIR.js +0 -2
- package/dist/client/assets/entities-dwE_i4XM.js +0 -2
- package/dist/client/assets/env-DgM3kOA4.js +0 -2
- package/dist/client/assets/input-Q4KA45-f.js +0 -2
- package/dist/client/assets/main-CI0aXqkB.css +0 -2
- package/dist/client/assets/main-DFDCV-Ns.js +0 -145
- package/dist/client/assets/popover-CXGEm4M0.js +0 -2
- package/dist/client/assets/projectFilesQueryState-7mFyaRdj.js +0 -2
- package/dist/client/assets/queries-x5LGu_Fy.js +0 -2
- package/dist/client/assets/scroll-area-D8MfzXjN.js +0 -1630
- package/dist/client/assets/session-DIGL5_Nm.js +0 -67
- package/dist/client/assets/spinner-CwxxMzkd.js +0 -2
- package/dist/client/assets/textarea-DdNchuIO.js +0 -5
- package/dist/client/assets/toggle-CmeCFqd7.js +0 -2
- package/dist/client/assets/toggle-group-iEMUfMdW.js +0 -2
- package/dist/client/assets/useLocalStorage-2W_I13tQ.js +0 -16
- package/dist/client/assets/useWorkspaceMutationRefresh-YuIxWftk.js +0 -2
- package/dist/client/assets/utils-D0kLIGeh.js +0 -30
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { E as Number$1, F as TaggedErrorClass,
|
|
4
|
-
import { n as PtySpawnError, s as HostProcessPlatform, t as PtyAdapter } from "./PtyAdapter-
|
|
3
|
+
import { E as Number$1, F as TaggedErrorClass, Ra as try_, Vo as effect, Zr as die, _ as Literal, ui as fn, v as Literals } from "./Schema-CA_wFfhH.mjs";
|
|
4
|
+
import { n as PtySpawnError, s as HostProcessPlatform, t as PtyAdapter } from "./PtyAdapter-DSEyRij4.mjs";
|
|
5
5
|
//#region src/terminal/BunPtyAdapter.ts
|
|
6
6
|
var BunPtyUnsupportedPlatformError = class extends TaggedErrorClass()("BunPtyUnsupportedPlatformError", { platform: Literal("win32") }) {
|
|
7
7
|
get message() {
|
|
@@ -117,4 +117,4 @@ const layer = effect(PtyAdapter, make());
|
|
|
117
117
|
//#endregion
|
|
118
118
|
export { BunPtyOperationUnavailableError, BunPtyUnsupportedPlatformError, layer, make };
|
|
119
119
|
|
|
120
|
-
//# sourceMappingURL=BunPtyAdapter-
|
|
120
|
+
//# sourceMappingURL=BunPtyAdapter-kPTUT2mb.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { A as Record$1, An as transform, Dn as unknown, E as Number$1, En as toEncoded,
|
|
3
|
+
import { $u as some, A as Record$1, An as transform, Dn as unknown, E as Number$1, En as toEncoded, Er as all$1, Fi as map$1, Hi as matchEffect, Ii as mapEager, In as passthrough, Io as TaggedError, M as String$1, Mt as make$2, On as Transformation, Pd as hasProperty, Ri as mapErrorEager, Rr as catchDefect, Ta as succeed, Vt as toCodecStringTree, W as Union, Xd as dual, Yi as orDie, Zd as flow, Zr as die, Zu as none, an as _is, ci as flatMapEager, cn as SchemaError, di as fnUntraced, dn as applyToSelfOrLastLinkEncoding, fd as PipeInspectableProto, fn as decodeTo, fr as Pointer, gt as isBetween, h as Int, iu as map$2, j as Redacted, kn as splitKeyValue, nt as decodeTo$1, on as decodeUnknownEffect, r as Boolean$1, rd as isGreaterThanOrEqualTo$1, ti as fail, ud as Prototype, v as Literals, xc as LogLevelOrder, xu as Reference, yd as assignProperty, z as URL, zn as transformOrFail, zr as catchEager } from "./Schema-CA_wFfhH.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6/node_modules/effect/dist/ConfigProvider.js
|
|
5
5
|
/**
|
|
6
6
|
* Data sources used by `Config` to load raw configuration values. A
|
|
@@ -1334,4 +1334,4 @@ function url(name) {
|
|
|
1334
1334
|
//#endregion
|
|
1335
1335
|
export { unwrap as _, all as a, isGreaterThanOrEqualTo as b, logLevel as c, option as d, orElse as f, string as g, schema as h, TrueValues as i, map as l, redacted as m, FalseValues as n, boolean as o, port as p, Record as r, int as s, Boolean as t, number as u, url as v, withDefault as y };
|
|
1336
1336
|
|
|
1337
|
-
//# sourceMappingURL=Config-
|
|
1337
|
+
//# sourceMappingURL=Config-DvH5tPG0.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { $ as decodeEffect, $
|
|
4
|
-
import {
|
|
3
|
+
import { $ as decodeEffect, $u as some, A as Record, Al as toSeconds, An as transform$2, Bi as matchCauseEffect, Bu as fromNullishOr, Dl as seconds, Dr as andThen, Ed as symbolRedactable, Fi as map$2, Fr as cached, Ft as optional, Gd as constFalse, Gu as getOrUndefined, Ha as uninterruptibleMask, Hd as or, Hl as fromIterable$1, Io as TaggedError, Jl as makeEquivalence, Jr as contextWith, Jt as make$7, Kd as constTrue, La as tryPromise, Li as mapError, M as String$1, Md as symbol$1, Mu as merge$2, Nl as appendAll$1, Oa as suspend, Od as symbol, Pd as hasProperty, Po as Error, Qd as identity, R as Tuple, Ra as try_, Rt as tag, S as NonEmptyArray, Sd as NodeInspectSymbol, Su as Service, Ta as succeed$1, Td as redact$1, Tr as addFinalizer, Tu as get$2, Ua as updateContext, Vo as effect, W as Union, Wa as useSpan, Xd as dual, Xt as stringOrRedacted, Xu as match, Ya as withFiber, Z as declare, Za as withParentSpan, Zd as flow, Zu as none, _l as fromInputUnsafe, au as set$3, bd as BaseProto, bl as isFinite, bu as try_$1, c as Defect, d as ErrorClass, dc as isTimeoutError, ef as pipeArguments, fd as PipeInspectableProto, ha as runSync, hu as isFailure, ia as repeat, il as DisablePropagation, iu as map, jd as structure, jt as link, ka as sync, kd as array, ll as externalSpan, lu as makeEquivalence$1, n as ArraySchema, ni as failCause, nt as decodeTo, nu as isEmptyRecord, oa as retry, od as make$6, po as isSchedule, qi as onInterrupt, qu as isSome, ru as makeEquivalence$2, sd as strictEqual, si as flatMap, sn as encodeUnknownEffect, tc as hasInterrupts, ti as fail$1, uu as fail, v as Literals, vo as passthrough, vu as map$1, wd as format, xd as Class, xu as Reference, yd as assignProperty, yu as succeed, zt as toCodecJson } from "./Schema-CA_wFfhH.mjs";
|
|
4
|
+
import { A as fromReadableStream, _ as fail$2, ct as suspend$1, ft as toReadableStreamEffect, g as ensuring, gn as set$4, hn as make$8 } from "./FileSystem-NX0EtGtm.mjs";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
//#region \0rolldown/runtime.js
|
|
7
7
|
var __create = Object.create;
|
|
@@ -2744,4 +2744,4 @@ const layer = /*#__PURE__*/ layerMergedContext(/*#__PURE__*/ succeed$1(/* @__PUR
|
|
|
2744
2744
|
//#endregion
|
|
2745
2745
|
export { isEmpty as $, appendUrlParams as A, __require as At, prependUrl as B, filterStatusOk$1 as C, schemaRecord as Ct, inspect as D, __commonJSMin as Dt, TypeId$2 as E, hasBody as Et, bodyJsonUnsafe as F, setUrl as G, setBody as H, bodyText as I, StatusCodeError as J, DecodeError as K, get$1 as L, bearerToken as M, bodyFormData as N, schemaBodyJson as O, __exportAll as Ot, bodyJson as P, fromSetCookie as Q, make$2 as R, TypeId$1 as S, fromInput$1 as St, MaxBodySize as T, toString as Tt, setHeader as U, put as V, setHeaders as W, isHttpClientError as X, TransportError as Y, empty$1 as Z, modify as _, raw as _t, execute as a, empty$2 as at, updateAndGet as b, uint8Array as bt, make as c, merge$1 as ct, transformResponse as d, set$2 as dt, merge as et, withScope as f, setAll as ft, makeUnsafe as g, jsonUnsafe as gt, make$1 as h, jsonSchema as ht, TracerPropagationEnabled as i, CurrentRedactedNames as it, basicAuth as j, __toESM as jt, acceptJson as k, __reExport as kt, mapRequest as l, redact as lt, getAndSet as m, isHttpBody as mt, layer as n, set$1 as nt, filterStatusOk as o, fromInput as ot, get as p, empty$3 as pt, HttpClientError as q, HttpClient as r, toSetCookieHeaders as rt, layerMergedContext as s, fromRecordUnsafe as st, RequestInit as t, parseHeader as tt, retryTransient as u, remove as ut, set as v, stream as vt, matchStatus as w, toRecord as wt, fromHeaders as x, urlParams as xt, update as y, text as yt, post as z };
|
|
2746
2746
|
|
|
2747
|
-
//# sourceMappingURL=FetchHttpClient-
|
|
2747
|
+
//# sourceMappingURL=FetchHttpClient-C-jciW95.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { $c as
|
|
3
|
+
import { $c as uninterruptibleMask, $d as pipe, $i as provideContext$2, $r as ensuring$2, $u as some, Aa as tap$1, Ac as exitInterrupt$1, Ad as hash, Ao as Clock, Bi as matchCauseEffect, Bs as Done$1, Cc as as$1, Cd as toJson, Ci as interrupt$2, Cl as millis, Co as doneExitFromCause, Cu as add, Dd as equals, Do as nextPow2, Dr as andThen, Ds as makeUnsafe$4, Eo as matchEffect, Fc as fiberInterruptAll, Fi as map$2, Ga as void_, Gi as onExit$2, Gl as isReadonlyArrayNonEmpty, Gr as catch_$2, Ha as uninterruptibleMask$1, Hc as makeLatch, Hl as fromIterable$2, Ic as fiberJoin, Io as TaggedError, Jc as succeed$4, Jd as constVoid, Jr as contextWith, Js as done, Ka as when, Kc as onExitPrimitive, Kd as constTrue, Kl as last$1, La as tryPromise, Lc as fiberRunIn, Lr as catchCause$2, Mc as exitZipRight, Mr as as, Ms as failCause$3, Nc as fiberAwait, Ni as makeSpan, Nr as asSome$1, Oa as suspend$2, Oc as endSpan, Pc as fiberInterrupt, Pd as hasProperty, Pl as empty$3, Po as Error$1, Pr as asVoid, Ps as interrupt$1, Qd as identity, Ra as try_, Rc as flatMap$3, Rr as catchDefect, Rs as succeed$3, Sc as andThen$1, Sd as NodeInspectSymbol, So as catchDone, Ss as interruptWith, Su as Service, Ta as succeed$2, Tc as callback$1, Ti as interruptibleMask, To as isDoneCause, Tu as get$4, Uc as makeLatchUnsafe, Ui as never, Ul as getUnsafe$1, Ur as catchTag, Va as uninterruptible, Vc as getCurrentFiber, Vs as ExceededCapacityError, Wi as onError, Wl as isArrayNonEmpty, Xc as suspend$3, Xd as dual, Xu as match, Ya as withFiber, Yc as succeedNone, Yd as constant, Yl as map$3, Yu as map$4, Zc as sync$1, Zd as flow, Zi as promise, Zl as of, Zr as die$3, Zs as findError, Zu as none, _c as squash, _l as fromInputUnsafe, _u as isSuccess, as as addFinalizerExit, bi as gen, bl as isFinite, bo as spaced, ci as flatMapEager, cs as forkUnsafe, cu as headUnsafe, da as runPromise, dd as Done, di as fnUntraced, ds as provide, ea as provideService$2, ef as pipeArguments, ei as exit, eo as yieldNow, fd as PipeInspectableProto, fi as forEach$1, gd as exitSucceed, gi as forkIn, gs as _await, hd as exitFailCause, hs as TracerTimingEnabled, hu as isFailure, is as addFinalizer, jc as exitVoid, jl as zero, js as fail$4, ju as makeUnsafe$5, ka as sync, kl as toMillis, ku as getUnsafe, la as runFork, li as flatten$1, md as exitFail, mi as forkChild, ni as failCause$2, nl as whileLoop, os as close, pd as causeFail, pi as forever, qa as whileLoop$1, qi as onInterrupt, ql as lastNonEmpty, qr as context, qs as die$2, qu as isSome, ra as raceFirst, rl as addSpanStackTrace, rs as Scope, sc as isDone, si as flatMap$2, sl as ParentSpan, ti as fail$3, tl as void_$1, ua as runForkWith, us as makeUnsafe$3, vc as ClockRef, vd as withFiber$1, wa as sleep, wc as asSome, wd as format, wo as filterDone, xa as scopedWith, xl as isZero, xo as toStepWithSleep, ya as scope, ys as doneUnsafe, zs as void_$2 } from "./Schema-CA_wFfhH.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6/node_modules/effect/dist/PlatformError.js
|
|
5
5
|
/**
|
|
6
6
|
* Normalized errors for platform APIs.
|
|
@@ -5167,6 +5167,19 @@ const runDrain$1 = (self) => runWith(self, (pull) => forever(pull, { disableYiel
|
|
|
5167
5167
|
*/
|
|
5168
5168
|
const runForEach$1 = /*#__PURE__*/ dual(2, (self, f) => runWith(self, (pull) => forever(flatMap$2(pull, f), { disableYield: true })));
|
|
5169
5169
|
/**
|
|
5170
|
+
* Runs a channel and applies an effectful predicate to each output element
|
|
5171
|
+
* until the predicate returns `false`.
|
|
5172
|
+
*
|
|
5173
|
+
* **Details**
|
|
5174
|
+
*
|
|
5175
|
+
* Returning `true` continues consuming the channel. Returning `false` stops
|
|
5176
|
+
* consumption early. The returned effect completes with `void`.
|
|
5177
|
+
*
|
|
5178
|
+
* @category running
|
|
5179
|
+
* @since 4.0.0
|
|
5180
|
+
*/
|
|
5181
|
+
const runForEachWhile$1 = /*#__PURE__*/ dual(2, (self, f) => runWith(self, (pull) => pull.pipe(flatMap$2(f), flatMap$2((cont) => cont ? void_ : done()), forever({ disableYield: true }))));
|
|
5182
|
+
/**
|
|
5170
5183
|
* Runs a channel until the first output element is available, returning it in
|
|
5171
5184
|
* an `Option`.
|
|
5172
5185
|
*
|
|
@@ -6744,6 +6757,38 @@ const fail = (error) => fromChannel(fail$1(error));
|
|
|
6744
6757
|
*/
|
|
6745
6758
|
const die = (defect) => fromChannel(die$1(defect));
|
|
6746
6759
|
/**
|
|
6760
|
+
* Creates a stream that consumes values from an iterator.
|
|
6761
|
+
*
|
|
6762
|
+
* **Details**
|
|
6763
|
+
*
|
|
6764
|
+
* The `maxChunkSize` parameter controls how many values are pulled per chunk.
|
|
6765
|
+
*
|
|
6766
|
+
* **Example** (Consuming values from an iterator)
|
|
6767
|
+
*
|
|
6768
|
+
* ```ts import.meta.vitest
|
|
6769
|
+
* import { Effect, Stream } from "effect"
|
|
6770
|
+
*
|
|
6771
|
+
* function* numbers() {
|
|
6772
|
+
* yield 1
|
|
6773
|
+
* yield 2
|
|
6774
|
+
* yield 3
|
|
6775
|
+
* }
|
|
6776
|
+
*
|
|
6777
|
+
* const stream = Stream.fromIteratorSucceed(numbers())
|
|
6778
|
+
*
|
|
6779
|
+
* const program = Effect.gen(function* () {
|
|
6780
|
+
* const values = yield* Stream.runCollect(stream)
|
|
6781
|
+
* values // => [1, 2, 3]
|
|
6782
|
+
* })
|
|
6783
|
+
*
|
|
6784
|
+
* await Effect.runPromise(program)
|
|
6785
|
+
* ```
|
|
6786
|
+
*
|
|
6787
|
+
* @category constructors
|
|
6788
|
+
* @since 2.0.0
|
|
6789
|
+
*/
|
|
6790
|
+
const fromIteratorSucceed = (iterator, maxChunkSize) => fromChannel(fromIteratorArray(() => iterator, maxChunkSize));
|
|
6791
|
+
/**
|
|
6747
6792
|
* Creates a new `Stream` from an iterable collection of values.
|
|
6748
6793
|
*
|
|
6749
6794
|
* **Details**
|
|
@@ -7194,6 +7239,27 @@ const flatMap = /*#__PURE__*/ dual((args) => isStream(args[0]), (self, f, option
|
|
|
7194
7239
|
*/
|
|
7195
7240
|
const flatten = /*#__PURE__*/ dual((args) => isStream(args[0]), (self, options) => flatMap(self, identity, options));
|
|
7196
7241
|
/**
|
|
7242
|
+
* Flattens the iterables emitted by this stream into the stream's structure.
|
|
7243
|
+
*
|
|
7244
|
+
* **Example** (Flattening iterable values)
|
|
7245
|
+
*
|
|
7246
|
+
* ```ts import.meta.vitest
|
|
7247
|
+
* import { Effect, Stream } from "effect"
|
|
7248
|
+
*
|
|
7249
|
+
* const program = Effect.gen(function*() {
|
|
7250
|
+
* const stream = Stream.make([1, 2], [3, 4]).pipe(Stream.flattenIterable)
|
|
7251
|
+
* const values = yield* Stream.runCollect(stream)
|
|
7252
|
+
* values // => [ 1, 2, 3, 4 ]
|
|
7253
|
+
* })
|
|
7254
|
+
*
|
|
7255
|
+
* await Effect.runPromise(program)
|
|
7256
|
+
* ```
|
|
7257
|
+
*
|
|
7258
|
+
* @category mapping
|
|
7259
|
+
* @since 4.0.0
|
|
7260
|
+
*/
|
|
7261
|
+
const flattenIterable = (self) => flatMap(self, fromIterable);
|
|
7262
|
+
/**
|
|
7197
7263
|
* Concatenates two streams, emitting all elements from the first stream
|
|
7198
7264
|
* followed by all elements from the second stream.
|
|
7199
7265
|
*
|
|
@@ -8288,6 +8354,46 @@ const runForEach = /*#__PURE__*/ dual(2, (self, f) => runForEach$1(self.channel,
|
|
|
8288
8354
|
});
|
|
8289
8355
|
}));
|
|
8290
8356
|
/**
|
|
8357
|
+
* Runs the stream, applying the effectful predicate to each element and
|
|
8358
|
+
* stopping when it returns `false`.
|
|
8359
|
+
*
|
|
8360
|
+
* **Example** (Running effects while a predicate holds)
|
|
8361
|
+
*
|
|
8362
|
+
* ```ts import.meta.vitest
|
|
8363
|
+
* import { Effect, Stream } from "effect"
|
|
8364
|
+
*
|
|
8365
|
+
* const values: Array<number> = []
|
|
8366
|
+
* const program = Effect.gen(function*() {
|
|
8367
|
+
* const stream = Stream.make(1, 2, 3, 4, 5)
|
|
8368
|
+
*
|
|
8369
|
+
* yield* Stream.runForEachWhile(stream, (n) =>
|
|
8370
|
+
* Effect.gen(function*() {
|
|
8371
|
+
* yield* Effect.sync(() => values.push(n))
|
|
8372
|
+
* return n < 3
|
|
8373
|
+
* })
|
|
8374
|
+
* )
|
|
8375
|
+
* })
|
|
8376
|
+
*
|
|
8377
|
+
* await Effect.runPromise(program)
|
|
8378
|
+
* values // => [1, 2, 3]
|
|
8379
|
+
* ```
|
|
8380
|
+
*
|
|
8381
|
+
* @category destructors
|
|
8382
|
+
* @since 2.0.0
|
|
8383
|
+
*/
|
|
8384
|
+
const runForEachWhile = /*#__PURE__*/ dual(2, (self, f) => runForEachWhile$1(self.channel, (arr) => {
|
|
8385
|
+
let done = false;
|
|
8386
|
+
let i = 0;
|
|
8387
|
+
return map$2(whileLoop$1({
|
|
8388
|
+
while: () => !done && i < arr.length,
|
|
8389
|
+
body: () => f(arr[i]),
|
|
8390
|
+
step(b) {
|
|
8391
|
+
i++;
|
|
8392
|
+
if (!b) done = true;
|
|
8393
|
+
}
|
|
8394
|
+
}), () => !done);
|
|
8395
|
+
}));
|
|
8396
|
+
/**
|
|
8291
8397
|
* Consumes the stream in chunks, passing each non-empty array to the callback.
|
|
8292
8398
|
*
|
|
8293
8399
|
* **Example** (Consuming stream chunks)
|
|
@@ -8749,6 +8855,6 @@ const FileTypeId = "~effect/platform/FileSystem/File";
|
|
|
8749
8855
|
*/
|
|
8750
8856
|
var WatchBackend = class extends Service()("effect/platform/FileSystem/WatchBackend") {};
|
|
8751
8857
|
//#endregion
|
|
8752
|
-
export {
|
|
8858
|
+
export { runDrain as $, offer as $t, fromReadableStream as A, drain as At, merge as B, pipeTo as Bt, fromChannel as C, runIn as Cn, invalidate as Ct, fromPubSub as D, systemError as Dn, remove as Dt, fromIteratorSucceed as E, badArgument as En, make$5 as Et, make$1 as F, filterArray as Ft, onStart as G, bounded as Gt, mkUint8Array as H, splitLines$1 as Ht, map as I, fromPull$1 as It, pipeThroughChannelOrFail as J, endUnsafe as Jt, orDie as K, collect as Kt, mapArrayEffect as L, fromTransform$1 as Lt, grouped as M, isSink as Mt, groupedWithin as N, last as Nt, fromPull as O, set as Ot, isStream as P, decodeText$1 as Pt, runCollect as Q, make$7 as Qt, mapEffect as R, mapDone as Rt, fromAsyncIterable as S, join as Sn, has as St, fromIterable as T, PlatformError as Tn, get$3 as Tt, onEnd as U, make$6 as Ut, mkString as V, runFold$1 as Vt, onExit as W, makeUnsafe$1 as Wt, provideService as X, failCause$1 as Xt, provideContext as Y, fail$2 as Yt, run as Z, failCauseUnsafe as Zt, fail as _, makeUnsafe$2 as _n, unwrap as _t, make as a, take$1 as an, runHead as at, flattenIterable as b, interrupt as bn, make$2 as bt, catch_ as c, publish as cn, suspend as ct, debounce as d, sliding$1 as dn, toPull as dt, offerAll as en, runFold as et, decodeText as f, subscribe as fn, toReadableStreamEffect as ft, ensuring as g, set$1 as gn, unfold as gt, encodeText as h, make$10 as hn, transformPull as ht, WatchBackend as i, sliding as in, runForEachWhile as it, fromSubscription as j, fromChannel$1 as jt, fromQueue as k, size as kt, changes as l, publishUnsafe as ln, takeWhile as lt, empty as m, unbounded$1 as mn, transduce as mt, FileTypeId as n, poll as nn, runForEach as nt, callback as o, takeAll as on, splitLines as ot, die as p, take$2 as pn, toReadableStreamWith as pt, pipeThroughChannel as q, end as qt, Size as r, shutdown as rn, runForEachArray as rt, catchCause as s, unbounded as sn, succeed as st, FileSystem as t, offerUnsafe as tn, runFoldEffect as tt, concat as u, shutdown$1 as un, tap as ut, filter as v, await_ as vn, withSpan as vt, fromEffect as w, BadArgument as wn, make$4 as wt, fromArray as x, interruptAll as xn, get$2 as xt, flatMap as y, getCurrent as yn, get as yt, mapError as z, mapEffect$1 as zt };
|
|
8753
8859
|
|
|
8754
|
-
//# sourceMappingURL=FileSystem-
|
|
8860
|
+
//# sourceMappingURL=FileSystem-NX0EtGtm.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { B as prependUrl, St as fromInput$1, T as MaxBodySize, Tt as toString$1, Z as empty$1, _t as raw$1, at as empty$2, bt as uint8Array$1, ct as merge, dt as set, et as merge$1, ft as setAll, gt as jsonUnsafe$1, ht as jsonSchema, it as CurrentRedactedNames, l as mapRequest, lt as redact, ot as fromInput, pt as empty$3, r as HttpClient, st as fromRecordUnsafe, ut as remove, vt as stream$1, x as fromHeaders, yt as text$1 } from "./FetchHttpClient-
|
|
4
|
-
import { $
|
|
5
|
-
import {
|
|
6
|
-
import { t as Path } from "./Path-
|
|
3
|
+
import { B as prependUrl, St as fromInput$1, T as MaxBodySize, Tt as toString$1, Z as empty$1, _t as raw$1, at as empty$2, bt as uint8Array$1, ct as merge, dt as set, et as merge$1, ft as setAll, gt as jsonUnsafe$1, ht as jsonSchema, it as CurrentRedactedNames, l as mapRequest, lt as redact, ot as fromInput, pt as empty$3, r as HttpClient, st as fromRecordUnsafe, ut as remove, vt as stream$1, x as fromHeaders, yt as text$1 } from "./FetchHttpClient-C-jciW95.mjs";
|
|
4
|
+
import { $r as ensuring, $s as fromReasons, $u as some, Ao as Clock, Bi as matchCauseEffect, Br as catchFilter, Ci as interrupt, Cr as acquireRelease, Cs as into, Cu as add, Di as log, Dr as andThen, Ds as makeUnsafe$1, Ei as isEffect, F as TaggedErrorClass, Fi as map$1, Fs as isFailure, Ft as optional, Ga as void_, Gd as constFalse, Gu as getOrUndefined, Hu as getOrElse, Ia as timeoutOrElse, Ii as mapEager, Io as TaggedError, Jd as constVoid, Ki as onExitPrimitive, Li as mapError, Lr as catchCause, M as String$1, Ms as failCause, Mu as merge$2, Oa as suspend, Pd as hasProperty, Po as Error$1, Qo as succeed, Rs as succeed$3, Rt as tag, Su as Service, Ta as succeed$1, Td as redact$1, Tu as get, Ua as updateContext, Uo as effectDiscard, Ur as catchTag, Va as uninterruptible, Vi as matchCauseEffectEager, Vo as effect, W as Union, Wc as makeSpanUnsafe, Ws as StackTrace, Xa as withLogSpan, Xd as dual, Xs as filterInterruptors, Xu as match, Ya as withFiber, Yd as constant, Yi as orDie, Zi as promise, Zo as provideMerge, Zr as die, Zu as none, bi as gen, c as Defect, ci as flatMapEager, cu as headUnsafe, d as ErrorClass, di as fnUntraced, dl as compose, ds as provide, ea as provideService, ei as exit, fd as PipeInspectableProto, fl as has, gs as _await, h as Int, ju as makeUnsafe$2, ka as sync, kr as annotateLogs, ku as getUnsafe, la as runFork, ln as isSchemaError, ms as TracerEnabled, nc as hasInterruptsOnly, ni as failCause$1, ou as empty$4, pc as makeDieReason, pl as toPredicate, qa as whileLoop, qc as reportCauseUnsafe, qd as constUndefined, qr as context, qu as isSome, ra as raceFirst, rs as Scope, rt as decodeUnknownEffect, si as flatMap, sl as ParentSpan, ss as closeUnsafe, ti as fail$1, ua as runForkWith, uc as isNoSuchElementError, us as makeUnsafe$3, uu as fail, v as Literals, xa as scopedWith, xd as Class, xu as Reference, ys as doneUnsafe, yu as succeed$2 } from "./Schema-CA_wFfhH.mjs";
|
|
5
|
+
import { Z as run$1, _n as makeUnsafe$4, nt as runForEach, r as Size, t as FileSystem, vn as await_, xn as interruptAll, yn as getCurrent } from "./FileSystem-NX0EtGtm.mjs";
|
|
6
|
+
import { t as Path } from "./Path-ZDpyUmZ1.mjs";
|
|
7
7
|
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6/node_modules/effect/dist/UndefinedOr.js
|
|
8
8
|
/**
|
|
9
9
|
* Maps a defined value with `f`, or returns `undefined` unchanged.
|
|
@@ -4699,4 +4699,4 @@ var Mime_default = new Mime(types, types$1)._freeze();
|
|
|
4699
4699
|
//#endregion
|
|
4700
4700
|
export { redirect as $, layerWebSocketConstructorGlobal as A, RouteNotFound as B, limitsServices as C, make$2 as D, decodeField as E, runtime as F, HttpPlatform as G, causeResponse as H, ClientAbort as I, file as J, make$8 as K, HttpServerError as L, awaitEmpty as M, make$7 as N, CloseEvent as O, run as P, raw as Q, RequestParseError as R, TypeId$1 as S, toPersisted as T, symbol as U, ServeError as V, toResponse as W, jsonUnsafe as X, isHttpServerResponse as Y, mergeCookies as Z, schemaCookies as _, serve as a, setStatus as at, toURL as b, appendPreResponseHandlerUnsafe as c, uint8Array as ct, cors as d, layer as dt, removeHeader as et, logger as f, layerWeak as ft, TypeId as g, ParsedSearchParams as h, make as i, setHeaders as it, makeWebSocket as j, fromWebSocket as k, toHandled as l, urlParams as lt, HttpServerRequest as m, HttpServer as n, setBody as nt, withLogAddress as o, stream as ot, withLoggerDisabled as p, map as pt, empty as q, layerTestClient as r, setHeader as rt, appendPreResponseHandler as s, text as st, Mime_default as t, schemaJson as tt, compression as u, ignore as ut, schemaHeaders as v, makeConfig as w, MultipartError as x, schemaSearchParams as y, ResponseError as z };
|
|
4701
4701
|
|
|
4702
|
-
//# sourceMappingURL=Mime-
|
|
4702
|
+
//# sourceMappingURL=Mime-C6O17O_3.mjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { E as TypeId, St as fromInput$1, T as MaxBodySize, ot as fromInput } from "./FetchHttpClient-
|
|
4
|
-
import {
|
|
5
|
-
import { a as toString, r as toArrayBuffer, t as fromReadable } from "./NodeStream-
|
|
3
|
+
import { E as TypeId, St as fromInput$1, T as MaxBodySize, ot as fromInput } from "./FetchHttpClient-C-jciW95.mjs";
|
|
4
|
+
import { Bu as fromNullishOr, Fi as map, Fr as cached, Ra as try_, Ya as withFiber, ha as runSync, si as flatMap, xd as Class } from "./Schema-CA_wFfhH.mjs";
|
|
5
|
+
import { a as toString, r as toArrayBuffer, t as fromReadable } from "./NodeStream-1N7oXzTp.mjs";
|
|
6
6
|
//#region ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.103_bufferutil@4.1.0_effect@4.0.0-beta.103_patch_hash=_8d34148577283c90e6122750bede9b62/node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
|
|
7
7
|
/**
|
|
8
8
|
* Adapter base for exposing Node `http.IncomingMessage` values as Effect HTTP
|
|
@@ -104,4 +104,4 @@ var NodeHttpIncomingMessage = class extends Class {
|
|
|
104
104
|
//#endregion
|
|
105
105
|
export { NodeHttpIncomingMessage as t };
|
|
106
106
|
|
|
107
|
-
//# sourceMappingURL=NodeHttpIncomingMessage-
|
|
107
|
+
//# sourceMappingURL=NodeHttpIncomingMessage-CylGKvlB.mjs.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { $ as isEmpty, At as __require, D as inspect, Dt as __commonJSMin, _t as raw, bt as uint8Array, ct as merge, jt as __toESM, n as layer$2, rt as toSetCookieHeaders, st as fromRecordUnsafe, t as RequestInit, tt as parseHeader, vt as stream$1 } from "./FetchHttpClient-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { n as layer$4, s as layer$3 } from "./NodeServices-
|
|
7
|
-
import { n as pipeThroughDuplex, o as toUint8Array, t as fromReadable } from "./NodeStream-
|
|
8
|
-
import { D as make$5, E as decodeField, G as HttpPlatform, H as causeResponse, I as ClientAbort, K as make$4, L as HttpServerError, Q as raw$1, R as RequestParseError, S as TypeId, T as toPersisted, V as ServeError, dt as layer$5, et as removeHeader, ft as layerWeak, g as TypeId$1, i as make$6, k as fromWebSocket, l as toHandled, m as HttpServerRequest, n as HttpServer, nt as setBody, r as layerTestClient, rt as setHeader, t as Mime_default, w as makeConfig, x as MultipartError, z as ResponseError } from "./Mime-
|
|
9
|
-
import { _ as unwrap$1 } from "./Config-
|
|
10
|
-
import { t as NodeHttpIncomingMessage } from "./NodeHttpIncomingMessage-
|
|
3
|
+
import { $ as isEmpty, At as __require, D as inspect, Dt as __commonJSMin, _t as raw, bt as uint8Array, ct as merge, jt as __toESM, n as layer$2, rt as toSetCookieHeaders, st as fromRecordUnsafe, t as RequestInit, tt as parseHeader, vt as stream$1 } from "./FetchHttpClient-C-jciW95.mjs";
|
|
4
|
+
import { $d as pipe, Bi as matchCauseEffect, Cr as acquireRelease, Cu as add, Dl as seconds, Dr as andThen, Fi as map, Fr as cached, Ga as void_, Go as fresh, Ia as timeoutOrElse, Ir as callback, Ks as combine, La as tryPromise, Oa as suspend, Qo as succeed$1, Ta as succeed, Vo as effect, Xo as provide, Ya as withFiber, Yo as mergeAll, Zd as flow, Zo as provideMerge, Zr as die, as as addFinalizerExit, cs as forkUnsafe, di as fnUntraced, ds as provide$1, ha as runSync, is as addFinalizer, ja as tapCause, ka as sync, ni as failCause, qs as die$1, si as flatMap, ti as fail, ua as runForkWith, wi as interruptible, xd as Class, ya as scope } from "./Schema-CA_wFfhH.mjs";
|
|
5
|
+
import { Cn as runIn, I as map$1, K as orDie, _n as makeUnsafe, _t as unwrap, rt as runForEachArray } from "./FileSystem-NX0EtGtm.mjs";
|
|
6
|
+
import { n as layer$4, s as layer$3 } from "./NodeServices-C18DO3cx.mjs";
|
|
7
|
+
import { n as pipeThroughDuplex, o as toUint8Array, t as fromReadable } from "./NodeStream-1N7oXzTp.mjs";
|
|
8
|
+
import { D as make$5, E as decodeField, G as HttpPlatform, H as causeResponse, I as ClientAbort, K as make$4, L as HttpServerError, Q as raw$1, R as RequestParseError, S as TypeId, T as toPersisted, V as ServeError, dt as layer$5, et as removeHeader, ft as layerWeak, g as TypeId$1, i as make$6, k as fromWebSocket, l as toHandled, m as HttpServerRequest, n as HttpServer, nt as setBody, r as layerTestClient, rt as setHeader, t as Mime_default, w as makeConfig, x as MultipartError, z as ResponseError } from "./Mime-C6O17O_3.mjs";
|
|
9
|
+
import { _ as unwrap$1 } from "./Config-DvH5tPG0.mjs";
|
|
10
|
+
import { t as NodeHttpIncomingMessage } from "./NodeHttpIncomingMessage-CylGKvlB.mjs";
|
|
11
11
|
import { Duplex, Readable } from "node:stream";
|
|
12
12
|
import * as Fs from "node:fs";
|
|
13
13
|
import * as Http from "node:http";
|
|
@@ -4305,4 +4305,4 @@ const handleCause = (nodeResponse, originalResponse) => (originalCause) => flatM
|
|
|
4305
4305
|
//#endregion
|
|
4306
4306
|
export { layer, layerConfig, layerHttpServices, layerServer, layerTest, make, makeHandler, makeUpgradeHandler };
|
|
4307
4307
|
|
|
4308
|
-
//# sourceMappingURL=NodeHttpServer-
|
|
4308
|
+
//# sourceMappingURL=NodeHttpServer-EarHJJzn.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { t as FileSystem } from "./FileSystem-
|
|
5
|
-
import { t as Path } from "./Path-
|
|
6
|
-
import { n as PtySpawnError, r as HostProcessArchitecture, s as HostProcessPlatform, t as PtyAdapter } from "./PtyAdapter-
|
|
3
|
+
import { F as TaggedErrorClass, Fr as cached, La as tryPromise, M as String, Ra as try_, Vo as effect, Xi as orElseSucceed, Yi as orDie, bi as gen, c as Defect, ea as provideService, ui as fn } from "./Schema-CA_wFfhH.mjs";
|
|
4
|
+
import { t as FileSystem } from "./FileSystem-NX0EtGtm.mjs";
|
|
5
|
+
import { t as Path } from "./Path-ZDpyUmZ1.mjs";
|
|
6
|
+
import { n as PtySpawnError, r as HostProcessArchitecture, s as HostProcessPlatform, t as PtyAdapter } from "./PtyAdapter-DSEyRij4.mjs";
|
|
7
7
|
import * as NodeModule from "node:module";
|
|
8
8
|
//#region src/terminal/NodePtyAdapter.ts
|
|
9
9
|
var NodePtyModuleLoadError = class extends TaggedErrorClass()("NodePtyModuleLoadError", {
|
|
@@ -119,4 +119,4 @@ const layer = effect(PtyAdapter, make());
|
|
|
119
119
|
//#endregion
|
|
120
120
|
export { NodePtyModuleLoadError, layer, make };
|
|
121
121
|
|
|
122
|
-
//# sourceMappingURL=NodePtyAdapter-
|
|
122
|
+
//# sourceMappingURL=NodePtyAdapter-C6ioPYk6.mjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { Ot as __exportAll } from "./FetchHttpClient-
|
|
4
|
-
import {
|
|
5
|
-
import { $t as
|
|
6
|
-
import { n as TypeId$4, t as Path$1 } from "./Path-
|
|
7
|
-
import { s as fromWritable, t as fromReadable } from "./NodeStream-
|
|
3
|
+
import { Ot as __exportAll } from "./FetchHttpClient-C-jciW95.mjs";
|
|
4
|
+
import { $d as pipe, $u as some, Bu as fromNullishOr, Ca as serviceOption, Cr as acquireRelease, Dr as andThen, Ds as makeUnsafe, Fd as isNotNull, Fi as map, Ga as void_, Gr as catch_, Hi as matchEffect, Hu as getOrElse, Ia as timeoutOrElse, Id as isNotUndefined, Ir as callback, Kr as clockWith, La as tryPromise, Ld as isNullish, Li as mapError, Mr as as, Oa as suspend, Pd as hasProperty, Pr as asVoid, Qo as succeed$3, Qr as effectify, Ra as try_, Rs as succeed$2, Rt as tag, Ru as flatMap$1, Su as Service, Ta as succeed$1, Tr as addFinalizer, Ts as isDone, Va as uninterruptible, Vd as isUndefined, Vo as effect, Vu as fromUndefinedOr, Xu as match, Yi as orDie, Yo as mergeAll, Ys as fail$1, Zo as provideMerge, Zu as none, _i as forkScoped, ba as scoped, bd as BaseProto, bi as gen, d as ErrorClass, di as fnUntraced, fi as forEach, gs as _await, ka as sync, ku as getUnsafe, la as runFork, si as flatMap, ti as fail, ud as Prototype, xi as ignore, ys as doneUnsafe, yu as succeed } from "./Schema-CA_wFfhH.mjs";
|
|
5
|
+
import { $t as offer, At as drain, B as merge, Dn as systemError, En as badArgument, Jt as endUnsafe, Mt as isSink, P as isStream, Q as runCollect, Qt as make$9, V as mkString, Z as run, Zt as failCauseUnsafe, _t as unwrap, a as make$8, an as take, bt as make$10, f as decodeText, i as WatchBackend, m as empty, mt as transduce, n as FileTypeId, nn as poll, o as callback$1, ot as splitLines, r as Size, t as FileSystem, tn as offerUnsafe, wn as BadArgument, yt as get } from "./FileSystem-NX0EtGtm.mjs";
|
|
6
|
+
import { n as TypeId$4, t as Path$1 } from "./Path-ZDpyUmZ1.mjs";
|
|
7
|
+
import { s as fromWritable, t as fromReadable } from "./NodeStream-1N7oXzTp.mjs";
|
|
8
8
|
import * as NodeChildProcess from "node:child_process";
|
|
9
9
|
import { PassThrough } from "node:stream";
|
|
10
10
|
import * as NodeCrypto from "node:crypto";
|
|
@@ -1723,4 +1723,4 @@ const layer = /*#__PURE__*/ provideMerge(layer$11, /*#__PURE__*/ mergeAll(layer$
|
|
|
1723
1723
|
//#endregion
|
|
1724
1724
|
export { isQuitError as a, Crypto as c, Terminal as i, make$6 as l, layer as n, Stdio as o, QuitError as r, layer$7 as s, NodeServices_exports as t, ChildProcessSpawner as u };
|
|
1725
1725
|
|
|
1726
|
-
//# sourceMappingURL=NodeServices-
|
|
1726
|
+
//# sourceMappingURL=NodeServices-C18DO3cx.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { _ as unwrap } from "./Config-
|
|
6
|
-
import { a as makeCompilerSqlite, d as make$2, i as defaultTransforms, n as SqlClient, o as layer$1, r as make$3, s as get$1, t as SafeIntegers } from "./SqlClient-
|
|
3
|
+
import { Aa as tap, F as TaggedErrorClass, Fi as map, Ft as optional, Ga as void_, Ha as uninterruptibleMask, M as String, Mr as as, Pd as hasProperty, Qd as identity, Ra as try_, Ta as succeed, Tl as minutes, Tu as get, Vo as effect, W as Union, Xo as provide, Ya as withFiber, Yi as orDie, Zr as die, b as Natural, bi as gen, c as Defect, is as addFinalizer, ku as getUnsafe, rs as Scope, si as flatMap, ti as fail, ui as fn, wr as acquireUseRelease, ya as scope } from "./Schema-CA_wFfhH.mjs";
|
|
4
|
+
import { Ut as make$1, p as die$1, yn as getCurrent } from "./FileSystem-NX0EtGtm.mjs";
|
|
5
|
+
import { _ as unwrap } from "./Config-DvH5tPG0.mjs";
|
|
6
|
+
import { a as makeCompilerSqlite, d as make$2, i as defaultTransforms, n as SqlClient, o as layer$1, r as make$3, s as get$1, t as SafeIntegers } from "./SqlClient-Cusaqpaw.mjs";
|
|
7
7
|
import * as NodeSqlite from "node:sqlite";
|
|
8
8
|
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6/node_modules/effect/dist/unstable/sql/SqlError.js
|
|
9
9
|
/**
|
|
@@ -576,4 +576,4 @@ const layerMemory = (config = {}) => effect(SqlClient, makeMemory(config)).pipe(
|
|
|
576
576
|
//#endregion
|
|
577
577
|
export { TypeId, UnsupportedNodeSqliteOperationError, UnsupportedNodeSqliteVersionError, layer, layerConfig, layerMemory };
|
|
578
578
|
|
|
579
|
-
//# sourceMappingURL=NodeSqliteClient-
|
|
579
|
+
//# sourceMappingURL=NodeSqliteClient-CWkKfsSo.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { $i as provideContext, Bs as Done, Fi as map, Ga as void_, Gs as UnknownError, Ir as callback, Is as isSuccess, Js as done, Lr as catchCause, Mr as as, Ms as failCause, Oa as suspend, Qd as identity, So as catchDone, Ta as succeed, To as isDoneCause, Xd as dual, Zl as of, _c as squash, gi as forkIn, is as addFinalizer, js as fail$1, ka as sync, la as runFork, pi as forever, qr as context, ra as raceFirst, si as flatMap, ti as fail } from "./Schema-CA_wFfhH.mjs";
|
|
4
|
+
import { C as fromChannel$1, J as pipeThroughChannelOrFail, Lt as fromTransform, Rt as mapDone, _n as makeUnsafe, bn as interrupt, hn as make, jt as fromChannel, rt as runForEachArray } from "./FileSystem-NX0EtGtm.mjs";
|
|
5
5
|
import { Readable } from "node:stream";
|
|
6
6
|
//#region ../../node_modules/.pnpm/@effect+platform-node-shared@4.0.0-beta.103_bufferutil@4.1.0_effect@4.0.0-beta.103_patc_e2fd8ca215781c19b1ece336fcd60417/node_modules/@effect/platform-node-shared/dist/NodeSink.js
|
|
7
7
|
/**
|
|
@@ -305,4 +305,4 @@ const defaultOnError = (error) => new UnknownError(error);
|
|
|
305
305
|
//#endregion
|
|
306
306
|
export { toString as a, toReadable as i, pipeThroughDuplex as n, toUint8Array as o, toArrayBuffer as r, fromWritable as s, fromReadable as t };
|
|
307
307
|
|
|
308
|
-
//# sourceMappingURL=NodeStream-
|
|
308
|
+
//# sourceMappingURL=NodeStream-1N7oXzTp.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { Su as Service } from "./Schema-CA_wFfhH.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6/node_modules/effect/dist/Path.js
|
|
5
5
|
/**
|
|
6
6
|
* Provides path operations through the Effect environment.
|
|
@@ -97,4 +97,4 @@ const Path = /*#__PURE__*/ Service("effect/Path");
|
|
|
97
97
|
//#endregion
|
|
98
98
|
export { TypeId as n, Path as t };
|
|
99
99
|
|
|
100
|
-
//# sourceMappingURL=Path-
|
|
100
|
+
//# sourceMappingURL=Path-ZDpyUmZ1.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { F as TaggedErrorClass,
|
|
3
|
+
import { F as TaggedErrorClass, Fi as map, Ft as optional, M as String, Su as Service, c as Defect, n as ArraySchema, xu as Reference } from "./Schema-CA_wFfhH.mjs";
|
|
4
4
|
import * as NodeOS from "node:os";
|
|
5
5
|
//#region ../../packages/shared/src/hostProcess.ts
|
|
6
6
|
const HostProcessPlatform = Reference("@borgtools/shared/hostProcess/HostProcessPlatform", { defaultValue: () => process.platform });
|
|
@@ -45,4 +45,4 @@ var PtyAdapter = class extends Service()("borg/terminal/PtyAdapter") {};
|
|
|
45
45
|
//#endregion
|
|
46
46
|
export { HostProcessExecutablePath as a, HostProcessUserId as c, HostProcessEnvironment as i, PtySpawnError as n, HostProcessHostname as o, HostProcessArchitecture as r, HostProcessPlatform as s, PtyAdapter as t };
|
|
47
47
|
|
|
48
|
-
//# sourceMappingURL=PtyAdapter-
|
|
48
|
+
//# sourceMappingURL=PtyAdapter-DSEyRij4.mjs.map
|