@systemfsoftware/effect-daemon-spec 3.0.11 → 3.0.12
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 +6 -0
- package/dist/index.mjs +4 -8
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @systemfsoftware/effect-daemon-spec
|
|
2
2
|
|
|
3
|
+
## 3.0.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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.
|
|
8
|
+
|
|
3
9
|
## 3.0.11
|
|
4
10
|
|
|
5
11
|
### 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
|
|
510
|
-
*
|
|
511
|
-
*
|
|
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
|
-
}).
|
|
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.
|
|
4
|
+
"version": "3.0.12",
|
|
5
5
|
"author": "Ryan Lee <drdgvhbh@gmail.com>",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -58,14 +58,15 @@
|
|
|
58
58
|
"tsdown": "^0.23.0",
|
|
59
59
|
"typescript": "^7",
|
|
60
60
|
"vitest": "^5",
|
|
61
|
-
"@systemfsoftware/effect-
|
|
62
|
-
"@systemfsoftware/all": "^2.1.1",
|
|
63
|
-
"@systemfsoftware/effect-gherkin-spec": "^4.1.0",
|
|
61
|
+
"@systemfsoftware/effect-gherkin-spec": "^4.2.0",
|
|
64
62
|
"@systemfsoftware/oxlint-config": "^0.1.0",
|
|
65
|
-
"@systemfsoftware/effect-schema-vite": "^2.2.0",
|
|
66
63
|
"@systemfsoftware/stryker-config": "^0.1.0",
|
|
64
|
+
"@systemfsoftware/tsconfig": "^1.3.5",
|
|
65
|
+
"@systemfsoftware/effect-schema-vite": "^2.2.0",
|
|
66
|
+
"@systemfsoftware/tsdown-config": "^0.1.0",
|
|
67
67
|
"@systemfsoftware/vitest-config": "^0.1.0",
|
|
68
|
-
"@systemfsoftware/
|
|
68
|
+
"@systemfsoftware/effect-schema-law": "^2.2.0",
|
|
69
|
+
"@systemfsoftware/all": "^2.1.1"
|
|
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
|
}
|