@cmmd-center/forge 0.13.6 → 0.13.8

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.
Files changed (78) hide show
  1. package/dist/{BunHttpServer-DKvSpNd1.cjs → BunHttpServer-C7-1JJ7b.cjs} +4 -4
  2. package/dist/{BunHttpServer-CDh4Vioe.mjs → BunHttpServer-CVPGkizx.mjs} +4 -4
  3. package/dist/{BunServices-D6PAheqS.mjs → BunServices-CPrZSIfE.mjs} +2 -2
  4. package/dist/{BunServices-DDh7Whyx.cjs → BunServices-Dl-3897e.cjs} +2 -2
  5. package/dist/{Cache-BVilO50s.mjs → Cache-C9cwdCDt.mjs} +2 -2
  6. package/dist/{Cache-DCF22Dfk.cjs → Cache-Cf3ARNaS.cjs} +2 -2
  7. package/dist/{HttpServer-ClsGgAq1.mjs → HttpServer-COaBeM7-.mjs} +2 -2
  8. package/dist/{HttpServer-D1gSU7NX.cjs → HttpServer-CggZzScj.cjs} +3 -3
  9. package/dist/{NodeHttpServer-Dfc7nSMq.cjs → NodeHttpServer-Bi339XFk.cjs} +5 -5
  10. package/dist/{NodeHttpServer-DT0TF8s4.mjs → NodeHttpServer-UQnvZnmu.mjs} +5 -5
  11. package/dist/{NodePTY-loxi8Vku.mjs → NodePTY-B1u6RHXk.mjs} +2 -2
  12. package/dist/{NodePTY-S4tPEwZc.cjs → NodePTY-UOaRyQsj.cjs} +2 -2
  13. package/dist/{NodeServices-Cb0rXFb2.cjs → NodeServices-CKFIZVu5.cjs} +2 -2
  14. package/dist/{NodeServices-DE8jhdcU.cjs → NodeServices-R0BZsZ72.cjs} +1 -1
  15. package/dist/{NodeServices-BahzLhbo.mjs → NodeServices-z1Ac4lEO.mjs} +2 -2
  16. package/dist/{NodeSqliteClient-DqFjB3u_.mjs → NodeSqliteClient-BrzqdOsF.mjs} +4 -4
  17. package/dist/{NodeSqliteClient-qjBWAOGq.cjs → NodeSqliteClient-CyJvo9y9.cjs} +4 -4
  18. package/dist/{NodeTerminal-rYbifme7.cjs → NodeTerminal-B89MobLp.cjs} +2 -2
  19. package/dist/{NodeTerminal-BPw7bktz.mjs → NodeTerminal-pYVVRTiD.mjs} +2 -2
  20. package/dist/{Path-CGCc_dDx.cjs → Path-BunGrE8F.cjs} +72 -1
  21. package/dist/{Path-C851t6sC.mjs → Path-evOm-H0Q.mjs} +61 -2
  22. package/dist/{SqlError-CzB6p9lL.cjs → SqlError-1wIMjXAf.cjs} +2 -2
  23. package/dist/{SqlError-3aqibZrj.mjs → SqlError-CezTFGvr.mjs} +2 -2
  24. package/dist/{SqliteClient-DTWCGkrj.mjs → SqliteClient-D3Yd3ZHn.mjs} +3 -3
  25. package/dist/{SqliteClient-Cq1peWN1.cjs → SqliteClient-bo7iui1t.cjs} +3 -3
  26. package/dist/bin.cjs +4875 -3961
  27. package/dist/bin.mjs +4422 -3514
  28. package/dist/client/assets/{CanvasPanel-BwSV27Ct.js → CanvasPanel-z0F-jdf1.js} +2 -2
  29. package/dist/client/assets/{CompositeItem-CZk3X-ud.js → CompositeItem-P9UVXCKv.js} +2 -2
  30. package/dist/client/assets/DiffPanel-CBfeDIH3.js +64 -0
  31. package/dist/client/assets/{DiffPanel.logic-D-SDgBF9.js → DiffPanel.logic-CZdlskWf.js} +2 -2
  32. package/dist/client/assets/DiffPanelShell-BnSbIo9A.js +2532 -0
  33. package/dist/client/assets/{DiffWorkerPoolProvider-BO_xUE3R.js → DiffWorkerPoolProvider-DC4SN57K.js} +9 -9
  34. package/dist/client/assets/{PullRequestCodePanel-CW4RK1Oa.js → PullRequestCodePanel-DwjjRPkc.js} +3 -3
  35. package/dist/client/assets/Virtualizer-ClYwoP30.js +2 -0
  36. package/dist/client/assets/{canvasStateStore-5DH2Z-PG.js → canvasStateStore-CdQxd2aO.js} +2 -2
  37. package/dist/client/assets/cmmdAuthRedirect-Bp1uQaQ9.js +2 -0
  38. package/dist/client/assets/index-BE83u7Db.css +1 -0
  39. package/dist/client/assets/index-CZhTqk2p.js +153 -0
  40. package/dist/client/assets/{popover-Dxp_1Sz0.js → popover-CUSlb3eK.js} +2 -2
  41. package/dist/client/assets/src-BL-mOkT1.js +3 -0
  42. package/dist/client/assets/{toggle-B-GE6jq_.js → toggle-BREV66nT.js} +2 -2
  43. package/dist/client/index.html +11 -11
  44. package/dist/forge-build.json +1 -1
  45. package/dist/node_modules/@ff-labs/fff-bin-linux-x64-gnu/libfff_c.so +0 -0
  46. package/dist/node_modules/@ff-labs/fff-bin-linux-x64-gnu/package.json +27 -0
  47. package/dist/node_modules/@ff-labs/fff-node/.bun-tag-689ffe3747e13d19 +0 -0
  48. package/dist/node_modules/@ff-labs/fff-node/README.md +126 -0
  49. package/dist/node_modules/@ff-labs/fff-node/dist/src/binary.d.ts +22 -0
  50. package/dist/node_modules/@ff-labs/fff-node/dist/src/binary.js +144 -0
  51. package/dist/node_modules/@ff-labs/fff-node/dist/src/fff-api.d.ts +581 -0
  52. package/dist/node_modules/@ff-labs/fff-node/dist/src/fff-api.js +24 -0
  53. package/dist/node_modules/@ff-labs/fff-node/dist/src/ffi.d.ts +137 -0
  54. package/dist/node_modules/@ff-labs/fff-node/dist/src/ffi.js +1191 -0
  55. package/dist/node_modules/@ff-labs/fff-node/dist/src/finder.d.ts +353 -0
  56. package/dist/node_modules/@ff-labs/fff-node/dist/src/finder.js +488 -0
  57. package/dist/node_modules/@ff-labs/fff-node/dist/src/index.d.ts +47 -0
  58. package/dist/node_modules/@ff-labs/fff-node/dist/src/index.js +47 -0
  59. package/dist/node_modules/@ff-labs/fff-node/dist/src/platform.d.ts +27 -0
  60. package/dist/node_modules/@ff-labs/fff-node/dist/src/platform.js +120 -0
  61. package/dist/node_modules/@ff-labs/fff-node/package.json +76 -0
  62. package/dist/node_modules/@yuuang/ffi-rs-linux-x64-gnu/README.md +794 -0
  63. package/dist/node_modules/@yuuang/ffi-rs-linux-x64-gnu/ffi-rs.linux-x64-gnu.node +0 -0
  64. package/dist/node_modules/@yuuang/ffi-rs-linux-x64-gnu/package.json +21 -0
  65. package/dist/node_modules/ffi-rs/LICENSE +21 -0
  66. package/dist/node_modules/ffi-rs/README.md +794 -0
  67. package/dist/node_modules/ffi-rs/index.d.ts +222 -0
  68. package/dist/node_modules/ffi-rs/index.js +380 -0
  69. package/dist/node_modules/ffi-rs/package.json +76 -0
  70. package/dist/{open-FIgTDosf.mjs → open-D8mGyWmt.mjs} +3 -3
  71. package/package.json +2 -1
  72. package/dist/client/assets/DiffPanel-ixzJ8GwW.js +0 -64
  73. package/dist/client/assets/DiffPanelShell-Dz5Wvcvi.js +0 -2532
  74. package/dist/client/assets/cmmdAuthRedirect-D68LO-sw.js +0 -2
  75. package/dist/client/assets/diffTargetResolution-WqxwJEax.js +0 -2
  76. package/dist/client/assets/index-DivaIsZ4.css +0 -1
  77. package/dist/client/assets/index-UXWCtM6c.js +0 -153
  78. package/dist/client/assets/src-n5cTLVWV.js +0 -3
@@ -2,10 +2,10 @@
2
2
 
3
3
  require("./chunk-BhaIgcZK.cjs");
4
4
  const require_Schema = require("./Schema-CDCJ3xZo.cjs");
5
- const require_Path = require("./Path-CGCc_dDx.cjs");
6
- const require_HttpServer = require("./HttpServer-D1gSU7NX.cjs");
5
+ const require_Path = require("./Path-BunGrE8F.cjs");
6
+ const require_HttpServer = require("./HttpServer-CggZzScj.cjs");
7
7
  const require_Config = require("./Config-CwKCCk14.cjs");
8
- const require_BunServices = require("./BunServices-DDh7Whyx.cjs");
8
+ const require_BunServices = require("./BunServices-Dl-3897e.cjs");
9
9
  //#region ../../node_modules/.bun/@effect+platform-bun@4.0.0-beta.51+01a8f9cec8f1c5e8/node_modules/@effect/platform-bun/dist/BunHttpPlatform.js
10
10
  /**
11
11
  * @since 1.0.0
@@ -372,4 +372,4 @@ exports.layerServer = layerServer;
372
372
  exports.layerTest = layerTest;
373
373
  exports.make = make;
374
374
 
375
- //# sourceMappingURL=BunHttpServer-DKvSpNd1.cjs.map
375
+ //# sourceMappingURL=BunHttpServer-C7-1JJ7b.cjs.map
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { $c as fromNullishOr, Aa as Scope, Ai as void_$1, An as cached, Ca as mergeAll, Dl as Class, Ea as succeed$2, Er as map, Fa as forkUnsafe, Gc as getUnsafe, Hr as promise, Ir as onExit, Ka as doneUnsafe, Ma as addFinalizerExit, Mn as callback, Ni as withFiber, Qr as runForkWith, Si as try_, Ta as provideMerge, Wa as _await, Yn as fail, Zn as fiber, ar as fnUntraced, bi as timeoutOrElse, eo as makeUnsafe$1, ga as effect, hc as isReadonlyArrayNonEmpty, ii as scoped, iu as flow, ja as addFinalizer, li as succeed, lo as succeed$1, nc as seconds, ni as runSync, pi as sync, qc as makeUnsafe, qr as raceFirst, ri as scope, ro as fail$1, tr as flatMap, uo as void_, vo as done, vr as isEffect, wa as provide, xi as tryPromise } from "./Schema-DOBWF8gQ.mjs";
4
- import { B as pipeThroughChannel, S as fromChannel, Zt as runIn, _ as fail$2, bt as fromTransform, rt as unwrap, tt as toReadableStreamWith, wt as makeUnsafe$2 } from "./Path-C851t6sC.mjs";
5
- import { D as Socket, Et as fromInput$1, F as ClientAbort, Gt as runtime, H as RequestInit, I as HttpServerError, L as RequestParseError, M as defaultCloseCodeIsError, Mt as parseHeader, Nt as toSetCookieHeaders, O as SocketCloseError, Ot as fromInput, P as isCloseEvent, S as makeChannel, U as layer$3, Ut as join, Wt as make$4, X as layerWeak, Y as layer$2, b as MultipartError, c as scopeTransferToStream, h as TypeId, ht as inspect, j as TypeId$2, jt as isEmpty, k as SocketError, l as toHandled, mt as TypeId$1, n as layerTestClient, nt as raw, o as HttpPlatform, p as HttpServerRequest, r as make$3, s as make$2, t as HttpServer, w as toPersisted } from "./HttpServer-ClsGgAq1.mjs";
4
+ import { $t as runIn, Et as makeUnsafe$2, S as fromChannel, St as fromTransform, V as pipeThroughChannel, _ as fail$2, at as unwrap, rt as toReadableStreamWith } from "./Path-evOm-H0Q.mjs";
5
+ import { D as Socket, Et as fromInput$1, F as ClientAbort, Gt as runtime, H as RequestInit, I as HttpServerError, L as RequestParseError, M as defaultCloseCodeIsError, Mt as parseHeader, Nt as toSetCookieHeaders, O as SocketCloseError, Ot as fromInput, P as isCloseEvent, S as makeChannel, U as layer$3, Ut as join, Wt as make$4, X as layerWeak, Y as layer$2, b as MultipartError, c as scopeTransferToStream, h as TypeId, ht as inspect, j as TypeId$2, jt as isEmpty, k as SocketError, l as toHandled, mt as TypeId$1, n as layerTestClient, nt as raw, o as HttpPlatform, p as HttpServerRequest, r as make$3, s as make$2, t as HttpServer, w as toPersisted } from "./HttpServer-COaBeM7-.mjs";
6
6
  import { h as unwrap$1 } from "./Config-Cdfpphpo.mjs";
7
- import { layer as layer$5, t as layer$4 } from "./BunServices-D6PAheqS.mjs";
7
+ import { layer as layer$5, t as layer$4 } from "./BunServices-CPrZSIfE.mjs";
8
8
  //#region ../../node_modules/.bun/@effect+platform-bun@4.0.0-beta.51+01a8f9cec8f1c5e8/node_modules/@effect/platform-bun/dist/BunHttpPlatform.js
9
9
  /**
10
10
  * @since 1.0.0
@@ -366,4 +366,4 @@ const removeHost = (url) => {
366
366
  //#endregion
367
367
  export { layer, layerConfig, layerHttpServices, layerServer, layerTest, make };
368
368
 
369
- //# sourceMappingURL=BunHttpServer-CDh4Vioe.mjs.map
369
+ //# sourceMappingURL=BunHttpServer-CVPGkizx.mjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { Ca as mergeAll, Ta as provideMerge } from "./Schema-DOBWF8gQ.mjs";
4
- import { d as layer$9, i as layer$7, s as layer$6, t as layer$8, u as layer$5 } from "./NodeTerminal-BPw7bktz.mjs";
4
+ import { d as layer$9, i as layer$7, s as layer$6, t as layer$8, u as layer$5 } from "./NodeTerminal-pYVVRTiD.mjs";
5
5
  //#region ../../node_modules/.bun/@effect+platform-bun@4.0.0-beta.51+01a8f9cec8f1c5e8/node_modules/@effect/platform-bun/dist/BunFileSystem.js
6
6
  /**
7
7
  * @since 1.0.0
@@ -46,4 +46,4 @@ const layer = /* @__PURE__ */ layer$9.pipe(/* @__PURE__ */ provideMerge(/* @__PU
46
46
  //#endregion
47
47
  export { layer, layer$4 as t };
48
48
 
49
- //# sourceMappingURL=BunServices-D6PAheqS.mjs.map
49
+ //# sourceMappingURL=BunServices-CPrZSIfE.mjs.map
@@ -2,7 +2,7 @@
2
2
 
3
3
  require("./chunk-BhaIgcZK.cjs");
4
4
  const require_Schema = require("./Schema-CDCJ3xZo.cjs");
5
- const require_NodeTerminal = require("./NodeTerminal-rYbifme7.cjs");
5
+ const require_NodeTerminal = require("./NodeTerminal-B89MobLp.cjs");
6
6
  //#region ../../node_modules/.bun/@effect+platform-bun@4.0.0-beta.51+01a8f9cec8f1c5e8/node_modules/@effect/platform-bun/dist/BunFileSystem.js
7
7
  /**
8
8
  * @since 1.0.0
@@ -51,4 +51,4 @@ const layer = /* @__PURE__ */ require_NodeTerminal.layer$4.pipe(/* @__PURE__ */
51
51
  exports.layer = layer;
52
52
  exports.layer$1 = layer$4;
53
53
 
54
- //# sourceMappingURL=BunServices-DDh7Whyx.cjs.map
54
+ //# sourceMappingURL=BunServices-Dl-3897e.cjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { Es as succeedNone, Fo as ClockRef, Jc as merge, Ka as doneUnsafe, Lc as succeed$1, Mc as failVoid, Ms as void_, Oc as filterMap, Os as sync, Sl as exitSucceed, Tl as withFiber, Ts as succeed, Uo as asSome, Wa as _await, Xs as isFinite, Ys as infinity, Zs as isZero, al as isSome, eo as makeUnsafe, gl as PipeInspectableProto, ic as toMillis, il as isNone, js as updateContext, qo as contextWith, qs as fromInputUnsafe, ru as dual, vs as onExit } from "./Schema-DOBWF8gQ.mjs";
4
- import { ct as get$1, dt as set$1, ft as size, lt as make$1, ut as remove } from "./Path-C851t6sC.mjs";
4
+ import { dt as make$1, ft as remove, mt as size, pt as set$1, ut as get$1 } from "./Path-evOm-H0Q.mjs";
5
5
  //#region ../../node_modules/.bun/effect@4.0.0-beta.51/node_modules/effect/dist/Cache.js
6
6
  /**
7
7
  * @since 4.0.0
@@ -538,4 +538,4 @@ const keys = (self) => withFiber((fiber) => {
538
538
  //#endregion
539
539
  export { make as a, keys as i, getOption as n, makeWith as o, invalidate as r, set as s, get as t };
540
540
 
541
- //# sourceMappingURL=Cache-BVilO50s.mjs.map
541
+ //# sourceMappingURL=Cache-C9cwdCDt.mjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const require_Schema = require("./Schema-CDCJ3xZo.cjs");
4
- const require_Path = require("./Path-CGCc_dDx.cjs");
4
+ const require_Path = require("./Path-BunGrE8F.cjs");
5
5
  //#region ../../node_modules/.bun/effect@4.0.0-beta.51/node_modules/effect/dist/Cache.js
6
6
  /**
7
7
  * @since 4.0.0
@@ -579,4 +579,4 @@ Object.defineProperty(exports, "set", {
579
579
  }
580
580
  });
581
581
 
582
- //# sourceMappingURL=Cache-DCF22Dfk.cjs.map
582
+ //# sourceMappingURL=Cache-Cf3ARNaS.cjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { $c as fromNullishOr, $l as constTrue, A as Tuple, Aa as Scope, Ac as makeEquivalence$2, Ai as void_, Al as format, An as cached, Ao as makeDieReason, B as annotate, Bc as add, C as Record, Cc as isEmptyRecord, Cn as andThen, Dc as empty$6, Di as uninterruptibleMask, Dl as Class, Dr as mapEager, E as TaggedErrorClass, Ea as succeed$2, Ec as set$3, Ei as uninterruptible, El as BaseProto, Er as map$1, Et as toCodecJson, Fi as withParentSpan, Fl as symbol$1, Fn as catchFilter, Ft as encodeUnknownEffect, Gc as getUnsafe$1, Gn as die, Gr as provideService, H as declare, Ha as TracerEnabled, Hc as get$2, Hn as contextWith, Hr as promise, Hs as has, I as Union, Ic as map$3, Il as array, J as decodeUnknownEffect, Jc as merge$1, Jn as exit, Jr as repeat, Ka as doneUnsafe, La as makeUnsafe$3, Lc as succeed, Lr as onExitPrimitive, Ls as ParentSpan, Ml as redact$1, Mr as matchCauseEffectEager, Na as close, Ni as withFiber, Nl as symbolRedactable, Nn as catchCause, Oi as updateContext, Ol as NodeInspectSymbol, Oo as isNoSuchElementError, Or as mapError, Pa as closeUnsafe, Pc as isFailure$1, Pi as withLogSpan, Ps as DisablePropagation, Ql as constFalse, Qr as runForkWith, Ra as provide, Rc as Reference, Rl as structure, Rn as catchTag, Rr as onInterrupt, Si as try_, So as fromReasons, St as optional, Ta as provideMerge, Tc as map$2, Tn as annotateLogs, To as hasInterruptsOnly, Tt as tag, Us as toPredicate, Vl as hasProperty, Vn as context, Vs as compose, W as decodeEffect, Wa as _await, Xa as into, Xi as isSchedule, Xn as failCause, Xr as retry, Xs as isFinite, Yl as or, Yn as fail$1, Zi as passthrough, Zr as runFork, _ as NonEmptyArray, _s as makeSpanUnsafe, _t as isSchemaError, ac as toSeconds, ai as scopedWith, al as isSome, ar as fnUntraced, au as identity, bi as timeoutOrElse, bo as filterInterruptors, bs as reportCauseUnsafe, c as Defect, ca as Clock, cl as none, da as Error$1, do as Done, eo as makeUnsafe$2, eu as constUndefined, fa as TaggedError, fc as fromIterable$1, fi as suspend, fl as make$14, fr as gen, ga as effect, gl as PipeInspectableProto, h as Literals, hc as isReadonlyArrayNonEmpty, hr as interrupt, in as make$13, io as failCause$1, iu as flow, jc as fail, jr as matchCauseEffect, ki as useSpan, ko as isTimeoutError, li as succeed$1, ll as some, mo as StackTrace, n as ArraySchema, nc as seconds, ni as runSync, nr as flatMapEager, nu as constant, on as stringOrRedacted, oo as isFailure, pi as sync, pl as strictEqual, q as decodeTo, qn as ensuring, qr as raceFirst, qs as fromInputUnsafe, qt as transform, ra as isDoneCause, rl as getOrUndefined, ro as fail$2, ru as dual, sl as match, su as pipeArguments, tl as getOrElse, tr as flatMap, u as ErrorClass, va as effectDiscard, vc as makeEquivalence$1, vo as done, vr as isEffect, vt as link, w as String$1, wc as makeEquivalence, wo as hasInterrupts, x as Number$1, xi as tryPromise, yn as acquireRelease, yr as log, zc as Service, zl as symbol$2, zs as externalSpan } from "./Schema-DOBWF8gQ.mjs";
4
- import { D as fromReadableStream, Gt as set$4, H as run, Jt as getCurrent, K as runForEach, Kt as makeUnsafe$4, R as onExit, S as fromChannel, St as runFold, Wt as make$15, X as suspend$1, Xt as interruptAll, _ as fail$3, a as Size, bt as fromTransform, et as toReadableStreamEffect, g as ensuring$1, r as FileSystem, t as Path, vt as fromPull } from "./Path-C851t6sC.mjs";
4
+ import { Jt as makeUnsafe$4, Kt as make$15, O as fromReadableStream, Qt as interruptAll, S as fromChannel, St as fromTransform, U as run, Xt as getCurrent, Z as suspend$1, _ as fail$3, a as Size, bt as fromPull, g as ensuring$1, nt as toReadableStreamEffect, q as runForEach, qt as set$4, r as FileSystem, t as Path, wt as runFold, z as onExit } from "./Path-evOm-H0Q.mjs";
5
5
  //#region ../../node_modules/.bun/effect@4.0.0-beta.51/node_modules/effect/dist/UndefinedOr.js
6
6
  /**
7
7
  * @since 4.0.0
@@ -4523,4 +4523,4 @@ const layerTestClient = /* @__PURE__ */ effect(HttpClient)(makeTestClient);
4523
4523
  //#endregion
4524
4524
  export { file as $, SocketErrorReason as A, merge as At, ServeError as B, set$2 as Bt, makeConfig as C, HttpClientErrorSchema as Ct, Socket as D, empty$4 as Dt, make$3 as E, fromInput as Et, ClientAbort as F, getAndSet as Ft, TracerPropagationEnabled as G, runtime as Gt, RequestInit as H, updateAndGet as Ht, HttpServerError as I, getUnsafe as It, transformResponse as J, filterStatusOk as K, RequestParseError as L, make$11 as Lt, defaultCloseCodeIsError as M, parseHeader as Mt, fromWebSocket as N, toSetCookieHeaders as Nt, SocketCloseError as O, fromInput$1 as Ot, isCloseEvent as P, get$1 as Pt, empty as Q, ResponseError as R, makeUnsafe as Rt, makeChannel as S, setBody$1 as St, decodeField as T, jsonUnsafe$1 as Tt, layer$1 as U, join as Ut, causeResponse as V, update as Vt, HttpClient as W, make$12 as Wt, layerWeak as X, layer$2 as Y, symbol as Z, schemaBodyUrlParams as _, acceptJson as _t, withLogAddress as a, setCookie as at, MultipartError as b, get as bt, scopeTransferToStream as c, stream as ct, logger as d, filterStatusOk$1 as dt, isHttpServerResponse as et, withLoggerDisabled as f, matchStatus as ft, schemaBodyJson as g, schemaBodyJson$1 as gt, TypeId as h, inspect as ht, serve as i, schemaJson as it, TypeId$2 as j, isEmpty as jt, SocketError as k, fromRecordUnsafe as kt, toHandled as l, text as lt, ParsedSearchParams as m, TypeId$7 as mt, layerTestClient as n, raw as nt, HttpPlatform as o, setCookies as ot, HttpServerRequest as p, MaxBodySize as pt, retryTransient as q, make as r, redirect as rt, make$1 as s, setHeader as st, HttpServer as t, jsonUnsafe as tt, cors as u, uint8Array as ut, schemaHeaders as v, bearerToken as vt, toPersisted as w, isHttpClientError as wt, TypeId$1 as x, post as xt, toURL as y, bodyJson as yt, RouteNotFound as z, modify$1 as zt };
4525
4525
 
4526
- //# sourceMappingURL=HttpServer-ClsGgAq1.mjs.map
4526
+ //# sourceMappingURL=HttpServer-COaBeM7-.mjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const require_Schema = require("./Schema-CDCJ3xZo.cjs");
4
- const require_Path = require("./Path-CGCc_dDx.cjs");
4
+ const require_Path = require("./Path-BunGrE8F.cjs");
5
5
  //#region ../../node_modules/.bun/effect@4.0.0-beta.51/node_modules/effect/dist/UndefinedOr.js
6
6
  /**
7
7
  * @since 4.0.0
@@ -3906,7 +3906,7 @@ const makeChannel = (headers) => require_Path.fromTransform((upstream) => requir
3906
3906
  onFile(info) {
3907
3907
  let chunks = [];
3908
3908
  let finished = false;
3909
- const pullChunks = require_Path.fromPull(require_Schema.succeed(require_Schema.suspend$1(function loop() {
3909
+ const pullChunks = require_Path.fromPull$1(require_Schema.succeed(require_Schema.suspend$1(function loop() {
3910
3910
  if (!require_Schema.isReadonlyArrayNonEmpty(chunks)) return finished ? require_Schema.done$1() : require_Schema.flatMap(pump, loop);
3911
3911
  const chunk = chunks;
3912
3912
  chunks = [];
@@ -5129,4 +5129,4 @@ Object.defineProperty(exports, "withLoggerDisabled", {
5129
5129
  }
5130
5130
  });
5131
5131
 
5132
- //# sourceMappingURL=HttpServer-D1gSU7NX.cjs.map
5132
+ //# sourceMappingURL=HttpServer-CggZzScj.cjs.map
@@ -2,10 +2,10 @@
2
2
 
3
3
  const require_chunk = require("./chunk-BhaIgcZK.cjs");
4
4
  const require_Schema = require("./Schema-CDCJ3xZo.cjs");
5
- const require_Path = require("./Path-CGCc_dDx.cjs");
6
- const require_NodeTerminal = require("./NodeTerminal-rYbifme7.cjs");
7
- const require_NodeServices = require("./NodeServices-Cb0rXFb2.cjs");
8
- const require_HttpServer = require("./HttpServer-D1gSU7NX.cjs");
5
+ const require_Path = require("./Path-BunGrE8F.cjs");
6
+ const require_NodeTerminal = require("./NodeTerminal-B89MobLp.cjs");
7
+ const require_NodeServices = require("./NodeServices-CKFIZVu5.cjs");
8
+ const require_HttpServer = require("./HttpServer-CggZzScj.cjs");
9
9
  const require_Config = require("./Config-CwKCCk14.cjs");
10
10
  const require_Mime = require("./Mime-Bilnh8zE.cjs");
11
11
  let node_stream = require("node:stream");
@@ -613,4 +613,4 @@ exports.make = make;
613
613
  exports.makeHandler = makeHandler;
614
614
  exports.makeUpgradeHandler = makeUpgradeHandler;
615
615
 
616
- //# sourceMappingURL=NodeHttpServer-Dfc7nSMq.cjs.map
616
+ //# sourceMappingURL=NodeHttpServer-Bi339XFk.cjs.map
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { $c as fromNullishOr, Ai as void_, An as cached, Ca as mergeAll, Dl as Class, Ea as succeed$1, Er as map, Fa as forkUnsafe, Gn as die, Ma as addFinalizerExit, Mn as callback, Ni as withFiber, Qr as runForkWith, Ra as provide$1, Si as try_, Ta as provideMerge, Xn as failCause, Yn as fail, _o as die$1, ar as fnUntraced, ba as fresh, bi as timeoutOrElse, fi as suspend, ga as effect, go as combine, gr as interruptible, hi as tapCause, iu as flow, ja as addFinalizer, jr as matchCauseEffect, li as succeed, nc as seconds, ni as runSync, ou as pipe, pi as sync, qc as makeUnsafe, ri as scope, tr as flatMap, wa as provide, xi as tryPromise, yn as acquireRelease } from "./Schema-DOBWF8gQ.mjs";
4
- import { Kt as makeUnsafe$1, Zt as runIn, j as map$1, q as runForEachArray, rt as unwrap, z as orDie } from "./Path-C851t6sC.mjs";
5
- import { f as fromReadable, h as toUint8Array, m as toString, p as toArrayBuffer } from "./NodeTerminal-BPw7bktz.mjs";
6
- import { n as layer$3, r as layer$2 } from "./NodeServices-BahzLhbo.mjs";
7
- import { At as merge, B as ServeError, C as makeConfig, E as make$4, Et as fromInput$1, F as ClientAbort, H as RequestInit, I as HttpServerError, L as RequestParseError, Mt as parseHeader, N as fromWebSocket, Nt as toSetCookieHeaders, Ot as fromInput, R as ResponseError, T as decodeField, U as layer$5, V as causeResponse, X as layerWeak, Y as layer$4, b as MultipartError, h as TypeId$2, ht as inspect, jt as isEmpty, kt as fromRecordUnsafe, l as toHandled, mt as TypeId, n as layerTestClient, nt as raw, o as HttpPlatform, p as HttpServerRequest, pt as MaxBodySize, r as make$5, s as make$3, t as HttpServer, w as toPersisted, x as TypeId$1 } from "./HttpServer-ClsGgAq1.mjs";
4
+ import { $t as runIn, B as orDie, J as runForEachArray, Jt as makeUnsafe$1, M as map$1, at as unwrap } from "./Path-evOm-H0Q.mjs";
5
+ import { f as fromReadable, h as toUint8Array, m as toString, p as toArrayBuffer } from "./NodeTerminal-pYVVRTiD.mjs";
6
+ import { n as layer$3, r as layer$2 } from "./NodeServices-z1Ac4lEO.mjs";
7
+ import { At as merge, B as ServeError, C as makeConfig, E as make$4, Et as fromInput$1, F as ClientAbort, H as RequestInit, I as HttpServerError, L as RequestParseError, Mt as parseHeader, N as fromWebSocket, Nt as toSetCookieHeaders, Ot as fromInput, R as ResponseError, T as decodeField, U as layer$5, V as causeResponse, X as layerWeak, Y as layer$4, b as MultipartError, h as TypeId$2, ht as inspect, jt as isEmpty, kt as fromRecordUnsafe, l as toHandled, mt as TypeId, n as layerTestClient, nt as raw, o as HttpPlatform, p as HttpServerRequest, pt as MaxBodySize, r as make$5, s as make$3, t as HttpServer, w as toPersisted, x as TypeId$1 } from "./HttpServer-COaBeM7-.mjs";
8
8
  import { h as unwrap$1 } from "./Config-Cdfpphpo.mjs";
9
9
  import { n as import_websocket_server, t as Mime_default } from "./Mime-Dq9IoNiV.mjs";
10
10
  import { Duplex, Readable } from "node:stream";
@@ -602,4 +602,4 @@ const handleCause = (nodeResponse, originalResponse) => (originalCause) => flatM
602
602
  //#endregion
603
603
  export { layer, layerConfig, layerHttpServices, layerServer, layerTest, make, makeHandler, makeUpgradeHandler };
604
604
 
605
- //# sourceMappingURL=NodeHttpServer-DT0TF8s4.mjs.map
605
+ //# sourceMappingURL=NodeHttpServer-UQnvZnmu.mjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { An as cached, Gr as provideService, Hr as promise, Vr as orElseSucceed, fr as gen, ga as effect, ir as fn } from "./Schema-DOBWF8gQ.mjs";
4
- import { r as FileSystem, t as Path } from "./Path-C851t6sC.mjs";
4
+ import { r as FileSystem, t as Path } from "./Path-evOm-H0Q.mjs";
5
5
  import { t as PtyAdapter } from "./PTY-BzdbZ0Ym.mjs";
6
6
  import { createRequire } from "node:module";
7
7
  //#region src/terminal/Layers/NodePTY.ts
@@ -83,4 +83,4 @@ const layer = effect(PtyAdapter, gen(function* () {
83
83
  //#endregion
84
84
  export { ensureNodePtySpawnHelperExecutable, layer };
85
85
 
86
- //# sourceMappingURL=NodePTY-loxi8Vku.mjs.map
86
+ //# sourceMappingURL=NodePTY-B1u6RHXk.mjs.map
@@ -2,7 +2,7 @@
2
2
 
3
3
  require("./chunk-BhaIgcZK.cjs");
4
4
  const require_Schema = require("./Schema-CDCJ3xZo.cjs");
5
- const require_Path = require("./Path-CGCc_dDx.cjs");
5
+ const require_Path = require("./Path-BunGrE8F.cjs");
6
6
  const require_PTY = require("./PTY-B4ZctbwQ.cjs");
7
7
  let node_module = require("node:module");
8
8
  //#region src/terminal/Layers/NodePTY.ts
@@ -85,4 +85,4 @@ const layer = require_Schema.effect(require_PTY.PtyAdapter, require_Schema.gen(f
85
85
  exports.ensureNodePtySpawnHelperExecutable = ensureNodePtySpawnHelperExecutable;
86
86
  exports.layer = layer;
87
87
 
88
- //# sourceMappingURL=NodePTY-S4tPEwZc.cjs.map
88
+ //# sourceMappingURL=NodePTY-UOaRyQsj.cjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const require_Schema = require("./Schema-CDCJ3xZo.cjs");
4
- const require_NodeTerminal = require("./NodeTerminal-rYbifme7.cjs");
4
+ const require_NodeTerminal = require("./NodeTerminal-B89MobLp.cjs");
5
5
  //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.51+8bd9a870f1f5fee9/node_modules/@effect/platform-node/dist/NodeFileSystem.js
6
6
  /**
7
7
  * @since 1.0.0
@@ -60,4 +60,4 @@ Object.defineProperty(exports, "layer$1", {
60
60
  }
61
61
  });
62
62
 
63
- //# sourceMappingURL=NodeServices-Cb0rXFb2.cjs.map
63
+ //# sourceMappingURL=NodeServices-CKFIZVu5.cjs.map
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  require("./chunk-BhaIgcZK.cjs");
4
- const require_NodeServices = require("./NodeServices-Cb0rXFb2.cjs");
4
+ const require_NodeServices = require("./NodeServices-CKFIZVu5.cjs");
5
5
  exports.layer = require_NodeServices.layer;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { r as __exportAll } from "./chunk-C5ckVeoz.mjs";
4
4
  import { Ca as mergeAll, Ta as provideMerge } from "./Schema-DOBWF8gQ.mjs";
5
- import { d as layer$9, i as layer$7, s as layer$6, t as layer$8, u as layer$5 } from "./NodeTerminal-BPw7bktz.mjs";
5
+ import { d as layer$9, i as layer$7, s as layer$6, t as layer$8, u as layer$5 } from "./NodeTerminal-pYVVRTiD.mjs";
6
6
  //#region ../../node_modules/.bun/@effect+platform-node@4.0.0-beta.51+8bd9a870f1f5fee9/node_modules/@effect/platform-node/dist/NodeFileSystem.js
7
7
  /**
8
8
  * @since 1.0.0
@@ -48,4 +48,4 @@ const layer = /* @__PURE__ */ provideMerge(layer$9, /* @__PURE__ */ mergeAll(lay
48
48
  //#endregion
49
49
  export { layer as n, layer$4 as r, NodeServices_exports as t };
50
50
 
51
- //# sourceMappingURL=NodeServices-BahzLhbo.mjs.map
51
+ //# sourceMappingURL=NodeServices-z1Ac4lEO.mjs.map
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { Aa as Scope, Ai as void_, Bc as add, Di as uninterruptibleMask, Dn as as, Er as map, Gc as getUnsafe, Gn as die, Hc as get, Kc as make$1, Ni as withFiber, Si as try_, Yn as fail, _a as effectContext, au as identity, bn as acquireUseRelease, fr as gen, ir as fn, ja as addFinalizer, li as succeed, mi as tap, pi as sync, ri as scope, tc as minutes, tr as flatMap, wa as provide, zc as Service } from "./Schema-DOBWF8gQ.mjs";
4
- import { Ct as make$2, Jt as getCurrent, p as die$1 } from "./Path-C851t6sC.mjs";
4
+ import { Tt as make$2, Xt as getCurrent, p as die$1 } from "./Path-evOm-H0Q.mjs";
5
5
  import { h as unwrap } from "./Config-Cdfpphpo.mjs";
6
- import { a as make$3, t as get$1 } from "./Cache-BVilO50s.mjs";
7
- import { S as layer$1, c as SqlError, f as classifySqliteError, h as make$4, m as SqlClient, p as SafeIntegers, v as defaultTransforms, x as makeCompilerSqlite } from "./SqlError-3aqibZrj.mjs";
6
+ import { a as make$3, t as get$1 } from "./Cache-C9cwdCDt.mjs";
7
+ import { S as layer$1, c as SqlError, f as classifySqliteError, h as make$4, m as SqlClient, p as SafeIntegers, v as defaultTransforms, x as makeCompilerSqlite } from "./SqlError-CezTFGvr.mjs";
8
8
  import { DatabaseSync } from "node:sqlite";
9
9
  //#region src/persistence/NodeSqliteClient.ts
10
10
  /**
@@ -138,4 +138,4 @@ const layerMemory = (config = {}) => effectContext(map(makeMemory(config), (clie
138
138
  //#endregion
139
139
  export { layer, layerConfig, layerMemory };
140
140
 
141
- //# sourceMappingURL=NodeSqliteClient-DqFjB3u_.mjs.map
141
+ //# sourceMappingURL=NodeSqliteClient-BrzqdOsF.mjs.map
@@ -2,10 +2,10 @@
2
2
 
3
3
  require("./chunk-BhaIgcZK.cjs");
4
4
  const require_Schema = require("./Schema-CDCJ3xZo.cjs");
5
- const require_Path = require("./Path-CGCc_dDx.cjs");
5
+ const require_Path = require("./Path-BunGrE8F.cjs");
6
6
  const require_Config = require("./Config-CwKCCk14.cjs");
7
- const require_Cache = require("./Cache-DCF22Dfk.cjs");
8
- const require_SqlError = require("./SqlError-CzB6p9lL.cjs");
7
+ const require_Cache = require("./Cache-Cf3ARNaS.cjs");
8
+ const require_SqlError = require("./SqlError-1wIMjXAf.cjs");
9
9
  let node_sqlite = require("node:sqlite");
10
10
  //#region src/persistence/NodeSqliteClient.ts
11
11
  /**
@@ -144,4 +144,4 @@ exports.layer = layer;
144
144
  exports.layerConfig = layerConfig;
145
145
  exports.layerMemory = layerMemory;
146
146
 
147
- //# sourceMappingURL=NodeSqliteClient-qjBWAOGq.cjs.map
147
+ //# sourceMappingURL=NodeSqliteClient-CyJvo9y9.cjs.map
@@ -2,7 +2,7 @@
2
2
 
3
3
  const require_chunk = require("./chunk-BhaIgcZK.cjs");
4
4
  const require_Schema = require("./Schema-CDCJ3xZo.cjs");
5
- const require_Path = require("./Path-CGCc_dDx.cjs");
5
+ const require_Path = require("./Path-BunGrE8F.cjs");
6
6
  let node_child_process = require("node:child_process");
7
7
  node_child_process = require_chunk.__toESM(node_child_process);
8
8
  let node_stream = require("node:stream");
@@ -1721,4 +1721,4 @@ Object.defineProperty(exports, "toUint8Array", {
1721
1721
  }
1722
1722
  });
1723
1723
 
1724
- //# sourceMappingURL=NodeTerminal-rYbifme7.cjs.map
1724
+ //# sourceMappingURL=NodeTerminal-B89MobLp.cjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { $c as fromNullishOr, Ai as void_, Bn as catch_, Br as orDie, Cn as andThen, Dn as as, Ea as succeed$2, Ei as uninterruptible, El as BaseProto, Er as map, Gl as isNullish, Hl as isNotNull, Jl as isUndefined, Ka as doneUnsafe, Kn as effectify, Mn as callback, Nr as matchEffect, Or as mapError, Qa as isDone, Si as try_, Tt as tag, Vl as hasProperty, Wa as _await, Wl as isNotUndefined, Yn as fail, Zc as flatMap$1, Zr as runFork, _l as YieldableProto, ar as fnUntraced, au as identity, bc as of, bi as timeoutOrElse, cl as none, do as Done, dr as forkScoped, ea as catchDone, el as fromUndefinedOr, eo as makeUnsafe, fi as suspend, fr as gen, ga as effect, gl as PipeInspectableProto, ho as UnknownError, ii as scoped, ja as addFinalizer, kn as asVoid, li as succeed, ll as some, lo as succeed$1, or as forEach, ou as pipe, pi as sync, pr as ignore, qr as raceFirst, ro as fail$1, si as serviceOption, sl as match, sr as forever, tl as getOrElse, tr as flatMap, u as ErrorClass, vo as done, xi as tryPromise, xn as addFinalizer$1, yn as acquireRelease, yo as fail$2, zc as Service } from "./Schema-DOBWF8gQ.mjs";
4
- import { $t as badArgument, At as make$8, Dt as endUnsafe, F as merge, H as run, I as mkString, J as splitLines, Kt as makeUnsafe$1, Lt as take, Nt as offerUnsafe, Pt as poll, Qt as BadArgument, S as fromChannel$1, U as runCollect, Wt as make$6, a as Size, at as make$9, bt as fromTransform, c as callback$1, en as systemError, f as decodeText, gt as isSink, ht as fromChannel, i as FileTypeId, it as get, jt as offer, k as isStream, kt as failCauseUnsafe, m as empty, n as TypeId$3, nt as transduce, o as WatchBackend, pt as drain, r as FileSystem, rt as unwrap, s as make$7, t as Path$1, tn as nominal, xt as mapDone } from "./Path-C851t6sC.mjs";
4
+ import { A as isStream, Ct as mapDone, Ft as offerUnsafe, I as merge, It as poll, Jt as makeUnsafe$1, Kt as make$6, L as mkString, Mt as make$8, Nt as offer, S as fromChannel$1, St as fromTransform, U as run, W as runCollect, Y as splitLines, _t as fromChannel, a as Size, at as unwrap, c as callback$1, en as BadArgument, f as decodeText, ht as drain, i as FileTypeId, it as transduce, jt as failCauseUnsafe, kt as endUnsafe, m as empty, n as TypeId$3, nn as systemError, o as WatchBackend, ot as get, r as FileSystem, rn as nominal, s as make$7, st as make$9, t as Path$1, tn as badArgument, vt as isSink, zt as take } from "./Path-evOm-H0Q.mjs";
5
5
  import * as NodeChildProcess from "node:child_process";
6
6
  import { PassThrough } from "node:stream";
7
7
  import * as Crypto from "node:crypto";
@@ -1607,4 +1607,4 @@ function defaultShouldQuit(input) {
1607
1607
  //#endregion
1608
1608
  export { ChildProcessSpawner as _, Stdio as a, layerPosix as c, layer$4 as d, fromReadable as f, make$4 as g, toUint8Array as h, layer$1 as i, layerWin32 as l, toString as m, make as n, make$2 as o, toArrayBuffer as p, isQuitError as r, layer$2 as s, layer as t, layer$3 as u };
1609
1609
 
1610
- //# sourceMappingURL=NodeTerminal-BPw7bktz.mjs.map
1610
+ //# sourceMappingURL=NodeTerminal-pYVVRTiD.mjs.map
@@ -4249,6 +4249,37 @@ const runFold$1 = /* @__PURE__ */ require_Schema.dual(3, (self, initial, f) => r
4249
4249
  }), () => require_Schema.succeed(state));
4250
4250
  }));
4251
4251
  /**
4252
+ * Converts a channel to a Pull data structure for low-level consumption.
4253
+ *
4254
+ * @example
4255
+ * ```ts
4256
+ * import { Channel, Data, Effect } from "effect"
4257
+ *
4258
+ * class PullError extends Data.TaggedError("PullError")<{
4259
+ * readonly step: string
4260
+ * }> {}
4261
+ *
4262
+ * // Create a channel
4263
+ * const numbersChannel = Channel.fromIterable([1, 2, 3])
4264
+ *
4265
+ * // Convert to Pull within a scope
4266
+ * const pullEffect = Effect.scoped(
4267
+ * Channel.toPull(numbersChannel)
4268
+ * )
4269
+ *
4270
+ * // Use the Pull to manually consume elements
4271
+ * ```
4272
+ *
4273
+ * @since 2.0.0
4274
+ * @category Destructors
4275
+ */
4276
+ const toPull$1 = /* @__PURE__ */ require_Schema.fnUntraced(function* (self) {
4277
+ const semaphore = makeUnsafe$1(1);
4278
+ const context$1 = yield* require_Schema.context();
4279
+ const scope = require_Schema.get(context$1, require_Schema.Scope);
4280
+ return (yield* toTransform(self)(require_Schema.done$1(), scope)).pipe(require_Schema.provideContext(context$1), semaphore.withPermits(1));
4281
+ }, /* @__PURE__ */ require_Schema.catchCause((cause) => require_Schema.succeed(require_Schema.failCause(cause))));
4282
+ /**
4252
4283
  * Converts a channel to a Pull within an existing scope.
4253
4284
  *
4254
4285
  * @example
@@ -6552,6 +6583,34 @@ const runForEachArray = /* @__PURE__ */ require_Schema.dual(2, (self, f) => runF
6552
6583
  */
6553
6584
  const runDrain = (self) => runDrain$1(self.channel);
6554
6585
  /**
6586
+ * Returns a scoped pull for manually consuming the stream's output chunks.
6587
+ *
6588
+ * The pull fails with `Cause.Done` when the stream ends and with the stream
6589
+ * error on failure.
6590
+ *
6591
+ * @example
6592
+ * ```ts
6593
+ * import { Console, Effect, Stream } from "effect"
6594
+ *
6595
+ * const stream = Stream.make(1, 2, 3)
6596
+ *
6597
+ * const program = Effect.scoped(
6598
+ * Effect.gen(function*() {
6599
+ * const pull = yield* Stream.toPull(stream)
6600
+ * const chunk = yield* pull
6601
+ * yield* Console.log(chunk)
6602
+ * })
6603
+ * )
6604
+ *
6605
+ * Effect.runPromise(program)
6606
+ * // [1, 2, 3]
6607
+ * ```
6608
+ *
6609
+ * @since 2.0.0
6610
+ * @category Destructors
6611
+ */
6612
+ const toPull = (self) => toPull$1(self.channel);
6613
+ /**
6555
6614
  * Concatenates all emitted strings into a single string.
6556
6615
  *
6557
6616
  * @example
@@ -7602,6 +7661,12 @@ Object.defineProperty(exports, "fromPubSub", {
7602
7661
  }
7603
7662
  });
7604
7663
  Object.defineProperty(exports, "fromPull", {
7664
+ enumerable: true,
7665
+ get: function() {
7666
+ return fromPull;
7667
+ }
7668
+ });
7669
+ Object.defineProperty(exports, "fromPull$1", {
7605
7670
  enumerable: true,
7606
7671
  get: function() {
7607
7672
  return fromPull$1;
@@ -8009,6 +8074,12 @@ Object.defineProperty(exports, "toAsyncIterable", {
8009
8074
  return toAsyncIterable;
8010
8075
  }
8011
8076
  });
8077
+ Object.defineProperty(exports, "toPull", {
8078
+ enumerable: true,
8079
+ get: function() {
8080
+ return toPull;
8081
+ }
8082
+ });
8012
8083
  Object.defineProperty(exports, "toReadableStreamEffect", {
8013
8084
  enumerable: true,
8014
8085
  get: function() {
@@ -8046,4 +8117,4 @@ Object.defineProperty(exports, "unwrap", {
8046
8117
  }
8047
8118
  });
8048
8119
 
8049
- //# sourceMappingURL=Path-CGCc_dDx.cjs.map
8120
+ //# sourceMappingURL=Path-BunGrE8F.cjs.map
@@ -4240,6 +4240,37 @@ const runFold$1 = /* @__PURE__ */ dual(3, (self, initial, f) => suspend$2(() =>
4240
4240
  }), () => succeed$3(state));
4241
4241
  }));
4242
4242
  /**
4243
+ * Converts a channel to a Pull data structure for low-level consumption.
4244
+ *
4245
+ * @example
4246
+ * ```ts
4247
+ * import { Channel, Data, Effect } from "effect"
4248
+ *
4249
+ * class PullError extends Data.TaggedError("PullError")<{
4250
+ * readonly step: string
4251
+ * }> {}
4252
+ *
4253
+ * // Create a channel
4254
+ * const numbersChannel = Channel.fromIterable([1, 2, 3])
4255
+ *
4256
+ * // Convert to Pull within a scope
4257
+ * const pullEffect = Effect.scoped(
4258
+ * Channel.toPull(numbersChannel)
4259
+ * )
4260
+ *
4261
+ * // Use the Pull to manually consume elements
4262
+ * ```
4263
+ *
4264
+ * @since 2.0.0
4265
+ * @category Destructors
4266
+ */
4267
+ const toPull$1 = /* @__PURE__ */ fnUntraced(function* (self) {
4268
+ const semaphore = makeUnsafe$1(1);
4269
+ const context$1 = yield* context();
4270
+ const scope = get$4(context$1, Scope);
4271
+ return (yield* toTransform(self)(done(), scope)).pipe(provideContext$2(context$1), semaphore.withPermits(1));
4272
+ }, /* @__PURE__ */ catchCause$2((cause) => succeed$3(failCause$3(cause))));
4273
+ /**
4243
4274
  * Converts a channel to a Pull within an existing scope.
4244
4275
  *
4245
4276
  * @example
@@ -6537,6 +6568,34 @@ const runForEachArray = /* @__PURE__ */ dual(2, (self, f) => runForEach$1(self.c
6537
6568
  */
6538
6569
  const runDrain = (self) => runDrain$1(self.channel);
6539
6570
  /**
6571
+ * Returns a scoped pull for manually consuming the stream's output chunks.
6572
+ *
6573
+ * The pull fails with `Cause.Done` when the stream ends and with the stream
6574
+ * error on failure.
6575
+ *
6576
+ * @example
6577
+ * ```ts
6578
+ * import { Console, Effect, Stream } from "effect"
6579
+ *
6580
+ * const stream = Stream.make(1, 2, 3)
6581
+ *
6582
+ * const program = Effect.scoped(
6583
+ * Effect.gen(function*() {
6584
+ * const pull = yield* Stream.toPull(stream)
6585
+ * const chunk = yield* pull
6586
+ * yield* Console.log(chunk)
6587
+ * })
6588
+ * )
6589
+ *
6590
+ * Effect.runPromise(program)
6591
+ * // [1, 2, 3]
6592
+ * ```
6593
+ *
6594
+ * @since 2.0.0
6595
+ * @category Destructors
6596
+ */
6597
+ const toPull = (self) => toPull$1(self.channel);
6598
+ /**
6540
6599
  * Concatenates all emitted strings into a single string.
6541
6600
  *
6542
6601
  * @example
@@ -7376,6 +7435,6 @@ const posixImpl = /* @__PURE__ */ Path.of({
7376
7435
  toNamespacedPath: identity
7377
7436
  });
7378
7437
  //#endregion
7379
- export { toAsyncIterable as $, badArgument as $t, make$1 as A, make$7 as At, pipeThroughChannel as B, publish as Bt, fromEffect as C, make$6 as Ct, fromReadableStream as D, endUnsafe as Dt, fromQueue as E, end as Et, merge as F, shutdown as Ft, runFold as G, set$1 as Gt, run as H, subscribe as Ht, mkString as I, sliding as It, splitLines as J, getCurrent as Jt, runForEach as K, makeUnsafe$2 as Kt, mkUint8Array as L, take as Lt, mapAccum as M, offerAll as Mt, mapEffect as N, offerUnsafe as Nt, fromSubscription as O, failCause$2 as Ot, mapError as P, poll as Pt, tick as Q, BadArgument as Qt, onExit as R, takeAll as Rt, fromChannel as S, runFold$1 as St, fromPubSub as T, bounded as Tt, runCollect as U, unbounded$1 as Ut, provideContext as V, shutdown$1 as Vt, runDrain as W, make$9 as Wt, suspend as X, interruptAll as Xt, succeed as Y, interrupt as Yt, takeWhile as Z, runIn as Zt, fail as _, mapInput as _t, Size as a, make$2 as at, flatMap as b, fromTransform$1 as bt, callback as c, get$3 as ct, debounce as d, set as dt, systemError as en, toReadableStreamEffect as et, decodeText as f, size as ft, ensuring as g, isSink as gt, encodeText as h, fromChannel$1 as ht, FileTypeId as i, get as it, map as j, offer as jt, isStream as k, failCauseUnsafe as kt, catchCause as l, make$5 as lt, empty as m, forEach as mt, TypeId as n, transduce as nt, WatchBackend as o, get$2 as ot, die as p, drain as pt, runForEachArray as q, await_ as qt, FileSystem as r, unwrap as rt, make as s, make$4 as st, Path as t, nominal as tn, toReadableStreamWith as tt, concat as u, remove as ut, failCause as v, fromPull$1 as vt, fromIterable as w, makeUnsafe$1 as wt, fromAsyncIterable as x, mapDone as xt, filter as y, fromSubscriptionArray as yt, orDie as z, unbounded as zt };
7438
+ export { tick as $, runIn as $t, isStream as A, failCause$2 as At, orDie as B, takeAll as Bt, fromEffect as C, mapDone as Ct, fromQueue as D, bounded as Dt, fromPull as E, makeUnsafe$1 as Et, mapError as F, offerUnsafe as Ft, runDrain as G, unbounded$1 as Gt, provideContext as H, publish as Ht, merge as I, poll as It, runForEachArray as J, makeUnsafe$2 as Jt, runFold as K, make$9 as Kt, mkString as L, shutdown as Lt, map as M, make$7 as Mt, mapAccum as N, offer as Nt, fromReadableStream as O, end as Ot, mapEffect as P, offerAll as Pt, takeWhile as Q, interruptAll as Qt, mkUint8Array as R, sliding as Rt, fromChannel as S, fromTransform$1 as St, fromPubSub as T, make$6 as Tt, run as U, shutdown$1 as Ut, pipeThroughChannel as V, unbounded as Vt, runCollect as W, subscribe as Wt, succeed as X, getCurrent as Xt, splitLines as Y, await_ as Yt, suspend as Z, interrupt as Zt, fail as _, fromChannel$1 as _t, Size as a, unwrap as at, flatMap as b, fromPull$1 as bt, callback as c, get$2 as ct, debounce as d, make$5 as dt, BadArgument as en, toAsyncIterable as et, decodeText as f, remove as ft, ensuring as g, forEach as gt, encodeText as h, drain as ht, FileTypeId as i, transduce as it, make$1 as j, failCauseUnsafe as jt, fromSubscription as k, endUnsafe as kt, catchCause as l, make$4 as lt, empty as m, size as mt, TypeId as n, systemError as nn, toReadableStreamEffect as nt, WatchBackend as o, get as ot, die as p, set as pt, runForEach as q, set$1 as qt, FileSystem as r, nominal as rn, toReadableStreamWith as rt, make as s, make$2 as st, Path as t, badArgument as tn, toPull as tt, concat as u, get$3 as ut, failCause as v, isSink as vt, fromIterable as w, runFold$1 as wt, fromAsyncIterable as x, fromSubscriptionArray as xt, filter as y, mapInput as yt, onExit as z, take as zt };
7380
7439
 
7381
- //# sourceMappingURL=Path-C851t6sC.mjs.map
7440
+ //# sourceMappingURL=Path-evOm-H0Q.mjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const require_Schema = require("./Schema-CDCJ3xZo.cjs");
4
- const require_Path = require("./Path-CGCc_dDx.cjs");
4
+ const require_Path = require("./Path-BunGrE8F.cjs");
5
5
  //#region ../../node_modules/.bun/effect@4.0.0-beta.51/node_modules/effect/dist/unstable/reactivity/Reactivity.js
6
6
  /**
7
7
  * @since 4.0.0
@@ -1170,4 +1170,4 @@ Object.defineProperty(exports, "makeCompilerSqlite", {
1170
1170
  }
1171
1171
  });
1172
1172
 
1173
- //# sourceMappingURL=SqlError-CzB6p9lL.cjs.map
1173
+ //# sourceMappingURL=SqlError-1wIMjXAf.cjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { Aa as Scope, Ai as void_, Bc as add, Br as orDie, Cl as identifier$1, Di as uninterruptibleMask, E as TaggedErrorClass, Er as map, Gr as provideService, Hc as get, Hn as contextWith, I as Union, Ia as make$3, Ir as onExit, Jn as exit, Ll as hash, Ls as ParentSpan, Na as close, Ni as withFiber, Qr as runForkWith, Ra as provide, Rc as Reference, St as optional, Tr as makeSpanScoped, Ua as TracerTimingEnabled, Uc as getOption, Vl as hasProperty, Vn as context, Wr as provideContext, Yc as mutate, Yo as endSpan, _s as makeSpanUnsafe, ar as fnUntraced, c as Defect, ca as Clock, eu as constUndefined, fi as suspend, fr as gen, ga as effect, hl as EffectProto, ii as scoped, iu as flow, ja as addFinalizer, ki as useSpan, li as succeed, mi as tap, pi as sync, qn as ensuring, si as serviceOption, sl as match, so as isSuccess, tr as flatMap, w as String$1, yl as evaluate, zc as Service } from "./Schema-DOBWF8gQ.mjs";
4
- import { At as make$4, E as fromQueue, Nt as offerUnsafe, Zt as runIn, kt as failCauseUnsafe, rt as unwrap } from "./Path-C851t6sC.mjs";
4
+ import { $t as runIn, D as fromQueue, Ft as offerUnsafe, Mt as make$4, at as unwrap, jt as failCauseUnsafe } from "./Path-evOm-H0Q.mjs";
5
5
  //#region ../../node_modules/.bun/effect@4.0.0-beta.51/node_modules/effect/dist/unstable/reactivity/Reactivity.js
6
6
  /**
7
7
  * @since 4.0.0
@@ -1037,4 +1037,4 @@ const classifySqliteError = (cause, { message, operation } = {}) => {
1037
1037
  //#endregion
1038
1038
  export { layer as S, defaultEscape as _, DeadlockError as a, makeCompiler as b, SqlError as c, UnknownError as d, classifySqliteError as f, custom as g, make as h, ConstraintError as i, SqlSyntaxError as l, SqlClient as m, AuthorizationError as n, LockTimeoutError as o, SafeIntegers as p, ConnectionError as r, SerializationError as s, AuthenticationError as t, StatementTimeoutError as u, defaultTransforms as v, makeCompilerSqlite as x, fragment as y };
1039
1039
 
1040
- //# sourceMappingURL=SqlError-3aqibZrj.mjs.map
1040
+ //# sourceMappingURL=SqlError-CezTFGvr.mjs.map
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { Aa as Scope, Bc as add, Di as uninterruptibleMask, Dn as as, Er as map, Gc as getUnsafe, Hc as get, Kc as make$1, Ni as withFiber, Si as try_, Yn as fail, _a as effectContext, au as identity, fr as gen, ja as addFinalizer$1, li as succeed, mi as tap, pi as sync, tr as flatMap, wa as provide, xn as addFinalizer, zc as Service } from "./Schema-DOBWF8gQ.mjs";
4
- import { Ct as make$2, Jt as getCurrent, p as die } from "./Path-C851t6sC.mjs";
4
+ import { Tt as make$2, Xt as getCurrent, p as die } from "./Path-evOm-H0Q.mjs";
5
5
  import { h as unwrap } from "./Config-Cdfpphpo.mjs";
6
- import { S as layer$1, c as SqlError, f as classifySqliteError, h as make$3, m as SqlClient, p as SafeIntegers, v as defaultTransforms, x as makeCompilerSqlite } from "./SqlError-3aqibZrj.mjs";
6
+ import { S as layer$1, c as SqlError, f as classifySqliteError, h as make$3, m as SqlClient, p as SafeIntegers, v as defaultTransforms, x as makeCompilerSqlite } from "./SqlError-CezTFGvr.mjs";
7
7
  import { Database } from "bun:sqlite";
8
8
  //#region ../../node_modules/.bun/@effect+sql-sqlite-bun@4.0.0-beta.51+01a8f9cec8f1c5e8/node_modules/@effect/sql-sqlite-bun/dist/SqliteClient.js
9
9
  /**
@@ -118,4 +118,4 @@ const layer = (config) => effectContext(map(make(config), (client) => make$1(Sql
118
118
  //#endregion
119
119
  export { SqliteClient, TypeId, layer, layerConfig, make };
120
120
 
121
- //# sourceMappingURL=SqliteClient-DTWCGkrj.mjs.map
121
+ //# sourceMappingURL=SqliteClient-D3Yd3ZHn.mjs.map
@@ -2,9 +2,9 @@
2
2
 
3
3
  require("./chunk-BhaIgcZK.cjs");
4
4
  const require_Schema = require("./Schema-CDCJ3xZo.cjs");
5
- const require_Path = require("./Path-CGCc_dDx.cjs");
5
+ const require_Path = require("./Path-BunGrE8F.cjs");
6
6
  const require_Config = require("./Config-CwKCCk14.cjs");
7
- const require_SqlError = require("./SqlError-CzB6p9lL.cjs");
7
+ const require_SqlError = require("./SqlError-1wIMjXAf.cjs");
8
8
  let bun_sqlite = require("bun:sqlite");
9
9
  //#region ../../node_modules/.bun/@effect+sql-sqlite-bun@4.0.0-beta.51+01a8f9cec8f1c5e8/node_modules/@effect/sql-sqlite-bun/dist/SqliteClient.js
10
10
  /**
@@ -124,4 +124,4 @@ exports.layer = layer;
124
124
  exports.layerConfig = layerConfig;
125
125
  exports.make = make;
126
126
 
127
- //# sourceMappingURL=SqliteClient-Cq1peWN1.cjs.map
127
+ //# sourceMappingURL=SqliteClient-bo7iui1t.cjs.map