getborg 0.0.98 → 0.0.117

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 (115) hide show
  1. package/dist/{BunPtyAdapter-BO6MRm-I.mjs → BunPtyAdapter-kPTUT2mb.mjs} +3 -3
  2. package/dist/{Config-gKAe02uc.mjs → Config-DvH5tPG0.mjs} +2 -2
  3. package/dist/{FetchHttpClient-Dkvk_2gy.mjs → FetchHttpClient-C-jciW95.mjs} +3 -3
  4. package/dist/{FileSystem-CME3BFzu.mjs → FileSystem-NX0EtGtm.mjs} +109 -3
  5. package/dist/{Mime-CECsj7CV.mjs → Mime-C6O17O_3.mjs} +5 -5
  6. package/dist/{NodeHttpIncomingMessage-0aW45tSl.mjs → NodeHttpIncomingMessage-CylGKvlB.mjs} +4 -4
  7. package/dist/{NodeHttpServer-CdXvBNNA.mjs → NodeHttpServer-EarHJJzn.mjs} +9 -9
  8. package/dist/{NodePtyAdapter-BWrlUEea.mjs → NodePtyAdapter-C6ioPYk6.mjs} +5 -5
  9. package/dist/{NodeServices-BHXunFtp.mjs → NodeServices-C18DO3cx.mjs} +6 -6
  10. package/dist/{NodeSqliteClient-BwW7kwrY.mjs → NodeSqliteClient-CWkKfsSo.mjs} +5 -5
  11. package/dist/{NodeStream-CWX36BNZ.mjs → NodeStream-1N7oXzTp.mjs} +3 -3
  12. package/dist/{Path-BdYWOglD.mjs → Path-ZDpyUmZ1.mjs} +2 -2
  13. package/dist/{PtyAdapter-DCErzU8T.mjs → PtyAdapter-DSEyRij4.mjs} +2 -2
  14. package/dist/{Schema-D5D4He-Q.mjs → Schema-CA_wFfhH.mjs} +292 -8
  15. package/dist/{SqlClient-CZnbSIGl.mjs → SqlClient-Cusaqpaw.mjs} +3 -3
  16. package/dist/bin.mjs +14257 -5060
  17. package/dist/{borgTelemetryNode-B9H2lcK5.mjs → borgTelemetryNode-CHLcRFOW.mjs} +6 -6
  18. package/dist/client/.vite/manifest.json +330 -330
  19. package/dist/client/assets/ArrowRight-CgvCTAzu.js +2 -0
  20. package/dist/client/assets/ArrowSquareOut-C1CwJQ7R.js +2 -0
  21. package/dist/client/assets/ArrowsClockwise-CBwAQTtQ.js +2 -0
  22. package/dist/client/assets/CaretLeft-Bk0n02vc.js +2 -0
  23. package/dist/client/assets/ChatMarkdown-BGNgYyxf.js +249 -0
  24. package/dist/client/assets/DesignWorkspace-Ddz8UJXt.js +3 -0
  25. package/dist/client/assets/DiffPanel-mzb-LNBg.js +2 -0
  26. package/dist/client/assets/DiffWorkerPoolProvider-iCAF4Ogc.js +10 -0
  27. package/dist/client/assets/DocxPreview-BKhbQZ7C.js +17 -0
  28. package/dist/client/assets/{FilePreviewPanel-BnW97AGU.js → FilePreviewPanel-DuxNlIRO.js} +19 -19
  29. package/dist/client/assets/HtmlPreview-DaZHfcMP.js +2 -0
  30. package/dist/client/assets/PdfPreview-BoUaG-ol.js +3 -0
  31. package/dist/client/assets/PptxPreview-BQU4yUZZ.js +3 -0
  32. package/dist/client/assets/PreviewPanel-CnjyoM26.js +2 -0
  33. package/dist/client/assets/PullRequestCodeTab-DM_H15J2.js +6 -0
  34. package/dist/client/assets/{PullRequestReactions-DefnDwQq.js → PullRequestReactions-CHoFc7lq.js} +4 -4
  35. package/dist/client/assets/{RightPanelResizeHandle-CWbwOS4Y.js → RightPanelResizeHandle-DBci-Ee2.js} +2 -2
  36. package/dist/client/assets/VirtualizedFile-CZoHsBen.js +2 -0
  37. package/dist/client/assets/XlsxPreview-DjwlT8cY.js +3 -0
  38. package/dist/client/assets/accountData-C4ZvicpJ.js +16 -0
  39. package/dist/client/assets/assetUrls-CrfozqHH.js +2 -0
  40. package/dist/client/assets/browserHistoryStore-7Le_ew5p.js +4 -0
  41. package/dist/client/assets/browserRecording-CSyywxgr.js +2 -0
  42. package/dist/client/assets/clientPersistenceStorage-BlYjZvCd.js +2 -0
  43. package/dist/client/assets/combobox-CiD-v9Ce.js +2 -0
  44. package/dist/client/assets/composerMentionDrag-DqJ92Sd8.js +2 -0
  45. package/dist/client/assets/designCanvas.logic-HpJw8lAO.js +8 -0
  46. package/dist/client/assets/designOpenFileContext-BP2f7uoG.js +2 -0
  47. package/dist/client/assets/diffFileContents-CpXvVerb.js +248 -0
  48. package/dist/client/assets/empty-BoorOwgr.js +2 -0
  49. package/dist/client/assets/entities-CYOkudic.js +2 -0
  50. package/dist/client/assets/env-71Gq9H0m.js +2 -0
  51. package/dist/client/assets/{index-B3D6JK2-.js → index-xOiIIEJO.js} +3 -3
  52. package/dist/client/assets/input-Dm20FTNt.js +2 -0
  53. package/dist/client/assets/{lib-xfuwsGna.js → lib-CP-ex6Vc.js} +2 -2
  54. package/dist/client/assets/main-SyzcWFeO.js +161 -0
  55. package/dist/client/assets/main-YscGsfgO.css +2 -0
  56. package/dist/client/assets/{pdf-Cr4HwsSN.js → pdf-DcYZLBb4.js} +2 -2
  57. package/dist/client/assets/popover-ivgAAZ7Z.js +2 -0
  58. package/dist/client/assets/{pptxDocument-Dxc3oYrP.js → pptxDocument-DtL8fmW3.js} +2 -2
  59. package/dist/client/assets/projectFilesQueryState-BwZ_KRI1.js +2 -0
  60. package/dist/client/assets/queries-DIo5yBTp.js +2 -0
  61. package/dist/client/assets/scroll-area-DKsvPvOo.js +1634 -0
  62. package/dist/client/assets/session-CgVsO0DD.js +67 -0
  63. package/dist/client/assets/spinner-DHhZaoFg.js +2 -0
  64. package/dist/client/assets/textarea-DprGKUyt.js +5 -0
  65. package/dist/client/assets/toggle-DwBa6pBo.js +2 -0
  66. package/dist/client/assets/toggle-group-BU7-0DcW.js +2 -0
  67. package/dist/client/assets/useWorkspaceMutationRefresh-DLI4brDf.js +2 -0
  68. package/dist/client/assets/utils-DgzD4MA_.js +30 -0
  69. package/dist/client/assets/{xlsxDocument-yc7zPhIi.js → xlsxDocument-iqdkqQBZ.js} +2 -2
  70. package/dist/client/index.html +1 -1
  71. package/dist/service-launcher.mjs +1 -1
  72. package/package.json +1 -1
  73. package/dist/client/assets/ArrowRight-B0WzqdPj.js +0 -2
  74. package/dist/client/assets/ArrowSquareOut-8j4OKqbL.js +0 -2
  75. package/dist/client/assets/ArrowsClockwise-DlJf49Z-.js +0 -2
  76. package/dist/client/assets/CaretLeft-Du0MA4fs.js +0 -2
  77. package/dist/client/assets/ChatMarkdown-DVGPcDDG.js +0 -247
  78. package/dist/client/assets/DesignWorkspace-NVV8GBAk.js +0 -3
  79. package/dist/client/assets/DiffPanel-DEXl5JNm.js +0 -2
  80. package/dist/client/assets/DiffWorkerPoolProvider-EEE1VuzL.js +0 -10
  81. package/dist/client/assets/DocxPreview-BbjPKR5c.js +0 -17
  82. package/dist/client/assets/HtmlPreview-C2OXgUpJ.js +0 -2
  83. package/dist/client/assets/PdfPreview-CthschRx.js +0 -3
  84. package/dist/client/assets/PptxPreview-M1wqnWv-.js +0 -3
  85. package/dist/client/assets/PreviewPanel-T7-TNC-0.js +0 -2
  86. package/dist/client/assets/PullRequestCodeTab-DeLU7Brq.js +0 -6
  87. package/dist/client/assets/VirtualizedFile-DpXIpMCw.js +0 -2
  88. package/dist/client/assets/XlsxPreview-yPrELQ0F.js +0 -3
  89. package/dist/client/assets/assetUrls-Cv1BQRgh.js +0 -2
  90. package/dist/client/assets/browserHistoryStore-Bvr08etl.js +0 -2
  91. package/dist/client/assets/browserRecording-DYgu2qFY.js +0 -4
  92. package/dist/client/assets/clientPersistenceStorage-TiUunQpN.js +0 -2
  93. package/dist/client/assets/combobox-Cf7GvOtx.js +0 -6
  94. package/dist/client/assets/composerMentionDrag-TlGe0rUC.js +0 -2
  95. package/dist/client/assets/designCanvas.logic-CR5c1cCe.js +0 -8
  96. package/dist/client/assets/designOpenFileContext-CUn4dNFv.js +0 -2
  97. package/dist/client/assets/diffFileContents-D8w_yRtq.js +0 -248
  98. package/dist/client/assets/empty-a7hA2Ech.js +0 -2
  99. package/dist/client/assets/entities-x8g8jint.js +0 -2
  100. package/dist/client/assets/env-DgM3kOA4.js +0 -2
  101. package/dist/client/assets/input-C5hbrs5d.js +0 -2
  102. package/dist/client/assets/main-C_wQnCSV.js +0 -145
  103. package/dist/client/assets/main-H0NXtw22.css +0 -2
  104. package/dist/client/assets/popover-CFQuYACO.js +0 -2
  105. package/dist/client/assets/projectFilesQueryState-CtlKP2rG.js +0 -2
  106. package/dist/client/assets/queries-D1aqiDAP.js +0 -2
  107. package/dist/client/assets/scroll-area-DhT-7J-n.js +0 -1630
  108. package/dist/client/assets/session-BpEQOlGw.js +0 -67
  109. package/dist/client/assets/spinner-Bld_-IfK.js +0 -2
  110. package/dist/client/assets/textarea-C37zxlv0.js +0 -5
  111. package/dist/client/assets/toggle-CoeRt1yA.js +0 -2
  112. package/dist/client/assets/toggle-group-Cl-JZXj8.js +0 -2
  113. package/dist/client/assets/useLocalStorage-B6HRw7FK.js +0 -16
  114. package/dist/client/assets/useWorkspaceMutationRefresh-CdZvTsDX.js +0 -2
  115. package/dist/client/assets/utils-CxdSByf6.js +0 -30
@@ -3537,7 +3537,7 @@ const min$2 = (O) => dual(2, (self, that) => self === that || O(self, that) < 1
3537
3537
  * @category comparisons
3538
3538
  * @since 2.0.0
3539
3539
  */
3540
- const max$1 = (O) => dual(2, (self, that) => self === that || O(self, that) > -1 ? self : that);
3540
+ const max$2 = (O) => dual(2, (self, that) => self === that || O(self, that) > -1 ? self : that);
3541
3541
  //#endregion
3542
3542
  //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6/node_modules/effect/dist/Option.js
3543
3543
  /**
@@ -4131,6 +4131,34 @@ const flatMap$4 = /*#__PURE__*/ dual(2, (self, f) => isNone(self) ? none() : f(s
4131
4131
  */
4132
4132
  const flatten$3 = /*#__PURE__*/ flatMap$4(identity);
4133
4133
  /**
4134
+ * Converts an `Option` into an `Array`.
4135
+ *
4136
+ * **When to use**
4137
+ *
4138
+ * Use when you need to pass an `Option` to array-based APIs or spread optional
4139
+ * values into collections.
4140
+ *
4141
+ * **Details**
4142
+ *
4143
+ * - `Some` → single-element array `[value]`
4144
+ * - `None` → empty array `[]`
4145
+ *
4146
+ * **Example** (Converting to an array)
4147
+ *
4148
+ * ```ts import.meta.vitest
4149
+ * import { Option } from "effect"
4150
+ *
4151
+ * Option.toArray(Option.some(1)) // => [1]
4152
+ * Option.toArray(Option.none()) // => []
4153
+ * ```
4154
+ *
4155
+ * @see {@link fromIterable} for the inverse direction
4156
+ *
4157
+ * @category converting
4158
+ * @since 2.0.0
4159
+ */
4160
+ const toArray$1 = (self) => isNone(self) ? [] : [self.value];
4161
+ /**
4134
4162
  * Filters an `Option` using a predicate. Returns `None` if the predicate is
4135
4163
  * not satisfied or the input is `None`.
4136
4164
  *
@@ -7374,7 +7402,7 @@ const min$1 = /*#__PURE__*/ min$2(Order$3);
7374
7402
  * @category ordering
7375
7403
  * @since 2.0.0
7376
7404
  */
7377
- const max = /*#__PURE__*/ max$1(Order$3);
7405
+ const max$1 = /*#__PURE__*/ max$2(Order$3);
7378
7406
  /**
7379
7407
  * Returns a `Duration` multiplied by a number.
7380
7408
  *
@@ -8285,7 +8313,7 @@ const findError$1 = (self) => {
8285
8313
  return fail$6(self);
8286
8314
  };
8287
8315
  /** @internal */
8288
- const findErrorOption$1 = /*#__PURE__*/ toOption$1(findError$1);
8316
+ const findErrorOption$2 = /*#__PURE__*/ toOption$1(findError$1);
8289
8317
  /** @internal */
8290
8318
  const hasDies$1 = (self) => self.reasons.some(isDieReason$1);
8291
8319
  /** @internal */
@@ -9104,6 +9132,8 @@ const exitIsFailure = (self) => self._tag === "Failure";
9104
9132
  /** @internal */
9105
9133
  const exitFilterCause = (self) => self._tag === "Failure" ? succeed$6(self.cause) : fail$6(self);
9106
9134
  /** @internal */
9135
+ const exitFindError = /*#__PURE__*/ composePassthrough(exitFilterCause, findError$1);
9136
+ /** @internal */
9107
9137
  const exitHasInterrupts = (self) => self._tag === "Failure" && hasInterrupts$1(self.cause);
9108
9138
  /** @internal */
9109
9139
  const exitVoid = /*#__PURE__*/ exitSucceed(void 0);
@@ -9134,6 +9164,11 @@ const exitAsVoidAll = (exits) => {
9134
9164
  return failures.length === 0 ? exitVoid : exitFailCause(causeFromReasons(failures));
9135
9165
  };
9136
9166
  /** @internal */
9167
+ const exitFindErrorOption = (self) => {
9168
+ const error = exitFindError(self);
9169
+ return isFailure$1(error) ? none() : some(error.success);
9170
+ };
9171
+ /** @internal */
9137
9172
  const service$1 = (service) => service;
9138
9173
  /** @internal */
9139
9174
  const serviceOption$1 = (service) => withFiber$1((fiber) => succeed$5(getOption(fiber.context, service)));
@@ -9224,6 +9259,11 @@ const tapCauseFilter = /*#__PURE__*/ dual(3, (self, filter, f) => catchCause$1(s
9224
9259
  /** @internal */
9225
9260
  const tapError$1 = /*#__PURE__*/ dual(2, (self, f) => tapCauseFilter(self, findError$1, (e) => f(e)));
9226
9261
  /** @internal */
9262
+ const tapErrorTag$1 = /*#__PURE__*/ dual(3, (self, k, f) => {
9263
+ const predicate = Array.isArray(k) ? (e) => hasProperty(e, "_tag") && k.includes(e._tag) : isTagged(k);
9264
+ return tapError$1(self, (error) => predicate(error) ? f(error) : void_$3);
9265
+ });
9266
+ /** @internal */
9227
9267
  const catchIf$1 = /*#__PURE__*/ dual((args) => isEffect$1(args[0]), (self, predicate, f, orElse) => catchCause$1(self, (cause) => {
9228
9268
  const error = findError$1(cause);
9229
9269
  if (isFailure$1(error)) return failCause$3(error.failure);
@@ -11066,7 +11106,7 @@ const findError = findError$1;
11066
11106
  * @category filtering
11067
11107
  * @since 4.0.0
11068
11108
  */
11069
- const findErrorOption = findErrorOption$1;
11109
+ const findErrorOption$1 = findErrorOption$2;
11070
11110
  /**
11071
11111
  * Returns `true` if the cause contains at least one `Die` reason.
11072
11112
  *
@@ -11713,6 +11753,41 @@ const isFailure = exitIsFailure;
11713
11753
  * @since 2.0.0
11714
11754
  */
11715
11755
  const match$1 = exitMatch;
11756
+ /**
11757
+ * Returns the first typed error from a failed Exit as an Option.
11758
+ *
11759
+ * **When to use**
11760
+ *
11761
+ * Use when you need the first typed error from an `Exit` as an `Option`,
11762
+ * ignoring successes and non-typed failures.
11763
+ *
11764
+ * **Details**
11765
+ *
11766
+ * Returns `Option.some(error)` if the Cause contains a Fail reason. Successes,
11767
+ * defect-only failures, and interrupt-only failures return `Option.none()`.
11768
+ *
11769
+ * **Gotchas**
11770
+ *
11771
+ * Only finds the first Fail reason. If the Cause has multiple typed errors,
11772
+ * the rest are ignored.
11773
+ *
11774
+ * **Example** (Getting the first error)
11775
+ *
11776
+ * ```ts import.meta.vitest
11777
+ * import { Exit, Option } from "effect"
11778
+ *
11779
+ * Exit.findErrorOption(Exit.fail("err")) // => Option.some("err")
11780
+ * Exit.findErrorOption(Exit.die("bug")) // => Option.none()
11781
+ * Exit.findErrorOption(Exit.succeed(42)) // => Option.none()
11782
+ * ```
11783
+ *
11784
+ * @see {@link findError} for filter-pipeline usage
11785
+ * @see {@link getCause} to get the full Cause as an Option
11786
+ *
11787
+ * @category getters
11788
+ * @since 4.0.0
11789
+ */
11790
+ const findErrorOption = exitFindErrorOption;
11716
11791
  //#endregion
11717
11792
  //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6/node_modules/effect/dist/Deferred.js
11718
11793
  const TypeId$13 = "~effect/Deferred";
@@ -14521,6 +14596,12 @@ const add$1 = /*#__PURE__*/ dual(2, (self, parts) => mutate(self, (date) => {
14521
14596
  }
14522
14597
  }));
14523
14598
  /** @internal */
14599
+ const subtract$1 = /*#__PURE__*/ dual(2, (self, parts) => {
14600
+ const newParts = {};
14601
+ for (const key in parts) newParts[key] = -1 * parts[key];
14602
+ return add$1(self, newParts);
14603
+ });
14604
+ /** @internal */
14524
14605
  const formatIso$1 = (self) => toDateUtc$1(self).toISOString();
14525
14606
  /** @internal */
14526
14607
  const formatIsoOffset = (self) => {
@@ -15080,6 +15161,72 @@ const toStepWithSleep = (schedule) => map$2(toStepWithMetadata(schedule), (step)
15080
15161
  */
15081
15162
  const addDelay = /*#__PURE__*/ dual(2, (self, f) => modifyDelay(self, (metadata) => map$2(f(metadata), (d) => sum(fromInputUnsafe(d), metadata.duration))));
15082
15163
  /**
15164
+ * Combines schedules by recurring while all schedules want to recur, using the
15165
+ * maximum delay between recurrences and outputting that maximum delay.
15166
+ *
15167
+ * **When to use**
15168
+ *
15169
+ * Use when a combined policy should continue only while every schedule still
15170
+ * recurs, and should wait for the slowest schedule between recurrences.
15171
+ *
15172
+ * **Example** (Combining retry schedules by their maximum delay)
15173
+ *
15174
+ * ```ts import.meta.vitest
15175
+ * import { Schedule } from "effect"
15176
+ *
15177
+ * const schedule = Schedule.max([Schedule.fixed("5 seconds"), Schedule.spaced("10 seconds")])
15178
+ * Schedule.isSchedule(schedule) // => true
15179
+ * ```
15180
+ *
15181
+ * @category combining
15182
+ * @since 4.0.0
15183
+ */
15184
+ const max = (schedules) => fromStep(map$2(all$1(schedules.map(toStep)), (steps) => (now, input) => flatMap$2(forEach$1(steps, (step) => matchEffect$1(step(now, input), {
15185
+ onSuccess: (result) => succeed$5(result[1]),
15186
+ onDone: () => undefined_$1,
15187
+ onFailure: failCause$3
15188
+ })), (results) => {
15189
+ const duration = maxDuration(results);
15190
+ if (duration === void 0) return done$1(zero$1);
15191
+ return succeed$5([duration, duration]);
15192
+ })));
15193
+ const maxDuration = (results) => {
15194
+ let max = results[0];
15195
+ for (let i = 1; i < results.length; i++) {
15196
+ max = results[i] && max && max$1(max, results[i]);
15197
+ if (max === void 0) break;
15198
+ }
15199
+ return max;
15200
+ };
15201
+ /**
15202
+ * Returns a new `Schedule` that will always recur, but only during the
15203
+ * specified `duration` of time.
15204
+ *
15205
+ * **When to use**
15206
+ *
15207
+ * Use to bound a repeating or retrying schedule by elapsed time.
15208
+ *
15209
+ * **Example** (Repeating work during a duration)
15210
+ *
15211
+ * ```ts import.meta.vitest
15212
+ * import { Schedule } from "effect"
15213
+ *
15214
+ * Schedule.isSchedule(Schedule.during("5 seconds")) // => true
15215
+ * ```
15216
+ *
15217
+ * @see {@link duration} for one delayed recurrence
15218
+ *
15219
+ * @category constructors
15220
+ * @since 4.0.0
15221
+ */
15222
+ const during = (duration) => {
15223
+ const durationMillis = toMillis(duration);
15224
+ return fromStepWithMetadata(succeed$5((meta) => {
15225
+ const elapsed = millis(meta.elapsed);
15226
+ return meta.elapsed > durationMillis ? done$1(elapsed) : succeed$5([elapsed, zero$1]);
15227
+ }));
15228
+ };
15229
+ /**
15083
15230
  * Combines schedules by recurring while at least one schedule wants to recur,
15084
15231
  * using the minimum delay between recurrences and outputting that minimum delay.
15085
15232
  *
@@ -15227,6 +15374,41 @@ const passthrough$2 = (self) => fromStep(map$2(toStep(self), (step) => (now, inp
15227
15374
  onDone: () => done$1(input)
15228
15375
  })));
15229
15376
  /**
15377
+ * Returns a `Schedule` which can only be stepped the specified number of
15378
+ * `times` before it terminates.
15379
+ *
15380
+ * **When to use**
15381
+ *
15382
+ * Use when you need a counter schedule with no additional delay.
15383
+ *
15384
+ * **Gotchas**
15385
+ *
15386
+ * `recurs(n)` counts schedule recurrences, not the first evaluation of the
15387
+ * effect being repeated or retried. For retrying, this means one initial
15388
+ * attempt plus at most `n` retries.
15389
+ *
15390
+ * **Example** (Limiting recurrences)
15391
+ *
15392
+ * ```ts import.meta.vitest
15393
+ * import { Effect, Schedule } from "effect"
15394
+ * import { TestClock } from "effect/testing"
15395
+ *
15396
+ * const executions: Array<number> = []
15397
+ * const program = Effect.sync(() => executions.push(executions.length + 1)).pipe(
15398
+ * Effect.repeat(Schedule.recurs(3)),
15399
+ * Effect.as(executions)
15400
+ * )
15401
+ *
15402
+ * await Effect.runPromise(Effect.provide(program, TestClock.layer())) // => [1, 2, 3, 4]
15403
+ * ```
15404
+ *
15405
+ * @see {@link upTo} for limiting an existing schedule
15406
+ *
15407
+ * @category constructors
15408
+ * @since 2.0.0
15409
+ */
15410
+ const recurs = (times) => while_(forever$1, ({ attempt }) => succeed$5(attempt <= times));
15411
+ /**
15230
15412
  * Returns a schedule that recurs continuously, each repetition spaced the
15231
15413
  * specified duration from the last run.
15232
15414
  *
@@ -17809,6 +17991,44 @@ const orDie = orDie$1;
17809
17991
  */
17810
17992
  const tapError = tapError$1;
17811
17993
  /**
17994
+ * Runs an effectful handler when a failure's `_tag` matches.
17995
+ *
17996
+ * **Details**
17997
+ *
17998
+ * Use this with tagged-union errors to perform side effects for one tag or a
17999
+ * list of tags. When the handler succeeds, the original failure is preserved;
18000
+ * if the handler fails, its error is also included in the returned effect.
18001
+ *
18002
+ * **Example** (Running effects for tagged failures)
18003
+ *
18004
+ * ```ts import.meta.vitest
18005
+ * import { Data, Effect, Exit } from "effect"
18006
+ * const output: Array<unknown> = []
18007
+ *
18008
+ * class NetworkError extends Data.TaggedError("NetworkError")<{
18009
+ * statusCode: number
18010
+ * }> {}
18011
+ *
18012
+ * class ValidationError extends Data.TaggedError("ValidationError")<{
18013
+ * field: string
18014
+ * }> {}
18015
+ *
18016
+ * const task: Effect.Effect<number, NetworkError | ValidationError> =
18017
+ * Effect.fail(new NetworkError({ statusCode: 504 }))
18018
+ *
18019
+ * const program = Effect.tapErrorTag(task, "NetworkError", (error) =>
18020
+ * Effect.sync(() => { output.push(`expected error: ${error.statusCode}`) })
18021
+ * )
18022
+ *
18023
+ * void output.push(Effect.runSyncExit(program))
18024
+ * output // => ["expected error: 504", Exit.fail(new NetworkError({ statusCode: 504 }))]
18025
+ * ```
18026
+ *
18027
+ * @category sequencing
18028
+ * @since 2.0.0
18029
+ */
18030
+ const tapErrorTag = tapErrorTag$1;
18031
+ /**
17812
18032
  * Runs an effectful operation with the full `Cause` when the source effect
17813
18033
  * fails.
17814
18034
  *
@@ -23201,6 +23421,24 @@ Service()("effect/DateTime/CurrentTimeZone");
23201
23421
  */
23202
23422
  const add = add$1;
23203
23423
  /**
23424
+ * Subtracts the given `amount` of `unit` from a `DateTime`.
23425
+ *
23426
+ * **Example** (Subtracting date and time parts)
23427
+ *
23428
+ * ```ts import.meta.vitest
23429
+ * import { DateTime } from "effect"
23430
+ *
23431
+ * // subtract 5 minutes
23432
+ * DateTime.makeUnsafe(0).pipe(
23433
+ * DateTime.subtract({ minutes: 5 })
23434
+ * ) // => DateTime.makeUnsafe(-300000)
23435
+ * ```
23436
+ *
23437
+ * @category math
23438
+ * @since 3.6.0
23439
+ */
23440
+ const subtract = subtract$1;
23441
+ /**
23204
23442
  * Formats a `DateTime` as a UTC ISO string.
23205
23443
  *
23206
23444
  * **Details**
@@ -24237,7 +24475,7 @@ function onSome(f) {
24237
24475
  * @since 4.0.0
24238
24476
  */
24239
24477
  function transform$1(f) {
24240
- return transformOptional(map$6(f));
24478
+ return transformOptional$1(map$6(f));
24241
24479
  }
24242
24480
  /**
24243
24481
  * Creates a getter that applies a fallible, effectful transformation to present values.
@@ -24308,7 +24546,7 @@ function transformOrFail$1(f) {
24308
24546
  * @category transforming
24309
24547
  * @since 4.0.0
24310
24548
  */
24311
- function transformOptional(f) {
24549
+ function transformOptional$1(f) {
24312
24550
  return new Getter((oe) => succeed$1(f(oe)));
24313
24551
  }
24314
24552
  /**
@@ -25315,6 +25553,52 @@ function transform(options) {
25315
25553
  return new Transformation(transform$1(options.decode), transform$1(options.encode));
25316
25554
  }
25317
25555
  /**
25556
+ * Creates a `Transformation` where decode and encode operate on `Option`
25557
+ * values, giving full control over missing-key handling.
25558
+ *
25559
+ * **When to use**
25560
+ *
25561
+ * Use when you need a schema transformation to produce or consume `Option.None`
25562
+ * for absent keys.
25563
+ * - You are working with optional struct fields.
25564
+ *
25565
+ * **Details**
25566
+ *
25567
+ * - Each function receives `Option<input>` and returns `Option<output>`.
25568
+ * - `Option.None` input means the key is absent; returning `Option.None`
25569
+ * omits the key from the output.
25570
+ * - Pure and synchronous.
25571
+ *
25572
+ * **Example** (Converting an optional key to Option)
25573
+ *
25574
+ * ```ts import.meta.vitest
25575
+ * import { Option, Schema, SchemaTransformation } from "effect"
25576
+ *
25577
+ * const schema = Schema.Struct({
25578
+ * a: Schema.optionalKey(Schema.Number).pipe(
25579
+ * Schema.decodeTo(
25580
+ * Schema.Option(Schema.Number),
25581
+ * SchemaTransformation.transformOptional({
25582
+ * decode: Option.some,
25583
+ * encode: Option.flatten
25584
+ * })
25585
+ * )
25586
+ * )
25587
+ * })
25588
+ * Schema.decodeSync(schema)({}).a // => Option.none()
25589
+ * ```
25590
+ *
25591
+ * @see {@link transform} — when you don't need Option-level control
25592
+ * @see {@link optionFromOptionalKey} — built-in for the common optional-key-to-Option pattern
25593
+ * @see {@link optionFromOptional} — built-in for optional (undefined) to Option
25594
+ *
25595
+ * @category transforming
25596
+ * @since 4.0.0
25597
+ */
25598
+ function transformOptional(options) {
25599
+ return new Transformation(transformOptional$1(options.decode), transformOptional$1(options.encode));
25600
+ }
25601
+ /**
25318
25602
  * Transforms strings by trimming whitespace on decode.
25319
25603
  * Encode is passthrough (no change).
25320
25604
  *
@@ -33548,6 +33832,6 @@ const MutableJson = /*#__PURE__*/ make(/*#__PURE__*/ annotate$1(MutableJson$1, {
33548
33832
  Type: "Schema.MutableJson"
33549
33833
  }) }));
33550
33834
  //#endregion
33551
- export { decodeEffect as $, snapshotUnsafe as $a, externalSpan as $c, raceFirst as $i, makeEquivalence$4 as $l, make$6 as $n, forkUnsafe as $o, filter as $r, isInterruptReason as $s, apply as $t, Prototype as $u, Record as A, timeoutOption as Aa, forkUnsafe$1 as Ac, isUndefined as Ad, makeSpanScoped as Ai, findLast as Al, transform as An, build as Ao, asVoid as Ar, Done as As, isUUID as At, fromNullishOr$1 as Au, URLFromString as B, void_$1 as Ba, suspend$2 as Bc, flow as Bd, onError as Bi, match$4 as Bl, decodeBase64$1 as Bn, mergeAll as Bo, catchTags as Br, filterInterruptors as Bs, toCodecJsonAST as Bt, match$6 as Bu, NonEmptyString as C, succeedSome as Ca, fiberAwait as Cc, hasProperty as Cd, log as Ci, appendAll$1 as Cl, resolveAt as Cn, currentTimeNanos as Co, andThen as Cr, failCause$2 as Cs, isMaxLength as Ct, omit$2 as Cu, Opaque as D, tapCause as Da, fiberRunIn as Dc, isObject as Dd, logInfo as Di, filterMap as Dl, unknown as Dn, TaggedError as Do, annotateSpans as Dr, match$1 as Ds, isPattern as Dt, firstSomeOf as Du, Number$1 as E, tap as Ea, fiberJoin as Ec, isNullish as Ed, logFatal as Ei, filter$2 as El, toEncoded$1 as En, TaggedClass as Eo, annotateLogsScoped as Er, isSuccess as Es, isNonEmpty as Et, filter$3 as Eu, TaggedErrorClass as F, txRetry as Fa, onExit$1 as Fc, constTrue as Fd, match as Fi, isReadonlyArrayNonEmpty as Fl, passthrough$1 as Fn, empty$1 as Fo, catchEager as Fr, UnknownError as Fs, optional as Ft, getOrUndefined$2 as Fu, Unknown as G, withLogSpan as Ga, void_$3 as Gc, orDie as Gi, take as Gl, encodeBase64Url as Gn, sync$1 as Go, currentParentSpan as Gr, hasInterrupts as Gs, withDecodingDefault as Gt, flip$1 as Gu, Undefined as H, whileLoop as Ha, tracerLogger as Hc, pipe as Hd, onExitPrimitive as Hi, reduce as Hl, decodeBase64Url as Hn, provideMerge as Ho, clockWith as Hr, findErrorOption as Hs, toJsonSchemaDocument as Ht, orElse as Hu, TaggedStruct as I, uninterruptible as Ia, onExitPrimitive$1 as Ic, constUndefined as Id, matchCauseEffect as Ii, last as Il, stringifyJson as In, fresh as Io, catchFilter as Ir, combine as Is, optionalKey as It, isNone as Iu, annotate as J, withTracerEnabled as Ja, DisablePropagation as Jc, provide as Ji, map$4 as Jl, add as Jn, Scope as Jo, effectify as Jr, interruptors as Js, make$1 as Jt, mapInput$1 as Ju, UnknownFromJsonString as K, withParentSpan as Ka, whileLoop$1 as Kc, orElseSucceed as Ki, isEmptyRecord as Kl, encodeHex as Kn, tap$1 as Ko, currentSpan as Kr, hasInterruptsOnly as Ks, withDecodingDefaultKey as Kt, isGreaterThanOrEqualTo$3 as Ku, TemplateLiteral as L, uninterruptibleMask as La, reportCauseUnsafe as Lc, constVoid as Ld, matchCauseEffectEager as Li, lastNonEmpty as Ll, transformOptional as Ln, launch as Lo, catchIf as Lr, die$3 as Ls, suspend as Lt, isSome as Lu, String$1 as M, tryPromise as Ma, makeLatch as Mc, cast as Md, mapEager as Mi, fromIterable as Ml, trim as Mn, effect as Mo, callback as Mr, IllegalArgumentError as Ms, make as Mt, getOrElse$2 as Mu, StringFromUriComponent as N, try_ as Na, makeLatchUnsafe as Nc, compose$2 as Nd, mapError as Ni, getUnsafe$1 as Nl, onSome as Nn, effectContext as No, catchCause as Nr, NoSuchElementError as Ns, makeFilter as Nt, getOrNull as Nu, Option as O, tapError as Oa, flatMap$2 as Oc, isString as Od, logWarning as Oi, findFirst as Ol, Transformation as On, taggedEnum as Oo, as as Or, succeed$4 as Os, isSchema as Ot, flatMap$4 as Ou, Struct as P, tx as Pa, makeSpanUnsafe as Pc, constFalse as Pd, mapErrorEager as Pi, isArrayNonEmpty as Pl, parseJson as Pn, effectDiscard as Po, catchDefect as Pr, StackTrace as Ps, mutable as Pt, getOrThrow$1 as Pu, decode as Q, counter as Qa, Tracer as Qc, race as Qi, headUnsafe as Ql, isLessThan$1 as Qn, closeUnsafe as Qo, failCause as Qr, isFailReason as Qs, toMultiDocumentOpenApi3_1 as Qt, setStackTraceLimit as Qu, Tuple as R, updateContext as Ra, succeed$5 as Rc, constant as Rd, matchEffect as Ri, makeEquivalence$2 as Rl, transformOrFail$1 as Rn, makeMemoMapUnsafe as Ro, catchReason as Rr, done$1 as Rs, tag as Rt, makeOrder as Ru, NonEmptyArray as S, succeedNone as Sa, exitZipRight as Sc, compose$1 as Sd, isEffect as Si, allocate as Sl, isVoid as Sn, currentTimeMillis as So, all as Sr, fail$3 as Ss, isLessThanOrEqualTo as St, merge$1 as Su, NullOr as T, sync as Ta, fiberInterruptAll as Tc, isNotUndefined as Td, logError as Ti, ensure as Tl, resolveIdentifier as Tn, Error$1 as To, annotateLogs as Tr, isFailure as Ts, isMinLength as Tt, exists as Tu, UndefinedOr as U, withErrorReporting as Ua, uninterruptibleMask$1 as Uc, pipeArguments as Ud, onInterrupt as Ui, reverse as Ul, decodeBase64UrlString as Un, succeed$2 as Uo, context as Ur, fromReasons as Us, toType as Ut, some as Uu, Uint8Array$1 as V, when as Va, sync$2 as Vc, identity as Vd, onExit as Vi, of$1 as Vl, decodeBase64String as Vn, provide$2 as Vo, catch_ as Vr, findError as Vs, toCodecStringTree as Vt, none as Vu, Union as W, withFiber as Wa, updateContext$1 as Wc, option as Wi, sort as Wl, encodeBase64$1 as Wn, succeedContext as Wo, contextWith as Wr, hasDies as Ws, withConstructorDefault as Wt, Number$5 as Wu, brand as X, zip as Xa, NativeSpan as Xc, provideService as Xi, empty$4 as Xl, isGreaterThan$1 as Xn, addFinalizerExit as Xo, exit as Xr, isDieReason as Xs, stringOrRedacted as Xt, strictEqual as Xu, annotateKey as Y, yieldNow as Ya, MinimumTraceLevel as Yc, provideContext as Yi, set as Yl, formatIso as Yn, addFinalizer$1 as Yo, ensuring as Yr, isCause as Ys, value as Yt, make$14 as Yu, declare as Z, zipWith as Za, ParentSpan as Zc, provideServiceEffect as Zi, filterMap$1 as Zl, isGreaterThanOrEqualTo$1 as Zn, close as Zo, fail$1 as Zr, isDone$1 as Zs, VALID_OPEN_API_COMPONENTS_SCHEMAS_KEY_REGEXP as Zt, getStackTraceLimit as Zu, Literal as _, scopedWith as _a, contextWith$1 as _c, symbol as _d, ignore as _i, seconds as _l, isNull as _n, matchEffect$1 as _o, toArray as _r, make$9 as _s, isFinite as _t, getOrElse$1 as _u, Class as a, runFork as aa, pretty as ac, exitSucceed as ad, flatten as ai, format$1 as al, _is as an, forever$1 as ao, toEpochMillis as ar, TracerEnabled as as, decodeUnknownOption as at, isFailure$1 as au, Natural as b, sleep as ba, exitInterrupt as bc, structure as bd, interruptible as bi, toSeconds as bl, isSuspend as bn, round as bo, acquireUseRelease as br, succeed$3 as bs, isInt as bt, make$12 as bu, Defect as c, runPromiseExit as ca, ClockRef as cc, assignProperty as cd, forEach as ci, hours as cl, SchemaError as cn, jittered as co, InvalidValue as cr, die$1 as cs, encodeEffect as ct, map$5 as cu, ErrorClass as d, runSync as da, LogLevelOrder as dc, NodeInspectSymbol as dd, forkDetach as di, isZero$1 as dl, applyToSelfOrLastLinkEncoding as dn, spaced as do, append as dr, fail$2 as ds, encodeUnknownExit as dt, Reference as du, repeat as ea, isNoSuchElementError as ec, Done$1 as ed, filterMapOrFail as ei, make$10 as el, toRepresentations as en, timer as eo, makeUnsafe as er, make$8 as es, decodeExit as et, fail$6 as eu, Exit as f, runSyncExit as fa, andThen$1 as fc, toJson as fd, forkIn as fi, max as fl, decodeTo$1 as fn, toStepWithSleep as fo, drop as fr, failCause$1 as fs, encodeUnknownSync as ft, Service as fu, Json as g, scoped as ga, consolePretty as gc, equals$2 as gd, gen as gi, nanos as gl, isLiteral as gn, isDoneCause as go, size as gr, isDone as gs, isBetween as gt, getOption as gu, Int as h, scope as ha, callback$1 as hc, symbolRedactable as hd, fromResult as hi, minutes as hl, isDeclaration as hn, filterDone as ho, isEmpty as hr, isDeferred as hs, is as ht, get$1 as hu, Cause as i, runCallbackWith as ia, map$1 as ic, exitFailCause as id, flatMapEager as ii, days as il, omit as in, exponential as io, toDate as ir, MinimumLogLevel as is, decodeUnknownExit as it, getOrUndefined as iu, Redacted as j, timeoutOrElse as ja, getCurrentFiber as jc, or as jd, map as ji, flatMapNullishOr as jl, transformOrFail as jn, buildWithMemoMap as jo, cached as jr, ExceededCapacityError as js, link as jt, fromUndefinedOr as ju, OptionFromNullOr as k, timeout as ka, fnUntraced$1 as kc, isTagged as kd, makeSpan as ki, findFirstIndex as kl, splitKeyValue as kn, CurrentMemoMap as ko, asSome as kr, void_$2 as ks, isTrimmed as kt, flatten$3 as ku, Duration as l, runPromiseExitWith as la, ConsoleRef as lc, BaseProto as ld, forever as li, infinity as ll, isSchemaError as ln, min as lo, Pointer as lr, done as ls, encodeSync as lt, succeed$6 as lu, FiniteFromString as m, runSyncWith as ma, asSome$1 as mc, redact as md, fromOption as mi, min$1 as ml, getLastEncoding as mn, doneExitFromCause as mo, head as mr, into as ms, instanceOf as mt, empty$5 as mu, ArraySchema as n, retry as na, isUnknownError as nc, causeFail as nd, firstSuccessOf as ni, has as nl, escapeToken as nn, withAttributes as no, nowAsDate as nr, provide$3 as ns, decodeTo as nt, getOrElse as nu, DateTimeUtc as o, runForkWith as oa, prettyErrors as oc, isEffect$1 as od, fn as oi, fromInput as ol, decodeUnknownEffect$1 as on, identity_ as oo, toUtc as or, TracerTimingEnabled as os, decodeUnknownSync as ot, isResult as ou, Finite as p, runSyncExitWith as pa, as$1 as pc, format$2 as pd, forkScoped as pi, millis as pl, getAST as pn, catchDone as po, empty as pr, interruptWith as ps, fromJsonString as pt, add$2 as pu, Void as q, withSpan as qa, addSpanStackTrace as qc, promise as qi, makeEquivalence$3 as ql, Order$1 as qn, unwrap as qo, die as qr, interrupt$2 as qs, isRedacted as qt, make$13 as qu, Boolean as r, runCallback as ra, makeDieReason as rc, exitFail as rd, flatMap as ri, toPredicate as rl, assign as rn, addDelay as ro, nowUnsafe as rr, CurrentLogLevel as rs, decodeUnknownEffect as rt, getOrThrow as ru, DateTimeUtcFromString as s, runPromise as sa, squash as sc, withFiber$1 as sd, fnUntraced as si, fromInputUnsafe as sl, encodeUnknownEffect$1 as sn, isSchedule as so, Forbidden as sr, _await as ss, encode as st, isSuccess$1 as su, Any as t, result as ta, isTimeoutError as tc, PipeInspectableProto as td, filterOrFail as ti, compose as tl, toJsonSchemaMultiDocument as tn, update as to, now as tr, makeUnsafe$2 as ts, decodeSync as tt, failVoid as tu, DurationFromMillis as u, runPromiseWith as ua, CurrentLoggers as uc, Class$2 as ud, forkChild as ui, isFinite$2 as ul, Union$1 as un, passthrough$2 as uo, makeFormatterDefault as ur, doneUnsafe as us, encodeUnknownEffect as ut, try_$2 as uu, Literals as v, service as va, endSpan as vc, array as vd, ignoreCause as vi, times as vl, isObjects as vn, nextPow2 as vo, Transaction as vr, makeUnsafe$3 as vs, isGreaterThan as vt, getOrUndefined$1 as vu, Null as w, suspend$1 as wa, fiberInterrupt as wc, isNotNull as wd, logDebug as wi, empty$3 as wl, resolveDescription as wn, Class$1 as wo, annotateCurrentSpan as wr, interrupt$1 as ws, isMaxProperties as wt, contains as wu, Never as x, succeed$1 as xa, exitVoid as xc, symbol$1 as xd, interruptibleMask as xi, zero$1 as xl, isUnion as xn, Clock as xo, addFinalizer as xr, die$2 as xs, isLessThan as xt, makeUnsafe$4 as xu, MutableJson as y, serviceOption as ya, exitHasInterrupts as yc, hash as yd, interrupt as yi, toMillis as yl, isOptional as yn, parse as yo, acquireRelease as yr, poll as ys, isGreaterThanOrEqualTo as yt, getUnsafe$2 as yu, URL$1 as z, useSpan as za, succeedNone$1 as zc, dual as zd, never$1 as zi, map$3 as zl, withDefault as zn, merge as zo, catchTag as zr, fail$4 as zs, toCodecJson as zt, map$6 as zu };
33835
+ export { decodeEffect as $, withTracerEnabled as $a, uninterruptibleMask$1 as $c, pipe as $d, provideContext as $i, reverse as $l, isLessThan$1 as $n, succeedContext as $o, ensuring as $r, fromReasons as $s, apply as $t, some as $u, Record as A, tap as Aa, exitInterrupt as Ac, hash as Ad, logFatal as Ai, toSeconds as Al, transform as An, Clock as Ao, annotateLogsScoped as Ar, die$2 as As, isUUID as At, make$12 as Au, URLFromString as B, txRetry as Ba, forkUnsafe$1 as Bc, isTagged as Bd, matchCauseEffect as Bi, findLast as Bl, withDefault as Bn, buildWithMemoMap as Bo, catchFilter as Br, Done as Bs, toCodecJsonAST as Bt, fromNullishOr$1 as Bu, NonEmptyString as C, serviceOption as Ca, as$1 as Cc, toJson as Cd, interrupt as Ci, millis as Cl, resolveAt as Cn, doneExitFromCause as Co, acquireRelease as Cr, into as Cs, isMaxLength as Ct, add$2 as Cu, Opaque as D, succeedSome as Da, contextWith$1 as Dc, equals$2 as Dd, log as Di, seconds as Dl, unknown as Dn, nextPow2 as Do, andThen as Dr, makeUnsafe$3 as Ds, isPattern as Dt, getOrElse$1 as Du, Number$1 as E, succeedNone as Ea, consolePretty as Ec, symbolRedactable as Ed, isEffect as Ei, nanos as El, toEncoded$1 as En, matchEffect$1 as Eo, all as Er, make$9 as Es, isNonEmpty as Et, getOption as Eu, TaggedErrorClass as F, timeoutOption as Fa, fiberInterruptAll as Fc, isNotNull as Fd, map as Fi, ensure as Fl, parseJson as Fn, TaggedClass as Fo, cached as Fr, isFailure as Fs, optional as Ft, exists as Fu, Unknown as G, void_$1 as Ga, onExit$1 as Gc, constFalse as Gd, onExit as Gi, isReadonlyArrayNonEmpty as Gl, encodeBase64$1 as Gn, fresh as Go, catch_ as Gr, UnknownError as Gs, withDecodingDefault as Gt, getOrUndefined$2 as Gu, Undefined as H, uninterruptibleMask as Ha, makeLatch as Hc, or as Hd, matchEffect as Hi, fromIterable as Hl, decodeBase64String as Hn, effectContext as Ho, catchReason as Hr, IllegalArgumentError as Hs, toJsonSchemaDocument as Ht, getOrElse$2 as Hu, TaggedStruct as I, timeoutOrElse as Ia, fiberJoin as Ic, isNotUndefined as Id, mapEager as Ii, filter$2 as Il, passthrough$1 as In, TaggedError as Io, callback as Ir, isSuccess as Is, optionalKey as It, filter$3 as Iu, annotate as J, withErrorReporting as Ja, succeed$5 as Jc, constVoid as Jd, option as Ji, makeEquivalence$2 as Jl, Order$1 as Jn, merge as Jo, contextWith as Jr, done$1 as Js, make$1 as Jt, makeOrder as Ju, UnknownFromJsonString as K, when as Ka, onExitPrimitive$1 as Kc, constTrue as Kd, onExitPrimitive as Ki, last as Kl, encodeBase64Url as Kn, launch as Ko, clockWith as Kr, combine as Ks, withDecodingDefaultKey as Kt, isNone as Ku, TemplateLiteral as L, tryPromise as La, fiberRunIn as Lc, isNullish as Ld, mapError as Li, filterMap as Ll, stringifyJson as Ln, taggedEnum as Lo, catchCause as Lr, match$1 as Ls, suspend as Lt, firstSomeOf as Lu, String$1 as M, tapError as Ma, exitZipRight as Mc, symbol$1 as Md, logWarning as Mi, allocate as Ml, transformOrFail as Mn, currentTimeNanos as Mo, as as Mr, failCause$2 as Ms, make as Mt, merge$1 as Mu, StringFromUriComponent as N, tapErrorTag as Na, fiberAwait as Nc, compose$1 as Nd, makeSpan as Ni, appendAll$1 as Nl, trim as Nn, Class$1 as No, asSome as Nr, findErrorOption as Ns, makeFilter as Nt, omit$2 as Nu, Option as O, suspend$1 as Oa, endSpan as Oc, symbol as Od, logDebug as Oi, times as Ol, Transformation as On, parse as Oo, annotateCurrentSpan as Or, poll as Os, isSchema as Ot, getOrUndefined$1 as Ou, Struct as P, timeout as Pa, fiberInterrupt as Pc, hasProperty as Pd, makeSpanScoped as Pi, empty$3 as Pl, onSome as Pn, Error$1 as Po, asVoid as Pr, interrupt$1 as Ps, mutable as Pt, contains as Pu, decode as Q, withSpan as Qa, tracerLogger as Qc, identity as Qd, provide as Qi, reduce as Ql, isGreaterThanOrEqualTo$1 as Qn, succeed$2 as Qo, effectify as Qr, findErrorOption$1 as Qs, toMultiDocumentOpenApi3_1 as Qt, orElse as Qu, Tuple as R, try_ as Ra, flatMap$2 as Rc, isObject as Rd, mapErrorEager as Ri, findFirst as Rl, transformOptional$1 as Rn, CurrentMemoMap as Ro, catchDefect as Rr, succeed$4 as Rs, tag as Rt, flatMap$4 as Ru, NonEmptyArray as S, service as Sa, andThen$1 as Sc, NodeInspectSymbol as Sd, ignoreCause as Si, max$1 as Sl, isVoid as Sn, catchDone as So, Transaction as Sr, interruptWith as Ss, isLessThanOrEqualTo as St, Service as Su, NullOr as T, succeed$1 as Ta, callback$1 as Tc, redact as Td, interruptibleMask as Ti, minutes as Tl, resolveIdentifier as Tn, isDoneCause as To, addFinalizer as Tr, isDone as Ts, isMinLength as Tt, get$1 as Tu, UndefinedOr as U, updateContext as Ua, makeLatchUnsafe as Uc, cast as Ud, never$1 as Ui, getUnsafe$1 as Ul, decodeBase64Url as Un, effectDiscard as Uo, catchTag as Ur, NoSuchElementError as Us, toType as Ut, getOrNull as Uu, Uint8Array$1 as V, uninterruptible as Va, getCurrentFiber as Vc, isUndefined as Vd, matchCauseEffectEager as Vi, flatMapNullishOr as Vl, decodeBase64$1 as Vn, effect as Vo, catchIf as Vr, ExceededCapacityError as Vs, toCodecStringTree as Vt, fromUndefinedOr as Vu, Union as W, useSpan as Wa, makeSpanUnsafe as Wc, compose$2 as Wd, onError as Wi, isArrayNonEmpty as Wl, decodeBase64UrlString as Wn, empty$1 as Wo, catchTags as Wr, StackTrace as Ws, withConstructorDefault as Wt, getOrThrow$1 as Wu, brand as X, withLogSpan as Xa, suspend$2 as Xc, dual as Xd, orElseSucceed as Xi, match$4 as Xl, formatIso as Xn, provide$2 as Xo, currentSpan as Xr, filterInterruptors as Xs, stringOrRedacted as Xt, match$6 as Xu, annotateKey as Y, withFiber as Ya, succeedNone$1 as Yc, constant as Yd, orDie as Yi, map$3 as Yl, add as Yn, mergeAll as Yo, currentParentSpan as Yr, fail$4 as Ys, value as Yt, map$6 as Yu, declare as Z, withParentSpan as Za, sync$2 as Zc, flow as Zd, promise as Zi, of$1 as Zl, isGreaterThan$1 as Zn, provideMerge as Zo, die as Zr, findError as Zs, VALID_OPEN_API_COMPONENTS_SCHEMAS_KEY_REGEXP as Zt, none as Zu, Literal as _, runSyncExitWith as _a, squash as _c, isEffect$1 as _d, forkScoped as _i, fromInputUnsafe as _l, isNull as _n, modifyDelay as _o, head as _r, die$1 as _s, isFinite as _t, isSuccess$1 as _u, Class as a, result as aa, isCause as ac, mapInput$1 as ad, filterOrFail as ai, MinimumTraceLevel as al, _is as an, timer as ao, subtract as ar, addFinalizerExit as as, decodeUnknownOption as at, set as au, Natural as b, scoped as ba, CurrentLoggers as bc, BaseProto as bd, gen as bi, isFinite$2 as bl, isSuspend as bn, spaced as bo, toArray as br, fail$2 as bs, isInt as bt, try_$2 as bu, Defect as c, runCallbackWith as ca, isFailReason as cc, getStackTraceLimit as cd, flatMapEager as ci, Tracer as cl, SchemaError as cn, addDelay as co, toEpochMillis as cr, forkUnsafe as cs, encodeEffect as ct, headUnsafe as cu, ErrorClass as d, runPromise as da, isTimeoutError as dc, Done$1 as dd, fnUntraced as di, compose as dl, applyToSelfOrLastLinkEncoding as dn, forever$1 as do, InvalidValue as dr, provide$3 as ds, encodeUnknownExit as dt, failVoid as du, provideService as ea, hasDies as ec, toArray$1 as ed, pipeArguments as ef, exit as ei, updateContext$1 as el, toRepresentations as en, yieldNow as eo, make$6 as er, sync$1 as es, decodeExit as et, sort as eu, Exit as f, runPromiseExit as fa, isUnknownError as fc, PipeInspectableProto as fd, forEach as fi, has as fl, decodeTo$1 as fn, identity_ as fo, Pointer as fr, CurrentLogLevel as fs, encodeUnknownSync as ft, getOrElse as fu, Json as g, runSyncExit as ga, prettyErrors as gc, exitSucceed as gd, forkIn as gi, fromInput as gl, isLiteral as gn, min as go, empty as gr, _await as gs, isBetween as gt, isResult as gu, Int as h, runSync as ha, pretty as hc, exitFailCause as hd, forkDetach as hi, format$1 as hl, isDeclaration as hn, max as ho, drop as hr, TracerTimingEnabled as hs, is as ht, isFailure$1 as hu, Cause as i, repeat as ia, interruptors as ic, make$13 as id, filterMapOrFail as ii, DisablePropagation as il, omit as in, snapshotUnsafe as io, nowUnsafe as ir, addFinalizer$1 as is, decodeUnknownExit as it, map$4 as iu, Redacted as j, tapCause as ja, exitVoid as jc, structure as jd, logInfo as ji, zero$1 as jl, transformOptional as jn, currentTimeMillis as jo, annotateSpans as jr, fail$3 as js, link as jt, makeUnsafe$4 as ju, OptionFromNullOr as k, sync as ka, exitHasInterrupts as kc, array as kd, logError as ki, toMillis as kl, splitKeyValue as kn, round as ko, annotateLogs as kr, succeed$3 as ks, isTrimmed as kt, getUnsafe$2 as ku, Duration as l, runFork as la, isInterruptReason as lc, setStackTraceLimit as ld, flatten as li, externalSpan as ll, isSchemaError as ln, during as lo, toUtc as lr, make$8 as ls, encodeSync as lt, makeEquivalence$4 as lu, FiniteFromString as m, runPromiseWith as ma, map$1 as mc, exitFail as md, forkChild as mi, days as ml, getLastEncoding as mn, jittered as mo, append as mr, TracerEnabled as ms, instanceOf as mt, getOrUndefined as mu, ArraySchema as n, race as na, hasInterruptsOnly as nc, flip$1 as nd, failCause as ni, whileLoop$1 as nl, escapeToken as nn, zipWith as no, now as nr, unwrap as ns, decodeTo as nt, isEmptyRecord as nu, DateTimeUtc as o, retry as oa, isDieReason as oc, make$14 as od, firstSuccessOf as oi, NativeSpan as ol, decodeUnknownEffect$1 as on, update as oo, toDate as or, close as os, decodeUnknownSync as ot, empty$4 as ou, Finite as p, runPromiseExitWith as pa, makeDieReason as pc, causeFail as pd, forever as pi, toPredicate as pl, getAST as pn, isSchedule as po, makeFormatterDefault as pr, MinimumLogLevel as ps, fromJsonString as pt, getOrThrow as pu, Void as q, whileLoop as qa, reportCauseUnsafe as qc, constUndefined as qd, onInterrupt as qi, lastNonEmpty as ql, encodeHex as qn, makeMemoMapUnsafe as qo, context as qr, die$3 as qs, isRedacted as qt, isSome as qu, Boolean as r, raceFirst as ra, interrupt$2 as rc, isGreaterThanOrEqualTo$3 as rd, filter as ri, addSpanStackTrace as rl, assign as rn, counter as ro, nowAsDate as rr, Scope as rs, decodeUnknownEffect as rt, makeEquivalence$3 as ru, DateTimeUtcFromString as s, runCallback as sa, isDone$1 as sc, strictEqual as sd, flatMap as si, ParentSpan as sl, encodeUnknownEffect$1 as sn, withAttributes as so, toDateUtc as sr, closeUnsafe as ss, encode as st, filterMap$1 as su, Any as t, provideServiceEffect as ta, hasInterrupts as tc, Number$5 as td, fail$1 as ti, void_$3 as tl, toJsonSchemaMultiDocument as tn, zip as to, makeUnsafe as tr, tap$1 as ts, decodeSync as tt, take as tu, DurationFromMillis as u, runForkWith as ua, isNoSuchElementError as uc, Prototype as ud, fn as ui, make$10 as ul, Union$1 as un, exponential as uo, Forbidden as ur, makeUnsafe$2 as us, encodeUnknownEffect as ut, fail$6 as uu, Literals as v, runSyncWith as va, ClockRef as vc, withFiber$1 as vd, fromOption as vi, hours as vl, isObjects as vn, passthrough$2 as vo, isEmpty as vr, done as vs, isGreaterThan as vt, map$5 as vu, Null as w, sleep as wa, asSome$1 as wc, format$2 as wd, interruptible as wi, min$1 as wl, resolveDescription as wn, filterDone as wo, acquireUseRelease as wr, isDeferred as ws, isMaxProperties as wt, empty$5 as wu, Never as x, scopedWith as xa, LogLevelOrder as xc, Class$2 as xd, ignore as xi, isZero$1 as xl, isUnion as xn, toStepWithSleep as xo, toReadonlyArray as xr, failCause$1 as xs, isLessThan as xt, Reference as xu, MutableJson as y, scope as ya, ConsoleRef as yc, assignProperty as yd, fromResult as yi, infinity as yl, isOptional as yn, recurs as yo, size as yr, doneUnsafe as ys, isGreaterThanOrEqualTo as yt, succeed$6 as yu, URL$1 as z, tx as za, fnUntraced$1 as zc, isString as zd, match as zi, findFirstIndex as zl, transformOrFail$1 as zn, build as zo, catchEager as zr, void_$2 as zs, toCodecJson as zt, flatten$3 as zu };
33552
33836
 
33553
- //# sourceMappingURL=Schema-D5D4He-Q.mjs.map
33837
+ //# sourceMappingURL=Schema-CA_wFfhH.mjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { $u as Prototype, Ac as forkUnsafe, Ai as makeSpanScoped, Ba as void_$1, Bd as flow, Bu as match, Cd as hasProperty, Ea as tap, Ec as fiberJoin, Es as isSuccess, Fc as onExit, Gc as void_, Gi as orDie, Id as constUndefined, Iu as isNone, Jo as Scope, La as uninterruptibleMask, Lu as isSome, Mo as effect, Pc as makeSpanUnsafe, Rc as succeed, Su as merge, Ta as sync$1, Ur as context, Vc as sync, Vi as onExit$1, Wa as withFiber$1, Wc as updateContext, Wr as contextWith$1, Xi as provideService, Xr as exit, Yi as provideContext, Yo as addFinalizer, Yr as ensuring, Zc as ParentSpan, Zl as filterMap, Zo as close, _c as contextWith, ad as exitSucceed, cc as ClockRef, cd as assignProperty, dl as isZero, du as Reference, es as make$4, fu as Service, ga as scoped, gi as gen, gu as getOption$1, hu as get$1, ji as map, ll as infinity, lu as succeed$1, mc as asSome, ns as provide, oa as runForkWith, os as TracerTimingEnabled, pu as add, ri as flatMap, sd as withFiber, si as fnUntraced, sl as fromInputUnsafe, td as PipeInspectableProto, tu as failVoid, ul as isFinite, vc as endSpan, wa as suspend, wc as fiberInterrupt, xa as succeed$2, xo as Clock, ya as serviceOption, yc as exitHasInterrupts, yd as hash, yl as toMillis, za as useSpan, zc as succeedNone, zd as dual } from "./Schema-D5D4He-Q.mjs";
4
- import { Ct as make$5, D as fromQueue, Et as size, Jt as failCauseUnsafe, Qt as offerUnsafe, St as get$2, Tt as set$1, Yt as make$6, bn as runIn, mt as unwrap, wt as remove } from "./FileSystem-CME3BFzu.mjs";
3
+ import { $i as provideContext, $r as ensuring, Aa as tap, Ad as hash, Ao as Clock, Bc as forkUnsafe, Ca as serviceOption, Cu as add, Dc as contextWith, Eu as getOption$1, Fi as map, Ga as void_$1, Gc as onExit, Gi as onExit$1, Ha as uninterruptibleMask, Ic as fiberJoin, Is as isSuccess, Jc as succeed, Jr as contextWith$1, Ku as isNone, Mu as merge, Oa as suspend, Oc as endSpan, Pc as fiberInterrupt, Pd as hasProperty, Pi as makeSpanScoped, Su as Service, Ta as succeed$2, Tu as get$1, Vo as effect, Wa as useSpan, Wc as makeSpanUnsafe, Xd as dual, Xu as match, Ya as withFiber$1, Yc as succeedNone, Yi as orDie, Zc as sync, Zd as flow, _l as fromInputUnsafe, ba as scoped, bi as gen, bl as isFinite, di as fnUntraced, ds as provide, du as failVoid, ea as provideService, ei as exit, el as updateContext, fd as PipeInspectableProto, gd as exitSucceed, hs as TracerTimingEnabled, is as addFinalizer, ka as sync$1, kc as exitHasInterrupts, kl as toMillis, ls as make$4, os as close, qd as constUndefined, qr as context, qu as isSome, rs as Scope, si as flatMap, sl as ParentSpan, su as filterMap, tl as void_, ua as runForkWith, ud as Prototype, vc as ClockRef, vd as withFiber, wc as asSome, xl as isZero, xu as Reference, yd as assignProperty, yl as infinity, yu as succeed$1 } from "./Schema-CA_wFfhH.mjs";
4
+ import { Cn as runIn, Dt as remove, Et as make$5, Ot as set$1, Qt as make$6, Tt as get$2, Zt as failCauseUnsafe, _t as unwrap, k as fromQueue, kt as size, tn as offerUnsafe } from "./FileSystem-NX0EtGtm.mjs";
5
5
  //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=af36b7948b6f9c56623074662b51dade5699880c1a7c71245de73e13c3185fb6/node_modules/effect/dist/Cache.js
6
6
  /**
7
7
  * Caches values loaded by an Effect lookup function.
@@ -1552,4 +1552,4 @@ const SafeIntegers = /*#__PURE__*/ Reference("effect/sql/SqlClient/SafeIntegers"
1552
1552
  //#endregion
1553
1553
  export { makeCompilerSqlite as a, getOption as c, make$3 as d, makeWith as f, defaultTransforms as i, invalidate as l, SqlClient as n, layer as o, set as p, make as r, get as s, SafeIntegers as t, keys as u };
1554
1554
 
1555
- //# sourceMappingURL=SqlClient-CZnbSIGl.mjs.map
1555
+ //# sourceMappingURL=SqlClient-Cusaqpaw.mjs.map