@vitest-agent/sdk 7.0.4 → 7.0.5

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.
Files changed (72) hide show
  1. package/dispatch.d.ts +0 -6
  2. package/errors/AgentErrors.js +1 -2
  3. package/errors/DataStoreError.js +1 -2
  4. package/errors/DiscoveryError.js +1 -2
  5. package/errors/PathResolutionError.js +1 -2
  6. package/errors/ProjectIdentityError.js +1 -2
  7. package/errors/RunContextError.js +1 -2
  8. package/errors/TddErrors.js +1 -2
  9. package/exit-code-for-tag.js +1 -2
  10. package/index.d.ts +0 -136
  11. package/internal-inject-env.js +1 -2
  12. package/package.json +2 -2
  13. package/schemas/5.0/run.json +75 -135
  14. package/schemas/Agent.js +1 -2
  15. package/schemas/AgentReport.js +1 -2
  16. package/schemas/Baselines.js +1 -2
  17. package/schemas/CacheManifest.js +1 -2
  18. package/schemas/ChannelEvent.js +1 -2
  19. package/schemas/Common.js +1 -2
  20. package/schemas/Config.js +1 -2
  21. package/schemas/ConsoleLeaks.js +1 -2
  22. package/schemas/Coverage.js +1 -2
  23. package/schemas/CoverageLevel.js +1 -2
  24. package/schemas/CoverageTargets.js +1 -2
  25. package/schemas/History.js +1 -2
  26. package/schemas/Identity.js +1 -2
  27. package/schemas/Options.js +1 -2
  28. package/schemas/RenderState.js +1 -2
  29. package/schemas/RunEvent.js +1 -2
  30. package/schemas/RunReportFile.js +1 -2
  31. package/schemas/StrayOutput.js +1 -2
  32. package/schemas/Tdd.js +1 -2
  33. package/schemas/TestArtifacts.js +1 -2
  34. package/schemas/Thresholds.js +1 -2
  35. package/schemas/Transport.js +1 -2
  36. package/schemas/Trends.js +1 -2
  37. package/schemas/turns/FileEditPayload.js +1 -2
  38. package/schemas/turns/HookFirePayload.js +1 -2
  39. package/schemas/turns/HypothesisPayload.js +1 -2
  40. package/schemas/turns/NotePayload.js +1 -2
  41. package/schemas/turns/ToolCallPayload.js +1 -2
  42. package/schemas/turns/ToolResultPayload.js +1 -2
  43. package/schemas/turns/UserPromptPayload.js +1 -2
  44. package/schemas/turns/index.js +1 -2
  45. package/sidecar-dispatch.js +1 -2
  46. package/utils/ansi.js +1 -2
  47. package/utils/build-report.js +1 -2
  48. package/utils/canonicalize-git-url.js +1 -2
  49. package/utils/classify-test.js +1 -2
  50. package/utils/coerce-error-text.js +1 -2
  51. package/utils/compress-lines.js +1 -2
  52. package/utils/compute-trend.js +1 -2
  53. package/utils/console-leaks.js +1 -2
  54. package/utils/detect-non-default-discover-strategy.js +1 -2
  55. package/utils/detect-pm.js +1 -2
  56. package/utils/detect-timeout.js +1 -2
  57. package/utils/format-console.js +1 -2
  58. package/utils/format-fatal-error.js +1 -2
  59. package/utils/format-gfm.js +1 -2
  60. package/utils/format-scoped-coverage-note.js +1 -2
  61. package/utils/function-boundary.js +1 -2
  62. package/utils/hyperlink.js +1 -2
  63. package/utils/match-vitest-command.js +1 -2
  64. package/utils/normalize-workspace-key.js +1 -2
  65. package/utils/posix-path.js +1 -2
  66. package/utils/probe-host-metadata.js +1 -2
  67. package/utils/safe-filename.js +1 -2
  68. package/utils/stray-output.js +1 -2
  69. package/utils/test-location.js +1 -2
  70. package/utils/validate-coverage-targets-shape.js +1 -2
  71. package/utils/validate-phase-transition.js +1 -2
  72. package/version.js +2 -3
@@ -73,15 +73,11 @@
73
73
  "modules": {
74
74
  "anyOf": [
75
75
  {
76
- "anyOf": [
77
- {
78
- "type": "number"
79
- },
80
- {
81
- "type": "string",
82
- "enum": ["Infinity", "-Infinity", "NaN"]
83
- }
84
- ]
76
+ "type": "number"
77
+ },
78
+ {
79
+ "type": "string",
80
+ "enum": ["Infinity", "-Infinity", "NaN"]
85
81
  },
86
82
  {
87
83
  "type": "null"
@@ -165,15 +161,11 @@
165
161
  "duration": {
166
162
  "anyOf": [
167
163
  {
168
- "anyOf": [
169
- {
170
- "type": "number"
171
- },
172
- {
173
- "type": "string",
174
- "enum": ["Infinity", "-Infinity", "NaN"]
175
- }
176
- ]
164
+ "type": "number"
165
+ },
166
+ {
167
+ "type": "string",
168
+ "enum": ["Infinity", "-Infinity", "NaN"]
177
169
  },
178
170
  {
179
171
  "type": "null"
@@ -239,15 +231,11 @@
239
231
  "duration": {
240
232
  "anyOf": [
241
233
  {
242
- "anyOf": [
243
- {
244
- "type": "number"
245
- },
246
- {
247
- "type": "string",
248
- "enum": ["Infinity", "-Infinity", "NaN"]
249
- }
250
- ]
234
+ "type": "number"
235
+ },
236
+ {
237
+ "type": "string",
238
+ "enum": ["Infinity", "-Infinity", "NaN"]
251
239
  },
252
240
  {
253
241
  "type": "null"
@@ -334,15 +322,11 @@
334
322
  "lines": {
335
323
  "anyOf": [
336
324
  {
337
- "anyOf": [
338
- {
339
- "type": "number"
340
- },
341
- {
342
- "type": "string",
343
- "enum": ["Infinity", "-Infinity", "NaN"]
344
- }
345
- ]
325
+ "type": "number"
326
+ },
327
+ {
328
+ "type": "string",
329
+ "enum": ["Infinity", "-Infinity", "NaN"]
346
330
  },
347
331
  {
348
332
  "type": "null"
@@ -352,15 +336,11 @@
352
336
  "functions": {
353
337
  "anyOf": [
354
338
  {
355
- "anyOf": [
356
- {
357
- "type": "number"
358
- },
359
- {
360
- "type": "string",
361
- "enum": ["Infinity", "-Infinity", "NaN"]
362
- }
363
- ]
339
+ "type": "number"
340
+ },
341
+ {
342
+ "type": "string",
343
+ "enum": ["Infinity", "-Infinity", "NaN"]
364
344
  },
365
345
  {
366
346
  "type": "null"
@@ -370,15 +350,11 @@
370
350
  "branches": {
371
351
  "anyOf": [
372
352
  {
373
- "anyOf": [
374
- {
375
- "type": "number"
376
- },
377
- {
378
- "type": "string",
379
- "enum": ["Infinity", "-Infinity", "NaN"]
380
- }
381
- ]
353
+ "type": "number"
354
+ },
355
+ {
356
+ "type": "string",
357
+ "enum": ["Infinity", "-Infinity", "NaN"]
382
358
  },
383
359
  {
384
360
  "type": "null"
@@ -388,15 +364,11 @@
388
364
  "statements": {
389
365
  "anyOf": [
390
366
  {
391
- "anyOf": [
392
- {
393
- "type": "number"
394
- },
395
- {
396
- "type": "string",
397
- "enum": ["Infinity", "-Infinity", "NaN"]
398
- }
399
- ]
367
+ "type": "number"
368
+ },
369
+ {
370
+ "type": "string",
371
+ "enum": ["Infinity", "-Infinity", "NaN"]
400
372
  },
401
373
  {
402
374
  "type": "null"
@@ -422,15 +394,11 @@
422
394
  "lines": {
423
395
  "anyOf": [
424
396
  {
425
- "anyOf": [
426
- {
427
- "type": "number"
428
- },
429
- {
430
- "type": "string",
431
- "enum": ["Infinity", "-Infinity", "NaN"]
432
- }
433
- ]
397
+ "type": "number"
398
+ },
399
+ {
400
+ "type": "string",
401
+ "enum": ["Infinity", "-Infinity", "NaN"]
434
402
  },
435
403
  {
436
404
  "type": "null"
@@ -440,15 +408,11 @@
440
408
  "functions": {
441
409
  "anyOf": [
442
410
  {
443
- "anyOf": [
444
- {
445
- "type": "number"
446
- },
447
- {
448
- "type": "string",
449
- "enum": ["Infinity", "-Infinity", "NaN"]
450
- }
451
- ]
411
+ "type": "number"
412
+ },
413
+ {
414
+ "type": "string",
415
+ "enum": ["Infinity", "-Infinity", "NaN"]
452
416
  },
453
417
  {
454
418
  "type": "null"
@@ -458,15 +422,11 @@
458
422
  "branches": {
459
423
  "anyOf": [
460
424
  {
461
- "anyOf": [
462
- {
463
- "type": "number"
464
- },
465
- {
466
- "type": "string",
467
- "enum": ["Infinity", "-Infinity", "NaN"]
468
- }
469
- ]
425
+ "type": "number"
426
+ },
427
+ {
428
+ "type": "string",
429
+ "enum": ["Infinity", "-Infinity", "NaN"]
470
430
  },
471
431
  {
472
432
  "type": "null"
@@ -476,15 +436,11 @@
476
436
  "statements": {
477
437
  "anyOf": [
478
438
  {
479
- "anyOf": [
480
- {
481
- "type": "number"
482
- },
483
- {
484
- "type": "string",
485
- "enum": ["Infinity", "-Infinity", "NaN"]
486
- }
487
- ]
439
+ "type": "number"
440
+ },
441
+ {
442
+ "type": "string",
443
+ "enum": ["Infinity", "-Infinity", "NaN"]
488
444
  },
489
445
  {
490
446
  "type": "null"
@@ -629,15 +585,11 @@
629
585
  "totalFiles": {
630
586
  "anyOf": [
631
587
  {
632
- "anyOf": [
633
- {
634
- "type": "number"
635
- },
636
- {
637
- "type": "string",
638
- "enum": ["Infinity", "-Infinity", "NaN"]
639
- }
640
- ]
588
+ "type": "number"
589
+ },
590
+ {
591
+ "type": "string",
592
+ "enum": ["Infinity", "-Infinity", "NaN"]
641
593
  },
642
594
  {
643
595
  "type": "null"
@@ -705,15 +657,11 @@
705
657
  "passed": {
706
658
  "anyOf": [
707
659
  {
708
- "anyOf": [
709
- {
710
- "type": "number"
711
- },
712
- {
713
- "type": "string",
714
- "enum": ["Infinity", "-Infinity", "NaN"]
715
- }
716
- ]
660
+ "type": "number"
661
+ },
662
+ {
663
+ "type": "string",
664
+ "enum": ["Infinity", "-Infinity", "NaN"]
717
665
  },
718
666
  {
719
667
  "type": "null"
@@ -723,15 +671,11 @@
723
671
  "failed": {
724
672
  "anyOf": [
725
673
  {
726
- "anyOf": [
727
- {
728
- "type": "number"
729
- },
730
- {
731
- "type": "string",
732
- "enum": ["Infinity", "-Infinity", "NaN"]
733
- }
734
- ]
674
+ "type": "number"
675
+ },
676
+ {
677
+ "type": "string",
678
+ "enum": ["Infinity", "-Infinity", "NaN"]
735
679
  },
736
680
  {
737
681
  "type": "null"
@@ -741,15 +685,11 @@
741
685
  "skipped": {
742
686
  "anyOf": [
743
687
  {
744
- "anyOf": [
745
- {
746
- "type": "number"
747
- },
748
- {
749
- "type": "string",
750
- "enum": ["Infinity", "-Infinity", "NaN"]
751
- }
752
- ]
688
+ "type": "number"
689
+ },
690
+ {
691
+ "type": "string",
692
+ "enum": ["Infinity", "-Infinity", "NaN"]
753
693
  },
754
694
  {
755
695
  "type": "null"
package/schemas/Agent.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { AgentId, ConversationId } from "./Identity.js";
2
2
  import { Data, Schema } from "effect";
3
3
 
4
- //#region src/schemas/Agent.ts
4
+ // src/schemas/Agent.ts
5
5
  /**
6
6
  * Successful registration row. The fields mirror the `agents` SQLite
7
7
  * table 1:1 in camelCase.
@@ -38,5 +38,4 @@ var Agent = class extends Schema.TaggedClass()("Agent", {
38
38
  */
39
39
  var IdempotencyHit = class extends Data.TaggedClass("IdempotencyHit") {};
40
40
 
41
- //#endregion
42
41
  export { Agent, IdempotencyHit };
@@ -4,7 +4,7 @@ import { CoverageReport } from "./Coverage.js";
4
4
  import { StrayOutput } from "./StrayOutput.js";
5
5
  import { Schema } from "effect";
6
6
 
7
- //#region src/schemas/AgentReport.ts
7
+ // src/schemas/AgentReport.ts
8
8
  /**
9
9
  * Aggregate test run statistics.
10
10
  * @public
@@ -76,5 +76,4 @@ const AgentReport = Schema.Struct({
76
76
  strayOutput: Schema.optional(StrayOutput)
77
77
  }).annotate({ identifier: "AgentReport" });
78
78
 
79
- //#endregion
80
79
  export { AgentReport, ModuleReport, ReportSummary, TagCountEntry, TestReport };
@@ -1,7 +1,7 @@
1
1
  import { MetricThresholds, PatternThresholds } from "./Thresholds.js";
2
2
  import { Effect, Schema } from "effect";
3
3
 
4
- //#region src/schemas/Baselines.ts
4
+ // src/schemas/Baselines.ts
5
5
  /**
6
6
  * Coverage baselines -- the auto-ratcheting high-water mark.
7
7
  * @public
@@ -12,5 +12,4 @@ const CoverageBaselines = Schema.Struct({
12
12
  patterns: Schema.Array(PatternThresholds).pipe(Schema.withDecodingDefaultKey(Effect.succeed([])))
13
13
  }).annotate({ identifier: "CoverageBaselines" });
14
14
 
15
- //#endregion
16
15
  export { CoverageBaselines };
@@ -1,7 +1,7 @@
1
1
  import { TestRunReason } from "./Common.js";
2
2
  import { Schema } from "effect";
3
3
 
4
- //#region src/schemas/CacheManifest.ts
4
+ // src/schemas/CacheManifest.ts
5
5
  /**
6
6
  * A single project entry in the cache manifest.
7
7
  * @public
@@ -23,5 +23,4 @@ const CacheManifest = Schema.Struct({
23
23
  projects: Schema.Array(CacheManifestEntry)
24
24
  }).annotate({ identifier: "CacheManifest" });
25
25
 
26
- //#endregion
27
26
  export { CacheManifest, CacheManifestEntry };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/schemas/ChannelEvent.ts
3
+ // src/schemas/ChannelEvent.ts
4
4
  /** @public */
5
5
  const SessionOutcome = Schema.Literals([
6
6
  "succeeded",
@@ -151,5 +151,4 @@ const BehaviorScopedEventTypes = [
151
151
  "blocked"
152
152
  ];
153
153
 
154
- //#endregion
155
154
  export { BehaviorAbandonedEvent, BehaviorAddedEvent, BehaviorCompletedEvent, BehaviorScopedEventTypes, BehaviorStartedEvent, BehaviorsReadyEvent, BlockedEvent, ChannelEvent, GoalAbandonedEvent, GoalAddedEvent, GoalCompletedEvent, GoalStartedEvent, GoalsReadyEvent, PhaseTransitionEvent, SessionCompleteEvent, SessionOutcome };
package/schemas/Common.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/schemas/Common.ts
3
+ // src/schemas/Common.ts
4
4
  /**
5
5
  * Possible states for an individual test case.
6
6
  * @public
@@ -145,5 +145,4 @@ const ReportError = Schema.Struct({
145
145
  received: Schema.optional(Schema.String)
146
146
  }).annotate({ identifier: "ReportError" });
147
147
 
148
- //#endregion
149
148
  export { AgentConsoleMode, CiConsoleMode, ConsoleMode, ConsoleOutputMode, DetailLevel, Environment, Executor, HumanConsoleMode, PackageManager, ReportError, TestClassification, TestRunReason, TestState };
package/schemas/Config.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/schemas/Config.ts
3
+ // src/schemas/Config.ts
4
4
  /**
5
5
  * Schema for the optional `vitest-agent.config.toml` file.
6
6
  *
@@ -24,5 +24,4 @@ var VitestAgentConfig = class extends Schema.Class("VitestAgentConfig")({
24
24
  projectKey: Schema.optional(Schema.String)
25
25
  }) {};
26
26
 
27
- //#endregion
28
27
  export { VitestAgentConfig };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/schemas/ConsoleLeaks.ts
3
+ // src/schemas/ConsoleLeaks.ts
4
4
  /**
5
5
  * Per-file stray-console-output detail. Counts are of console writes
6
6
  * (one `console.*` call), not lines.
@@ -41,5 +41,4 @@ const ConsoleLeaks = Schema.Struct({
41
41
  fromFailingTests: Schema.optional(ConsoleLeaksFromFailingTests)
42
42
  }).annotate({ identifier: "ConsoleLeaks" });
43
43
 
44
- //#endregion
45
44
  export { ConsoleLeakFile, ConsoleLeaks, ConsoleLeaksFromFailingTests };
@@ -1,7 +1,7 @@
1
1
  import { MetricThresholds, PatternThresholds } from "./Thresholds.js";
2
2
  import { Effect, Schema } from "effect";
3
3
 
4
- //#region src/schemas/Coverage.ts
4
+ // src/schemas/Coverage.ts
5
5
  /**
6
6
  * Aggregate coverage percentages across four istanbul metrics.
7
7
  * @public
@@ -66,5 +66,4 @@ const CoverageReport = Schema.Struct({
66
66
  globShortfalls: Schema.optional(Schema.Array(GlobShortfall))
67
67
  }).annotate({ identifier: "CoverageReport" });
68
68
 
69
- //#endregion
70
69
  export { CoverageReport, CoverageTotals, FileCoverageReport, GlobShortfall };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/schemas/CoverageLevel.ts
3
+ // src/schemas/CoverageLevel.ts
4
4
  /**
5
5
  * A coverage level configuration with per-metric thresholds and an optional
6
6
  * perFile flag. Extend this class to define custom named presets.
@@ -113,5 +113,4 @@ function validateCoverageConfig(thresholds, targets) {
113
113
  if (targets.perFile === true && thresholds.perFile !== true) throw new Error("[vitest-agent] coverageTargets sets perFile: true but coverageThresholds does not. Both must agree on perFile.");
114
114
  }
115
115
 
116
- //#endregion
117
116
  export { CoverageLevel, resolveCoverageInput, validateCoverageConfig };
@@ -1,7 +1,7 @@
1
1
  import { PerFileThresholds } from "./Thresholds.js";
2
2
  import { Schema } from "effect";
3
3
 
4
- //#region src/schemas/CoverageTargets.ts
4
+ // src/schemas/CoverageTargets.ts
5
5
  /**
6
6
  * A strictly-positive coverage percentage. Negatives and zeros are rejected
7
7
  * at decode time.
@@ -46,5 +46,4 @@ const CoverageTargets = Schema.Record(Schema.String, Schema.Union([
46
46
  for (const [key, value] of Object.entries(targets)) if (value === true && key !== "100") return `coverageTargets.${key} cannot be true. The "true" shorthand is only valid at key "100" (meaning 100% across all metrics).`;
47
47
  })).annotate({ identifier: "CoverageTargets" });
48
48
 
49
- //#endregion
50
49
  export { CoverageTargets, CoverageTargetsMetrics };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/schemas/History.ts
3
+ // src/schemas/History.ts
4
4
  /**
5
5
  * A single test run outcome (pass or fail only).
6
6
  * @public
@@ -28,5 +28,4 @@ const HistoryRecord = Schema.Struct({
28
28
  tests: Schema.Array(TestHistory)
29
29
  }).annotate({ identifier: "HistoryRecord" });
30
30
 
31
- //#endregion
32
31
  export { HistoryRecord, TestHistory, TestRun };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/schemas/Identity.ts
3
+ // src/schemas/Identity.ts
4
4
  /**
5
5
  * Canonical UUID for an LLM agent invocation. Generated server-side at
6
6
  * `register_agent` time. Stable across transport reconnects within an
@@ -72,5 +72,4 @@ const HostKind = Schema.Literals([
72
72
  "unknown"
73
73
  ]).annotate({ identifier: "HostKind" });
74
74
 
75
- //#endregion
76
75
  export { ActorType, AgentId, ChatId, ConversationId, HostKind, ProjectKey, TddTaskId };
@@ -3,7 +3,7 @@ import { CoverageTargets } from "./CoverageTargets.js";
3
3
  import { Transport } from "./Transport.js";
4
4
  import { Schema } from "effect";
5
5
 
6
- //#region src/schemas/Options.ts
6
+ // src/schemas/Options.ts
7
7
  /**
8
8
  * Per-executor console-output matrix. Most users never set this — the
9
9
  * built-in defaults cover the common cases. Override per slot when you
@@ -69,5 +69,4 @@ const AgentReporterOptions = Schema.Struct({
69
69
  /** Set by the plugin per-project. Filters reports to one project. */
70
70
  projectFilter: Schema.optional(Schema.String) }).annotate({ identifier: "AgentReporterOptions" });
71
71
 
72
- //#endregion
73
72
  export { AgentPluginOptions, AgentReporterOptions, ConsoleOutputs, ReportOption, ReportSettings };
@@ -5,7 +5,7 @@ import { StrayOutput } from "./StrayOutput.js";
5
5
  import { ActionSeverity, CoverageGap, CoverageMetric } from "./RunEvent.js";
6
6
  import { Schema } from "effect";
7
7
 
8
- //#region src/schemas/RenderState.ts
8
+ // src/schemas/RenderState.ts
9
9
  /**
10
10
  * Per-test record accumulated as `TestStarted` / `TestFinished` events arrive.
11
11
  * @public
@@ -193,5 +193,4 @@ const initialRenderState = {
193
193
  unhandledErrors: []
194
194
  };
195
195
 
196
- //#endregion
197
196
  export { CoverageRenderState, FailureRecord, ModuleRecord, RenderState, RenderTotals, SuggestedActionRecord, TestRecord, initialRenderState };
@@ -5,7 +5,7 @@ import { StrayOutput } from "./StrayOutput.js";
5
5
  import { TestArtifactLocation, TestAttachment } from "./TestArtifacts.js";
6
6
  import { Schema } from "effect";
7
7
 
8
- //#region src/schemas/RunEvent.ts
8
+ // src/schemas/RunEvent.ts
9
9
  /**
10
10
  * Coverage metric whose threshold can be violated independently.
11
11
  * @public
@@ -230,5 +230,4 @@ const RunEvent = Schema.Union([
230
230
  })
231
231
  ]).annotate({ identifier: "RunEvent" });
232
232
 
233
- //#endregion
234
233
  export { ActionSeverity, ConsoleLogLevel, FileCoverageReport as CoverageFile, CoverageGap, CoverageMetric, HookStatus, HookType, RunEvent };
@@ -1,7 +1,7 @@
1
1
  import { AgentReport } from "./AgentReport.js";
2
2
  import { Schema } from "effect";
3
3
 
4
- //#region src/schemas/RunReportFile.ts
4
+ // src/schemas/RunReportFile.ts
5
5
  /**
6
6
  * The `.vitest/vitest-agent/run.json` file contract.
7
7
  *
@@ -53,5 +53,4 @@ const RunReportFile = Schema.Struct({
53
53
  description: "The vitest-agent run report file (.vitest/vitest-agent/run.json): one AgentReport per Vitest project from the most recent run. Read reports[].summary for pass/fail counts and reports[].failed for the failing modules and their tests. schemaVersion is the envelope contract version; generatedAt is when the run finished."
54
54
  });
55
55
 
56
- //#endregion
57
56
  export { RUN_REPORT_FILE_SCHEMA_URL, RunReportFile };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/schemas/StrayOutput.ts
3
+ // src/schemas/StrayOutput.ts
4
4
  /**
5
5
  * One line of stray output, kept as a sample: the stream it was written to,
6
6
  * and its text with escapes stripped, cut to a sane length.
@@ -34,5 +34,4 @@ const StrayOutput = Schema.Struct({
34
34
  samples: Schema.Array(StrayOutputSample)
35
35
  }).annotate({ identifier: "StrayOutput" });
36
36
 
37
- //#endregion
38
37
  export { StrayOutput, StrayOutputSample };
package/schemas/Tdd.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/schemas/Tdd.ts
3
+ // src/schemas/Tdd.ts
4
4
  /** @public */
5
5
  const GoalStatus = Schema.Literals([
6
6
  "pending",
@@ -50,5 +50,4 @@ const BehaviorDetail = Schema.Struct({
50
50
  dependencies: Schema.Array(BehaviorRow)
51
51
  }).annotate({ identifier: "BehaviorDetail" });
52
52
 
53
- //#endregion
54
53
  export { BehaviorDetail, BehaviorRow, BehaviorStatus, GoalDetail, GoalRow, GoalStatus };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/schemas/TestArtifacts.ts
3
+ // src/schemas/TestArtifacts.ts
4
4
  /**
5
5
  * Schemas for Vitest 5 test annotations and test artifacts.
6
6
  *
@@ -70,5 +70,4 @@ const TestArtifact = Schema.Struct({
70
70
  attachments: Schema.Array(TestAttachment)
71
71
  }).annotate({ identifier: "TestArtifact" });
72
72
 
73
- //#endregion
74
73
  export { TestAnnotation, TestArtifact, TestArtifactLocation, TestAttachment };
@@ -1,6 +1,6 @@
1
1
  import { Effect, Schema } from "effect";
2
2
 
3
- //#region src/schemas/Thresholds.ts
3
+ // src/schemas/Thresholds.ts
4
4
  /**
5
5
  * Per-metric threshold values. All optional -- only set metrics are enforced.
6
6
  * @public
@@ -46,5 +46,4 @@ const ResolvedThresholds = Schema.Struct({
46
46
  patterns: Schema.Array(PatternThresholds).pipe(Schema.withDecodingDefaultKey(Effect.succeed([])))
47
47
  }).annotate({ identifier: "ResolvedThresholds" });
48
48
 
49
- //#endregion
50
49
  export { MetricThresholds, PatternMetricThresholds, PatternThresholds, PerFileThresholds, ResolvedThresholds };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/schemas/Transport.ts
3
+ // src/schemas/Transport.ts
4
4
  /**
5
5
  * Transport binding for the persistence layer.
6
6
  *
@@ -12,5 +12,4 @@ import { Schema } from "effect";
12
12
  */
13
13
  const Transport = Schema.Union([Schema.Struct({ kind: Schema.Literal("local") })]).annotate({ identifier: "Transport" });
14
14
 
15
- //#endregion
16
15
  export { Transport };
package/schemas/Trends.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { CoverageTotals } from "./Coverage.js";
2
2
  import { Schema } from "effect";
3
3
 
4
- //#region src/schemas/Trends.ts
4
+ // src/schemas/Trends.ts
5
5
  /**
6
6
  * A single coverage trend data point recorded on a full test run.
7
7
  * @public
@@ -23,5 +23,4 @@ const TrendEntry = Schema.Struct({
23
23
  */
24
24
  const TrendRecord = Schema.Struct({ entries: Schema.Array(TrendEntry) }).annotate({ identifier: "TrendRecord" });
25
25
 
26
- //#endregion
27
26
  export { TrendEntry, TrendRecord };