@savvy-web/silk-effects 1.4.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/changesets/categories/types.js +0 -1
  2. package/changesets/changelog/index.js +0 -2
  3. package/changesets/constants.js +0 -1
  4. package/changesets/errors.js +0 -1
  5. package/changesets/index.js +1 -1
  6. package/changesets/markdownlint/index.js +1 -1
  7. package/changesets/markdownlint/rules/dependency-table-format.js +2 -2
  8. package/changesets/markdownlint/rules/utils.js +1 -1
  9. package/changesets/remark/rules/uncategorized-content.js +1 -1
  10. package/changesets/schemas/changeset.js +0 -1
  11. package/changesets/schemas/dependency-table.js +0 -1
  12. package/changesets/schemas/git.js +0 -1
  13. package/changesets/schemas/github.js +0 -1
  14. package/changesets/schemas/options.js +0 -1
  15. package/changesets/schemas/package-scope.js +0 -1
  16. package/changesets/schemas/primitives.js +0 -1
  17. package/changesets/schemas/release-plan.js +0 -1
  18. package/changesets/schemas/version-files.js +0 -1
  19. package/changesets/services/branch-analyzer.js +0 -1
  20. package/changesets/services/config-inspector.js +1 -2
  21. package/changesets/services/release-planner.js +1 -2
  22. package/changesets/services/workspace-snapshot.js +0 -1
  23. package/changesets/utils/jsonpath.js +1 -1
  24. package/changesets/utils/publishability.js +2 -3
  25. package/changesets/utils/remark-pipeline.js +1 -1
  26. package/changesets/utils/worktree-snapshot.js +2 -2
  27. package/commitlint/config/factory.js +1 -1
  28. package/commitlint/config/schema.js +1 -1
  29. package/commitlint/hook/diagnostics/package-manager.js +1 -1
  30. package/commitlint/index.js +1 -2
  31. package/errors/BiomeSyncError.js +2 -1
  32. package/errors/ChangesetConfigError.js +2 -1
  33. package/errors/ConfigNotFoundError.js +2 -1
  34. package/errors/SectionParseError.js +1 -0
  35. package/errors/SectionValidationError.js +1 -0
  36. package/errors/SectionWriteError.js +1 -0
  37. package/errors/TagFormatError.js +2 -1
  38. package/errors/ToolNotFoundError.js +1 -0
  39. package/errors/ToolResolutionError.js +1 -0
  40. package/errors/ToolVersionMismatchError.js +1 -0
  41. package/errors/VersioningDetectionError.js +2 -1
  42. package/errors/WorkspaceAnalysisError.js +2 -1
  43. package/index.d.ts +265 -84
  44. package/lint/handlers/PnpmWorkspace.js +1 -1
  45. package/lint/index.js +1 -1
  46. package/package.json +2 -2
  47. package/schemas/CommentStyle.js +1 -0
  48. package/schemas/ResolvedTool.js +2 -1
  49. package/schemas/SavvySections.js +6 -1
  50. package/schemas/SectionBlock.js +3 -2
  51. package/schemas/SectionDefinition.js +4 -2
  52. package/schemas/SectionResults.js +12 -3
  53. package/schemas/TagStrategySchemas.js +2 -1
  54. package/schemas/ToolDefinition.js +2 -1
  55. package/schemas/ToolResults.js +18 -4
  56. package/schemas/VersioningSchemas.js +8 -4
  57. package/schemas/WorkspaceAnalysisSchemas.js +3 -0
  58. package/services/BiomeSchemaSync.js +4 -0
  59. package/services/ChangesetConfig.js +2 -0
  60. package/services/ChangesetConfigReader.js +4 -2
  61. package/services/ConfigDiscovery.js +2 -0
  62. package/services/ManagedSection.js +2 -0
  63. package/services/SilkPublishability.js +16 -12
  64. package/services/SilkWorkspaceAnalyzer.js +4 -2
  65. package/services/TagStrategy.js +3 -1
  66. package/services/ToolDiscovery.js +2 -0
  67. package/services/VersioningStrategy.js +2 -0
  68. package/turbo/index.js +1 -1
  69. package/utils/ToolCommand.js +2 -1
@@ -16,7 +16,6 @@ import { Schema } from "effect";
16
16
  * @see {@link resolveCommitType} for mapping commit types to categories
17
17
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
18
18
  *
19
- * @packageDocumentation
20
19
  */
21
20
  /**
22
21
  * Schema for a section category that defines how changes are grouped in release notes.
@@ -56,8 +56,6 @@ import { Effect, Layer } from "effect";
56
56
  *
57
57
  * @see {@link getReleaseLine} in `./getReleaseLine.ts` for individual changeset formatting
58
58
  * @see {@link getDependencyReleaseLine} in `./getDependencyReleaseLine.ts` for dependency table formatting
59
- *
60
- * @packageDocumentation
61
59
  */
62
60
  /**
63
61
  * Combined layer providing all services needed by the formatters.
@@ -16,7 +16,6 @@
16
16
  * - `CSH005` -- Frontmatter validation
17
17
  *
18
18
  * @internal
19
- * @packageDocumentation
20
19
  */
21
20
  /** Base URL for rule documentation on GitHub. */
22
21
  const DOCS_BASE = "https://github.com/savvy-web/changesets/blob/main/docs/rules";
@@ -16,7 +16,6 @@ import { Data } from "effect";
16
16
  *
17
17
  * @see {@link https://effect.website/docs/data-types/data#taggerror | Effect TaggedError documentation}
18
18
  *
19
- * @packageDocumentation
20
19
  */
21
20
  /**
22
21
  * Base class for {@link ChangesetValidationError}.
@@ -166,4 +166,4 @@ var changesets_exports = /* @__PURE__ */ __exportAll({
166
166
  });
167
167
 
168
168
  //#endregion
169
- export { changesets_exports };
169
+ export { AggregateDependencyTablesPlugin, AppliedReleaseEntrySchema, AppliedReleaseSchema, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerBase, BranchAnalyzerLive, BranchFileEntrySchema, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceBase, ChangelogTransformer, ChangesetLinter, ChangesetOptionsSchema, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, ChangesetValidationErrorBase, ClassificationReasonSchema, ClassificationSchema, CommitHashSchema, ConfigInspector, ConfigInspectorBase, ConfigInspectorLive, ConfigurationError, ConfigurationErrorBase, ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyActionSchema, DependencyTable, DependencyTableFormatRule$1 as DependencyTableFormatRule, DependencyTableRowSchema, DependencyTableSchema, DependencyTableTypeSchema, DependencyTypeSchema, DependencyUpdateSchema, FileStatusSchema, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceBase, GlobSchema, HeadingHierarchyRule, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, MarkdownLive, MarkdownParseError, MarkdownParseErrorBase, MarkdownService, MarkdownServiceBase, ContentStructureRule$1 as MarkdownlintContentStructureRule, DependencyTableFormatRule as MarkdownlintDependencyTableFormatRule, HeadingHierarchyRule$1 as MarkdownlintHeadingHierarchyRule, RequiredSectionsRule$1 as MarkdownlintRequiredSectionsRule, UncategorizedContentRule$1 as MarkdownlintUncategorizedContentRule, MergeSectionsPlugin, NonEmptyString, NormalizeFormatPlugin, PackageScopeSchema, PackagesRecordSchema, PendingChangesetSchema, PositiveInteger, PreviewReleaseSchema, ReleasePlanError, ReleasePlanErrorBase, ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule, ResolvedPackageScopeSchema, ResolvedVersionFileSchema, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules, UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VersionFileConfigSchema, VersionFileError, VersionFileErrorBase, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionTypeSchema, WorkspaceSnapshotReader, WorkspaceSnapshotReaderBase, WorkspaceSnapshotReaderLive, changelogFunctions, changesets_exports, computeWorkspaceDependencyDiffs, gitMergeBase, listPublishablePackageNames, makeBranchAnalyzerTest, makeConfigInspectorTest, makeGitHubTest, makeReleasePlannerTest, serializeDependencyTableToMarkdown, snapshotFromWorktree };
@@ -26,4 +26,4 @@ const SilkChangesetsRules = [
26
26
  ];
27
27
 
28
28
  //#endregion
29
- export { SilkChangesetsRules as default };
29
+ export { ContentStructureRule, DependencyTableFormatRule, HeadingHierarchyRule, RequiredSectionsRule, UncategorizedContentRule, SilkChangesetsRules as default };
@@ -3,7 +3,7 @@ import { getHeadingLevel, getHeadingText } from "./utils.js";
3
3
 
4
4
  //#region src/changesets/markdownlint/rules/dependency-table-format.ts
5
5
  const EM_DASH = "—";
6
- const VALID_TYPES = new Set([
6
+ const VALID_TYPES = /* @__PURE__ */ new Set([
7
7
  "dependency",
8
8
  "devDependency",
9
9
  "peerDependency",
@@ -11,7 +11,7 @@ const VALID_TYPES = new Set([
11
11
  "workspace",
12
12
  "config"
13
13
  ]);
14
- const VALID_ACTIONS = new Set([
14
+ const VALID_ACTIONS = /* @__PURE__ */ new Set([
15
15
  "added",
16
16
  "updated",
17
17
  "removed"
@@ -27,4 +27,4 @@ function getHeadingText(heading) {
27
27
  }
28
28
 
29
29
  //#endregion
30
- export { getHeadingLevel, getHeadingText };
30
+ export { RULE_DOCS, getHeadingLevel, getHeadingText };
@@ -7,7 +7,7 @@ import { lintRule } from "unified-lint-rule";
7
7
  *
8
8
  * @internal
9
9
  */
10
- const IGNORED_TYPES = new Set(["html"]);
10
+ const IGNORED_TYPES = /* @__PURE__ */ new Set(["html"]);
11
11
  /**
12
12
  * Determine whether a node is substantive content (not a heading or ignored type).
13
13
  *
@@ -16,7 +16,6 @@ import { Schema } from "effect";
16
16
  * @see {@link https://github.com/changesets/changesets | Changesets documentation}
17
17
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
18
18
  *
19
- * @packageDocumentation
20
19
  */
21
20
  /**
22
21
  * Schema for a changeset summary (1--1000 characters).
@@ -21,7 +21,6 @@ import { Schema } from "effect";
21
21
  * @see {@link DependencyUpdateSchema} for the simpler Changesets API format
22
22
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
23
23
  *
24
- * @packageDocumentation
25
24
  */
26
25
  /**
27
26
  * Valid dependency table actions.
@@ -6,7 +6,6 @@ import { Schema } from "effect";
6
6
  *
7
7
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
8
8
  *
9
- * @packageDocumentation
10
9
  */
11
10
  /**
12
11
  * Schema for a git commit hash (at least 7 lowercase hex characters).
@@ -13,7 +13,6 @@ import { Schema } from "effect";
13
13
  *
14
14
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
15
15
  *
16
- * @packageDocumentation
17
16
  */
18
17
  /**
19
18
  * Test whether a string is a valid URL.
@@ -21,7 +21,6 @@ import { Effect, Schema } from "effect";
21
21
  * @see {@link https://github.com/changesets/changesets/blob/main/docs/config-file-options.md | Changesets config docs}
22
22
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
23
23
  *
24
- * @packageDocumentation
25
24
  */
26
25
  /** Regex for `owner/repo` format, shared between schema and validation. */
27
26
  const REPO_PATTERN = /^[a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+$/;
@@ -40,7 +40,6 @@ import { Schema } from "effect";
40
40
  * @see {@link VersionFileConfigSchema} for the version-file entry shape
41
41
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
42
42
  *
43
- * @packageDocumentation
44
43
  */
45
44
  /**
46
45
  * Schema for a single repo-relative glob pattern.
@@ -12,7 +12,6 @@ import { Schema } from "effect";
12
12
  *
13
13
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
14
14
  *
15
- * @packageDocumentation
16
15
  */
17
16
  /**
18
17
  * A non-empty string schema.
@@ -5,7 +5,6 @@ import { Schema } from "effect";
5
5
  * Result schemas for the {@link ReleasePlanner} service — the structured
6
6
  * preview of pending releases and the result of a native apply.
7
7
  *
8
- * @packageDocumentation
9
8
  */
10
9
  /** A semantic-version bump level (the `"none"` plan type is filtered out upstream). @public */
11
10
  const BumpTypeSchema = Schema.Literal("major", "minor", "patch");
@@ -26,7 +26,6 @@ import { Schema } from "effect";
26
26
  * @see {@link PackageScopeSchema} for the new per-package container
27
27
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
28
28
  *
29
- * @packageDocumentation
30
29
  */
31
30
  /**
32
31
  * Schema for a JSONPath expression starting with `$.`.
@@ -43,7 +43,6 @@ import { execFileSync } from "node:child_process";
43
43
  * @see {@link BranchAnalyzerLive} for the production layer
44
44
  * @see {@link ConfigInspector} for the underlying classification service
45
45
  *
46
- * @packageDocumentation
47
46
  */
48
47
  /** Git diff status as reported by `--name-status`. @public */
49
48
  const FileStatusSchema = Schema.Literal("added", "modified", "deleted", "renamed", "copied", "typechange", "unmerged", "unknown").annotations({ identifier: "FileStatus" });
@@ -41,7 +41,6 @@ import { WorkspaceDiscovery } from "workspaces-effect";
41
41
  * @see {@link ConfigInspector} for the Effect service tag
42
42
  * @see {@link ConfigInspectorLive} for the production layer
43
43
  *
44
- * @packageDocumentation
45
44
  */
46
45
  /** A `versionFiles` entry expanded to its absolute target paths. @public */
47
46
  const ResolvedVersionFileSchema = Schema.Struct({
@@ -454,7 +453,7 @@ function classifyOne(inspected, path) {
454
453
  /**
455
454
  * Live layer for {@link ConfigInspector}.
456
455
  *
457
- * Requires {@link ChangesetConfigReader} and {@link WorkspaceDiscovery}
456
+ * Requires {@link ChangesetConfigReader} and `WorkspaceDiscovery`
458
457
  * in the environment.
459
458
  *
460
459
  * @public
@@ -23,7 +23,6 @@ import { getPackages } from "@manypkg/get-packages";
23
23
  * then reads the generated CHANGELOG blocks back. No changesets-internal logic
24
24
  * (e.g. `getChangelogEntry`) is re-implemented.
25
25
  *
26
- * @packageDocumentation
27
26
  */
28
27
  /** Single workspace-discovery seam; swap to an Effect-native stack later here. */
29
28
  const buildPackages = (root) => getPackages(root);
@@ -249,4 +248,4 @@ function applyEffect(root, dryRun, inspector) {
249
248
  }
250
249
 
251
250
  //#endregion
252
- export { ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, makeReleasePlannerTest };
251
+ export { ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, extractVersionBlock, makeReleasePlannerTest };
@@ -22,7 +22,6 @@ import { execFileSync } from "node:child_process";
22
22
  * @see {@link WorkspaceSnapshotReader} for the service tag
23
23
  * @see {@link WorkspaceSnapshotReaderLive} for the production layer
24
24
  *
25
- * @packageDocumentation
26
25
  */
27
26
  const _tag = Context.Tag("WorkspaceSnapshotReader");
28
27
  /**
@@ -172,4 +172,4 @@ function jsonPathSet(obj, path, value) {
172
172
  }
173
173
 
174
174
  //#endregion
175
- export { jsonPathGet, jsonPathSet };
175
+ export { jsonPathGet, jsonPathSet, parseJsonPath };
@@ -7,18 +7,17 @@ import { PublishabilityDetector } from "workspaces-effect";
7
7
  *
8
8
  * @remarks
9
9
  * Provides `listPublishablePackageNames`, a convenience wrapper around
10
- * {@link PublishabilityDetector} that returns a `Set<string>` of
10
+ * {@link SilkPublishability} that returns a `Set<string>` of
11
11
  * publishable package names. Used by the `deps detect` and `deps regen`
12
12
  * commands to filter out workspace packages whose dependency changes
13
13
  * would never reach a release.
14
14
  *
15
- * @packageDocumentation
16
15
  */
17
16
  /**
18
17
  * Compute the set of currently-publishable workspace package names.
19
18
  *
20
19
  * @remarks
21
- * Uses the currently-active {@link PublishabilityDetector} — wire the
20
+ * Uses the currently-active {@link SilkPublishability} — wire the
22
21
  * {@link SilkPublishabilityDetectorLive} layer to get silk semantics.
23
22
  *
24
23
  * @param packages - The workspace packages to evaluate
@@ -76,4 +76,4 @@ function stringifyMarkdown(tree) {
76
76
  }
77
77
 
78
78
  //#endregion
79
- export { parseMarkdown, stringifyMarkdown };
79
+ export { createRemarkProcessor, parseMarkdown, stringifyMarkdown };
@@ -81,7 +81,7 @@ function normalizeWorkspaceGlob(glob) {
81
81
  */
82
82
  function snapshotFromWorktree(cwd) {
83
83
  const snapshots = [];
84
- const dirs = new Set([cwd]);
84
+ const dirs = /* @__PURE__ */ new Set([cwd]);
85
85
  for (const dir of expandWorkspaceDirs(cwd)) dirs.add(dir);
86
86
  for (const dir of dirs) try {
87
87
  const pkgJson = JSON.parse(readFileSync(join(dir, "package.json"), "utf8"));
@@ -139,4 +139,4 @@ function expandWorkspaceDirs(cwd) {
139
139
  }
140
140
 
141
141
  //#endregion
142
- export { gitMergeBase, snapshotFromWorktree };
142
+ export { gitMergeBase, normalizeWorkspaceGlob, snapshotFromWorktree };
@@ -26,7 +26,7 @@ function createConfig(options) {
26
26
  const cwd = options.cwd ?? process.cwd();
27
27
  const dco = process.env.COMMITLINT_SKIP_DCO === "1" || process.env.COMMITLINT_SKIP_DCO === "true" ? false : options.dco ?? detectDCO(cwd);
28
28
  const scopes = options.scopes ?? [];
29
- const allScopes = [...new Set([...scopes, ...options.additionalScopes ?? []])].sort();
29
+ const allScopes = [.../* @__PURE__ */ new Set([...scopes, ...options.additionalScopes ?? []])].sort();
30
30
  const rules = {
31
31
  "body-max-line-length": [
32
32
  2,
@@ -43,4 +43,4 @@ const ConfigOptionsSchema = Schema.Struct({
43
43
  const decodeConfigOptions = Schema.decodeUnknownSync(ConfigOptionsSchema);
44
44
 
45
45
  //#endregion
46
- export { decodeConfigOptions };
46
+ export { ConfigOptionsSchema, ReleaseFormatSchema, decodeConfigOptions };
@@ -11,7 +11,7 @@ import { readFile } from "node:fs/promises";
11
11
  *
12
12
  * @internal
13
13
  */
14
- const VALID_PMS = new Set([
14
+ const VALID_PMS = /* @__PURE__ */ new Set([
15
15
  "pnpm",
16
16
  "yarn",
17
17
  "bun",
@@ -41,7 +41,6 @@ import { verbosityRule } from "./hook/rules/verbosity.js";
41
41
  * const config = Commitlint.CommitlintConfig.silk();
42
42
  * ```
43
43
  *
44
- * @packageDocumentation
45
44
  */
46
45
  var commitlint_exports = /* @__PURE__ */ __exportAll({
47
46
  COMMIT_TYPES: () => COMMIT_TYPES,
@@ -141,4 +140,4 @@ var CommitlintConfig = class {
141
140
  };
142
141
 
143
142
  //#endregion
144
- export { commitlint_exports };
143
+ export { COMMIT_TYPES, COMMIT_TYPE_DEFINITIONS, CommitlintConfig, CommitlintConfig as default, DCO_SIGNOFF_TEXT, ERROR_EXPLANATIONS, ERROR_SUGGESTIONS, HookSilencer, ISSUES_CACHE_RELATIVE_PATH, PostToolUseEnvelope, PreToolUseEnvelope, SessionStartEnvelope, TDD_SCOPE_PATTERN, TDD_STATES, TYPE_EMOJIS, TYPE_EMOJIS_UNICODE, buildSigningDiagnostic, closesTrailerRule, commitlint_exports, createPromptConfig, createTypeEnum, defaultPromptConfig, detectDCO, detectFromLockfiles, detectPackageManager, detectScopes, emojiPromptConfig, fetchAndCacheOpenIssues, forbiddenContentRule, format, getExplanation, getSuggestion, getTypeEmoji, hasClosingTrailer, inferTicketId, parseBashCommand, parseGpgKeyExpiry, parseHuskyConfigPath, parsePackageManagerField, partitionHits, planLeakageRule, postToolUseAdvise, preToolUseAdvise, preToolUseAllow, preToolUseDeny, preToolUseSilent, prompter, readBranchInfo, readCache, readCommitlintConfigPath, readOpenIssuesFromCache, readOrFetchOpenIssues, readSigningDiagnostic, sessionStartContext, signingFlagConflictRule, softWrapRule, staticConfig, verbosityRule, writeCache };
@@ -5,11 +5,12 @@ import { Data } from "effect";
5
5
  * Raised when a Biome config file cannot be read or its `$schema` URL cannot be updated.
6
6
  *
7
7
  * @remarks
8
- * Returned by {@link BiomeSchemaSync.sync} and {@link BiomeSchemaSync.check} when
8
+ * Returned by `BiomeSchemaSync.sync` and `BiomeSchemaSync.check` when
9
9
  * a `biome.json` or `biome.jsonc` file exists but cannot be read, contains invalid JSON,
10
10
  * or cannot be written back to disk.
11
11
  *
12
12
  * @since 0.1.0
13
+ * @public
13
14
  */
14
15
  var BiomeSyncError = class extends Data.TaggedError("BiomeSyncError") {
15
16
  get message() {
@@ -5,10 +5,11 @@ import { Data } from "effect";
5
5
  * Raised when the `.changeset/config.json` file cannot be read or decoded.
6
6
  *
7
7
  * @remarks
8
- * Returned by {@link ChangesetConfigReader.read} when the file is missing,
8
+ * Returned by `ChangesetConfigReader.read` when the file is missing,
9
9
  * contains invalid JSON, or fails Effect Schema validation.
10
10
  *
11
11
  * @since 0.1.0
12
+ * @public
12
13
  */
13
14
  var ChangesetConfigError = class extends Data.TaggedError("ChangesetConfigError") {
14
15
  get message() {
@@ -5,11 +5,12 @@ import { Data } from "effect";
5
5
  * Raised when a config file cannot be located in any of the expected locations.
6
6
  *
7
7
  * @remarks
8
- * Returned by consumers that require a config file to exist. {@link ConfigDiscovery.find}
8
+ * Returned by consumers that require a config file to exist. `ConfigDiscovery.find`
9
9
  * itself returns `null` instead of failing — callers that need a hard failure should
10
10
  * map `null` to this error.
11
11
  *
12
12
  * @since 0.1.0
13
+ * @public
13
14
  */
14
15
  var ConfigNotFoundError = class extends Data.TaggedError("ConfigNotFoundError") {
15
16
  get message() {
@@ -5,6 +5,7 @@ import { Data } from "effect";
5
5
  * Raised when a managed section cannot be parsed from a file.
6
6
  *
7
7
  * @since 0.2.0
8
+ * @public
8
9
  */
9
10
  var SectionParseError = class extends Data.TaggedError("SectionParseError") {
10
11
  get message() {
@@ -5,6 +5,7 @@ import { Data } from "effect";
5
5
  * Raised when a {@link SectionBlock} fails validation at creation time.
6
6
  *
7
7
  * @since 0.2.0
8
+ * @public
8
9
  */
9
10
  var SectionValidationError = class extends Data.TaggedError("SectionValidationError") {
10
11
  get message() {
@@ -5,6 +5,7 @@ import { Data } from "effect";
5
5
  * Raised when a managed section cannot be written to a file.
6
6
  *
7
7
  * @since 0.2.0
8
+ * @public
8
9
  */
9
10
  var SectionWriteError = class extends Data.TaggedError("SectionWriteError") {
10
11
  get message() {
@@ -5,10 +5,11 @@ import { Data } from "effect";
5
5
  * Raised when a git tag string cannot be formatted for the given package name and version.
6
6
  *
7
7
  * @remarks
8
- * Returned by {@link TagStrategy.formatTag} when the `version` argument is an empty string
8
+ * Returned by `TagStrategy.formatTag` when the `version` argument is an empty string
9
9
  * or another invariant prevents tag construction.
10
10
  *
11
11
  * @since 0.1.0
12
+ * @public
12
13
  */
13
14
  var TagFormatError = class extends Data.TaggedError("TagFormatError") {
14
15
  get message() {
@@ -1,6 +1,7 @@
1
1
  import { Data } from "effect";
2
2
 
3
3
  //#region src/errors/ToolNotFoundError.ts
4
+ /** @public */
4
5
  var ToolNotFoundError = class extends Data.TaggedError("ToolNotFoundError") {
5
6
  get message() {
6
7
  return `Tool not found: ${this.name} — ${this.reason}`;
@@ -1,6 +1,7 @@
1
1
  import { Data } from "effect";
2
2
 
3
3
  //#region src/errors/ToolResolutionError.ts
4
+ /** @public */
4
5
  var ToolResolutionError = class extends Data.TaggedError("ToolResolutionError") {
5
6
  get message() {
6
7
  return `Tool resolution failed: ${this.name} — ${this.reason}`;
@@ -1,6 +1,7 @@
1
1
  import { Data } from "effect";
2
2
 
3
3
  //#region src/errors/ToolVersionMismatchError.ts
4
+ /** @public */
4
5
  var ToolVersionMismatchError = class extends Data.TaggedError("ToolVersionMismatchError") {
5
6
  get message() {
6
7
  return `Tool version mismatch: ${this.name} — global ${this.globalVersion} vs local ${this.localVersion}`;
@@ -5,10 +5,11 @@ import { Data } from "effect";
5
5
  * Raised when the versioning strategy cannot be determined from the workspace state.
6
6
  *
7
7
  * @remarks
8
- * Returned by {@link VersioningStrategy.detect} when an unexpected condition
8
+ * Returned by `VersioningStrategy.detect` when an unexpected condition
9
9
  * prevents strategy classification.
10
10
  *
11
11
  * @since 0.1.0
12
+ * @public
12
13
  */
13
14
  var VersioningDetectionError = class extends Data.TaggedError("VersioningDetectionError") {
14
15
  get message() {
@@ -5,11 +5,12 @@ import { Data } from "effect";
5
5
  * Raised when workspace analysis fails for a given root directory.
6
6
  *
7
7
  * @remarks
8
- * Returned by {@link SilkWorkspaceAnalyzer.analyze} when the analysis pipeline
8
+ * Returned by `SilkWorkspaceAnalyzer.analyze` when the analysis pipeline
9
9
  * encounters an unrecoverable error — e.g. workspace discovery failure,
10
10
  * package manager detection failure, or publishability detection errors.
11
11
  *
12
12
  * @since 0.2.0
13
+ * @public
13
14
  */
14
15
  var WorkspaceAnalysisError = class extends Data.TaggedError("WorkspaceAnalysisError") {
15
16
  get message() {