@systemfsoftware/stryker-js 13.0.0 → 14.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
@@ -1,23 +1,29 @@
1
- import { c as mod_d_exports$2$2, d as Ignorer, f as Node_2, i as mod_d_exports$4$1, l as mod_d_exports$3$1, n as mod_d_exports$2$1, o as mod_d_exports$6$1, t as mod_d_exports$6, u as Framework } from "./index-C09A80iv.mjs";
2
- import { a as ImmutablePrimitive, i as Immutable, n as mergeConfigs, o as Primitive } from "./merge-config-X_AxYxMY.mjs";
3
- import { A as VerdictCounts, C as RunMutantTested, D as RunTerminalEvent, E as RunStarted, M as VerdictReached, O as SkippedFileRow, a as OutputMode, b as RunEvent, c as FormatRegistryResolved, d as FrameworkModuleRow, f as Heartbeat, g as PlanKnown, h as PhaseEntered, i as ModeSignal, j as VerdictMutant, k as SkippedReported, l as FormatRegistryRow, n as StageError, o as ResolvedMode, p as HelpRendered, r as PluginLoadFailureReason, s as FormatClaimShadowingRow, u as FrameworkContributionRow, v as PluginsReported, w as RunPhase, x as RunFailed } from "./Run.schema-BlvpjFjJ.mjs";
4
- import { $ as ConfigFileNotFoundError, A as ReporterWorkerClient, B as ProjectFile, C as PluginSource, D as TestCoverage, E as SandboxHandle, F as WorkerLauncherShape, G as makeRunEventStream, H as RunEventDrain, I as WorkerSpawnParams, J as RunIdentity, K as ResolvedModeInput, L as SpawnedSocketWorker, M as reporterWorkerFactory, N as spawnReporterWorker, O as REPORTER_EVENT_BATCH_BOUND, P as WorkerLauncher, Q as ConfigFileInvalidError, R as make, S as PluginKind, T as WorkerPluginSource, U as RunEventDrainLive, V as IncrementalReportSchema, W as RunEventStream, X as StrykerError, Y as RunIdentityShape, Z as ConfigError, _ as EvaluatorPluginDescriptor, a as StageServices, at as WorkerBootTimeoutError, b as PluginDescriptor, c as IdGeneratorShape, d as InstrumentDone, et as ConfigFileUnreadableError, f as PrepareDone, g as AnyWorkerPluginSource, h as AnyWorkerPluginDescriptor, i as RunStageServices, it as WorkerBootError, j as SpawnReporterWorkerParams, k as ReporterStage, l as MutationTestDone, m as AnyPluginDescriptor, n as RunEnvironmentShape, nt as ChildProcessCrashedError, o as WiredRunLayer, ot as WorkerExit, p as PrepareExecutorArgs, q as RunEvents, r as EnginePorts, rt as OutOfMemoryError, s as IdGenerator, t as RunEnvironment, tt as ConfigFileUnsupportedError, u as DryRunDone, v as EvaluatorPluginSource, w as WorkerPluginDescriptor, x as PluginDescriptorOf, y as LoadedPlugins, z as Project } from "./RunEnvironment.service-BJAsZsdn.mjs";
1
+ import { c as mod_d_exports$9, i as mod_d_exports$5$1, l as Ignorer, n as mod_d_exports$2$1, o as mod_d_exports$7$1, t as mod_d_exports$8, u as Node_2 } from "./index-C5FRZ4Ni.mjs";
2
+ import { a as ImmutablePrimitive, i as Immutable, n as mergeConfigs, o as Primitive } from "./merge-config-IXgoKiix.mjs";
3
+ import { n as StageError } from "./Run.schema-DErVOVSj.mjs";
4
+ import { $ as makeRunEventStream, A as ReporterWorkerClient, B as ProjectFile, C as PluginSource, D as TestCoverage, E as SandboxHandle, F as WorkerLauncherShape, G as git_diff_service_d_exports, H as mod_d_exports$2$11, I as WorkerSpawnParams, J as RunIdentity, K as git_diff_schema_d_exports, L as SpawnedSocketWorker, M as reporterWorkerFactory, N as spawnReporterWorker, O as REPORTER_EVENT_BATCH_BOUND, P as WorkerLauncher, Q as RunEventStream, R as make, S as PluginKind, T as WorkerPluginSource, U as Framework, V as IncrementalReportSchema, W as GitDiff, X as RunEventDrain, Y as RunIdentityShape, Z as RunEventDrainLive, _ as EvaluatorPluginDescriptor, a as StageServices, at as StrykerError, b as PluginDescriptor, c as IdGeneratorShape, ct as ConfigFileNotFoundError, d as InstrumentDone, dt as ChildProcessCrashedError, et as ResolvedModeInput, f as PrepareDone, ft as OutOfMemoryError, g as AnyWorkerPluginSource, h as AnyWorkerPluginDescriptor, ht as WorkerExit, i as RunStageServices, it as mod_d_exports$1$7, j as SpawnReporterWorkerParams, k as ReporterStage, l as MutationTestDone, lt as ConfigFileUnreadableError, m as AnyPluginDescriptor, mt as WorkerBootTimeoutError, n as RunEnvironmentShape, nt as PhaseClock, o as WiredRunLayer, ot as ConfigError, p as PrepareExecutorArgs, pt as WorkerBootError, q as RunEvents, r as EnginePorts, rt as mod_d_exports$10, s as IdGenerator, st as ConfigFileInvalidError, t as RunEnvironment, tt as ResolvedMode, u as DryRunDone, ut as ConfigFileUnsupportedError, v as EvaluatorPluginSource, w as WorkerPluginDescriptor, x as PluginDescriptorOf, y as LoadedPlugins, z as Project } from "./RunEnvironment.service-C8nNTyKa.mjs";
5
5
  import { Blueprint, Cell, Handle, Sandwich, Workflow } from "@systemfsoftware/effect-cell-types";
6
6
  import * as S from "effect/Schema";
7
+ import * as Option from "effect/Option";
7
8
  import * as Effect from "effect/Effect";
8
9
  import * as Rpc from "effect/unstable/rpc/Rpc";
9
10
  import * as RpcGroup from "effect/unstable/rpc/RpcGroup";
10
- import "effect/Cause";
11
+ import * as Result from "effect/Result";
12
+ import "effect/Metric";
13
+ import * as Cause from "effect/Cause";
11
14
  import * as FileSystem from "effect/FileSystem";
12
15
  import * as Path from "effect/Path";
13
16
  import * as Layer from "effect/Layer";
14
17
  import "effect/Queue";
15
18
  import * as Scope from "effect/Scope";
16
19
  import * as RpcClient from "effect/unstable/rpc/RpcClient";
20
+ import "effect/DateTime";
21
+ import * as Stdio from "effect/Stdio";
17
22
  import * as ChildProcessSpawner from "effect/unstable/process/ChildProcessSpawner";
18
23
  import { RpcClientError } from "effect/unstable/rpc/RpcClientError";
19
24
  import * as Socket from "effect/unstable/socket/Socket";
20
25
  import { PlatformError } from "effect/PlatformError";
26
+ import { McpServer, Tool, Toolkit } from "effect/unstable/ai";
21
27
  //#region src/admit-checker-answer.workflow.d.ts
22
28
  declare const CheckerAnsweredUnrequested_base: S.Class<CheckerAnsweredUnrequested, S.TaggedStruct<"CheckerAnsweredUnrequested", {
23
29
  readonly checkerName: S.String;
@@ -25,13 +31,17 @@ declare const CheckerAnsweredUnrequested_base: S.Class<CheckerAnsweredUnrequeste
25
31
  readonly unrequestedIds: S.$Array<S.String>;
26
32
  readonly requestedIds: S.$Array<S.String>;
27
33
  }>, import("effect/Cause").YieldableError>;
28
- declare class CheckerAnsweredUnrequested extends CheckerAnsweredUnrequested_base {}
34
+ declare class CheckerAnsweredUnrequested extends CheckerAnsweredUnrequested_base {
35
+ get message(): string;
36
+ }
29
37
  declare const CheckerSkippedRequested_base: S.Class<CheckerSkippedRequested, S.TaggedStruct<"CheckerSkippedRequested", {
30
38
  readonly checkerName: S.String;
31
39
  readonly phase: S.Literals<readonly ["check", "group"]>;
32
40
  readonly missingIds: S.$Array<S.String>;
33
41
  }>, import("effect/Cause").YieldableError>;
34
- declare class CheckerSkippedRequested extends CheckerSkippedRequested_base {}
42
+ declare class CheckerSkippedRequested extends CheckerSkippedRequested_base {
43
+ get message(): string;
44
+ }
35
45
  type CheckerContractBroken = CheckerAnsweredUnrequested | CheckerSkippedRequested;
36
46
  //#endregion
37
47
  //#region src/Checker/Checker.handle.d.ts
@@ -45,14 +55,14 @@ type CheckerCrash = ChildProcessCrashedError | OutOfMemoryError;
45
55
  * which lets the retry combinator prove it handles every one of them.
46
56
  */
47
57
  interface CheckerResourceService {
48
- readonly check: (checkerName: string, mutants: readonly mod_d_exports$6.CheckerMutantWire[]) => Effect.Effect<Record<string, mod_d_exports$6.CheckResult>, CheckerCrash | mod_d_exports$6.CheckerFailed>;
49
- readonly group: (checkerName: string, mutants: readonly mod_d_exports$6.CheckerMutantWire[]) => Effect.Effect<readonly (readonly string[])[], CheckerCrash | mod_d_exports$6.CheckerFailed>;
58
+ readonly check: (checkerName: string, mutants: readonly mod_d_exports$8.CheckerMutantWire[]) => Effect.Effect<Record<string, mod_d_exports$8.CheckResult>, CheckerCrash | mod_d_exports$8.CheckerFailed>;
59
+ readonly group: (checkerName: string, mutants: readonly mod_d_exports$8.CheckerMutantWire[]) => Effect.Effect<readonly (readonly string[])[], CheckerCrash | mod_d_exports$8.CheckerFailed>;
50
60
  }
51
61
  //#endregion
52
- //#region src/Checker/Checker.cell.d.ts
62
+ //#region src/Checker/Checker.plans.d.ts
53
63
  declare const checkGroupedPlans: {
54
- (checker: CheckerResourceService, checkerName: string, plans: readonly mod_d_exports$3$1.RunPlan[]): Effect.Effect<readonly (readonly [mod_d_exports$3$1.RunPlan, mod_d_exports$6.CheckResult])[], CheckerCrash | mod_d_exports$6.CheckerFailed | CheckerContractBroken>;
55
- (checkerName: string, plans: readonly mod_d_exports$3$1.RunPlan[]): (checker: CheckerResourceService) => Effect.Effect<readonly (readonly [mod_d_exports$3$1.RunPlan, mod_d_exports$6.CheckResult])[], CheckerCrash | mod_d_exports$6.CheckerFailed | CheckerContractBroken>;
64
+ (checker: CheckerResourceService, checkerName: string, plans: readonly mod_d_exports$2$1.RunPlan[]): Effect.Effect<readonly (readonly [mod_d_exports$2$1.RunPlan, mod_d_exports$8.CheckResult])[], CheckerCrash | mod_d_exports$8.CheckerFailed | CheckerContractBroken>;
65
+ (checkerName: string, plans: readonly mod_d_exports$2$1.RunPlan[]): (checker: CheckerResourceService) => Effect.Effect<readonly (readonly [mod_d_exports$2$1.RunPlan, mod_d_exports$8.CheckResult])[], CheckerCrash | mod_d_exports$8.CheckerFailed | CheckerContractBroken>;
56
66
  };
57
67
  declare namespace mod_d_exports {
58
68
  export { CheckerAnsweredUnrequested, CheckerContractBroken, CheckerCrash, CheckerResourceService, CheckerSkippedRequested, checkGroupedPlans };
@@ -122,7 +132,9 @@ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
122
132
  readonly ignoreStatic: S.withDecodingDefaultKey<S.Boolean, never>;
123
133
  readonly incremental: S.withDecodingDefaultKey<S.Boolean, never>;
124
134
  readonly incrementalFile: S.withDecodingDefaultKey<S.String, never>;
135
+ readonly incrementalSources: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
125
136
  readonly progressStreamFile: S.withDecodingDefaultKey<S.String, never>;
137
+ readonly since: S.optionalKey<S.String>;
126
138
  readonly force: S.withDecodingDefaultKey<S.Boolean, never>;
127
139
  readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
128
140
  readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
@@ -133,6 +145,11 @@ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
133
145
  readonly mutator: S.withDecodingDefaultKey<S.Struct<{
134
146
  readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
135
147
  readonly optInMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
148
+ readonly mutantSetPolicy: S.withDecodingDefaultKey<S.Literals<readonly ["default", "full"]>, never>;
149
+ }>, never>;
150
+ readonly surfacing: S.withDecodingDefaultKey<S.Struct<{
151
+ readonly perLine: S.withDecodingDefaultKey<S.Int, never>;
152
+ readonly perFile: S.withDecodingDefaultKey<S.Int, never>;
136
153
  }>, never>;
137
154
  readonly packageManager: S.optionalKey<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
138
155
  readonly plugins: S.withDecodingDefaultKey<S.$Array<S.declare<string, string>>, never>;
@@ -181,13 +198,14 @@ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
181
198
  readonly allowEmpty: S.withDecodingDefaultKey<S.Boolean, never>;
182
199
  readonly ignorers: S.withDecodingDefaultKey<S.$Array<S.declare<string, string>>, never>;
183
200
  readonly testFiles: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
201
+ readonly mutantIds: S.optionalKey<S.$Array<S.String>>;
184
202
  readonly survivorsPriorReport: S.optionalKey<S.String>;
185
203
  readonly extends: S.optionalKey<S.String>;
186
204
  }>, readonly [S.$Record<S.String, S.Unknown>]>;
187
205
  //#endregion
188
206
  //#region src/config/default-options.d.ts
189
- declare const createDefaultOptions: Effect.Effect<mod_d_exports$2$1.StrykerOptions>;
190
- declare const defaultOptions: Effect.Effect<Immutable<mod_d_exports$2$1.StrykerOptions>, never, never>;
207
+ declare const createDefaultOptions: Effect.Effect<mod_d_exports$5$1.StrykerOptions>;
208
+ declare const defaultOptions: Effect.Effect<Immutable<mod_d_exports$5$1.StrykerOptions>, never, never>;
191
209
  //#endregion
192
210
  //#region src/run/extends-step.workflow.d.ts
193
211
  declare const ExtendsStepDecisionTypeId: unique symbol;
@@ -294,7 +312,9 @@ declare const ConfigFromFile_base: S.Class<ConfigFromFile, S.TaggedStruct<"Confi
294
312
  readonly ignoreStatic: S.withDecodingDefaultKey<S.Boolean, never>;
295
313
  readonly incremental: S.withDecodingDefaultKey<S.Boolean, never>;
296
314
  readonly incrementalFile: S.withDecodingDefaultKey<S.String, never>;
315
+ readonly incrementalSources: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
297
316
  readonly progressStreamFile: S.withDecodingDefaultKey<S.String, never>;
317
+ readonly since: S.optionalKey<S.String>;
298
318
  readonly force: S.withDecodingDefaultKey<S.Boolean, never>;
299
319
  readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
300
320
  readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
@@ -305,6 +325,11 @@ declare const ConfigFromFile_base: S.Class<ConfigFromFile, S.TaggedStruct<"Confi
305
325
  readonly mutator: S.withDecodingDefaultKey<S.Struct<{
306
326
  readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
307
327
  readonly optInMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
328
+ readonly mutantSetPolicy: S.withDecodingDefaultKey<S.Literals<readonly ["default", "full"]>, never>;
329
+ }>, never>;
330
+ readonly surfacing: S.withDecodingDefaultKey<S.Struct<{
331
+ readonly perLine: S.withDecodingDefaultKey<S.Int, never>;
332
+ readonly perFile: S.withDecodingDefaultKey<S.Int, never>;
308
333
  }>, never>;
309
334
  readonly packageManager: S.optionalKey<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
310
335
  readonly plugins: S.withDecodingDefaultKey<S.$Array<S.declare<string, string>>, never>;
@@ -389,7 +414,9 @@ declare const ConfigFromDefaults_base: S.Class<ConfigFromDefaults, S.TaggedStruc
389
414
  readonly ignoreStatic: S.withDecodingDefaultKey<S.Boolean, never>;
390
415
  readonly incremental: S.withDecodingDefaultKey<S.Boolean, never>;
391
416
  readonly incrementalFile: S.withDecodingDefaultKey<S.String, never>;
417
+ readonly incrementalSources: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
392
418
  readonly progressStreamFile: S.withDecodingDefaultKey<S.String, never>;
419
+ readonly since: S.optionalKey<S.String>;
393
420
  readonly force: S.withDecodingDefaultKey<S.Boolean, never>;
394
421
  readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
395
422
  readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
@@ -400,6 +427,11 @@ declare const ConfigFromDefaults_base: S.Class<ConfigFromDefaults, S.TaggedStruc
400
427
  readonly mutator: S.withDecodingDefaultKey<S.Struct<{
401
428
  readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
402
429
  readonly optInMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
430
+ readonly mutantSetPolicy: S.withDecodingDefaultKey<S.Literals<readonly ["default", "full"]>, never>;
431
+ }>, never>;
432
+ readonly surfacing: S.withDecodingDefaultKey<S.Struct<{
433
+ readonly perLine: S.withDecodingDefaultKey<S.Int, never>;
434
+ readonly perFile: S.withDecodingDefaultKey<S.Int, never>;
403
435
  }>, never>;
404
436
  readonly packageManager: S.optionalKey<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
405
437
  readonly plugins: S.withDecodingDefaultKey<S.$Array<S.declare<string, string>>, never>;
@@ -461,21 +493,23 @@ type ValidationSchemaDocument<A = unknown> = {
461
493
  readonly [key: string]: A;
462
494
  };
463
495
  //#endregion
464
- //#region src/run/load-config.cell.d.ts
496
+ //#region src/run/load-config.d.ts
465
497
  interface ConfigInvocation {
466
498
  readonly command: 'run' | 'merge-reports';
467
- readonly mode: OutputMode;
499
+ readonly mode: mod_d_exports$10.OutputMode;
468
500
  }
469
501
  declare const forkCoreSchema: import("effect/JsonSchema").JsonSchema;
470
502
  declare const describeErrors: (error: S.SchemaError) => readonly string[];
471
503
  declare const readConfig: {
472
- (invocation: ConfigInvocation): (cliOptions: mod_d_exports$2$1.PartialStrykerOptions) => Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigReadError, FileSystem.FileSystem | Path.Path>;
473
- (cliOptions: mod_d_exports$2$1.PartialStrykerOptions, invocation: ConfigInvocation): Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigReadError, FileSystem.FileSystem | Path.Path>;
504
+ (invocation: ConfigInvocation): (cliOptions: mod_d_exports$5$1.PartialStrykerOptions) => Effect.Effect<mod_d_exports$5$1.StrykerOptions, ConfigReadError, FileSystem.FileSystem | Path.Path>;
505
+ (cliOptions: mod_d_exports$5$1.PartialStrykerOptions, invocation: ConfigInvocation): Effect.Effect<mod_d_exports$5$1.StrykerOptions, ConfigReadError, FileSystem.FileSystem | Path.Path>;
474
506
  };
507
+ //#endregion
508
+ //#region src/run/load-config.cell.d.ts
475
509
  declare const loadConfigCell: Sandwich.WrittenFrom<{
476
- readonly cliOptions: mod_d_exports$2$1.PartialStrykerOptions;
510
+ readonly cliOptions: mod_d_exports$5$1.PartialStrykerOptions;
477
511
  readonly targetMutatePatterns: readonly string[] | undefined;
478
- }, ConfigReadError, FileSystem.FileSystem | Path.Path | RunEnvironment | RunEvents, S.Union<readonly [typeof ConfigFromFile, typeof ConfigFromDefaults]>, {
512
+ }, ConfigReadError, import("effect/FileSystem").FileSystem | import("effect/Path").Path | PhaseClock | RunEnvironment | RunEvents, import("effect/Schema").Union<readonly [typeof ConfigFromFile, typeof ConfigFromDefaults]>, {
479
513
  ConfigFromFile: ({ options }: {
480
514
  readonly _tag: "ConfigFromFile";
481
515
  readonly options: {
@@ -512,7 +546,9 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
512
546
  readonly ignoreStatic: boolean;
513
547
  readonly incremental: boolean;
514
548
  readonly incrementalFile: string;
549
+ readonly incrementalSources: readonly string[];
515
550
  readonly progressStreamFile: string;
551
+ readonly since?: string;
516
552
  readonly force: boolean;
517
553
  readonly fileLogLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
518
554
  readonly inPlace: boolean;
@@ -523,6 +559,11 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
523
559
  readonly mutator: {
524
560
  readonly excludedMutations: readonly string[];
525
561
  readonly optInMutations: readonly string[];
562
+ readonly mutantSetPolicy: "default" | "full";
563
+ };
564
+ readonly surfacing: {
565
+ readonly perLine: number;
566
+ readonly perFile: number;
526
567
  };
527
568
  readonly packageManager?: "npm" | "pnpm" | "yarn";
528
569
  readonly plugins: readonly string[];
@@ -610,7 +651,9 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
610
651
  readonly ignoreStatic: boolean;
611
652
  readonly incremental: boolean;
612
653
  readonly incrementalFile: string;
654
+ readonly incrementalSources: readonly string[];
613
655
  readonly progressStreamFile: string;
656
+ readonly since?: string;
614
657
  readonly force: boolean;
615
658
  readonly fileLogLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
616
659
  readonly inPlace: boolean;
@@ -621,6 +664,11 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
621
664
  readonly mutator: {
622
665
  readonly excludedMutations: readonly string[];
623
666
  readonly optInMutations: readonly string[];
667
+ readonly mutantSetPolicy: "default" | "full";
668
+ };
669
+ readonly surfacing: {
670
+ readonly perLine: number;
671
+ readonly perFile: number;
624
672
  };
625
673
  readonly packageManager?: "npm" | "pnpm" | "yarn";
626
674
  readonly plugins: readonly string[];
@@ -704,7 +752,9 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
704
752
  readonly ignoreStatic: boolean;
705
753
  readonly incremental: boolean;
706
754
  readonly incrementalFile: string;
755
+ readonly incrementalSources: readonly string[];
707
756
  readonly progressStreamFile: string;
757
+ readonly since?: string;
708
758
  readonly force: boolean;
709
759
  readonly fileLogLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
710
760
  readonly inPlace: boolean;
@@ -715,6 +765,11 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
715
765
  readonly mutator: {
716
766
  readonly excludedMutations: readonly string[];
717
767
  readonly optInMutations: readonly string[];
768
+ readonly mutantSetPolicy: "default" | "full";
769
+ };
770
+ readonly surfacing: {
771
+ readonly perLine: number;
772
+ readonly perFile: number;
718
773
  };
719
774
  readonly packageManager?: "npm" | "pnpm" | "yarn";
720
775
  readonly plugins: readonly string[];
@@ -802,7 +857,9 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
802
857
  readonly ignoreStatic: boolean;
803
858
  readonly incremental: boolean;
804
859
  readonly incrementalFile: string;
860
+ readonly incrementalSources: readonly string[];
805
861
  readonly progressStreamFile: string;
862
+ readonly since?: string;
806
863
  readonly force: boolean;
807
864
  readonly fileLogLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
808
865
  readonly inPlace: boolean;
@@ -813,6 +870,11 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
813
870
  readonly mutator: {
814
871
  readonly excludedMutations: readonly string[];
815
872
  readonly optInMutations: readonly string[];
873
+ readonly mutantSetPolicy: "default" | "full";
874
+ };
875
+ readonly surfacing: {
876
+ readonly perLine: number;
877
+ readonly perFile: number;
816
878
  };
817
879
  readonly packageManager?: "npm" | "pnpm" | "yarn";
818
880
  readonly plugins: readonly string[];
@@ -863,10 +925,12 @@ declare const loadConfigCell: Sandwich.WrittenFrom<{
863
925
  ConfigOptionsRefused: ({ message }: {
864
926
  readonly _tag: "ConfigOptionsRefused";
865
927
  readonly message: string;
866
- }) => Effect.Effect<never, ConfigError, RunEnvironment | RunEvents>;
867
- CommandRejected: ({ issue }: Sandwich.CommandRejected) => Effect.Effect<never, ConfigError, RunEnvironment | RunEvents>;
928
+ }) => Effect.Effect<never, ConfigError, PhaseClock | RunEnvironment | RunEvents>;
929
+ CommandRejected: ({ issue }: Sandwich.CommandRejected) => Effect.Effect<never, ConfigError, PhaseClock | RunEnvironment | RunEvents>;
868
930
  }>;
869
- declare const validateOptions: (<A = unknown>(schema: ValidationSchemaDocument) => (options: Record<string, A>) => Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigError>) & (<A = unknown>(options: Record<string, A>, schema: ValidationSchemaDocument) => Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigError>);
931
+ //#endregion
932
+ //#region src/run/validate-options.d.ts
933
+ declare const validateOptions: (<A = unknown>(schema: ValidationSchemaDocument) => (options: Record<string, A>) => Effect.Effect<mod_d_exports$5$1.StrykerOptions, ConfigError>) & (<A = unknown>(options: Record<string, A>, schema: ValidationSchemaDocument) => Effect.Effect<mod_d_exports$5$1.StrykerOptions, ConfigError>);
870
934
  declare namespace mod_d_exports$1 {
871
935
  export { ConfigDocumentSchema, ConfigError, ConfigFileInvalidError, ConfigFileNotFoundError, ConfigFileUnreadableError, ConfigFileUnsupportedError, ConfigInvocation, ExtendsRefusalReason, ExtendsStepDecision, ExtendsStepDocument, ExtendsStepDocumentSchema, ExtendsStepDone, ExtendsStepRead, ExtendsStepRefused, ExtendsStepResolve, ExtendsStepState, ExtendsStepStateSchema, FileMatcher, Immutable, ImmutablePrimitive, ImportedModuleSchema, MergeCommand, MergeResult, Primitive, ReadConfigCommand, ValidationSchemaDocument, createDefaultOptions, decideExtendsStep, defaultOptions, describeErrors, extendsPropertySchema, forkCoreSchema, forkOptionsSchema, importModule, initialExtendsStepState, loadConfigCell, mergeConfigs, readConfig, survivorsPriorReport, validateOptions };
872
936
  }
@@ -875,46 +939,165 @@ declare namespace mod_d_exports$1 {
875
939
  declare const nodePlatformLayer: Layer.Layer<EnginePorts>;
876
940
  //#endregion
877
941
  //#region src/run/host.service.d.ts
878
- type StrykerRun = (options: mod_d_exports$2$1.PartialStrykerOptions, targetMutatePatterns?: string[]) => Effect.Effect<MutationTestDone, StageError, never>;
942
+ type StrykerRun = (options: mod_d_exports$5$1.PartialStrykerOptions, targetMutatePatterns?: string[]) => Effect.Effect<MutationTestDone, StageError, never>;
879
943
  //#endregion
880
944
  //#region src/run/run-stages.cell.d.ts
881
945
  declare const mutationTestCell: Cell.Cell<PrepareExecutorArgs, MutationTestDone, StageError, StageServices>;
946
+ //#endregion
947
+ //#region src/run/run-stages.d.ts
882
948
  declare const strykerCell: {
883
- (options: mod_d_exports$2$1.PartialStrykerOptions, targetMutatePatterns?: readonly string[]): Effect.Effect<MutationTestDone, StageError | PlatformError, EnginePorts>;
884
- (targetMutatePatterns?: readonly string[]): (options: mod_d_exports$2$1.PartialStrykerOptions) => Effect.Effect<MutationTestDone, StageError | PlatformError, EnginePorts>;
949
+ (options: mod_d_exports$5$1.PartialStrykerOptions, targetMutatePatterns?: readonly string[]): Effect.Effect<MutationTestDone, StageError | PlatformError, EnginePorts>;
950
+ (targetMutatePatterns?: readonly string[]): (options: mod_d_exports$5$1.PartialStrykerOptions) => Effect.Effect<MutationTestDone, StageError | PlatformError, EnginePorts>;
885
951
  };
886
952
  declare namespace mod_d_exports$2 {
887
953
  export { DryRunDone, EnginePorts, IdGenerator, IdGeneratorShape, IncrementalReportSchema, InstrumentDone, MutationTestDone, PrepareDone, PrepareExecutorArgs, Project, ProjectFile, RunEnvironment, RunEnvironmentShape, RunStageServices, SandboxHandle, StageError, StageServices, StrykerError, StrykerRun, TestCoverage, WiredRunLayer, mutationTestCell, nodePlatformLayer, strykerCell };
888
954
  }
955
+ declare namespace import_closure_cell_d_exports {
956
+ export { ImportClosureAnalysis, ImportClosureInput, TestFileClosureDigest, analyzeImportClosure };
957
+ }
958
+ interface ImportClosureInput {
959
+ readonly rootDir: string;
960
+ readonly projectFiles: readonly string[];
961
+ readonly testFiles: readonly string[];
962
+ readonly globalInputs?: readonly string[];
963
+ }
964
+ interface TestFileClosureDigest {
965
+ readonly testFile: string;
966
+ readonly files: readonly string[];
967
+ readonly open: boolean;
968
+ readonly digest: string;
969
+ }
970
+ interface ImportClosureAnalysis {
971
+ readonly closures: readonly TestFileClosureDigest[];
972
+ readonly projectDigest: string;
973
+ }
974
+ declare const analyzeImportClosure: (input: ImportClosureInput) => Effect.Effect<ImportClosureAnalysis, PlatformError, FileSystem.FileSystem | Path.Path>;
975
+ //#endregion
976
+ //#region src/Mcp/mcp-server.cell.d.ts
977
+ interface McpServerOptions {
978
+ readonly basePath: string;
979
+ }
980
+ declare const mcpServerLayer: ({ basePath }: McpServerOptions) => Layer.Layer<McpServer.McpServer | import("effect/unstable/ai/McpSchema").McpServerClient, Cause.IllegalArgumentError, import("effect/Stdio").Stdio>;
981
+ //#endregion
982
+ //#region src/Feedback/Feedback.schema.d.ts
983
+ declare const FeedbackUnusable_base: S.Class<FeedbackUnusable, S.TaggedStruct<"FeedbackUnusable", {
984
+ readonly reason: S.String;
985
+ }>, import("effect/Cause").YieldableError>;
986
+ declare class FeedbackUnusable extends FeedbackUnusable_base {
987
+ get message(): string;
988
+ }
989
+ //#endregion
990
+ //#region src/Mcp/mcp-tools.schema.d.ts
991
+ declare const MutantDetail: S.Struct<{
992
+ readonly id: S.brand<S.String, "MutantId">;
993
+ readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
994
+ readonly coveringTests: S.$Array<S.String>;
995
+ readonly killedBy: S.NullOr<S.String>;
996
+ readonly reproducer: S.String;
997
+ readonly diff: S.NullOr<S.String>;
998
+ }>;
999
+ type MutantDetail = typeof MutantDetail.Type;
1000
+ declare const MutantUnusable_base: S.Class<MutantUnusable, S.TaggedStruct<"MutantUnusable", {
1001
+ readonly id: S.brand<S.String, "MutantId">;
1002
+ }>, import("effect/Cause").YieldableError>;
1003
+ declare class MutantUnusable extends MutantUnusable_base {
1004
+ get message(): string;
1005
+ }
1006
+ declare const RerunUnusable_base: S.Class<RerunUnusable, S.TaggedStruct<"RerunUnusable", {
1007
+ readonly id: S.brand<S.String, "MutantId">;
1008
+ readonly reason: S.String;
1009
+ }>, import("effect/Cause").YieldableError>;
1010
+ declare class RerunUnusable extends RerunUnusable_base {
1011
+ get message(): string;
1012
+ }
1013
+ declare const ShowMutantFailure: S.Union<readonly [typeof MutantUnusable, typeof FeedbackUnusable]>;
1014
+ declare const RerunMutantFailure: S.Union<readonly [typeof MutantUnusable, typeof RerunUnusable]>;
1015
+ //#endregion
1016
+ //#region src/Mcp/mcp-tools.d.ts
1017
+ declare const mcpToolkit: Toolkit.Toolkit<{
1018
+ readonly list_survivors: Tool.Tool<"list_survivors", {
1019
+ readonly parameters: Tool.EmptyParams;
1020
+ readonly success: S.$Array<S.Struct<{
1021
+ readonly id: S.brand<S.String, "MutantId">;
1022
+ readonly fileName: S.String;
1023
+ readonly line: S.Int;
1024
+ }>>;
1025
+ readonly failure: typeof FeedbackUnusable;
1026
+ readonly failureMode: "error";
1027
+ }, FileSystem.FileSystem | Path.Path>;
1028
+ readonly report_usefulness: Tool.Tool<"report_usefulness", {
1029
+ readonly parameters: S.Struct<{
1030
+ readonly id: S.brand<S.String, "MutantId">;
1031
+ readonly judgment: S.Literals<readonly ["useful", "not-useful"]>;
1032
+ readonly reason: S.optional<S.NullOr<S.String>>;
1033
+ }>;
1034
+ readonly success: typeof mod_d_exports$1$7.FeedbackReported;
1035
+ readonly failure: typeof FeedbackUnusable;
1036
+ readonly failureMode: "error";
1037
+ }, FileSystem.FileSystem | Path.Path>;
1038
+ readonly rerun_mutant: Tool.Tool<"rerun_mutant", {
1039
+ readonly parameters: S.Struct<{
1040
+ readonly id: S.brand<S.String, "MutantId">;
1041
+ }>;
1042
+ readonly success: S.Struct<{
1043
+ readonly id: S.brand<S.String, "MutantId">;
1044
+ readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
1045
+ readonly coveringTests: S.$Array<S.String>;
1046
+ readonly killedBy: S.NullOr<S.String>;
1047
+ readonly reproducer: S.String;
1048
+ readonly diff: S.NullOr<S.String>;
1049
+ }>;
1050
+ readonly failure: S.Union<readonly [typeof MutantUnusable, typeof RerunUnusable]>;
1051
+ readonly failureMode: "error";
1052
+ }, ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | GitDiff | Path.Path | Stdio.Stdio | WorkerLauncher>;
1053
+ readonly show_mutant: Tool.Tool<"show_mutant", {
1054
+ readonly parameters: S.Struct<{
1055
+ readonly id: S.brand<S.String, "MutantId">;
1056
+ }>;
1057
+ readonly success: S.Struct<{
1058
+ readonly id: S.brand<S.String, "MutantId">;
1059
+ readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
1060
+ readonly coveringTests: S.$Array<S.String>;
1061
+ readonly killedBy: S.NullOr<S.String>;
1062
+ readonly reproducer: S.String;
1063
+ readonly diff: S.NullOr<S.String>;
1064
+ }>;
1065
+ readonly failure: S.Union<readonly [typeof MutantUnusable, typeof FeedbackUnusable]>;
1066
+ readonly failureMode: "error";
1067
+ }, FileSystem.FileSystem | Path.Path>;
1068
+ }>;
1069
+ declare namespace mod_d_exports$3 {
1070
+ export { McpServerOptions, MutantDetail, MutantUnusable, RerunMutantFailure, ShowMutantFailure, mcpServerLayer, mcpToolkit };
1071
+ }
889
1072
  //#endregion
890
1073
  //#region src/TestRunner.schema.d.ts
891
- type PooledTestRunnerError = mod_d_exports$6$1.TestRunnerFailed | ChildProcessCrashedError | OutOfMemoryError;
1074
+ type PooledTestRunnerError = mod_d_exports$9.TestRunnerFailed | ChildProcessCrashedError | OutOfMemoryError;
892
1075
  //#endregion
893
1076
  //#region src/pooled-test-runner.handle.d.ts
894
1077
  declare const TypeId: unique symbol;
895
1078
  type TypeId = typeof TypeId;
896
1079
  declare const PooledTestRunner: Handle.Definition<typeof TypeId, {
897
- readonly capabilities: Effect.Effect<mod_d_exports$6$1.TestRunnerCapabilities, PooledTestRunnerError>;
1080
+ readonly capabilities: Effect.Effect<mod_d_exports$9.TestRunnerCapabilities, PooledTestRunnerError>;
898
1081
  readonly init: Effect.Effect<void, PooledTestRunnerError>;
899
- readonly dryRun: (options: mod_d_exports$6$1.DryRunOptions) => Effect.Effect<mod_d_exports$6$1.DryRunResult, PooledTestRunnerError>;
900
- readonly mutantRun: (options: mod_d_exports$3$1.MutantRunOptions) => Effect.Effect<mod_d_exports$6$1.MutantRunResult, PooledTestRunnerError>;
1082
+ readonly dryRun: (options: mod_d_exports$9.DryRunOptions) => Effect.Effect<mod_d_exports$9.DryRunResult, PooledTestRunnerError>;
1083
+ readonly mutantRun: (options: mod_d_exports$2$1.MutantRunOptions) => Effect.Effect<mod_d_exports$9.MutantRunResult, PooledTestRunnerError>;
901
1084
  }, never, never>;
902
1085
  type PooledTestRunner = Handle.Of<typeof PooledTestRunner>;
903
1086
  //#endregion
904
1087
  //#region src/command-runner.blueprint.d.ts
905
- declare const isCommandRunner: (name: mod_d_exports$2$1.TestRunnerConfig) => name is 'command';
1088
+ declare const isCommandRunner: (name: mod_d_exports$5$1.TestRunnerConfig) => name is 'command';
906
1089
  //#endregion
907
1090
  //#region src/TestRunner.blueprint.d.ts
908
1091
  interface ChildProcessTestRunnerParams {
909
- readonly options: mod_d_exports$2$1.StrykerOptions;
910
- readonly fileDescriptions: mod_d_exports$2$2.FileDescriptions;
1092
+ readonly options: mod_d_exports$5$1.StrykerOptions;
1093
+ readonly fileDescriptions: mod_d_exports$2$11.FileDescriptions;
911
1094
  readonly sandboxWorkingDirectory: string;
912
1095
  readonly workerEntrypoint: string;
913
1096
  readonly idGenerator: IdGeneratorShape;
914
1097
  }
915
1098
  interface TestRunnerBuildContext {
916
- readonly options: mod_d_exports$2$1.StrykerOptions;
917
- readonly fileDescriptions: mod_d_exports$2$2.FileDescriptions;
1099
+ readonly options: mod_d_exports$5$1.StrykerOptions;
1100
+ readonly fileDescriptions: mod_d_exports$2$11.FileDescriptions;
918
1101
  readonly sandboxWorkingDirectory: string;
919
1102
  readonly idGenerator: IdGeneratorShape;
920
1103
  readonly retire: Effect.Effect<void>;
@@ -929,98 +1112,436 @@ declare const buildTestRunner: {
929
1112
  //#region src/vm-runner.d.ts
930
1113
  declare const vmRunnerName = "vm";
931
1114
  declare const vmRunnerPluginUrl: () => string;
932
- declare const isVmRunner: (name: mod_d_exports$2$1.TestRunnerConfig) => name is typeof vmRunnerName;
933
- declare const vmTestRunnerConfig: () => mod_d_exports$2$1.TestRunnerCustomConfig;
934
- declare const testRunnerConfigOf: (configured: mod_d_exports$2$1.TestRunnerConfig) => mod_d_exports$2$1.TestRunnerConfig;
935
- declare namespace mod_d_exports$3 {
1115
+ declare const isVmRunner: (name: mod_d_exports$5$1.TestRunnerConfig) => name is typeof vmRunnerName;
1116
+ declare const vmTestRunnerConfig: () => mod_d_exports$5$1.TestRunnerCustomConfig;
1117
+ declare const testRunnerConfigOf: (configured: mod_d_exports$5$1.TestRunnerConfig) => mod_d_exports$5$1.TestRunnerConfig;
1118
+ declare namespace mod_d_exports$4 {
936
1119
  export { AnyPluginDescriptor, AnyWorkerPluginDescriptor, AnyWorkerPluginSource, EvaluatorPluginDescriptor, EvaluatorPluginSource, Framework, Ignorer, LoadedPlugins, Node_2 as Node, PluginDescriptor, PluginDescriptorOf, PluginKind, PluginSource, PooledTestRunner, PooledTestRunnerError, REPORTER_EVENT_BATCH_BOUND, ReporterStage, ReporterWorkerClient, SpawnReporterWorkerParams, TestRunnerBuildContext, WorkerPluginDescriptor, WorkerPluginSource, buildTestRunner, isCommandRunner, isVmRunner, makeChildProcessTestRunner, reporterWorkerFactory, spawnReporterWorker, testRunnerConfigOf, vmRunnerPluginUrl, vmTestRunnerConfig };
937
1120
  }
938
1121
  //#endregion
939
1122
  //#region src/reporting/metrics-from-report.schema.d.ts
940
1123
  declare const MetricsResultFromReport_base: S.Class<MetricsResultFromReport, S.Struct<{
941
1124
  readonly name: S.String;
942
- readonly metrics: typeof mod_d_exports$4$1.Metrics;
943
- readonly childResults: S.$Array<S.suspend<S.Codec<mod_d_exports$4$1.MetricsResult, mod_d_exports$4$1.MetricsResultEncoded, never, never>>>;
944
- }>, mod_d_exports$4$1.MetricsResultEncoded>;
1125
+ readonly metrics: typeof mod_d_exports$7$1.Metrics;
1126
+ readonly childResults: S.$Array<S.suspend<S.Codec<mod_d_exports$7$1.MetricsResult, mod_d_exports$7$1.MetricsResultEncoded, never, never>>>;
1127
+ }>, mod_d_exports$7$1.MetricsResultEncoded>;
945
1128
  declare class MetricsResultFromReport extends MetricsResultFromReport_base {}
946
1129
  //#endregion
947
1130
  //#region src/reporting/metrics-from-report.d.ts
948
- type Files = Readonly<Record<string, mod_d_exports$4$1.FileResult>>;
1131
+ type Files = Readonly<Record<string, mod_d_exports$7$1.FileResult>>;
949
1132
  declare const metricsResultFromFiles: (files: Files) => MetricsResultFromReport;
950
1133
  //#endregion
1134
+ //#region src/reporting/static-verdict.d.ts
1135
+ declare const staticVerdictOf: (results: readonly mod_d_exports$2$1.RunMutantResult[]) => mod_d_exports$1$7.StaticVerdict | null;
1136
+ //#endregion
951
1137
  //#region src/reporting/verdict-envelope.schema.d.ts
952
1138
  declare const VerdictEnvelope_base: S.Class<VerdictEnvelope, S.Struct<{
953
- readonly schemaVersion: S.Literal<"1.1">;
1139
+ readonly schemaVersion: S.Literal<"2.0">;
954
1140
  readonly runId: S.brand<S.String, "RunId">;
955
1141
  readonly mode: S.Literals<readonly ["human", "machine"]>;
956
1142
  readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
957
1143
  readonly score: S.NullOr<S.Finite>;
958
- readonly thresholds: S.declare<{
959
- readonly high: number;
960
- readonly low: number;
961
- readonly break: number | null;
962
- }, {
963
- readonly high: number;
964
- readonly low: number;
965
- readonly break: number | null;
1144
+ readonly thresholds: S.Struct<{
1145
+ readonly high: S.Finite;
1146
+ readonly low: S.Finite;
1147
+ readonly break: S.NullOr<S.Finite>;
966
1148
  }>;
967
- readonly counts: typeof mod_d_exports$4$1.Metrics;
1149
+ readonly counts: typeof mod_d_exports$7$1.Metrics;
968
1150
  readonly reportFile: S.NullOr<S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>>;
969
1151
  readonly mutants: S.$Array<S.Struct<{
970
- readonly id: S.brand<S.String, "MutantId">;
1152
+ readonly id: S.String;
971
1153
  readonly file: S.String;
972
- readonly location: S.declare<{
973
- readonly start: {
974
- readonly line: number;
975
- readonly column: number;
976
- };
977
- readonly end: {
978
- readonly line: number;
979
- readonly column: number;
980
- };
981
- }, {
982
- readonly start: {
983
- readonly line: number;
984
- readonly column: number;
985
- };
986
- readonly end: {
987
- readonly line: number;
988
- readonly column: number;
989
- };
1154
+ readonly location: S.Struct<{
1155
+ readonly start: S.Struct<{
1156
+ readonly line: S.Int;
1157
+ readonly column: S.Int;
1158
+ }>;
1159
+ readonly end: S.Struct<{
1160
+ readonly line: S.Int;
1161
+ readonly column: S.Int;
1162
+ }>;
990
1163
  }>;
991
1164
  readonly mutator: S.String;
992
1165
  readonly replacement: S.NullOr<S.String>;
993
1166
  readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
994
1167
  }>>;
1168
+ readonly scope: S.Literals<readonly ["full", "diff"]>;
1169
+ readonly mutantSetPolicy: S.Literals<readonly ["default", "full"]>;
1170
+ readonly phaseDurations: S.NullOr<S.Struct<{
1171
+ readonly prepare: S.Finite;
1172
+ readonly instrument: S.Finite;
1173
+ readonly 'dry-run': S.Finite;
1174
+ readonly 'mutation-test': S.Finite;
1175
+ }>>;
1176
+ readonly static: S.NullOr<S.Struct<{
1177
+ readonly count: S.Int;
1178
+ readonly costMs: S.Finite;
1179
+ }>>;
995
1180
  }>, {}>;
996
1181
  declare class VerdictEnvelope extends VerdictEnvelope_base {}
997
1182
  //#endregion
998
- //#region src/run-event-wire.schema.d.ts
999
- declare const RunEventWireLine: S.decodeTo<S.fromJsonString<S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, S.Codec<RunMutantTested, {
1000
- readonly _tag: "mutant";
1001
- readonly id: string;
1002
- readonly status: "CompileError" | "Ignored" | "Killed" | "NoCoverage" | "Pending" | "RuntimeError" | "Survived" | "Timeout";
1003
- readonly file: string;
1004
- readonly location: {
1005
- readonly start: {
1006
- readonly line: number;
1007
- readonly column: number;
1008
- };
1009
- readonly end: {
1010
- readonly line: number;
1011
- readonly column: number;
1012
- };
1013
- };
1014
- readonly mutator: string;
1015
- readonly replacement: string | null;
1016
- readonly completed: number;
1017
- readonly total: number;
1018
- }, never, never>, typeof Heartbeat, typeof PluginsReported, typeof FormatRegistryResolved, typeof SkippedReported, typeof VerdictReached, typeof RunFailed, typeof HelpRendered]> & {
1019
- QUEUE_BOUND: number;
1020
- }>, S.String, never, never>;
1021
- type RunEventWireLine = typeof RunEventWireLine.Type;
1022
- declare namespace mod_d_exports$4 {
1023
- export { FormatClaimShadowingRow, FormatRegistryResolved, FormatRegistryRow, FrameworkContributionRow, FrameworkModuleRow, Heartbeat, HelpRendered, MetricsResultFromReport, ModeSignal, OutputMode, PhaseEntered, PlanKnown, PluginLoadFailureReason, PluginsReported, ResolvedMode, ResolvedModeInput, RunEvent, RunEventDrain, RunEventDrainLive, RunEventStream, RunEventWireLine, RunEvents, RunFailed, RunIdentity, RunIdentityShape, RunMutantTested, RunPhase, RunStarted, RunTerminalEvent, SkippedFileRow, SkippedReported, VerdictCounts, VerdictEnvelope, VerdictMutant, VerdictReached, makeRunEventStream, metricsResultFromFiles };
1183
+ //#region src/reporting/verdict-envelope.d.ts
1184
+ declare const buildVerdictEnvelope: {
1185
+ (mode: mod_d_exports$10.OutputMode, signal: mod_d_exports$10.ModeSignal, runId: mod_d_exports$1$7.RunId, basePath: string, pathService: Path.Path, phaseDurations: Option.Option<mod_d_exports$1$7.PhaseDurations>, staticVerdict: mod_d_exports$1$7.StaticVerdict | null): (report: mod_d_exports$7$1.MutationTestResult) => VerdictEnvelope;
1186
+ (report: mod_d_exports$7$1.MutationTestResult, mode: mod_d_exports$10.OutputMode, signal: mod_d_exports$10.ModeSignal, runId: mod_d_exports$1$7.RunId, basePath: string, pathService: Path.Path, phaseDurations: Option.Option<mod_d_exports$1$7.PhaseDurations>, staticVerdict: mod_d_exports$1$7.StaticVerdict | null): VerdictEnvelope;
1187
+ };
1188
+ declare namespace mod_d_exports$5 {
1189
+ export { MetricsResultFromReport, ResolvedMode, ResolvedModeInput, RunEventDrain, RunEventDrainLive, RunEventStream, RunEvents, RunIdentity, RunIdentityShape, VerdictEnvelope, buildVerdictEnvelope, makeRunEventStream, metricsResultFromFiles, staticVerdictOf };
1190
+ }
1191
+ declare namespace msp_framing_schema_d_exports {
1192
+ export { CONTENT_LENGTH_HEADER, FrameAction, FramingAction, FramingBuffer, FramingBytes, FramingReader, FramingStep, HeaderPattern, HeaderlessAction, IncompleteAction, decodeUtf8, emptyFraming, encodeUtf8, frameOf, readFrames };
1193
+ }
1194
+ type HeaderPattern = RegExp;
1195
+ type FramingBytes = Uint8Array;
1196
+ declare const CONTENT_LENGTH_HEADER: HeaderPattern;
1197
+ declare const encodeUtf8: (text: string) => FramingBytes;
1198
+ declare const decodeUtf8: (bytes: FramingBytes) => string;
1199
+ declare const FramingBuffer: S.Struct<{
1200
+ readonly bytes: S.Uint8Array;
1201
+ }>;
1202
+ type FramingBuffer = typeof FramingBuffer.Type;
1203
+ declare const emptyFraming: FramingBuffer;
1204
+ declare const FramingStep: S.Struct<{
1205
+ readonly buffer: S.Struct<{
1206
+ readonly bytes: S.Uint8Array;
1207
+ }>;
1208
+ readonly frames: S.$Array<S.String>;
1209
+ readonly errors: S.$Array<S.String>;
1210
+ }>;
1211
+ type FramingStep = typeof FramingStep.Type;
1212
+ declare const IncompleteAction: S.TaggedStruct<"Incomplete", {
1213
+ readonly rest: S.Uint8Array;
1214
+ }>;
1215
+ declare const FrameAction: S.TaggedStruct<"Frame", {
1216
+ readonly rest: S.Uint8Array;
1217
+ readonly frame: S.String;
1218
+ }>;
1219
+ declare const HeaderlessAction: S.TaggedStruct<"Headerless", {
1220
+ readonly rest: S.Uint8Array;
1221
+ }>;
1222
+ type FramingAction = typeof IncompleteAction.Type | typeof FrameAction.Type | typeof HeaderlessAction.Type;
1223
+ type FramingReader = {
1224
+ (buffer: FramingBuffer, chunk: FramingBytes): FramingStep;
1225
+ (chunk: FramingBytes): (buffer: FramingBuffer) => FramingStep;
1226
+ };
1227
+ declare const readFrames: FramingReader;
1228
+ declare const frameOf: (payload: string) => FramingBytes;
1229
+ declare namespace msp_schema_d_exports {
1230
+ export { ConfigureParams, ConfigureResult, DiscoverParams, DiscoverResult, DiscoveredFile, DiscoveredFiles, DiscoveredMutant, FileRange, JsonRpcErrorObject, JsonRpcErrorResponse, JsonRpcId, JsonRpcRequest, JsonRpcResponse, JsonRpcResultResponse, JsonRpcVersion, MSP_INTERNAL_ERROR, MSP_INVALID_PARAMS, MSP_INVALID_REQUEST, MSP_METHODS, MSP_METHOD_NOT_FOUND, MSP_PARSE_ERROR, MSP_PROTOCOL_VERSION, MSP_SERVER_BUSY, MspEncoder, MspErrorCode, MspLocation, MspMethod, MspMethodTable, MspMutantResult, MspMutantStatus, MspParamDecoder, MspVersion, MutatePatterns, MutationTestParams, MutationTestResult, ReportMutationTestProgress, ServeError, decodeConfigureParams, decodeDiscoverParams, decodeJsonRpcRequest, decodeMutationTestParams, encodeJsonRpcResponse, encodeProgressNotification, restrictPatternsOf };
1231
+ }
1232
+ declare const ServeError_base: S.Class<ServeError, S.TaggedStruct<"ServeError", {
1233
+ readonly reason: S.String;
1234
+ readonly cause: S.optionalKey<S.Unknown>;
1235
+ }>, import("effect/Cause").YieldableError>;
1236
+ declare class ServeError extends ServeError_base {
1237
+ get message(): string;
1238
+ }
1239
+ type MspVersion = string;
1240
+ declare const MSP_PROTOCOL_VERSION: MspVersion;
1241
+ interface MspMethodTable {
1242
+ readonly configure: 'configure';
1243
+ readonly discover: 'discover';
1244
+ readonly mutationTest: 'mutationTest';
1245
+ readonly reportMutationTestProgress: 'reportMutationTestProgress';
1246
+ }
1247
+ declare const MSP_METHODS: MspMethodTable;
1248
+ declare const MspMethod: S.Literals<readonly ["configure", "discover", "mutationTest", "reportMutationTestProgress"]>;
1249
+ type MspMethod = typeof MspMethod.Type;
1250
+ declare const JsonRpcVersion: S.Literal<"2.0">;
1251
+ declare const JsonRpcId: S.Union<readonly [S.String, S.Finite, S.Null]>;
1252
+ type JsonRpcId = typeof JsonRpcId.Type;
1253
+ declare const JsonRpcRequest: S.Struct<{
1254
+ readonly jsonrpc: S.Literal<"2.0">;
1255
+ readonly id: S.optionalKey<S.Union<readonly [S.String, S.Finite, S.Null]>>;
1256
+ readonly method: S.String;
1257
+ readonly params: S.optionalKey<S.Codec<S.Json, S.Json, never, never>>;
1258
+ }>;
1259
+ type JsonRpcRequest = typeof JsonRpcRequest.Type;
1260
+ declare const JsonRpcErrorObject: S.Struct<{
1261
+ readonly code: S.Int;
1262
+ readonly message: S.String;
1263
+ readonly data: S.optionalKey<S.Codec<S.Json, S.Json, never, never>>;
1264
+ }>;
1265
+ type MspErrorCode = number;
1266
+ declare const MSP_PARSE_ERROR: MspErrorCode;
1267
+ declare const MSP_INVALID_REQUEST: MspErrorCode;
1268
+ declare const MSP_METHOD_NOT_FOUND: MspErrorCode;
1269
+ declare const MSP_INVALID_PARAMS: MspErrorCode;
1270
+ declare const MSP_INTERNAL_ERROR: MspErrorCode;
1271
+ declare const MSP_SERVER_BUSY: MspErrorCode;
1272
+ declare const JsonRpcErrorResponse: S.Struct<{
1273
+ readonly jsonrpc: S.Literal<"2.0">;
1274
+ readonly id: S.NullOr<S.Union<readonly [S.String, S.Finite, S.Null]>>;
1275
+ readonly error: S.Struct<{
1276
+ readonly code: S.Int;
1277
+ readonly message: S.String;
1278
+ readonly data: S.optionalKey<S.Codec<S.Json, S.Json, never, never>>;
1279
+ }>;
1280
+ }>;
1281
+ declare const JsonRpcResultResponse: S.Struct<{
1282
+ readonly jsonrpc: S.Literal<"2.0">;
1283
+ readonly id: S.Union<readonly [S.String, S.Finite, S.Null]>;
1284
+ readonly result: S.Unknown;
1285
+ }>;
1286
+ declare const JsonRpcResponse: S.Union<readonly [S.Struct<{
1287
+ readonly jsonrpc: S.Literal<"2.0">;
1288
+ readonly id: S.Union<readonly [S.String, S.Finite, S.Null]>;
1289
+ readonly result: S.Unknown;
1290
+ }>, S.Struct<{
1291
+ readonly jsonrpc: S.Literal<"2.0">;
1292
+ readonly id: S.NullOr<S.Union<readonly [S.String, S.Finite, S.Null]>>;
1293
+ readonly error: S.Struct<{
1294
+ readonly code: S.Int;
1295
+ readonly message: S.String;
1296
+ readonly data: S.optionalKey<S.Codec<S.Json, S.Json, never, never>>;
1297
+ }>;
1298
+ }>]>;
1299
+ type JsonRpcResponse = typeof JsonRpcResponse.Type;
1300
+ type MspLocation = mod_d_exports$7$1.Location;
1301
+ type MspMutantStatus = mod_d_exports$2$1.MutantStatus;
1302
+ type MspMutantResult = mod_d_exports$7$1.MutantResult;
1303
+ declare const FileRange: S.Struct<{
1304
+ readonly path: S.String;
1305
+ readonly range: S.optionalKey<S.StructWithRest<S.Struct<{
1306
+ readonly start: S.StructWithRest<S.Struct<{
1307
+ readonly line: S.Finite;
1308
+ readonly column: S.Finite;
1309
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1310
+ readonly end: S.StructWithRest<S.Struct<{
1311
+ readonly line: S.Finite;
1312
+ readonly column: S.Finite;
1313
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1314
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>>;
1315
+ }>;
1316
+ type FileRange = typeof FileRange.Type;
1317
+ declare const ConfigureParams: S.Struct<{
1318
+ readonly configFilePath: S.optionalKey<S.String>;
1319
+ }>;
1320
+ type ConfigureParams = typeof ConfigureParams.Type;
1321
+ declare const ConfigureResult: S.Struct<{
1322
+ readonly version: S.String;
1323
+ }>;
1324
+ type ConfigureResult = typeof ConfigureResult.Type;
1325
+ declare const DiscoveredMutant: S.Struct<{
1326
+ readonly id: S.String;
1327
+ readonly location: S.StructWithRest<S.Struct<{
1328
+ readonly start: S.StructWithRest<S.Struct<{
1329
+ readonly line: S.Finite;
1330
+ readonly column: S.Finite;
1331
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1332
+ readonly end: S.StructWithRest<S.Struct<{
1333
+ readonly line: S.Finite;
1334
+ readonly column: S.Finite;
1335
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1336
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1337
+ readonly description: S.optionalKey<S.String>;
1338
+ readonly mutatorName: S.String;
1339
+ readonly replacement: S.optionalKey<S.String>;
1340
+ }>;
1341
+ type DiscoveredMutant = typeof DiscoveredMutant.Type;
1342
+ declare const DiscoveredFile: S.Struct<{
1343
+ readonly mutants: S.$Array<S.Struct<{
1344
+ readonly id: S.String;
1345
+ readonly location: S.StructWithRest<S.Struct<{
1346
+ readonly start: S.StructWithRest<S.Struct<{
1347
+ readonly line: S.Finite;
1348
+ readonly column: S.Finite;
1349
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1350
+ readonly end: S.StructWithRest<S.Struct<{
1351
+ readonly line: S.Finite;
1352
+ readonly column: S.Finite;
1353
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1354
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1355
+ readonly description: S.optionalKey<S.String>;
1356
+ readonly mutatorName: S.String;
1357
+ readonly replacement: S.optionalKey<S.String>;
1358
+ }>>;
1359
+ }>;
1360
+ type DiscoveredFile = typeof DiscoveredFile.Type;
1361
+ declare const DiscoveredFiles: S.$Record<S.String, S.Struct<{
1362
+ readonly mutants: S.$Array<S.Struct<{
1363
+ readonly id: S.String;
1364
+ readonly location: S.StructWithRest<S.Struct<{
1365
+ readonly start: S.StructWithRest<S.Struct<{
1366
+ readonly line: S.Finite;
1367
+ readonly column: S.Finite;
1368
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1369
+ readonly end: S.StructWithRest<S.Struct<{
1370
+ readonly line: S.Finite;
1371
+ readonly column: S.Finite;
1372
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1373
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1374
+ readonly description: S.optionalKey<S.String>;
1375
+ readonly mutatorName: S.String;
1376
+ readonly replacement: S.optionalKey<S.String>;
1377
+ }>>;
1378
+ }>>;
1379
+ type DiscoveredFiles = typeof DiscoveredFiles.Type;
1380
+ declare const DiscoverParams: S.Struct<{
1381
+ readonly files: S.optionalKey<S.$Array<S.Struct<{
1382
+ readonly path: S.String;
1383
+ readonly range: S.optionalKey<S.StructWithRest<S.Struct<{
1384
+ readonly start: S.StructWithRest<S.Struct<{
1385
+ readonly line: S.Finite;
1386
+ readonly column: S.Finite;
1387
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1388
+ readonly end: S.StructWithRest<S.Struct<{
1389
+ readonly line: S.Finite;
1390
+ readonly column: S.Finite;
1391
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1392
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>>;
1393
+ }>>>;
1394
+ }>;
1395
+ type DiscoverParams = typeof DiscoverParams.Type;
1396
+ declare const DiscoverResult: S.Struct<{
1397
+ readonly files: S.$Record<S.String, S.Struct<{
1398
+ readonly mutants: S.$Array<S.Struct<{
1399
+ readonly id: S.String;
1400
+ readonly location: S.StructWithRest<S.Struct<{
1401
+ readonly start: S.StructWithRest<S.Struct<{
1402
+ readonly line: S.Finite;
1403
+ readonly column: S.Finite;
1404
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1405
+ readonly end: S.StructWithRest<S.Struct<{
1406
+ readonly line: S.Finite;
1407
+ readonly column: S.Finite;
1408
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1409
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1410
+ readonly description: S.optionalKey<S.String>;
1411
+ readonly mutatorName: S.String;
1412
+ readonly replacement: S.optionalKey<S.String>;
1413
+ }>>;
1414
+ }>>;
1415
+ }>;
1416
+ type DiscoverResult = typeof DiscoverResult.Type;
1417
+ declare const MutationTestParams: S.Struct<{
1418
+ readonly files: S.optionalKey<S.$Array<S.Struct<{
1419
+ readonly path: S.String;
1420
+ readonly range: S.optionalKey<S.StructWithRest<S.Struct<{
1421
+ readonly start: S.StructWithRest<S.Struct<{
1422
+ readonly line: S.Finite;
1423
+ readonly column: S.Finite;
1424
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1425
+ readonly end: S.StructWithRest<S.Struct<{
1426
+ readonly line: S.Finite;
1427
+ readonly column: S.Finite;
1428
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1429
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>>;
1430
+ }>>>;
1431
+ readonly mutants: S.optionalKey<S.$Record<S.String, S.Struct<{
1432
+ readonly mutants: S.$Array<S.Struct<{
1433
+ readonly id: S.String;
1434
+ readonly location: S.StructWithRest<S.Struct<{
1435
+ readonly start: S.StructWithRest<S.Struct<{
1436
+ readonly line: S.Finite;
1437
+ readonly column: S.Finite;
1438
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1439
+ readonly end: S.StructWithRest<S.Struct<{
1440
+ readonly line: S.Finite;
1441
+ readonly column: S.Finite;
1442
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1443
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1444
+ readonly description: S.optionalKey<S.String>;
1445
+ readonly mutatorName: S.String;
1446
+ readonly replacement: S.optionalKey<S.String>;
1447
+ }>>;
1448
+ }>>>;
1449
+ }>;
1450
+ type MutationTestParams = typeof MutationTestParams.Type;
1451
+ declare const MutationTestResult: S.Struct<{
1452
+ readonly files: S.$Record<S.String, S.Struct<{
1453
+ readonly mutants: S.$Array<S.StructWithRest<S.Struct<{
1454
+ readonly coveredBy: S.optionalKey<S.$Array<S.String>>;
1455
+ readonly description: S.optionalKey<S.String>;
1456
+ readonly duration: S.optionalKey<S.Finite>;
1457
+ readonly id: S.String;
1458
+ readonly killedBy: S.optionalKey<S.$Array<S.String>>;
1459
+ readonly location: S.StructWithRest<S.Struct<{
1460
+ readonly start: S.StructWithRest<S.Struct<{
1461
+ readonly line: S.Finite;
1462
+ readonly column: S.Finite;
1463
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1464
+ readonly end: S.StructWithRest<S.Struct<{
1465
+ readonly line: S.Finite;
1466
+ readonly column: S.Finite;
1467
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1468
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1469
+ readonly mutatorName: S.String;
1470
+ readonly replacement: S.optionalKey<S.String>;
1471
+ readonly static: S.optionalKey<S.Boolean>;
1472
+ readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
1473
+ readonly statusReason: S.optionalKey<S.String>;
1474
+ readonly testsCompleted: S.optionalKey<S.Finite>;
1475
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>>;
1476
+ }>>;
1477
+ }>;
1478
+ type MutationTestResult = typeof MutationTestResult.Type;
1479
+ declare const ReportMutationTestProgress: S.Struct<{
1480
+ readonly jsonrpc: S.Literal<"2.0">;
1481
+ readonly method: S.Literal<"reportMutationTestProgress">;
1482
+ readonly params: S.Struct<{
1483
+ readonly files: S.$Record<S.String, S.Struct<{
1484
+ readonly mutants: S.$Array<S.StructWithRest<S.Struct<{
1485
+ readonly coveredBy: S.optionalKey<S.$Array<S.String>>;
1486
+ readonly description: S.optionalKey<S.String>;
1487
+ readonly duration: S.optionalKey<S.Finite>;
1488
+ readonly id: S.String;
1489
+ readonly killedBy: S.optionalKey<S.$Array<S.String>>;
1490
+ readonly location: S.StructWithRest<S.Struct<{
1491
+ readonly start: S.StructWithRest<S.Struct<{
1492
+ readonly line: S.Finite;
1493
+ readonly column: S.Finite;
1494
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1495
+ readonly end: S.StructWithRest<S.Struct<{
1496
+ readonly line: S.Finite;
1497
+ readonly column: S.Finite;
1498
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1499
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>;
1500
+ readonly mutatorName: S.String;
1501
+ readonly replacement: S.optionalKey<S.String>;
1502
+ readonly static: S.optionalKey<S.Boolean>;
1503
+ readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
1504
+ readonly statusReason: S.optionalKey<S.String>;
1505
+ readonly testsCompleted: S.optionalKey<S.Finite>;
1506
+ }>, readonly [S.$Record<S.String, S.Codec<S.Json, S.Json, never, never>>]>>;
1507
+ }>>;
1508
+ }>;
1509
+ }>;
1510
+ type ReportMutationTestProgress = typeof ReportMutationTestProgress.Type;
1511
+ type MspEncoder<A> = (value: A) => Result.Result<string, S.SchemaError>;
1512
+ type MspParamDecoder<A> = (params: S.Json | undefined) => Result.Result<A, S.SchemaError>;
1513
+ declare const encodeJsonRpcResponse: MspEncoder<JsonRpcResponse>;
1514
+ declare const encodeProgressNotification: MspEncoder<ReportMutationTestProgress>;
1515
+ declare const decodeJsonRpcRequest: MspParamDecoder<JsonRpcRequest>;
1516
+ declare const decodeConfigureParams: MspParamDecoder<ConfigureParams>;
1517
+ declare const decodeDiscoverParams: MspParamDecoder<DiscoverParams>;
1518
+ declare const decodeMutationTestParams: MspParamDecoder<MutationTestParams>;
1519
+ type MutatePatterns = ReadonlyArray<string>;
1520
+ /**
1521
+ * The `targetMutatePatterns` this engine takes for a `FileRange` list, or
1522
+ * `undefined` when no restriction was asked for. A trailing slash means a
1523
+ * directory, matching the protocol.
1524
+ *
1525
+ * The positions pass through verbatim. This engine compares a range's `end`
1526
+ * against a mutant location's `end`, and both of those ends are the report
1527
+ * schema's 1-based, exclusive end — the same coordinate space MSP defines for
1528
+ * `Location` — so MSP's start-inclusive, end-exclusive range needs no
1529
+ * arithmetic here. (StrykerJS v10 subtracts one from both columns instead,
1530
+ * because its own mutate ranges are exclusive at the start; copying that would
1531
+ * shift this engine's start by a character.)
1532
+ */
1533
+ declare const restrictPatternsOf: (files: ReadonlyArray<FileRange> | undefined) => MutatePatterns | undefined;
1534
+ //#endregion
1535
+ //#region src/Serve/Serve.cell.d.ts
1536
+ interface ServeRequest {
1537
+ readonly channel: 'stdio' | 'socket';
1538
+ readonly port?: number;
1539
+ readonly address?: string;
1540
+ readonly cliOptions?: mod_d_exports$5$1.PartialStrykerOptions;
1541
+ }
1542
+ declare const serveMutationServer: (invocation: ServeRequest) => Effect.Effect<void, ServeError, EnginePorts | Scope.Scope>;
1543
+ declare namespace mod_d_exports$6 {
1544
+ export { msp_framing_schema_d_exports as Framing, msp_schema_d_exports as Protocol, ServeError, ServeRequest, serveMutationServer };
1024
1545
  }
1025
1546
  //#endregion
1026
1547
  //#region src/classify-worker-exit.workflow.d.ts
@@ -1054,7 +1575,7 @@ declare const classifyWorkerExit: Workflow.MadeWorkflow<typeof ClassifyWorkerExi
1054
1575
  //#region src/worker-client.blueprint.d.ts
1055
1576
  interface WorkerClientParams<Rpcs extends Rpc.Any> {
1056
1577
  readonly rpcs: RpcGroup.RpcGroup<Rpcs>;
1057
- readonly options: mod_d_exports$2$1.StrykerOptions;
1578
+ readonly options: mod_d_exports$5$1.StrykerOptions;
1058
1579
  readonly entrypoint: string;
1059
1580
  readonly workingDirectory: string;
1060
1581
  readonly execArgv: readonly string[];
@@ -1065,8 +1586,8 @@ declare const makeWorkerClient: <Rpcs extends Rpc.Any>(params: WorkerClientParam
1065
1586
  //#endregion
1066
1587
  //#region src/worker-protocol.blueprint.d.ts
1067
1588
  declare const layerWorkerProtocol: (socket: Layer.Layer<Socket.Socket, Socket.SocketError>) => Layer.Layer<RpcClient.Protocol, Socket.SocketError>;
1068
- declare namespace mod_d_exports$5 {
1589
+ declare namespace mod_d_exports$7 {
1069
1590
  export { ChildProcessCrashedError, ClassifyWorkerExitCommand, ClassifyWorkerExitDecision, OutOfMemoryError, SpawnedSocketWorker, WorkerBootError, WorkerBootTimeoutError, WorkerClientParams, WorkerExit, WorkerLauncher, WorkerLauncherShape, WorkerSpawnParams, classifyWorkerExit, layerWorkerProtocol, make as makeSpawnedSocketWorker, makeWorkerClient };
1070
1591
  }
1071
1592
  //#endregion
1072
- export { mod_d_exports as Checker, mod_d_exports$1 as Configuration, mod_d_exports$2 as Engine, mod_d_exports$3 as Plugin, mod_d_exports$4 as RunEvent, mod_d_exports$5 as Worker };
1593
+ export { mod_d_exports as Checker, mod_d_exports$1 as Configuration, mod_d_exports$2 as Engine, git_diff_service_d_exports as GitDiff, git_diff_schema_d_exports as GitDiffSchema, import_closure_cell_d_exports as ImportClosure, mod_d_exports$3 as Mcp, mod_d_exports$4 as Plugin, mod_d_exports$5 as RunEvent, mod_d_exports$6 as Serve, mod_d_exports$7 as Worker };