@savvy-web/silk 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3296,9 +3296,17 @@ type Label = Label$1;
3296
3296
  type Severity = Severity$1;
3297
3297
  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;
3298
3298
  //#endregion
3299
- //#region ../../node_modules/.pnpm/@effected+git@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/git/index.d.ts
3299
+ //#region ../../node_modules/.pnpm/@effected+git@0.4.0_effect@4.0.0-beta.98/node_modules/@effected/git/index.d.ts
3300
3300
  //#region src/Git.d.ts
3301
3301
  declare const GitCommandError_base: Schema.Class<GitCommandError, Schema.TaggedStruct<"GitCommandError", {
3302
+ /**
3303
+ * Discriminates a pre-spawn guard rejection from a genuine git failure.
3304
+ * `"refused"` — a pre-spawn guard (an option-like ref) rejected the
3305
+ * invocation and no process was ever spawned. `"failed"` — git actually ran
3306
+ * and exited non-zero, or the spawn/IO itself failed. Composed retry/fallback
3307
+ * logic routes on this instead of matching `detail` prose.
3308
+ */
3309
+ readonly kind: Schema.Literals<readonly ["refused", "failed"]>;
3302
3310
  /** The argument vector, without the leading `git`. */
3303
3311
  readonly args: Schema.$Array<Schema.String>;
3304
3312
  /** The working directory the command ran in. */
@@ -3319,7 +3327,10 @@ declare const GitCommandError_base: Schema.Class<GitCommandError, Schema.TaggedS
3319
3327
  * `exitCode` and `stderr` are populated when git actually ran. `detail`
3320
3328
  * carries a human-readable explanation of an absorbed spawn-level
3321
3329
  * `PlatformError` or a per-run timeout — the two cases where git never
3322
- * produced an exit code at all.
3330
+ * produced an exit code at all. {@link GitCommandError.kind | `kind`}
3331
+ * discriminates a pre-spawn guard rejection (`"refused"`) from a genuine git
3332
+ * failure (`"failed"`) structurally, so composed retry/fallback logic never has
3333
+ * to parse the prose in `message` or `detail`.
3323
3334
  *
3324
3335
  * @public
3325
3336
  */
@@ -4352,7 +4363,7 @@ declare class InvalidIntegrityHashError extends InvalidIntegrityHashError_base {
4352
4363
  */
4353
4364
  type IntegrityHashBrand = string & Brand.Brand<"IntegrityHash">;
4354
4365
  //#endregion
4355
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/index.d.ts
4366
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/index.d.ts
4356
4367
  //#region src/GlobPattern.d.ts
4357
4368
  declare const GlobPatternError_base: Schema.Class<GlobPatternError, Schema.TaggedStruct<"GlobPatternError", {
4358
4369
  readonly pattern: Schema.String;
@@ -4452,6 +4463,17 @@ declare class GlobPattern extends GlobPattern_base {
4452
4463
  * `""` when the first segment carries magic. New API with no upstream
4453
4464
  * analogue, designed for the workspaces enumerator; well-defined for
4454
4465
  * default-options patterns.
4466
+ *
4467
+ * @remarks
4468
+ * Meaningful for **non-negated** patterns only. For a negated pattern
4469
+ * ({@link GlobPattern.negated}), the prefix is still computed from the inner
4470
+ * pattern, but {@link GlobPattern.matches} inverts the result — so the
4471
+ * pattern can match paths *outside* this prefix. A consumer that bounds
4472
+ * traversal to `enumerationPrefix` (e.g. a walker's descent) will
4473
+ * under-enumerate against a negated pattern; guard on `negated` and do not
4474
+ * use `enumerationPrefix` as the traversal root there — enumerate from `cwd`
4475
+ * or another encompassing root instead. The inversion is not the getter's
4476
+ * semantics to express — check `negated` at the call site.
4455
4477
  */
4456
4478
  get enumerationPrefix(): string;
4457
4479
  /**
@@ -4460,6 +4482,11 @@ declare class GlobPattern extends GlobPattern_base {
4460
4482
  * a globstar, or a magic segment followed by more segments. The enumerator
4461
4483
  * uses this to decide between a single-level read and a bounded recursive
4462
4484
  * descent (the issue-#62 fix, end to end).
4485
+ *
4486
+ * @remarks
4487
+ * Like {@link GlobPattern.enumerationPrefix}, this reads the inner pattern
4488
+ * and does not account for whole-pattern negation; guard on
4489
+ * {@link GlobPattern.negated} at the call site.
4463
4490
  */
4464
4491
  get crossesSegments(): boolean;
4465
4492
  /** Escape every magic character in `literal` so it matches only itself. */
@@ -4476,7 +4503,7 @@ declare class GlobPattern extends GlobPattern_base {
4476
4503
  static readonly FromString: Schema.Codec<GlobPattern, string>;
4477
4504
  }
4478
4505
  //#endregion
4479
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/index.d.ts
4506
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/index.d.ts
4480
4507
  //#region src/BunExtension.d.ts
4481
4508
  declare const BunExtension_base: Schema.Class<BunExtension, Schema.Struct<{
4482
4509
  readonly _tag: Schema.tag<"bun">;
@@ -5303,7 +5330,7 @@ declare class Package extends Package_base {
5303
5330
  toJsonString(options?: PackageFormatOptions): string;
5304
5331
  }
5305
5332
  //#endregion
5306
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/index.d.ts
5333
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/index.d.ts
5307
5334
  //#region src/WorkspacePackage.d.ts
5308
5335
  declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
5309
5336
  /** Scoped-package visibility. Its presence overrides `private`. */
@@ -6576,7 +6603,7 @@ interface WorkspacesOptions {
6576
6603
  readonly maxDepth?: number;
6577
6604
  }
6578
6605
  //#endregion
6579
- //#region ../../node_modules/.pnpm/@effected+walker@0.2.0_@effected+glob@0.1.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/walker/index.d.ts
6606
+ //#region ../../node_modules/.pnpm/@effected+walker@0.2.1_@effected+glob@0.1.1_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/walker/index.d.ts
6580
6607
  declare const DescendError_base: Schema.Class<DescendError, Schema.TaggedStruct<"DescendError", {
6581
6608
  /** The glob pattern's source text. */
6582
6609
  readonly pattern: Schema.String;
@@ -3296,9 +3296,17 @@ type Label = Label$1;
3296
3296
  type Severity = Severity$1;
3297
3297
  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;
3298
3298
  //#endregion
3299
- //#region ../../node_modules/.pnpm/@effected+git@0.3.0_effect@4.0.0-beta.98/node_modules/@effected/git/index.d.ts
3299
+ //#region ../../node_modules/.pnpm/@effected+git@0.4.0_effect@4.0.0-beta.98/node_modules/@effected/git/index.d.ts
3300
3300
  //#region src/Git.d.ts
3301
3301
  declare const GitCommandError_base: Schema.Class<GitCommandError, Schema.TaggedStruct<"GitCommandError", {
3302
+ /**
3303
+ * Discriminates a pre-spawn guard rejection from a genuine git failure.
3304
+ * `"refused"` — a pre-spawn guard (an option-like ref) rejected the
3305
+ * invocation and no process was ever spawned. `"failed"` — git actually ran
3306
+ * and exited non-zero, or the spawn/IO itself failed. Composed retry/fallback
3307
+ * logic routes on this instead of matching `detail` prose.
3308
+ */
3309
+ readonly kind: Schema.Literals<readonly ["refused", "failed"]>;
3302
3310
  /** The argument vector, without the leading `git`. */
3303
3311
  readonly args: Schema.$Array<Schema.String>;
3304
3312
  /** The working directory the command ran in. */
@@ -3319,7 +3327,10 @@ declare const GitCommandError_base: Schema.Class<GitCommandError, Schema.TaggedS
3319
3327
  * `exitCode` and `stderr` are populated when git actually ran. `detail`
3320
3328
  * carries a human-readable explanation of an absorbed spawn-level
3321
3329
  * `PlatformError` or a per-run timeout — the two cases where git never
3322
- * produced an exit code at all.
3330
+ * produced an exit code at all. {@link GitCommandError.kind | `kind`}
3331
+ * discriminates a pre-spawn guard rejection (`"refused"`) from a genuine git
3332
+ * failure (`"failed"`) structurally, so composed retry/fallback logic never has
3333
+ * to parse the prose in `message` or `detail`.
3323
3334
  *
3324
3335
  * @public
3325
3336
  */
@@ -4352,7 +4363,7 @@ declare class InvalidIntegrityHashError extends InvalidIntegrityHashError_base {
4352
4363
  */
4353
4364
  type IntegrityHashBrand = string & Brand.Brand<"IntegrityHash">;
4354
4365
  //#endregion
4355
- //#region ../../node_modules/.pnpm/@effected+glob@0.1.0_effect@4.0.0-beta.98/node_modules/@effected/glob/index.d.ts
4366
+ //#region ../../node_modules/.pnpm/@effected+glob@0.1.1_effect@4.0.0-beta.98/node_modules/@effected/glob/index.d.ts
4356
4367
  //#region src/GlobPattern.d.ts
4357
4368
  declare const GlobPatternError_base: Schema.Class<GlobPatternError, Schema.TaggedStruct<"GlobPatternError", {
4358
4369
  readonly pattern: Schema.String;
@@ -4452,6 +4463,17 @@ declare class GlobPattern extends GlobPattern_base {
4452
4463
  * `""` when the first segment carries magic. New API with no upstream
4453
4464
  * analogue, designed for the workspaces enumerator; well-defined for
4454
4465
  * default-options patterns.
4466
+ *
4467
+ * @remarks
4468
+ * Meaningful for **non-negated** patterns only. For a negated pattern
4469
+ * ({@link GlobPattern.negated}), the prefix is still computed from the inner
4470
+ * pattern, but {@link GlobPattern.matches} inverts the result — so the
4471
+ * pattern can match paths *outside* this prefix. A consumer that bounds
4472
+ * traversal to `enumerationPrefix` (e.g. a walker's descent) will
4473
+ * under-enumerate against a negated pattern; guard on `negated` and do not
4474
+ * use `enumerationPrefix` as the traversal root there — enumerate from `cwd`
4475
+ * or another encompassing root instead. The inversion is not the getter's
4476
+ * semantics to express — check `negated` at the call site.
4455
4477
  */
4456
4478
  get enumerationPrefix(): string;
4457
4479
  /**
@@ -4460,6 +4482,11 @@ declare class GlobPattern extends GlobPattern_base {
4460
4482
  * a globstar, or a magic segment followed by more segments. The enumerator
4461
4483
  * uses this to decide between a single-level read and a bounded recursive
4462
4484
  * descent (the issue-#62 fix, end to end).
4485
+ *
4486
+ * @remarks
4487
+ * Like {@link GlobPattern.enumerationPrefix}, this reads the inner pattern
4488
+ * and does not account for whole-pattern negation; guard on
4489
+ * {@link GlobPattern.negated} at the call site.
4463
4490
  */
4464
4491
  get crossesSegments(): boolean;
4465
4492
  /** Escape every magic character in `literal` so it matches only itself. */
@@ -4476,7 +4503,7 @@ declare class GlobPattern extends GlobPattern_base {
4476
4503
  static readonly FromString: Schema.Codec<GlobPattern, string>;
4477
4504
  }
4478
4505
  //#endregion
4479
- //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.2_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_6d706c7cbff31434036042c49619c450/node_modules/@effected/lockfiles/index.d.ts
4506
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.3_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+npm@0.2_2bd071ae657036cda4f0e368b3590d06/node_modules/@effected/lockfiles/index.d.ts
4480
4507
  //#region src/BunExtension.d.ts
4481
4508
  declare const BunExtension_base: Schema.Class<BunExtension, Schema.Struct<{
4482
4509
  readonly _tag: Schema.tag<"bun">;
@@ -5303,7 +5330,7 @@ declare class Package extends Package_base {
5303
5330
  toJsonString(options?: PackageFormatOptions): string;
5304
5331
  }
5305
5332
  //#endregion
5306
- //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.0_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__@effected+semver_f24913ec85acd149a637ef72d71f35a5/node_modules/@effected/workspaces/index.d.ts
5333
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.3.1_@effected+jsonc@0.2.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/workspaces/index.d.ts
5307
5334
  //#region src/WorkspacePackage.d.ts
5308
5335
  declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
5309
5336
  /** Scoped-package visibility. Its presence overrides `private`. */
@@ -6576,7 +6603,7 @@ interface WorkspacesOptions {
6576
6603
  readonly maxDepth?: number;
6577
6604
  }
6578
6605
  //#endregion
6579
- //#region ../../node_modules/.pnpm/@effected+walker@0.2.0_@effected+glob@0.1.0_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/walker/index.d.ts
6606
+ //#region ../../node_modules/.pnpm/@effected+walker@0.2.1_@effected+glob@0.1.1_effect@4.0.0-beta.98__effect@4.0.0-beta.98/node_modules/@effected/walker/index.d.ts
6580
6607
  declare const DescendError_base: Schema.Class<DescendError, Schema.TaggedStruct<"DescendError", {
6581
6608
  /** The glob pattern's source text. */
6582
6609
  readonly pattern: Schema.String;