@savvy-web/silk 3.4.0 → 3.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3711,7 +3711,7 @@ declare class Git extends Git_base {
3711
3711
  static readonly layerTest: (overrides?: Partial<GitShape>) => Layer.Layer<Git>;
3712
3712
  }
3713
3713
  //#endregion
3714
- //#region ../../node_modules/.pnpm/@effected+semver@0.3.1_effect@4.0.0-beta.101/node_modules/@effected/semver/index.d.ts
3714
+ //#region ../../node_modules/.pnpm/@effected+semver@0.3.2_effect@4.0.0-beta.101/node_modules/@effected/semver/index.d.ts
3715
3715
  //#region src/SemVer.d.ts
3716
3716
  declare const InvalidVersionError_base: Schema.Class<InvalidVersionError, Schema.TaggedStruct<"InvalidVersionError", {
3717
3717
  /** The raw input string that failed to parse. */
@@ -4225,22 +4225,59 @@ declare class Range extends Range_base {
4225
4225
  /**
4226
4226
  * Test whether a version satisfies a range; see {@link Range.test} for the
4227
4227
  * prerelease matching rule. Dual API.
4228
+ *
4229
+ * @remarks
4230
+ * **Data-first order is `(version, range)`** — the version being tested
4231
+ * comes first, the range it is tested against second. The data-last form
4232
+ * takes the range: `Range.satisfies(range)` applied to a version.
4233
+ *
4234
+ * Worth stating because the two parameters are distinct classes and the
4235
+ * order is not recoverable from the call site. TypeScript rejects a flipped
4236
+ * call outright, so this only bites callers without type checking — which
4237
+ * includes the untyped `node --input-type=module` probes this repo's own
4238
+ * evidence ladder calls for. There, `Range.satisfies(range, version)`
4239
+ * dispatches data-first, binds the `Range` to `version`, and dies with
4240
+ * `TypeError: range.test is not a function` — a message naming the
4241
+ * parameter that received the *version*, so it reads as a defect inside
4242
+ * this package rather than a caller error.
4243
+ *
4244
+ * The same order and the same hazard apply to `Range.filter`,
4245
+ * {@link Range.maxSatisfying} and {@link Range.minSatisfying}: subject
4246
+ * first, range second.
4228
4247
  */
4229
4248
  static readonly satisfies: {
4230
4249
  (range: Range): (version: SemVer) => boolean;
4231
4250
  (version: SemVer, range: Range): boolean;
4232
4251
  };
4233
- /** Filter versions that satisfy a range, preserving order. Dual API. */
4252
+ /**
4253
+ * Filter versions that satisfy a range, preserving order. Dual API.
4254
+ *
4255
+ * @remarks
4256
+ * Data-first order is `(versions, range)` — see {@link Range.satisfies}
4257
+ * for why the order is spelled out.
4258
+ */
4234
4259
  static readonly filter: {
4235
4260
  (range: Range): (versions: ReadonlyArray<SemVer>) => ReadonlyArray<SemVer>;
4236
4261
  (versions: ReadonlyArray<SemVer>, range: Range): ReadonlyArray<SemVer>;
4237
4262
  };
4238
- /** Highest satisfying version, or `Option.none()`. Dual API. */
4263
+ /**
4264
+ * Highest satisfying version, or `Option.none()`. Dual API.
4265
+ *
4266
+ * @remarks
4267
+ * Data-first order is `(versions, range)` — see {@link Range.satisfies}
4268
+ * for why the order is spelled out.
4269
+ */
4239
4270
  static readonly maxSatisfying: {
4240
4271
  (range: Range): (versions: ReadonlyArray<SemVer>) => Option.Option<SemVer>;
4241
4272
  (versions: ReadonlyArray<SemVer>, range: Range): Option.Option<SemVer>;
4242
4273
  };
4243
- /** Lowest satisfying version, or `Option.none()`. Dual API. */
4274
+ /**
4275
+ * Lowest satisfying version, or `Option.none()`. Dual API.
4276
+ *
4277
+ * @remarks
4278
+ * Data-first order is `(versions, range)` — see {@link Range.satisfies}
4279
+ * for why the order is spelled out.
4280
+ */
4244
4281
  static readonly minSatisfying: {
4245
4282
  (range: Range): (versions: ReadonlyArray<SemVer>) => Option.Option<SemVer>;
4246
4283
  (versions: ReadonlyArray<SemVer>, range: Range): Option.Option<SemVer>;
@@ -4358,9 +4395,9 @@ declare class UnsatisfiableConstraintError extends UnsatisfiableConstraintError_
4358
4395
  get message(): string;
4359
4396
  }
4360
4397
  //#endregion
4361
- //#region ../../node_modules/.pnpm/@effected+npm@0.8.1_@effected+semver@0.3.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/index.d.ts
4398
+ //#region ../../node_modules/.pnpm/@effected+npm@0.8.3_@effected+semver@0.3.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/index.d.ts
4362
4399
  //#region src/CatalogAssemblyError.d.ts
4363
- declare const CatalogAssemblyError_base: Schema.Class<CatalogAssemblyError, Schema.TaggedStruct<"CatalogAssemblyError", {
4400
+ declare const CatalogAssemblyError_base$1: Schema.Class<CatalogAssemblyError$1, Schema.TaggedStruct<"CatalogAssemblyError", {
4364
4401
  /**
4365
4402
  * Which input failed: `manifest` for a file-level or top-level shape problem,
4366
4403
  * `catalog` for a malformed catalog block or the double-default duplication,
@@ -4393,13 +4430,13 @@ declare const CatalogAssemblyError_base: Schema.Class<CatalogAssemblyError, Sche
4393
4430
  *
4394
4431
  * @public
4395
4432
  */
4396
- declare class CatalogAssemblyError extends CatalogAssemblyError_base {
4433
+ declare class CatalogAssemblyError$1 extends CatalogAssemblyError_base$1 {
4397
4434
  /** Renders the failing source into a one-line message. */
4398
4435
  get message(): string;
4399
4436
  }
4400
4437
  //#endregion
4401
4438
  //#region src/WorkspaceResolver.d.ts
4402
- declare const DependencyResolutionError_base: Schema.Class<DependencyResolutionError, Schema.TaggedStruct<"DependencyResolutionError", {
4439
+ declare const DependencyResolutionError_base$1: Schema.Class<DependencyResolutionError$1, Schema.TaggedStruct<"DependencyResolutionError", {
4403
4440
  readonly specifier: Schema.String;
4404
4441
  readonly cause: Schema.Defect;
4405
4442
  }>, import("effect/Cause").YieldableError>;
@@ -4416,12 +4453,12 @@ declare const DependencyResolutionError_base: Schema.Class<DependencyResolutionE
4416
4453
  *
4417
4454
  * @public
4418
4455
  */
4419
- declare class DependencyResolutionError extends DependencyResolutionError_base {
4456
+ declare class DependencyResolutionError$1 extends DependencyResolutionError_base$1 {
4420
4457
  /** Renders `specifier` into a one-line failure message. */
4421
4458
  get message(): string;
4422
4459
  }
4423
- declare const WorkspaceResolver_base: Context.ServiceClass<WorkspaceResolver, "@effected/npm/WorkspaceResolver", {
4424
- readonly versionOf: (packageName: string) => Effect.Effect<Option.Option<string>, DependencyResolutionError>;
4460
+ declare const WorkspaceResolver_base$1: Context.ServiceClass<WorkspaceResolver$1, "@effected/npm/WorkspaceResolver", {
4461
+ readonly versionOf: (packageName: string) => Effect.Effect<Option.Option<string>, DependencyResolutionError$1>;
4425
4462
  }>;
4426
4463
  /**
4427
4464
  * Contract for resolving pnpm `workspace:` dependency specifiers to concrete
@@ -4452,18 +4489,18 @@ declare const WorkspaceResolver_base: Context.ServiceClass<WorkspaceResolver, "@
4452
4489
  *
4453
4490
  * @public
4454
4491
  */
4455
- declare class WorkspaceResolver extends WorkspaceResolver_base {
4492
+ declare class WorkspaceResolver$1 extends WorkspaceResolver_base$1 {
4456
4493
  /**
4457
4494
  * No-op default: `versionOf` always succeeds with `Option.none()`, never
4458
4495
  * consulting an actual workspace. A pure `Layer.succeed`, bound to a
4459
4496
  * const so it memoizes by reference.
4460
4497
  */
4461
- static readonly noop: Layer.Layer<WorkspaceResolver>;
4498
+ static readonly noop: Layer.Layer<WorkspaceResolver$1>;
4462
4499
  }
4463
4500
  //#endregion
4464
4501
  //#region src/CatalogResolver.d.ts
4465
- declare const CatalogResolver_base: Context.ServiceClass<CatalogResolver, "@effected/npm/CatalogResolver", {
4466
- readonly rangeOf: (packageName: string, catalog: Option.Option<string>) => Effect.Effect<Option.Option<string>, CatalogAssemblyError | DependencyResolutionError>;
4502
+ declare const CatalogResolver_base$1: Context.ServiceClass<CatalogResolver$1, "@effected/npm/CatalogResolver", {
4503
+ readonly rangeOf: (packageName: string, catalog: Option.Option<string>) => Effect.Effect<Option.Option<string>, CatalogAssemblyError$1 | DependencyResolutionError$1>;
4467
4504
  }>;
4468
4505
  /**
4469
4506
  * Contract for resolving pnpm `catalog:` dependency specifiers to concrete
@@ -4500,21 +4537,15 @@ declare const CatalogResolver_base: Context.ServiceClass<CatalogResolver, "@effe
4500
4537
  *
4501
4538
  * @public
4502
4539
  */
4503
- declare class CatalogResolver extends CatalogResolver_base {
4540
+ declare class CatalogResolver$1 extends CatalogResolver_base$1 {
4504
4541
  /**
4505
4542
  * No-op default: `rangeOf` always succeeds with `Option.none()`, never
4506
4543
  * consulting an actual catalog. A pure `Layer.succeed`, bound to a const
4507
4544
  * so it memoizes by reference — the layer is built once, not once per
4508
4545
  * reference to `CatalogResolver.noop`.
4509
4546
  */
4510
- static readonly noop: Layer.Layer<CatalogResolver>;
4547
+ static readonly noop: Layer.Layer<CatalogResolver$1>;
4511
4548
  }
4512
- /**
4513
- * The classification of a dependency specifier's protocol.
4514
- *
4515
- * @public
4516
- */
4517
- type DependencyProtocol = "range" | "tag" | "git" | "url" | "npm" | "file" | "link" | "portal" | "catalog" | "workspace" | "unknown";
4518
4549
  declare const CatalogSpecifier_base: Schema.Class<CatalogSpecifier, Schema.TaggedStruct<"catalog", {
4519
4550
  /** The original specifier string. */
4520
4551
  readonly raw: Schema.String;
@@ -4932,7 +4963,7 @@ declare class GlobPattern extends GlobPattern_base {
4932
4963
  static readonly FromString: Schema.Codec<GlobPattern, string>;
4933
4964
  }
4934
4965
  //#endregion
4935
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/index.d.ts
4966
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.2_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._3c1784fba62fde9a5bac4cf15387fd04/node_modules/@effected/lockfiles/index.d.ts
4936
4967
  //#region src/BunExtension.d.ts
4937
4968
  declare const BunExtension_base: Schema.Class<BunExtension, Schema.Struct<{
4938
4969
  readonly _tag: Schema.tag<"bun">;
@@ -5362,7 +5393,165 @@ declare class LockfileIntegrity extends LockfileIntegrity_base {
5362
5393
  static compare(lockfile: Lockfile, manifests: ReadonlyArray<WorkspaceManifest>): LockfileIntegrity;
5363
5394
  }
5364
5395
  //#endregion
5365
- //#region ../../node_modules/.pnpm/@effected+package-json@0.7.2_effect@4.0.0-beta.101/node_modules/@effected/package-json/index.d.ts
5396
+ //#region ../../node_modules/.pnpm/@effected+npm@0.8.2_@effected+semver@0.3.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/index.d.ts
5397
+ //#region src/CatalogAssemblyError.d.ts
5398
+ declare const CatalogAssemblyError_base: Schema.Class<CatalogAssemblyError, Schema.TaggedStruct<"CatalogAssemblyError", {
5399
+ /**
5400
+ * Which input failed: `manifest` for a file-level or top-level shape problem,
5401
+ * `catalog` for a malformed catalog block or the double-default duplication,
5402
+ * `hooks` for a config-dependency `pnpmfile.cjs` load or replay failure.
5403
+ */
5404
+ readonly source: Schema.Literals<readonly ["manifest", "catalog", "hooks"]>;
5405
+ /** The file, the catalog name, or the config dependency name. */
5406
+ readonly path: Schema.String;
5407
+ /** The originating failure. */
5408
+ readonly cause: Schema.Defect;
5409
+ }>, import("effect/Cause").YieldableError>;
5410
+ /**
5411
+ * Raised when a workspace's catalogs cannot be assembled — a `pnpm-workspace.yaml`
5412
+ * that is unreadable or not valid YAML, a root `package.json` `workspaces` field
5413
+ * whose shape or catalog blocks are malformed in a way pnpm itself rejects
5414
+ * (including the default catalog declared twice), or a config dependency whose
5415
+ * `pnpmfile.cjs` cannot be loaded or replayed.
5416
+ *
5417
+ * @remarks
5418
+ * A *missing* `pnpm-workspace.yaml`, an *absent* `workspaces` field, or one
5419
+ * explicitly `null` is not an error: there is simply nothing to misread, so
5420
+ * assembly yields the empty set. The reader is otherwise **hard-fail by design** —
5421
+ * a silently-empty catalog read is the "every dependency looks newly added" bug,
5422
+ * because catalog output is load-bearing for snapshot diffing.
5423
+ *
5424
+ * Defined here, next to the {@link CatalogResolver} contract that raises it,
5425
+ * rather than in the implementing package (`@effected/workspaces`): folding it
5426
+ * into `DependencyResolutionError`'s defect `cause` forced every consumer to
5427
+ * `_tag`-sniff `unknown` to tell an assembly failure from a resolution failure.
5428
+ *
5429
+ * @public
5430
+ */
5431
+ declare class CatalogAssemblyError extends CatalogAssemblyError_base {
5432
+ /** Renders the failing source into a one-line message. */
5433
+ get message(): string;
5434
+ }
5435
+ //#endregion
5436
+ //#region src/WorkspaceResolver.d.ts
5437
+ declare const DependencyResolutionError_base: Schema.Class<DependencyResolutionError, Schema.TaggedStruct<"DependencyResolutionError", {
5438
+ readonly specifier: Schema.String;
5439
+ readonly cause: Schema.Defect;
5440
+ }>, import("effect/Cause").YieldableError>;
5441
+ /**
5442
+ * Raised when a `catalog:` or `workspace:` specifier cannot be resolved
5443
+ * because the resolution mechanism itself failed — not for an ordinary
5444
+ * unmatched specifier, which resolves to `Option.none()` instead. Both
5445
+ * {@link CatalogResolver} and {@link WorkspaceResolver} fail with it.
5446
+ *
5447
+ * `cause` preserves the originating failure on a structured `Schema.Defect`
5448
+ * field rather than folding it into a string, so callers can branch on the
5449
+ * original value (an `Error`, a parsed diagnostic, anything); `specifier`
5450
+ * records the specifier string that failed to resolve.
5451
+ *
5452
+ * @public
5453
+ */
5454
+ declare class DependencyResolutionError extends DependencyResolutionError_base {
5455
+ /** Renders `specifier` into a one-line failure message. */
5456
+ get message(): string;
5457
+ }
5458
+ declare const WorkspaceResolver_base: Context.ServiceClass<WorkspaceResolver, "@effected/npm/WorkspaceResolver", {
5459
+ readonly versionOf: (packageName: string) => Effect.Effect<Option.Option<string>, DependencyResolutionError>;
5460
+ }>;
5461
+ /**
5462
+ * Contract for resolving pnpm `workspace:` dependency specifiers to concrete
5463
+ * versions.
5464
+ *
5465
+ * `versionOf` takes a workspace package name and returns its concrete
5466
+ * version (the range modifier stripped) as `Option.some`, or
5467
+ * `Option.none()` when the name is not a known workspace member.
5468
+ *
5469
+ * This is a contract-only service: {@link WorkspaceResolver.noop} is the
5470
+ * sole implementation this package ships, and it resolves nothing. Real
5471
+ * consumers (e.g. `@effected/workspaces`) provide a working implementation
5472
+ * at the application boundary.
5473
+ *
5474
+ * @example
5475
+ * ```ts
5476
+ * import { Effect } from "effect";
5477
+ * import { WorkspaceResolver } from "@effected/npm";
5478
+ *
5479
+ * const program = Effect.gen(function* () {
5480
+ * const resolver = yield* WorkspaceResolver;
5481
+ * return yield* resolver.versionOf("@effected/semver");
5482
+ * });
5483
+ *
5484
+ * Effect.runPromise(Effect.provide(program, WorkspaceResolver.noop));
5485
+ * // => Option.none()
5486
+ * ```
5487
+ *
5488
+ * @public
5489
+ */
5490
+ declare class WorkspaceResolver extends WorkspaceResolver_base {
5491
+ /**
5492
+ * No-op default: `versionOf` always succeeds with `Option.none()`, never
5493
+ * consulting an actual workspace. A pure `Layer.succeed`, bound to a
5494
+ * const so it memoizes by reference.
5495
+ */
5496
+ static readonly noop: Layer.Layer<WorkspaceResolver>;
5497
+ }
5498
+ //#endregion
5499
+ //#region src/CatalogResolver.d.ts
5500
+ declare const CatalogResolver_base: Context.ServiceClass<CatalogResolver, "@effected/npm/CatalogResolver", {
5501
+ readonly rangeOf: (packageName: string, catalog: Option.Option<string>) => Effect.Effect<Option.Option<string>, CatalogAssemblyError | DependencyResolutionError>;
5502
+ }>;
5503
+ /**
5504
+ * Contract for resolving pnpm `catalog:` dependency specifiers to concrete
5505
+ * version ranges.
5506
+ *
5507
+ * `rangeOf` takes a package name and an optional catalog name
5508
+ * (`Option.none()` selects the default catalog) and returns the configured
5509
+ * range as `Option.some`, or `Option.none()` when the specifier is absent
5510
+ * from the catalog. By convention the error channel is reserved for a
5511
+ * failure in the resolution mechanism itself — an unmatched package or
5512
+ * catalog name is an `Option.none()` success, never an error. A failure to
5513
+ * *assemble* the catalogs (an unreadable or malformed catalog source)
5514
+ * surfaces typed as a {@link CatalogAssemblyError}; any other mechanism
5515
+ * failure is a {@link DependencyResolutionError}.
5516
+ *
5517
+ * This is a contract-only service: {@link CatalogResolver.noop} is the sole
5518
+ * implementation this package ships, and it resolves nothing. Real consumers
5519
+ * (e.g. `@effected/workspaces`) provide a working implementation at the
5520
+ * application boundary.
5521
+ *
5522
+ * @example
5523
+ * ```ts
5524
+ * import { Effect, Option } from "effect";
5525
+ * import { CatalogResolver } from "@effected/npm";
5526
+ *
5527
+ * const program = Effect.gen(function* () {
5528
+ * const resolver = yield* CatalogResolver;
5529
+ * return yield* resolver.rangeOf("effect", Option.none());
5530
+ * });
5531
+ *
5532
+ * Effect.runPromise(Effect.provide(program, CatalogResolver.noop));
5533
+ * // => Option.none()
5534
+ * ```
5535
+ *
5536
+ * @public
5537
+ */
5538
+ declare class CatalogResolver extends CatalogResolver_base {
5539
+ /**
5540
+ * No-op default: `rangeOf` always succeeds with `Option.none()`, never
5541
+ * consulting an actual catalog. A pure `Layer.succeed`, bound to a const
5542
+ * so it memoizes by reference — the layer is built once, not once per
5543
+ * reference to `CatalogResolver.noop`.
5544
+ */
5545
+ static readonly noop: Layer.Layer<CatalogResolver>;
5546
+ }
5547
+ /**
5548
+ * The classification of a dependency specifier's protocol.
5549
+ *
5550
+ * @public
5551
+ */
5552
+ type DependencyProtocol = "range" | "tag" | "git" | "url" | "npm" | "file" | "link" | "portal" | "catalog" | "workspace" | "unknown";
5553
+ //#endregion
5554
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.7.3_effect@4.0.0-beta.101/node_modules/@effected/package-json/index.d.ts
5366
5555
  //#region src/Dependency.d.ts
5367
5556
  declare const Dependency_base: Schema.Class<Dependency, Schema.Struct<{
5368
5557
  /** The package name. */
@@ -5944,7 +6133,7 @@ declare class Package extends Package_base {
5944
6133
  toJsonString(options?: PackageFormatOptions): string;
5945
6134
  }
5946
6135
  //#endregion
5947
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/index.d.ts
6136
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.10.0_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/index.d.ts
5948
6137
  //#region src/WorkspacePackage.d.ts
5949
6138
  declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
5950
6139
  /** Scoped-package visibility. Its presence overrides `private`. */
@@ -6608,7 +6797,7 @@ declare class WorkspaceDiscovery extends WorkspaceDiscovery_base {
6608
6797
  * // `Package.resolve` now resolves `workspace:*` for real.
6609
6798
  * ```
6610
6799
  */
6611
- static readonly workspaceResolver: Layer.Layer<WorkspaceResolver, never, WorkspaceDiscovery>;
6800
+ static readonly workspaceResolver: Layer.Layer<WorkspaceResolver$1, never, WorkspaceDiscovery>;
6612
6801
  }
6613
6802
  //#endregion
6614
6803
  //#region src/ConfigDependencyHooks.d.ts
@@ -6669,7 +6858,7 @@ interface ConfigDependencyHooksShape {
6669
6858
  * version+integrity) declared in `pnpm-workspace.yaml`.
6670
6859
  * @param seed - The inline catalogs, as `catalog name → dependency → range`.
6671
6860
  */
6672
- readonly inject: (root: string, configDependencies: Readonly<Record<string, string>>, seed: Readonly<Record<string, Readonly<Record<string, string>>>>) => Effect.Effect<HookInjection, CatalogAssemblyError>;
6861
+ readonly inject: (root: string, configDependencies: Readonly<Record<string, string>>, seed: Readonly<Record<string, Readonly<Record<string, string>>>>) => Effect.Effect<HookInjection, CatalogAssemblyError$1>;
6673
6862
  }
6674
6863
  declare const ConfigDependencyHooks_base: Context.ServiceClass<ConfigDependencyHooks, "@effected/workspaces/ConfigDependencyHooks", ConfigDependencyHooksShape>;
6675
6864
  /**
@@ -6711,6 +6900,58 @@ declare class ConfigDependencyHooks extends ConfigDependencyHooks_base {
6711
6900
  * `WorkspaceCatalogs.layerWithConfigDependencies`.
6712
6901
  */
6713
6902
  static readonly layerLive: Layer.Layer<ConfigDependencyHooks>;
6903
+ /**
6904
+ * The subprocess layer: replays each config dependency's pnpmfile in a `node`
6905
+ * child process instead of an in-process dynamic `import()`, with identical
6906
+ * typed semantics to {@link ConfigDependencyHooks.layerLive} — the two are
6907
+ * drop-in interchangeable.
6908
+ *
6909
+ * @remarks
6910
+ * `layerLive` computes the `import()` path at runtime, and a bundler (rspack,
6911
+ * for one) compiles a *computed* dynamic import into a context module that
6912
+ * throws `Cannot find module 'file:///…'` at runtime — so in any bundled
6913
+ * consumer, a GitHub Action above all, the in-process replay is unreachable.
6914
+ * This layer keeps every computed load out of the bundle graph: the replay
6915
+ * program is a **static** string constant passed via argv
6916
+ * (`node --input-type=module -e <script> <root> <seed> <...names>`), and the
6917
+ * child process performs the computed imports where no bundler rewrote them.
6918
+ * A subprocess also keeps config-dependency code out of the consumer's own
6919
+ * process.
6920
+ *
6921
+ * The contract's semantics are unchanged, not the downstream fail-open shape:
6922
+ * an empty `configDependencies` returns the seed without spawning anything; a
6923
+ * `..` path segment in a dependency name fails typed **before** any spawn; a
6924
+ * missing pnpmfile (neither `.mjs` nor `.cjs`) is the one legitimate skip,
6925
+ * discriminated inside the child by `err.url` equality exactly as
6926
+ * `layerLive` discriminates in process; any other load failure — a syntax
6927
+ * error, a throwing top level, an `ERR_MODULE_NOT_FOUND` for a module the
6928
+ * pnpmfile itself imports — and a hook that throws when called are serialized
6929
+ * back per-name and surface typed as a `hooks`-source `CatalogAssemblyError`
6930
+ * naming that dependency. A hook's returned *data* stays tolerantly threaded
6931
+ * (last well-formed write wins), never fatal. Spawn and transport failures —
6932
+ * `node` absent, a non-zero exit without a result payload, unparseable
6933
+ * output — fail typed too, never a defect and never a silent skip.
6934
+ *
6935
+ * Two bounds this layer imposes that `layerLive` cannot: the replay is
6936
+ * given thirty seconds (a pnpmfile that loops or awaits forever fails typed
6937
+ * instead of hanging the memoized assemble pass — a subprocess is killable,
6938
+ * while `layerLive`'s in-process synchronous hook call is not interruptible
6939
+ * by any means, so the asymmetry is inherent, not a parity violation), and
6940
+ * the child's stdout is captured under `Run.jsonLine`'s 16 MiB default
6941
+ * ceiling (a hook that logs more than that fails typed as `tooLarge`, where
6942
+ * `layerLive` — which captures nothing — would succeed).
6943
+ *
6944
+ * Catalog folding and normalization stay in the **parent** (the same
6945
+ * `@pnpm/catalogs`-derived path `layerLive` uses); the child returns only the
6946
+ * raw threaded config slice, since the script cannot import kit code.
6947
+ *
6948
+ * Requires core's `ChildProcessSpawner`, resolved when the layer is built —
6949
+ * the consumer provides it once at the edge (`@effect/platform-node`'s
6950
+ * `NodeServices.layer`), the same discharge `@effected/git` uses. Wired by
6951
+ * `WorkspaceCatalogs.layerWithConfigDependenciesSubprocess` /
6952
+ * `Workspaces.layerWithConfigDependenciesSubprocess`.
6953
+ */
6954
+ static readonly layerSubprocess: Layer.Layer<ConfigDependencyHooks, never, ChildProcessSpawner.ChildProcessSpawner>;
6714
6955
  }
6715
6956
  declare const DetectedPackageManager_base: Schema.Class<DetectedPackageManager, Schema.Struct<{
6716
6957
  /** The detected manager. */
@@ -7260,7 +7501,7 @@ declare class CatalogSet extends CatalogSet_base {
7260
7501
  *
7261
7502
  * @param text - The raw YAML text.
7262
7503
  */
7263
- static readonly fromWorkspaceYaml: (text: string) => Effect.Effect<CatalogSet, CatalogAssemblyError, never>;
7504
+ static readonly fromWorkspaceYaml: (text: string) => Effect.Effect<CatalogSet, CatalogAssemblyError$1, never>;
7264
7505
  /**
7265
7506
  * The `catalogs:` section of a pnpm lockfile, whose entries are either a bare
7266
7507
  * range or a `{ specifier, version }` pair.
@@ -7308,7 +7549,7 @@ declare class CatalogSet extends CatalogSet_base {
7308
7549
  *
7309
7550
  * @param text - The raw root `package.json` text.
7310
7551
  */
7311
- static readonly fromManifestWorkspaces: (text: string) => Effect.Effect<CatalogSet, CatalogAssemblyError, never>;
7552
+ static readonly fromManifestWorkspaces: (text: string) => Effect.Effect<CatalogSet, CatalogAssemblyError$1, never>;
7312
7553
  /** Merge sets. Later sets win per dependency within a catalog. */
7313
7554
  static merge(...sets: ReadonlyArray<CatalogSet>): CatalogSet;
7314
7555
  /** Whether any catalog declares anything. */
@@ -7340,7 +7581,7 @@ declare class CatalogSet extends CatalogSet_base {
7340
7581
  *
7341
7582
  * @public
7342
7583
  */
7343
- type CatalogAssemblyFailure = CatalogAssemblyError | WorkspaceRootNotFoundError;
7584
+ type CatalogAssemblyFailure = CatalogAssemblyError$1 | WorkspaceRootNotFoundError;
7344
7585
  /**
7345
7586
  * The {@link WorkspaceCatalogs} service shape.
7346
7587
  *
@@ -7443,6 +7684,24 @@ declare class WorkspaceCatalogs extends WorkspaceCatalogs_base {
7443
7684
  * Parameterized, so bind it to a `const` and reuse it.
7444
7685
  */
7445
7686
  static readonly layerWithConfigDependencies: (options?: WorkspaceCatalogsOptions) => Layer.Layer<WorkspaceCatalogs, never, WorkspaceRoot | LockfileReader | FileSystem.FileSystem | Path.Path>;
7687
+ /**
7688
+ * The opt-in layer that replays config-dependency `pnpmfile` hooks in a
7689
+ * `node` **child process**: it wires
7690
+ * {@link ConfigDependencyHooks.layerSubprocess} in place of the in-process
7691
+ * `layerLive`.
7692
+ *
7693
+ * @remarks
7694
+ * Same typed semantics as {@link WorkspaceCatalogs.layerWithConfigDependencies}
7695
+ * — the two hook layers are drop-in interchangeable — but the replay's
7696
+ * computed dynamic `import()` runs in the subprocess, so it survives bundling
7697
+ * (a bundler compiles a computed in-process `import()` into a context module
7698
+ * that cannot resolve at runtime — every bundled GitHub Action hits this).
7699
+ * The cost is one extra requirement: core's `ChildProcessSpawner`, provided
7700
+ * once at the edge (`@effect/platform-node`'s `NodeServices.layer`) — the
7701
+ * same sanctioned R-widening as `Workspaces.layerWithGit`. Parameterized, so
7702
+ * bind it to a `const` and reuse it.
7703
+ */
7704
+ static readonly layerWithConfigDependenciesSubprocess: (options?: WorkspaceCatalogsOptions) => Layer.Layer<WorkspaceCatalogs, never, WorkspaceRoot | LockfileReader | FileSystem.FileSystem | Path.Path | ChildProcessSpawner.ChildProcessSpawner>;
7446
7705
  /**
7447
7706
  * A test double satisfying the full {@link WorkspaceCatalogsShape} with no
7448
7707
  * filesystem, lockfile read, or hook replay.
@@ -7511,7 +7770,7 @@ declare class WorkspaceCatalogs extends WorkspaceCatalogs_base {
7511
7770
  * consumers to `_tag`-sniff `unknown`); only the remaining mechanism failure,
7512
7771
  * an unfindable workspace root, is wrapped as `DependencyResolutionError`.
7513
7772
  */
7514
- static readonly catalogResolver: Layer.Layer<CatalogResolver, never, WorkspaceCatalogs>;
7773
+ static readonly catalogResolver: Layer.Layer<CatalogResolver$1, never, WorkspaceCatalogs>;
7515
7774
  }
7516
7775
  //#endregion
7517
7776
  //#region src/WorkspaceStateSnapshot.d.ts
@@ -7671,15 +7930,15 @@ declare class WorkspaceStateSnapshot extends WorkspaceStateSnapshot_base {
7671
7930
  * were already assembled when it was captured, so this resolver is total —
7672
7931
  * `rangeOf` never fails.
7673
7932
  */
7674
- get catalogResolver(): Layer.Layer<CatalogResolver>;
7933
+ get catalogResolver(): Layer.Layer<CatalogResolver$1>;
7675
7934
  /**
7676
7935
  * A `WorkspaceResolver` layer implementing `@effected/npm`'s contract against
7677
7936
  * THIS snapshot's captured versions — so code written to the contract resolves
7678
7937
  * `workspace:` specifiers as of this ref. Built once per instance and cached.
7679
7938
  */
7680
- get workspaceResolver(): Layer.Layer<WorkspaceResolver>;
7939
+ get workspaceResolver(): Layer.Layer<WorkspaceResolver$1>;
7681
7940
  /** Both snapshot-scoped resolver layers merged. Built once per instance and cached. */
7682
- get resolvers(): Layer.Layer<CatalogResolver | WorkspaceResolver>;
7941
+ get resolvers(): Layer.Layer<CatalogResolver$1 | WorkspaceResolver$1>;
7683
7942
  }
7684
7943
  //#endregion
7685
7944
  //#region src/WorkspaceSnapshots.d.ts
@@ -7697,7 +7956,7 @@ declare class WorkspaceStateSnapshot extends WorkspaceStateSnapshot_base {
7697
7956
  *
7698
7957
  * @public
7699
7958
  */
7700
- type WorkspaceSnapshotAtFailure = GitCommandError | NotARepositoryError | UnknownRefError | CatalogAssemblyError | WorkspaceRootNotFoundError;
7959
+ type WorkspaceSnapshotAtFailure = GitCommandError | NotARepositoryError | UnknownRefError | CatalogAssemblyError$1 | WorkspaceRootNotFoundError;
7701
7960
  /**
7702
7961
  * Every failure `WorkspaceSnapshots.worktree` can surface: the discovery
7703
7962
  * failures plus a catalog-assembly failure.
@@ -7709,7 +7968,7 @@ type WorkspaceSnapshotAtFailure = GitCommandError | NotARepositoryError | Unknow
7709
7968
  *
7710
7969
  * @public
7711
7970
  */
7712
- type WorkspaceSnapshotWorktreeFailure = WorkspaceDiscoveryFailure | CatalogAssemblyError;
7971
+ type WorkspaceSnapshotWorktreeFailure = WorkspaceDiscoveryFailure | CatalogAssemblyError$1;
7713
7972
  /**
7714
7973
  * Options for the {@link WorkspaceSnapshots} layer.
7715
7974
  *
@@ -8195,7 +8454,7 @@ declare class Categories {
8195
8454
  static isValidHeading(heading: string): boolean;
8196
8455
  }
8197
8456
  //#endregion
8198
- //#region ../../node_modules/.pnpm/@changesets+types@7.0.0-next.8/node_modules/@changesets/types/dist/index.d.mts
8457
+ //#region ../../node_modules/.pnpm/@changesets+types@7.0.0-next.9/node_modules/@changesets/types/dist/index.d.mts
8199
8458
  //#region src/index.d.ts
8200
8459
  type MaybePromise<T> = T | Promise<T>;
8201
8460
  type VersionType$1 = "major" | "minor" | "patch" | "none";
@@ -8323,7 +8582,6 @@ type ChangelogFunctions = {
8323
8582
  type PreState = {
8324
8583
  mode: "pre" | "exit";
8325
8584
  tag: string;
8326
- changesets: string[];
8327
8585
  };
8328
8586
  //#endregion
8329
8587
  //#region src/changesets/api/changelog.d.ts