@savvy-web/silk 1.1.2 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/_virtual/_rolldown/runtime.js +1 -1
  2. package/changesets-changelog.cjs +25753 -929
  3. package/changesets-changelog.d.cts +175 -12
  4. package/changesets-changelog.d.ts +175 -12
  5. package/changesets-markdownlint.cjs +25753 -929
  6. package/changesets-markdownlint.d.cts +175 -12
  7. package/changesets-markdownlint.d.ts +175 -12
  8. package/package.json +8 -8
  9. package/packages/silk-effects/dist/dev/pkg/changesets/categories/types.cjs +0 -1
  10. package/packages/silk-effects/dist/dev/pkg/changesets/categories/types.js +0 -1
  11. package/packages/silk-effects/dist/dev/pkg/changesets/changelog/index.cjs +0 -2
  12. package/packages/silk-effects/dist/dev/pkg/changesets/changelog/index.js +0 -2
  13. package/packages/silk-effects/dist/dev/pkg/changesets/constants.cjs +0 -1
  14. package/packages/silk-effects/dist/dev/pkg/changesets/constants.js +0 -1
  15. package/packages/silk-effects/dist/dev/pkg/changesets/errors.cjs +26 -1
  16. package/packages/silk-effects/dist/dev/pkg/changesets/errors.js +25 -2
  17. package/packages/silk-effects/dist/dev/pkg/changesets/index.cjs +16 -1
  18. package/packages/silk-effects/dist/dev/pkg/changesets/index.js +17 -2
  19. package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/dependency-table-format.cjs +2 -2
  20. package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/dependency-table-format.js +2 -2
  21. package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/uncategorized-content.cjs +1 -1
  22. package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/uncategorized-content.js +1 -1
  23. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/changeset.cjs +0 -1
  24. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/changeset.js +0 -1
  25. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/dependency-table.cjs +0 -1
  26. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/dependency-table.js +0 -1
  27. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/git.cjs +0 -1
  28. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/git.js +0 -1
  29. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/github.cjs +0 -1
  30. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/github.js +0 -1
  31. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/options.cjs +0 -1
  32. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/options.js +0 -1
  33. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/package-scope.cjs +0 -1
  34. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/package-scope.js +0 -1
  35. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/primitives.cjs +0 -1
  36. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/primitives.js +0 -1
  37. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/release-plan.cjs +62 -0
  38. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/release-plan.js +56 -0
  39. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/version-files.cjs +0 -1
  40. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/version-files.js +0 -1
  41. package/packages/silk-effects/dist/dev/pkg/changesets/services/branch-analyzer.cjs +0 -1
  42. package/packages/silk-effects/dist/dev/pkg/changesets/services/branch-analyzer.js +0 -1
  43. package/packages/silk-effects/dist/dev/pkg/changesets/services/config-inspector.cjs +2 -3
  44. package/packages/silk-effects/dist/dev/pkg/changesets/services/config-inspector.js +2 -3
  45. package/packages/silk-effects/dist/dev/pkg/changesets/services/release-planner.cjs +254 -0
  46. package/packages/silk-effects/dist/dev/pkg/changesets/services/release-planner.js +251 -0
  47. package/packages/silk-effects/dist/dev/pkg/changesets/utils/publishability.cjs +3 -4
  48. package/packages/silk-effects/dist/dev/pkg/changesets/utils/publishability.js +3 -4
  49. package/packages/silk-effects/dist/dev/pkg/changesets/utils/worktree-snapshot.cjs +1 -1
  50. package/packages/silk-effects/dist/dev/pkg/changesets/utils/worktree-snapshot.js +1 -1
  51. package/packages/silk-effects/dist/dev/pkg/errors/ChangesetConfigError.cjs +2 -1
  52. package/packages/silk-effects/dist/dev/pkg/errors/ChangesetConfigError.js +2 -1
  53. package/packages/silk-effects/dist/dev/pkg/schemas/VersioningSchemas.cjs +7 -3
  54. package/packages/silk-effects/dist/dev/pkg/schemas/VersioningSchemas.js +7 -3
  55. package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfig.cjs +2 -0
  56. package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfig.js +2 -0
  57. package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfigReader.cjs +4 -2
  58. package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfigReader.js +4 -2
  59. package/packages/silk-effects/dist/dev/pkg/services/SilkPublishability.cjs +17 -13
  60. package/packages/silk-effects/dist/dev/pkg/services/SilkPublishability.js +17 -13
@@ -3298,7 +3298,7 @@ type Label = Label$1;
3298
3298
  type Severity = Severity$1;
3299
3299
  type Plugin<Tree extends Node$3 = Node$3, Option extends unknown = unknown> = (config?: [level: Label | Severity | boolean, option?: Option] | Label | Option | Severity) => ((tree: Tree, file: VFile, next: TransformCallback<Tree>) => undefined) | undefined;
3300
3300
  //#endregion
3301
- //#region ../../node_modules/.pnpm/workspaces-effect@1.2.0_@effect+platform@0.96.1_effect@3.21.3__effect@3.21.3/node_modules/workspaces-effect/index.d.ts
3301
+ //#region ../../node_modules/.pnpm/workspaces-effect@1.2.0_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.d.ts
3302
3302
  /**
3303
3303
  * Result of comparing two WorkspacePackage dependency snapshots.
3304
3304
  * @public
@@ -4328,6 +4328,11 @@ type Changeset$1 = {
4328
4328
  type NewChangeset = Changeset$1 & {
4329
4329
  id: string;
4330
4330
  };
4331
+ type ReleasePlan = {
4332
+ changesets: NewChangeset[];
4333
+ releases: ComprehensiveRelease[];
4334
+ preState: PreState | undefined;
4335
+ };
4331
4336
  type PackageJSON = {
4332
4337
  name: string;
4333
4338
  version: string;
@@ -4365,6 +4370,14 @@ type GetDependencyReleaseLine = (changesets: NewChangesetWithCommit[], dependenc
4365
4370
  type ChangelogFunctions = {
4366
4371
  getReleaseLine: GetReleaseLine;
4367
4372
  getDependencyReleaseLine: GetDependencyReleaseLine;
4373
+ };
4374
+ type PreState = {
4375
+ mode: "pre" | "exit";
4376
+ tag: string;
4377
+ initialVersions: {
4378
+ [pkgName: string]: string;
4379
+ };
4380
+ changesets: string[];
4368
4381
  }; //#endregion
4369
4382
  //#region src/changesets/api/changelog.d.ts
4370
4383
  /**
@@ -6188,7 +6201,6 @@ declare const changelogFunctions: ChangelogFunctions; //#endregion
6188
6201
  *
6189
6202
  * @see {@link https://effect.website/docs/data-types/data#taggerror | Effect TaggedError documentation}
6190
6203
  *
6191
- * @packageDocumentation
6192
6204
  */
6193
6205
  /**
6194
6206
  * Base class for {@link ChangesetValidationError}.
@@ -6490,6 +6502,33 @@ declare class GitError extends GitErrorBase<{
6490
6502
  readonly reason: string;
6491
6503
  }> {
6492
6504
  get message(): string;
6505
+ }
6506
+ /**
6507
+ * Base class for {@link ReleasePlanError}.
6508
+ *
6509
+ * @privateRemarks
6510
+ * Required export for api-extractor (anonymous Data.TaggedError base). Do not delete.
6511
+ *
6512
+ * @internal
6513
+ */
6514
+ declare const ReleasePlanErrorBase: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }>) => import("effect/Cause").YieldableError & {
6515
+ readonly _tag: "ReleasePlanError";
6516
+ } & Readonly<A>;
6517
+ /**
6518
+ * Release planning, preview, or apply failure.
6519
+ *
6520
+ * @remarks
6521
+ * Wraps any failure from the underlying `@changesets/*` machinery
6522
+ * (`getReleasePlan`, `applyReleasePlan`, config resolution) into a typed
6523
+ * Effect error, tagged with the phase that failed.
6524
+ *
6525
+ * @public
6526
+ */
6527
+ declare class ReleasePlanError extends ReleasePlanErrorBase<{
6528
+ /** The phase that failed. */readonly phase: "plan" | "preview" | "apply"; /** Human-readable failure reason. */
6529
+ readonly reason: string;
6530
+ }> {
6531
+ get message(): string;
6493
6532
  } //#endregion
6494
6533
  //#region src/errors/ChangesetConfigError.d.ts
6495
6534
  declare const ChangesetConfigError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }>) => import("effect/Cause").YieldableError & {
@@ -6499,10 +6538,11 @@ declare const ChangesetConfigError_base: new <A extends Record<string, any> = {}
6499
6538
  * Raised when the `.changeset/config.json` file cannot be read or decoded.
6500
6539
  *
6501
6540
  * @remarks
6502
- * Returned by {@link ChangesetConfigReader.read} when the file is missing,
6541
+ * Returned by `ChangesetConfigReader.read` when the file is missing,
6503
6542
  * contains invalid JSON, or fails Effect Schema validation.
6504
6543
  *
6505
6544
  * @since 0.1.0
6545
+ * @public
6506
6546
  */
6507
6547
  declare class ChangesetConfigError extends ChangesetConfigError_base<{
6508
6548
  readonly path: string;
@@ -6516,11 +6556,12 @@ declare class ChangesetConfigError extends ChangesetConfigError_base<{
6516
6556
  *
6517
6557
  * @remarks
6518
6558
  * Represents the parsed `.changeset/config.json` file. All fields are optional
6519
- * to allow partial configs. Use {@link SilkChangesetConfigFile} when the Silk changelog
6559
+ * to allow partial configs. Use {@link (SilkChangesetConfigFile:type)} when the Silk changelog
6520
6560
  * adapter is detected.
6521
6561
  *
6522
6562
  * @since 0.1.0
6523
6563
  */
6564
+ /** @public */
6524
6565
  declare const ChangesetConfigFile: Schema.Struct<{
6525
6566
  changelog: Schema.optional<Schema.Union<[typeof Schema.String, Schema.Array$<typeof Schema.Unknown>, Schema.Literal<[false]>]>>;
6526
6567
  commit: Schema.optional<Schema.Union<[typeof Schema.Boolean, typeof Schema.String, Schema.Array$<typeof Schema.Unknown>]>>;
@@ -6542,18 +6583,22 @@ declare const ChangesetConfigFile: Schema.Struct<{
6542
6583
  prereleaseTemplate: Schema.optional<typeof Schema.String>;
6543
6584
  }>>;
6544
6585
  }>;
6545
- /** @since 0.1.0 */
6586
+ /**
6587
+ * @since 0.1.0
6588
+ * @public
6589
+ */
6546
6590
  type ChangesetConfigFile = typeof ChangesetConfigFile.Type;
6547
6591
  /**
6548
6592
  * Extended changeset config for repos using the `@savvy-web/changesets` changelog adapter.
6549
6593
  *
6550
6594
  * @remarks
6551
- * Extends {@link ChangesetConfigFile} with a `_isSilk` marker flag that is automatically
6595
+ * Extends {@link (ChangesetConfigFile:type)} with a `_isSilk` marker flag that is automatically
6552
6596
  * set to `true`. Detected by {@link ChangesetConfigReader} when the `changelog` field
6553
6597
  * references `@savvy-web/changesets`.
6554
6598
  *
6555
6599
  * @since 0.1.0
6556
6600
  */
6601
+ /** @public */
6557
6602
  declare const SilkChangesetConfigFile: Schema.extend<Schema.Struct<{
6558
6603
  changelog: Schema.optional<Schema.Union<[typeof Schema.String, Schema.Array$<typeof Schema.Unknown>, Schema.Literal<[false]>]>>;
6559
6604
  commit: Schema.optional<Schema.Union<[typeof Schema.Boolean, typeof Schema.String, Schema.Array$<typeof Schema.Unknown>]>>;
@@ -6579,7 +6624,10 @@ declare const SilkChangesetConfigFile: Schema.extend<Schema.Struct<{
6579
6624
  default: () => true;
6580
6625
  }>;
6581
6626
  }>>;
6582
- /** @since 0.1.0 */
6627
+ /**
6628
+ * @since 0.1.0
6629
+ * @public
6630
+ */
6583
6631
  type SilkChangesetConfigFile = typeof SilkChangesetConfigFile.Type;
6584
6632
  /**
6585
6633
  * Versioning strategy classification for a workspace.
@@ -6590,6 +6638,7 @@ type SilkChangesetConfigFile = typeof SilkChangesetConfigFile.Type;
6590
6638
  * - `"independent"` — multiple publishable packages with independent version bumps.
6591
6639
  *
6592
6640
  * @since 0.1.0
6641
+ * @public
6593
6642
  */
6594
6643
  //#endregion
6595
6644
  //#region src/services/ChangesetConfigReader.d.ts
@@ -6609,8 +6658,8 @@ declare const ChangesetConfigReader_base: Context.TagClass<ChangesetConfigReader
6609
6658
  *
6610
6659
  * @remarks
6611
6660
  * Automatically detects whether the config uses the Silk changelog adapter
6612
- * (`@savvy-web/changesets`) and decodes as {@link SilkChangesetConfigFile} or the
6613
- * standard {@link ChangesetConfigFile} accordingly.
6661
+ * (`@savvy-web/changesets`) and decodes as {@link (SilkChangesetConfigFile:type)} or the
6662
+ * standard {@link (ChangesetConfigFile:type)} accordingly.
6614
6663
  *
6615
6664
  * @example
6616
6665
  * ```typescript
@@ -6626,6 +6675,7 @@ declare const ChangesetConfigReader_base: Context.TagClass<ChangesetConfigReader
6626
6675
  * ```
6627
6676
  *
6628
6677
  * @since 0.1.0
6678
+ * @public
6629
6679
  */
6630
6680
  declare class ChangesetConfigReader extends ChangesetConfigReader_base {}
6631
6681
  /**
@@ -6636,6 +6686,7 @@ declare class ChangesetConfigReader extends ChangesetConfigReader_base {}
6636
6686
  * `BunContext.layer` to satisfy this dependency.
6637
6687
  *
6638
6688
  * @since 0.1.0
6689
+ * @public
6639
6690
  */
6640
6691
  //#endregion
6641
6692
  //#region src/changesets/services/config-inspector.d.ts
@@ -6768,7 +6819,7 @@ declare class ConfigInspector extends ConfigInspectorBase {}
6768
6819
  /**
6769
6820
  * Live layer for {@link ConfigInspector}.
6770
6821
  *
6771
- * Requires {@link ChangesetConfigReader} and {@link WorkspaceDiscovery}
6822
+ * Requires {@link ChangesetConfigReader} and `WorkspaceDiscovery`
6772
6823
  * in the environment.
6773
6824
  *
6774
6825
  * @public
@@ -7402,6 +7453,118 @@ declare const ChangelogServiceBase: Context.TagClass<ChangelogService, "Changelo
7402
7453
  * @public
7403
7454
  */
7404
7455
  declare class ChangelogService extends ChangelogServiceBase {} //#endregion
7456
+ //#region src/changesets/schemas/release-plan.d.ts
7457
+ /** A semantic-version bump level (the `"none"` plan type is filtered out upstream). @public */
7458
+ declare const BumpTypeSchema: Schema.Literal<["major", "minor", "patch"]>;
7459
+ /** A semantic-version bump level. @public */
7460
+ type BumpType = Schema.Schema.Type<typeof BumpTypeSchema>;
7461
+ /** One package's previewed release: version transition + rendered changelog block. @public */
7462
+ declare const PreviewReleaseSchema: Schema.Struct<{
7463
+ name: typeof Schema.String;
7464
+ type: Schema.Literal<["major", "minor", "patch"]>;
7465
+ oldVersion: typeof Schema.String;
7466
+ newVersion: typeof Schema.String;
7467
+ changesetIds: Schema.Array$<typeof Schema.String>;
7468
+ changelogEntry: typeof Schema.String;
7469
+ }>;
7470
+ /** One package's previewed release. @public */
7471
+ type PreviewRelease = Schema.Schema.Type<typeof PreviewReleaseSchema>;
7472
+ /** A parsed pending changeset (id + summary + the packages it bumps). @public */
7473
+ declare const PendingChangesetSchema: Schema.Struct<{
7474
+ id: typeof Schema.String;
7475
+ summary: typeof Schema.String;
7476
+ releases: Schema.Array$<Schema.Struct<{
7477
+ name: typeof Schema.String;
7478
+ type: Schema.Literal<["major", "minor", "patch"]>;
7479
+ }>>;
7480
+ }>;
7481
+ /** A parsed pending changeset. @public */
7482
+ type PendingChangeset = Schema.Schema.Type<typeof PendingChangesetSchema>;
7483
+ /** Read-only preview of what the next release would produce. @public */
7484
+ declare const ChangesetPreviewSchema: Schema.Struct<{
7485
+ preMode: Schema.NullOr<Schema.Literal<["exit", "pre"]>>;
7486
+ releases: Schema.Array$<Schema.Struct<{
7487
+ name: typeof Schema.String;
7488
+ type: Schema.Literal<["major", "minor", "patch"]>;
7489
+ oldVersion: typeof Schema.String;
7490
+ newVersion: typeof Schema.String;
7491
+ changesetIds: Schema.Array$<typeof Schema.String>;
7492
+ changelogEntry: typeof Schema.String;
7493
+ }>>;
7494
+ changesets: Schema.Array$<Schema.Struct<{
7495
+ id: typeof Schema.String;
7496
+ summary: typeof Schema.String;
7497
+ releases: Schema.Array$<Schema.Struct<{
7498
+ name: typeof Schema.String;
7499
+ type: Schema.Literal<["major", "minor", "patch"]>;
7500
+ }>>;
7501
+ }>>;
7502
+ }>;
7503
+ /** Read-only preview of what the next release would produce. @public */
7504
+ type ChangesetPreview = Schema.Schema.Type<typeof ChangesetPreviewSchema>;
7505
+ /** One applied package release (version transition). @public */
7506
+ declare const AppliedReleaseEntrySchema: Schema.Struct<{
7507
+ name: typeof Schema.String;
7508
+ type: Schema.Literal<["major", "minor", "patch"]>;
7509
+ oldVersion: typeof Schema.String;
7510
+ newVersion: typeof Schema.String;
7511
+ }>;
7512
+ /** A single versionFiles update applied (or planned, when dry). @public */
7513
+ declare const VersionFileUpdateRecordSchema: Schema.Struct<{
7514
+ filePath: typeof Schema.String;
7515
+ version: typeof Schema.String;
7516
+ }>;
7517
+ /** Result of {@link ReleasePlanner.apply}. @public */
7518
+ declare const AppliedReleaseSchema: Schema.Struct<{
7519
+ dryRun: typeof Schema.Boolean;
7520
+ touchedFiles: Schema.Array$<typeof Schema.String>;
7521
+ releases: Schema.Array$<Schema.Struct<{
7522
+ name: typeof Schema.String;
7523
+ type: Schema.Literal<["major", "minor", "patch"]>;
7524
+ oldVersion: typeof Schema.String;
7525
+ newVersion: typeof Schema.String;
7526
+ }>>;
7527
+ versionFileUpdates: Schema.Array$<Schema.Struct<{
7528
+ filePath: typeof Schema.String;
7529
+ version: typeof Schema.String;
7530
+ }>>;
7531
+ }>;
7532
+ /** Result of a native apply. @public */
7533
+ type AppliedRelease = Schema.Schema.Type<typeof AppliedReleaseSchema>; //#endregion
7534
+ //#region src/changesets/services/release-planner.d.ts
7535
+ /** The `ReleasePlanner` service surface. @public */
7536
+ interface ReleasePlannerShape {
7537
+ /** Compute the in-memory release plan (read-only). */
7538
+ readonly plan: (root: string) => Effect.Effect<ReleasePlan, ReleasePlanError>;
7539
+ /** Render a non-destructive preview of the next release. */
7540
+ readonly preview: (root: string) => Effect.Effect<ChangesetPreview, ReleasePlanError>;
7541
+ /** Natively apply the release (destructive unless `dryRun`). */
7542
+ readonly apply: (root: string, options?: {
7543
+ readonly dryRun?: boolean;
7544
+ }) => Effect.Effect<AppliedRelease, ReleasePlanError>;
7545
+ }
7546
+ /**
7547
+ * Base class for {@link ReleasePlanner}.
7548
+ *
7549
+ * @privateRemarks Required export for api-extractor (anonymous Context.Tag base). Do not delete.
7550
+ * @internal
7551
+ */
7552
+ declare const ReleasePlannerBase: Context.TagClass<ReleasePlanner, "ReleasePlanner", ReleasePlannerShape>;
7553
+ /** Effect service tag for the release planner. @public */
7554
+ declare class ReleasePlanner extends ReleasePlannerBase {}
7555
+ /** Production layer. Requires {@link ConfigInspector} (used by `apply`). @public */
7556
+ declare const ReleasePlannerLive: Layer.Layer<ReleasePlanner, never, ConfigInspector>;
7557
+ /**
7558
+ * Test factory — supply fixed results for any subset of methods. Unsupplied
7559
+ * methods fail with a `ReleasePlanError`.
7560
+ *
7561
+ * @public
7562
+ */
7563
+ declare function makeReleasePlannerTest(fixed: {
7564
+ readonly plan?: ReleasePlan;
7565
+ readonly preview?: ChangesetPreview;
7566
+ readonly apply?: AppliedRelease;
7567
+ }): Layer.Layer<ReleasePlanner>; //#endregion
7405
7568
  //#region src/changesets/services/workspace-snapshot.d.ts
7406
7569
  /**
7407
7570
  * One workspace package as it existed at a specific git ref.
@@ -8150,7 +8313,7 @@ declare function serializeDependencyTableToMarkdown(rows: DependencyTableRow[]):
8150
8313
  * Compute the set of currently-publishable workspace package names.
8151
8314
  *
8152
8315
  * @remarks
8153
- * Uses the currently-active {@link PublishabilityDetector} — wire the
8316
+ * Uses the currently-active {@link SilkPublishability} — wire the
8154
8317
  * {@link SilkPublishabilityDetectorLive} layer to get silk semantics.
8155
8318
  *
8156
8319
  * @param packages - The workspace packages to evaluate
@@ -9036,7 +9199,7 @@ declare const RequiredSectionsRule$2: Plugin<Root, unknown>; //#endregion
9036
9199
  //#region src/changesets/remark/rules/uncategorized-content.d.ts
9037
9200
  declare const UncategorizedContentRule$2: Plugin<Root, unknown>;
9038
9201
  declare namespace index_d_exports {
9039
- export { AggregateDependencyTablesPlugin, BranchAnalysis, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerBase, BranchAnalyzerLive, BranchAnalyzerShape, BranchFileEntry, BranchFileEntrySchema, Categories, Changelog, ChangelogService, ChangelogServiceBase, ChangelogServiceShape, ChangelogTransformer, Changeset, ChangesetLinter, ChangesetOptions, ChangesetOptionsSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, ChangesetValidationErrorBase, Classification, ClassificationReason, ClassificationReasonSchema, ClassificationSchema, CommitHashSchema, ConfigInspector, ConfigInspectorBase, ConfigInspectorLive, ConfigInspectorShape, ConfigurationError, ConfigurationErrorBase, ContentStructureRule$2 as ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, DependencyTableFormatRule$2 as DependencyTableFormatRule, DependencyTableRow, DependencyTableRowSchema, DependencyTableSchema, DependencyTableType, DependencyTableTypeSchema, DependencyType, DependencyTypeSchema, DependencyUpdate, DependencyUpdateSchema, FileStatus, FileStatusSchema, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, GitHubCommitInfo, GitHubInfo, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceBase, GitHubServiceShape, GlobSchema, HeadingHierarchyRule$2 as HeadingHierarchyRule, InspectedConfig, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfig, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, LintMessage, MarkdownLive, MarkdownParseError, MarkdownParseErrorBase, MarkdownService, MarkdownServiceBase, MarkdownServiceShape, ContentStructureRule$1 as MarkdownlintContentStructureRule, DependencyTableFormatRule$1 as MarkdownlintDependencyTableFormatRule, HeadingHierarchyRule$1 as MarkdownlintHeadingHierarchyRule, RequiredSectionsRule$1 as MarkdownlintRequiredSectionsRule, UncategorizedContentRule$1 as MarkdownlintUncategorizedContentRule, MergeSectionsPlugin, NonEmptyString, NormalizeFormatPlugin, PackageScope, PackageScopeSchema, PackagesRecordSchema, PositiveInteger, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule$2 as RequiredSectionsRule, ResolvedPackageScope, ResolvedPackageScopeSchema, ResolvedVersionFile, ResolvedVersionFileSchema, SectionCategory, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules$1 as SilkChangesetsRules, UncategorizedContentRule$2 as UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VersionFileConfig, VersionFileConfigSchema, VersionFileError, VersionFileErrorBase, VersionFileUpdate, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionType, VersionTypeSchema, WorkspaceDependencyDiff, WorkspaceSnapshot, WorkspaceSnapshotReader, WorkspaceSnapshotReaderBase, WorkspaceSnapshotReaderLive, WorkspaceSnapshotReaderShape, WorkspaceVersion, changelogFunctions, computeWorkspaceDependencyDiffs, gitMergeBase, listPublishablePackageNames, makeBranchAnalyzerTest, makeConfigInspectorTest, makeGitHubTest, serializeDependencyTableToMarkdown, snapshotFromWorktree };
9202
+ export { AggregateDependencyTablesPlugin, AppliedRelease, AppliedReleaseEntrySchema, AppliedReleaseSchema, BranchAnalysis, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerBase, BranchAnalyzerLive, BranchAnalyzerShape, BranchFileEntry, BranchFileEntrySchema, BumpType, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceBase, ChangelogServiceShape, ChangelogTransformer, Changeset, ChangesetLinter, ChangesetOptions, ChangesetOptionsSchema, ChangesetPreview, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, ChangesetValidationErrorBase, Classification, ClassificationReason, ClassificationReasonSchema, ClassificationSchema, CommitHashSchema, ConfigInspector, ConfigInspectorBase, ConfigInspectorLive, ConfigInspectorShape, ConfigurationError, ConfigurationErrorBase, ContentStructureRule$2 as ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, DependencyTableFormatRule$2 as DependencyTableFormatRule, DependencyTableRow, DependencyTableRowSchema, DependencyTableSchema, DependencyTableType, DependencyTableTypeSchema, DependencyType, DependencyTypeSchema, DependencyUpdate, DependencyUpdateSchema, FileStatus, FileStatusSchema, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, GitHubCommitInfo, GitHubInfo, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceBase, GitHubServiceShape, GlobSchema, HeadingHierarchyRule$2 as HeadingHierarchyRule, InspectedConfig, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfig, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, LintMessage, MarkdownLive, MarkdownParseError, MarkdownParseErrorBase, MarkdownService, MarkdownServiceBase, MarkdownServiceShape, ContentStructureRule$1 as MarkdownlintContentStructureRule, DependencyTableFormatRule$1 as MarkdownlintDependencyTableFormatRule, HeadingHierarchyRule$1 as MarkdownlintHeadingHierarchyRule, RequiredSectionsRule$1 as MarkdownlintRequiredSectionsRule, UncategorizedContentRule$1 as MarkdownlintUncategorizedContentRule, MergeSectionsPlugin, NonEmptyString, NormalizeFormatPlugin, PackageScope, PackageScopeSchema, PackagesRecordSchema, PendingChangeset, PendingChangesetSchema, PositiveInteger, PreviewRelease, PreviewReleaseSchema, ReleasePlanError, ReleasePlanErrorBase, ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, ReleasePlannerShape, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule$2 as RequiredSectionsRule, ResolvedPackageScope, ResolvedPackageScopeSchema, ResolvedVersionFile, ResolvedVersionFileSchema, SectionCategory, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules$1 as SilkChangesetsRules, UncategorizedContentRule$2 as UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VersionFileConfig, VersionFileConfigSchema, VersionFileError, VersionFileErrorBase, VersionFileUpdate, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionType, VersionTypeSchema, WorkspaceDependencyDiff, WorkspaceSnapshot, WorkspaceSnapshotReader, WorkspaceSnapshotReaderBase, WorkspaceSnapshotReaderLive, WorkspaceSnapshotReaderShape, WorkspaceVersion, changelogFunctions, computeWorkspaceDependencyDiffs, gitMergeBase, listPublishablePackageNames, makeBranchAnalyzerTest, makeConfigInspectorTest, makeGitHubTest, makeReleasePlannerTest, serializeDependencyTableToMarkdown, snapshotFromWorktree };
9040
9203
  } //#endregion
9041
9204
  //#region src/commitlint/config/schema.d.ts
9042
9205
  /**
@@ -3298,7 +3298,7 @@ type Label = Label$1;
3298
3298
  type Severity = Severity$1;
3299
3299
  type Plugin<Tree extends Node$3 = Node$3, Option extends unknown = unknown> = (config?: [level: Label | Severity | boolean, option?: Option] | Label | Option | Severity) => ((tree: Tree, file: VFile, next: TransformCallback<Tree>) => undefined) | undefined;
3300
3300
  //#endregion
3301
- //#region ../../node_modules/.pnpm/workspaces-effect@1.2.0_@effect+platform@0.96.1_effect@3.21.3__effect@3.21.3/node_modules/workspaces-effect/index.d.ts
3301
+ //#region ../../node_modules/.pnpm/workspaces-effect@1.2.0_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.d.ts
3302
3302
  /**
3303
3303
  * Result of comparing two WorkspacePackage dependency snapshots.
3304
3304
  * @public
@@ -4328,6 +4328,11 @@ type Changeset$1 = {
4328
4328
  type NewChangeset = Changeset$1 & {
4329
4329
  id: string;
4330
4330
  };
4331
+ type ReleasePlan = {
4332
+ changesets: NewChangeset[];
4333
+ releases: ComprehensiveRelease[];
4334
+ preState: PreState | undefined;
4335
+ };
4331
4336
  type PackageJSON = {
4332
4337
  name: string;
4333
4338
  version: string;
@@ -4365,6 +4370,14 @@ type GetDependencyReleaseLine = (changesets: NewChangesetWithCommit[], dependenc
4365
4370
  type ChangelogFunctions = {
4366
4371
  getReleaseLine: GetReleaseLine;
4367
4372
  getDependencyReleaseLine: GetDependencyReleaseLine;
4373
+ };
4374
+ type PreState = {
4375
+ mode: "pre" | "exit";
4376
+ tag: string;
4377
+ initialVersions: {
4378
+ [pkgName: string]: string;
4379
+ };
4380
+ changesets: string[];
4368
4381
  }; //#endregion
4369
4382
  //#region src/changesets/api/changelog.d.ts
4370
4383
  /**
@@ -6188,7 +6201,6 @@ declare const changelogFunctions: ChangelogFunctions; //#endregion
6188
6201
  *
6189
6202
  * @see {@link https://effect.website/docs/data-types/data#taggerror | Effect TaggedError documentation}
6190
6203
  *
6191
- * @packageDocumentation
6192
6204
  */
6193
6205
  /**
6194
6206
  * Base class for {@link ChangesetValidationError}.
@@ -6490,6 +6502,33 @@ declare class GitError extends GitErrorBase<{
6490
6502
  readonly reason: string;
6491
6503
  }> {
6492
6504
  get message(): string;
6505
+ }
6506
+ /**
6507
+ * Base class for {@link ReleasePlanError}.
6508
+ *
6509
+ * @privateRemarks
6510
+ * Required export for api-extractor (anonymous Data.TaggedError base). Do not delete.
6511
+ *
6512
+ * @internal
6513
+ */
6514
+ declare const ReleasePlanErrorBase: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }>) => import("effect/Cause").YieldableError & {
6515
+ readonly _tag: "ReleasePlanError";
6516
+ } & Readonly<A>;
6517
+ /**
6518
+ * Release planning, preview, or apply failure.
6519
+ *
6520
+ * @remarks
6521
+ * Wraps any failure from the underlying `@changesets/*` machinery
6522
+ * (`getReleasePlan`, `applyReleasePlan`, config resolution) into a typed
6523
+ * Effect error, tagged with the phase that failed.
6524
+ *
6525
+ * @public
6526
+ */
6527
+ declare class ReleasePlanError extends ReleasePlanErrorBase<{
6528
+ /** The phase that failed. */readonly phase: "plan" | "preview" | "apply"; /** Human-readable failure reason. */
6529
+ readonly reason: string;
6530
+ }> {
6531
+ get message(): string;
6493
6532
  } //#endregion
6494
6533
  //#region src/errors/ChangesetConfigError.d.ts
6495
6534
  declare const ChangesetConfigError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }>) => import("effect/Cause").YieldableError & {
@@ -6499,10 +6538,11 @@ declare const ChangesetConfigError_base: new <A extends Record<string, any> = {}
6499
6538
  * Raised when the `.changeset/config.json` file cannot be read or decoded.
6500
6539
  *
6501
6540
  * @remarks
6502
- * Returned by {@link ChangesetConfigReader.read} when the file is missing,
6541
+ * Returned by `ChangesetConfigReader.read` when the file is missing,
6503
6542
  * contains invalid JSON, or fails Effect Schema validation.
6504
6543
  *
6505
6544
  * @since 0.1.0
6545
+ * @public
6506
6546
  */
6507
6547
  declare class ChangesetConfigError extends ChangesetConfigError_base<{
6508
6548
  readonly path: string;
@@ -6516,11 +6556,12 @@ declare class ChangesetConfigError extends ChangesetConfigError_base<{
6516
6556
  *
6517
6557
  * @remarks
6518
6558
  * Represents the parsed `.changeset/config.json` file. All fields are optional
6519
- * to allow partial configs. Use {@link SilkChangesetConfigFile} when the Silk changelog
6559
+ * to allow partial configs. Use {@link (SilkChangesetConfigFile:type)} when the Silk changelog
6520
6560
  * adapter is detected.
6521
6561
  *
6522
6562
  * @since 0.1.0
6523
6563
  */
6564
+ /** @public */
6524
6565
  declare const ChangesetConfigFile: Schema.Struct<{
6525
6566
  changelog: Schema.optional<Schema.Union<[typeof Schema.String, Schema.Array$<typeof Schema.Unknown>, Schema.Literal<[false]>]>>;
6526
6567
  commit: Schema.optional<Schema.Union<[typeof Schema.Boolean, typeof Schema.String, Schema.Array$<typeof Schema.Unknown>]>>;
@@ -6542,18 +6583,22 @@ declare const ChangesetConfigFile: Schema.Struct<{
6542
6583
  prereleaseTemplate: Schema.optional<typeof Schema.String>;
6543
6584
  }>>;
6544
6585
  }>;
6545
- /** @since 0.1.0 */
6586
+ /**
6587
+ * @since 0.1.0
6588
+ * @public
6589
+ */
6546
6590
  type ChangesetConfigFile = typeof ChangesetConfigFile.Type;
6547
6591
  /**
6548
6592
  * Extended changeset config for repos using the `@savvy-web/changesets` changelog adapter.
6549
6593
  *
6550
6594
  * @remarks
6551
- * Extends {@link ChangesetConfigFile} with a `_isSilk` marker flag that is automatically
6595
+ * Extends {@link (ChangesetConfigFile:type)} with a `_isSilk` marker flag that is automatically
6552
6596
  * set to `true`. Detected by {@link ChangesetConfigReader} when the `changelog` field
6553
6597
  * references `@savvy-web/changesets`.
6554
6598
  *
6555
6599
  * @since 0.1.0
6556
6600
  */
6601
+ /** @public */
6557
6602
  declare const SilkChangesetConfigFile: Schema.extend<Schema.Struct<{
6558
6603
  changelog: Schema.optional<Schema.Union<[typeof Schema.String, Schema.Array$<typeof Schema.Unknown>, Schema.Literal<[false]>]>>;
6559
6604
  commit: Schema.optional<Schema.Union<[typeof Schema.Boolean, typeof Schema.String, Schema.Array$<typeof Schema.Unknown>]>>;
@@ -6579,7 +6624,10 @@ declare const SilkChangesetConfigFile: Schema.extend<Schema.Struct<{
6579
6624
  default: () => true;
6580
6625
  }>;
6581
6626
  }>>;
6582
- /** @since 0.1.0 */
6627
+ /**
6628
+ * @since 0.1.0
6629
+ * @public
6630
+ */
6583
6631
  type SilkChangesetConfigFile = typeof SilkChangesetConfigFile.Type;
6584
6632
  /**
6585
6633
  * Versioning strategy classification for a workspace.
@@ -6590,6 +6638,7 @@ type SilkChangesetConfigFile = typeof SilkChangesetConfigFile.Type;
6590
6638
  * - `"independent"` — multiple publishable packages with independent version bumps.
6591
6639
  *
6592
6640
  * @since 0.1.0
6641
+ * @public
6593
6642
  */
6594
6643
  //#endregion
6595
6644
  //#region src/services/ChangesetConfigReader.d.ts
@@ -6609,8 +6658,8 @@ declare const ChangesetConfigReader_base: Context.TagClass<ChangesetConfigReader
6609
6658
  *
6610
6659
  * @remarks
6611
6660
  * Automatically detects whether the config uses the Silk changelog adapter
6612
- * (`@savvy-web/changesets`) and decodes as {@link SilkChangesetConfigFile} or the
6613
- * standard {@link ChangesetConfigFile} accordingly.
6661
+ * (`@savvy-web/changesets`) and decodes as {@link (SilkChangesetConfigFile:type)} or the
6662
+ * standard {@link (ChangesetConfigFile:type)} accordingly.
6614
6663
  *
6615
6664
  * @example
6616
6665
  * ```typescript
@@ -6626,6 +6675,7 @@ declare const ChangesetConfigReader_base: Context.TagClass<ChangesetConfigReader
6626
6675
  * ```
6627
6676
  *
6628
6677
  * @since 0.1.0
6678
+ * @public
6629
6679
  */
6630
6680
  declare class ChangesetConfigReader extends ChangesetConfigReader_base {}
6631
6681
  /**
@@ -6636,6 +6686,7 @@ declare class ChangesetConfigReader extends ChangesetConfigReader_base {}
6636
6686
  * `BunContext.layer` to satisfy this dependency.
6637
6687
  *
6638
6688
  * @since 0.1.0
6689
+ * @public
6639
6690
  */
6640
6691
  //#endregion
6641
6692
  //#region src/changesets/services/config-inspector.d.ts
@@ -6768,7 +6819,7 @@ declare class ConfigInspector extends ConfigInspectorBase {}
6768
6819
  /**
6769
6820
  * Live layer for {@link ConfigInspector}.
6770
6821
  *
6771
- * Requires {@link ChangesetConfigReader} and {@link WorkspaceDiscovery}
6822
+ * Requires {@link ChangesetConfigReader} and `WorkspaceDiscovery`
6772
6823
  * in the environment.
6773
6824
  *
6774
6825
  * @public
@@ -7402,6 +7453,118 @@ declare const ChangelogServiceBase: Context.TagClass<ChangelogService, "Changelo
7402
7453
  * @public
7403
7454
  */
7404
7455
  declare class ChangelogService extends ChangelogServiceBase {} //#endregion
7456
+ //#region src/changesets/schemas/release-plan.d.ts
7457
+ /** A semantic-version bump level (the `"none"` plan type is filtered out upstream). @public */
7458
+ declare const BumpTypeSchema: Schema.Literal<["major", "minor", "patch"]>;
7459
+ /** A semantic-version bump level. @public */
7460
+ type BumpType = Schema.Schema.Type<typeof BumpTypeSchema>;
7461
+ /** One package's previewed release: version transition + rendered changelog block. @public */
7462
+ declare const PreviewReleaseSchema: Schema.Struct<{
7463
+ name: typeof Schema.String;
7464
+ type: Schema.Literal<["major", "minor", "patch"]>;
7465
+ oldVersion: typeof Schema.String;
7466
+ newVersion: typeof Schema.String;
7467
+ changesetIds: Schema.Array$<typeof Schema.String>;
7468
+ changelogEntry: typeof Schema.String;
7469
+ }>;
7470
+ /** One package's previewed release. @public */
7471
+ type PreviewRelease = Schema.Schema.Type<typeof PreviewReleaseSchema>;
7472
+ /** A parsed pending changeset (id + summary + the packages it bumps). @public */
7473
+ declare const PendingChangesetSchema: Schema.Struct<{
7474
+ id: typeof Schema.String;
7475
+ summary: typeof Schema.String;
7476
+ releases: Schema.Array$<Schema.Struct<{
7477
+ name: typeof Schema.String;
7478
+ type: Schema.Literal<["major", "minor", "patch"]>;
7479
+ }>>;
7480
+ }>;
7481
+ /** A parsed pending changeset. @public */
7482
+ type PendingChangeset = Schema.Schema.Type<typeof PendingChangesetSchema>;
7483
+ /** Read-only preview of what the next release would produce. @public */
7484
+ declare const ChangesetPreviewSchema: Schema.Struct<{
7485
+ preMode: Schema.NullOr<Schema.Literal<["exit", "pre"]>>;
7486
+ releases: Schema.Array$<Schema.Struct<{
7487
+ name: typeof Schema.String;
7488
+ type: Schema.Literal<["major", "minor", "patch"]>;
7489
+ oldVersion: typeof Schema.String;
7490
+ newVersion: typeof Schema.String;
7491
+ changesetIds: Schema.Array$<typeof Schema.String>;
7492
+ changelogEntry: typeof Schema.String;
7493
+ }>>;
7494
+ changesets: Schema.Array$<Schema.Struct<{
7495
+ id: typeof Schema.String;
7496
+ summary: typeof Schema.String;
7497
+ releases: Schema.Array$<Schema.Struct<{
7498
+ name: typeof Schema.String;
7499
+ type: Schema.Literal<["major", "minor", "patch"]>;
7500
+ }>>;
7501
+ }>>;
7502
+ }>;
7503
+ /** Read-only preview of what the next release would produce. @public */
7504
+ type ChangesetPreview = Schema.Schema.Type<typeof ChangesetPreviewSchema>;
7505
+ /** One applied package release (version transition). @public */
7506
+ declare const AppliedReleaseEntrySchema: Schema.Struct<{
7507
+ name: typeof Schema.String;
7508
+ type: Schema.Literal<["major", "minor", "patch"]>;
7509
+ oldVersion: typeof Schema.String;
7510
+ newVersion: typeof Schema.String;
7511
+ }>;
7512
+ /** A single versionFiles update applied (or planned, when dry). @public */
7513
+ declare const VersionFileUpdateRecordSchema: Schema.Struct<{
7514
+ filePath: typeof Schema.String;
7515
+ version: typeof Schema.String;
7516
+ }>;
7517
+ /** Result of {@link ReleasePlanner.apply}. @public */
7518
+ declare const AppliedReleaseSchema: Schema.Struct<{
7519
+ dryRun: typeof Schema.Boolean;
7520
+ touchedFiles: Schema.Array$<typeof Schema.String>;
7521
+ releases: Schema.Array$<Schema.Struct<{
7522
+ name: typeof Schema.String;
7523
+ type: Schema.Literal<["major", "minor", "patch"]>;
7524
+ oldVersion: typeof Schema.String;
7525
+ newVersion: typeof Schema.String;
7526
+ }>>;
7527
+ versionFileUpdates: Schema.Array$<Schema.Struct<{
7528
+ filePath: typeof Schema.String;
7529
+ version: typeof Schema.String;
7530
+ }>>;
7531
+ }>;
7532
+ /** Result of a native apply. @public */
7533
+ type AppliedRelease = Schema.Schema.Type<typeof AppliedReleaseSchema>; //#endregion
7534
+ //#region src/changesets/services/release-planner.d.ts
7535
+ /** The `ReleasePlanner` service surface. @public */
7536
+ interface ReleasePlannerShape {
7537
+ /** Compute the in-memory release plan (read-only). */
7538
+ readonly plan: (root: string) => Effect.Effect<ReleasePlan, ReleasePlanError>;
7539
+ /** Render a non-destructive preview of the next release. */
7540
+ readonly preview: (root: string) => Effect.Effect<ChangesetPreview, ReleasePlanError>;
7541
+ /** Natively apply the release (destructive unless `dryRun`). */
7542
+ readonly apply: (root: string, options?: {
7543
+ readonly dryRun?: boolean;
7544
+ }) => Effect.Effect<AppliedRelease, ReleasePlanError>;
7545
+ }
7546
+ /**
7547
+ * Base class for {@link ReleasePlanner}.
7548
+ *
7549
+ * @privateRemarks Required export for api-extractor (anonymous Context.Tag base). Do not delete.
7550
+ * @internal
7551
+ */
7552
+ declare const ReleasePlannerBase: Context.TagClass<ReleasePlanner, "ReleasePlanner", ReleasePlannerShape>;
7553
+ /** Effect service tag for the release planner. @public */
7554
+ declare class ReleasePlanner extends ReleasePlannerBase {}
7555
+ /** Production layer. Requires {@link ConfigInspector} (used by `apply`). @public */
7556
+ declare const ReleasePlannerLive: Layer.Layer<ReleasePlanner, never, ConfigInspector>;
7557
+ /**
7558
+ * Test factory — supply fixed results for any subset of methods. Unsupplied
7559
+ * methods fail with a `ReleasePlanError`.
7560
+ *
7561
+ * @public
7562
+ */
7563
+ declare function makeReleasePlannerTest(fixed: {
7564
+ readonly plan?: ReleasePlan;
7565
+ readonly preview?: ChangesetPreview;
7566
+ readonly apply?: AppliedRelease;
7567
+ }): Layer.Layer<ReleasePlanner>; //#endregion
7405
7568
  //#region src/changesets/services/workspace-snapshot.d.ts
7406
7569
  /**
7407
7570
  * One workspace package as it existed at a specific git ref.
@@ -8150,7 +8313,7 @@ declare function serializeDependencyTableToMarkdown(rows: DependencyTableRow[]):
8150
8313
  * Compute the set of currently-publishable workspace package names.
8151
8314
  *
8152
8315
  * @remarks
8153
- * Uses the currently-active {@link PublishabilityDetector} — wire the
8316
+ * Uses the currently-active {@link SilkPublishability} — wire the
8154
8317
  * {@link SilkPublishabilityDetectorLive} layer to get silk semantics.
8155
8318
  *
8156
8319
  * @param packages - The workspace packages to evaluate
@@ -9036,7 +9199,7 @@ declare const RequiredSectionsRule$2: Plugin<Root, unknown>; //#endregion
9036
9199
  //#region src/changesets/remark/rules/uncategorized-content.d.ts
9037
9200
  declare const UncategorizedContentRule$2: Plugin<Root, unknown>;
9038
9201
  declare namespace index_d_exports {
9039
- export { AggregateDependencyTablesPlugin, BranchAnalysis, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerBase, BranchAnalyzerLive, BranchAnalyzerShape, BranchFileEntry, BranchFileEntrySchema, Categories, Changelog, ChangelogService, ChangelogServiceBase, ChangelogServiceShape, ChangelogTransformer, Changeset, ChangesetLinter, ChangesetOptions, ChangesetOptionsSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, ChangesetValidationErrorBase, Classification, ClassificationReason, ClassificationReasonSchema, ClassificationSchema, CommitHashSchema, ConfigInspector, ConfigInspectorBase, ConfigInspectorLive, ConfigInspectorShape, ConfigurationError, ConfigurationErrorBase, ContentStructureRule$2 as ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, DependencyTableFormatRule$2 as DependencyTableFormatRule, DependencyTableRow, DependencyTableRowSchema, DependencyTableSchema, DependencyTableType, DependencyTableTypeSchema, DependencyType, DependencyTypeSchema, DependencyUpdate, DependencyUpdateSchema, FileStatus, FileStatusSchema, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, GitHubCommitInfo, GitHubInfo, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceBase, GitHubServiceShape, GlobSchema, HeadingHierarchyRule$2 as HeadingHierarchyRule, InspectedConfig, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfig, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, LintMessage, MarkdownLive, MarkdownParseError, MarkdownParseErrorBase, MarkdownService, MarkdownServiceBase, MarkdownServiceShape, ContentStructureRule$1 as MarkdownlintContentStructureRule, DependencyTableFormatRule$1 as MarkdownlintDependencyTableFormatRule, HeadingHierarchyRule$1 as MarkdownlintHeadingHierarchyRule, RequiredSectionsRule$1 as MarkdownlintRequiredSectionsRule, UncategorizedContentRule$1 as MarkdownlintUncategorizedContentRule, MergeSectionsPlugin, NonEmptyString, NormalizeFormatPlugin, PackageScope, PackageScopeSchema, PackagesRecordSchema, PositiveInteger, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule$2 as RequiredSectionsRule, ResolvedPackageScope, ResolvedPackageScopeSchema, ResolvedVersionFile, ResolvedVersionFileSchema, SectionCategory, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules$1 as SilkChangesetsRules, UncategorizedContentRule$2 as UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VersionFileConfig, VersionFileConfigSchema, VersionFileError, VersionFileErrorBase, VersionFileUpdate, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionType, VersionTypeSchema, WorkspaceDependencyDiff, WorkspaceSnapshot, WorkspaceSnapshotReader, WorkspaceSnapshotReaderBase, WorkspaceSnapshotReaderLive, WorkspaceSnapshotReaderShape, WorkspaceVersion, changelogFunctions, computeWorkspaceDependencyDiffs, gitMergeBase, listPublishablePackageNames, makeBranchAnalyzerTest, makeConfigInspectorTest, makeGitHubTest, serializeDependencyTableToMarkdown, snapshotFromWorktree };
9202
+ export { AggregateDependencyTablesPlugin, AppliedRelease, AppliedReleaseEntrySchema, AppliedReleaseSchema, BranchAnalysis, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerBase, BranchAnalyzerLive, BranchAnalyzerShape, BranchFileEntry, BranchFileEntrySchema, BumpType, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceBase, ChangelogServiceShape, ChangelogTransformer, Changeset, ChangesetLinter, ChangesetOptions, ChangesetOptionsSchema, ChangesetPreview, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, ChangesetValidationErrorBase, Classification, ClassificationReason, ClassificationReasonSchema, ClassificationSchema, CommitHashSchema, ConfigInspector, ConfigInspectorBase, ConfigInspectorLive, ConfigInspectorShape, ConfigurationError, ConfigurationErrorBase, ContentStructureRule$2 as ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, DependencyTableFormatRule$2 as DependencyTableFormatRule, DependencyTableRow, DependencyTableRowSchema, DependencyTableSchema, DependencyTableType, DependencyTableTypeSchema, DependencyType, DependencyTypeSchema, DependencyUpdate, DependencyUpdateSchema, FileStatus, FileStatusSchema, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, GitHubCommitInfo, GitHubInfo, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceBase, GitHubServiceShape, GlobSchema, HeadingHierarchyRule$2 as HeadingHierarchyRule, InspectedConfig, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfig, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, LintMessage, MarkdownLive, MarkdownParseError, MarkdownParseErrorBase, MarkdownService, MarkdownServiceBase, MarkdownServiceShape, ContentStructureRule$1 as MarkdownlintContentStructureRule, DependencyTableFormatRule$1 as MarkdownlintDependencyTableFormatRule, HeadingHierarchyRule$1 as MarkdownlintHeadingHierarchyRule, RequiredSectionsRule$1 as MarkdownlintRequiredSectionsRule, UncategorizedContentRule$1 as MarkdownlintUncategorizedContentRule, MergeSectionsPlugin, NonEmptyString, NormalizeFormatPlugin, PackageScope, PackageScopeSchema, PackagesRecordSchema, PendingChangeset, PendingChangesetSchema, PositiveInteger, PreviewRelease, PreviewReleaseSchema, ReleasePlanError, ReleasePlanErrorBase, ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, ReleasePlannerShape, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule$2 as RequiredSectionsRule, ResolvedPackageScope, ResolvedPackageScopeSchema, ResolvedVersionFile, ResolvedVersionFileSchema, SectionCategory, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules$1 as SilkChangesetsRules, UncategorizedContentRule$2 as UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VersionFileConfig, VersionFileConfigSchema, VersionFileError, VersionFileErrorBase, VersionFileUpdate, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionType, VersionTypeSchema, WorkspaceDependencyDiff, WorkspaceSnapshot, WorkspaceSnapshotReader, WorkspaceSnapshotReaderBase, WorkspaceSnapshotReaderLive, WorkspaceSnapshotReaderShape, WorkspaceVersion, changelogFunctions, computeWorkspaceDependencyDiffs, gitMergeBase, listPublishablePackageNames, makeBranchAnalyzerTest, makeConfigInspectorTest, makeGitHubTest, makeReleasePlannerTest, serializeDependencyTableToMarkdown, snapshotFromWorktree };
9040
9203
  } //#endregion
9041
9204
  //#region src/commitlint/config/schema.d.ts
9042
9205
  /**