@savvy-web/silk 3.7.2 → 3.7.4

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.
@@ -15947,7 +15947,7 @@ var LockfileIntegrity = class LockfileIntegrity extends effect.Schema.Class("Loc
15947
15947
  }
15948
15948
  };
15949
15949
  //#endregion
15950
- //#region ../../node_modules/.pnpm/@effected+package-json@0.8.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/Dependency.js
15950
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.9.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/Dependency.js
15951
15951
  /**
15952
15952
  * A resolved dependency entry pairing a package name with its version
15953
15953
  * specifier and the `kind` of map it came from (`@effected/npm`'s
@@ -16011,7 +16011,7 @@ var Dependency = class extends effect.Schema.Class("Dependency")({
16011
16011
  }
16012
16012
  };
16013
16013
  //#endregion
16014
- //#region ../../node_modules/.pnpm/@effected+package-json@0.8.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/DevEngines.js
16014
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.9.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/DevEngines.js
16015
16015
  /**
16016
16016
  * A single `devEngines` constraint with a name and optional `version` / `onFail`.
16017
16017
  *
@@ -17566,7 +17566,7 @@ effect.Schema.String.pipe(effect.Schema.decodeTo(SpdxExpressionUnion, effect.Sch
17566
17566
  encode: (expression) => effect.Effect.succeed(serialize$1(expression))
17567
17567
  })));
17568
17568
  //#endregion
17569
- //#region ../../node_modules/.pnpm/@effected+package-json@0.8.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/License.js
17569
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.9.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/License.js
17570
17570
  /**
17571
17571
  * Indicates that a string is not a valid SPDX license identifier or expression.
17572
17572
  *
@@ -17601,7 +17601,7 @@ const isValidSpdx = (value) => {
17601
17601
  */
17602
17602
  const SpdxLicense = effect.Schema.String.pipe(effect.Schema.check(effect.Schema.makeFilter((value) => isValidSpdx(value) ? void 0 : "Expected a valid SPDX license expression")), effect.Schema.brand("SpdxLicense"));
17603
17603
  //#endregion
17604
- //#region ../../node_modules/.pnpm/@effected+package-json@0.8.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/PackageManager.js
17604
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.9.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/PackageManager.js
17605
17605
  const PACKAGE_MANAGER_NAME_RE = /^[a-z]+$/;
17606
17606
  const invalid$1 = (input, message) => effect.Effect.fail(new effect.SchemaIssue.InvalidValue({ message }, input));
17607
17607
  /**
@@ -17712,7 +17712,7 @@ var PackageManager = class PackageManager extends effect.Schema.Class("PackageMa
17712
17712
  }
17713
17713
  };
17714
17714
  //#endregion
17715
- //#region ../../node_modules/.pnpm/@effected+package-json@0.8.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/PackageName.js
17715
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.9.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/PackageName.js
17716
17716
  /**
17717
17717
  * Indicates that a string could not be used as a valid npm package name.
17718
17718
  *
@@ -17770,7 +17770,7 @@ const PackageName = Object.assign(effect.Schema.Union([ScopedPackageName, Unscop
17770
17770
  isScoped
17771
17771
  });
17772
17772
  //#endregion
17773
- //#region ../../node_modules/.pnpm/@effected+package-json@0.8.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/Person.js
17773
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.9.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/Person.js
17774
17774
  const parsePersonString = (input) => {
17775
17775
  const emailMatch = input.match(/<([^>]+)>/);
17776
17776
  const urlMatch = input.match(/\(([^)]+)\)/);
@@ -17916,7 +17916,7 @@ var Person = class Person extends effect.Schema.Class("Person")({
17916
17916
  }
17917
17917
  };
17918
17918
  //#endregion
17919
- //#region ../../node_modules/.pnpm/@effected+package-json@0.8.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/Repository.js
17919
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.9.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/Repository.js
17920
17920
  /** The shorthand hosts npm resolves without a scheme. */
17921
17921
  const SHORTHAND_HOSTS = /* @__PURE__ */ new Map([
17922
17922
  ["github", "https://github.com"],
@@ -18091,7 +18091,7 @@ var Bugs = class Bugs extends effect.Schema.Class("Bugs")({
18091
18091
  })));
18092
18092
  };
18093
18093
  //#endregion
18094
- //#region ../../node_modules/.pnpm/@effected+package-json@0.8.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/internal/format.js
18094
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.9.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/internal/format.js
18095
18095
  const KEY_INDEX = new Map([
18096
18096
  "$schema",
18097
18097
  "name",
@@ -18303,6 +18303,18 @@ const resolveIndent = (indent, sourceText) => {
18303
18303
  return indent ?? DEFAULT_INDENT;
18304
18304
  };
18305
18305
  /**
18306
+ * Resolve the public `PackageFormatOptions` bag (mirrored structurally here —
18307
+ * this module cannot import `Package.ts` without closing a cycle) to the
18308
+ * concrete {@link renderJson} options. Shared by `Package.toJsonString` and
18309
+ * `PackageManifest.toJsonString` so the two serializers cannot drift.
18310
+ */
18311
+ const resolveFormatOptions = (options) => ({
18312
+ indent: resolveIndent(options?.indent, options?.sourceText),
18313
+ sort: options?.sort ?? true,
18314
+ stripEmpty: options?.stripEmpty ?? true,
18315
+ newline: options?.newline ?? true
18316
+ });
18317
+ /**
18306
18318
  * Render an already-encoded package.json record to a JSON string, applying the
18307
18319
  * empty-map strip, canonical key ordering and a trailing newline unless the
18308
18320
  * corresponding options opt out.
@@ -18314,7 +18326,38 @@ const renderJson = (raw, options) => {
18314
18326
  return options.newline ? `${json}\n` : json;
18315
18327
  };
18316
18328
  //#endregion
18317
- //#region ../../node_modules/.pnpm/@effected+package-json@0.8.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/Package.js
18329
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.9.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/internal/wire.js
18330
+ const RawJson = effect.Schema.Record(effect.Schema.String, effect.Schema.Unknown);
18331
+ /**
18332
+ * Build the open-JSON ↔ class wire codec for a `Schema.Class` carrying a
18333
+ * `rest` catch-all field. Generic over the class so `Package`, its
18334
+ * `.extend()`ed subclasses and `PackageManifest` all share the one
18335
+ * implementation and cannot drift.
18336
+ */
18337
+ const makeWire = (Class) => {
18338
+ const knownKeys = new Set(Object.keys(Class.fields).filter((k) => k !== "rest"));
18339
+ return RawJson.pipe(effect.Schema.decodeTo(Class, effect.SchemaTransformation.transform({
18340
+ decode: (raw) => {
18341
+ const known = {};
18342
+ const rest = Object.create(null);
18343
+ for (const [key, value] of Object.entries(raw)) if (knownKeys.has(key)) known[key] = value;
18344
+ else rest[key] = value;
18345
+ return {
18346
+ ...known,
18347
+ rest
18348
+ };
18349
+ },
18350
+ encode: (encoded) => {
18351
+ const { rest, ...known } = encoded;
18352
+ return {
18353
+ ...rest ?? {},
18354
+ ...known
18355
+ };
18356
+ }
18357
+ })));
18358
+ };
18359
+ //#endregion
18360
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.9.0_effect@4.0.0-beta.107/node_modules/@effected/package-json/Package.js
18318
18361
  const toHashMap = effect.SchemaTransformation.transform({
18319
18362
  decode: (record) => effect.HashMap.fromIterable(Object.entries(record)),
18320
18363
  encode: (map) => Object.fromEntries(effect.HashMap.toEntries(map))
@@ -18381,35 +18424,6 @@ cause: effect.Schema.Defect() }) {
18381
18424
  return "Failed to decode package.json";
18382
18425
  }
18383
18426
  };
18384
- const resolveFormatOptions = (options) => ({
18385
- indent: resolveIndent(options?.indent, options?.sourceText),
18386
- sort: options?.sort ?? true,
18387
- stripEmpty: options?.stripEmpty ?? true,
18388
- newline: options?.newline ?? true
18389
- });
18390
- const RawJson = effect.Schema.Record(effect.Schema.String, effect.Schema.Unknown);
18391
- const makeWire = (Class) => {
18392
- const knownKeys = new Set(Object.keys(Class.fields).filter((k) => k !== "rest"));
18393
- return RawJson.pipe(effect.Schema.decodeTo(Class, effect.SchemaTransformation.transform({
18394
- decode: (raw) => {
18395
- const known = {};
18396
- const rest = {};
18397
- for (const [key, value] of Object.entries(raw)) if (knownKeys.has(key)) known[key] = value;
18398
- else rest[key] = value;
18399
- return {
18400
- ...known,
18401
- rest
18402
- };
18403
- },
18404
- encode: (encoded) => {
18405
- const { rest, ...known } = encoded;
18406
- return {
18407
- ...rest ?? {},
18408
- ...known
18409
- };
18410
- }
18411
- })));
18412
- };
18413
18427
  /**
18414
18428
  * A package.json document as a rich `Schema.Class`: typed known fields, a
18415
18429
  * `rest` catch-all preserving unknown top-level fields across a read/edit/write
@@ -18630,7 +18644,7 @@ var Package = class Package extends effect.Schema.Class("Package")({
18630
18644
  }
18631
18645
  };
18632
18646
  //#endregion
18633
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspacePackage.js
18647
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspacePackage.js
18634
18648
  const EMPTY$1 = Object.freeze(Object.create(null));
18635
18649
  const EMPTY_MANIFEST = Object.freeze(Object.create(null));
18636
18650
  /**
@@ -19228,7 +19242,7 @@ var Walker$1 = class {
19228
19242
  static findRoot = findRoot$1;
19229
19243
  };
19230
19244
  //#endregion
19231
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceRoot.js
19245
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceRoot.js
19232
19246
  /**
19233
19247
  * The marker filenames {@link WorkspaceRoot} probes for, in priority order.
19234
19248
  *
@@ -19415,7 +19429,7 @@ var WorkspaceRoot = class WorkspaceRoot extends effect.Context.Service()("@effec
19415
19429
  static layerTest = (root) => effect.Layer.effect(WorkspaceRoot, WorkspaceRoot.makeTest(root)).pipe(effect.Layer.provide(effect.Path.layer));
19416
19430
  };
19417
19431
  //#endregion
19418
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/limits.js
19432
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/limits.js
19419
19433
  /**
19420
19434
  * Hard ceiling on directories the enumerator will visit for one pattern set.
19421
19435
  * Guards the pathological case a depth cap alone does not: a wide, shallow
@@ -19433,7 +19447,7 @@ const MAX_ENUMERATION_ENTRIES = 1e5;
19433
19447
  */
19434
19448
  const PRUNED_DIRECTORIES = /* @__PURE__ */ new Set([".git", "node_modules"]);
19435
19449
  //#endregion
19436
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/traverse.js
19450
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/traverse.js
19437
19451
  /** Directory names never descended into. */
19438
19452
  const isPruned = (entry) => PRUNED_DIRECTORIES.has(entry);
19439
19453
  /** Join root-relative POSIX segments; `""` is the root itself. */
@@ -19523,7 +19537,7 @@ var Traversal = class {
19523
19537
  }
19524
19538
  };
19525
19539
  //#endregion
19526
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/enumerate.js
19540
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/enumerate.js
19527
19541
  /** Strip a trailing slash from `GlobPattern.enumerationPrefix` to get a relative directory. */
19528
19542
  const baseOf = (pattern) => pattern.enumerationPrefix.replace(/\/$/, "");
19529
19543
  /**
@@ -19593,7 +19607,7 @@ const enumerate = (root, globs, options) => effect.Effect.gen(function* () {
19593
19607
  return results;
19594
19608
  });
19595
19609
  //#endregion
19596
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/patterns.js
19610
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/patterns.js
19597
19611
  const stringsOf = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : void 0;
19598
19612
  /** The `packages:` list of a `pnpm-workspace.yaml` document. Total on a parsed document. */
19599
19613
  const pnpmPatternsOf = (document) => {
@@ -19650,7 +19664,7 @@ const readPatterns = (root) => effect.Effect.gen(function* () {
19650
19664
  return manifestPatternsOf(manifest);
19651
19665
  });
19652
19666
  //#endregion
19653
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceDiscovery.js
19667
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceDiscovery.js
19654
19668
  /**
19655
19669
  * Raised when a workspace member's `package.json` cannot be read, parsed, or
19656
19670
  * used — it is missing, malformed, or lacks a `name` or `version`.
@@ -20106,7 +20120,7 @@ var WorkspaceDiscovery = class WorkspaceDiscovery extends effect.Context.Service
20106
20120
  };
20107
20121
  const isStringRecord$2 = (value) => value !== null && typeof value === "object" && !Array.isArray(value) && Object.values(value).every((entry) => typeof entry === "string");
20108
20122
  //#endregion
20109
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/DependencyGraph.js
20123
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/DependencyGraph.js
20110
20124
  /**
20111
20125
  * Raised when the workspace dependency graph cannot be topologically ordered
20112
20126
  * because it contains a cycle.
@@ -20405,7 +20419,7 @@ const kahn = (edges) => {
20405
20419
  };
20406
20420
  };
20407
20421
  //#endregion
20408
- //#region ../../node_modules/.pnpm/@effected+git@0.7.0_effect@4.0.0-beta.107/node_modules/@effected/git/GitCommand.js
20422
+ //#region ../../node_modules/.pnpm/@effected+git@0.8.0_effect@4.0.0-beta.107/node_modules/@effected/git/GitCommand.js
20409
20423
  /** The mask every whole-value sensitive positional is replaced with. */
20410
20424
  const REDACTED = "<redacted>";
20411
20425
  const secretValue = (value) => ({
@@ -20513,17 +20527,23 @@ const checkout = (ref, detach = false) => git([
20513
20527
  ...detach ? ["--detach"] : [],
20514
20528
  ref
20515
20529
  ]);
20516
- const fetch$1 = (remote, ref, depth, tag = false) => git([
20530
+ const fetch$1 = (remote, ref, depth, tag = false, unshallow = false) => git([
20517
20531
  "fetch",
20518
20532
  ...depth !== void 0 ? ["--depth", String(depth)] : [],
20533
+ ...unshallow ? ["--unshallow"] : [],
20519
20534
  secretUrl(remote),
20520
20535
  ...tag ? ["tag"] : [],
20521
20536
  ref
20522
20537
  ]);
20523
- const submoduleUpdate = (init = false, depth, paths = []) => git([
20538
+ const submoduleUpdate = (init = false, depth, paths = [], options = {}) => git([
20524
20539
  "submodule",
20525
20540
  "update",
20526
20541
  ...init ? ["--init"] : [],
20542
+ ...options.checkout ? ["--checkout"] : [],
20543
+ ...options.remote ? ["--remote"] : [],
20544
+ ...options.fetch === false ? ["--no-fetch"] : [],
20545
+ ...options.recursive ? ["--recursive"] : [],
20546
+ ...options.force ? ["--force"] : [],
20527
20547
  ...depth !== void 0 ? ["--depth", String(depth)] : [],
20528
20548
  ...paths.length > 0 ? ["--", ...paths] : []
20529
20549
  ]);
@@ -20813,6 +20833,19 @@ const configUnset = (key, file, all = false) => git([
20813
20833
  all ? "--unset-all" : "--unset",
20814
20834
  key
20815
20835
  ]);
20836
+ const configRemoveSection = (section, file) => git([
20837
+ "config",
20838
+ ...file !== void 0 ? ["-f", file] : [],
20839
+ "--remove-section",
20840
+ section
20841
+ ]);
20842
+ const configRenameSection = (oldName, newName, file) => git([
20843
+ "config",
20844
+ ...file !== void 0 ? ["-f", file] : [],
20845
+ "--rename-section",
20846
+ oldName,
20847
+ newName
20848
+ ]);
20816
20849
  const rm = (paths, cached = false, recursive = false, force = false) => git([
20817
20850
  "rm",
20818
20851
  ...cached ? ["--cached"] : [],
@@ -20907,6 +20940,13 @@ var GitCommand = class {
20907
20940
  static refExists = refExists;
20908
20941
  /**
20909
20942
  * `git merge-base <a> <b>` — the best common ancestor commit of `a` and `b`.
20943
+ *
20944
+ * @remarks
20945
+ * Two refs with NO common ancestor (disjoint histories) exit 1 with
20946
+ * silent stderr. One builder backs both service members: `Git.mergeBase`
20947
+ * surfaces that shape as a loud `GitCommandError` (absence is
20948
+ * exceptional), while `Git.mergeBaseOption` degrades it to `Option.none`
20949
+ * (a probe answer). The argv is identical either way.
20910
20950
  */
20911
20951
  static mergeBase = mergeBase;
20912
20952
  /**
@@ -20974,11 +21014,21 @@ var GitCommand = class {
20974
21014
  */
20975
21015
  static checkout = checkout;
20976
21016
  /**
20977
- * Mutating: `git fetch [--depth <n>] <remote> [tag] <ref>` — fetches the given
20978
- * ref from a remote, optionally with a depth limit and the `tag` keyword.
21017
+ * Mutating: `git fetch [--depth <n>] [--unshallow] <remote> [tag] <ref>` —
21018
+ * fetches the given ref from a remote, optionally with a depth limit, the
21019
+ * `--unshallow` mode, and the `tag` keyword.
20979
21020
  *
20980
21021
  * @remarks
20981
- * `remote` may be a URL as well as a remote name; an embedded
21022
+ * `ref` may also be a full refspec (`src:dst`, optionally `+`-prefixed)
21023
+ * it is passed through VERBATIM, never transformed. That matters under a
21024
+ * single-branch clone (`actions/checkout`'s default): a bare-ref fetch
21025
+ * there updates `FETCH_HEAD` only and never creates the remote-tracking
21026
+ * ref, so `+refs/heads/<b>:refs/remotes/origin/<b>` is the only spelling
21027
+ * that materializes `origin/<b>`.
21028
+ *
21029
+ * `unshallow` is a distinct MODE like {@link GitCommand.fetchUnshallow}'s:
21030
+ * git rejects it in a non-shallow repository and rejects it alongside
21031
+ * `--depth`. `remote` may be a URL as well as a remote name; an embedded
20982
21032
  * `userinfo@` credential is masked in {@link GitInvocation.redactedArgs}.
20983
21033
  */
20984
21034
  static fetch = fetch$1;
@@ -21076,10 +21126,23 @@ var GitCommand = class {
21076
21126
  */
21077
21127
  static branchDelete = branchDelete;
21078
21128
  /**
21079
- * Mutating: `git submodule update [--init] [--depth <n>] [-- <paths>...]` — updates
21080
- * registered submodules, optionally initializing them, with an optional depth limit,
21081
- * and scoped to specific paths. The literal `--` separator makes the pathspec
21082
- * injection-safe by construction.
21129
+ * Mutating:
21130
+ * `git submodule update [--init] [--checkout] [--remote] [--no-fetch] [--recursive] [--force] [--depth <n>] [-- <paths>...]`
21131
+ * updates registered submodules, optionally initializing them, with an
21132
+ * optional depth limit, and scoped to specific paths. The literal `--`
21133
+ * separator makes the pathspec injection-safe by construction.
21134
+ *
21135
+ * @remarks
21136
+ * `options.checkout` is the documented override for a
21137
+ * `submodule.<name>.update = none` configuration — without it, an update of
21138
+ * such a submodule silently skips it (git reports success and checks out
21139
+ * nothing). `options.fetch` accepts only the literal `false` (emitting
21140
+ * `--no-fetch`): git's default already fetches and offers no positive
21141
+ * `--fetch` spelling, so `true` would be an unrepresentable no-op.
21142
+ * `options.remote` tracks the remote branch's tip instead of the
21143
+ * superproject's recorded sha; `options.recursive` descends into nested
21144
+ * submodules; `options.force` discards local changes in the submodule
21145
+ * working tree (and re-checks-out even when the recorded sha is current).
21083
21146
  */
21084
21147
  static submoduleUpdate = submoduleUpdate;
21085
21148
  /**
@@ -21433,6 +21496,27 @@ var GitCommand = class {
21433
21496
  */
21434
21497
  static configUnset = configUnset;
21435
21498
  /**
21499
+ * Mutating: `git config [-f <file>] --remove-section <section>` — removes
21500
+ * a whole configuration section (every key under it, and the section
21501
+ * header itself).
21502
+ *
21503
+ * @remarks
21504
+ * git exits 128 (`fatal: no such section`) when the section does not
21505
+ * exist — a loud failure by this package's classification, matching
21506
+ * {@link GitCommand.configUnset}'s posture: a removal that silently did
21507
+ * nothing is indistinguishable from one that worked.
21508
+ */
21509
+ static configRemoveSection = configRemoveSection;
21510
+ /**
21511
+ * Mutating: `git config [-f <file>] --rename-section <old> <new>` —
21512
+ * renames a configuration section, carrying every key under it across.
21513
+ *
21514
+ * @remarks
21515
+ * git exits 128 (`fatal: no such section`) when the old section does not
21516
+ * exist — the same loud posture as {@link GitCommand.configRemoveSection}.
21517
+ */
21518
+ static configRenameSection = configRenameSection;
21519
+ /**
21436
21520
  * Mutating: `git rm [--cached] [-r] [--force] -- <paths...>` — removes
21437
21521
  * paths from the index (and, without `cached`, the working tree). The
21438
21522
  * literal `--` separator makes the pathspec injection-safe by
@@ -21488,7 +21572,7 @@ var GitCommand = class {
21488
21572
  static lsFiles = lsFiles;
21489
21573
  };
21490
21574
  //#endregion
21491
- //#region ../../node_modules/.pnpm/@effected+git@0.7.0_effect@4.0.0-beta.107/node_modules/@effected/git/internal/run.js
21575
+ //#region ../../node_modules/.pnpm/@effected+git@0.8.0_effect@4.0.0-beta.107/node_modules/@effected/git/internal/run.js
21492
21576
  /**
21493
21577
  * Spawns `command` and collects its stdout, stderr, and exit code as a single
21494
21578
  * triple.
@@ -21515,7 +21599,7 @@ const runCollected = (command) => effect.Effect.scoped(effect.Effect.gen(functio
21515
21599
  };
21516
21600
  }));
21517
21601
  //#endregion
21518
- //#region ../../node_modules/.pnpm/@effected+git@0.7.0_effect@4.0.0-beta.107/node_modules/@effected/git/Git.js
21602
+ //#region ../../node_modules/.pnpm/@effected+git@0.8.0_effect@4.0.0-beta.107/node_modules/@effected/git/Git.js
21519
21603
  /** git's own ceiling: a run that has not answered in 30s is not going to. */
21520
21604
  const GIT_TIMEOUT = effect.Duration.seconds(30);
21521
21605
  /**
@@ -22497,6 +22581,26 @@ const make = (spawner) => {
22497
22581
  default: return yield* effect.Effect.die(`Git.mergeBase: unexpected classification "${classified._tag}"`);
22498
22582
  }
22499
22583
  });
22584
+ const mergeBaseOption = effect.Effect.fn("Git.mergeBaseOption")(function* (cwd, a, b) {
22585
+ yield* effect.Effect.annotateCurrentSpan({
22586
+ cwd,
22587
+ a,
22588
+ b
22589
+ });
22590
+ yield* rejectOptionLikeRefs(cwd, [a, b]);
22591
+ const classified = yield* runFor(GitCommand.mergeBase(a, b), cwd, "quiet");
22592
+ switch (classified._tag) {
22593
+ case "success": return effect.Option.some(classified.output.trim());
22594
+ case "absent": return effect.Option.none();
22595
+ case "notARepository": return yield* effect.Effect.fail(new NotARepositoryError({ cwd }));
22596
+ case "unknownRef": return yield* effect.Effect.fail(new UnknownRefError({
22597
+ ref: `${a}...${b}`,
22598
+ cwd
22599
+ }));
22600
+ case "failure": return yield* effect.Effect.fail(classified.error);
22601
+ default: return yield* effect.Effect.die(`Git.mergeBaseOption: unexpected classification "${classified._tag}"`);
22602
+ }
22603
+ });
22500
22604
  const changedFiles = effect.Effect.fn("Git.changedFiles")(function* (cwd, options) {
22501
22605
  const relative = options.relative ?? false;
22502
22606
  yield* effect.Effect.annotateCurrentSpan({
@@ -22762,14 +22866,27 @@ const make = (spawner) => {
22762
22866
  const fetch = effect.Effect.fn("Git.fetch")(function* (cwd, options) {
22763
22867
  const remote = options.remote ?? "origin";
22764
22868
  const tag = options.tag ?? false;
22869
+ const unshallow = options.unshallow ?? false;
22765
22870
  yield* effect.Effect.annotateCurrentSpan({
22766
22871
  cwd,
22767
22872
  ref: options.ref,
22768
- tag
22873
+ tag,
22874
+ unshallow
22769
22875
  });
22770
22876
  yield* rejectOptionLikeRefs(cwd, [remote, options.ref]);
22771
22877
  yield* rejectNonNaturalNumber(cwd, "a fetch depth", options.depth);
22772
- const classified = yield* runFor(GitCommand.fetch(remote, options.ref, options.depth, tag), cwd, "generic");
22878
+ if (unshallow && options.depth !== void 0) return yield* effect.Effect.fail(new GitCommandError({
22879
+ kind: "refused",
22880
+ args: [
22881
+ "--unshallow",
22882
+ "--depth",
22883
+ String(options.depth)
22884
+ ],
22885
+ cwd,
22886
+ stderr: "",
22887
+ detail: "refused: fetch cannot combine unshallow with depth (git rejects the pair)"
22888
+ }));
22889
+ const classified = yield* runFor(GitCommand.fetch(remote, options.ref, options.depth, tag, unshallow), cwd, "generic");
22773
22890
  switch (classified._tag) {
22774
22891
  case "success": return;
22775
22892
  case "notARepository": return yield* effect.Effect.fail(new NotARepositoryError({ cwd }));
@@ -22793,12 +22910,20 @@ const make = (spawner) => {
22793
22910
  });
22794
22911
  const submoduleUpdate = effect.Effect.fn("Git.submoduleUpdate")(function* (cwd, options) {
22795
22912
  const init = options?.init ?? false;
22913
+ const checkout = options?.checkout ?? false;
22796
22914
  yield* effect.Effect.annotateCurrentSpan({
22797
22915
  cwd,
22798
- init
22916
+ init,
22917
+ checkout
22799
22918
  });
22800
22919
  yield* rejectNonNaturalNumber(cwd, "a submodule update depth", options?.depth);
22801
- const classified = yield* runFor(GitCommand.submoduleUpdate(init, options?.depth, options?.paths ?? []), cwd, "generic");
22920
+ const classified = yield* runFor(GitCommand.submoduleUpdate(init, options?.depth, options?.paths ?? [], {
22921
+ checkout,
22922
+ remote: options?.remote ?? false,
22923
+ recursive: options?.recursive ?? false,
22924
+ force: options?.force ?? false,
22925
+ ...options?.fetch === false ? { fetch: false } : {}
22926
+ }), cwd, "generic");
22802
22927
  switch (classified._tag) {
22803
22928
  case "success": return;
22804
22929
  case "notARepository": return yield* effect.Effect.fail(new NotARepositoryError({ cwd }));
@@ -23248,6 +23373,7 @@ const make = (spawner) => {
23248
23373
  lsTree,
23249
23374
  refExists,
23250
23375
  mergeBase,
23376
+ mergeBaseOption,
23251
23377
  changedFiles,
23252
23378
  workingChanges,
23253
23379
  revParse,
@@ -23432,6 +23558,29 @@ const make = (spawner) => {
23432
23558
  yield* rejectOptionLikeRefs(cwd, [key, ...options?.file !== void 0 ? [options.file] : []]);
23433
23559
  return yield* runVoid("Git.configUnset", GitCommand.configUnset(key, options?.file, options?.all ?? false), cwd, key);
23434
23560
  }),
23561
+ configRemoveSection: effect.Effect.fn("Git.configRemoveSection")(function* (cwd, section, options) {
23562
+ yield* effect.Effect.annotateCurrentSpan({
23563
+ cwd,
23564
+ section,
23565
+ file: options?.file ?? "(repository config)"
23566
+ });
23567
+ yield* rejectOptionLikeRefs(cwd, [section, ...options?.file !== void 0 ? [options.file] : []]);
23568
+ return yield* runVoid("Git.configRemoveSection", GitCommand.configRemoveSection(section, options?.file), cwd, section);
23569
+ }),
23570
+ configRenameSection: effect.Effect.fn("Git.configRenameSection")(function* (cwd, oldName, newName, options) {
23571
+ yield* effect.Effect.annotateCurrentSpan({
23572
+ cwd,
23573
+ oldName,
23574
+ newName,
23575
+ file: options?.file ?? "(repository config)"
23576
+ });
23577
+ yield* rejectOptionLikeRefs(cwd, [
23578
+ oldName,
23579
+ newName,
23580
+ ...options?.file !== void 0 ? [options.file] : []
23581
+ ]);
23582
+ return yield* runVoid("Git.configRenameSection", GitCommand.configRenameSection(oldName, newName, options?.file), cwd, oldName);
23583
+ }),
23435
23584
  rm: effect.Effect.fn("Git.rm")(function* (cwd, paths, options) {
23436
23585
  yield* effect.Effect.annotateCurrentSpan({
23437
23586
  cwd,
@@ -23571,6 +23720,7 @@ var Git = class Git extends effect.Context.Service()("@effected/git/Git") {
23571
23720
  lsTree: notStubbed("lsTree"),
23572
23721
  refExists: notStubbed("refExists"),
23573
23722
  mergeBase: notStubbed("mergeBase"),
23723
+ mergeBaseOption: notStubbed("mergeBaseOption"),
23574
23724
  changedFiles: notStubbed("changedFiles"),
23575
23725
  workingChanges: notStubbed("workingChanges"),
23576
23726
  revParse: notStubbed("revParse"),
@@ -23629,6 +23779,8 @@ var Git = class Git extends effect.Context.Service()("@effected/git/Git") {
23629
23779
  configList: notStubbed("configList"),
23630
23780
  configGetAll: notStubbed("configGetAll"),
23631
23781
  configUnset: notStubbed("configUnset"),
23782
+ configRemoveSection: notStubbed("configRemoveSection"),
23783
+ configRenameSection: notStubbed("configRenameSection"),
23632
23784
  rm: notStubbed("rm"),
23633
23785
  mv: notStubbed("mv"),
23634
23786
  checkIgnore: notStubbed("checkIgnore"),
@@ -23664,7 +23816,7 @@ var Git = class Git extends effect.Context.Service()("@effected/git/Git") {
23664
23816
  static layerTest = (overrides = {}) => effect.Layer.succeed(Git, Git.makeTest(overrides));
23665
23817
  };
23666
23818
  //#endregion
23667
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/ChangeDetector.js
23819
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/ChangeDetector.js
23668
23820
  /**
23669
23821
  * Which git refs to compare, and whether to fold in the working tree.
23670
23822
  *
@@ -23920,7 +24072,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
23920
24072
  };
23921
24073
  }
23922
24074
  //#endregion
23923
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/catalogs.js
24075
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/catalogs.js
23924
24076
  /** Project a pnpm-workspace manifest's `catalog` / `catalogs` fields into a `Catalogs` map. */
23925
24077
  const inlineCatalogs = (manifest) => {
23926
24078
  if (manifest.catalog === void 0 && manifest.catalogs === void 0) return {};
@@ -23984,7 +24136,7 @@ const rangeOf = (catalogs, dependency, specifier) => {
23984
24136
  });
23985
24137
  };
23986
24138
  //#endregion
23987
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/ConfigDependencyHooks.js
24139
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/ConfigDependencyHooks.js
23988
24140
  /** Whether `value` is a non-null, non-array object. */
23989
24141
  const isObject$2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
23990
24142
  /**
@@ -24271,7 +24423,10 @@ var ConfigDependencyHooks = class ConfigDependencyHooks extends effect.Context.S
24271
24423
  const candidatePath = (0, node_path.join)(root, "node_modules", ".pnpm-config", name, filename);
24272
24424
  const candidateUrl = (0, node_url.pathToFileURL)(candidatePath).href;
24273
24425
  const result = yield* effect.Effect.result(effect.Effect.tryPromise({
24274
- try: () => import(candidateUrl),
24426
+ try: () => import(
24427
+ /* webpackIgnore: true */
24428
+ candidateUrl
24429
+ ),
24275
24430
  catch: (cause) => cause
24276
24431
  }));
24277
24432
  if (effect.Result.isSuccess(result)) {
@@ -24395,7 +24550,7 @@ var ConfigDependencyHooks = class ConfigDependencyHooks extends effect.Context.S
24395
24550
  }));
24396
24551
  };
24397
24552
  //#endregion
24398
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/PackageManagerName.js
24553
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/PackageManagerName.js
24399
24554
  /**
24400
24555
  * The four package managers this package understands.
24401
24556
  *
@@ -24408,6 +24563,35 @@ const PackageManagerName = effect.Schema.Literals([
24408
24563
  "bun"
24409
24564
  ]);
24410
24565
  /**
24566
+ * The markers {@link PackageManagerDetector} probes, in the priority order it
24567
+ * probes them.
24568
+ *
24569
+ * @remarks
24570
+ * One vocabulary serves both halves of the detection contract: the failure path
24571
+ * reports every member as `PackageManagerDetectionError.checked`, and the
24572
+ * success path reports the one that fired as
24573
+ * `DetectedPackageManager.evidence`. A closed literal union rather than
24574
+ * free text, so a consumer logging *why* a workspace was classified asserts
24575
+ * against the kit's vocabulary instead of re-deriving the probe with its own
24576
+ * filesystem reads.
24577
+ *
24578
+ * The `package.json#…` spellings name manifest *fields*; the rest are marker
24579
+ * files at the workspace root.
24580
+ *
24581
+ * @public
24582
+ */
24583
+ const PackageManagerEvidence = effect.Schema.Literals([
24584
+ "pnpm-workspace.yaml",
24585
+ "bun.lock",
24586
+ "bun.lockb",
24587
+ "yarn.lock",
24588
+ "package.json#workspaces",
24589
+ "pnpm-lock.yaml",
24590
+ "package-lock.json",
24591
+ "package.json#devEngines.packageManager",
24592
+ "package.json#packageManager"
24593
+ ]);
24594
+ /**
24411
24595
  * The outcome of package-manager detection at a workspace root.
24412
24596
  *
24413
24597
  * @remarks
@@ -24418,6 +24602,15 @@ const PackageManagerName = effect.Schema.Literals([
24418
24602
  * `devEngines.packageManager`; see {@link PackageManagerDetector} for the
24419
24603
  * precedence between them.
24420
24604
  *
24605
+ * `evidence` is the rung of the priority order that decided the **name** — the
24606
+ * verdict's provenance, in the same vocabulary the failure path reports as
24607
+ * `PackageManagerDetectionError.checked`. For the bun and yarn rungs the
24608
+ * lockfile is the recorded signal even though the rung is a conjunction (the
24609
+ * lockfile *plus* a manifest field naming the manager): the manifest field alone
24610
+ * would have resolved in the declaration tier, so the lockfile is what this rung
24611
+ * added. The version's provenance is deliberately not carried — it follows the
24612
+ * two-field precedence above, which is a rule, not a probe.
24613
+ *
24421
24614
  * @public
24422
24615
  */
24423
24616
  var DetectedPackageManager = class extends effect.Schema.Class("DetectedPackageManager")({
@@ -24426,7 +24619,9 @@ var DetectedPackageManager = class extends effect.Schema.Class("DetectedPackageM
24426
24619
  /** Its version, when a manifest field agrees on the manager and carries one. */
24427
24620
  version: effect.Schema.Option(effect.Schema.String),
24428
24621
  /** The JavaScript runtime the manager implies. */
24429
- runtime: effect.Schema.Literals(["node", "bun"])
24622
+ runtime: effect.Schema.Literals(["node", "bun"]),
24623
+ /** The rung of the priority order that decided the name. */
24624
+ evidence: PackageManagerEvidence
24430
24625
  }) {};
24431
24626
  /** Whether `value` is a non-null, non-array object — corepack's own shape test. */
24432
24627
  const isPlainObject$1 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
@@ -24490,18 +24685,11 @@ var PackageManagerDetectionError = class extends effect.Schema.TaggedError()("Pa
24490
24685
  return `No package manager detected at ${this.root} (checked ${this.checked.join(", ")})`;
24491
24686
  }
24492
24687
  };
24493
- /** The markers probed, in priority order. Exposed on the error so the contract is not prose-only. */
24494
- const CHECKED = [
24495
- "pnpm-workspace.yaml",
24496
- "bun.lock",
24497
- "bun.lockb",
24498
- "yarn.lock",
24499
- "package.json#workspaces",
24500
- "pnpm-lock.yaml",
24501
- "package-lock.json",
24502
- "package.json#packageManager",
24503
- "package.json#devEngines.packageManager"
24504
- ];
24688
+ /**
24689
+ * The markers probed, in priority order. Derived from the evidence vocabulary so
24690
+ * the failure path's `checked` and the success path's `evidence` cannot drift.
24691
+ */
24692
+ const CHECKED = PackageManagerEvidence.literals;
24505
24693
  /**
24506
24694
  * Detects which package manager owns a workspace root.
24507
24695
  *
@@ -24612,44 +24800,52 @@ var PackageManagerDetector = class PackageManagerDetector extends effect.Context
24612
24800
  if (yield* has(root, "pnpm-workspace.yaml")) return DetectedPackageManager.make({
24613
24801
  name: "pnpm",
24614
24802
  version: versionFor(hints, "pnpm"),
24615
- runtime: "node"
24803
+ runtime: "node",
24804
+ evidence: "pnpm-workspace.yaml"
24616
24805
  });
24617
- const bunLock = (yield* has(root, "bun.lock")) || (yield* has(root, "bun.lockb"));
24618
- if (bunLock && namesManager(hints, "bun")) return DetectedPackageManager.make({
24806
+ const bunLock = (yield* has(root, "bun.lock")) ? effect.Option.some("bun.lock") : (yield* has(root, "bun.lockb")) ? effect.Option.some("bun.lockb") : effect.Option.none();
24807
+ if (effect.Option.isSome(bunLock) && namesManager(hints, "bun")) return DetectedPackageManager.make({
24619
24808
  name: "bun",
24620
24809
  version: versionFor(hints, "bun"),
24621
- runtime: "bun"
24810
+ runtime: "bun",
24811
+ evidence: bunLock.value
24622
24812
  });
24623
24813
  if ((yield* has(root, "yarn.lock")) && namesManager(hints, "yarn")) return DetectedPackageManager.make({
24624
24814
  name: "yarn",
24625
24815
  version: versionFor(hints, "yarn"),
24626
- runtime: "node"
24816
+ runtime: "node",
24817
+ evidence: "yarn.lock"
24627
24818
  });
24628
24819
  const workspaces = effect.Option.map(manifest, (fields) => fields.workspaces);
24629
24820
  if (effect.Option.isSome(workspaces) && workspaces.value !== void 0 && workspaces.value !== null) return DetectedPackageManager.make({
24630
24821
  name: "npm",
24631
24822
  version: versionFor(hints, "npm"),
24632
- runtime: "node"
24823
+ runtime: "node",
24824
+ evidence: "package.json#workspaces"
24633
24825
  });
24634
24826
  if (yield* has(root, "pnpm-lock.yaml")) return DetectedPackageManager.make({
24635
24827
  name: "pnpm",
24636
24828
  version: versionFor(hints, "pnpm"),
24637
- runtime: "node"
24829
+ runtime: "node",
24830
+ evidence: "pnpm-lock.yaml"
24638
24831
  });
24639
- if (bunLock && namesManager(hints, "bun")) return DetectedPackageManager.make({
24832
+ if (effect.Option.isSome(bunLock) && namesManager(hints, "bun")) return DetectedPackageManager.make({
24640
24833
  name: "bun",
24641
24834
  version: versionFor(hints, "bun"),
24642
- runtime: "bun"
24835
+ runtime: "bun",
24836
+ evidence: bunLock.value
24643
24837
  });
24644
24838
  if ((yield* has(root, "yarn.lock")) && namesManager(hints, "yarn")) return DetectedPackageManager.make({
24645
24839
  name: "yarn",
24646
24840
  version: versionFor(hints, "yarn"),
24647
- runtime: "node"
24841
+ runtime: "node",
24842
+ evidence: "yarn.lock"
24648
24843
  });
24649
24844
  if (yield* has(root, "package-lock.json")) return DetectedPackageManager.make({
24650
24845
  name: "npm",
24651
24846
  version: versionFor(hints, "npm"),
24652
- runtime: "node"
24847
+ runtime: "node",
24848
+ evidence: "package-lock.json"
24653
24849
  });
24654
24850
  const declared = declaredName(hints);
24655
24851
  if (effect.Option.isSome(declared)) {
@@ -24657,7 +24853,8 @@ var PackageManagerDetector = class PackageManagerDetector extends effect.Context
24657
24853
  if (name === "pnpm" || name === "npm" || name === "yarn" || name === "bun") return DetectedPackageManager.make({
24658
24854
  name,
24659
24855
  version: versionFor(hints, name),
24660
- runtime: name === "bun" ? "bun" : "node"
24856
+ runtime: name === "bun" ? "bun" : "node",
24857
+ evidence: effect.Option.isSome(hints.devEngines) ? "package.json#devEngines.packageManager" : "package.json#packageManager"
24661
24858
  });
24662
24859
  }
24663
24860
  return yield* effect.Effect.fail(new PackageManagerDetectionError({
@@ -24700,7 +24897,12 @@ var PackageManagerDetector = class PackageManagerDetector extends effect.Context
24700
24897
  * const TestDetector = PackageManagerDetector.layerTest({
24701
24898
  * detect: () =>
24702
24899
  * Effect.succeed(
24703
- * DetectedPackageManager.make({ name: "pnpm", version: Option.none(), runtime: "node" }),
24900
+ * DetectedPackageManager.make({
24901
+ * name: "pnpm",
24902
+ * version: Option.none(),
24903
+ * runtime: "node",
24904
+ * evidence: "pnpm-workspace.yaml",
24905
+ * }),
24704
24906
  * ),
24705
24907
  * });
24706
24908
  * ```
@@ -24723,7 +24925,7 @@ var PackageManagerDetector = class PackageManagerDetector extends effect.Context
24723
24925
  static layerTest = (overrides = {}) => effect.Layer.succeed(PackageManagerDetector, PackageManagerDetector.makeTest(overrides));
24724
24926
  };
24725
24927
  //#endregion
24726
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/LockfileReader.js
24928
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/LockfileReader.js
24727
24929
  /**
24728
24930
  * Raised when the workspace's lockfile cannot be read off disk.
24729
24931
  *
@@ -24903,7 +25105,7 @@ var LockfileReader = class LockfileReader extends effect.Context.Service()("@eff
24903
25105
  static layerTest = (overrides = {}) => effect.Layer.succeed(LockfileReader, LockfileReader.makeTest(overrides));
24904
25106
  };
24905
25107
  //#endregion
24906
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/Publishability.js
25108
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/Publishability.js
24907
25109
  /** The public npm registry, used when `publishConfig.registry` says nothing. */
24908
25110
  const DEFAULT_REGISTRY = "https://registry.npmjs.org/";
24909
25111
  /**
@@ -25062,7 +25264,7 @@ var PublishabilityDetector = class extends effect.Context.Service()("@effected/w
25062
25264
  static layerNone = effect.Layer.succeed(this, this.none);
25063
25265
  };
25064
25266
  //#endregion
25065
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/importerVersions.js
25267
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/internal/importerVersions.js
25066
25268
  /**
25067
25269
  * Strip pnpm's peer-disambiguation suffix from a recorded importer version.
25068
25270
  *
@@ -25148,7 +25350,7 @@ const unanimousVersionOf = (index, dependency) => {
25148
25350
  return agreed;
25149
25351
  };
25150
25352
  //#endregion
25151
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceCatalogs.js
25353
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceCatalogs.js
25152
25354
  /**
25153
25355
  * An immutable, fully-normalized catalog collection — the one catalog
25154
25356
  * resolution semantic in the package.
@@ -25675,7 +25877,7 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends effect.Context.Service()
25675
25877
  }));
25676
25878
  };
25677
25879
  //#endregion
25678
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceStateSnapshot.js
25880
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceStateSnapshot.js
25679
25881
  const EMPTY = Object.freeze(Object.create(null));
25680
25882
  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)));
25681
25883
  /**
@@ -25898,7 +26100,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
25898
26100
  }
25899
26101
  };
25900
26102
  //#endregion
25901
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceSnapshots.js
26103
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/WorkspaceSnapshots.js
25902
26104
  /** Whether `value` is a non-null, non-array object. */
25903
26105
  const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
25904
26106
  /** Whether every value in a record is a string — a usable dependency map. */
@@ -26175,7 +26377,7 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends effect.Context.Service
26175
26377
  static layerTest = (overrides = {}) => effect.Layer.succeed(WorkspaceSnapshots, WorkspaceSnapshots.makeTest(overrides));
26176
26378
  };
26177
26379
  //#endregion
26178
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.12.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/Workspaces.js
26380
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.13.0_@effected+jsonc@0.6.0_effect@4.0.0-beta.107__effect@4.0.0-beta.107/node_modules/@effected/workspaces/Workspaces.js
26179
26381
  const compose = (options, catalogsFactory) => {
26180
26382
  const roots = WorkspaceRoot.layer;
26181
26383
  const detector = PackageManagerDetector.layer;