@savvy-web/silk 3.0.0 → 3.0.1

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.
@@ -424,7 +424,7 @@ const trimTrailingSlashes = (s) => {
424
424
  return s.slice(0, end);
425
425
  };
426
426
  //#endregion
427
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/limits.js
427
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/limits.js
428
428
  /** Hard cap on pattern length. Upstream minimatch's MAX_PATTERN_LENGTH (64KB). */
429
429
  const MAX_PATTERN_LENGTH = 1024 * 64;
430
430
  /** Default brace-expansion output budget. Upstream brace-expansion's EXPANSION_MAX. */
@@ -458,7 +458,7 @@ const assertCap = (name, value) => {
458
458
  return value;
459
459
  };
460
460
  //#endregion
461
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/unescape.js
461
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/unescape.js
462
462
  /**
463
463
  * Un-escape a string that has been escaped with `escape`.
464
464
  *
@@ -481,11 +481,11 @@ const unescapePattern = (s, { windowsPathsNoEscape = false, magicalBraces = true
481
481
  return windowsPathsNoEscape ? s.replace(/\[([^/\\{}])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^/\\{}])\]/g, "$1$2").replace(/\\([^/{}])/g, "$1");
482
482
  };
483
483
  //#endregion
484
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/types.js
484
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/types.js
485
485
  /** The globstar marker in a compiled pattern set. */
486
486
  const GLOBSTAR = Symbol("globstar **");
487
487
  //#endregion
488
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/escape.js
488
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/escape.js
489
489
  /**
490
490
  * Escape all magic characters in a glob pattern.
491
491
  *
@@ -503,13 +503,13 @@ const escapePattern = (s, { windowsPathsNoEscape = false, magicalBraces = false
503
503
  return windowsPathsNoEscape ? s.replace(/[?*()[\]]/g, "[$&]") : s.replace(/[?*()[\]\\]/g, "\\$&");
504
504
  };
505
505
  //#endregion
506
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/assertValidPattern.js
506
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/assertValidPattern.js
507
507
  const assertValidPattern = (pattern) => {
508
508
  if (typeof pattern !== "string") throw new TypeError("invalid pattern");
509
509
  if (pattern.length > 65536) throw new GuardExceeded("PatternTooLong", MAX_PATTERN_LENGTH, pattern.length);
510
510
  };
511
511
  //#endregion
512
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/braceExpressions.js
512
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/braceExpressions.js
513
513
  const posixClasses = {
514
514
  "[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
515
515
  "[:alpha:]": ["\\p{L}\\p{Nl}", true],
@@ -632,7 +632,7 @@ const parseClass = (glob, position) => {
632
632
  ];
633
633
  };
634
634
  //#endregion
635
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/ast.js
635
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/ast.js
636
636
  const types = /* @__PURE__ */ new Set([
637
637
  "!",
638
638
  "?",
@@ -1149,7 +1149,7 @@ var AST = class AST {
1149
1149
  }
1150
1150
  };
1151
1151
  //#endregion
1152
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/balancedMatch.js
1152
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/balancedMatch.js
1153
1153
  const maybeMatch = (reg, str) => {
1154
1154
  const m = str.match(reg);
1155
1155
  return m ? m[0] : null;
@@ -1207,7 +1207,7 @@ const range = (a, b, str) => {
1207
1207
  return result;
1208
1208
  };
1209
1209
  //#endregion
1210
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/braceExpansion.js
1210
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/braceExpansion.js
1211
1211
  const escSlash = `\0SLASH${Math.random()}\0`;
1212
1212
  const escOpen = `\0OPEN${Math.random()}\0`;
1213
1213
  const escClose = `\0CLOSE${Math.random()}\0`;
@@ -1354,7 +1354,7 @@ function expand_(str, max, isTopInput, depth) {
1354
1354
  }
1355
1355
  }
1356
1356
  //#endregion
1357
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/minimatch.js
1357
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/internal/minimatch.js
1358
1358
  const starDotExtRE = /^\*+([^+@!?*[(]*)$/;
1359
1359
  const starDotExtTest = (ext) => (f) => !f.startsWith(".") && f.endsWith(ext);
1360
1360
  const starDotExtTestDot = (ext) => (f) => f.endsWith(ext);
@@ -1925,7 +1925,7 @@ var Minimatch = class {
1925
1925
  }
1926
1926
  };
1927
1927
  //#endregion
1928
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/GlobPattern.js
1928
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/GlobPattern.js
1929
1929
  /**
1930
1930
  * Typed failure raised when a glob pattern trips a compile-time guard:
1931
1931
  * over-length, brace-expansion budget exhaustion, or nesting past the depth
@@ -2105,6 +2105,17 @@ var GlobPattern = class GlobPattern extends effect.Schema.Class("GlobPattern")(e
2105
2105
  * `""` when the first segment carries magic. New API with no upstream
2106
2106
  * analogue, designed for the workspaces enumerator; well-defined for
2107
2107
  * default-options patterns.
2108
+ *
2109
+ * @remarks
2110
+ * Meaningful for **non-negated** patterns only. For a negated pattern
2111
+ * ({@link GlobPattern.negated}), the prefix is still computed from the inner
2112
+ * pattern, but {@link GlobPattern.matches} inverts the result — so the
2113
+ * pattern can match paths *outside* this prefix. A consumer that bounds
2114
+ * traversal to `enumerationPrefix` (e.g. a walker's descent) will
2115
+ * under-enumerate against a negated pattern; guard on `negated` and do not
2116
+ * use `enumerationPrefix` as the traversal root there — enumerate from `cwd`
2117
+ * or another encompassing root instead. The inversion is not the getter's
2118
+ * semantics to express — check `negated` at the call site.
2108
2119
  */
2109
2120
  get enumerationPrefix() {
2110
2121
  const set = this.#engineOf().set;
@@ -2132,6 +2143,11 @@ var GlobPattern = class GlobPattern extends effect.Schema.Class("GlobPattern")(e
2132
2143
  * a globstar, or a magic segment followed by more segments. The enumerator
2133
2144
  * uses this to decide between a single-level read and a bounded recursive
2134
2145
  * descent (the issue-#62 fix, end to end).
2146
+ *
2147
+ * @remarks
2148
+ * Like {@link GlobPattern.enumerationPrefix}, this reads the inner pattern
2149
+ * and does not account for whole-pattern negation; guard on
2150
+ * {@link GlobPattern.negated} at the call site.
2135
2151
  */
2136
2152
  get crossesSegments() {
2137
2153
  return this.#engineOf().set.some((row) => {
@@ -2161,7 +2177,7 @@ var GlobPattern = class GlobPattern extends effect.Schema.Class("GlobPattern")(e
2161
2177
  })));
2162
2178
  };
2163
2179
  //#endregion
2164
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/GlobSet.js
2180
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/GlobSet.js
2165
2181
  const exclusionTarget = (pattern) => pattern.startsWith("!") ? pattern.slice(1) : void 0;
2166
2182
  const allCompileUnderDefaults = (patterns) => {
2167
2183
  for (const pattern of patterns) {
@@ -2289,7 +2305,7 @@ var GlobSet = class GlobSet extends effect.Schema.Class("GlobSet")(effect.Schema
2289
2305
  }
2290
2306
  };
2291
2307
  //#endregion
2292
- //#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
2308
+ //#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
2293
2309
  /**
2294
2310
  * Extension data specific to bun lockfiles, attached to `Lockfile.extension`
2295
2311
  * when the format is `"bun"`.
@@ -4091,7 +4107,7 @@ const IntegrityHash = Object.assign(brandedIntegrity, {
4091
4107
  decode: decode$2
4092
4108
  });
4093
4109
  //#endregion
4094
- //#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
4110
+ //#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
4095
4111
  /**
4096
4112
  * One declared dependency of one workspace importer, as the lockfile records it.
4097
4113
  *
@@ -4119,7 +4135,7 @@ var ImporterDependency = class extends effect.Schema.Class("ImporterDependency")
4119
4135
  depType: DependencyField
4120
4136
  }) {};
4121
4137
  //#endregion
4122
- //#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
4138
+ //#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
4123
4139
  /**
4124
4140
  * One workspace importer's declared dependencies, as the lockfile records them.
4125
4141
  *
@@ -4143,7 +4159,7 @@ var LockfileImporter = class extends effect.Schema.Class("LockfileImporter")({
4143
4159
  dependencies: effect.Schema.Array(ImporterDependency)
4144
4160
  }) {};
4145
4161
  //#endregion
4146
- //#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
4162
+ //#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
4147
4163
  const EMPTY_DEPENDENCIES = {};
4148
4164
  /**
4149
4165
  * A package resolved from a lockfile.
@@ -4178,7 +4194,7 @@ var ResolvedPackage = class extends effect.Schema.Class("ResolvedPackage")({
4178
4194
  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)))
4179
4195
  }) {};
4180
4196
  //#endregion
4181
- //#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
4197
+ //#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
4182
4198
  /**
4183
4199
  * A directed dependency edge between two workspace packages as recorded in
4184
4200
  * the lockfile.
@@ -4200,7 +4216,7 @@ var WorkspaceDependency = class extends effect.Schema.Class("WorkspaceDependency
4200
4216
  constraint: effect.Schema.String
4201
4217
  }) {};
4202
4218
  //#endregion
4203
- //#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
4219
+ //#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
4204
4220
  /**
4205
4221
  * Extension data specific to pnpm lockfiles, attached to `Lockfile.extension`
4206
4222
  * when the format is `"pnpm"`.
@@ -4225,7 +4241,7 @@ var PnpmExtension = class extends effect.Schema.Class("PnpmExtension")({
4225
4241
  }))
4226
4242
  }) {};
4227
4243
  //#endregion
4228
- //#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
4244
+ //#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
4229
4245
  /**
4230
4246
  * The lockfile formats this package parses: bun's `bun.lock` (JSONC), npm's
4231
4247
  * `package-lock.json` (v2/v3 JSON), pnpm's `pnpm-lock.yaml` and yarn Berry's
@@ -4259,7 +4275,7 @@ const FILENAMES = {
4259
4275
  */
4260
4276
  const filenameFor = (format) => FILENAMES[format];
4261
4277
  //#endregion
4262
- //#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
4278
+ //#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
4263
4279
  /**
4264
4280
  * The four dependency sections of a manifest, in a stable order — the shared
4265
4281
  * dependency-sections table (v3's `DEP_SECTIONS`). Each entry is both the
@@ -5895,7 +5911,7 @@ var JsoncModifier = class {
5895
5911
  });
5896
5912
  };
5897
5913
  //#endregion
5898
- //#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
5914
+ //#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
5899
5915
  const DepRecord$2 = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.String));
5900
5916
  const BunWorkspaceEntry = effect.Schema.Struct({
5901
5917
  name: effect.Schema.optionalKey(effect.Schema.String),
@@ -5988,7 +6004,7 @@ const toFields$3 = (raw) => effect.Effect.gen(function* () {
5988
6004
  };
5989
6005
  });
5990
6006
  //#endregion
5991
- //#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
6007
+ //#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
5992
6008
  const DepRecord$1 = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.String));
5993
6009
  const NpmPackageEntry = effect.Schema.Struct({
5994
6010
  name: effect.Schema.optionalKey(effect.Schema.String),
@@ -6086,7 +6102,7 @@ const toFields$2 = (raw) => effect.Effect.gen(function* () {
6086
6102
  };
6087
6103
  });
6088
6104
  //#endregion
6089
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/YamlNode.js
6105
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/YamlNode.js
6090
6106
  /**
6091
6107
  * YAML scalar presentation styles.
6092
6108
  *
@@ -6478,7 +6494,7 @@ function nodeToValue(node, anchors, budget, counting = false) {
6478
6494
  return null;
6479
6495
  }
6480
6496
  //#endregion
6481
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/diagnostics.js
6497
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/diagnostics.js
6482
6498
  /** Error codes emitted by the lexer stage. */
6483
6499
  const YAML_LEX_ERROR_CODES = [
6484
6500
  "UnexpectedCharacter",
@@ -6556,7 +6572,7 @@ function isFatalCode(code) {
6556
6572
  return FATAL_CODES.has(code);
6557
6573
  }
6558
6574
  //#endregion
6559
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/YamlDiagnostic.js
6575
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/YamlDiagnostic.js
6560
6576
  /**
6561
6577
  * Error codes emitted by the lexer stage.
6562
6578
  *
@@ -6677,7 +6693,7 @@ function lineChar(text, offset) {
6677
6693
  };
6678
6694
  }
6679
6695
  //#endregion
6680
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/anchors.js
6696
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/anchors.js
6681
6697
  /**
6682
6698
  * Check if a pending anchor is being applied to an alias node (invalid in YAML 1.2 §3.2.2).
6683
6699
  * Aliases represent references to existing anchored nodes and cannot have their own anchors.
@@ -6770,7 +6786,7 @@ function collectAnchors(node, anchors) {
6770
6786
  }
6771
6787
  }
6772
6788
  //#endregion
6773
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/lexer.js
6789
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/lexer.js
6774
6790
  /**
6775
6791
  * Create a new YAML scanner for the given source text.
6776
6792
  *
@@ -7727,7 +7743,7 @@ function lexAll(text) {
7727
7743
  return tokens;
7728
7744
  }
7729
7745
  //#endregion
7730
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/cst-parser.js
7746
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/cst-parser.js
7731
7747
  /**
7732
7748
  * Hardening: cap CST nesting so hostile inputs cannot overflow the stack
7733
7749
  * while the tree is being BUILT. Set slightly above the composer's
@@ -8439,7 +8455,7 @@ function parseCSTAll(text) {
8439
8455
  return parseDocuments(lexAll(text), text);
8440
8456
  }
8441
8457
  //#endregion
8442
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/state.js
8458
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/state.js
8443
8459
  let lineStartsText;
8444
8460
  let lineStartsCache = [];
8445
8461
  function getLineStarts(text) {
@@ -8545,7 +8561,7 @@ function exitNesting(state) {
8545
8561
  state.depth--;
8546
8562
  }
8547
8563
  //#endregion
8548
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/tags.js
8564
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/tags.js
8549
8565
  /**
8550
8566
  * Resolve a tag shorthand using the document's %TAG directives.
8551
8567
  * For example, with `%TAG !! tag:example.com,2000:app/`, the tag `!!int`
@@ -8631,7 +8647,7 @@ function validateTagHandlesInDocument(docCst, state) {
8631
8647
  }
8632
8648
  }
8633
8649
  //#endregion
8634
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/scalars.js
8650
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/scalars.js
8635
8651
  const NULL_RE$1 = /^(?:null|Null|NULL|~)$/;
8636
8652
  const TRUE_RE$1 = /^(?:true|True|TRUE)$/;
8637
8653
  const FALSE_RE$1 = /^(?:false|False|FALSE)$/;
@@ -9509,7 +9525,7 @@ function shouldPreserveRaw(rawValue, value) {
9509
9525
  return false;
9510
9526
  }
9511
9527
  //#endregion
9512
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/block.js
9528
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/block.js
9513
9529
  /**
9514
9530
  * Compose a block map from its CST children, with an optional external first key.
9515
9531
  *
@@ -10657,7 +10673,7 @@ function composeFlatBlockMap(children, startIdx, parentCst, state, externalFirst
10657
10673
  return map;
10658
10674
  }
10659
10675
  //#endregion
10660
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/flow.js
10676
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/flow.js
10661
10677
  /**
10662
10678
  * Validate that flow collection entries are separated by commas.
10663
10679
  *
@@ -11049,7 +11065,7 @@ function composeFlowSeqInner(cst, state, meta, parentBlockColumn) {
11049
11065
  return seq;
11050
11066
  }
11051
11067
  //#endregion
11052
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/document.js
11068
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/composer/document.js
11053
11069
  /** The flow-composer dispatch wired into every state this module creates. */
11054
11070
  const FLOW = {
11055
11071
  composeFlowMap,
@@ -11715,7 +11731,92 @@ function composeAllDocuments(text, options) {
11715
11731
  };
11716
11732
  }
11717
11733
  //#endregion
11718
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/fold.js
11734
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/fold.js
11735
+ /**
11736
+ * Column-based line folding for a single logical scalar line (YAML 1.2 flow
11737
+ * folding, §7.3 / §8.2.1). Breaks the content at "safe" single-space
11738
+ * boundaries — a space whose neighbours are both non-space — so each inserted
11739
+ * line break is a *semantically transparent* fold: on read, a lone break
11740
+ * between non-empty lines at the same indent folds back to a single space, and
11741
+ * the leading indentation of continuation lines is absorbed as separation
11742
+ * whitespace. The original space at the break point is consumed, replaced by
11743
+ * the break, so no content whitespace is added or lost.
11744
+ *
11745
+ * Continuation lines are prefixed with `indent`. `indentAtStart` is the column
11746
+ * the first line begins at (its content is already `indentAtStart` columns in),
11747
+ * used only to budget the first line; it is approximate because the caller's
11748
+ * exact column (after a `key: ` prefix, say) is not known here.
11749
+ *
11750
+ * Only breaks where a break is safe. When no safe break point exists before the
11751
+ * width limit, the line overflows unwrapped rather than corrupting the value —
11752
+ * width folding is a best-effort presentation concern, never a correctness one.
11753
+ * A non-positive `lineWidth` (the default) returns the text unchanged.
11754
+ */
11755
+ function foldScalarLine(text, indent, lineWidth, indentAtStart) {
11756
+ if (lineWidth <= 0) return text;
11757
+ const contentWidth = Math.max(1, lineWidth - indent.length);
11758
+ let end = Math.max(1, lineWidth - indentAtStart);
11759
+ const folds = [];
11760
+ let split;
11761
+ let prev;
11762
+ for (let i = 0; i < text.length; i++) {
11763
+ const ch = text[i];
11764
+ if (ch === " " && prev !== void 0 && prev !== " ") {
11765
+ const next = text[i + 1];
11766
+ if (next !== void 0 && next !== " ") split = i;
11767
+ }
11768
+ if (i >= end && split !== void 0) {
11769
+ folds.push(split);
11770
+ end = split + contentWidth;
11771
+ split = void 0;
11772
+ }
11773
+ prev = ch;
11774
+ }
11775
+ if (folds.length === 0) return text;
11776
+ let result = text.slice(0, folds[0]);
11777
+ for (let f = 0; f < folds.length; f++) {
11778
+ const fold = folds[f];
11779
+ const sliceEnd = folds[f + 1] ?? text.length;
11780
+ result += `\n${indent}${text.slice(fold + 1, sliceEnd)}`;
11781
+ }
11782
+ return result;
11783
+ }
11784
+ /**
11785
+ * Apply {@link foldScalarLine} to an already-rendered scalar according to its
11786
+ * style, inferred from the leading character:
11787
+ *
11788
+ * - `|` block-literal — returned unchanged; literal blocks preserve bytes by
11789
+ * definition and must never be folded.
11790
+ * - `>` block-folded — each base-indent body content line is folded; blank
11791
+ * lines and more-indented lines (which the reader treats as literal breaks)
11792
+ * are left untouched.
11793
+ * - `"` double-quoted — the inner content is folded; breaking only at content
11794
+ * spaces means no `\`-escaped continuations are needed.
11795
+ * - `'` single-quoted — returned unchanged (out of scope for width folding).
11796
+ * - otherwise plain — folded directly.
11797
+ *
11798
+ * `indent` is one indentation level (the continuation prefix); `lineWidth` is
11799
+ * the target column. A non-positive `lineWidth` returns the text unchanged.
11800
+ */
11801
+ function foldRenderedScalar(rendered, indent, lineWidth) {
11802
+ if (lineWidth <= 0 || rendered.length === 0) return rendered;
11803
+ const first = rendered[0];
11804
+ if (first === "|" || first === "'") return rendered;
11805
+ if (first === ">") {
11806
+ const lines = rendered.split("\n");
11807
+ const out = [lines[0]];
11808
+ for (let i = 1; i < lines.length; i++) {
11809
+ const line = lines[i];
11810
+ if (line.length > indent.length && line.startsWith(indent) && line[indent.length] !== " " && line[indent.length] !== " ") {
11811
+ const content = line.slice(indent.length);
11812
+ out.push(indent + foldScalarLine(content, indent, lineWidth, indent.length));
11813
+ } else out.push(line);
11814
+ }
11815
+ return out.join("\n");
11816
+ }
11817
+ if (first === "\"") return `"${foldScalarLine(rendered.slice(1, -1), indent, lineWidth, indent.length + 1)}"`;
11818
+ return foldScalarLine(rendered, indent, lineWidth, indent.length);
11819
+ }
11719
11820
  /**
11720
11821
  * C0 control characters (except TAB) that must be escaped in double-quoted scalars.
11721
11822
  */
@@ -11866,7 +11967,7 @@ function renderBlockFolded(s, indent) {
11866
11967
  return `>${indentIndicator}${chomp}\n${outputLines.join("\n")}`;
11867
11968
  }
11868
11969
  //#endregion
11869
- //#region ../../node_modules/.pnpm/@effected+yaml@0.2.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/stringifier.js
11970
+ //#region ../../node_modules/.pnpm/@effected+yaml@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/yaml/internal/stringifier.js
11870
11971
  /**
11871
11972
  * Thrown by the stringifier on its failure paths (circular references). The
11872
11973
  * facade catches this and materializes the public stringify error.
@@ -12102,7 +12203,7 @@ function detectCircular(value, seen) {
12102
12203
  function createContext(options) {
12103
12204
  return {
12104
12205
  indent: options?.indent ?? 2,
12105
- lineWidth: options?.lineWidth ?? 80,
12206
+ lineWidth: options?.lineWidth ?? 0,
12106
12207
  defaultScalarStyle: options?.defaultScalarStyle ?? "plain",
12107
12208
  defaultCollectionStyle: options?.defaultCollectionStyle ?? "block",
12108
12209
  sortKeys: options?.sortKeys ?? false,
@@ -12118,13 +12219,17 @@ function createContext(options) {
12118
12219
  * responsible for prepending the appropriate indentation prefix to each line.
12119
12220
  * This avoids double-indentation when embedding nested collections.
12120
12221
  */
12121
- function stringifyLines(value, ctx, depth) {
12222
+ function stringifyLines(value, ctx, depth, allowFold = true) {
12122
12223
  if (depth > 256) throw new StringifyDepthExceeded();
12123
12224
  if (value === null || value === void 0) return ["null"];
12124
12225
  if (typeof value === "boolean") return [value ? "true" : "false"];
12125
12226
  if (typeof value === "number") return [renderNumber(value)];
12126
12227
  if (typeof value === "bigint") return [value.toString()];
12127
- if (typeof value === "string") return renderString(value, ctx.defaultScalarStyle, " ".repeat(ctx.indent), false, ctx.forceDefaultStyles).split("\n");
12228
+ if (typeof value === "string") {
12229
+ const indentStr = " ".repeat(ctx.indent);
12230
+ const rendered = renderString(value, ctx.defaultScalarStyle, indentStr, false, ctx.forceDefaultStyles);
12231
+ return (allowFold && ctx.lineWidth > 0 ? foldRenderedScalar(rendered, indentStr, ctx.lineWidth) : rendered).split("\n");
12232
+ }
12128
12233
  if (Array.isArray(value)) {
12129
12234
  detectCircular(value, ctx.seen);
12130
12235
  ctx.seen.add(value);
@@ -12150,7 +12255,7 @@ function stringifyLines(value, ctx, depth) {
12150
12255
  */
12151
12256
  function stringifyArrayLines(arr, ctx, depth) {
12152
12257
  if (arr.length === 0) return ["[]"];
12153
- if (ctx.defaultCollectionStyle === "flow") return [`[${arr.map((item) => stringifyLines(item, ctx, depth + 1).join(" ")).join(", ")}]`];
12258
+ if (ctx.defaultCollectionStyle === "flow") return [`[${arr.map((item) => stringifyLines(item, ctx, depth + 1, false).join(" ")).join(", ")}]`];
12154
12259
  const pad = " ".repeat(ctx.indent);
12155
12260
  const lines = [];
12156
12261
  for (const item of arr) {
@@ -12158,7 +12263,7 @@ function stringifyArrayLines(arr, ctx, depth) {
12158
12263
  if (itemLines.length === 1) lines.push(`- ${itemLines[0]}`);
12159
12264
  else {
12160
12265
  const first = itemLines[0];
12161
- if (first.startsWith("|") || first.startsWith(">")) {
12266
+ if (first.startsWith("|") || first.startsWith(">") || typeof item === "string") {
12162
12267
  lines.push(`- ${first}`);
12163
12268
  for (let i = 1; i < itemLines.length; i++) lines.push(itemLines[i]);
12164
12269
  } else {
@@ -12188,7 +12293,7 @@ function stringifyObjectLines(obj, ctx, depth) {
12188
12293
  if (keys.length === 0) return ["{}"];
12189
12294
  if (ctx.sortKeys) keys.sort();
12190
12295
  if (ctx.defaultCollectionStyle === "flow") return [`{${keys.map((k) => {
12191
- return `${renderString(k, "plain", "")}: ${stringifyLines(obj[k], ctx, depth + 1).join(" ")}`;
12296
+ return `${renderString(k, "plain", "")}: ${stringifyLines(obj[k], ctx, depth + 1, false).join(" ")}`;
12192
12297
  }).join(", ")}}`];
12193
12298
  const renderKey = (k) => k.includes("\n") ? renderDoubleQuoted(k, ctx.forceDefaultStyles) : renderString(k, "plain", "");
12194
12299
  const pad = " ".repeat(ctx.indent);
@@ -12200,7 +12305,7 @@ function stringifyObjectLines(obj, ctx, depth) {
12200
12305
  if (valLines.length === 1 && !isBlockCollection(val, ctx)) lines.push(`${keyStr}: ${valLines[0]}`);
12201
12306
  else {
12202
12307
  const first = valLines[0];
12203
- if (first.startsWith("|") || first.startsWith(">")) {
12308
+ if (first.startsWith("|") || first.startsWith(">") || typeof val === "string") {
12204
12309
  lines.push(`${keyStr}: ${first}`);
12205
12310
  for (let i = 1; i < valLines.length; i++) lines.push(valLines[i]);
12206
12311
  } else if (Array.isArray(val) && val.length > 0) {
@@ -12232,6 +12337,11 @@ effect.Schema.Class("YamlParseOptions")({
12232
12337
  });
12233
12338
  effect.Schema.Class("YamlStringifyOptions")({
12234
12339
  indent: effect.Schema.optionalKey(effect.Schema.Number),
12340
+ /**
12341
+ * Column at which to fold long scalars. Default `0` (and any value `<= 0`)
12342
+ * never wraps; a positive value folds plain, double-quoted and block-folded
12343
+ * (`>`) scalars at approximately that column, never block-literal (`|`).
12344
+ */
12235
12345
  lineWidth: effect.Schema.optionalKey(effect.Schema.Number),
12236
12346
  defaultScalarStyle: effect.Schema.optionalKey(ScalarStyle),
12237
12347
  defaultCollectionStyle: effect.Schema.optionalKey(CollectionStyle),
@@ -12291,6 +12401,89 @@ const toStringifyInput = (options) => options === void 0 ? {} : {
12291
12401
  };
12292
12402
  const toDiagnostics = (text, records) => records.map((r) => YamlDiagnostic.fromRaw(r, text));
12293
12403
  /**
12404
+ * Build the fatal {@link YamlParseError} for an alias-expansion "billion
12405
+ * laughs" blow-up. The offending expansion has no source span, so the
12406
+ * diagnostic carries zero offsets.
12407
+ */
12408
+ const aliasCountExceededError = (message, text) => new YamlParseError({
12409
+ diagnostics: [YamlDiagnostic.make({
12410
+ code: "AliasCountExceeded",
12411
+ message,
12412
+ offset: 0,
12413
+ length: 0,
12414
+ line: 0,
12415
+ character: 0
12416
+ })],
12417
+ input: text
12418
+ });
12419
+ /**
12420
+ * Map an internal stringifier throw to its typed {@link YamlStringifyError},
12421
+ * or return `undefined` for any other defect (which the caller re-throws).
12422
+ * Shared by the Effect and synchronous stringify paths so both surface the
12423
+ * hardening guards (circular reference, nesting-depth cap) identically.
12424
+ */
12425
+ const stringifyDefectToError = (defect, value) => {
12426
+ if (defect instanceof StringifyFailure) return new YamlStringifyError({
12427
+ diagnostics: [YamlDiagnostic.make({
12428
+ code: "CircularReference",
12429
+ message: defect.reason,
12430
+ offset: 0,
12431
+ length: 0,
12432
+ line: 0,
12433
+ character: 0
12434
+ })],
12435
+ value
12436
+ });
12437
+ if (defect instanceof StringifyDepthExceeded) return new YamlStringifyError({
12438
+ diagnostics: [YamlDiagnostic.make({
12439
+ code: "NestingDepthExceeded",
12440
+ message: defect.message,
12441
+ offset: 0,
12442
+ length: 0,
12443
+ line: 0,
12444
+ character: 0
12445
+ })],
12446
+ value
12447
+ });
12448
+ };
12449
+ /**
12450
+ * Synchronous single-document parse returning a {@link Result}. The pure
12451
+ * engine bypasses the Effect runtime entirely: the composer, the failure
12452
+ * collection and the alias-expansion budget all run inline, and every failure
12453
+ * mode (fatal diagnostics, duplicate keys, a "billion laughs" blow-up) yields
12454
+ * a `Failure` carrying a typed {@link YamlParseError} — never a throw.
12455
+ */
12456
+ const parseSyncImpl = (text, options) => {
12457
+ const doc = composeFirstDocument(text, toParseInput(options));
12458
+ const failures = failureRecords(doc, options?.uniqueKeys ?? true);
12459
+ if (failures.length > 0) return effect.Result.fail(new YamlParseError({
12460
+ diagnostics: toDiagnostics(text, failures),
12461
+ input: text
12462
+ }));
12463
+ const anchors = /* @__PURE__ */ new Map();
12464
+ try {
12465
+ return effect.Result.succeed(nodeToJsValue(doc.contents, anchors, options?.maxAliasCount ?? 100));
12466
+ } catch (defect) {
12467
+ if (defect instanceof AliasExpansionBudgetExceeded) return effect.Result.fail(aliasCountExceededError(defect.message, text));
12468
+ throw defect;
12469
+ }
12470
+ };
12471
+ /**
12472
+ * Synchronous stringify returning a {@link Result}. Mirrors {@link Yaml.stringify}
12473
+ * without the Effect wrapper: a circular reference or a value nested past the
12474
+ * recursion budget yields a `Failure` carrying a typed {@link YamlStringifyError},
12475
+ * never a thrown defect.
12476
+ */
12477
+ const stringifySyncImpl = (value, options) => {
12478
+ try {
12479
+ return effect.Result.succeed(stringifyValue(value, toStringifyInput(options)));
12480
+ } catch (defect) {
12481
+ const error = stringifyDefectToError(defect, value);
12482
+ if (error !== void 0) return effect.Result.fail(error);
12483
+ throw defect;
12484
+ }
12485
+ };
12486
+ /**
12294
12487
  * Collect the raw diagnostics that make a composed document a parse failure:
12295
12488
  * every fatal-code error, plus DuplicateKey warnings promoted to errors when
12296
12489
  * `uniqueKeys` is in force (the v3 `parse` contract). Order preserved:
@@ -12310,45 +12503,15 @@ const failureRecords = (doc, uniqueKeys) => {
12310
12503
  const extractDocumentValue = (contents, anchors, maxAliasCount, text) => effect.Effect.try({
12311
12504
  try: () => nodeToJsValue(contents, anchors, maxAliasCount),
12312
12505
  catch: (defect) => {
12313
- if (defect instanceof AliasExpansionBudgetExceeded) return new YamlParseError({
12314
- diagnostics: [YamlDiagnostic.make({
12315
- code: "AliasCountExceeded",
12316
- message: defect.message,
12317
- offset: 0,
12318
- length: 0,
12319
- line: 0,
12320
- character: 0
12321
- })],
12322
- input: text
12323
- });
12506
+ if (defect instanceof AliasExpansionBudgetExceeded) return aliasCountExceededError(defect.message, text);
12324
12507
  throw defect;
12325
12508
  }
12326
12509
  });
12327
12510
  const stringifyOrFail = (value, options) => effect.Effect.try({
12328
12511
  try: () => stringifyValue(value, toStringifyInput(options)),
12329
12512
  catch: (defect) => {
12330
- if (defect instanceof StringifyFailure) return new YamlStringifyError({
12331
- diagnostics: [YamlDiagnostic.make({
12332
- code: "CircularReference",
12333
- message: defect.reason,
12334
- offset: 0,
12335
- length: 0,
12336
- line: 0,
12337
- character: 0
12338
- })],
12339
- value
12340
- });
12341
- if (defect instanceof StringifyDepthExceeded) return new YamlStringifyError({
12342
- diagnostics: [YamlDiagnostic.make({
12343
- code: "NestingDepthExceeded",
12344
- message: defect.message,
12345
- offset: 0,
12346
- length: 0,
12347
- line: 0,
12348
- character: 0
12349
- })],
12350
- value
12351
- });
12513
+ const error = stringifyDefectToError(defect, value);
12514
+ if (error !== void 0) return error;
12352
12515
  throw defect;
12353
12516
  }
12354
12517
  });
@@ -12436,6 +12599,63 @@ var Yaml = class Yaml {
12436
12599
  return yield* stringifyOrFail(value, options);
12437
12600
  });
12438
12601
  /**
12602
+ * Synchronous single-document parse, returning a {@link Result} instead of
12603
+ * an `Effect`. A pure escape hatch for config-time callers that cannot
12604
+ * `await` an Effect (a `vitest.config.ts` is the motivating case): it runs
12605
+ * the same engine as {@link Yaml.parse} inline.
12606
+ *
12607
+ * Preserves the package contract — malformed and adversarial input fails
12608
+ * typed, never as a defect. Fatal diagnostics, duplicate keys and a
12609
+ * "billion laughs" alias-expansion blow-up all yield a `Failure` carrying a
12610
+ * {@link YamlParseError}; the method never throws.
12611
+ *
12612
+ * @example
12613
+ * ```ts
12614
+ * import { Yaml } from "@effected/yaml";
12615
+ * import { Result } from "effect";
12616
+ *
12617
+ * const result = Yaml.parseSync("name: Alice\nage: 30");
12618
+ * if (Result.isSuccess(result)) {
12619
+ * result.success; // { name: "Alice", age: 30 }
12620
+ * } else {
12621
+ * result.failure; // YamlParseError
12622
+ * }
12623
+ * ```
12624
+ *
12625
+ * @public
12626
+ */
12627
+ static parseSync(text, options) {
12628
+ return parseSyncImpl(text, options);
12629
+ }
12630
+ /**
12631
+ * Synchronous stringify, returning a {@link Result} instead of an `Effect`.
12632
+ * The pure counterpart to {@link Yaml.stringify} for config-time callers
12633
+ * that cannot `await`.
12634
+ *
12635
+ * Preserves the package contract — a circular reference (`CircularReference`)
12636
+ * or a value nested past the recursion budget (`NestingDepthExceeded`)
12637
+ * yields a `Failure` carrying a {@link YamlStringifyError} rather than a
12638
+ * thrown stack-overflow defect; the method never throws.
12639
+ *
12640
+ * @example
12641
+ * ```ts
12642
+ * import { Yaml } from "@effected/yaml";
12643
+ * import { Result } from "effect";
12644
+ *
12645
+ * const result = Yaml.stringifySync({ name: "Alice" });
12646
+ * if (Result.isFailure(result)) {
12647
+ * result.failure; // YamlStringifyError
12648
+ * } else {
12649
+ * result.success; // "name: Alice\n"
12650
+ * }
12651
+ * ```
12652
+ *
12653
+ * @public
12654
+ */
12655
+ static stringifySync(value, options) {
12656
+ return stringifySyncImpl(value, options);
12657
+ }
12658
+ /**
12439
12659
  * Strip comments from YAML text. Without `replaceCh`, comment characters
12440
12660
  * are removed (line breaks are kept, so line numbers stay stable); with a
12441
12661
  * `replaceCh` (e.g. `" "`), each comment character is replaced instead,
@@ -12614,7 +12834,7 @@ function deepEqualValues(a, b) {
12614
12834
  return false;
12615
12835
  }
12616
12836
  //#endregion
12617
- //#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
12837
+ //#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
12618
12838
  /**
12619
12839
  * An empty YAML document composes to `null` (`Yaml.parseAll("")` is `[null]`,
12620
12840
  * and the trailing document of an env-only `pnpm-lock.yaml` is `null` too).
@@ -12684,7 +12904,7 @@ const selectSoleDocument = (content) => effect.Effect.gen(function* () {
12684
12904
  };
12685
12905
  });
12686
12906
  //#endregion
12687
- //#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
12907
+ //#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
12688
12908
  const PnpmImporterDeps = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.Struct({
12689
12909
  specifier: effect.Schema.String,
12690
12910
  version: effect.Schema.String
@@ -12810,7 +13030,7 @@ const toFields$1 = (raw) => effect.Effect.gen(function* () {
12810
13030
  };
12811
13031
  });
12812
13032
  //#endregion
12813
- //#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
13033
+ //#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
12814
13034
  const YarnLockfileRaw = effect.Schema.Record(effect.Schema.String, effect.Schema.Unknown);
12815
13035
  const DepRecord = effect.Schema.optionalKey(effect.Schema.Record(effect.Schema.String, effect.Schema.String));
12816
13036
  const YarnEntry = effect.Schema.Struct({
@@ -12933,7 +13153,7 @@ const cleanYarnDeps = (deps) => {
12933
13153
  return Object.fromEntries(Object.entries(deps).map(([name, value]) => [name, value.startsWith("npm:") ? value.slice(4) : value]));
12934
13154
  };
12935
13155
  //#endregion
12936
- //#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
13156
+ //#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
12937
13157
  const EMPTY_IMPORTERS = [];
12938
13158
  /**
12939
13159
  * Failure of `Lockfile.parse`: the given content is not a valid lockfile of
@@ -13177,7 +13397,7 @@ var Lockfile = class Lockfile extends effect.Schema.Class("Lockfile")({
13177
13397
  }
13178
13398
  };
13179
13399
  //#endregion
13180
- //#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
13400
+ //#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
13181
13401
  /**
13182
13402
  * The minimal manifest shape {@link LockfileIntegrity.compare} checks a
13183
13403
  * lockfile against: a package name plus the four optional dependency maps.
@@ -15133,7 +15353,7 @@ var Package = class Package extends effect.Schema.Class("Package")({
15133
15353
  }
15134
15354
  };
15135
15355
  //#endregion
15136
- //#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
15356
+ //#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
15137
15357
  const EMPTY$1 = Object.freeze(Object.create(null));
15138
15358
  const EMPTY_MANIFEST = Object.freeze(Object.create(null));
15139
15359
  /**
@@ -15395,7 +15615,7 @@ var WorkspacePackage = class WorkspacePackage extends effect.Schema.Class("Works
15395
15615
  }
15396
15616
  };
15397
15617
  //#endregion
15398
- //#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
15618
+ //#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
15399
15619
  /**
15400
15620
  * Typed failure raised by {@link descend}: a directory mid-walk was unreadable
15401
15621
  * (under `onUnreadable: "fail"`), or the walk descended past `maxDepth`. Depth
@@ -15530,7 +15750,7 @@ const descend = effect.Effect.fn("Walker.descend")(function* (pattern, options)
15530
15750
  return results;
15531
15751
  });
15532
15752
  //#endregion
15533
- //#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
15753
+ //#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
15534
15754
  /**
15535
15755
  * Ascend from `start` toward the filesystem root, yielding each directory,
15536
15756
  * nearest first.
@@ -15620,7 +15840,7 @@ const Walker$1 = {
15620
15840
  findRoot: findRoot$1
15621
15841
  };
15622
15842
  //#endregion
15623
- //#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
15843
+ //#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
15624
15844
  /**
15625
15845
  * The marker filenames {@link WorkspaceRoot} probes for, in priority order.
15626
15846
  *
@@ -15705,7 +15925,7 @@ var WorkspaceRoot = class WorkspaceRoot extends effect.Context.Service()("@effec
15705
15925
  static layer = effect.Layer.effect(WorkspaceRoot, WorkspaceRoot.make);
15706
15926
  };
15707
15927
  //#endregion
15708
- //#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
15928
+ //#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
15709
15929
  /**
15710
15930
  * Hard ceiling on directories the enumerator will visit for one pattern set.
15711
15931
  * Guards the pathological case a depth cap alone does not: a wide, shallow
@@ -15723,7 +15943,7 @@ const MAX_ENUMERATION_ENTRIES = 1e5;
15723
15943
  */
15724
15944
  const PRUNED_DIRECTORIES = /* @__PURE__ */ new Set([".git", "node_modules"]);
15725
15945
  //#endregion
15726
- //#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
15946
+ //#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
15727
15947
  /** Directory names never descended into. */
15728
15948
  const isPruned = (entry) => PRUNED_DIRECTORIES.has(entry);
15729
15949
  /** Join root-relative POSIX segments; `""` is the root itself. */
@@ -15813,7 +16033,7 @@ var Traversal = class {
15813
16033
  }
15814
16034
  };
15815
16035
  //#endregion
15816
- //#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
16036
+ //#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
15817
16037
  /** Strip a trailing slash from `GlobPattern.enumerationPrefix` to get a relative directory. */
15818
16038
  const baseOf = (pattern) => pattern.enumerationPrefix.replace(/\/$/, "");
15819
16039
  /**
@@ -15883,7 +16103,7 @@ const enumerate = (root, globs, options) => effect.Effect.gen(function* () {
15883
16103
  return results;
15884
16104
  });
15885
16105
  //#endregion
15886
- //#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
16106
+ //#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
15887
16107
  const stringsOf = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : void 0;
15888
16108
  /** The `packages:` list of a `pnpm-workspace.yaml` document. Total on a parsed document. */
15889
16109
  const pnpmPatternsOf = (document) => {
@@ -15940,7 +16160,7 @@ const readPatterns = (root) => effect.Effect.gen(function* () {
15940
16160
  return manifestPatternsOf(manifest);
15941
16161
  });
15942
16162
  //#endregion
15943
- //#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
16163
+ //#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
15944
16164
  /**
15945
16165
  * Raised when a workspace member's `package.json` cannot be read, parsed, or
15946
16166
  * used — it is missing, malformed, or lacks a `name` or `version`.
@@ -16269,7 +16489,7 @@ var WorkspaceDiscovery = class WorkspaceDiscovery extends effect.Context.Service
16269
16489
  };
16270
16490
  const isStringRecord$2 = (value) => value !== null && typeof value === "object" && !Array.isArray(value) && Object.values(value).every((entry) => typeof entry === "string");
16271
16491
  //#endregion
16272
- //#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
16492
+ //#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
16273
16493
  /**
16274
16494
  * Raised when the workspace dependency graph cannot be topologically ordered
16275
16495
  * because it contains a cycle.
@@ -16504,7 +16724,7 @@ const kahn = (edges) => {
16504
16724
  };
16505
16725
  };
16506
16726
  //#endregion
16507
- //#region ../../node_modules/.pnpm/@effected+git@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/git/GitCommand.js
16727
+ //#region ../../node_modules/.pnpm/@effected+git@0.4.0_effect@4.0.0-beta.98/node_modules/@effected/git/GitCommand.js
16508
16728
  /**
16509
16729
  * Builds a `git` `ChildProcess.StandardCommand` with the argv this package
16510
16730
  * classifies against.
@@ -16923,7 +17143,7 @@ const GitCommand = {
16923
17143
  status
16924
17144
  };
16925
17145
  //#endregion
16926
- //#region ../../node_modules/.pnpm/@effected+git@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/git/internal/run.js
17146
+ //#region ../../node_modules/.pnpm/@effected+git@0.4.0_effect@4.0.0-beta.98/node_modules/@effected/git/internal/run.js
16927
17147
  /**
16928
17148
  * Spawns `command` and collects its stdout, stderr, and exit code as a single
16929
17149
  * triple.
@@ -16950,7 +17170,7 @@ const runCollected = (command) => effect.Effect.scoped(effect.Effect.gen(functio
16950
17170
  };
16951
17171
  }));
16952
17172
  //#endregion
16953
- //#region ../../node_modules/.pnpm/@effected+git@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/git/Git.js
17173
+ //#region ../../node_modules/.pnpm/@effected+git@0.4.0_effect@4.0.0-beta.98/node_modules/@effected/git/Git.js
16954
17174
  /** git's own ceiling: a run that has not answered in 30s is not going to. */
16955
17175
  const GIT_TIMEOUT = effect.Duration.seconds(30);
16956
17176
  /**
@@ -16962,11 +17182,22 @@ const GIT_TIMEOUT = effect.Duration.seconds(30);
16962
17182
  * `exitCode` and `stderr` are populated when git actually ran. `detail`
16963
17183
  * carries a human-readable explanation of an absorbed spawn-level
16964
17184
  * `PlatformError` or a per-run timeout — the two cases where git never
16965
- * produced an exit code at all.
17185
+ * produced an exit code at all. {@link GitCommandError.kind | `kind`}
17186
+ * discriminates a pre-spawn guard rejection (`"refused"`) from a genuine git
17187
+ * failure (`"failed"`) structurally, so composed retry/fallback logic never has
17188
+ * to parse the prose in `message` or `detail`.
16966
17189
  *
16967
17190
  * @public
16968
17191
  */
16969
17192
  var GitCommandError = class extends effect.Schema.TaggedErrorClass()("GitCommandError", {
17193
+ /**
17194
+ * Discriminates a pre-spawn guard rejection from a genuine git failure.
17195
+ * `"refused"` — a pre-spawn guard (an option-like ref) rejected the
17196
+ * invocation and no process was ever spawned. `"failed"` — git actually ran
17197
+ * and exited non-zero, or the spawn/IO itself failed. Composed retry/fallback
17198
+ * logic routes on this instead of matching `detail` prose.
17199
+ */
17200
+ kind: effect.Schema.Literals(["refused", "failed"]),
16970
17201
  /** The argument vector, without the leading `git`. */
16971
17202
  args: effect.Schema.Array(effect.Schema.String),
16972
17203
  /** The working directory the command ran in. */
@@ -17085,6 +17316,7 @@ const classify = (cwd, args, outcome, kind) => {
17085
17316
  return {
17086
17317
  _tag: "failure",
17087
17318
  error: GitCommandError.make({
17319
+ kind: "failed",
17088
17320
  args,
17089
17321
  cwd,
17090
17322
  stderr: "",
@@ -17106,6 +17338,7 @@ const classify = (cwd, args, outcome, kind) => {
17106
17338
  return {
17107
17339
  _tag: "failure",
17108
17340
  error: GitCommandError.make({
17341
+ kind: "failed",
17109
17342
  args,
17110
17343
  cwd,
17111
17344
  exitCode,
@@ -17126,6 +17359,7 @@ const runClassified = (command, cwd, kind) => {
17126
17359
  orElse: () => effect.Effect.succeed({
17127
17360
  _tag: "failure",
17128
17361
  error: GitCommandError.make({
17362
+ kind: "failed",
17129
17363
  args,
17130
17364
  cwd,
17131
17365
  stderr: "",
@@ -17316,6 +17550,7 @@ const parseStatus = (output) => {
17316
17550
  const rejectOptionLikeRefs = (cwd, refs) => {
17317
17551
  const offending = refs.find((ref) => ref.startsWith("-"));
17318
17552
  return offending === void 0 ? effect.Effect.void : effect.Effect.fail(new GitCommandError({
17553
+ kind: "refused",
17319
17554
  args: [offending],
17320
17555
  cwd,
17321
17556
  stderr: "",
@@ -17577,11 +17812,10 @@ const make = (spawner) => {
17577
17812
  remote,
17578
17813
  ref: options.ref
17579
17814
  });
17580
- yield* rejectOptionLikeRefs(cwd, [remote, options.ref]);
17581
17815
  return yield* fetch(cwd, {
17582
17816
  ...options,
17583
17817
  tag: true
17584
- }).pipe(effect.Effect.catchTag(["UnknownRefError", "GitCommandError"], () => fetch(cwd, options)));
17818
+ }).pipe(effect.Effect.catchTag(["UnknownRefError", "GitCommandError"], (error) => error._tag === "GitCommandError" && error.kind === "refused" ? effect.Effect.fail(error) : fetch(cwd, options)));
17585
17819
  }),
17586
17820
  submoduleUpdate: effect.Effect.fn("Git.submoduleUpdate")(function* (cwd, options) {
17587
17821
  const init = options?.init ?? false;
@@ -17853,7 +18087,7 @@ var Git = class extends effect.Context.Service()("@effected/git/Git") {
17853
18087
  }));
17854
18088
  };
17855
18089
  //#endregion
17856
- //#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
18090
+ //#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
17857
18091
  /**
17858
18092
  * Which git refs to compare, and whether to fold in the working tree.
17859
18093
  *
@@ -18105,7 +18339,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
18105
18339
  };
18106
18340
  }
18107
18341
  //#endregion
18108
- //#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
18342
+ //#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
18109
18343
  /** Project a pnpm-workspace manifest's `catalog` / `catalogs` fields into a `Catalogs` map. */
18110
18344
  const inlineCatalogs = (manifest) => {
18111
18345
  if (manifest.catalog === void 0 && manifest.catalogs === void 0) return {};
@@ -18169,7 +18403,7 @@ const rangeOf = (catalogs, dependency, specifier) => {
18169
18403
  });
18170
18404
  };
18171
18405
  //#endregion
18172
- //#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
18406
+ //#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
18173
18407
  /** Whether `value` is a non-null, non-array object. */
18174
18408
  const isObject$2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
18175
18409
  /**
@@ -18314,7 +18548,7 @@ var ConfigDependencyHooks = class ConfigDependencyHooks extends effect.Context.S
18314
18548
  }) });
18315
18549
  };
18316
18550
  //#endregion
18317
- //#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
18551
+ //#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
18318
18552
  /**
18319
18553
  * The four package managers this package understands.
18320
18554
  *
@@ -18556,7 +18790,7 @@ var PackageManagerDetector = class PackageManagerDetector extends effect.Context
18556
18790
  static layer = effect.Layer.effect(PackageManagerDetector, PackageManagerDetector.make);
18557
18791
  };
18558
18792
  //#endregion
18559
- //#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
18793
+ //#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
18560
18794
  /**
18561
18795
  * Raised when the workspace's lockfile cannot be read off disk.
18562
18796
  *
@@ -18666,7 +18900,7 @@ var LockfileReader = class LockfileReader extends effect.Context.Service()("@eff
18666
18900
  static layer = (options) => effect.Layer.effect(LockfileReader, LockfileReader.make(options));
18667
18901
  };
18668
18902
  //#endregion
18669
- //#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
18903
+ //#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
18670
18904
  /** The public npm registry, used when `publishConfig.registry` says nothing. */
18671
18905
  const DEFAULT_REGISTRY = "https://registry.npmjs.org/";
18672
18906
  /**
@@ -18766,7 +19000,7 @@ var PublishabilityDetector = class PublishabilityDetector extends effect.Context
18766
19000
  }) });
18767
19001
  };
18768
19002
  //#endregion
18769
- //#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
19003
+ //#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
18770
19004
  /**
18771
19005
  * An immutable, fully-normalized catalog collection — the one catalog
18772
19006
  * resolution semantic in the package.
@@ -19150,7 +19384,7 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends effect.Context.Service()
19150
19384
  }));
19151
19385
  };
19152
19386
  //#endregion
19153
- //#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
19387
+ //#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
19154
19388
  const EMPTY = Object.freeze(Object.create(null));
19155
19389
  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)));
19156
19390
  /**
@@ -19315,7 +19549,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
19315
19549
  }
19316
19550
  };
19317
19551
  //#endregion
19318
- //#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
19552
+ //#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
19319
19553
  /** Whether `value` is a non-null, non-array object. */
19320
19554
  const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
19321
19555
  /** Whether every value in a record is a string — a usable dependency map. */
@@ -19507,7 +19741,7 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends effect.Context.Service
19507
19741
  static layer = (options) => effect.Layer.effect(WorkspaceSnapshots, WorkspaceSnapshots.make(options));
19508
19742
  };
19509
19743
  //#endregion
19510
- //#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
19744
+ //#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
19511
19745
  /**
19512
19746
  * Every service that needs only a filesystem: root, package-manager detection,
19513
19747
  * discovery, lockfile reading, catalogs and publishability.