@systemfsoftware/stryker-js-cli-contract 0.3.0 → 2.0.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/dist/index.d.mts CHANGED
@@ -26,26 +26,91 @@ declare const PluginLoadFailureReason: Schema.Union<readonly [Schema.TaggedStruc
26
26
  type PluginLoadFailureReason = typeof PluginLoadFailureReason.Type;
27
27
  //#endregion
28
28
  //#region src/run-event.schema.d.ts
29
- declare const RunPhase: S.Literals<readonly ["prepare", "instrument", "dry-run", "mutation-test"]>;
29
+ declare const RunPhase: S.Literals<readonly ["prepare", "instrument", "dry-run", "mutation-test", "reporting"]>;
30
30
  type RunPhase = typeof RunPhase.Type;
31
31
  declare const RunId: S.brand<S.String, "RunId">;
32
32
  type RunId = typeof RunId.Type;
33
33
  declare const RunStarted_base: S.Class<RunStarted, S.TaggedStruct<"stream", {
34
- readonly schemaVersion: S.Literal<"6.0">;
34
+ readonly schemaVersion: S.Literal<"10.0">;
35
35
  readonly runId: S.brand<S.String, "RunId">;
36
36
  readonly mode: S.Literals<readonly ["human", "machine"]>;
37
37
  readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
38
- }>, {}>;
38
+ }>, {
39
+ readonly brand: unique symbol;
40
+ }>;
39
41
  declare class RunStarted extends RunStarted_base {}
40
42
  declare const PhaseEntered_base: S.Class<PhaseEntered, S.TaggedStruct<"phase", {
41
- readonly phase: S.Literals<readonly ["prepare", "instrument", "dry-run", "mutation-test"]>;
43
+ readonly phase: S.Literals<readonly ["prepare", "instrument", "dry-run", "mutation-test", "reporting"]>;
42
44
  readonly elapsedMs: S.Finite;
43
- }>, {}>;
45
+ }>, {
46
+ readonly brand: unique symbol;
47
+ }>;
44
48
  declare class PhaseEntered extends PhaseEntered_base {}
49
+ declare const ReuseRefusals: S.Struct<{
50
+ readonly semanticsChanged: S.Int;
51
+ readonly policyChanged: S.Int;
52
+ readonly runInputsChanged: S.Int;
53
+ readonly closureChanged: S.Int;
54
+ readonly closureAnalysisFailed: S.optionalKey<S.Int>;
55
+ readonly programChanged: S.optionalKey<S.Int>;
56
+ readonly timeoutUnreproduced: S.Int;
57
+ readonly flakyDependency: S.Int;
58
+ readonly noPriorRecord: S.Int;
59
+ readonly decidedPerRun: S.optionalKey<S.Int>;
60
+ }>;
61
+ type ReuseRefusals = typeof ReuseRefusals.Type;
62
+ declare const PlanReportDiscardReason: S.Literals<readonly ["noPriorRecord", "cacheLayoutChanged", "semanticsChanged", "policyChanged", "runInputsChanged"]>;
63
+ type PlanReportDiscardReason = typeof PlanReportDiscardReason.Type;
64
+ /**
65
+ * Why a whole incremental report was discarded before planning: its reason
66
+ * vocabulary matches the engine's report admission, and `actual`/`expected`
67
+ * repeat the mismatching identity when the reason names one.
68
+ */
69
+ declare const PlanReportDiscard: S.Struct<{
70
+ readonly reason: S.Literals<readonly ["noPriorRecord", "cacheLayoutChanged", "semanticsChanged", "policyChanged", "runInputsChanged"]>;
71
+ readonly actual: S.optionalKey<S.String>;
72
+ readonly expected: S.String;
73
+ }>;
74
+ type PlanReportDiscard = typeof PlanReportDiscard.Type;
75
+ declare const PlanProjectReuse: S.Struct<{
76
+ readonly project: S.String;
77
+ readonly reused: S.Int;
78
+ readonly ran: S.Int;
79
+ readonly refused: S.Struct<{
80
+ readonly semanticsChanged: S.Int;
81
+ readonly policyChanged: S.Int;
82
+ readonly runInputsChanged: S.Int;
83
+ readonly closureChanged: S.Int;
84
+ readonly closureAnalysisFailed: S.optionalKey<S.Int>;
85
+ readonly programChanged: S.optionalKey<S.Int>;
86
+ readonly timeoutUnreproduced: S.Int;
87
+ readonly flakyDependency: S.Int;
88
+ readonly noPriorRecord: S.Int;
89
+ readonly decidedPerRun: S.optionalKey<S.Int>;
90
+ }>;
91
+ readonly discard: S.optionalKey<S.Struct<{
92
+ readonly reason: S.Literals<readonly ["noPriorRecord", "cacheLayoutChanged", "semanticsChanged", "policyChanged", "runInputsChanged"]>;
93
+ readonly actual: S.optionalKey<S.String>;
94
+ readonly expected: S.String;
95
+ }>>;
96
+ }>;
97
+ type PlanProjectReuse = typeof PlanProjectReuse.Type;
45
98
  declare const PlanKnown_base: S.Class<PlanKnown, S.TaggedStruct<"plan", {
46
99
  readonly total: S.Int;
47
100
  readonly shardPlan: S.NullOr<S.Struct<{
48
- readonly version: S.Literal<1>;
101
+ readonly version: S.Literal<2>;
102
+ readonly scope: S.Union<readonly [S.TaggedStruct<"Unscoped", {}>, S.TaggedStruct<"DiffScoped", {
103
+ readonly base: S.NonEmptyString;
104
+ readonly head: S.NonEmptyString;
105
+ readonly sources: S.String;
106
+ readonly files: S.$Array<S.String>;
107
+ }>, S.TaggedStruct<"FullScope", {
108
+ readonly base: S.NonEmptyString;
109
+ readonly head: S.NonEmptyString;
110
+ readonly sources: S.String;
111
+ readonly files: S.$Array<S.String>;
112
+ readonly reason: S.NonEmptyString;
113
+ }>]>;
49
114
  readonly targetSeconds: S.Finite;
50
115
  readonly shards: S.$Array<S.Struct<{
51
116
  readonly index: S.Int;
@@ -63,16 +128,42 @@ declare const PlanKnown_base: S.Class<PlanKnown, S.TaggedStruct<"plan", {
63
128
  }>>;
64
129
  }>;
65
130
  }>>;
66
- }>, {}>;
131
+ readonly projects: S.optionalKey<S.$Array<S.Struct<{
132
+ readonly project: S.String;
133
+ readonly reused: S.Int;
134
+ readonly ran: S.Int;
135
+ readonly refused: S.Struct<{
136
+ readonly semanticsChanged: S.Int;
137
+ readonly policyChanged: S.Int;
138
+ readonly runInputsChanged: S.Int;
139
+ readonly closureChanged: S.Int;
140
+ readonly closureAnalysisFailed: S.optionalKey<S.Int>;
141
+ readonly programChanged: S.optionalKey<S.Int>;
142
+ readonly timeoutUnreproduced: S.Int;
143
+ readonly flakyDependency: S.Int;
144
+ readonly noPriorRecord: S.Int;
145
+ readonly decidedPerRun: S.optionalKey<S.Int>;
146
+ }>;
147
+ readonly discard: S.optionalKey<S.Struct<{
148
+ readonly reason: S.Literals<readonly ["noPriorRecord", "cacheLayoutChanged", "semanticsChanged", "policyChanged", "runInputsChanged"]>;
149
+ readonly actual: S.optionalKey<S.String>;
150
+ readonly expected: S.String;
151
+ }>>;
152
+ }>>>;
153
+ }>, {
154
+ readonly brand: unique symbol;
155
+ }>;
67
156
  declare class PlanKnown extends PlanKnown_base {}
68
157
  declare const WorkerRole: S.Literals<readonly ["testRunner", "checker"]>;
69
158
  type WorkerRole = typeof WorkerRole.Type;
70
159
  declare const WorkerReported_base: S.Class<WorkerReported, S.TaggedStruct<"worker", {
71
- readonly schemaVersion: S.Literal<"6.0">;
160
+ readonly schemaVersion: S.Literal<"10.0">;
72
161
  readonly role: S.Literals<readonly ["testRunner", "checker"]>;
73
162
  readonly index: S.Int;
74
163
  readonly startupMs: S.Finite;
75
- }>, {}>;
164
+ }>, {
165
+ readonly brand: unique symbol;
166
+ }>;
76
167
  declare class WorkerReported extends WorkerReported_base {}
77
168
  declare const MutantCost: S.Struct<{
78
169
  readonly fixedOverheadMs: S.Finite;
@@ -81,9 +172,9 @@ declare const MutantCost: S.Struct<{
81
172
  readonly shared: S.Boolean;
82
173
  }>;
83
174
  type MutantCost = typeof MutantCost.Type;
84
- declare const RunMutantTestedEvent_base: S.Class<RunMutantTestedEvent, S.TaggedStruct<"mutantTested", {
175
+ declare const RunMutantTestedEvent_base: S.Class<RunMutantTestedEvent, S.Struct<{
176
+ readonly _tag: S.tag<"mutantTested">;
85
177
  readonly id: S.brand<S.String, "MutantId">;
86
- readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
87
178
  readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
88
179
  readonly location: S.decodeTo<S.declare<{
89
180
  readonly start: {
@@ -124,18 +215,34 @@ declare const RunMutantTestedEvent_base: S.Class<RunMutantTestedEvent, S.TaggedS
124
215
  readonly testsExecuted: S.Int;
125
216
  readonly shared: S.Boolean;
126
217
  }>>;
127
- }>, {}>;
218
+ readonly subsumption: S.NullOr<S.Union<readonly [S.TaggedStruct<"Subsumed", {
219
+ readonly rule: S.Literals<readonly ["complement"]>;
220
+ readonly dominators: S.NonEmptyArray<S.brand<S.String, "MutantId">>;
221
+ }>, S.TaggedStruct<"Readmitted", {
222
+ readonly rule: S.Literals<readonly ["complement"]>;
223
+ readonly causes: S.NonEmptyArray<S.Struct<{
224
+ readonly dominator: S.brand<S.String, "MutantId">;
225
+ readonly code: S.Literals<readonly ["dominator-ignored-at-check", "dominator-compile-error", "dominator-ignored-at-plan", "dominator-remembered-without-running", "dominator-unsettled"]>;
226
+ readonly detail: S.String;
227
+ }>>;
228
+ }>]>>;
229
+ readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
230
+ readonly statusReason: S.NullOr<S.String>;
231
+ }>, {
232
+ readonly brand: unique symbol;
233
+ }>;
234
+ declare class RunMutantTestedEvent extends RunMutantTestedEvent_base {}
128
235
  /**
129
236
  * The machine-stream line a tested mutant is published as. Its wire shape is a
130
237
  * published contract: the `mutant` tag and the `file`/`mutator` keys must not
131
- * change. The line carries the verified fields of `Reporter.MutantTested` plus
132
- * the static classification (R24) and the measured cost breakdown (R39).
238
+ * change. The line carries the verified fields of `Reporter.MutantTested`, the
239
+ * status reason, the static classification (R24) and the measured cost
240
+ * breakdown (R39).
133
241
  */
134
- declare class RunMutantTestedEvent extends RunMutantTestedEvent_base {}
135
242
  type RunMutantTested = RunMutantTestedEvent;
136
- declare const MutantTestedWireSchema: S.TaggedStruct<"mutant", {
243
+ declare const MutantTestedWireSchema: S.Struct<{
244
+ readonly _tag: S.tag<"mutant">;
137
245
  readonly id: S.brand<S.String, "MutantId">;
138
- readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
139
246
  readonly file: S.toType<S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>>;
140
247
  readonly location: S.decodeTo<S.declare<{
141
248
  readonly start: {
@@ -176,13 +283,28 @@ declare const MutantTestedWireSchema: S.TaggedStruct<"mutant", {
176
283
  readonly testsExecuted: S.Int;
177
284
  readonly shared: S.Boolean;
178
285
  }>>;
286
+ readonly subsumption: S.NullOr<S.Union<readonly [S.TaggedStruct<"Subsumed", {
287
+ readonly rule: S.Literals<readonly ["complement"]>;
288
+ readonly dominators: S.NonEmptyArray<S.brand<S.String, "MutantId">>;
289
+ }>, S.TaggedStruct<"Readmitted", {
290
+ readonly rule: S.Literals<readonly ["complement"]>;
291
+ readonly causes: S.NonEmptyArray<S.Struct<{
292
+ readonly dominator: S.brand<S.String, "MutantId">;
293
+ readonly code: S.Literals<readonly ["dominator-ignored-at-check", "dominator-compile-error", "dominator-ignored-at-plan", "dominator-remembered-without-running", "dominator-unsettled"]>;
294
+ readonly detail: S.String;
295
+ }>>;
296
+ }>]>>;
297
+ readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
298
+ readonly statusReason: S.NullOr<S.String>;
179
299
  }>;
180
300
  declare const RunMutantTested: S.Codec<RunMutantTested, typeof MutantTestedWireSchema.Encoded>;
181
301
  declare const Heartbeat_base: S.Class<Heartbeat, S.TaggedStruct<"tick", {
182
302
  readonly elapsedMs: S.Finite;
183
303
  readonly completed: S.Int;
184
304
  readonly total: S.NullOr<S.Int>;
185
- }>, {}>;
305
+ }>, {
306
+ readonly brand: unique symbol;
307
+ }>;
186
308
  declare class Heartbeat extends Heartbeat_base {}
187
309
  declare const VerdictLocation: S.Struct<{
188
310
  readonly start: S.Struct<{
@@ -226,11 +348,25 @@ declare const MutantSetPolicy: S.Literals<readonly ["default", "full"]>;
226
348
  type MutantSetPolicy = typeof MutantSetPolicy.Type;
227
349
  declare const IncrementalMode: S.Literals<readonly ["incremental", "full"]>;
228
350
  type IncrementalMode = typeof IncrementalMode.Type;
351
+ declare const CheckDuration: S.Union<readonly [S.TaggedStruct<"measured", {
352
+ readonly ms: S.Finite;
353
+ }>, S.TaggedStruct<"not-run", {}>, S.TaggedStruct<"not-recorded", {}>]>;
354
+ type CheckDuration = typeof CheckDuration.Type;
355
+ declare const ReportingDuration: S.Union<readonly [S.TaggedStruct<"measured", {
356
+ readonly ms: S.Finite;
357
+ }>, S.TaggedStruct<"not-recorded", {}>]>;
358
+ type ReportingDuration = typeof ReportingDuration.Type;
229
359
  declare const PhaseDurations: S.Struct<{
230
360
  readonly prepare: S.Finite;
231
361
  readonly instrument: S.Finite;
232
362
  readonly 'dry-run': S.Finite;
233
363
  readonly 'mutation-test': S.Finite;
364
+ readonly check: S.withDecodingDefaultKey<S.Union<readonly [S.TaggedStruct<"measured", {
365
+ readonly ms: S.Finite;
366
+ }>, S.TaggedStruct<"not-run", {}>, S.TaggedStruct<"not-recorded", {}>]>, never>;
367
+ readonly reporting: S.withDecodingDefaultKey<S.Union<readonly [S.TaggedStruct<"measured", {
368
+ readonly ms: S.Finite;
369
+ }>, S.TaggedStruct<"not-recorded", {}>]>, never>;
234
370
  }>;
235
371
  type PhaseDurations = typeof PhaseDurations.Type;
236
372
  declare const StaticVerdict: S.Struct<{
@@ -244,7 +380,7 @@ declare const Budget: S.Struct<{
244
380
  }>;
245
381
  type Budget = typeof Budget.Type;
246
382
  declare const VerdictReached_base: S.Class<VerdictReached, S.TaggedStruct<"verdict", {
247
- readonly schemaVersion: S.Literal<"6.0">;
383
+ readonly schemaVersion: S.Literal<"10.0">;
248
384
  readonly runId: S.brand<S.String, "RunId">;
249
385
  readonly mode: S.Literals<readonly ["human", "machine"]>;
250
386
  readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
@@ -281,6 +417,12 @@ declare const VerdictReached_base: S.Class<VerdictReached, S.TaggedStruct<"verdi
281
417
  readonly instrument: S.Finite;
282
418
  readonly 'dry-run': S.Finite;
283
419
  readonly 'mutation-test': S.Finite;
420
+ readonly check: S.withDecodingDefaultKey<S.Union<readonly [S.TaggedStruct<"measured", {
421
+ readonly ms: S.Finite;
422
+ }>, S.TaggedStruct<"not-run", {}>, S.TaggedStruct<"not-recorded", {}>]>, never>;
423
+ readonly reporting: S.withDecodingDefaultKey<S.Union<readonly [S.TaggedStruct<"measured", {
424
+ readonly ms: S.Finite;
425
+ }>, S.TaggedStruct<"not-recorded", {}>]>, never>;
284
426
  }>>;
285
427
  readonly static: S.NullOr<S.Struct<{
286
428
  readonly count: S.Int;
@@ -290,7 +432,9 @@ declare const VerdictReached_base: S.Class<VerdictReached, S.TaggedStruct<"verdi
290
432
  readonly predictedSeconds: S.Finite;
291
433
  readonly actualSeconds: S.Finite;
292
434
  }>;
293
- }>, {}>;
435
+ }>, {
436
+ readonly brand: unique symbol;
437
+ }>;
294
438
  declare class VerdictReached extends VerdictReached_base {}
295
439
  declare const FrameworkContributionRow: S.Struct<{
296
440
  readonly name: S.String;
@@ -327,7 +471,9 @@ declare const PluginsReported_base: S.Class<PluginsReported, S.TaggedStruct<"plu
327
471
  readonly winner: S.String;
328
472
  readonly loser: S.String;
329
473
  }>>;
330
- }>, {}>;
474
+ }>, {
475
+ readonly brand: unique symbol;
476
+ }>;
331
477
  declare class PluginsReported extends PluginsReported_base {}
332
478
  declare const FormatRegistryRow: S.Struct<{
333
479
  readonly extension: S.String;
@@ -343,7 +489,9 @@ declare const FormatRegistryResolved_base: S.Class<FormatRegistryResolved, S.Tag
343
489
  readonly ownerModule: S.String;
344
490
  readonly language: S.String;
345
491
  }>>;
346
- }>, {}>;
492
+ }>, {
493
+ readonly brand: unique symbol;
494
+ }>;
347
495
  declare class FormatRegistryResolved extends FormatRegistryResolved_base {}
348
496
  declare const SkippedFileRow: S.Struct<{
349
497
  readonly file: S.String;
@@ -357,18 +505,10 @@ declare const SkippedReported_base: S.Class<SkippedReported, S.TaggedStruct<"ski
357
505
  readonly extension: S.String;
358
506
  readonly reason: S.String;
359
507
  }>>;
360
- }>, {}>;
361
- declare class SkippedReported extends SkippedReported_base {}
362
- declare const ReuseRefusals: S.Struct<{
363
- readonly semanticsChanged: S.Int;
364
- readonly policyChanged: S.Int;
365
- readonly runInputsChanged: S.Int;
366
- readonly closureChanged: S.Int;
367
- readonly timeoutUnreproduced: S.Int;
368
- readonly flakyDependency: S.Int;
369
- readonly noPriorRecord: S.Int;
508
+ }>, {
509
+ readonly brand: unique symbol;
370
510
  }>;
371
- type ReuseRefusals = typeof ReuseRefusals.Type;
511
+ declare class SkippedReported extends SkippedReported_base {}
372
512
  declare const ReuseReported_base: S.Class<ReuseReported, S.TaggedStruct<"reuse", {
373
513
  readonly reused: S.Int;
374
514
  readonly ran: S.Int;
@@ -377,16 +517,23 @@ declare const ReuseReported_base: S.Class<ReuseReported, S.TaggedStruct<"reuse",
377
517
  readonly policyChanged: S.Int;
378
518
  readonly runInputsChanged: S.Int;
379
519
  readonly closureChanged: S.Int;
520
+ readonly closureAnalysisFailed: S.optionalKey<S.Int>;
521
+ readonly programChanged: S.optionalKey<S.Int>;
380
522
  readonly timeoutUnreproduced: S.Int;
381
523
  readonly flakyDependency: S.Int;
382
524
  readonly noPriorRecord: S.Int;
525
+ readonly decidedPerRun: S.optionalKey<S.Int>;
383
526
  }>;
384
- }>, {}>;
527
+ }>, {
528
+ readonly brand: unique symbol;
529
+ }>;
385
530
  declare class ReuseReported extends ReuseReported_base {}
386
531
  declare const TceReported_base: S.Class<TceReported, S.TaggedStruct<"tce", {
387
532
  readonly equivalentToOriginal: S.Int;
388
533
  readonly duplicateAtSite: S.Int;
389
- }>, {}>;
534
+ }>, {
535
+ readonly brand: unique symbol;
536
+ }>;
390
537
  declare class TceReported extends TceReported_base {}
391
538
  declare const MutantDetailReported_base: S.Class<MutantDetailReported, S.TaggedStruct<"mutant-detail", {
392
539
  readonly id: S.brand<S.String, "MutantId">;
@@ -394,7 +541,9 @@ declare const MutantDetailReported_base: S.Class<MutantDetailReported, S.TaggedS
394
541
  readonly coveringTests: S.$Array<S.String>;
395
542
  readonly killedBy: S.NullOr<S.String>;
396
543
  readonly reproducer: S.NullOr<S.String>;
397
- }>, {}>;
544
+ }>, {
545
+ readonly brand: unique symbol;
546
+ }>;
398
547
  declare class MutantDetailReported extends MutantDetailReported_base {}
399
548
  declare const FeedbackJudgment: S.Literals<readonly ["useful", "not-useful"]>;
400
549
  type FeedbackJudgment = typeof FeedbackJudgment.Type;
@@ -402,10 +551,12 @@ declare const FeedbackReported_base: S.Class<FeedbackReported, S.TaggedStruct<"f
402
551
  readonly id: S.brand<S.String, "MutantId">;
403
552
  readonly judgment: S.Literals<readonly ["useful", "not-useful"]>;
404
553
  readonly reason: S.NullOr<S.String>;
405
- }>, {}>;
554
+ }>, {
555
+ readonly brand: unique symbol;
556
+ }>;
406
557
  declare class FeedbackReported extends FeedbackReported_base {}
407
558
  declare const RunFailed_base: S.Class<RunFailed, S.TaggedStruct<"error", {
408
- readonly schemaVersion: S.Literal<"6.0">;
559
+ readonly schemaVersion: S.Literal<"10.0">;
409
560
  readonly code: S.Int;
410
561
  readonly error: S.String;
411
562
  readonly remediation: S.String;
@@ -421,26 +572,31 @@ declare const RunFailed_base: S.Class<RunFailed, S.TaggedStruct<"error", {
421
572
  }>, S.TaggedStruct<"ImportFailed", {
422
573
  readonly cause: S.Unknown;
423
574
  }>]>>;
424
- }>, {}>;
575
+ }>, {
576
+ readonly brand: unique symbol;
577
+ }>;
425
578
  declare class RunFailed extends RunFailed_base {}
426
579
  declare const HelpRendered_base: S.Class<HelpRendered, S.TaggedStruct<"help", {
427
- readonly schemaVersion: S.Literal<"6.0">;
580
+ readonly schemaVersion: S.Literal<"10.0">;
428
581
  readonly code: S.Literals<readonly [0]>;
429
582
  readonly help: S.String;
430
- }>, {}>;
583
+ }>, {
584
+ readonly brand: unique symbol;
585
+ }>;
431
586
  declare class HelpRendered extends HelpRendered_base {}
432
587
  declare const RefusalRule: S.Literal<"mutation-runs-on-main-ci">;
433
588
  type RefusalRule = typeof RefusalRule.Type;
434
589
  declare const Refused_base: S.Class<Refused, S.TaggedStruct<"refused", {
435
- readonly schemaVersion: S.Literal<"6.0">;
590
+ readonly schemaVersion: S.Literal<"10.0">;
436
591
  readonly rule: S.Literal<"mutation-runs-on-main-ci">;
437
592
  readonly message: S.String;
438
- }>, {}>;
593
+ }>, {
594
+ readonly brand: unique symbol;
595
+ }>;
439
596
  declare class Refused extends Refused_base {}
440
597
  declare const RunEvent: S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, typeof WorkerReported, S.Codec<RunMutantTestedEvent, {
441
598
  readonly _tag: "mutant";
442
599
  readonly id: string;
443
- readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
444
600
  readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
445
601
  readonly location: {
446
602
  readonly start: {
@@ -463,7 +619,382 @@ declare const RunEvent: S.Union<readonly [typeof RunStarted, typeof PhaseEntered
463
619
  readonly testsExecuted: number;
464
620
  readonly shared: boolean;
465
621
  } | null;
622
+ readonly subsumption: {
623
+ readonly _tag: "Subsumed";
624
+ readonly rule: "complement";
625
+ readonly dominators: readonly [string, ...string[]];
626
+ } | {
627
+ readonly _tag: "Readmitted";
628
+ readonly rule: "complement";
629
+ readonly causes: readonly [{
630
+ readonly dominator: string;
631
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
632
+ readonly detail: string;
633
+ }, ...{
634
+ readonly dominator: string;
635
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
636
+ readonly detail: string;
637
+ }[]];
638
+ } | null;
639
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
640
+ readonly statusReason: string | null;
466
641
  }, never, never>, typeof Heartbeat, typeof PluginsReported, typeof FormatRegistryResolved, typeof SkippedReported, typeof ReuseReported, typeof TceReported, typeof MutantDetailReported, typeof FeedbackReported, typeof VerdictReached, typeof RunFailed, typeof HelpRendered, typeof Refused]> & {
642
+ readonly tag: "_tag";
643
+ readonly discriminants: readonly ["stream", "phase", "plan", "worker", "mutantTested", "tick", "plugins", "formats", "skipped", "reuse", "tce", "mutant-detail", "feedback", "verdict", "error", "help", "refused"];
644
+ readonly cases: {
645
+ error: typeof RunFailed;
646
+ feedback: typeof FeedbackReported;
647
+ formats: typeof FormatRegistryResolved;
648
+ help: typeof HelpRendered;
649
+ "mutant-detail": typeof MutantDetailReported;
650
+ mutantTested: S.Codec<RunMutantTestedEvent, {
651
+ readonly _tag: "mutant";
652
+ readonly id: string;
653
+ readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
654
+ readonly location: {
655
+ readonly start: {
656
+ readonly line: number;
657
+ readonly column: number;
658
+ };
659
+ readonly end: {
660
+ readonly line: number;
661
+ readonly column: number;
662
+ };
663
+ };
664
+ readonly mutator: string;
665
+ readonly replacement: string | null;
666
+ readonly completed: number;
667
+ readonly total: number;
668
+ readonly static: boolean;
669
+ readonly cost: {
670
+ readonly fixedOverheadMs: number;
671
+ readonly testBodyMs: number;
672
+ readonly testsExecuted: number;
673
+ readonly shared: boolean;
674
+ } | null;
675
+ readonly subsumption: {
676
+ readonly _tag: "Subsumed";
677
+ readonly rule: "complement";
678
+ readonly dominators: readonly [string, ...string[]];
679
+ } | {
680
+ readonly _tag: "Readmitted";
681
+ readonly rule: "complement";
682
+ readonly causes: readonly [{
683
+ readonly dominator: string;
684
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
685
+ readonly detail: string;
686
+ }, ...{
687
+ readonly dominator: string;
688
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
689
+ readonly detail: string;
690
+ }[]];
691
+ } | null;
692
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
693
+ readonly statusReason: string | null;
694
+ }, never, never>;
695
+ phase: typeof PhaseEntered;
696
+ plan: typeof PlanKnown;
697
+ plugins: typeof PluginsReported;
698
+ refused: typeof Refused;
699
+ reuse: typeof ReuseReported;
700
+ skipped: typeof SkippedReported;
701
+ stream: typeof RunStarted;
702
+ tce: typeof TceReported;
703
+ tick: typeof Heartbeat;
704
+ verdict: typeof VerdictReached;
705
+ worker: typeof WorkerReported;
706
+ };
707
+ readonly isAnyOf: <const Keys>(keys: readonly Keys[]) => (value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported) => value is Extract<FeedbackReported, {
708
+ readonly _tag: Keys;
709
+ }> | Extract<FormatRegistryResolved, {
710
+ readonly _tag: Keys;
711
+ }> | Extract<Heartbeat, {
712
+ readonly _tag: Keys;
713
+ }> | Extract<HelpRendered, {
714
+ readonly _tag: Keys;
715
+ }> | Extract<MutantDetailReported, {
716
+ readonly _tag: Keys;
717
+ }> | Extract<PhaseEntered, {
718
+ readonly _tag: Keys;
719
+ }> | Extract<PlanKnown, {
720
+ readonly _tag: Keys;
721
+ }> | Extract<PluginsReported, {
722
+ readonly _tag: Keys;
723
+ }> | Extract<Refused, {
724
+ readonly _tag: Keys;
725
+ }> | Extract<ReuseReported, {
726
+ readonly _tag: Keys;
727
+ }> | Extract<RunFailed, {
728
+ readonly _tag: Keys;
729
+ }> | Extract<RunMutantTestedEvent, {
730
+ readonly _tag: Keys;
731
+ }> | Extract<RunStarted, {
732
+ readonly _tag: Keys;
733
+ }> | Extract<SkippedReported, {
734
+ readonly _tag: Keys;
735
+ }> | Extract<TceReported, {
736
+ readonly _tag: Keys;
737
+ }> | Extract<VerdictReached, {
738
+ readonly _tag: Keys;
739
+ }> | Extract<WorkerReported, {
740
+ readonly _tag: Keys;
741
+ }>;
742
+ readonly guards: {
743
+ error: (u: unknown) => u is RunFailed;
744
+ feedback: (u: unknown) => u is FeedbackReported;
745
+ formats: (u: unknown) => u is FormatRegistryResolved;
746
+ help: (u: unknown) => u is HelpRendered;
747
+ "mutant-detail": (u: unknown) => u is MutantDetailReported;
748
+ mutantTested: (u: unknown) => u is RunMutantTestedEvent;
749
+ phase: (u: unknown) => u is PhaseEntered;
750
+ plan: (u: unknown) => u is PlanKnown;
751
+ plugins: (u: unknown) => u is PluginsReported;
752
+ refused: (u: unknown) => u is Refused;
753
+ reuse: (u: unknown) => u is ReuseReported;
754
+ skipped: (u: unknown) => u is SkippedReported;
755
+ stream: (u: unknown) => u is RunStarted;
756
+ tce: (u: unknown) => u is TceReported;
757
+ tick: (u: unknown) => u is Heartbeat;
758
+ verdict: (u: unknown) => u is VerdictReached;
759
+ worker: (u: unknown) => u is WorkerReported;
760
+ };
761
+ readonly match: {
762
+ <Handlers extends { [K in "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]: (value: {
763
+ readonly error: typeof RunFailed;
764
+ readonly feedback: typeof FeedbackReported;
765
+ readonly formats: typeof FormatRegistryResolved;
766
+ readonly help: typeof HelpRendered;
767
+ readonly "mutant-detail": typeof MutantDetailReported;
768
+ readonly mutantTested: S.Codec<RunMutantTestedEvent, {
769
+ readonly _tag: "mutant";
770
+ readonly id: string;
771
+ readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
772
+ readonly location: {
773
+ readonly start: {
774
+ readonly line: number;
775
+ readonly column: number;
776
+ };
777
+ readonly end: {
778
+ readonly line: number;
779
+ readonly column: number;
780
+ };
781
+ };
782
+ readonly mutator: string;
783
+ readonly replacement: string | null;
784
+ readonly completed: number;
785
+ readonly total: number;
786
+ readonly static: boolean;
787
+ readonly cost: {
788
+ readonly fixedOverheadMs: number;
789
+ readonly testBodyMs: number;
790
+ readonly testsExecuted: number;
791
+ readonly shared: boolean;
792
+ } | null;
793
+ readonly subsumption: {
794
+ readonly _tag: "Subsumed";
795
+ readonly rule: "complement";
796
+ readonly dominators: readonly [string, ...string[]];
797
+ } | {
798
+ readonly _tag: "Readmitted";
799
+ readonly rule: "complement";
800
+ readonly causes: readonly [{
801
+ readonly dominator: string;
802
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
803
+ readonly detail: string;
804
+ }, ...{
805
+ readonly dominator: string;
806
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
807
+ readonly detail: string;
808
+ }[]];
809
+ } | null;
810
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
811
+ readonly statusReason: string | null;
812
+ }, never, never>;
813
+ readonly phase: typeof PhaseEntered;
814
+ readonly plan: typeof PlanKnown;
815
+ readonly plugins: typeof PluginsReported;
816
+ readonly refused: typeof Refused;
817
+ readonly reuse: typeof ReuseReported;
818
+ readonly skipped: typeof SkippedReported;
819
+ readonly stream: typeof RunStarted;
820
+ readonly tce: typeof TceReported;
821
+ readonly tick: typeof Heartbeat;
822
+ readonly verdict: typeof VerdictReached;
823
+ readonly worker: typeof WorkerReported;
824
+ }[K]["Type"]) => any; }>(value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported, cases: Handlers): import("effect/Unify").Unify<ReturnType<Handlers["error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]>>;
825
+ <Handlers extends { [K in "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]: (value: {
826
+ readonly error: typeof RunFailed;
827
+ readonly feedback: typeof FeedbackReported;
828
+ readonly formats: typeof FormatRegistryResolved;
829
+ readonly help: typeof HelpRendered;
830
+ readonly "mutant-detail": typeof MutantDetailReported;
831
+ readonly mutantTested: S.Codec<RunMutantTestedEvent, {
832
+ readonly _tag: "mutant";
833
+ readonly id: string;
834
+ readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
835
+ readonly location: {
836
+ readonly start: {
837
+ readonly line: number;
838
+ readonly column: number;
839
+ };
840
+ readonly end: {
841
+ readonly line: number;
842
+ readonly column: number;
843
+ };
844
+ };
845
+ readonly mutator: string;
846
+ readonly replacement: string | null;
847
+ readonly completed: number;
848
+ readonly total: number;
849
+ readonly static: boolean;
850
+ readonly cost: {
851
+ readonly fixedOverheadMs: number;
852
+ readonly testBodyMs: number;
853
+ readonly testsExecuted: number;
854
+ readonly shared: boolean;
855
+ } | null;
856
+ readonly subsumption: {
857
+ readonly _tag: "Subsumed";
858
+ readonly rule: "complement";
859
+ readonly dominators: readonly [string, ...string[]];
860
+ } | {
861
+ readonly _tag: "Readmitted";
862
+ readonly rule: "complement";
863
+ readonly causes: readonly [{
864
+ readonly dominator: string;
865
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
866
+ readonly detail: string;
867
+ }, ...{
868
+ readonly dominator: string;
869
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
870
+ readonly detail: string;
871
+ }[]];
872
+ } | null;
873
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
874
+ readonly statusReason: string | null;
875
+ }, never, never>;
876
+ readonly phase: typeof PhaseEntered;
877
+ readonly plan: typeof PlanKnown;
878
+ readonly plugins: typeof PluginsReported;
879
+ readonly refused: typeof Refused;
880
+ readonly reuse: typeof ReuseReported;
881
+ readonly skipped: typeof SkippedReported;
882
+ readonly stream: typeof RunStarted;
883
+ readonly tce: typeof TceReported;
884
+ readonly tick: typeof Heartbeat;
885
+ readonly verdict: typeof VerdictReached;
886
+ readonly worker: typeof WorkerReported;
887
+ }[K]["Type"]) => any; }>(cases: Handlers): (value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported) => import("effect/Unify").Unify<ReturnType<Handlers["error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]>>;
888
+ };
889
+ readonly matchOrElse: {
890
+ <Handlers, OrElse>(value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported, cases: Handlers & {
891
+ readonly error?: ((value: RunFailed) => any) | undefined;
892
+ readonly feedback?: ((value: FeedbackReported) => any) | undefined;
893
+ readonly formats?: ((value: FormatRegistryResolved) => any) | undefined;
894
+ readonly help?: ((value: HelpRendered) => any) | undefined;
895
+ readonly "mutant-detail"?: ((value: MutantDetailReported) => any) | undefined;
896
+ readonly mutantTested?: ((value: RunMutantTestedEvent) => any) | undefined;
897
+ readonly phase?: ((value: PhaseEntered) => any) | undefined;
898
+ readonly plan?: ((value: PlanKnown) => any) | undefined;
899
+ readonly plugins?: ((value: PluginsReported) => any) | undefined;
900
+ readonly refused?: ((value: Refused) => any) | undefined;
901
+ readonly reuse?: ((value: ReuseReported) => any) | undefined;
902
+ readonly skipped?: ((value: SkippedReported) => any) | undefined;
903
+ readonly stream?: ((value: RunStarted) => any) | undefined;
904
+ readonly tce?: ((value: TceReported) => any) | undefined;
905
+ readonly tick?: ((value: Heartbeat) => any) | undefined;
906
+ readonly verdict?: ((value: VerdictReached) => any) | undefined;
907
+ readonly worker?: ((value: WorkerReported) => any) | undefined;
908
+ } & (Exclude<keyof Handlers, "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"> extends never ? unknown : never), orElse: OrElse & ((value: Exclude<FeedbackReported, {
909
+ readonly _tag: keyof Handlers;
910
+ }> | Exclude<FormatRegistryResolved, {
911
+ readonly _tag: keyof Handlers;
912
+ }> | Exclude<Heartbeat, {
913
+ readonly _tag: keyof Handlers;
914
+ }> | Exclude<HelpRendered, {
915
+ readonly _tag: keyof Handlers;
916
+ }> | Exclude<MutantDetailReported, {
917
+ readonly _tag: keyof Handlers;
918
+ }> | Exclude<PhaseEntered, {
919
+ readonly _tag: keyof Handlers;
920
+ }> | Exclude<PlanKnown, {
921
+ readonly _tag: keyof Handlers;
922
+ }> | Exclude<PluginsReported, {
923
+ readonly _tag: keyof Handlers;
924
+ }> | Exclude<Refused, {
925
+ readonly _tag: keyof Handlers;
926
+ }> | Exclude<ReuseReported, {
927
+ readonly _tag: keyof Handlers;
928
+ }> | Exclude<RunFailed, {
929
+ readonly _tag: keyof Handlers;
930
+ }> | Exclude<RunMutantTestedEvent, {
931
+ readonly _tag: keyof Handlers;
932
+ }> | Exclude<RunStarted, {
933
+ readonly _tag: keyof Handlers;
934
+ }> | Exclude<SkippedReported, {
935
+ readonly _tag: keyof Handlers;
936
+ }> | Exclude<TceReported, {
937
+ readonly _tag: keyof Handlers;
938
+ }> | Exclude<VerdictReached, {
939
+ readonly _tag: keyof Handlers;
940
+ }> | Exclude<WorkerReported, {
941
+ readonly _tag: keyof Handlers;
942
+ }>) => any)): import("effect/Unify").Unify<{ [K in keyof Handlers]-?: NonNullable<Handlers[K]> extends ((...args: Array<any>) => infer R) ? R : never; }[keyof Handlers] | (OrElse extends ((...args: Array<any>) => infer R) ? R : never)>;
943
+ <Handlers, OrElse>(cases: Handlers & {
944
+ readonly error?: ((value: RunFailed) => any) | undefined;
945
+ readonly feedback?: ((value: FeedbackReported) => any) | undefined;
946
+ readonly formats?: ((value: FormatRegistryResolved) => any) | undefined;
947
+ readonly help?: ((value: HelpRendered) => any) | undefined;
948
+ readonly "mutant-detail"?: ((value: MutantDetailReported) => any) | undefined;
949
+ readonly mutantTested?: ((value: RunMutantTestedEvent) => any) | undefined;
950
+ readonly phase?: ((value: PhaseEntered) => any) | undefined;
951
+ readonly plan?: ((value: PlanKnown) => any) | undefined;
952
+ readonly plugins?: ((value: PluginsReported) => any) | undefined;
953
+ readonly refused?: ((value: Refused) => any) | undefined;
954
+ readonly reuse?: ((value: ReuseReported) => any) | undefined;
955
+ readonly skipped?: ((value: SkippedReported) => any) | undefined;
956
+ readonly stream?: ((value: RunStarted) => any) | undefined;
957
+ readonly tce?: ((value: TceReported) => any) | undefined;
958
+ readonly tick?: ((value: Heartbeat) => any) | undefined;
959
+ readonly verdict?: ((value: VerdictReached) => any) | undefined;
960
+ readonly worker?: ((value: WorkerReported) => any) | undefined;
961
+ } & (Exclude<keyof Handlers, "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"> extends never ? unknown : never), orElse: OrElse & ((value: Exclude<FeedbackReported, {
962
+ readonly _tag: keyof Handlers;
963
+ }> | Exclude<FormatRegistryResolved, {
964
+ readonly _tag: keyof Handlers;
965
+ }> | Exclude<Heartbeat, {
966
+ readonly _tag: keyof Handlers;
967
+ }> | Exclude<HelpRendered, {
968
+ readonly _tag: keyof Handlers;
969
+ }> | Exclude<MutantDetailReported, {
970
+ readonly _tag: keyof Handlers;
971
+ }> | Exclude<PhaseEntered, {
972
+ readonly _tag: keyof Handlers;
973
+ }> | Exclude<PlanKnown, {
974
+ readonly _tag: keyof Handlers;
975
+ }> | Exclude<PluginsReported, {
976
+ readonly _tag: keyof Handlers;
977
+ }> | Exclude<Refused, {
978
+ readonly _tag: keyof Handlers;
979
+ }> | Exclude<ReuseReported, {
980
+ readonly _tag: keyof Handlers;
981
+ }> | Exclude<RunFailed, {
982
+ readonly _tag: keyof Handlers;
983
+ }> | Exclude<RunMutantTestedEvent, {
984
+ readonly _tag: keyof Handlers;
985
+ }> | Exclude<RunStarted, {
986
+ readonly _tag: keyof Handlers;
987
+ }> | Exclude<SkippedReported, {
988
+ readonly _tag: keyof Handlers;
989
+ }> | Exclude<TceReported, {
990
+ readonly _tag: keyof Handlers;
991
+ }> | Exclude<VerdictReached, {
992
+ readonly _tag: keyof Handlers;
993
+ }> | Exclude<WorkerReported, {
994
+ readonly _tag: keyof Handlers;
995
+ }>) => any)): (value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported) => import("effect/Unify").Unify<{ [K in keyof Handlers]-?: NonNullable<Handlers[K]> extends ((...args: Array<any>) => infer R) ? R : never; }[keyof Handlers] | (OrElse extends ((...args: Array<any>) => infer R) ? R : never)>;
996
+ };
997
+ } & {
467
998
  QUEUE_BOUND: number;
468
999
  };
469
1000
  type RunEvent = typeof RunEvent.Type;
@@ -473,7 +1004,6 @@ type RunTerminalEvent = VerdictReached | RunFailed | HelpRendered | Refused;
473
1004
  declare const RunEventWireLine: S.decodeTo<S.fromJsonString<S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, typeof WorkerReported, S.Codec<RunMutantTestedEvent, {
474
1005
  readonly _tag: "mutant";
475
1006
  readonly id: string;
476
- readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
477
1007
  readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
478
1008
  readonly location: {
479
1009
  readonly start: {
@@ -496,20 +1026,1228 @@ declare const RunEventWireLine: S.decodeTo<S.fromJsonString<S.Union<readonly [ty
496
1026
  readonly testsExecuted: number;
497
1027
  readonly shared: boolean;
498
1028
  } | null;
1029
+ readonly subsumption: {
1030
+ readonly _tag: "Subsumed";
1031
+ readonly rule: "complement";
1032
+ readonly dominators: readonly [string, ...string[]];
1033
+ } | {
1034
+ readonly _tag: "Readmitted";
1035
+ readonly rule: "complement";
1036
+ readonly causes: readonly [{
1037
+ readonly dominator: string;
1038
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1039
+ readonly detail: string;
1040
+ }, ...{
1041
+ readonly dominator: string;
1042
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1043
+ readonly detail: string;
1044
+ }[]];
1045
+ } | null;
1046
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
1047
+ readonly statusReason: string | null;
499
1048
  }, never, never>, typeof Heartbeat, typeof PluginsReported, typeof FormatRegistryResolved, typeof SkippedReported, typeof ReuseReported, typeof TceReported, typeof MutantDetailReported, typeof FeedbackReported, typeof VerdictReached, typeof RunFailed, typeof HelpRendered, typeof Refused]> & {
1049
+ readonly tag: "_tag";
1050
+ readonly discriminants: readonly ["stream", "phase", "plan", "worker", "mutantTested", "tick", "plugins", "formats", "skipped", "reuse", "tce", "mutant-detail", "feedback", "verdict", "error", "help", "refused"];
1051
+ readonly cases: {
1052
+ error: typeof RunFailed;
1053
+ feedback: typeof FeedbackReported;
1054
+ formats: typeof FormatRegistryResolved;
1055
+ help: typeof HelpRendered;
1056
+ "mutant-detail": typeof MutantDetailReported;
1057
+ mutantTested: S.Codec<RunMutantTestedEvent, {
1058
+ readonly _tag: "mutant";
1059
+ readonly id: string;
1060
+ readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
1061
+ readonly location: {
1062
+ readonly start: {
1063
+ readonly line: number;
1064
+ readonly column: number;
1065
+ };
1066
+ readonly end: {
1067
+ readonly line: number;
1068
+ readonly column: number;
1069
+ };
1070
+ };
1071
+ readonly mutator: string;
1072
+ readonly replacement: string | null;
1073
+ readonly completed: number;
1074
+ readonly total: number;
1075
+ readonly static: boolean;
1076
+ readonly cost: {
1077
+ readonly fixedOverheadMs: number;
1078
+ readonly testBodyMs: number;
1079
+ readonly testsExecuted: number;
1080
+ readonly shared: boolean;
1081
+ } | null;
1082
+ readonly subsumption: {
1083
+ readonly _tag: "Subsumed";
1084
+ readonly rule: "complement";
1085
+ readonly dominators: readonly [string, ...string[]];
1086
+ } | {
1087
+ readonly _tag: "Readmitted";
1088
+ readonly rule: "complement";
1089
+ readonly causes: readonly [{
1090
+ readonly dominator: string;
1091
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1092
+ readonly detail: string;
1093
+ }, ...{
1094
+ readonly dominator: string;
1095
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1096
+ readonly detail: string;
1097
+ }[]];
1098
+ } | null;
1099
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
1100
+ readonly statusReason: string | null;
1101
+ }, never, never>;
1102
+ phase: typeof PhaseEntered;
1103
+ plan: typeof PlanKnown;
1104
+ plugins: typeof PluginsReported;
1105
+ refused: typeof Refused;
1106
+ reuse: typeof ReuseReported;
1107
+ skipped: typeof SkippedReported;
1108
+ stream: typeof RunStarted;
1109
+ tce: typeof TceReported;
1110
+ tick: typeof Heartbeat;
1111
+ verdict: typeof VerdictReached;
1112
+ worker: typeof WorkerReported;
1113
+ };
1114
+ readonly isAnyOf: <const Keys>(keys: readonly Keys[]) => (value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported) => value is Extract<FeedbackReported, {
1115
+ readonly _tag: Keys;
1116
+ }> | Extract<FormatRegistryResolved, {
1117
+ readonly _tag: Keys;
1118
+ }> | Extract<Heartbeat, {
1119
+ readonly _tag: Keys;
1120
+ }> | Extract<HelpRendered, {
1121
+ readonly _tag: Keys;
1122
+ }> | Extract<MutantDetailReported, {
1123
+ readonly _tag: Keys;
1124
+ }> | Extract<PhaseEntered, {
1125
+ readonly _tag: Keys;
1126
+ }> | Extract<PlanKnown, {
1127
+ readonly _tag: Keys;
1128
+ }> | Extract<PluginsReported, {
1129
+ readonly _tag: Keys;
1130
+ }> | Extract<Refused, {
1131
+ readonly _tag: Keys;
1132
+ }> | Extract<ReuseReported, {
1133
+ readonly _tag: Keys;
1134
+ }> | Extract<RunFailed, {
1135
+ readonly _tag: Keys;
1136
+ }> | Extract<RunMutantTestedEvent, {
1137
+ readonly _tag: Keys;
1138
+ }> | Extract<RunStarted, {
1139
+ readonly _tag: Keys;
1140
+ }> | Extract<SkippedReported, {
1141
+ readonly _tag: Keys;
1142
+ }> | Extract<TceReported, {
1143
+ readonly _tag: Keys;
1144
+ }> | Extract<VerdictReached, {
1145
+ readonly _tag: Keys;
1146
+ }> | Extract<WorkerReported, {
1147
+ readonly _tag: Keys;
1148
+ }>;
1149
+ readonly guards: {
1150
+ error: (u: unknown) => u is RunFailed;
1151
+ feedback: (u: unknown) => u is FeedbackReported;
1152
+ formats: (u: unknown) => u is FormatRegistryResolved;
1153
+ help: (u: unknown) => u is HelpRendered;
1154
+ "mutant-detail": (u: unknown) => u is MutantDetailReported;
1155
+ mutantTested: (u: unknown) => u is RunMutantTestedEvent;
1156
+ phase: (u: unknown) => u is PhaseEntered;
1157
+ plan: (u: unknown) => u is PlanKnown;
1158
+ plugins: (u: unknown) => u is PluginsReported;
1159
+ refused: (u: unknown) => u is Refused;
1160
+ reuse: (u: unknown) => u is ReuseReported;
1161
+ skipped: (u: unknown) => u is SkippedReported;
1162
+ stream: (u: unknown) => u is RunStarted;
1163
+ tce: (u: unknown) => u is TceReported;
1164
+ tick: (u: unknown) => u is Heartbeat;
1165
+ verdict: (u: unknown) => u is VerdictReached;
1166
+ worker: (u: unknown) => u is WorkerReported;
1167
+ };
1168
+ readonly match: {
1169
+ <Handlers extends { [K in "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]: (value: {
1170
+ readonly error: typeof RunFailed;
1171
+ readonly feedback: typeof FeedbackReported;
1172
+ readonly formats: typeof FormatRegistryResolved;
1173
+ readonly help: typeof HelpRendered;
1174
+ readonly "mutant-detail": typeof MutantDetailReported;
1175
+ readonly mutantTested: S.Codec<RunMutantTestedEvent, {
1176
+ readonly _tag: "mutant";
1177
+ readonly id: string;
1178
+ readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
1179
+ readonly location: {
1180
+ readonly start: {
1181
+ readonly line: number;
1182
+ readonly column: number;
1183
+ };
1184
+ readonly end: {
1185
+ readonly line: number;
1186
+ readonly column: number;
1187
+ };
1188
+ };
1189
+ readonly mutator: string;
1190
+ readonly replacement: string | null;
1191
+ readonly completed: number;
1192
+ readonly total: number;
1193
+ readonly static: boolean;
1194
+ readonly cost: {
1195
+ readonly fixedOverheadMs: number;
1196
+ readonly testBodyMs: number;
1197
+ readonly testsExecuted: number;
1198
+ readonly shared: boolean;
1199
+ } | null;
1200
+ readonly subsumption: {
1201
+ readonly _tag: "Subsumed";
1202
+ readonly rule: "complement";
1203
+ readonly dominators: readonly [string, ...string[]];
1204
+ } | {
1205
+ readonly _tag: "Readmitted";
1206
+ readonly rule: "complement";
1207
+ readonly causes: readonly [{
1208
+ readonly dominator: string;
1209
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1210
+ readonly detail: string;
1211
+ }, ...{
1212
+ readonly dominator: string;
1213
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1214
+ readonly detail: string;
1215
+ }[]];
1216
+ } | null;
1217
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
1218
+ readonly statusReason: string | null;
1219
+ }, never, never>;
1220
+ readonly phase: typeof PhaseEntered;
1221
+ readonly plan: typeof PlanKnown;
1222
+ readonly plugins: typeof PluginsReported;
1223
+ readonly refused: typeof Refused;
1224
+ readonly reuse: typeof ReuseReported;
1225
+ readonly skipped: typeof SkippedReported;
1226
+ readonly stream: typeof RunStarted;
1227
+ readonly tce: typeof TceReported;
1228
+ readonly tick: typeof Heartbeat;
1229
+ readonly verdict: typeof VerdictReached;
1230
+ readonly worker: typeof WorkerReported;
1231
+ }[K]["Type"]) => any; }>(value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported, cases: Handlers): import("effect/Unify").Unify<ReturnType<Handlers["error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]>>;
1232
+ <Handlers extends { [K in "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]: (value: {
1233
+ readonly error: typeof RunFailed;
1234
+ readonly feedback: typeof FeedbackReported;
1235
+ readonly formats: typeof FormatRegistryResolved;
1236
+ readonly help: typeof HelpRendered;
1237
+ readonly "mutant-detail": typeof MutantDetailReported;
1238
+ readonly mutantTested: S.Codec<RunMutantTestedEvent, {
1239
+ readonly _tag: "mutant";
1240
+ readonly id: string;
1241
+ readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
1242
+ readonly location: {
1243
+ readonly start: {
1244
+ readonly line: number;
1245
+ readonly column: number;
1246
+ };
1247
+ readonly end: {
1248
+ readonly line: number;
1249
+ readonly column: number;
1250
+ };
1251
+ };
1252
+ readonly mutator: string;
1253
+ readonly replacement: string | null;
1254
+ readonly completed: number;
1255
+ readonly total: number;
1256
+ readonly static: boolean;
1257
+ readonly cost: {
1258
+ readonly fixedOverheadMs: number;
1259
+ readonly testBodyMs: number;
1260
+ readonly testsExecuted: number;
1261
+ readonly shared: boolean;
1262
+ } | null;
1263
+ readonly subsumption: {
1264
+ readonly _tag: "Subsumed";
1265
+ readonly rule: "complement";
1266
+ readonly dominators: readonly [string, ...string[]];
1267
+ } | {
1268
+ readonly _tag: "Readmitted";
1269
+ readonly rule: "complement";
1270
+ readonly causes: readonly [{
1271
+ readonly dominator: string;
1272
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1273
+ readonly detail: string;
1274
+ }, ...{
1275
+ readonly dominator: string;
1276
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1277
+ readonly detail: string;
1278
+ }[]];
1279
+ } | null;
1280
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
1281
+ readonly statusReason: string | null;
1282
+ }, never, never>;
1283
+ readonly phase: typeof PhaseEntered;
1284
+ readonly plan: typeof PlanKnown;
1285
+ readonly plugins: typeof PluginsReported;
1286
+ readonly refused: typeof Refused;
1287
+ readonly reuse: typeof ReuseReported;
1288
+ readonly skipped: typeof SkippedReported;
1289
+ readonly stream: typeof RunStarted;
1290
+ readonly tce: typeof TceReported;
1291
+ readonly tick: typeof Heartbeat;
1292
+ readonly verdict: typeof VerdictReached;
1293
+ readonly worker: typeof WorkerReported;
1294
+ }[K]["Type"]) => any; }>(cases: Handlers): (value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported) => import("effect/Unify").Unify<ReturnType<Handlers["error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]>>;
1295
+ };
1296
+ readonly matchOrElse: {
1297
+ <Handlers, OrElse>(value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported, cases: Handlers & {
1298
+ readonly error?: ((value: RunFailed) => any) | undefined;
1299
+ readonly feedback?: ((value: FeedbackReported) => any) | undefined;
1300
+ readonly formats?: ((value: FormatRegistryResolved) => any) | undefined;
1301
+ readonly help?: ((value: HelpRendered) => any) | undefined;
1302
+ readonly "mutant-detail"?: ((value: MutantDetailReported) => any) | undefined;
1303
+ readonly mutantTested?: ((value: RunMutantTestedEvent) => any) | undefined;
1304
+ readonly phase?: ((value: PhaseEntered) => any) | undefined;
1305
+ readonly plan?: ((value: PlanKnown) => any) | undefined;
1306
+ readonly plugins?: ((value: PluginsReported) => any) | undefined;
1307
+ readonly refused?: ((value: Refused) => any) | undefined;
1308
+ readonly reuse?: ((value: ReuseReported) => any) | undefined;
1309
+ readonly skipped?: ((value: SkippedReported) => any) | undefined;
1310
+ readonly stream?: ((value: RunStarted) => any) | undefined;
1311
+ readonly tce?: ((value: TceReported) => any) | undefined;
1312
+ readonly tick?: ((value: Heartbeat) => any) | undefined;
1313
+ readonly verdict?: ((value: VerdictReached) => any) | undefined;
1314
+ readonly worker?: ((value: WorkerReported) => any) | undefined;
1315
+ } & (Exclude<keyof Handlers, "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"> extends never ? unknown : never), orElse: OrElse & ((value: Exclude<FeedbackReported, {
1316
+ readonly _tag: keyof Handlers;
1317
+ }> | Exclude<FormatRegistryResolved, {
1318
+ readonly _tag: keyof Handlers;
1319
+ }> | Exclude<Heartbeat, {
1320
+ readonly _tag: keyof Handlers;
1321
+ }> | Exclude<HelpRendered, {
1322
+ readonly _tag: keyof Handlers;
1323
+ }> | Exclude<MutantDetailReported, {
1324
+ readonly _tag: keyof Handlers;
1325
+ }> | Exclude<PhaseEntered, {
1326
+ readonly _tag: keyof Handlers;
1327
+ }> | Exclude<PlanKnown, {
1328
+ readonly _tag: keyof Handlers;
1329
+ }> | Exclude<PluginsReported, {
1330
+ readonly _tag: keyof Handlers;
1331
+ }> | Exclude<Refused, {
1332
+ readonly _tag: keyof Handlers;
1333
+ }> | Exclude<ReuseReported, {
1334
+ readonly _tag: keyof Handlers;
1335
+ }> | Exclude<RunFailed, {
1336
+ readonly _tag: keyof Handlers;
1337
+ }> | Exclude<RunMutantTestedEvent, {
1338
+ readonly _tag: keyof Handlers;
1339
+ }> | Exclude<RunStarted, {
1340
+ readonly _tag: keyof Handlers;
1341
+ }> | Exclude<SkippedReported, {
1342
+ readonly _tag: keyof Handlers;
1343
+ }> | Exclude<TceReported, {
1344
+ readonly _tag: keyof Handlers;
1345
+ }> | Exclude<VerdictReached, {
1346
+ readonly _tag: keyof Handlers;
1347
+ }> | Exclude<WorkerReported, {
1348
+ readonly _tag: keyof Handlers;
1349
+ }>) => any)): import("effect/Unify").Unify<{ [K in keyof Handlers]-?: NonNullable<Handlers[K]> extends ((...args: Array<any>) => infer R) ? R : never; }[keyof Handlers] | (OrElse extends ((...args: Array<any>) => infer R) ? R : never)>;
1350
+ <Handlers, OrElse>(cases: Handlers & {
1351
+ readonly error?: ((value: RunFailed) => any) | undefined;
1352
+ readonly feedback?: ((value: FeedbackReported) => any) | undefined;
1353
+ readonly formats?: ((value: FormatRegistryResolved) => any) | undefined;
1354
+ readonly help?: ((value: HelpRendered) => any) | undefined;
1355
+ readonly "mutant-detail"?: ((value: MutantDetailReported) => any) | undefined;
1356
+ readonly mutantTested?: ((value: RunMutantTestedEvent) => any) | undefined;
1357
+ readonly phase?: ((value: PhaseEntered) => any) | undefined;
1358
+ readonly plan?: ((value: PlanKnown) => any) | undefined;
1359
+ readonly plugins?: ((value: PluginsReported) => any) | undefined;
1360
+ readonly refused?: ((value: Refused) => any) | undefined;
1361
+ readonly reuse?: ((value: ReuseReported) => any) | undefined;
1362
+ readonly skipped?: ((value: SkippedReported) => any) | undefined;
1363
+ readonly stream?: ((value: RunStarted) => any) | undefined;
1364
+ readonly tce?: ((value: TceReported) => any) | undefined;
1365
+ readonly tick?: ((value: Heartbeat) => any) | undefined;
1366
+ readonly verdict?: ((value: VerdictReached) => any) | undefined;
1367
+ readonly worker?: ((value: WorkerReported) => any) | undefined;
1368
+ } & (Exclude<keyof Handlers, "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"> extends never ? unknown : never), orElse: OrElse & ((value: Exclude<FeedbackReported, {
1369
+ readonly _tag: keyof Handlers;
1370
+ }> | Exclude<FormatRegistryResolved, {
1371
+ readonly _tag: keyof Handlers;
1372
+ }> | Exclude<Heartbeat, {
1373
+ readonly _tag: keyof Handlers;
1374
+ }> | Exclude<HelpRendered, {
1375
+ readonly _tag: keyof Handlers;
1376
+ }> | Exclude<MutantDetailReported, {
1377
+ readonly _tag: keyof Handlers;
1378
+ }> | Exclude<PhaseEntered, {
1379
+ readonly _tag: keyof Handlers;
1380
+ }> | Exclude<PlanKnown, {
1381
+ readonly _tag: keyof Handlers;
1382
+ }> | Exclude<PluginsReported, {
1383
+ readonly _tag: keyof Handlers;
1384
+ }> | Exclude<Refused, {
1385
+ readonly _tag: keyof Handlers;
1386
+ }> | Exclude<ReuseReported, {
1387
+ readonly _tag: keyof Handlers;
1388
+ }> | Exclude<RunFailed, {
1389
+ readonly _tag: keyof Handlers;
1390
+ }> | Exclude<RunMutantTestedEvent, {
1391
+ readonly _tag: keyof Handlers;
1392
+ }> | Exclude<RunStarted, {
1393
+ readonly _tag: keyof Handlers;
1394
+ }> | Exclude<SkippedReported, {
1395
+ readonly _tag: keyof Handlers;
1396
+ }> | Exclude<TceReported, {
1397
+ readonly _tag: keyof Handlers;
1398
+ }> | Exclude<VerdictReached, {
1399
+ readonly _tag: keyof Handlers;
1400
+ }> | Exclude<WorkerReported, {
1401
+ readonly _tag: keyof Handlers;
1402
+ }>) => any)): (value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported) => import("effect/Unify").Unify<{ [K in keyof Handlers]-?: NonNullable<Handlers[K]> extends ((...args: Array<any>) => infer R) ? R : never; }[keyof Handlers] | (OrElse extends ((...args: Array<any>) => infer R) ? R : never)>;
1403
+ };
1404
+ } & {
500
1405
  QUEUE_BOUND: number;
501
1406
  }>, S.String, never, never>;
502
1407
  type RunEventWireLine = typeof RunEventWireLine.Type;
1408
+ declare const RunEventWireText: S.decodeTo<S.$Array<S.toType<S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, typeof WorkerReported, S.Codec<RunMutantTestedEvent, {
1409
+ readonly _tag: "mutant";
1410
+ readonly id: string;
1411
+ readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
1412
+ readonly location: {
1413
+ readonly start: {
1414
+ readonly line: number;
1415
+ readonly column: number;
1416
+ };
1417
+ readonly end: {
1418
+ readonly line: number;
1419
+ readonly column: number;
1420
+ };
1421
+ };
1422
+ readonly mutator: string;
1423
+ readonly replacement: string | null;
1424
+ readonly completed: number;
1425
+ readonly total: number;
1426
+ readonly static: boolean;
1427
+ readonly cost: {
1428
+ readonly fixedOverheadMs: number;
1429
+ readonly testBodyMs: number;
1430
+ readonly testsExecuted: number;
1431
+ readonly shared: boolean;
1432
+ } | null;
1433
+ readonly subsumption: {
1434
+ readonly _tag: "Subsumed";
1435
+ readonly rule: "complement";
1436
+ readonly dominators: readonly [string, ...string[]];
1437
+ } | {
1438
+ readonly _tag: "Readmitted";
1439
+ readonly rule: "complement";
1440
+ readonly causes: readonly [{
1441
+ readonly dominator: string;
1442
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1443
+ readonly detail: string;
1444
+ }, ...{
1445
+ readonly dominator: string;
1446
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1447
+ readonly detail: string;
1448
+ }[]];
1449
+ } | null;
1450
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
1451
+ readonly statusReason: string | null;
1452
+ }, never, never>, typeof Heartbeat, typeof PluginsReported, typeof FormatRegistryResolved, typeof SkippedReported, typeof ReuseReported, typeof TceReported, typeof MutantDetailReported, typeof FeedbackReported, typeof VerdictReached, typeof RunFailed, typeof HelpRendered, typeof Refused]> & {
1453
+ readonly tag: "_tag";
1454
+ readonly discriminants: readonly ["stream", "phase", "plan", "worker", "mutantTested", "tick", "plugins", "formats", "skipped", "reuse", "tce", "mutant-detail", "feedback", "verdict", "error", "help", "refused"];
1455
+ readonly cases: {
1456
+ error: typeof RunFailed;
1457
+ feedback: typeof FeedbackReported;
1458
+ formats: typeof FormatRegistryResolved;
1459
+ help: typeof HelpRendered;
1460
+ "mutant-detail": typeof MutantDetailReported;
1461
+ mutantTested: S.Codec<RunMutantTestedEvent, {
1462
+ readonly _tag: "mutant";
1463
+ readonly id: string;
1464
+ readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
1465
+ readonly location: {
1466
+ readonly start: {
1467
+ readonly line: number;
1468
+ readonly column: number;
1469
+ };
1470
+ readonly end: {
1471
+ readonly line: number;
1472
+ readonly column: number;
1473
+ };
1474
+ };
1475
+ readonly mutator: string;
1476
+ readonly replacement: string | null;
1477
+ readonly completed: number;
1478
+ readonly total: number;
1479
+ readonly static: boolean;
1480
+ readonly cost: {
1481
+ readonly fixedOverheadMs: number;
1482
+ readonly testBodyMs: number;
1483
+ readonly testsExecuted: number;
1484
+ readonly shared: boolean;
1485
+ } | null;
1486
+ readonly subsumption: {
1487
+ readonly _tag: "Subsumed";
1488
+ readonly rule: "complement";
1489
+ readonly dominators: readonly [string, ...string[]];
1490
+ } | {
1491
+ readonly _tag: "Readmitted";
1492
+ readonly rule: "complement";
1493
+ readonly causes: readonly [{
1494
+ readonly dominator: string;
1495
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1496
+ readonly detail: string;
1497
+ }, ...{
1498
+ readonly dominator: string;
1499
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1500
+ readonly detail: string;
1501
+ }[]];
1502
+ } | null;
1503
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
1504
+ readonly statusReason: string | null;
1505
+ }, never, never>;
1506
+ phase: typeof PhaseEntered;
1507
+ plan: typeof PlanKnown;
1508
+ plugins: typeof PluginsReported;
1509
+ refused: typeof Refused;
1510
+ reuse: typeof ReuseReported;
1511
+ skipped: typeof SkippedReported;
1512
+ stream: typeof RunStarted;
1513
+ tce: typeof TceReported;
1514
+ tick: typeof Heartbeat;
1515
+ verdict: typeof VerdictReached;
1516
+ worker: typeof WorkerReported;
1517
+ };
1518
+ readonly isAnyOf: <const Keys>(keys: readonly Keys[]) => (value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported) => value is Extract<FeedbackReported, {
1519
+ readonly _tag: Keys;
1520
+ }> | Extract<FormatRegistryResolved, {
1521
+ readonly _tag: Keys;
1522
+ }> | Extract<Heartbeat, {
1523
+ readonly _tag: Keys;
1524
+ }> | Extract<HelpRendered, {
1525
+ readonly _tag: Keys;
1526
+ }> | Extract<MutantDetailReported, {
1527
+ readonly _tag: Keys;
1528
+ }> | Extract<PhaseEntered, {
1529
+ readonly _tag: Keys;
1530
+ }> | Extract<PlanKnown, {
1531
+ readonly _tag: Keys;
1532
+ }> | Extract<PluginsReported, {
1533
+ readonly _tag: Keys;
1534
+ }> | Extract<Refused, {
1535
+ readonly _tag: Keys;
1536
+ }> | Extract<ReuseReported, {
1537
+ readonly _tag: Keys;
1538
+ }> | Extract<RunFailed, {
1539
+ readonly _tag: Keys;
1540
+ }> | Extract<RunMutantTestedEvent, {
1541
+ readonly _tag: Keys;
1542
+ }> | Extract<RunStarted, {
1543
+ readonly _tag: Keys;
1544
+ }> | Extract<SkippedReported, {
1545
+ readonly _tag: Keys;
1546
+ }> | Extract<TceReported, {
1547
+ readonly _tag: Keys;
1548
+ }> | Extract<VerdictReached, {
1549
+ readonly _tag: Keys;
1550
+ }> | Extract<WorkerReported, {
1551
+ readonly _tag: Keys;
1552
+ }>;
1553
+ readonly guards: {
1554
+ error: (u: unknown) => u is RunFailed;
1555
+ feedback: (u: unknown) => u is FeedbackReported;
1556
+ formats: (u: unknown) => u is FormatRegistryResolved;
1557
+ help: (u: unknown) => u is HelpRendered;
1558
+ "mutant-detail": (u: unknown) => u is MutantDetailReported;
1559
+ mutantTested: (u: unknown) => u is RunMutantTestedEvent;
1560
+ phase: (u: unknown) => u is PhaseEntered;
1561
+ plan: (u: unknown) => u is PlanKnown;
1562
+ plugins: (u: unknown) => u is PluginsReported;
1563
+ refused: (u: unknown) => u is Refused;
1564
+ reuse: (u: unknown) => u is ReuseReported;
1565
+ skipped: (u: unknown) => u is SkippedReported;
1566
+ stream: (u: unknown) => u is RunStarted;
1567
+ tce: (u: unknown) => u is TceReported;
1568
+ tick: (u: unknown) => u is Heartbeat;
1569
+ verdict: (u: unknown) => u is VerdictReached;
1570
+ worker: (u: unknown) => u is WorkerReported;
1571
+ };
1572
+ readonly match: {
1573
+ <Handlers extends { [K in "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]: (value: {
1574
+ readonly error: typeof RunFailed;
1575
+ readonly feedback: typeof FeedbackReported;
1576
+ readonly formats: typeof FormatRegistryResolved;
1577
+ readonly help: typeof HelpRendered;
1578
+ readonly "mutant-detail": typeof MutantDetailReported;
1579
+ readonly mutantTested: S.Codec<RunMutantTestedEvent, {
1580
+ readonly _tag: "mutant";
1581
+ readonly id: string;
1582
+ readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
1583
+ readonly location: {
1584
+ readonly start: {
1585
+ readonly line: number;
1586
+ readonly column: number;
1587
+ };
1588
+ readonly end: {
1589
+ readonly line: number;
1590
+ readonly column: number;
1591
+ };
1592
+ };
1593
+ readonly mutator: string;
1594
+ readonly replacement: string | null;
1595
+ readonly completed: number;
1596
+ readonly total: number;
1597
+ readonly static: boolean;
1598
+ readonly cost: {
1599
+ readonly fixedOverheadMs: number;
1600
+ readonly testBodyMs: number;
1601
+ readonly testsExecuted: number;
1602
+ readonly shared: boolean;
1603
+ } | null;
1604
+ readonly subsumption: {
1605
+ readonly _tag: "Subsumed";
1606
+ readonly rule: "complement";
1607
+ readonly dominators: readonly [string, ...string[]];
1608
+ } | {
1609
+ readonly _tag: "Readmitted";
1610
+ readonly rule: "complement";
1611
+ readonly causes: readonly [{
1612
+ readonly dominator: string;
1613
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1614
+ readonly detail: string;
1615
+ }, ...{
1616
+ readonly dominator: string;
1617
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1618
+ readonly detail: string;
1619
+ }[]];
1620
+ } | null;
1621
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
1622
+ readonly statusReason: string | null;
1623
+ }, never, never>;
1624
+ readonly phase: typeof PhaseEntered;
1625
+ readonly plan: typeof PlanKnown;
1626
+ readonly plugins: typeof PluginsReported;
1627
+ readonly refused: typeof Refused;
1628
+ readonly reuse: typeof ReuseReported;
1629
+ readonly skipped: typeof SkippedReported;
1630
+ readonly stream: typeof RunStarted;
1631
+ readonly tce: typeof TceReported;
1632
+ readonly tick: typeof Heartbeat;
1633
+ readonly verdict: typeof VerdictReached;
1634
+ readonly worker: typeof WorkerReported;
1635
+ }[K]["Type"]) => any; }>(value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported, cases: Handlers): import("effect/Unify").Unify<ReturnType<Handlers["error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]>>;
1636
+ <Handlers extends { [K in "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]: (value: {
1637
+ readonly error: typeof RunFailed;
1638
+ readonly feedback: typeof FeedbackReported;
1639
+ readonly formats: typeof FormatRegistryResolved;
1640
+ readonly help: typeof HelpRendered;
1641
+ readonly "mutant-detail": typeof MutantDetailReported;
1642
+ readonly mutantTested: S.Codec<RunMutantTestedEvent, {
1643
+ readonly _tag: "mutant";
1644
+ readonly id: string;
1645
+ readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
1646
+ readonly location: {
1647
+ readonly start: {
1648
+ readonly line: number;
1649
+ readonly column: number;
1650
+ };
1651
+ readonly end: {
1652
+ readonly line: number;
1653
+ readonly column: number;
1654
+ };
1655
+ };
1656
+ readonly mutator: string;
1657
+ readonly replacement: string | null;
1658
+ readonly completed: number;
1659
+ readonly total: number;
1660
+ readonly static: boolean;
1661
+ readonly cost: {
1662
+ readonly fixedOverheadMs: number;
1663
+ readonly testBodyMs: number;
1664
+ readonly testsExecuted: number;
1665
+ readonly shared: boolean;
1666
+ } | null;
1667
+ readonly subsumption: {
1668
+ readonly _tag: "Subsumed";
1669
+ readonly rule: "complement";
1670
+ readonly dominators: readonly [string, ...string[]];
1671
+ } | {
1672
+ readonly _tag: "Readmitted";
1673
+ readonly rule: "complement";
1674
+ readonly causes: readonly [{
1675
+ readonly dominator: string;
1676
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1677
+ readonly detail: string;
1678
+ }, ...{
1679
+ readonly dominator: string;
1680
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1681
+ readonly detail: string;
1682
+ }[]];
1683
+ } | null;
1684
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
1685
+ readonly statusReason: string | null;
1686
+ }, never, never>;
1687
+ readonly phase: typeof PhaseEntered;
1688
+ readonly plan: typeof PlanKnown;
1689
+ readonly plugins: typeof PluginsReported;
1690
+ readonly refused: typeof Refused;
1691
+ readonly reuse: typeof ReuseReported;
1692
+ readonly skipped: typeof SkippedReported;
1693
+ readonly stream: typeof RunStarted;
1694
+ readonly tce: typeof TceReported;
1695
+ readonly tick: typeof Heartbeat;
1696
+ readonly verdict: typeof VerdictReached;
1697
+ readonly worker: typeof WorkerReported;
1698
+ }[K]["Type"]) => any; }>(cases: Handlers): (value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported) => import("effect/Unify").Unify<ReturnType<Handlers["error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]>>;
1699
+ };
1700
+ readonly matchOrElse: {
1701
+ <Handlers, OrElse>(value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported, cases: Handlers & {
1702
+ readonly error?: ((value: RunFailed) => any) | undefined;
1703
+ readonly feedback?: ((value: FeedbackReported) => any) | undefined;
1704
+ readonly formats?: ((value: FormatRegistryResolved) => any) | undefined;
1705
+ readonly help?: ((value: HelpRendered) => any) | undefined;
1706
+ readonly "mutant-detail"?: ((value: MutantDetailReported) => any) | undefined;
1707
+ readonly mutantTested?: ((value: RunMutantTestedEvent) => any) | undefined;
1708
+ readonly phase?: ((value: PhaseEntered) => any) | undefined;
1709
+ readonly plan?: ((value: PlanKnown) => any) | undefined;
1710
+ readonly plugins?: ((value: PluginsReported) => any) | undefined;
1711
+ readonly refused?: ((value: Refused) => any) | undefined;
1712
+ readonly reuse?: ((value: ReuseReported) => any) | undefined;
1713
+ readonly skipped?: ((value: SkippedReported) => any) | undefined;
1714
+ readonly stream?: ((value: RunStarted) => any) | undefined;
1715
+ readonly tce?: ((value: TceReported) => any) | undefined;
1716
+ readonly tick?: ((value: Heartbeat) => any) | undefined;
1717
+ readonly verdict?: ((value: VerdictReached) => any) | undefined;
1718
+ readonly worker?: ((value: WorkerReported) => any) | undefined;
1719
+ } & (Exclude<keyof Handlers, "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"> extends never ? unknown : never), orElse: OrElse & ((value: Exclude<FeedbackReported, {
1720
+ readonly _tag: keyof Handlers;
1721
+ }> | Exclude<FormatRegistryResolved, {
1722
+ readonly _tag: keyof Handlers;
1723
+ }> | Exclude<Heartbeat, {
1724
+ readonly _tag: keyof Handlers;
1725
+ }> | Exclude<HelpRendered, {
1726
+ readonly _tag: keyof Handlers;
1727
+ }> | Exclude<MutantDetailReported, {
1728
+ readonly _tag: keyof Handlers;
1729
+ }> | Exclude<PhaseEntered, {
1730
+ readonly _tag: keyof Handlers;
1731
+ }> | Exclude<PlanKnown, {
1732
+ readonly _tag: keyof Handlers;
1733
+ }> | Exclude<PluginsReported, {
1734
+ readonly _tag: keyof Handlers;
1735
+ }> | Exclude<Refused, {
1736
+ readonly _tag: keyof Handlers;
1737
+ }> | Exclude<ReuseReported, {
1738
+ readonly _tag: keyof Handlers;
1739
+ }> | Exclude<RunFailed, {
1740
+ readonly _tag: keyof Handlers;
1741
+ }> | Exclude<RunMutantTestedEvent, {
1742
+ readonly _tag: keyof Handlers;
1743
+ }> | Exclude<RunStarted, {
1744
+ readonly _tag: keyof Handlers;
1745
+ }> | Exclude<SkippedReported, {
1746
+ readonly _tag: keyof Handlers;
1747
+ }> | Exclude<TceReported, {
1748
+ readonly _tag: keyof Handlers;
1749
+ }> | Exclude<VerdictReached, {
1750
+ readonly _tag: keyof Handlers;
1751
+ }> | Exclude<WorkerReported, {
1752
+ readonly _tag: keyof Handlers;
1753
+ }>) => any)): import("effect/Unify").Unify<{ [K in keyof Handlers]-?: NonNullable<Handlers[K]> extends ((...args: Array<any>) => infer R) ? R : never; }[keyof Handlers] | (OrElse extends ((...args: Array<any>) => infer R) ? R : never)>;
1754
+ <Handlers, OrElse>(cases: Handlers & {
1755
+ readonly error?: ((value: RunFailed) => any) | undefined;
1756
+ readonly feedback?: ((value: FeedbackReported) => any) | undefined;
1757
+ readonly formats?: ((value: FormatRegistryResolved) => any) | undefined;
1758
+ readonly help?: ((value: HelpRendered) => any) | undefined;
1759
+ readonly "mutant-detail"?: ((value: MutantDetailReported) => any) | undefined;
1760
+ readonly mutantTested?: ((value: RunMutantTestedEvent) => any) | undefined;
1761
+ readonly phase?: ((value: PhaseEntered) => any) | undefined;
1762
+ readonly plan?: ((value: PlanKnown) => any) | undefined;
1763
+ readonly plugins?: ((value: PluginsReported) => any) | undefined;
1764
+ readonly refused?: ((value: Refused) => any) | undefined;
1765
+ readonly reuse?: ((value: ReuseReported) => any) | undefined;
1766
+ readonly skipped?: ((value: SkippedReported) => any) | undefined;
1767
+ readonly stream?: ((value: RunStarted) => any) | undefined;
1768
+ readonly tce?: ((value: TceReported) => any) | undefined;
1769
+ readonly tick?: ((value: Heartbeat) => any) | undefined;
1770
+ readonly verdict?: ((value: VerdictReached) => any) | undefined;
1771
+ readonly worker?: ((value: WorkerReported) => any) | undefined;
1772
+ } & (Exclude<keyof Handlers, "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"> extends never ? unknown : never), orElse: OrElse & ((value: Exclude<FeedbackReported, {
1773
+ readonly _tag: keyof Handlers;
1774
+ }> | Exclude<FormatRegistryResolved, {
1775
+ readonly _tag: keyof Handlers;
1776
+ }> | Exclude<Heartbeat, {
1777
+ readonly _tag: keyof Handlers;
1778
+ }> | Exclude<HelpRendered, {
1779
+ readonly _tag: keyof Handlers;
1780
+ }> | Exclude<MutantDetailReported, {
1781
+ readonly _tag: keyof Handlers;
1782
+ }> | Exclude<PhaseEntered, {
1783
+ readonly _tag: keyof Handlers;
1784
+ }> | Exclude<PlanKnown, {
1785
+ readonly _tag: keyof Handlers;
1786
+ }> | Exclude<PluginsReported, {
1787
+ readonly _tag: keyof Handlers;
1788
+ }> | Exclude<Refused, {
1789
+ readonly _tag: keyof Handlers;
1790
+ }> | Exclude<ReuseReported, {
1791
+ readonly _tag: keyof Handlers;
1792
+ }> | Exclude<RunFailed, {
1793
+ readonly _tag: keyof Handlers;
1794
+ }> | Exclude<RunMutantTestedEvent, {
1795
+ readonly _tag: keyof Handlers;
1796
+ }> | Exclude<RunStarted, {
1797
+ readonly _tag: keyof Handlers;
1798
+ }> | Exclude<SkippedReported, {
1799
+ readonly _tag: keyof Handlers;
1800
+ }> | Exclude<TceReported, {
1801
+ readonly _tag: keyof Handlers;
1802
+ }> | Exclude<VerdictReached, {
1803
+ readonly _tag: keyof Handlers;
1804
+ }> | Exclude<WorkerReported, {
1805
+ readonly _tag: keyof Handlers;
1806
+ }>) => any)): (value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported) => import("effect/Unify").Unify<{ [K in keyof Handlers]-?: NonNullable<Handlers[K]> extends ((...args: Array<any>) => infer R) ? R : never; }[keyof Handlers] | (OrElse extends ((...args: Array<any>) => infer R) ? R : never)>;
1807
+ };
1808
+ } & {
1809
+ QUEUE_BOUND: number;
1810
+ }>>, S.decodeTo<S.$Array<S.Union<readonly [S.decodeTo<S.Null, S.String, never, never>, S.decodeTo<S.fromJsonString<S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, typeof WorkerReported, S.Codec<RunMutantTestedEvent, {
1811
+ readonly _tag: "mutant";
1812
+ readonly id: string;
1813
+ readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
1814
+ readonly location: {
1815
+ readonly start: {
1816
+ readonly line: number;
1817
+ readonly column: number;
1818
+ };
1819
+ readonly end: {
1820
+ readonly line: number;
1821
+ readonly column: number;
1822
+ };
1823
+ };
1824
+ readonly mutator: string;
1825
+ readonly replacement: string | null;
1826
+ readonly completed: number;
1827
+ readonly total: number;
1828
+ readonly static: boolean;
1829
+ readonly cost: {
1830
+ readonly fixedOverheadMs: number;
1831
+ readonly testBodyMs: number;
1832
+ readonly testsExecuted: number;
1833
+ readonly shared: boolean;
1834
+ } | null;
1835
+ readonly subsumption: {
1836
+ readonly _tag: "Subsumed";
1837
+ readonly rule: "complement";
1838
+ readonly dominators: readonly [string, ...string[]];
1839
+ } | {
1840
+ readonly _tag: "Readmitted";
1841
+ readonly rule: "complement";
1842
+ readonly causes: readonly [{
1843
+ readonly dominator: string;
1844
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1845
+ readonly detail: string;
1846
+ }, ...{
1847
+ readonly dominator: string;
1848
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1849
+ readonly detail: string;
1850
+ }[]];
1851
+ } | null;
1852
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
1853
+ readonly statusReason: string | null;
1854
+ }, never, never>, typeof Heartbeat, typeof PluginsReported, typeof FormatRegistryResolved, typeof SkippedReported, typeof ReuseReported, typeof TceReported, typeof MutantDetailReported, typeof FeedbackReported, typeof VerdictReached, typeof RunFailed, typeof HelpRendered, typeof Refused]> & {
1855
+ readonly tag: "_tag";
1856
+ readonly discriminants: readonly ["stream", "phase", "plan", "worker", "mutantTested", "tick", "plugins", "formats", "skipped", "reuse", "tce", "mutant-detail", "feedback", "verdict", "error", "help", "refused"];
1857
+ readonly cases: {
1858
+ error: typeof RunFailed;
1859
+ feedback: typeof FeedbackReported;
1860
+ formats: typeof FormatRegistryResolved;
1861
+ help: typeof HelpRendered;
1862
+ "mutant-detail": typeof MutantDetailReported;
1863
+ mutantTested: S.Codec<RunMutantTestedEvent, {
1864
+ readonly _tag: "mutant";
1865
+ readonly id: string;
1866
+ readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
1867
+ readonly location: {
1868
+ readonly start: {
1869
+ readonly line: number;
1870
+ readonly column: number;
1871
+ };
1872
+ readonly end: {
1873
+ readonly line: number;
1874
+ readonly column: number;
1875
+ };
1876
+ };
1877
+ readonly mutator: string;
1878
+ readonly replacement: string | null;
1879
+ readonly completed: number;
1880
+ readonly total: number;
1881
+ readonly static: boolean;
1882
+ readonly cost: {
1883
+ readonly fixedOverheadMs: number;
1884
+ readonly testBodyMs: number;
1885
+ readonly testsExecuted: number;
1886
+ readonly shared: boolean;
1887
+ } | null;
1888
+ readonly subsumption: {
1889
+ readonly _tag: "Subsumed";
1890
+ readonly rule: "complement";
1891
+ readonly dominators: readonly [string, ...string[]];
1892
+ } | {
1893
+ readonly _tag: "Readmitted";
1894
+ readonly rule: "complement";
1895
+ readonly causes: readonly [{
1896
+ readonly dominator: string;
1897
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1898
+ readonly detail: string;
1899
+ }, ...{
1900
+ readonly dominator: string;
1901
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
1902
+ readonly detail: string;
1903
+ }[]];
1904
+ } | null;
1905
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
1906
+ readonly statusReason: string | null;
1907
+ }, never, never>;
1908
+ phase: typeof PhaseEntered;
1909
+ plan: typeof PlanKnown;
1910
+ plugins: typeof PluginsReported;
1911
+ refused: typeof Refused;
1912
+ reuse: typeof ReuseReported;
1913
+ skipped: typeof SkippedReported;
1914
+ stream: typeof RunStarted;
1915
+ tce: typeof TceReported;
1916
+ tick: typeof Heartbeat;
1917
+ verdict: typeof VerdictReached;
1918
+ worker: typeof WorkerReported;
1919
+ };
1920
+ readonly isAnyOf: <const Keys>(keys: readonly Keys[]) => (value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported) => value is Extract<FeedbackReported, {
1921
+ readonly _tag: Keys;
1922
+ }> | Extract<FormatRegistryResolved, {
1923
+ readonly _tag: Keys;
1924
+ }> | Extract<Heartbeat, {
1925
+ readonly _tag: Keys;
1926
+ }> | Extract<HelpRendered, {
1927
+ readonly _tag: Keys;
1928
+ }> | Extract<MutantDetailReported, {
1929
+ readonly _tag: Keys;
1930
+ }> | Extract<PhaseEntered, {
1931
+ readonly _tag: Keys;
1932
+ }> | Extract<PlanKnown, {
1933
+ readonly _tag: Keys;
1934
+ }> | Extract<PluginsReported, {
1935
+ readonly _tag: Keys;
1936
+ }> | Extract<Refused, {
1937
+ readonly _tag: Keys;
1938
+ }> | Extract<ReuseReported, {
1939
+ readonly _tag: Keys;
1940
+ }> | Extract<RunFailed, {
1941
+ readonly _tag: Keys;
1942
+ }> | Extract<RunMutantTestedEvent, {
1943
+ readonly _tag: Keys;
1944
+ }> | Extract<RunStarted, {
1945
+ readonly _tag: Keys;
1946
+ }> | Extract<SkippedReported, {
1947
+ readonly _tag: Keys;
1948
+ }> | Extract<TceReported, {
1949
+ readonly _tag: Keys;
1950
+ }> | Extract<VerdictReached, {
1951
+ readonly _tag: Keys;
1952
+ }> | Extract<WorkerReported, {
1953
+ readonly _tag: Keys;
1954
+ }>;
1955
+ readonly guards: {
1956
+ error: (u: unknown) => u is RunFailed;
1957
+ feedback: (u: unknown) => u is FeedbackReported;
1958
+ formats: (u: unknown) => u is FormatRegistryResolved;
1959
+ help: (u: unknown) => u is HelpRendered;
1960
+ "mutant-detail": (u: unknown) => u is MutantDetailReported;
1961
+ mutantTested: (u: unknown) => u is RunMutantTestedEvent;
1962
+ phase: (u: unknown) => u is PhaseEntered;
1963
+ plan: (u: unknown) => u is PlanKnown;
1964
+ plugins: (u: unknown) => u is PluginsReported;
1965
+ refused: (u: unknown) => u is Refused;
1966
+ reuse: (u: unknown) => u is ReuseReported;
1967
+ skipped: (u: unknown) => u is SkippedReported;
1968
+ stream: (u: unknown) => u is RunStarted;
1969
+ tce: (u: unknown) => u is TceReported;
1970
+ tick: (u: unknown) => u is Heartbeat;
1971
+ verdict: (u: unknown) => u is VerdictReached;
1972
+ worker: (u: unknown) => u is WorkerReported;
1973
+ };
1974
+ readonly match: {
1975
+ <Handlers extends { [K in "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]: (value: {
1976
+ readonly error: typeof RunFailed;
1977
+ readonly feedback: typeof FeedbackReported;
1978
+ readonly formats: typeof FormatRegistryResolved;
1979
+ readonly help: typeof HelpRendered;
1980
+ readonly "mutant-detail": typeof MutantDetailReported;
1981
+ readonly mutantTested: S.Codec<RunMutantTestedEvent, {
1982
+ readonly _tag: "mutant";
1983
+ readonly id: string;
1984
+ readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
1985
+ readonly location: {
1986
+ readonly start: {
1987
+ readonly line: number;
1988
+ readonly column: number;
1989
+ };
1990
+ readonly end: {
1991
+ readonly line: number;
1992
+ readonly column: number;
1993
+ };
1994
+ };
1995
+ readonly mutator: string;
1996
+ readonly replacement: string | null;
1997
+ readonly completed: number;
1998
+ readonly total: number;
1999
+ readonly static: boolean;
2000
+ readonly cost: {
2001
+ readonly fixedOverheadMs: number;
2002
+ readonly testBodyMs: number;
2003
+ readonly testsExecuted: number;
2004
+ readonly shared: boolean;
2005
+ } | null;
2006
+ readonly subsumption: {
2007
+ readonly _tag: "Subsumed";
2008
+ readonly rule: "complement";
2009
+ readonly dominators: readonly [string, ...string[]];
2010
+ } | {
2011
+ readonly _tag: "Readmitted";
2012
+ readonly rule: "complement";
2013
+ readonly causes: readonly [{
2014
+ readonly dominator: string;
2015
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
2016
+ readonly detail: string;
2017
+ }, ...{
2018
+ readonly dominator: string;
2019
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
2020
+ readonly detail: string;
2021
+ }[]];
2022
+ } | null;
2023
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
2024
+ readonly statusReason: string | null;
2025
+ }, never, never>;
2026
+ readonly phase: typeof PhaseEntered;
2027
+ readonly plan: typeof PlanKnown;
2028
+ readonly plugins: typeof PluginsReported;
2029
+ readonly refused: typeof Refused;
2030
+ readonly reuse: typeof ReuseReported;
2031
+ readonly skipped: typeof SkippedReported;
2032
+ readonly stream: typeof RunStarted;
2033
+ readonly tce: typeof TceReported;
2034
+ readonly tick: typeof Heartbeat;
2035
+ readonly verdict: typeof VerdictReached;
2036
+ readonly worker: typeof WorkerReported;
2037
+ }[K]["Type"]) => any; }>(value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported, cases: Handlers): import("effect/Unify").Unify<ReturnType<Handlers["error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]>>;
2038
+ <Handlers extends { [K in "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]: (value: {
2039
+ readonly error: typeof RunFailed;
2040
+ readonly feedback: typeof FeedbackReported;
2041
+ readonly formats: typeof FormatRegistryResolved;
2042
+ readonly help: typeof HelpRendered;
2043
+ readonly "mutant-detail": typeof MutantDetailReported;
2044
+ readonly mutantTested: S.Codec<RunMutantTestedEvent, {
2045
+ readonly _tag: "mutant";
2046
+ readonly id: string;
2047
+ readonly file: string & import("effect/Brand").Brand<"CanonicalFileName">;
2048
+ readonly location: {
2049
+ readonly start: {
2050
+ readonly line: number;
2051
+ readonly column: number;
2052
+ };
2053
+ readonly end: {
2054
+ readonly line: number;
2055
+ readonly column: number;
2056
+ };
2057
+ };
2058
+ readonly mutator: string;
2059
+ readonly replacement: string | null;
2060
+ readonly completed: number;
2061
+ readonly total: number;
2062
+ readonly static: boolean;
2063
+ readonly cost: {
2064
+ readonly fixedOverheadMs: number;
2065
+ readonly testBodyMs: number;
2066
+ readonly testsExecuted: number;
2067
+ readonly shared: boolean;
2068
+ } | null;
2069
+ readonly subsumption: {
2070
+ readonly _tag: "Subsumed";
2071
+ readonly rule: "complement";
2072
+ readonly dominators: readonly [string, ...string[]];
2073
+ } | {
2074
+ readonly _tag: "Readmitted";
2075
+ readonly rule: "complement";
2076
+ readonly causes: readonly [{
2077
+ readonly dominator: string;
2078
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
2079
+ readonly detail: string;
2080
+ }, ...{
2081
+ readonly dominator: string;
2082
+ readonly code: "dominator-compile-error" | "dominator-ignored-at-check" | "dominator-ignored-at-plan" | "dominator-remembered-without-running" | "dominator-unsettled";
2083
+ readonly detail: string;
2084
+ }[]];
2085
+ } | null;
2086
+ readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
2087
+ readonly statusReason: string | null;
2088
+ }, never, never>;
2089
+ readonly phase: typeof PhaseEntered;
2090
+ readonly plan: typeof PlanKnown;
2091
+ readonly plugins: typeof PluginsReported;
2092
+ readonly refused: typeof Refused;
2093
+ readonly reuse: typeof ReuseReported;
2094
+ readonly skipped: typeof SkippedReported;
2095
+ readonly stream: typeof RunStarted;
2096
+ readonly tce: typeof TceReported;
2097
+ readonly tick: typeof Heartbeat;
2098
+ readonly verdict: typeof VerdictReached;
2099
+ readonly worker: typeof WorkerReported;
2100
+ }[K]["Type"]) => any; }>(cases: Handlers): (value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported) => import("effect/Unify").Unify<ReturnType<Handlers["error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"]>>;
2101
+ };
2102
+ readonly matchOrElse: {
2103
+ <Handlers, OrElse>(value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported, cases: Handlers & {
2104
+ readonly error?: ((value: RunFailed) => any) | undefined;
2105
+ readonly feedback?: ((value: FeedbackReported) => any) | undefined;
2106
+ readonly formats?: ((value: FormatRegistryResolved) => any) | undefined;
2107
+ readonly help?: ((value: HelpRendered) => any) | undefined;
2108
+ readonly "mutant-detail"?: ((value: MutantDetailReported) => any) | undefined;
2109
+ readonly mutantTested?: ((value: RunMutantTestedEvent) => any) | undefined;
2110
+ readonly phase?: ((value: PhaseEntered) => any) | undefined;
2111
+ readonly plan?: ((value: PlanKnown) => any) | undefined;
2112
+ readonly plugins?: ((value: PluginsReported) => any) | undefined;
2113
+ readonly refused?: ((value: Refused) => any) | undefined;
2114
+ readonly reuse?: ((value: ReuseReported) => any) | undefined;
2115
+ readonly skipped?: ((value: SkippedReported) => any) | undefined;
2116
+ readonly stream?: ((value: RunStarted) => any) | undefined;
2117
+ readonly tce?: ((value: TceReported) => any) | undefined;
2118
+ readonly tick?: ((value: Heartbeat) => any) | undefined;
2119
+ readonly verdict?: ((value: VerdictReached) => any) | undefined;
2120
+ readonly worker?: ((value: WorkerReported) => any) | undefined;
2121
+ } & (Exclude<keyof Handlers, "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"> extends never ? unknown : never), orElse: OrElse & ((value: Exclude<FeedbackReported, {
2122
+ readonly _tag: keyof Handlers;
2123
+ }> | Exclude<FormatRegistryResolved, {
2124
+ readonly _tag: keyof Handlers;
2125
+ }> | Exclude<Heartbeat, {
2126
+ readonly _tag: keyof Handlers;
2127
+ }> | Exclude<HelpRendered, {
2128
+ readonly _tag: keyof Handlers;
2129
+ }> | Exclude<MutantDetailReported, {
2130
+ readonly _tag: keyof Handlers;
2131
+ }> | Exclude<PhaseEntered, {
2132
+ readonly _tag: keyof Handlers;
2133
+ }> | Exclude<PlanKnown, {
2134
+ readonly _tag: keyof Handlers;
2135
+ }> | Exclude<PluginsReported, {
2136
+ readonly _tag: keyof Handlers;
2137
+ }> | Exclude<Refused, {
2138
+ readonly _tag: keyof Handlers;
2139
+ }> | Exclude<ReuseReported, {
2140
+ readonly _tag: keyof Handlers;
2141
+ }> | Exclude<RunFailed, {
2142
+ readonly _tag: keyof Handlers;
2143
+ }> | Exclude<RunMutantTestedEvent, {
2144
+ readonly _tag: keyof Handlers;
2145
+ }> | Exclude<RunStarted, {
2146
+ readonly _tag: keyof Handlers;
2147
+ }> | Exclude<SkippedReported, {
2148
+ readonly _tag: keyof Handlers;
2149
+ }> | Exclude<TceReported, {
2150
+ readonly _tag: keyof Handlers;
2151
+ }> | Exclude<VerdictReached, {
2152
+ readonly _tag: keyof Handlers;
2153
+ }> | Exclude<WorkerReported, {
2154
+ readonly _tag: keyof Handlers;
2155
+ }>) => any)): import("effect/Unify").Unify<{ [K in keyof Handlers]-?: NonNullable<Handlers[K]> extends ((...args: Array<any>) => infer R) ? R : never; }[keyof Handlers] | (OrElse extends ((...args: Array<any>) => infer R) ? R : never)>;
2156
+ <Handlers, OrElse>(cases: Handlers & {
2157
+ readonly error?: ((value: RunFailed) => any) | undefined;
2158
+ readonly feedback?: ((value: FeedbackReported) => any) | undefined;
2159
+ readonly formats?: ((value: FormatRegistryResolved) => any) | undefined;
2160
+ readonly help?: ((value: HelpRendered) => any) | undefined;
2161
+ readonly "mutant-detail"?: ((value: MutantDetailReported) => any) | undefined;
2162
+ readonly mutantTested?: ((value: RunMutantTestedEvent) => any) | undefined;
2163
+ readonly phase?: ((value: PhaseEntered) => any) | undefined;
2164
+ readonly plan?: ((value: PlanKnown) => any) | undefined;
2165
+ readonly plugins?: ((value: PluginsReported) => any) | undefined;
2166
+ readonly refused?: ((value: Refused) => any) | undefined;
2167
+ readonly reuse?: ((value: ReuseReported) => any) | undefined;
2168
+ readonly skipped?: ((value: SkippedReported) => any) | undefined;
2169
+ readonly stream?: ((value: RunStarted) => any) | undefined;
2170
+ readonly tce?: ((value: TceReported) => any) | undefined;
2171
+ readonly tick?: ((value: Heartbeat) => any) | undefined;
2172
+ readonly verdict?: ((value: VerdictReached) => any) | undefined;
2173
+ readonly worker?: ((value: WorkerReported) => any) | undefined;
2174
+ } & (Exclude<keyof Handlers, "error" | "feedback" | "formats" | "help" | "mutant-detail" | "mutantTested" | "phase" | "plan" | "plugins" | "refused" | "reuse" | "skipped" | "stream" | "tce" | "tick" | "verdict" | "worker"> extends never ? unknown : never), orElse: OrElse & ((value: Exclude<FeedbackReported, {
2175
+ readonly _tag: keyof Handlers;
2176
+ }> | Exclude<FormatRegistryResolved, {
2177
+ readonly _tag: keyof Handlers;
2178
+ }> | Exclude<Heartbeat, {
2179
+ readonly _tag: keyof Handlers;
2180
+ }> | Exclude<HelpRendered, {
2181
+ readonly _tag: keyof Handlers;
2182
+ }> | Exclude<MutantDetailReported, {
2183
+ readonly _tag: keyof Handlers;
2184
+ }> | Exclude<PhaseEntered, {
2185
+ readonly _tag: keyof Handlers;
2186
+ }> | Exclude<PlanKnown, {
2187
+ readonly _tag: keyof Handlers;
2188
+ }> | Exclude<PluginsReported, {
2189
+ readonly _tag: keyof Handlers;
2190
+ }> | Exclude<Refused, {
2191
+ readonly _tag: keyof Handlers;
2192
+ }> | Exclude<ReuseReported, {
2193
+ readonly _tag: keyof Handlers;
2194
+ }> | Exclude<RunFailed, {
2195
+ readonly _tag: keyof Handlers;
2196
+ }> | Exclude<RunMutantTestedEvent, {
2197
+ readonly _tag: keyof Handlers;
2198
+ }> | Exclude<RunStarted, {
2199
+ readonly _tag: keyof Handlers;
2200
+ }> | Exclude<SkippedReported, {
2201
+ readonly _tag: keyof Handlers;
2202
+ }> | Exclude<TceReported, {
2203
+ readonly _tag: keyof Handlers;
2204
+ }> | Exclude<VerdictReached, {
2205
+ readonly _tag: keyof Handlers;
2206
+ }> | Exclude<WorkerReported, {
2207
+ readonly _tag: keyof Handlers;
2208
+ }>) => any)): (value: FeedbackReported | FormatRegistryResolved | Heartbeat | HelpRendered | MutantDetailReported | PhaseEntered | PlanKnown | PluginsReported | Refused | ReuseReported | RunFailed | RunMutantTestedEvent | RunStarted | SkippedReported | TceReported | VerdictReached | WorkerReported) => import("effect/Unify").Unify<{ [K in keyof Handlers]-?: NonNullable<Handlers[K]> extends ((...args: Array<any>) => infer R) ? R : never; }[keyof Handlers] | (OrElse extends ((...args: Array<any>) => infer R) ? R : never)>;
2209
+ };
2210
+ } & {
2211
+ QUEUE_BOUND: number;
2212
+ }>, S.String, never, never>]>>, S.String, never, never>, never, never>;
2213
+ type RunEventWireText = typeof RunEventWireText.Type;
503
2214
  //#endregion
504
2215
  //#region src/stream-version.schema.d.ts
505
- declare const StreamSchemaVersion: S.Literal<"6.0">;
2216
+ declare const StreamSchemaVersion: S.Literal<"10.0">;
506
2217
  type StreamSchemaVersion = typeof StreamSchemaVersion.Type;
507
2218
  declare namespace mod_d_exports$1 {
508
- export { Budget, FeedbackJudgment, FeedbackReported, FormatClaimShadowingRow, FormatRegistryResolved, FormatRegistryRow, FrameworkContributionRow, FrameworkModuleRow, Heartbeat, HelpRendered, IncrementalMode, MutantCost, MutantDetailReported, MutantSetPolicy, PhaseDurations, PhaseEntered, PlanKnown, PluginLoadFailureReason, PluginsReported, RefusalRule, Refused, ReuseRefusals, ReuseReported, RunEvent, RunEventWireLine, RunFailed, RunId, RunMutantTested, RunMutantTestedEvent, RunPhase, RunScope, RunStarted, RunTerminalEvent, SkippedFileRow, SkippedReported, StaticVerdict, StreamSchemaVersion, TceReported, VerdictCounts, VerdictLocation, VerdictMutant, VerdictReached, VerdictThresholds, WorkerReported, WorkerRole };
2219
+ export { Budget, CheckDuration, FeedbackJudgment, FeedbackReported, FormatClaimShadowingRow, FormatRegistryResolved, FormatRegistryRow, FrameworkContributionRow, FrameworkModuleRow, Heartbeat, HelpRendered, IncrementalMode, MutantCost, MutantDetailReported, MutantSetPolicy, PhaseDurations, PhaseEntered, PlanKnown, PlanProjectReuse, PlanReportDiscard, PlanReportDiscardReason, PluginLoadFailureReason, PluginsReported, RefusalRule, Refused, ReportingDuration, ReuseRefusals, ReuseReported, RunEvent, RunEventWireLine, RunEventWireText, RunFailed, RunId, RunMutantTested, RunMutantTestedEvent, RunPhase, RunScope, RunStarted, RunTerminalEvent, SkippedFileRow, SkippedReported, StaticVerdict, StreamSchemaVersion, TceReported, VerdictCounts, VerdictLocation, VerdictMutant, VerdictReached, VerdictThresholds, WorkerReported, WorkerRole };
509
2220
  }
510
2221
  //#endregion
511
2222
  //#region src/shard-plan.schema.d.ts
512
- export declare const ShardPlanVersion: S.Literal<1>;
2223
+ export declare const ShardPlanVersion: S.Literal<2>;
2224
+ export declare const ShardPlanUnscoped: S.TaggedStruct<"Unscoped", {}>;
2225
+ export declare const ShardPlanDiffScoped: S.TaggedStruct<"DiffScoped", {
2226
+ readonly base: S.NonEmptyString;
2227
+ readonly head: S.NonEmptyString;
2228
+ readonly sources: S.String;
2229
+ readonly files: S.$Array<S.String>;
2230
+ }>;
2231
+ export declare const ShardPlanFullScope: S.TaggedStruct<"FullScope", {
2232
+ readonly base: S.NonEmptyString;
2233
+ readonly head: S.NonEmptyString;
2234
+ readonly sources: S.String;
2235
+ readonly files: S.$Array<S.String>;
2236
+ readonly reason: S.NonEmptyString;
2237
+ }>;
2238
+ export declare const ShardPlanScope: S.Union<readonly [S.TaggedStruct<"Unscoped", {}>, S.TaggedStruct<"DiffScoped", {
2239
+ readonly base: S.NonEmptyString;
2240
+ readonly head: S.NonEmptyString;
2241
+ readonly sources: S.String;
2242
+ readonly files: S.$Array<S.String>;
2243
+ }>, S.TaggedStruct<"FullScope", {
2244
+ readonly base: S.NonEmptyString;
2245
+ readonly head: S.NonEmptyString;
2246
+ readonly sources: S.String;
2247
+ readonly files: S.$Array<S.String>;
2248
+ readonly reason: S.NonEmptyString;
2249
+ }>]>;
2250
+ export type ShardPlanScope = typeof ShardPlanScope.Type;
513
2251
  export declare const ShardProject: S.Struct<{
514
2252
  readonly project: S.String;
515
2253
  readonly mutants: S.$Array<S.String>;
@@ -524,7 +2262,19 @@ export declare const Shard: S.Struct<{
524
2262
  }>>;
525
2263
  }>;
526
2264
  export declare const ShardPlan: S.Struct<{
527
- readonly version: S.Literal<1>;
2265
+ readonly version: S.Literal<2>;
2266
+ readonly scope: S.Union<readonly [S.TaggedStruct<"Unscoped", {}>, S.TaggedStruct<"DiffScoped", {
2267
+ readonly base: S.NonEmptyString;
2268
+ readonly head: S.NonEmptyString;
2269
+ readonly sources: S.String;
2270
+ readonly files: S.$Array<S.String>;
2271
+ }>, S.TaggedStruct<"FullScope", {
2272
+ readonly base: S.NonEmptyString;
2273
+ readonly head: S.NonEmptyString;
2274
+ readonly sources: S.String;
2275
+ readonly files: S.$Array<S.String>;
2276
+ readonly reason: S.NonEmptyString;
2277
+ }>]>;
528
2278
  readonly targetSeconds: S.Finite;
529
2279
  readonly shards: S.$Array<S.Struct<{
530
2280
  readonly index: S.Int;
@@ -586,6 +2336,12 @@ declare const Spans: {
586
2336
  readonly name: 'stryker.checker.check_plans';
587
2337
  readonly attributes: {};
588
2338
  };
2339
+ readonly checkerDigest: {
2340
+ readonly name: 'stryker.checker.digest';
2341
+ readonly attributes: {
2342
+ readonly 'stryker.checker.name': S.String;
2343
+ };
2344
+ };
589
2345
  readonly checkerGroup: {
590
2346
  readonly name: 'stryker.checker.group';
591
2347
  readonly attributes: {
@@ -605,6 +2361,10 @@ declare const Spans: {
605
2361
  readonly name: 'stryker.checker_pool.check_plans';
606
2362
  readonly attributes: {};
607
2363
  };
2364
+ readonly checkerPoolProgramDigest: {
2365
+ readonly name: 'stryker.checker_pool.program_digest';
2366
+ readonly attributes: {};
2367
+ };
608
2368
  readonly checkerPoolSplitChecked: {
609
2369
  readonly name: 'stryker.checker_pool.split_checked';
610
2370
  readonly attributes: {};
@@ -815,6 +2575,10 @@ declare const Spans: {
815
2575
  readonly name: 'stryker.mutationReporting.emitVerdict';
816
2576
  readonly attributes: {};
817
2577
  };
2578
+ readonly mutationReportingJudgeScore: {
2579
+ readonly name: 'stryker.mutationReporting.judgeScore';
2580
+ readonly attributes: {};
2581
+ };
818
2582
  readonly mutationReportingManifestVersion: {
819
2583
  readonly name: 'stryker.mutationReporting.manifestVersion';
820
2584
  readonly attributes: {};
@@ -998,6 +2762,10 @@ declare const Spans: {
998
2762
  readonly name: 'stryker.report.progress.consumeEvent';
999
2763
  readonly attributes: {};
1000
2764
  };
2765
+ readonly reportSarif: {
2766
+ readonly name: 'stryker.report.sarif';
2767
+ readonly attributes: {};
2768
+ };
1001
2769
  readonly reporterStreamAttach: {
1002
2770
  readonly name: 'stryker.reporterStream.attach';
1003
2771
  readonly attributes: {};
@@ -1082,6 +2850,12 @@ declare const Spans: {
1082
2850
  readonly name: 'RpcClient.onEventBatch';
1083
2851
  readonly attributes: {};
1084
2852
  };
2853
+ readonly rpcDigest: {
2854
+ readonly name: 'rpc.digest';
2855
+ readonly attributes: {
2856
+ readonly 'rpc.method': S.String;
2857
+ };
2858
+ };
1085
2859
  readonly rpcDryRun: {
1086
2860
  readonly name: 'rpc.dryRun';
1087
2861
  readonly attributes: {
@@ -1150,6 +2924,12 @@ declare const Spans: {
1150
2924
  readonly name: 'RpcServer.onEventBatch';
1151
2925
  readonly attributes: {};
1152
2926
  };
2927
+ readonly rpcTypeQuery: {
2928
+ readonly name: 'rpc.typeQuery';
2929
+ readonly attributes: {
2930
+ readonly 'rpc.method': S.String;
2931
+ };
2932
+ };
1153
2933
  readonly runConclude: {
1154
2934
  readonly name: 'stryker.run.conclude';
1155
2935
  readonly attributes: {};
@@ -1242,6 +3022,10 @@ declare const Spans: {
1242
3022
  readonly name: 'stryker.sandbox.move_entry';
1243
3023
  readonly attributes: {};
1244
3024
  };
3025
+ readonly sandboxPrepare: {
3026
+ readonly name: 'stryker.sandbox.prepare';
3027
+ readonly attributes: {};
3028
+ };
1245
3029
  readonly sandboxPreprocessDisableTypeChecks: {
1246
3030
  readonly name: 'stryker.sandbox.preprocess.disable_type_checks';
1247
3031
  readonly attributes: {};
@@ -1369,6 +3153,10 @@ declare const Spans: {
1369
3153
  readonly name: 'typescript-checker.compiler.nodes';
1370
3154
  readonly attributes: {};
1371
3155
  };
3156
+ readonly typescriptCheckerCompilerProgramDigest: {
3157
+ readonly name: 'typescript-checker.compiler.programDigest';
3158
+ readonly attributes: {};
3159
+ };
1372
3160
  readonly typescriptCheckerCompilerScoped: {
1373
3161
  readonly name: 'typescript-checker.compiler.scoped';
1374
3162
  readonly attributes: {};
@@ -1478,14 +3266,10 @@ declare namespace mod_d_exports$2 {
1478
3266
  declare const StockCatalog: typeof MutatorCatalog.Catalog.Encoded;
1479
3267
  //#endregion
1480
3268
  //#region src/StockCatalog.schema.d.ts
1481
- declare const StockDefaultName: S.Literals<readonly ["ArithmeticOperator", "ArrayDeclaration", "ArrowFunction", "AssignmentOperator", "BlockStatement", "BooleanLiteral", "ConditionalExpression", "EqualityOperator", "LogicalOperator", "MethodExpression", "ObjectLiteral", "OptionalChaining", "Regex", "StringLiteral", "UnaryOperator", "UpdateOperator"]>;
3269
+ declare const StockDefaultName: S.Literals<readonly ["ArithmeticOperator", "ArrayDeclaration", "ArrowFunction", "AssignmentOperator", "BlockStatement", "BooleanLiteral", "ConditionalExpression", "EqualityOperator", "LogicalOperator", "MethodExpression", "ObjectLiteral", "OptionalChaining", "Regex", "StringLiteral", "UnaryOperator", "UpdateOperator", "AtomicUpdateSplit", "SynchronizationRemoval", "FinalizerEscape"]>;
1482
3270
  type StockDefaultName = typeof StockDefaultName.Type;
1483
- declare const StockOptInName: S.Literals<readonly ["AtomicUpdateSplit", "SynchronizationRemoval", "FinalizerEscape"]>;
1484
- type StockOptInName = typeof StockOptInName.Type;
1485
- declare const StockMutatorName: S.Union<readonly [S.Literals<readonly ["ArithmeticOperator", "ArrayDeclaration", "ArrowFunction", "AssignmentOperator", "BlockStatement", "BooleanLiteral", "ConditionalExpression", "EqualityOperator", "LogicalOperator", "MethodExpression", "ObjectLiteral", "OptionalChaining", "Regex", "StringLiteral", "UnaryOperator", "UpdateOperator"]>, S.Literals<readonly ["AtomicUpdateSplit", "SynchronizationRemoval", "FinalizerEscape"]>]>;
1486
- type StockMutatorName = typeof StockMutatorName.Type;
1487
3271
  declare namespace mod_d_exports$3 {
1488
- export { StockCatalog, StockDefaultName, StockMutatorName, StockOptInName };
3272
+ export { StockCatalog, StockDefaultName };
1489
3273
  }
1490
3274
  //#endregion
1491
3275
  export { mod_d_exports as OutputMode, mod_d_exports$1 as RunEvent, mod_d_exports$2 as SpanTaxonomy, mod_d_exports$3 as StockCatalog };