@savvy-web/silk-effects 1.5.1 → 1.6.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.
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Context, Data, Effect, Equal, Hash, Layer, Option, Schema, Stream } from "effect";
2
2
  import { Command, CommandExecutor, FileSystem } from "@effect/platform";
3
- import { PackageManagerDetector, PublishConfig, PublishTarget, PublishabilityDetector, TopologicalSorter, WorkspaceDiscovery, WorkspaceDiscoveryError, WorkspacePackage, WorkspaceRoot } from "workspaces-effect";
3
+ import { CatalogResolver, PackageManagerDetector, PublishConfig, PublishTarget, PublishabilityDetector, TopologicalSorter, WorkspaceDiscovery, WorkspaceDiscoveryError, WorkspacePackage, WorkspaceRoot } from "workspaces-effect";
4
4
  import { Plugin } from "unified";
5
5
  import { PlatformError } from "@effect/platform/Error";
6
6
 
@@ -1571,6 +1571,16 @@ declare const DependencyTableTypeSchema: Schema.Literal<["dependency", "devDepen
1571
1571
  * @public
1572
1572
  */
1573
1573
  type DependencyTableType = typeof DependencyTableTypeSchema.Type;
1574
+ /**
1575
+ * The canonical accepted-value pattern for a dependency-table From/To cell:
1576
+ * the em-dash sentinel (U+2014), a bare/`~`/`^` semver, or — as a last-resort
1577
+ * fallback when a `catalog:`/`workspace:` specifier could not be resolved to a
1578
+ * concrete version — a pnpm protocol string. Non-overlapping alternatives keep
1579
+ * this free of polynomial backtracking (CodeQL).
1580
+ *
1581
+ * @public
1582
+ */
1583
+ declare const VERSION_RE: RegExp;
1574
1584
  /**
1575
1585
  * Version string or em dash (U+2014) sentinel for added/removed entries.
1576
1586
  *
@@ -1845,7 +1855,7 @@ declare class DependencyTable {
1845
1855
  /**
1846
1856
  * Class-based API wrapper for changeset linting.
1847
1857
  *
1848
- * Provides a static class interface that runs all remark-lint rules
1858
+ * Provides a static class interface that runs all five remark-lint rules
1849
1859
  * against changeset markdown files and returns structured diagnostics.
1850
1860
  *
1851
1861
  * @internal
@@ -1859,11 +1869,12 @@ declare class DependencyTable {
1859
1869
  * (file, line, column) for integration with editors, CI reporters, and
1860
1870
  * the Effect CLI's `lint` and `check` commands.
1861
1871
  *
1862
- * The four rules that produce lint messages are:
1872
+ * The five rules that produce lint messages are:
1863
1873
  *
1864
1874
  * - **heading-hierarchy** -- ensures headings follow a valid nesting order
1865
1875
  * - **required-sections** -- checks that mandatory sections are present
1866
1876
  * - **content-structure** -- validates the structure of section content
1877
+ * - **dependency-table-format** -- enforces the machine-generated dependency-table format for `## Dependencies` sections
1867
1878
  * - **uncategorized-content** -- flags content outside recognized section headings
1868
1879
  *
1869
1880
  * @public
@@ -1882,9 +1893,10 @@ interface LintMessage {
1882
1893
  * Identifier of the remark-lint rule that produced this message.
1883
1894
  *
1884
1895
  * @remarks
1885
- * Corresponds to one of the four built-in rules: `"heading-hierarchy"`,
1886
- * `"required-sections"`, `"content-structure"`, or `"uncategorized-content"`.
1887
- * Falls back to `"unknown"` if the underlying vfile message has no rule ID.
1896
+ * Corresponds to one of the five built-in rules: `"heading-hierarchy"`,
1897
+ * `"required-sections"`, `"content-structure"`, `"dependency-table-format"`,
1898
+ * or `"uncategorized-content"`. Falls back to `"unknown"` if the underlying
1899
+ * vfile message has no rule ID.
1888
1900
  */
1889
1901
  rule: string;
1890
1902
  /**
@@ -1917,9 +1929,9 @@ interface LintMessage {
1917
1929
  /**
1918
1930
  * Static class for linting changeset markdown files.
1919
1931
  *
1920
- * Runs the four remark-lint rules (heading-hierarchy, required-sections,
1921
- * content-structure, uncategorized-content) against changeset markdown
1922
- * and returns structured {@link LintMessage} diagnostics.
1932
+ * Runs the five remark-lint rules (heading-hierarchy, required-sections,
1933
+ * content-structure, dependency-table-format, uncategorized-content) against
1934
+ * changeset markdown and returns structured {@link LintMessage} diagnostics.
1923
1935
  *
1924
1936
  * @remarks
1925
1937
  * This class implements the pre-validation layer of the three-layer
@@ -2004,7 +2016,7 @@ declare class ChangesetLinter {
2004
2016
  *
2005
2017
  * @remarks
2006
2018
  * Reads the file synchronously, strips YAML frontmatter, and runs all
2007
- * four lint rules. The file path is preserved in each returned
2019
+ * five lint rules. The file path is preserved in each returned
2008
2020
  * {@link LintMessage} for error reporting.
2009
2021
  *
2010
2022
  * @param filePath - Absolute or relative path to the changeset `.md` file
@@ -2015,7 +2027,7 @@ declare class ChangesetLinter {
2015
2027
  * Validate a markdown string directly.
2016
2028
  *
2017
2029
  * @remarks
2018
- * Strips YAML frontmatter (if present) and runs all four lint rules
2030
+ * Strips YAML frontmatter (if present) and runs all five lint rules
2019
2031
  * against the remaining content. This method is useful for validating
2020
2032
  * changeset content that is already in memory, such as in test suites
2021
2033
  * or editor integrations.
@@ -3480,6 +3492,231 @@ declare const ChangelogServiceBase: Context.TagClass<ChangelogService, "Changelo
3480
3492
  */
3481
3493
  declare class ChangelogService extends ChangelogServiceBase {}
3482
3494
  //#endregion
3495
+ //#region src/changesets/services/workspace-snapshot.d.ts
3496
+ /**
3497
+ * One workspace package as it existed at a specific git ref.
3498
+ *
3499
+ * @public
3500
+ */
3501
+ interface WorkspaceSnapshot {
3502
+ /** Package name from `package.json#name`. */
3503
+ readonly name: string;
3504
+ /** Repo-relative path of the package directory at this ref. */
3505
+ readonly relativePath: string;
3506
+ /** Package version from `package.json#version`. */
3507
+ readonly version: string;
3508
+ /** Declared `dependencies` (raw strings, including `workspace:` / `catalog:` protocols). */
3509
+ readonly dependencies: Readonly<Record<string, string>>;
3510
+ /** Declared `devDependencies`. */
3511
+ readonly devDependencies: Readonly<Record<string, string>>;
3512
+ /** Declared `peerDependencies`. */
3513
+ readonly peerDependencies: Readonly<Record<string, string>>;
3514
+ /** Declared `optionalDependencies`. */
3515
+ readonly optionalDependencies: Readonly<Record<string, string>>;
3516
+ }
3517
+ /**
3518
+ * Effect service interface for reading workspace snapshots.
3519
+ *
3520
+ * @public
3521
+ */
3522
+ interface WorkspaceSnapshotReaderShape {
3523
+ /**
3524
+ * Read every workspace package's snapshot at the given git ref.
3525
+ *
3526
+ * @param cwd - Project root (must be inside a git repo)
3527
+ * @param ref - Any valid git revision spec — branch, tag, SHA, `HEAD~1`, etc.
3528
+ * @returns Effect resolving to one {@link WorkspaceSnapshot} per workspace
3529
+ * package present at that ref, or failing with {@link GitError}
3530
+ */
3531
+ readonly snapshotAt: (cwd: string, ref: string) => Effect.Effect<ReadonlyArray<WorkspaceSnapshot>, GitError>;
3532
+ }
3533
+ /**
3534
+ * @internal
3535
+ */
3536
+ declare const WorkspaceSnapshotReaderBase: Context.TagClass<WorkspaceSnapshotReader, "WorkspaceSnapshotReader", WorkspaceSnapshotReaderShape>;
3537
+ /**
3538
+ * Effect service tag for {@link WorkspaceSnapshotReaderShape}.
3539
+ *
3540
+ * @public
3541
+ */
3542
+ declare class WorkspaceSnapshotReader extends WorkspaceSnapshotReaderBase {}
3543
+ /**
3544
+ * Production layer for {@link WorkspaceSnapshotReader}.
3545
+ *
3546
+ * @public
3547
+ */
3548
+ declare const WorkspaceSnapshotReaderLive: Layer.Layer<WorkspaceSnapshotReader>;
3549
+ //#endregion
3550
+ //#region src/changesets/utils/dep-diff.d.ts
3551
+ /**
3552
+ * A workspace package's worth of dependency-table rows.
3553
+ *
3554
+ * @public
3555
+ */
3556
+ interface WorkspaceDependencyDiff {
3557
+ /** The workspace package whose `package.json` changed. */
3558
+ readonly package: string;
3559
+ /** Repo-relative path of the package directory (taken from the `after` snapshot when available). */
3560
+ readonly relativePath: string;
3561
+ /** One row per dependency change, sorted by the existing `sortDependencyRows` convention. */
3562
+ readonly rows: ReadonlyArray<DependencyTableRow>;
3563
+ }
3564
+ /**
3565
+ * Diff two workspace snapshots and return per-package dependency-table rows.
3566
+ *
3567
+ * @param before - Snapshot at the older ref (typically the merge base). Pass
3568
+ * `null` for workspace packages that did not exist at the older ref — every
3569
+ * declared dep is then reported as `"added"`.
3570
+ * @param after - Snapshot at the newer ref (typically the working tree).
3571
+ * @returns One {@link WorkspaceDependencyDiff} entry per workspace package
3572
+ * that has at least one row. Packages with no changes are omitted.
3573
+ *
3574
+ * @public
3575
+ */
3576
+ declare function computeWorkspaceDependencyDiffs(beforeSnapshots: ReadonlyArray<WorkspaceSnapshot>, afterSnapshots: ReadonlyArray<WorkspaceSnapshot>): ReadonlyArray<WorkspaceDependencyDiff>;
3577
+ //#endregion
3578
+ //#region src/changesets/services/deps-regen.d.ts
3579
+ /**
3580
+ * Resolve protocol From/To cells to concrete versions (raw-string fallback
3581
+ * when unresolved or on resolver error), leave em-dash sentinels untouched,
3582
+ * then optionally drop `devDependency` rows, and re-sort.
3583
+ *
3584
+ * @param diff - One workspace package's dependency-table rows.
3585
+ * @param keepDevDeps - When `true`, retain `devDependency` rows; otherwise
3586
+ * drop them unconditionally (the regen default).
3587
+ * @returns An Effect yielding the transformed {@link WorkspaceDependencyDiff}.
3588
+ *
3589
+ * @public
3590
+ */
3591
+ declare const resolveDiffRows: (diff: WorkspaceDependencyDiff, keepDevDeps?: boolean) => Effect.Effect<WorkspaceDependencyDiff, never, CatalogResolver>;
3592
+ /**
3593
+ * Strict detection of "pure dependency changesets" per the documented
3594
+ * rules: single-package frontmatter, single `## Dependencies` heading,
3595
+ * no other body content beyond that section.
3596
+ *
3597
+ * @param content - Raw `.changeset/*.md` file contents.
3598
+ * @returns `{ isPure, package }` — `isPure` is `true` only for a
3599
+ * single-package, Dependencies-only changeset; `package` is the sole
3600
+ * frontmatter package name (or `null` when not pure).
3601
+ *
3602
+ * @public
3603
+ */
3604
+ declare function isPureDependencyChangeset(content: string): {
3605
+ isPure: boolean;
3606
+ package: string | null;
3607
+ };
3608
+ /**
3609
+ * A complete, side-effect-free regen plan: which stale pure-dependency
3610
+ * changesets to delete, which fresh changesets to write (carrying the
3611
+ * already-resolved diff), and which mixed changesets were left untouched.
3612
+ *
3613
+ * @public
3614
+ */
3615
+ interface RegenPlan {
3616
+ readonly toDelete: ReadonlyArray<{
3617
+ readonly file: string;
3618
+ readonly package: string;
3619
+ }>;
3620
+ readonly toWrite: ReadonlyArray<{
3621
+ readonly file: string;
3622
+ readonly package: string;
3623
+ readonly diff: WorkspaceDependencyDiff;
3624
+ }>;
3625
+ readonly skippedMixed: ReadonlyArray<string>;
3626
+ }
3627
+ /**
3628
+ * The result of applying a {@link RegenPlan}: the files actually deleted
3629
+ * and written, plus the mixed changesets that were skipped.
3630
+ *
3631
+ * @public
3632
+ */
3633
+ interface RegenResult {
3634
+ readonly deleted: ReadonlyArray<string>;
3635
+ readonly written: ReadonlyArray<string>;
3636
+ readonly skippedMixed: ReadonlyArray<string>;
3637
+ }
3638
+ /**
3639
+ * Options for {@link DepsRegenShape.plan}.
3640
+ *
3641
+ * @public
3642
+ */
3643
+ interface DepsRegenOptions {
3644
+ /** Project root (containing `.changeset/`). */
3645
+ readonly cwd: string;
3646
+ /** Override the base branch used to compute the merge-base when `from` is omitted. */
3647
+ readonly base?: string;
3648
+ /** Restrict regeneration to a single workspace package. */
3649
+ readonly package?: string;
3650
+ /**
3651
+ * When `true`, retain `devDependency` rows (the `deps detect` path);
3652
+ * when falsy (the `deps regen` default), drop them unconditionally.
3653
+ * Protocol resolution runs regardless.
3654
+ */
3655
+ readonly includeDevDeps?: boolean;
3656
+ /**
3657
+ * Older ref to diff from. Defaults to `git merge-base <base branch> HEAD`.
3658
+ */
3659
+ readonly from?: string;
3660
+ /**
3661
+ * Newer ref to diff to. Defaults to the working tree (staged + unstaged
3662
+ * + untracked) via {@link snapshotFromWorktree}.
3663
+ */
3664
+ readonly to?: string;
3665
+ }
3666
+ /**
3667
+ * Effect service interface for the deps regen/detect orchestration.
3668
+ *
3669
+ * @public
3670
+ */
3671
+ interface DepsRegenShape {
3672
+ /**
3673
+ * Compute a complete {@link RegenPlan} without touching the filesystem.
3674
+ *
3675
+ * @param options - See {@link DepsRegenOptions}.
3676
+ * @returns An Effect yielding the plan, or failing with {@link GitError}.
3677
+ */
3678
+ readonly plan: (options: DepsRegenOptions) => Effect.Effect<RegenPlan, GitError | WorkspaceDiscoveryError, never>;
3679
+ /**
3680
+ * Apply a {@link RegenPlan}: delete stale changesets, write fresh ones.
3681
+ *
3682
+ * @param plan - The plan produced by {@link DepsRegenShape.plan}.
3683
+ * @returns An Effect yielding a {@link RegenResult}.
3684
+ */
3685
+ readonly execute: (plan: RegenPlan) => Effect.Effect<RegenResult, never, never>;
3686
+ }
3687
+ /**
3688
+ * @internal
3689
+ */
3690
+ declare const DepsRegenBase: Context.TagClass<DepsRegen, "Changesets/DepsRegen", DepsRegenShape>;
3691
+ /**
3692
+ * Effect service tag for {@link DepsRegenShape}.
3693
+ *
3694
+ * @example
3695
+ * ```typescript
3696
+ * import { Effect } from "effect";
3697
+ * import { Changesets } from "@savvy-web/silk-effects";
3698
+ *
3699
+ * const program = Effect.gen(function* () {
3700
+ * const svc = yield* Changesets.DepsRegen;
3701
+ * const plan = yield* svc.plan({ cwd: process.cwd() });
3702
+ * return yield* svc.execute(plan);
3703
+ * });
3704
+ * ```
3705
+ *
3706
+ * @public
3707
+ */
3708
+ declare class DepsRegen extends DepsRegenBase {}
3709
+ /**
3710
+ * Live layer for {@link DepsRegen}.
3711
+ *
3712
+ * Requires {@link WorkspaceSnapshotReader}, {@link ConfigInspector},
3713
+ * `WorkspaceDiscovery`, `CatalogResolver`, and `PublishabilityDetector`
3714
+ * (the last three from `workspaces-effect`).
3715
+ *
3716
+ * @public
3717
+ */
3718
+ declare const DepsRegenLive: Layer.Layer<DepsRegen, never, WorkspaceSnapshotReader | ConfigInspector | WorkspaceDiscovery | CatalogResolver | PublishabilityDetector>;
3719
+ //#endregion
3483
3720
  //#region src/changesets/schemas/release-plan.d.ts
3484
3721
  /** A semantic-version bump level (the `"none"` plan type is filtered out upstream). @public */
3485
3722
  declare const BumpTypeSchema: Schema.Literal<["major", "minor", "patch"]>;
@@ -3594,61 +3831,6 @@ declare function makeReleasePlannerTest(fixed: {
3594
3831
  readonly apply?: AppliedRelease;
3595
3832
  }): Layer.Layer<ReleasePlanner>;
3596
3833
  //#endregion
3597
- //#region src/changesets/services/workspace-snapshot.d.ts
3598
- /**
3599
- * One workspace package as it existed at a specific git ref.
3600
- *
3601
- * @public
3602
- */
3603
- interface WorkspaceSnapshot {
3604
- /** Package name from `package.json#name`. */
3605
- readonly name: string;
3606
- /** Repo-relative path of the package directory at this ref. */
3607
- readonly relativePath: string;
3608
- /** Package version from `package.json#version`. */
3609
- readonly version: string;
3610
- /** Declared `dependencies` (raw strings, including `workspace:` / `catalog:` protocols). */
3611
- readonly dependencies: Readonly<Record<string, string>>;
3612
- /** Declared `devDependencies`. */
3613
- readonly devDependencies: Readonly<Record<string, string>>;
3614
- /** Declared `peerDependencies`. */
3615
- readonly peerDependencies: Readonly<Record<string, string>>;
3616
- /** Declared `optionalDependencies`. */
3617
- readonly optionalDependencies: Readonly<Record<string, string>>;
3618
- }
3619
- /**
3620
- * Effect service interface for reading workspace snapshots.
3621
- *
3622
- * @public
3623
- */
3624
- interface WorkspaceSnapshotReaderShape {
3625
- /**
3626
- * Read every workspace package's snapshot at the given git ref.
3627
- *
3628
- * @param cwd - Project root (must be inside a git repo)
3629
- * @param ref - Any valid git revision spec — branch, tag, SHA, `HEAD~1`, etc.
3630
- * @returns Effect resolving to one {@link WorkspaceSnapshot} per workspace
3631
- * package present at that ref, or failing with {@link GitError}
3632
- */
3633
- readonly snapshotAt: (cwd: string, ref: string) => Effect.Effect<ReadonlyArray<WorkspaceSnapshot>, GitError>;
3634
- }
3635
- /**
3636
- * @internal
3637
- */
3638
- declare const WorkspaceSnapshotReaderBase: Context.TagClass<WorkspaceSnapshotReader, "WorkspaceSnapshotReader", WorkspaceSnapshotReaderShape>;
3639
- /**
3640
- * Effect service tag for {@link WorkspaceSnapshotReaderShape}.
3641
- *
3642
- * @public
3643
- */
3644
- declare class WorkspaceSnapshotReader extends WorkspaceSnapshotReaderBase {}
3645
- /**
3646
- * Production layer for {@link WorkspaceSnapshotReader}.
3647
- *
3648
- * @public
3649
- */
3650
- declare const WorkspaceSnapshotReaderLive: Layer.Layer<WorkspaceSnapshotReader>;
3651
- //#endregion
3652
3834
  //#region src/changesets/schemas/changeset.d.ts
3653
3835
  /**
3654
3836
  * Schema for a changeset summary (1--1000 characters).
@@ -4290,34 +4472,6 @@ declare const LegacyVersionFilesSchema: Schema.Array$<Schema.Struct<{
4290
4472
  package: Schema.optional<Schema.filter<typeof Schema.String>>;
4291
4473
  }>>;
4292
4474
  //#endregion
4293
- //#region src/changesets/utils/dep-diff.d.ts
4294
- /**
4295
- * A workspace package's worth of dependency-table rows.
4296
- *
4297
- * @public
4298
- */
4299
- interface WorkspaceDependencyDiff {
4300
- /** The workspace package whose `package.json` changed. */
4301
- readonly package: string;
4302
- /** Repo-relative path of the package directory (taken from the `after` snapshot when available). */
4303
- readonly relativePath: string;
4304
- /** One row per dependency change, sorted by the existing `sortDependencyRows` convention. */
4305
- readonly rows: ReadonlyArray<DependencyTableRow>;
4306
- }
4307
- /**
4308
- * Diff two workspace snapshots and return per-package dependency-table rows.
4309
- *
4310
- * @param before - Snapshot at the older ref (typically the merge base). Pass
4311
- * `null` for workspace packages that did not exist at the older ref — every
4312
- * declared dep is then reported as `"added"`.
4313
- * @param after - Snapshot at the newer ref (typically the working tree).
4314
- * @returns One {@link WorkspaceDependencyDiff} entry per workspace package
4315
- * that has at least one row. Packages with no changes are omitted.
4316
- *
4317
- * @public
4318
- */
4319
- declare function computeWorkspaceDependencyDiffs(beforeSnapshots: ReadonlyArray<WorkspaceSnapshot>, afterSnapshots: ReadonlyArray<WorkspaceSnapshot>): ReadonlyArray<WorkspaceDependencyDiff>;
4320
- //#endregion
4321
4475
  //#region src/changesets/utils/dependency-table.d.ts
4322
4476
  /**
4323
4477
  * Serialize dependency table rows to a markdown table string.
@@ -5262,7 +5416,7 @@ declare const RequiredSectionsRule: import("unified-lint-rule").Plugin<Root, unk
5262
5416
  //#region src/changesets/remark/rules/uncategorized-content.d.ts
5263
5417
  declare const UncategorizedContentRule: import("unified-lint-rule").Plugin<Root, unknown>;
5264
5418
  declare namespace index_d_exports {
5265
- 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, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, 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, 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, ResolvedPackageScope, ResolvedPackageScopeSchema, ResolvedVersionFile, ResolvedVersionFileSchema, SectionCategory, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules, 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 };
5419
+ 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, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, DependencyTableFormatRule, DependencyTableRow, DependencyTableRowSchema, DependencyTableSchema, DependencyTableType, DependencyTableTypeSchema, DependencyType, DependencyTypeSchema, DependencyUpdate, DependencyUpdateSchema, DepsRegen, DepsRegenBase, DepsRegenLive, DepsRegenOptions, DepsRegenShape, FileStatus, FileStatusSchema, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, GitHubCommitInfo, GitHubInfo, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceBase, GitHubServiceShape, GlobSchema, 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, RegenPlan, RegenResult, ReleasePlanError, ReleasePlanErrorBase, ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, ReleasePlannerShape, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule, ResolvedPackageScope, ResolvedPackageScopeSchema, ResolvedVersionFile, ResolvedVersionFileSchema, SectionCategory, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules, UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VERSION_RE, VersionFileConfig, VersionFileConfigSchema, VersionFileError, VersionFileErrorBase, VersionFileUpdate, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionType, VersionTypeSchema, WorkspaceDependencyDiff, WorkspaceSnapshot, WorkspaceSnapshotReader, WorkspaceSnapshotReaderBase, WorkspaceSnapshotReaderLive, WorkspaceSnapshotReaderShape, WorkspaceVersion, changelogFunctions, computeWorkspaceDependencyDiffs, gitMergeBase, isPureDependencyChangeset, listPublishablePackageNames, makeBranchAnalyzerTest, makeConfigInspectorTest, makeGitHubTest, makeReleasePlannerTest, resolveDiffRows, serializeDependencyTableToMarkdown, snapshotFromWorktree };
5266
5420
  }
5267
5421
  //#endregion
5268
5422
  //#region src/commitlint/config/schema.d.ts
@@ -7703,59 +7857,59 @@ type SectionDiff = Data.TaggedEnum<SectionDiffDefinition>;
7703
7857
  * @public
7704
7858
  */
7705
7859
  declare const SectionDiff: {
7706
- readonly Unchanged: Data.Case.Constructor<{
7707
- readonly _tag: "Unchanged";
7708
- }, "_tag">;
7709
- readonly Changed: Data.Case.Constructor<{
7860
+ readonly $is: <Tag extends "Changed" | "Unchanged">(tag: Tag) => (u: unknown) => u is Extract<{
7710
7861
  readonly _tag: "Changed";
7711
7862
  readonly added: ReadonlyArray<string>;
7712
7863
  readonly removed: ReadonlyArray<string>;
7713
- }, "_tag">;
7714
- readonly $is: <Tag extends "Unchanged" | "Changed">(tag: Tag) => (u: unknown) => u is Extract<{
7715
- readonly _tag: "Unchanged";
7716
7864
  }, {
7717
7865
  readonly _tag: Tag;
7718
7866
  }> | Extract<{
7719
- readonly _tag: "Changed";
7720
- readonly added: ReadonlyArray<string>;
7721
- readonly removed: ReadonlyArray<string>;
7867
+ readonly _tag: "Unchanged";
7722
7868
  }, {
7723
7869
  readonly _tag: Tag;
7724
7870
  }>;
7725
7871
  readonly $match: {
7726
7872
  <const Cases extends {
7727
- readonly Unchanged: (args: {
7728
- readonly _tag: "Unchanged";
7729
- }) => any;
7730
7873
  readonly Changed: (args: {
7731
7874
  readonly _tag: "Changed";
7732
7875
  readonly added: ReadonlyArray<string>;
7733
7876
  readonly removed: ReadonlyArray<string>;
7734
7877
  }) => any;
7735
- }>(cases: Cases & { [K in Exclude<keyof Cases, "Unchanged" | "Changed">]: never }): (value: {
7736
- readonly _tag: "Unchanged";
7737
- } | {
7878
+ readonly Unchanged: (args: {
7879
+ readonly _tag: "Unchanged";
7880
+ }) => any;
7881
+ }>(cases: Cases & { [K in Exclude<keyof Cases, "Changed" | "Unchanged">]: never }): (value: {
7738
7882
  readonly _tag: "Changed";
7739
7883
  readonly added: ReadonlyArray<string>;
7740
7884
  readonly removed: ReadonlyArray<string>;
7741
- }) => import("effect/Unify").Unify<ReturnType<Cases["Unchanged" | "Changed"]>>;
7885
+ } | {
7886
+ readonly _tag: "Unchanged";
7887
+ }) => import("effect/Unify").Unify<ReturnType<Cases["Changed" | "Unchanged"]>>;
7742
7888
  <const Cases extends {
7743
- readonly Unchanged: (args: {
7744
- readonly _tag: "Unchanged";
7745
- }) => any;
7746
7889
  readonly Changed: (args: {
7747
7890
  readonly _tag: "Changed";
7748
7891
  readonly added: ReadonlyArray<string>;
7749
7892
  readonly removed: ReadonlyArray<string>;
7750
7893
  }) => any;
7894
+ readonly Unchanged: (args: {
7895
+ readonly _tag: "Unchanged";
7896
+ }) => any;
7751
7897
  }>(value: {
7752
- readonly _tag: "Unchanged";
7753
- } | {
7754
7898
  readonly _tag: "Changed";
7755
7899
  readonly added: ReadonlyArray<string>;
7756
7900
  readonly removed: ReadonlyArray<string>;
7757
- }, cases: Cases & { [K in Exclude<keyof Cases, "Unchanged" | "Changed">]: never }): import("effect/Unify").Unify<ReturnType<Cases["Unchanged" | "Changed"]>>;
7901
+ } | {
7902
+ readonly _tag: "Unchanged";
7903
+ }, cases: Cases & { [K in Exclude<keyof Cases, "Changed" | "Unchanged">]: never }): import("effect/Unify").Unify<ReturnType<Cases["Changed" | "Unchanged"]>>;
7758
7904
  };
7905
+ readonly Changed: Data.Case.Constructor<{
7906
+ readonly _tag: "Changed";
7907
+ readonly added: ReadonlyArray<string>;
7908
+ readonly removed: ReadonlyArray<string>;
7909
+ }, "_tag">;
7910
+ readonly Unchanged: Data.Case.Constructor<{
7911
+ readonly _tag: "Unchanged";
7912
+ }, "_tag">;
7759
7913
  };
7760
7914
  /**
7761
7915
  * Result of a sync operation.
@@ -7780,22 +7934,12 @@ type SyncResult = Data.TaggedEnum<SyncResultDefinition>;
7780
7934
  * @public
7781
7935
  */
7782
7936
  declare const SyncResult: {
7783
- readonly Unchanged: Data.Case.Constructor<{
7784
- readonly _tag: "Unchanged";
7785
- }, "_tag">;
7786
- readonly Created: Data.Case.Constructor<{
7937
+ readonly $is: <Tag extends "Created" | "Unchanged" | "Updated">(tag: Tag) => (u: unknown) => u is Extract<{
7787
7938
  readonly _tag: "Created";
7788
- }, "_tag">;
7789
- readonly Updated: Data.Case.Constructor<{
7790
- readonly _tag: "Updated";
7791
- readonly diff: SectionDiff;
7792
- }, "_tag">;
7793
- readonly $is: <Tag extends "Unchanged" | "Created" | "Updated">(tag: Tag) => (u: unknown) => u is Extract<{
7794
- readonly _tag: "Unchanged";
7795
7939
  }, {
7796
7940
  readonly _tag: Tag;
7797
7941
  }> | Extract<{
7798
- readonly _tag: "Created";
7942
+ readonly _tag: "Unchanged";
7799
7943
  }, {
7800
7944
  readonly _tag: Tag;
7801
7945
  }> | Extract<{
@@ -7806,44 +7950,54 @@ declare const SyncResult: {
7806
7950
  }>;
7807
7951
  readonly $match: {
7808
7952
  <const Cases extends {
7809
- readonly Unchanged: (args: {
7810
- readonly _tag: "Unchanged";
7811
- }) => any;
7812
7953
  readonly Created: (args: {
7813
7954
  readonly _tag: "Created";
7814
7955
  }) => any;
7956
+ readonly Unchanged: (args: {
7957
+ readonly _tag: "Unchanged";
7958
+ }) => any;
7815
7959
  readonly Updated: (args: {
7816
7960
  readonly _tag: "Updated";
7817
7961
  readonly diff: SectionDiff;
7818
7962
  }) => any;
7819
- }>(cases: Cases & { [K in Exclude<keyof Cases, "Unchanged" | "Created" | "Updated">]: never }): (value: {
7820
- readonly _tag: "Unchanged";
7821
- } | {
7963
+ }>(cases: Cases & { [K in Exclude<keyof Cases, "Created" | "Unchanged" | "Updated">]: never }): (value: {
7822
7964
  readonly _tag: "Created";
7965
+ } | {
7966
+ readonly _tag: "Unchanged";
7823
7967
  } | {
7824
7968
  readonly _tag: "Updated";
7825
7969
  readonly diff: SectionDiff;
7826
- }) => import("effect/Unify").Unify<ReturnType<Cases["Unchanged" | "Created" | "Updated"]>>;
7970
+ }) => import("effect/Unify").Unify<ReturnType<Cases["Created" | "Unchanged" | "Updated"]>>;
7827
7971
  <const Cases extends {
7828
- readonly Unchanged: (args: {
7829
- readonly _tag: "Unchanged";
7830
- }) => any;
7831
7972
  readonly Created: (args: {
7832
7973
  readonly _tag: "Created";
7833
7974
  }) => any;
7975
+ readonly Unchanged: (args: {
7976
+ readonly _tag: "Unchanged";
7977
+ }) => any;
7834
7978
  readonly Updated: (args: {
7835
7979
  readonly _tag: "Updated";
7836
7980
  readonly diff: SectionDiff;
7837
7981
  }) => any;
7838
7982
  }>(value: {
7839
- readonly _tag: "Unchanged";
7840
- } | {
7841
7983
  readonly _tag: "Created";
7984
+ } | {
7985
+ readonly _tag: "Unchanged";
7842
7986
  } | {
7843
7987
  readonly _tag: "Updated";
7844
7988
  readonly diff: SectionDiff;
7845
- }, cases: Cases & { [K in Exclude<keyof Cases, "Unchanged" | "Created" | "Updated">]: never }): import("effect/Unify").Unify<ReturnType<Cases["Unchanged" | "Created" | "Updated"]>>;
7989
+ }, cases: Cases & { [K in Exclude<keyof Cases, "Created" | "Unchanged" | "Updated">]: never }): import("effect/Unify").Unify<ReturnType<Cases["Created" | "Unchanged" | "Updated"]>>;
7846
7990
  };
7991
+ readonly Created: Data.Case.Constructor<{
7992
+ readonly _tag: "Created";
7993
+ }, "_tag">;
7994
+ readonly Unchanged: Data.Case.Constructor<{
7995
+ readonly _tag: "Unchanged";
7996
+ }, "_tag">;
7997
+ readonly Updated: Data.Case.Constructor<{
7998
+ readonly _tag: "Updated";
7999
+ readonly diff: SectionDiff;
8000
+ }, "_tag">;
7847
8001
  };
7848
8002
  /**
7849
8003
  * Result of a check operation.
@@ -7868,14 +8022,6 @@ type CheckResult = Data.TaggedEnum<CheckResultDefinition>;
7868
8022
  * @public
7869
8023
  */
7870
8024
  declare const CheckResult: {
7871
- readonly Found: Data.Case.Constructor<{
7872
- readonly _tag: "Found";
7873
- readonly isUpToDate: boolean;
7874
- readonly diff: SectionDiff;
7875
- }, "_tag">;
7876
- readonly NotFound: Data.Case.Constructor<{
7877
- readonly _tag: "NotFound";
7878
- }, "_tag">;
7879
8025
  readonly $is: <Tag extends "Found" | "NotFound">(tag: Tag) => (u: unknown) => u is Extract<{
7880
8026
  readonly _tag: "Found";
7881
8027
  readonly isUpToDate: boolean;
@@ -7921,6 +8067,14 @@ declare const CheckResult: {
7921
8067
  readonly _tag: "NotFound";
7922
8068
  }, cases: Cases & { [K in Exclude<keyof Cases, "Found" | "NotFound">]: never }): import("effect/Unify").Unify<ReturnType<Cases["Found" | "NotFound"]>>;
7923
8069
  };
8070
+ readonly Found: Data.Case.Constructor<{
8071
+ readonly _tag: "Found";
8072
+ readonly isUpToDate: boolean;
8073
+ readonly diff: SectionDiff;
8074
+ }, "_tag">;
8075
+ readonly NotFound: Data.Case.Constructor<{
8076
+ readonly _tag: "NotFound";
8077
+ }, "_tag">;
7924
8078
  };
7925
8079
  //#endregion
7926
8080
  //#region src/schemas/SectionBlock.d.ts
@@ -8567,19 +8721,6 @@ type VersionExtractor = Data.TaggedEnum<VersionExtractorDefinition>;
8567
8721
  * @public
8568
8722
  */
8569
8723
  declare const VersionExtractor: {
8570
- readonly Flag: Data.Case.Constructor<{
8571
- readonly _tag: "Flag";
8572
- readonly flag: string;
8573
- readonly parse?: ((output: string) => string) | undefined | undefined;
8574
- }, "_tag">;
8575
- readonly Json: Data.Case.Constructor<{
8576
- readonly _tag: "Json";
8577
- readonly flag: string;
8578
- readonly path: string;
8579
- }, "_tag">;
8580
- readonly None: Data.Case.Constructor<{
8581
- readonly _tag: "None";
8582
- }, "_tag">;
8583
8724
  readonly $is: <Tag extends "Flag" | "Json" | "None">(tag: Tag) => (u: unknown) => u is Extract<{
8584
8725
  readonly _tag: "Flag";
8585
8726
  readonly flag: string;
@@ -8649,6 +8790,19 @@ declare const VersionExtractor: {
8649
8790
  readonly _tag: "None";
8650
8791
  }, cases: Cases & { [K in Exclude<keyof Cases, "Flag" | "Json" | "None">]: never }): import("effect/Unify").Unify<ReturnType<Cases["Flag" | "Json" | "None"]>>;
8651
8792
  };
8793
+ readonly Flag: Data.Case.Constructor<{
8794
+ readonly _tag: "Flag";
8795
+ readonly flag: string;
8796
+ readonly parse?: ((output: string) => string) | undefined | undefined;
8797
+ }, "_tag">;
8798
+ readonly Json: Data.Case.Constructor<{
8799
+ readonly _tag: "Json";
8800
+ readonly flag: string;
8801
+ readonly path: string;
8802
+ }, "_tag">;
8803
+ readonly None: Data.Case.Constructor<{
8804
+ readonly _tag: "None";
8805
+ }, "_tag">;
8652
8806
  };
8653
8807
  /**
8654
8808
  * What to do when both global and local versions differ.
@@ -8672,20 +8826,8 @@ type ResolutionPolicy = Data.TaggedEnum<ResolutionPolicyDefinition>;
8672
8826
  * @public
8673
8827
  */
8674
8828
  declare const ResolutionPolicy: {
8675
- readonly Report: Data.Case.Constructor<{
8676
- readonly _tag: "Report";
8677
- }, "_tag">;
8678
- readonly PreferLocal: Data.Case.Constructor<{
8679
- readonly _tag: "PreferLocal";
8680
- }, "_tag">;
8681
- readonly PreferGlobal: Data.Case.Constructor<{
8829
+ readonly $is: <Tag extends "PreferGlobal" | "PreferLocal" | "Report" | "RequireMatch">(tag: Tag) => (u: unknown) => u is Extract<{
8682
8830
  readonly _tag: "PreferGlobal";
8683
- }, "_tag">;
8684
- readonly RequireMatch: Data.Case.Constructor<{
8685
- readonly _tag: "RequireMatch";
8686
- }, "_tag">;
8687
- readonly $is: <Tag extends "Report" | "PreferLocal" | "PreferGlobal" | "RequireMatch">(tag: Tag) => (u: unknown) => u is Extract<{
8688
- readonly _tag: "Report";
8689
8831
  }, {
8690
8832
  readonly _tag: Tag;
8691
8833
  }> | Extract<{
@@ -8693,7 +8835,7 @@ declare const ResolutionPolicy: {
8693
8835
  }, {
8694
8836
  readonly _tag: Tag;
8695
8837
  }> | Extract<{
8696
- readonly _tag: "PreferGlobal";
8838
+ readonly _tag: "Report";
8697
8839
  }, {
8698
8840
  readonly _tag: Tag;
8699
8841
  }> | Extract<{
@@ -8703,50 +8845,62 @@ declare const ResolutionPolicy: {
8703
8845
  }>;
8704
8846
  readonly $match: {
8705
8847
  <const Cases extends {
8706
- readonly Report: (args: {
8707
- readonly _tag: "Report";
8848
+ readonly PreferGlobal: (args: {
8849
+ readonly _tag: "PreferGlobal";
8708
8850
  }) => any;
8709
8851
  readonly PreferLocal: (args: {
8710
8852
  readonly _tag: "PreferLocal";
8711
8853
  }) => any;
8712
- readonly PreferGlobal: (args: {
8713
- readonly _tag: "PreferGlobal";
8854
+ readonly Report: (args: {
8855
+ readonly _tag: "Report";
8714
8856
  }) => any;
8715
8857
  readonly RequireMatch: (args: {
8716
8858
  readonly _tag: "RequireMatch";
8717
8859
  }) => any;
8718
- }>(cases: Cases & { [K in Exclude<keyof Cases, "Report" | "PreferLocal" | "PreferGlobal" | "RequireMatch">]: never }): (value: {
8719
- readonly _tag: "Report";
8860
+ }>(cases: Cases & { [K in Exclude<keyof Cases, "PreferGlobal" | "PreferLocal" | "Report" | "RequireMatch">]: never }): (value: {
8861
+ readonly _tag: "PreferGlobal";
8720
8862
  } | {
8721
8863
  readonly _tag: "PreferLocal";
8722
8864
  } | {
8723
- readonly _tag: "PreferGlobal";
8865
+ readonly _tag: "Report";
8724
8866
  } | {
8725
8867
  readonly _tag: "RequireMatch";
8726
- }) => import("effect/Unify").Unify<ReturnType<Cases["Report" | "PreferLocal" | "PreferGlobal" | "RequireMatch"]>>;
8868
+ }) => import("effect/Unify").Unify<ReturnType<Cases["PreferGlobal" | "PreferLocal" | "Report" | "RequireMatch"]>>;
8727
8869
  <const Cases extends {
8728
- readonly Report: (args: {
8729
- readonly _tag: "Report";
8870
+ readonly PreferGlobal: (args: {
8871
+ readonly _tag: "PreferGlobal";
8730
8872
  }) => any;
8731
8873
  readonly PreferLocal: (args: {
8732
8874
  readonly _tag: "PreferLocal";
8733
8875
  }) => any;
8734
- readonly PreferGlobal: (args: {
8735
- readonly _tag: "PreferGlobal";
8876
+ readonly Report: (args: {
8877
+ readonly _tag: "Report";
8736
8878
  }) => any;
8737
8879
  readonly RequireMatch: (args: {
8738
8880
  readonly _tag: "RequireMatch";
8739
8881
  }) => any;
8740
8882
  }>(value: {
8741
- readonly _tag: "Report";
8883
+ readonly _tag: "PreferGlobal";
8742
8884
  } | {
8743
8885
  readonly _tag: "PreferLocal";
8744
8886
  } | {
8745
- readonly _tag: "PreferGlobal";
8887
+ readonly _tag: "Report";
8746
8888
  } | {
8747
8889
  readonly _tag: "RequireMatch";
8748
- }, cases: Cases & { [K in Exclude<keyof Cases, "Report" | "PreferLocal" | "PreferGlobal" | "RequireMatch">]: never }): import("effect/Unify").Unify<ReturnType<Cases["Report" | "PreferLocal" | "PreferGlobal" | "RequireMatch"]>>;
8890
+ }, cases: Cases & { [K in Exclude<keyof Cases, "PreferGlobal" | "PreferLocal" | "Report" | "RequireMatch">]: never }): import("effect/Unify").Unify<ReturnType<Cases["PreferGlobal" | "PreferLocal" | "Report" | "RequireMatch"]>>;
8749
8891
  };
8892
+ readonly PreferGlobal: Data.Case.Constructor<{
8893
+ readonly _tag: "PreferGlobal";
8894
+ }, "_tag">;
8895
+ readonly PreferLocal: Data.Case.Constructor<{
8896
+ readonly _tag: "PreferLocal";
8897
+ }, "_tag">;
8898
+ readonly Report: Data.Case.Constructor<{
8899
+ readonly _tag: "Report";
8900
+ }, "_tag">;
8901
+ readonly RequireMatch: Data.Case.Constructor<{
8902
+ readonly _tag: "RequireMatch";
8903
+ }, "_tag">;
8750
8904
  };
8751
8905
  /**
8752
8906
  * Where the tool must be found.
@@ -8770,24 +8924,12 @@ type SourceRequirement = Data.TaggedEnum<SourceRequirementDefinition>;
8770
8924
  * @public
8771
8925
  */
8772
8926
  declare const SourceRequirement: {
8773
- readonly Any: Data.Case.Constructor<{
8774
- readonly _tag: "Any";
8775
- }, "_tag">;
8776
- readonly OnlyLocal: Data.Case.Constructor<{
8777
- readonly _tag: "OnlyLocal";
8778
- }, "_tag">;
8779
- readonly OnlyGlobal: Data.Case.Constructor<{
8780
- readonly _tag: "OnlyGlobal";
8781
- }, "_tag">;
8782
- readonly Both: Data.Case.Constructor<{
8783
- readonly _tag: "Both";
8784
- }, "_tag">;
8785
- readonly $is: <Tag extends "Any" | "OnlyLocal" | "OnlyGlobal" | "Both">(tag: Tag) => (u: unknown) => u is Extract<{
8927
+ readonly $is: <Tag extends "Any" | "Both" | "OnlyGlobal" | "OnlyLocal">(tag: Tag) => (u: unknown) => u is Extract<{
8786
8928
  readonly _tag: "Any";
8787
8929
  }, {
8788
8930
  readonly _tag: Tag;
8789
8931
  }> | Extract<{
8790
- readonly _tag: "OnlyLocal";
8932
+ readonly _tag: "Both";
8791
8933
  }, {
8792
8934
  readonly _tag: Tag;
8793
8935
  }> | Extract<{
@@ -8795,7 +8937,7 @@ declare const SourceRequirement: {
8795
8937
  }, {
8796
8938
  readonly _tag: Tag;
8797
8939
  }> | Extract<{
8798
- readonly _tag: "Both";
8940
+ readonly _tag: "OnlyLocal";
8799
8941
  }, {
8800
8942
  readonly _tag: Tag;
8801
8943
  }>;
@@ -8804,47 +8946,59 @@ declare const SourceRequirement: {
8804
8946
  readonly Any: (args: {
8805
8947
  readonly _tag: "Any";
8806
8948
  }) => any;
8807
- readonly OnlyLocal: (args: {
8808
- readonly _tag: "OnlyLocal";
8949
+ readonly Both: (args: {
8950
+ readonly _tag: "Both";
8809
8951
  }) => any;
8810
8952
  readonly OnlyGlobal: (args: {
8811
8953
  readonly _tag: "OnlyGlobal";
8812
8954
  }) => any;
8813
- readonly Both: (args: {
8814
- readonly _tag: "Both";
8955
+ readonly OnlyLocal: (args: {
8956
+ readonly _tag: "OnlyLocal";
8815
8957
  }) => any;
8816
- }>(cases: Cases & { [K in Exclude<keyof Cases, "Any" | "OnlyLocal" | "OnlyGlobal" | "Both">]: never }): (value: {
8958
+ }>(cases: Cases & { [K in Exclude<keyof Cases, "Any" | "Both" | "OnlyGlobal" | "OnlyLocal">]: never }): (value: {
8817
8959
  readonly _tag: "Any";
8818
8960
  } | {
8819
- readonly _tag: "OnlyLocal";
8961
+ readonly _tag: "Both";
8820
8962
  } | {
8821
8963
  readonly _tag: "OnlyGlobal";
8822
8964
  } | {
8823
- readonly _tag: "Both";
8824
- }) => import("effect/Unify").Unify<ReturnType<Cases["Any" | "OnlyLocal" | "OnlyGlobal" | "Both"]>>;
8965
+ readonly _tag: "OnlyLocal";
8966
+ }) => import("effect/Unify").Unify<ReturnType<Cases["Any" | "Both" | "OnlyGlobal" | "OnlyLocal"]>>;
8825
8967
  <const Cases extends {
8826
8968
  readonly Any: (args: {
8827
8969
  readonly _tag: "Any";
8828
8970
  }) => any;
8829
- readonly OnlyLocal: (args: {
8830
- readonly _tag: "OnlyLocal";
8971
+ readonly Both: (args: {
8972
+ readonly _tag: "Both";
8831
8973
  }) => any;
8832
8974
  readonly OnlyGlobal: (args: {
8833
8975
  readonly _tag: "OnlyGlobal";
8834
8976
  }) => any;
8835
- readonly Both: (args: {
8836
- readonly _tag: "Both";
8977
+ readonly OnlyLocal: (args: {
8978
+ readonly _tag: "OnlyLocal";
8837
8979
  }) => any;
8838
8980
  }>(value: {
8839
8981
  readonly _tag: "Any";
8840
8982
  } | {
8841
- readonly _tag: "OnlyLocal";
8983
+ readonly _tag: "Both";
8842
8984
  } | {
8843
8985
  readonly _tag: "OnlyGlobal";
8844
8986
  } | {
8845
- readonly _tag: "Both";
8846
- }, cases: Cases & { [K in Exclude<keyof Cases, "Any" | "OnlyLocal" | "OnlyGlobal" | "Both">]: never }): import("effect/Unify").Unify<ReturnType<Cases["Any" | "OnlyLocal" | "OnlyGlobal" | "Both"]>>;
8987
+ readonly _tag: "OnlyLocal";
8988
+ }, cases: Cases & { [K in Exclude<keyof Cases, "Any" | "Both" | "OnlyGlobal" | "OnlyLocal">]: never }): import("effect/Unify").Unify<ReturnType<Cases["Any" | "Both" | "OnlyGlobal" | "OnlyLocal"]>>;
8847
8989
  };
8990
+ readonly Any: Data.Case.Constructor<{
8991
+ readonly _tag: "Any";
8992
+ }, "_tag">;
8993
+ readonly Both: Data.Case.Constructor<{
8994
+ readonly _tag: "Both";
8995
+ }, "_tag">;
8996
+ readonly OnlyGlobal: Data.Case.Constructor<{
8997
+ readonly _tag: "OnlyGlobal";
8998
+ }, "_tag">;
8999
+ readonly OnlyLocal: Data.Case.Constructor<{
9000
+ readonly _tag: "OnlyLocal";
9001
+ }, "_tag">;
8848
9002
  };
8849
9003
  //#endregion
8850
9004
  //#region src/schemas/ToolDefinition.d.ts
@@ -8893,18 +9047,18 @@ declare const SilkPublishConfig_base: Schema.Class<SilkPublishConfig, {
8893
9047
  }>]>>>;
8894
9048
  }, {} & {
8895
9049
  readonly access?: "public" | "restricted" | undefined;
8896
- readonly tag?: string | undefined;
8897
- readonly registry?: string | undefined;
8898
9050
  readonly directory?: string | undefined;
8899
9051
  readonly linkDirectory?: boolean | undefined;
9052
+ readonly registry?: string | undefined;
9053
+ readonly tag?: string | undefined;
8900
9054
  } & {} & {
8901
- readonly targets?: readonly ("npm" | "github" | "jsr" | {
9055
+ readonly targets?: readonly ("github" | "jsr" | "npm" | {
8902
9056
  readonly access?: "public" | "restricted" | undefined;
8903
- readonly tag?: string | undefined;
8904
- readonly registry?: string | undefined;
8905
9057
  readonly directory?: string | undefined;
8906
- readonly protocol?: "npm" | "jsr" | undefined;
9058
+ readonly protocol?: "jsr" | "npm" | undefined;
8907
9059
  readonly provenance?: boolean | undefined;
9060
+ readonly registry?: string | undefined;
9061
+ readonly tag?: string | undefined;
8908
9062
  })[] | undefined;
8909
9063
  }, never, {
8910
9064
  readonly access?: "public" | "restricted" | undefined;
@@ -8917,13 +9071,13 @@ declare const SilkPublishConfig_base: Schema.Class<SilkPublishConfig, {
8917
9071
  } & {
8918
9072
  readonly tag?: string | undefined;
8919
9073
  } & {
8920
- readonly targets?: readonly ("npm" | "github" | "jsr" | {
8921
- readonly access?: "public" | "restricted" | undefined;
8922
- readonly tag?: string | undefined;
9074
+ readonly targets?: readonly ("github" | "jsr" | "npm" | {
9075
+ readonly protocol: "jsr" | "npm";
8923
9076
  readonly registry?: string | undefined;
8924
9077
  readonly directory?: string | undefined;
8925
- readonly protocol: "npm" | "jsr";
9078
+ readonly access?: "public" | "restricted" | undefined;
8926
9079
  readonly provenance?: boolean | undefined;
9080
+ readonly tag?: string | undefined;
8927
9081
  })[] | undefined;
8928
9082
  }, PublishConfig, {}>;
8929
9083
  /**