@systemfsoftware/effect-daemon-spec 3.0.11 → 3.0.13

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @systemfsoftware/effect-daemon-spec
2
2
 
3
+ ## 3.0.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Bump the stryker catalog to pull in the latest patch releases of the stryker-js ecosystem.
8
+
9
+ ## 3.0.12
10
+
11
+ ### Patch Changes
12
+
13
+ - The `schema-filter-constructive-generation` rule distinguishes scalar and struct receiver chains: `arbitrary: { candidate }` no longer satisfies the rule on any receiver, struct filters are permitted without annotations because Effect v4 provides no compiler hook for constructive cross-field filter generation, and node `toCodecArbitrary` overrides only silence the rule on `Schema.declare` receivers where the compiler honors them.
14
+
3
15
  ## 3.0.11
4
16
 
5
17
  ### Patch Changes
package/dist/index.mjs CHANGED
@@ -493,10 +493,6 @@ const generatedFromCommand = (command) => ({
493
493
  exitSuccess: command.exitSuccess,
494
494
  intensityExceeded: command.intensityExceeded
495
495
  });
496
- const generatedLink = () => Schema.link()(DecideInputGenerated, {
497
- decode: SchemaGetter.transform(commandFromGenerated),
498
- encode: SchemaGetter.transform(generatedFromCommand)
499
- });
500
496
  /**
501
497
  * The command's field map and cross-field check, named so the class below extends a binding
502
498
  * rather than an inline factory call. An anonymous base adds a new `ae-forgotten-export`
@@ -506,9 +502,9 @@ const generatedLink = () => Schema.link()(DecideInputGenerated, {
506
502
  * `failedIndex` is at most `MAX_CHILDREN_CEILING - 1` because it must be strictly less
507
503
  * than `totalChildren`, whose own maximum is the ceiling.
508
504
  *
509
- * The constructor hangs on the node as `toCodecArbitrary` *before* the check: a filter
510
- * cannot construct a cross-field sample, and `.pipe(Schema.check)` would hide the
511
- * annotation from the gate (the check receiver would be `Schema`, not this struct).
505
+ * The struct-level cross-field filter relies on Effect's native rejection
506
+ * sampling. Constructive generation lives at the class level via
507
+ * `toCodecArbitrary` on `DecideInput` below.
512
508
  */
513
509
  const DecideInputBase = Schema.Struct({
514
510
  strategy: RestartStrategy,
@@ -522,7 +518,7 @@ const DecideInputBase = Schema.Struct({
522
518
  }))),
523
519
  exitSuccess: Schema.Boolean,
524
520
  intensityExceeded: Schema.Boolean
525
- }).annotate({ toCodecArbitrary: generatedLink }).check(Schema.makeFilter(failedIndexAddressesAChild, { message: BOUND_MESSAGE }));
521
+ }).check(Schema.makeFilter(failedIndexAddressesAChild, { message: BOUND_MESSAGE }));
526
522
  /**
527
523
  * The restart command. A `Schema.Class` rather than a `Schema.Struct` because `Workflow.make`
528
524
  * takes the command's class as its first argument, and a struct carries no `identifier` and
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@systemfsoftware/effect-daemon-spec",
3
3
  "license": "Apache-2.0",
4
- "version": "3.0.11",
4
+ "version": "3.0.13",
5
5
  "author": "Ryan Lee <drdgvhbh@gmail.com>",
6
6
  "repository": {
7
7
  "type": "git",
@@ -37,7 +37,7 @@
37
37
  "dist"
38
38
  ],
39
39
  "dependencies": {
40
- "@systemfsoftware/effect-cell-types": "^8.3.1"
40
+ "@systemfsoftware/effect-cell-types": "^8.3.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@effect/vitest": "4.0.0-rc.116",
@@ -45,10 +45,10 @@
45
45
  "@systemfsoftware/arethetypeswrong-cli": "^4.2.0",
46
46
  "@systemfsoftware/stryker-ignorer-effect-schema-declarations": "^0.1.0",
47
47
  "@systemfsoftware/stryker-ignorer-in-source-vitest-block": "^0.1.0",
48
- "@systemfsoftware/stryker-js": "^9.0.0",
49
- "@systemfsoftware/stryker-js-typescript-checker": "^7.0.2",
50
- "@systemfsoftware/stryker-js-vitest-runner": "^7.0.0",
51
- "@systemfsoftware/stryker-test-contribution": "^3.0.2",
48
+ "@systemfsoftware/stryker-js": "^10.0.1",
49
+ "@systemfsoftware/stryker-js-typescript-checker": "^7.0.4",
50
+ "@systemfsoftware/stryker-js-vitest-runner": "^7.0.1",
51
+ "@systemfsoftware/stryker-test-contribution": "^3.0.3",
52
52
  "@types/node": "^26",
53
53
  "@vitest/coverage-v8": "^5",
54
54
  "effect": "4.0.0-rc.116",
@@ -58,14 +58,15 @@
58
58
  "tsdown": "^0.23.0",
59
59
  "typescript": "^7",
60
60
  "vitest": "^5",
61
- "@systemfsoftware/effect-schema-law": "^2.2.0",
62
- "@systemfsoftware/all": "^2.1.1",
63
- "@systemfsoftware/effect-gherkin-spec": "^4.1.0",
61
+ "@systemfsoftware/all": "^2.1.2",
62
+ "@systemfsoftware/effect-schema-vite": "^2.2.1",
63
+ "@systemfsoftware/effect-gherkin-spec": "^4.2.1",
64
+ "@systemfsoftware/effect-schema-law": "^2.2.1",
64
65
  "@systemfsoftware/oxlint-config": "^0.1.0",
65
- "@systemfsoftware/effect-schema-vite": "^2.2.0",
66
66
  "@systemfsoftware/stryker-config": "^0.1.0",
67
- "@systemfsoftware/vitest-config": "^0.1.0",
68
- "@systemfsoftware/tsconfig": "^1.3.5"
67
+ "@systemfsoftware/tsdown-config": "^0.1.0",
68
+ "@systemfsoftware/tsconfig": "^1.3.6",
69
+ "@systemfsoftware/vitest-config": "^0.1.0"
69
70
  },
70
71
  "peerDependencies": {
71
72
  "effect": "4.0.0-rc.116"
@@ -75,13 +76,13 @@
75
76
  },
76
77
  "scripts": {
77
78
  "clean": "rimraf dist",
78
- "build": "tsdown && pnpm api:check",
79
+ "build": "tsdown -l warn && pnpm api:check",
79
80
  "typecheck": "tsc --noEmit --incremental",
80
81
  "test": "vitest run",
81
82
  "mutation": "stryker run",
82
83
  "mutation:full": "stryker run --force",
83
84
  "lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; oxlint . --format=${f:-default}",
84
- "api:check": "api-extractor run",
85
+ "api:check": "api-extractor-quiet run",
85
86
  "api:update": "api-extractor run --local",
86
87
  "attw": "attw --pack ."
87
88
  }