@savvy-web/silk 3.0.0 → 3.0.2

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.
@@ -420,7 +420,7 @@ const trimTrailingSlashes = (s) => {
420
420
  return s.slice(0, end);
421
421
  };
422
422
  //#endregion
423
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/limits.js
423
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/limits.js
424
424
  /** Hard cap on pattern length. Upstream minimatch's MAX_PATTERN_LENGTH (64KB). */
425
425
  const MAX_PATTERN_LENGTH = 1024 * 64;
426
426
  /** Default brace-expansion output budget. Upstream brace-expansion's EXPANSION_MAX. */
@@ -454,7 +454,7 @@ const assertCap = (name, value) => {
454
454
  return value;
455
455
  };
456
456
  //#endregion
457
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/unescape.js
457
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/unescape.js
458
458
  /**
459
459
  * Un-escape a string that has been escaped with `escape`.
460
460
  *
@@ -477,11 +477,11 @@ const unescapePattern = (s, { windowsPathsNoEscape = false, magicalBraces = true
477
477
  return windowsPathsNoEscape ? s.replace(/\[([^/\\{}])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^/\\{}])\]/g, "$1$2").replace(/\\([^/{}])/g, "$1");
478
478
  };
479
479
  //#endregion
480
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/types.js
480
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/types.js
481
481
  /** The globstar marker in a compiled pattern set. */
482
482
  const GLOBSTAR = Symbol("globstar **");
483
483
  //#endregion
484
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/escape.js
484
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/escape.js
485
485
  /**
486
486
  * Escape all magic characters in a glob pattern.
487
487
  *
@@ -499,13 +499,13 @@ const escapePattern = (s, { windowsPathsNoEscape = false, magicalBraces = false
499
499
  return windowsPathsNoEscape ? s.replace(/[?*()[\]]/g, "[$&]") : s.replace(/[?*()[\]\\]/g, "\\$&");
500
500
  };
501
501
  //#endregion
502
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/assertValidPattern.js
502
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/assertValidPattern.js
503
503
  const assertValidPattern = (pattern) => {
504
504
  if (typeof pattern !== "string") throw new TypeError("invalid pattern");
505
505
  if (pattern.length > 65536) throw new GuardExceeded("PatternTooLong", MAX_PATTERN_LENGTH, pattern.length);
506
506
  };
507
507
  //#endregion
508
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/braceExpressions.js
508
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/braceExpressions.js
509
509
  const posixClasses = {
510
510
  "[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
511
511
  "[:alpha:]": ["\\p{L}\\p{Nl}", true],
@@ -628,7 +628,7 @@ const parseClass = (glob, position) => {
628
628
  ];
629
629
  };
630
630
  //#endregion
631
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/ast.js
631
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/ast.js
632
632
  const types = /* @__PURE__ */ new Set([
633
633
  "!",
634
634
  "?",
@@ -1145,7 +1145,7 @@ var AST = class AST {
1145
1145
  }
1146
1146
  };
1147
1147
  //#endregion
1148
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/balancedMatch.js
1148
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/balancedMatch.js
1149
1149
  const maybeMatch = (reg, str) => {
1150
1150
  const m = str.match(reg);
1151
1151
  return m ? m[0] : null;
@@ -1203,7 +1203,7 @@ const range = (a, b, str) => {
1203
1203
  return result;
1204
1204
  };
1205
1205
  //#endregion
1206
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/braceExpansion.js
1206
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/braceExpansion.js
1207
1207
  const escSlash = `\0SLASH${Math.random()}\0`;
1208
1208
  const escOpen = `\0OPEN${Math.random()}\0`;
1209
1209
  const escClose = `\0CLOSE${Math.random()}\0`;
@@ -1350,7 +1350,7 @@ function expand_(str, max, isTopInput, depth) {
1350
1350
  }
1351
1351
  }
1352
1352
  //#endregion
1353
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/minimatch.js
1353
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/minimatch.js
1354
1354
  const starDotExtRE = /^\*+([^+@!?*[(]*)$/;
1355
1355
  const starDotExtTest = (ext) => (f) => !f.startsWith(".") && f.endsWith(ext);
1356
1356
  const starDotExtTestDot = (ext) => (f) => f.endsWith(ext);
@@ -1921,7 +1921,7 @@ var Minimatch = class {
1921
1921
  }
1922
1922
  };
1923
1923
  //#endregion
1924
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/GlobPattern.js
1924
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/GlobPattern.js
1925
1925
  /**
1926
1926
  * Typed failure raised when a glob pattern trips a compile-time guard:
1927
1927
  * over-length, brace-expansion budget exhaustion, or nesting past the depth
@@ -2101,6 +2101,17 @@ var GlobPattern = class GlobPattern extends effect.Schema.Class("GlobPattern")(e
2101
2101
  * `""` when the first segment carries magic. New API with no upstream
2102
2102
  * analogue, designed for the workspaces enumerator; well-defined for
2103
2103
  * default-options patterns.
2104
+ *
2105
+ * @remarks
2106
+ * Meaningful for **non-negated** patterns only. For a negated pattern
2107
+ * ({@link GlobPattern.negated}), the prefix is still computed from the inner
2108
+ * pattern, but {@link GlobPattern.matches} inverts the result — so the
2109
+ * pattern can match paths *outside* this prefix. A consumer that bounds
2110
+ * traversal to `enumerationPrefix` (e.g. a walker's descent) will
2111
+ * under-enumerate against a negated pattern; guard on `negated` and do not
2112
+ * use `enumerationPrefix` as the traversal root there — enumerate from `cwd`
2113
+ * or another encompassing root instead. The inversion is not the getter's
2114
+ * semantics to express — check `negated` at the call site.
2104
2115
  */
2105
2116
  get enumerationPrefix() {
2106
2117
  const set = this.#engineOf().set;
@@ -2128,6 +2139,11 @@ var GlobPattern = class GlobPattern extends effect.Schema.Class("GlobPattern")(e
2128
2139
  * a globstar, or a magic segment followed by more segments. The enumerator
2129
2140
  * uses this to decide between a single-level read and a bounded recursive
2130
2141
  * descent (the issue-#62 fix, end to end).
2142
+ *
2143
+ * @remarks
2144
+ * Like {@link GlobPattern.enumerationPrefix}, this reads the inner pattern
2145
+ * and does not account for whole-pattern negation; guard on
2146
+ * {@link GlobPattern.negated} at the call site.
2131
2147
  */
2132
2148
  get crossesSegments() {
2133
2149
  return this.#engineOf().set.some((row) => {
@@ -2157,7 +2173,7 @@ var GlobPattern = class GlobPattern extends effect.Schema.Class("GlobPattern")(e
2157
2173
  })));
2158
2174
  };
2159
2175
  //#endregion
2160
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/GlobSet.js
2176
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/GlobSet.js
2161
2177
  const exclusionTarget = (pattern) => pattern.startsWith("!") ? pattern.slice(1) : void 0;
2162
2178
  const allCompileUnderDefaults = (patterns) => {
2163
2179
  for (const pattern of patterns) {
@@ -2285,7 +2301,7 @@ var GlobSet = class GlobSet extends effect.Schema.Class("GlobSet")(effect.Schema
2285
2301
  }
2286
2302
  };
2287
2303
  //#endregion
2288
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/BunExtension.js
2304
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/BunExtension.js
2289
2305
  /**
2290
2306
  * Extension data specific to bun lockfiles, attached to `Lockfile.extension`
2291
2307
  * when the format is `"bun"`.
@@ -4087,7 +4103,7 @@ const IntegrityHash = Object.assign(brandedIntegrity, {
4087
4103
  decode: decode$2
4088
4104
  });
4089
4105
  //#endregion
4090
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/ImporterDependency.js
4106
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/ImporterDependency.js
4091
4107
  /**
4092
4108
  * One declared dependency of one workspace importer, as the lockfile records it.
4093
4109
  *
@@ -4115,7 +4131,7 @@ var ImporterDependency = class extends effect.Schema.Class("ImporterDependency")
4115
4131
  depType: DependencyField
4116
4132
  }) {};
4117
4133
  //#endregion
4118
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/LockfileImporter.js
4134
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/LockfileImporter.js
4119
4135
  /**
4120
4136
  * One workspace importer's declared dependencies, as the lockfile records them.
4121
4137
  *
@@ -4139,7 +4155,7 @@ var LockfileImporter = class extends effect.Schema.Class("LockfileImporter")({
4139
4155
  dependencies: effect.Schema.Array(ImporterDependency)
4140
4156
  }) {};
4141
4157
  //#endregion
4142
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/ResolvedPackage.js
4158
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/ResolvedPackage.js
4143
4159
  const EMPTY_DEPENDENCIES = {};
4144
4160
  /**
4145
4161
  * A package resolved from a lockfile.
@@ -4174,7 +4190,7 @@ var ResolvedPackage = class extends effect.Schema.Class("ResolvedPackage")({
4174
4190
  dependencies: effect.Schema.Record(effect.Schema.String, effect.Schema.String).pipe(effect.Schema.withDecodingDefaultKey(effect.Effect.succeed(EMPTY_DEPENDENCIES)), effect.Schema.withConstructorDefault(effect.Effect.succeed(EMPTY_DEPENDENCIES)))
4175
4191
  }) {};
4176
4192
  //#endregion
4177
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/WorkspaceDependency.js
4193
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/WorkspaceDependency.js
4178
4194
  /**
4179
4195
  * A directed dependency edge between two workspace packages as recorded in
4180
4196
  * the lockfile.
@@ -4196,7 +4212,7 @@ var WorkspaceDependency = class extends effect.Schema.Class("WorkspaceDependency
4196
4212
  constraint: effect.Schema.String
4197
4213
  }) {};
4198
4214
  //#endregion
4199
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/PnpmExtension.js
4215
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/PnpmExtension.js
4200
4216
  /**
4201
4217
  * Extension data specific to pnpm lockfiles, attached to `Lockfile.extension`
4202
4218
  * when the format is `"pnpm"`.
@@ -4221,7 +4237,7 @@ var PnpmExtension = class extends effect.Schema.Class("PnpmExtension")({
4221
4237
  }))
4222
4238
  }) {};
4223
4239
  //#endregion
4224
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/LockfileFormat.js
4240
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/LockfileFormat.js
4225
4241
  /**
4226
4242
  * The lockfile formats this package parses: bun's `bun.lock` (JSONC), npm's
4227
4243
  * `package-lock.json` (v2/v3 JSON), pnpm's `pnpm-lock.yaml` and yarn Berry's
@@ -4255,7 +4271,7 @@ const FILENAMES = {
4255
4271
  */
4256
4272
  const filenameFor = (format) => FILENAMES[format];
4257
4273
  //#endregion
4258
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/internal/shared.js
4274
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/internal/shared.js
4259
4275
  /**
4260
4276
  * The four dependency sections of a manifest, in a stable order — the shared
4261
4277
  * dependency-sections table (v3's `DEP_SECTIONS`). Each entry is both the
@@ -5891,7 +5907,7 @@ var JsoncModifier = class {
5891
5907
  });
5892
5908
  };
5893
5909
  //#endregion
5894
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/internal/bun.js
5910
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/internal/bun.js
5895
5911
  const DepRecord$2 = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.String));
5896
5912
  const BunWorkspaceEntry = effect.Schema.Struct({
5897
5913
  name: effect.Schema.optionalKey(effect.Schema.String),
@@ -5984,7 +6000,7 @@ const toFields$3 = (raw) => effect.Effect.gen(function* () {
5984
6000
  };
5985
6001
  });
5986
6002
  //#endregion
5987
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/internal/npm.js
6003
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/internal/npm.js
5988
6004
  const DepRecord$1 = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.String));
5989
6005
  const NpmPackageEntry = effect.Schema.Struct({
5990
6006
  name: effect.Schema.optionalKey(effect.Schema.String),
@@ -6082,7 +6098,7 @@ const toFields$2 = (raw) => effect.Effect.gen(function* () {
6082
6098
  };
6083
6099
  });
6084
6100
  //#endregion
6085
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/YamlNode.js
6101
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/YamlNode.js
6086
6102
  /**
6087
6103
  * YAML scalar presentation styles.
6088
6104
  *
@@ -6474,7 +6490,7 @@ function nodeToValue(node, anchors, budget, counting = false) {
6474
6490
  return null;
6475
6491
  }
6476
6492
  //#endregion
6477
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/diagnostics.js
6493
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/diagnostics.js
6478
6494
  /** Error codes emitted by the lexer stage. */
6479
6495
  const YAML_LEX_ERROR_CODES = [
6480
6496
  "UnexpectedCharacter",
@@ -6552,7 +6568,7 @@ function isFatalCode(code) {
6552
6568
  return FATAL_CODES.has(code);
6553
6569
  }
6554
6570
  //#endregion
6555
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/YamlDiagnostic.js
6571
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/YamlDiagnostic.js
6556
6572
  /**
6557
6573
  * Error codes emitted by the lexer stage.
6558
6574
  *
@@ -6673,7 +6689,7 @@ function lineChar(text, offset) {
6673
6689
  };
6674
6690
  }
6675
6691
  //#endregion
6676
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/anchors.js
6692
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/anchors.js
6677
6693
  /**
6678
6694
  * Check if a pending anchor is being applied to an alias node (invalid in YAML 1.2 §3.2.2).
6679
6695
  * Aliases represent references to existing anchored nodes and cannot have their own anchors.
@@ -6766,7 +6782,7 @@ function collectAnchors(node, anchors) {
6766
6782
  }
6767
6783
  }
6768
6784
  //#endregion
6769
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/lexer.js
6785
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/lexer.js
6770
6786
  /**
6771
6787
  * Create a new YAML scanner for the given source text.
6772
6788
  *
@@ -7723,7 +7739,7 @@ function lexAll(text) {
7723
7739
  return tokens;
7724
7740
  }
7725
7741
  //#endregion
7726
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/cst-parser.js
7742
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/cst-parser.js
7727
7743
  /**
7728
7744
  * Hardening: cap CST nesting so hostile inputs cannot overflow the stack
7729
7745
  * while the tree is being BUILT. Set slightly above the composer's
@@ -8435,7 +8451,7 @@ function parseCSTAll(text) {
8435
8451
  return parseDocuments(lexAll(text), text);
8436
8452
  }
8437
8453
  //#endregion
8438
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/state.js
8454
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/state.js
8439
8455
  let lineStartsText;
8440
8456
  let lineStartsCache = [];
8441
8457
  function getLineStarts(text) {
@@ -8541,7 +8557,7 @@ function exitNesting(state) {
8541
8557
  state.depth--;
8542
8558
  }
8543
8559
  //#endregion
8544
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/tags.js
8560
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/tags.js
8545
8561
  /**
8546
8562
  * Resolve a tag shorthand using the document's %TAG directives.
8547
8563
  * For example, with `%TAG !! tag:example.com,2000:app/`, the tag `!!int`
@@ -8627,7 +8643,7 @@ function validateTagHandlesInDocument(docCst, state) {
8627
8643
  }
8628
8644
  }
8629
8645
  //#endregion
8630
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/scalars.js
8646
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/scalars.js
8631
8647
  const NULL_RE$1 = /^(?:null|Null|NULL|~)$/;
8632
8648
  const TRUE_RE$1 = /^(?:true|True|TRUE)$/;
8633
8649
  const FALSE_RE$1 = /^(?:false|False|FALSE)$/;
@@ -9505,7 +9521,7 @@ function shouldPreserveRaw(rawValue, value) {
9505
9521
  return false;
9506
9522
  }
9507
9523
  //#endregion
9508
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/block.js
9524
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/block.js
9509
9525
  /**
9510
9526
  * Compose a block map from its CST children, with an optional external first key.
9511
9527
  *
@@ -10653,7 +10669,7 @@ function composeFlatBlockMap(children, startIdx, parentCst, state, externalFirst
10653
10669
  return map;
10654
10670
  }
10655
10671
  //#endregion
10656
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/flow.js
10672
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/flow.js
10657
10673
  /**
10658
10674
  * Validate that flow collection entries are separated by commas.
10659
10675
  *
@@ -11045,7 +11061,7 @@ function composeFlowSeqInner(cst, state, meta, parentBlockColumn) {
11045
11061
  return seq;
11046
11062
  }
11047
11063
  //#endregion
11048
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/document.js
11064
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/document.js
11049
11065
  /** The flow-composer dispatch wired into every state this module creates. */
11050
11066
  const FLOW = {
11051
11067
  composeFlowMap,
@@ -11711,7 +11727,92 @@ function composeAllDocuments(text, options) {
11711
11727
  };
11712
11728
  }
11713
11729
  //#endregion
11714
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/fold.js
11730
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/fold.js
11731
+ /**
11732
+ * Column-based line folding for a single logical scalar line (YAML 1.2 flow
11733
+ * folding, §7.3 / §8.2.1). Breaks the content at "safe" single-space
11734
+ * boundaries — a space whose neighbours are both non-space — so each inserted
11735
+ * line break is a *semantically transparent* fold: on read, a lone break
11736
+ * between non-empty lines at the same indent folds back to a single space, and
11737
+ * the leading indentation of continuation lines is absorbed as separation
11738
+ * whitespace. The original space at the break point is consumed, replaced by
11739
+ * the break, so no content whitespace is added or lost.
11740
+ *
11741
+ * Continuation lines are prefixed with `indent`. `indentAtStart` is the column
11742
+ * the first line begins at (its content is already `indentAtStart` columns in),
11743
+ * used only to budget the first line; it is approximate because the caller's
11744
+ * exact column (after a `key: ` prefix, say) is not known here.
11745
+ *
11746
+ * Only breaks where a break is safe. When no safe break point exists before the
11747
+ * width limit, the line overflows unwrapped rather than corrupting the value —
11748
+ * width folding is a best-effort presentation concern, never a correctness one.
11749
+ * A non-positive `lineWidth` (the default) returns the text unchanged.
11750
+ */
11751
+ function foldScalarLine(text, indent, lineWidth, indentAtStart) {
11752
+ if (lineWidth <= 0) return text;
11753
+ const contentWidth = Math.max(1, lineWidth - indent.length);
11754
+ let end = Math.max(1, lineWidth - indentAtStart);
11755
+ const folds = [];
11756
+ let split;
11757
+ let prev;
11758
+ for (let i = 0; i < text.length; i++) {
11759
+ const ch = text[i];
11760
+ if (ch === " " && prev !== void 0 && prev !== " ") {
11761
+ const next = text[i + 1];
11762
+ if (next !== void 0 && next !== " ") split = i;
11763
+ }
11764
+ if (i >= end && split !== void 0) {
11765
+ folds.push(split);
11766
+ end = split + contentWidth;
11767
+ split = void 0;
11768
+ }
11769
+ prev = ch;
11770
+ }
11771
+ if (folds.length === 0) return text;
11772
+ let result = text.slice(0, folds[0]);
11773
+ for (let f = 0; f < folds.length; f++) {
11774
+ const fold = folds[f];
11775
+ const sliceEnd = folds[f + 1] ?? text.length;
11776
+ result += `\n${indent}${text.slice(fold + 1, sliceEnd)}`;
11777
+ }
11778
+ return result;
11779
+ }
11780
+ /**
11781
+ * Apply {@link foldScalarLine} to an already-rendered scalar according to its
11782
+ * style, inferred from the leading character:
11783
+ *
11784
+ * - `|` block-literal — returned unchanged; literal blocks preserve bytes by
11785
+ * definition and must never be folded.
11786
+ * - `>` block-folded — each base-indent body content line is folded; blank
11787
+ * lines and more-indented lines (which the reader treats as literal breaks)
11788
+ * are left untouched.
11789
+ * - `"` double-quoted — the inner content is folded; breaking only at content
11790
+ * spaces means no `\`-escaped continuations are needed.
11791
+ * - `'` single-quoted — returned unchanged (out of scope for width folding).
11792
+ * - otherwise plain — folded directly.
11793
+ *
11794
+ * `indent` is one indentation level (the continuation prefix); `lineWidth` is
11795
+ * the target column. A non-positive `lineWidth` returns the text unchanged.
11796
+ */
11797
+ function foldRenderedScalar(rendered, indent, lineWidth) {
11798
+ if (lineWidth <= 0 || rendered.length === 0) return rendered;
11799
+ const first = rendered[0];
11800
+ if (first === "|" || first === "'") return rendered;
11801
+ if (first === ">") {
11802
+ const lines = rendered.split("\n");
11803
+ const out = [lines[0]];
11804
+ for (let i = 1; i < lines.length; i++) {
11805
+ const line = lines[i];
11806
+ if (line.length > indent.length && line.startsWith(indent) && line[indent.length] !== " " && line[indent.length] !== " ") {
11807
+ const content = line.slice(indent.length);
11808
+ out.push(indent + foldScalarLine(content, indent, lineWidth, indent.length));
11809
+ } else out.push(line);
11810
+ }
11811
+ return out.join("\n");
11812
+ }
11813
+ if (first === "\"") return `"${foldScalarLine(rendered.slice(1, -1), indent, lineWidth, indent.length + 1)}"`;
11814
+ return foldScalarLine(rendered, indent, lineWidth, indent.length);
11815
+ }
11715
11816
  /**
11716
11817
  * C0 control characters (except TAB) that must be escaped in double-quoted scalars.
11717
11818
  */
@@ -11862,7 +11963,7 @@ function renderBlockFolded(s, indent) {
11862
11963
  return `>${indentIndicator}${chomp}\n${outputLines.join("\n")}`;
11863
11964
  }
11864
11965
  //#endregion
11865
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/stringifier.js
11966
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/stringifier.js
11866
11967
  /**
11867
11968
  * Thrown by the stringifier on its failure paths (circular references). The
11868
11969
  * facade catches this and materializes the public stringify error.
@@ -12098,7 +12199,7 @@ function detectCircular(value, seen) {
12098
12199
  function createContext(options) {
12099
12200
  return {
12100
12201
  indent: options?.indent ?? 2,
12101
- lineWidth: options?.lineWidth ?? 80,
12202
+ lineWidth: options?.lineWidth ?? 0,
12102
12203
  defaultScalarStyle: options?.defaultScalarStyle ?? "plain",
12103
12204
  defaultCollectionStyle: options?.defaultCollectionStyle ?? "block",
12104
12205
  sortKeys: options?.sortKeys ?? false,
@@ -12114,13 +12215,17 @@ function createContext(options) {
12114
12215
  * responsible for prepending the appropriate indentation prefix to each line.
12115
12216
  * This avoids double-indentation when embedding nested collections.
12116
12217
  */
12117
- function stringifyLines(value, ctx, depth) {
12218
+ function stringifyLines(value, ctx, depth, allowFold = true) {
12118
12219
  if (depth > 256) throw new StringifyDepthExceeded();
12119
12220
  if (value === null || value === void 0) return ["null"];
12120
12221
  if (typeof value === "boolean") return [value ? "true" : "false"];
12121
12222
  if (typeof value === "number") return [renderNumber(value)];
12122
12223
  if (typeof value === "bigint") return [value.toString()];
12123
- if (typeof value === "string") return renderString(value, ctx.defaultScalarStyle, " ".repeat(ctx.indent), false, ctx.forceDefaultStyles).split("\n");
12224
+ if (typeof value === "string") {
12225
+ const indentStr = " ".repeat(ctx.indent);
12226
+ const rendered = renderString(value, ctx.defaultScalarStyle, indentStr, false, ctx.forceDefaultStyles);
12227
+ return (allowFold && ctx.lineWidth > 0 ? foldRenderedScalar(rendered, indentStr, ctx.lineWidth) : rendered).split("\n");
12228
+ }
12124
12229
  if (Array.isArray(value)) {
12125
12230
  detectCircular(value, ctx.seen);
12126
12231
  ctx.seen.add(value);
@@ -12146,7 +12251,7 @@ function stringifyLines(value, ctx, depth) {
12146
12251
  */
12147
12252
  function stringifyArrayLines(arr, ctx, depth) {
12148
12253
  if (arr.length === 0) return ["[]"];
12149
- if (ctx.defaultCollectionStyle === "flow") return [`[${arr.map((item) => stringifyLines(item, ctx, depth + 1).join(" ")).join(", ")}]`];
12254
+ if (ctx.defaultCollectionStyle === "flow") return [`[${arr.map((item) => stringifyLines(item, ctx, depth + 1, false).join(" ")).join(", ")}]`];
12150
12255
  const pad = " ".repeat(ctx.indent);
12151
12256
  const lines = [];
12152
12257
  for (const item of arr) {
@@ -12154,7 +12259,7 @@ function stringifyArrayLines(arr, ctx, depth) {
12154
12259
  if (itemLines.length === 1) lines.push(`- ${itemLines[0]}`);
12155
12260
  else {
12156
12261
  const first = itemLines[0];
12157
- if (first.startsWith("|") || first.startsWith(">")) {
12262
+ if (first.startsWith("|") || first.startsWith(">") || typeof item === "string") {
12158
12263
  lines.push(`- ${first}`);
12159
12264
  for (let i = 1; i < itemLines.length; i++) lines.push(itemLines[i]);
12160
12265
  } else {
@@ -12184,7 +12289,7 @@ function stringifyObjectLines(obj, ctx, depth) {
12184
12289
  if (keys.length === 0) return ["{}"];
12185
12290
  if (ctx.sortKeys) keys.sort();
12186
12291
  if (ctx.defaultCollectionStyle === "flow") return [`{${keys.map((k) => {
12187
- return `${renderString(k, "plain", "")}: ${stringifyLines(obj[k], ctx, depth + 1).join(" ")}`;
12292
+ return `${renderString(k, "plain", "")}: ${stringifyLines(obj[k], ctx, depth + 1, false).join(" ")}`;
12188
12293
  }).join(", ")}}`];
12189
12294
  const renderKey = (k) => k.includes("\n") ? renderDoubleQuoted(k, ctx.forceDefaultStyles) : renderString(k, "plain", "");
12190
12295
  const pad = " ".repeat(ctx.indent);
@@ -12196,7 +12301,7 @@ function stringifyObjectLines(obj, ctx, depth) {
12196
12301
  if (valLines.length === 1 && !isBlockCollection(val, ctx)) lines.push(`${keyStr}: ${valLines[0]}`);
12197
12302
  else {
12198
12303
  const first = valLines[0];
12199
- if (first.startsWith("|") || first.startsWith(">")) {
12304
+ if (first.startsWith("|") || first.startsWith(">") || typeof val === "string") {
12200
12305
  lines.push(`${keyStr}: ${first}`);
12201
12306
  for (let i = 1; i < valLines.length; i++) lines.push(valLines[i]);
12202
12307
  } else if (Array.isArray(val) && val.length > 0) {
@@ -12228,6 +12333,11 @@ effect.Schema.Class("YamlParseOptions")({
12228
12333
  });
12229
12334
  effect.Schema.Class("YamlStringifyOptions")({
12230
12335
  indent: effect.Schema.optionalKey(effect.Schema.Number),
12336
+ /**
12337
+ * Column at which to fold long scalars. Default `0` (and any value `<= 0`)
12338
+ * never wraps; a positive value folds plain, double-quoted and block-folded
12339
+ * (`>`) scalars at approximately that column, never block-literal (`|`).
12340
+ */
12231
12341
  lineWidth: effect.Schema.optionalKey(effect.Schema.Number),
12232
12342
  defaultScalarStyle: effect.Schema.optionalKey(ScalarStyle),
12233
12343
  defaultCollectionStyle: effect.Schema.optionalKey(CollectionStyle),
@@ -12287,6 +12397,89 @@ const toStringifyInput = (options) => options === void 0 ? {} : {
12287
12397
  };
12288
12398
  const toDiagnostics = (text, records) => records.map((r) => YamlDiagnostic.fromRaw(r, text));
12289
12399
  /**
12400
+ * Build the fatal {@link YamlParseError} for an alias-expansion "billion
12401
+ * laughs" blow-up. The offending expansion has no source span, so the
12402
+ * diagnostic carries zero offsets.
12403
+ */
12404
+ const aliasCountExceededError = (message, text) => new YamlParseError({
12405
+ diagnostics: [YamlDiagnostic.make({
12406
+ code: "AliasCountExceeded",
12407
+ message,
12408
+ offset: 0,
12409
+ length: 0,
12410
+ line: 0,
12411
+ character: 0
12412
+ })],
12413
+ input: text
12414
+ });
12415
+ /**
12416
+ * Map an internal stringifier throw to its typed {@link YamlStringifyError},
12417
+ * or return `undefined` for any other defect (which the caller re-throws).
12418
+ * Shared by the Effect and synchronous stringify paths so both surface the
12419
+ * hardening guards (circular reference, nesting-depth cap) identically.
12420
+ */
12421
+ const stringifyDefectToError = (defect, value) => {
12422
+ if (defect instanceof StringifyFailure) return new YamlStringifyError({
12423
+ diagnostics: [YamlDiagnostic.make({
12424
+ code: "CircularReference",
12425
+ message: defect.reason,
12426
+ offset: 0,
12427
+ length: 0,
12428
+ line: 0,
12429
+ character: 0
12430
+ })],
12431
+ value
12432
+ });
12433
+ if (defect instanceof StringifyDepthExceeded) return new YamlStringifyError({
12434
+ diagnostics: [YamlDiagnostic.make({
12435
+ code: "NestingDepthExceeded",
12436
+ message: defect.message,
12437
+ offset: 0,
12438
+ length: 0,
12439
+ line: 0,
12440
+ character: 0
12441
+ })],
12442
+ value
12443
+ });
12444
+ };
12445
+ /**
12446
+ * Synchronous single-document parse returning a {@link Result}. The pure
12447
+ * engine bypasses the Effect runtime entirely: the composer, the failure
12448
+ * collection and the alias-expansion budget all run inline, and every failure
12449
+ * mode (fatal diagnostics, duplicate keys, a "billion laughs" blow-up) yields
12450
+ * a `Failure` carrying a typed {@link YamlParseError} — never a throw.
12451
+ */
12452
+ const parseSyncImpl = (text, options) => {
12453
+ const doc = composeFirstDocument(text, toParseInput(options));
12454
+ const failures = failureRecords(doc, options?.uniqueKeys ?? true);
12455
+ if (failures.length > 0) return effect.Result.fail(new YamlParseError({
12456
+ diagnostics: toDiagnostics(text, failures),
12457
+ input: text
12458
+ }));
12459
+ const anchors = /* @__PURE__ */ new Map();
12460
+ try {
12461
+ return effect.Result.succeed(nodeToJsValue(doc.contents, anchors, options?.maxAliasCount ?? 100));
12462
+ } catch (defect) {
12463
+ if (defect instanceof AliasExpansionBudgetExceeded) return effect.Result.fail(aliasCountExceededError(defect.message, text));
12464
+ throw defect;
12465
+ }
12466
+ };
12467
+ /**
12468
+ * Synchronous stringify returning a {@link Result}. Mirrors {@link Yaml.stringify}
12469
+ * without the Effect wrapper: a circular reference or a value nested past the
12470
+ * recursion budget yields a `Failure` carrying a typed {@link YamlStringifyError},
12471
+ * never a thrown defect.
12472
+ */
12473
+ const stringifySyncImpl = (value, options) => {
12474
+ try {
12475
+ return effect.Result.succeed(stringifyValue(value, toStringifyInput(options)));
12476
+ } catch (defect) {
12477
+ const error = stringifyDefectToError(defect, value);
12478
+ if (error !== void 0) return effect.Result.fail(error);
12479
+ throw defect;
12480
+ }
12481
+ };
12482
+ /**
12290
12483
  * Collect the raw diagnostics that make a composed document a parse failure:
12291
12484
  * every fatal-code error, plus DuplicateKey warnings promoted to errors when
12292
12485
  * `uniqueKeys` is in force (the v3 `parse` contract). Order preserved:
@@ -12306,45 +12499,15 @@ const failureRecords = (doc, uniqueKeys) => {
12306
12499
  const extractDocumentValue = (contents, anchors, maxAliasCount, text) => effect.Effect.try({
12307
12500
  try: () => nodeToJsValue(contents, anchors, maxAliasCount),
12308
12501
  catch: (defect) => {
12309
- if (defect instanceof AliasExpansionBudgetExceeded) return new YamlParseError({
12310
- diagnostics: [YamlDiagnostic.make({
12311
- code: "AliasCountExceeded",
12312
- message: defect.message,
12313
- offset: 0,
12314
- length: 0,
12315
- line: 0,
12316
- character: 0
12317
- })],
12318
- input: text
12319
- });
12502
+ if (defect instanceof AliasExpansionBudgetExceeded) return aliasCountExceededError(defect.message, text);
12320
12503
  throw defect;
12321
12504
  }
12322
12505
  });
12323
12506
  const stringifyOrFail = (value, options) => effect.Effect.try({
12324
12507
  try: () => stringifyValue(value, toStringifyInput(options)),
12325
12508
  catch: (defect) => {
12326
- if (defect instanceof StringifyFailure) return new YamlStringifyError({
12327
- diagnostics: [YamlDiagnostic.make({
12328
- code: "CircularReference",
12329
- message: defect.reason,
12330
- offset: 0,
12331
- length: 0,
12332
- line: 0,
12333
- character: 0
12334
- })],
12335
- value
12336
- });
12337
- if (defect instanceof StringifyDepthExceeded) return new YamlStringifyError({
12338
- diagnostics: [YamlDiagnostic.make({
12339
- code: "NestingDepthExceeded",
12340
- message: defect.message,
12341
- offset: 0,
12342
- length: 0,
12343
- line: 0,
12344
- character: 0
12345
- })],
12346
- value
12347
- });
12509
+ const error = stringifyDefectToError(defect, value);
12510
+ if (error !== void 0) return error;
12348
12511
  throw defect;
12349
12512
  }
12350
12513
  });
@@ -12432,6 +12595,63 @@ var Yaml = class Yaml {
12432
12595
  return yield* stringifyOrFail(value, options);
12433
12596
  });
12434
12597
  /**
12598
+ * Synchronous single-document parse, returning a {@link Result} instead of
12599
+ * an `Effect`. A pure escape hatch for config-time callers that cannot
12600
+ * `await` an Effect (a `vitest.config.ts` is the motivating case): it runs
12601
+ * the same engine as {@link Yaml.parse} inline.
12602
+ *
12603
+ * Preserves the package contract — malformed and adversarial input fails
12604
+ * typed, never as a defect. Fatal diagnostics, duplicate keys and a
12605
+ * "billion laughs" alias-expansion blow-up all yield a `Failure` carrying a
12606
+ * {@link YamlParseError}; the method never throws.
12607
+ *
12608
+ * @example
12609
+ * ```ts
12610
+ * import { Yaml } from "@effected/yaml";
12611
+ * import { Result } from "effect";
12612
+ *
12613
+ * const result = Yaml.parseSync("name: Alice\nage: 30");
12614
+ * if (Result.isSuccess(result)) {
12615
+ * result.success; // { name: "Alice", age: 30 }
12616
+ * } else {
12617
+ * result.failure; // YamlParseError
12618
+ * }
12619
+ * ```
12620
+ *
12621
+ * @public
12622
+ */
12623
+ static parseSync(text, options) {
12624
+ return parseSyncImpl(text, options);
12625
+ }
12626
+ /**
12627
+ * Synchronous stringify, returning a {@link Result} instead of an `Effect`.
12628
+ * The pure counterpart to {@link Yaml.stringify} for config-time callers
12629
+ * that cannot `await`.
12630
+ *
12631
+ * Preserves the package contract — a circular reference (`CircularReference`)
12632
+ * or a value nested past the recursion budget (`NestingDepthExceeded`)
12633
+ * yields a `Failure` carrying a {@link YamlStringifyError} rather than a
12634
+ * thrown stack-overflow defect; the method never throws.
12635
+ *
12636
+ * @example
12637
+ * ```ts
12638
+ * import { Yaml } from "@effected/yaml";
12639
+ * import { Result } from "effect";
12640
+ *
12641
+ * const result = Yaml.stringifySync({ name: "Alice" });
12642
+ * if (Result.isFailure(result)) {
12643
+ * result.failure; // YamlStringifyError
12644
+ * } else {
12645
+ * result.success; // "name: Alice\n"
12646
+ * }
12647
+ * ```
12648
+ *
12649
+ * @public
12650
+ */
12651
+ static stringifySync(value, options) {
12652
+ return stringifySyncImpl(value, options);
12653
+ }
12654
+ /**
12435
12655
  * Strip comments from YAML text. Without `replaceCh`, comment characters
12436
12656
  * are removed (line breaks are kept, so line numbers stay stable); with a
12437
12657
  * `replaceCh` (e.g. `" "`), each comment character is replaced instead,
@@ -12610,7 +12830,7 @@ function deepEqualValues(a, b) {
12610
12830
  return false;
12611
12831
  }
12612
12832
  //#endregion
12613
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/internal/documents.js
12833
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/internal/documents.js
12614
12834
  /**
12615
12835
  * An empty YAML document composes to `null` (`Yaml.parseAll("")` is `[null]`,
12616
12836
  * and the trailing document of an env-only `pnpm-lock.yaml` is `null` too).
@@ -12680,7 +12900,7 @@ const selectSoleDocument = (content) => effect.Effect.gen(function* () {
12680
12900
  };
12681
12901
  });
12682
12902
  //#endregion
12683
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/internal/pnpm.js
12903
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/internal/pnpm.js
12684
12904
  const PnpmImporterDeps = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.Struct({
12685
12905
  specifier: effect.Schema.String,
12686
12906
  version: effect.Schema.String
@@ -12806,7 +13026,7 @@ const toFields$1 = (raw) => effect.Effect.gen(function* () {
12806
13026
  };
12807
13027
  });
12808
13028
  //#endregion
12809
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/internal/yarn.js
13029
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/internal/yarn.js
12810
13030
  const YarnLockfileRaw = effect.Schema.Record(effect.Schema.String, effect.Schema.Unknown);
12811
13031
  const DepRecord = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.String));
12812
13032
  const YarnEntry = effect.Schema.Struct({
@@ -12929,7 +13149,7 @@ const cleanYarnDeps = (deps) => {
12929
13149
  return Object.fromEntries(Object.entries(deps).map(([name, value]) => [name, value.startsWith("npm:") ? value.slice(4) : value]));
12930
13150
  };
12931
13151
  //#endregion
12932
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/Lockfile.js
13152
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/Lockfile.js
12933
13153
  const EMPTY_IMPORTERS = [];
12934
13154
  /**
12935
13155
  * Failure of `Lockfile.parse`: the given content is not a valid lockfile of
@@ -13173,7 +13393,7 @@ var Lockfile = class Lockfile extends effect.Schema.Class("Lockfile")({
13173
13393
  }
13174
13394
  };
13175
13395
  //#endregion
13176
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/LockfileIntegrity.js
13396
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/LockfileIntegrity.js
13177
13397
  /**
13178
13398
  * The minimal manifest shape {@link LockfileIntegrity.compare} checks a
13179
13399
  * lockfile against: a package name plus the four optional dependency maps.
@@ -15129,7 +15349,7 @@ var Package = class Package extends effect.Schema.Class("Package")({
15129
15349
  }
15130
15350
  };
15131
15351
  //#endregion
15132
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/WorkspacePackage.js
15352
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/WorkspacePackage.js
15133
15353
  const EMPTY$1 = Object.freeze(Object.create(null));
15134
15354
  const EMPTY_MANIFEST = Object.freeze(Object.create(null));
15135
15355
  /**
@@ -15391,7 +15611,7 @@ var WorkspacePackage = class WorkspacePackage extends effect.Schema.Class("Works
15391
15611
  }
15392
15612
  };
15393
15613
  //#endregion
15394
- //#region ../../node_modules/.pnpm/@effected+walker@0.2.0_@effected+glob@0.1.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/walker/Descend.js
15614
+ //#region ../../node_modules/.pnpm/@effected+walker@0.2.1_@effected+glob@0.1.1_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/walker/Descend.js
15395
15615
  /**
15396
15616
  * Typed failure raised by {@link descend}: a directory mid-walk was unreadable
15397
15617
  * (under `onUnreadable: "fail"`), or the walk descended past `maxDepth`. Depth
@@ -15526,7 +15746,7 @@ const descend = effect.Effect.fn("Walker.descend")(function* (pattern, options)
15526
15746
  return results;
15527
15747
  });
15528
15748
  //#endregion
15529
- //#region ../../node_modules/.pnpm/@effected+walker@0.2.0_@effected+glob@0.1.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/walker/Walker.js
15749
+ //#region ../../node_modules/.pnpm/@effected+walker@0.2.1_@effected+glob@0.1.1_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/walker/Walker.js
15530
15750
  /**
15531
15751
  * Ascend from `start` toward the filesystem root, yielding each directory,
15532
15752
  * nearest first.
@@ -15616,7 +15836,7 @@ const Walker$1 = {
15616
15836
  findRoot: findRoot$1
15617
15837
  };
15618
15838
  //#endregion
15619
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/WorkspaceRoot.js
15839
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/WorkspaceRoot.js
15620
15840
  /**
15621
15841
  * The marker filenames {@link WorkspaceRoot} probes for, in priority order.
15622
15842
  *
@@ -15701,7 +15921,7 @@ var WorkspaceRoot = class WorkspaceRoot extends effect.Context.Service()("@effec
15701
15921
  static layer = effect.Layer.effect(WorkspaceRoot, WorkspaceRoot.make);
15702
15922
  };
15703
15923
  //#endregion
15704
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/internal/limits.js
15924
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/internal/limits.js
15705
15925
  /**
15706
15926
  * Hard ceiling on directories the enumerator will visit for one pattern set.
15707
15927
  * Guards the pathological case a depth cap alone does not: a wide, shallow
@@ -15719,7 +15939,7 @@ const MAX_ENUMERATION_ENTRIES = 1e5;
15719
15939
  */
15720
15940
  const PRUNED_DIRECTORIES = /* @__PURE__ */ new Set([".git", "node_modules"]);
15721
15941
  //#endregion
15722
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/internal/traverse.js
15942
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/internal/traverse.js
15723
15943
  /** Directory names never descended into. */
15724
15944
  const isPruned = (entry) => PRUNED_DIRECTORIES.has(entry);
15725
15945
  /** Join root-relative POSIX segments; `""` is the root itself. */
@@ -15809,7 +16029,7 @@ var Traversal = class {
15809
16029
  }
15810
16030
  };
15811
16031
  //#endregion
15812
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/internal/enumerate.js
16032
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/internal/enumerate.js
15813
16033
  /** Strip a trailing slash from `GlobPattern.enumerationPrefix` to get a relative directory. */
15814
16034
  const baseOf = (pattern) => pattern.enumerationPrefix.replace(/\/$/, "");
15815
16035
  /**
@@ -15879,7 +16099,7 @@ const enumerate = (root, globs, options) => effect.Effect.gen(function* () {
15879
16099
  return results;
15880
16100
  });
15881
16101
  //#endregion
15882
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/internal/patterns.js
16102
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/internal/patterns.js
15883
16103
  const stringsOf = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : void 0;
15884
16104
  /** The `packages:` list of a `pnpm-workspace.yaml` document. Total on a parsed document. */
15885
16105
  const pnpmPatternsOf = (document) => {
@@ -15936,7 +16156,7 @@ const readPatterns = (root) => effect.Effect.gen(function* () {
15936
16156
  return manifestPatternsOf(manifest);
15937
16157
  });
15938
16158
  //#endregion
15939
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/WorkspaceDiscovery.js
16159
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/WorkspaceDiscovery.js
15940
16160
  /**
15941
16161
  * Raised when a workspace member's `package.json` cannot be read, parsed, or
15942
16162
  * used — it is missing, malformed, or lacks a `name` or `version`.
@@ -16265,7 +16485,7 @@ var WorkspaceDiscovery = class WorkspaceDiscovery extends effect.Context.Service
16265
16485
  };
16266
16486
  const isStringRecord$2 = (value) => value !== null && typeof value === "object" && !Array.isArray(value) && Object.values(value).every((entry) => typeof entry === "string");
16267
16487
  //#endregion
16268
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/DependencyGraph.js
16488
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/DependencyGraph.js
16269
16489
  /**
16270
16490
  * Raised when the workspace dependency graph cannot be topologically ordered
16271
16491
  * because it contains a cycle.
@@ -16500,7 +16720,7 @@ const kahn = (edges) => {
16500
16720
  };
16501
16721
  };
16502
16722
  //#endregion
16503
- //#region ../../node_modules/.pnpm/@effected+git@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/git/GitCommand.js
16723
+ //#region ../../node_modules/.pnpm/@effected+git@0.4.0_effect@4.0.0-beta.98/node_modules/@effected/git/GitCommand.js
16504
16724
  /**
16505
16725
  * Builds a `git` `ChildProcess.StandardCommand` with the argv this package
16506
16726
  * classifies against.
@@ -16919,7 +17139,7 @@ const GitCommand = {
16919
17139
  status
16920
17140
  };
16921
17141
  //#endregion
16922
- //#region ../../node_modules/.pnpm/@effected+git@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/git/internal/run.js
17142
+ //#region ../../node_modules/.pnpm/@effected+git@0.4.0_effect@4.0.0-beta.98/node_modules/@effected/git/internal/run.js
16923
17143
  /**
16924
17144
  * Spawns `command` and collects its stdout, stderr, and exit code as a single
16925
17145
  * triple.
@@ -16946,7 +17166,7 @@ const runCollected = (command) => effect.Effect.scoped(effect.Effect.gen(functio
16946
17166
  };
16947
17167
  }));
16948
17168
  //#endregion
16949
- //#region ../../node_modules/.pnpm/@effected+git@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/git/Git.js
17169
+ //#region ../../node_modules/.pnpm/@effected+git@0.4.0_effect@4.0.0-beta.98/node_modules/@effected/git/Git.js
16950
17170
  /** git's own ceiling: a run that has not answered in 30s is not going to. */
16951
17171
  const GIT_TIMEOUT = effect.Duration.seconds(30);
16952
17172
  /**
@@ -16958,11 +17178,22 @@ const GIT_TIMEOUT = effect.Duration.seconds(30);
16958
17178
  * `exitCode` and `stderr` are populated when git actually ran. `detail`
16959
17179
  * carries a human-readable explanation of an absorbed spawn-level
16960
17180
  * `PlatformError` or a per-run timeout — the two cases where git never
16961
- * produced an exit code at all.
17181
+ * produced an exit code at all. {@link GitCommandError.kind | `kind`}
17182
+ * discriminates a pre-spawn guard rejection (`"refused"`) from a genuine git
17183
+ * failure (`"failed"`) structurally, so composed retry/fallback logic never has
17184
+ * to parse the prose in `message` or `detail`.
16962
17185
  *
16963
17186
  * @public
16964
17187
  */
16965
17188
  var GitCommandError = class extends effect.Schema.TaggedErrorClass()("GitCommandError", {
17189
+ /**
17190
+ * Discriminates a pre-spawn guard rejection from a genuine git failure.
17191
+ * `"refused"` — a pre-spawn guard (an option-like ref) rejected the
17192
+ * invocation and no process was ever spawned. `"failed"` — git actually ran
17193
+ * and exited non-zero, or the spawn/IO itself failed. Composed retry/fallback
17194
+ * logic routes on this instead of matching `detail` prose.
17195
+ */
17196
+ kind: effect.Schema.Literals(["refused", "failed"]),
16966
17197
  /** The argument vector, without the leading `git`. */
16967
17198
  args: effect.Schema.Array(effect.Schema.String),
16968
17199
  /** The working directory the command ran in. */
@@ -17081,6 +17312,7 @@ const classify = (cwd, args, outcome, kind) => {
17081
17312
  return {
17082
17313
  _tag: "failure",
17083
17314
  error: GitCommandError.make({
17315
+ kind: "failed",
17084
17316
  args,
17085
17317
  cwd,
17086
17318
  stderr: "",
@@ -17102,6 +17334,7 @@ const classify = (cwd, args, outcome, kind) => {
17102
17334
  return {
17103
17335
  _tag: "failure",
17104
17336
  error: GitCommandError.make({
17337
+ kind: "failed",
17105
17338
  args,
17106
17339
  cwd,
17107
17340
  exitCode,
@@ -17122,6 +17355,7 @@ const runClassified = (command, cwd, kind) => {
17122
17355
  orElse: () => effect.Effect.succeed({
17123
17356
  _tag: "failure",
17124
17357
  error: GitCommandError.make({
17358
+ kind: "failed",
17125
17359
  args,
17126
17360
  cwd,
17127
17361
  stderr: "",
@@ -17312,6 +17546,7 @@ const parseStatus = (output) => {
17312
17546
  const rejectOptionLikeRefs = (cwd, refs) => {
17313
17547
  const offending = refs.find((ref) => ref.startsWith("-"));
17314
17548
  return offending === void 0 ? effect.Effect.void : effect.Effect.fail(new GitCommandError({
17549
+ kind: "refused",
17315
17550
  args: [offending],
17316
17551
  cwd,
17317
17552
  stderr: "",
@@ -17573,11 +17808,10 @@ const make = (spawner) => {
17573
17808
  remote,
17574
17809
  ref: options.ref
17575
17810
  });
17576
- yield* rejectOptionLikeRefs(cwd, [remote, options.ref]);
17577
17811
  return yield* fetch(cwd, {
17578
17812
  ...options,
17579
17813
  tag: true
17580
- }).pipe(effect.Effect.catchTag(["UnknownRefError", "GitCommandError"], () => fetch(cwd, options)));
17814
+ }).pipe(effect.Effect.catchTag(["UnknownRefError", "GitCommandError"], (error) => error._tag === "GitCommandError" && error.kind === "refused" ? effect.Effect.fail(error) : fetch(cwd, options)));
17581
17815
  }),
17582
17816
  submoduleUpdate: effect.Effect.fn("Git.submoduleUpdate")(function* (cwd, options) {
17583
17817
  const init = options?.init ?? false;
@@ -17849,7 +18083,7 @@ var Git = class extends effect.Context.Service()("@effected/git/Git") {
17849
18083
  }));
17850
18084
  };
17851
18085
  //#endregion
17852
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/ChangeDetector.js
18086
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/ChangeDetector.js
17853
18087
  /**
17854
18088
  * Which git refs to compare, and whether to fold in the working tree.
17855
18089
  *
@@ -18101,7 +18335,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
18101
18335
  };
18102
18336
  }
18103
18337
  //#endregion
18104
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/internal/catalogs.js
18338
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/internal/catalogs.js
18105
18339
  /** Project a pnpm-workspace manifest's `catalog` / `catalogs` fields into a `Catalogs` map. */
18106
18340
  const inlineCatalogs = (manifest) => {
18107
18341
  if (manifest.catalog === void 0 && manifest.catalogs === void 0) return {};
@@ -18165,7 +18399,7 @@ const rangeOf = (catalogs, dependency, specifier) => {
18165
18399
  });
18166
18400
  };
18167
18401
  //#endregion
18168
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/ConfigDependencyHooks.js
18402
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/ConfigDependencyHooks.js
18169
18403
  /** Whether `value` is a non-null, non-array object. */
18170
18404
  const isObject$2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
18171
18405
  /**
@@ -18310,7 +18544,7 @@ var ConfigDependencyHooks = class ConfigDependencyHooks extends effect.Context.S
18310
18544
  }) });
18311
18545
  };
18312
18546
  //#endregion
18313
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/PackageManagerName.js
18547
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/PackageManagerName.js
18314
18548
  /**
18315
18549
  * The four package managers this package understands.
18316
18550
  *
@@ -18552,7 +18786,7 @@ var PackageManagerDetector = class PackageManagerDetector extends effect.Context
18552
18786
  static layer = effect.Layer.effect(PackageManagerDetector, PackageManagerDetector.make);
18553
18787
  };
18554
18788
  //#endregion
18555
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/LockfileReader.js
18789
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/LockfileReader.js
18556
18790
  /**
18557
18791
  * Raised when the workspace's lockfile cannot be read off disk.
18558
18792
  *
@@ -18662,7 +18896,7 @@ var LockfileReader = class LockfileReader extends effect.Context.Service()("@eff
18662
18896
  static layer = (options) => effect.Layer.effect(LockfileReader, LockfileReader.make(options));
18663
18897
  };
18664
18898
  //#endregion
18665
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/Publishability.js
18899
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/Publishability.js
18666
18900
  /** The public npm registry, used when `publishConfig.registry` says nothing. */
18667
18901
  const DEFAULT_REGISTRY = "https://registry.npmjs.org/";
18668
18902
  /**
@@ -18762,7 +18996,7 @@ var PublishabilityDetector = class PublishabilityDetector extends effect.Context
18762
18996
  }) });
18763
18997
  };
18764
18998
  //#endregion
18765
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/WorkspaceCatalogs.js
18999
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/WorkspaceCatalogs.js
18766
19000
  /**
18767
19001
  * An immutable, fully-normalized catalog collection — the one catalog
18768
19002
  * resolution semantic in the package.
@@ -19146,7 +19380,7 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends effect.Context.Service()
19146
19380
  }));
19147
19381
  };
19148
19382
  //#endregion
19149
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/WorkspaceStateSnapshot.js
19383
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/WorkspaceStateSnapshot.js
19150
19384
  const EMPTY = Object.freeze(Object.create(null));
19151
19385
  const DependencyMap = effect.Schema.Record(effect.Schema.String, effect.Schema.String).pipe(effect.Schema.withDecodingDefaultKey(effect.Effect.succeed(EMPTY)), effect.Schema.withConstructorDefault(effect.Effect.succeed(EMPTY)));
19152
19386
  /**
@@ -19311,7 +19545,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
19311
19545
  }
19312
19546
  };
19313
19547
  //#endregion
19314
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/WorkspaceSnapshots.js
19548
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/WorkspaceSnapshots.js
19315
19549
  /** Whether `value` is a non-null, non-array object. */
19316
19550
  const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
19317
19551
  /** Whether every value in a record is a string — a usable dependency map. */
@@ -19503,7 +19737,7 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends effect.Context.Service
19503
19737
  static layer = (options) => effect.Layer.effect(WorkspaceSnapshots, WorkspaceSnapshots.make(options));
19504
19738
  };
19505
19739
  //#endregion
19506
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/Workspaces.js
19740
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/Workspaces.js
19507
19741
  /**
19508
19742
  * Every service that needs only a filesystem: root, package-manager detection,
19509
19743
  * discovery, lockfile reading, catalogs and publishability.