@vitest-agent/sdk 1.3.4 → 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.
Files changed (58) hide show
  1. package/errors/DataStoreError.js +22 -13
  2. package/index.d.ts +1032 -1101
  3. package/index.js +3 -3
  4. package/layers/ConfigLive.js +8 -9
  5. package/layers/DataReaderLive.js +2 -2
  6. package/layers/DataStoreLive.js +2 -2
  7. package/layers/DiscoveryRegistryLive.js +1 -1
  8. package/layers/LoggerLive.js +24 -24
  9. package/layers/PathResolutionLive.js +18 -17
  10. package/layers/PerClientSessionMapLive.js +1 -1
  11. package/layers/ProjectDiscoveryLive.js +1 -2
  12. package/layers/ProjectIdentityLive.js +16 -12
  13. package/layers/RunContextLive.js +20 -20
  14. package/migrations/0001_initial.js +1 -1
  15. package/migrations/registry_0001_initial.js +1 -1
  16. package/migrations/session_map_0001_initial.js +1 -1
  17. package/package.json +18 -18
  18. package/schemas/AgentReport.js +6 -9
  19. package/schemas/Baselines.js +3 -3
  20. package/schemas/CacheManifest.js +2 -2
  21. package/schemas/ChannelEvent.js +30 -3
  22. package/schemas/Common.js +76 -14
  23. package/schemas/ConsoleLeaks.js +2 -2
  24. package/schemas/Coverage.js +8 -8
  25. package/schemas/CoverageTargets.js +16 -10
  26. package/schemas/History.js +4 -4
  27. package/schemas/Identity.js +19 -7
  28. package/schemas/Options.js +3 -3
  29. package/schemas/RenderState.js +26 -19
  30. package/schemas/RunEvent.js +154 -115
  31. package/schemas/Tdd.js +16 -6
  32. package/schemas/Thresholds.js +6 -6
  33. package/schemas/Transport.js +1 -1
  34. package/schemas/Trends.js +7 -3
  35. package/schemas/turns/FileEditPayload.js +5 -1
  36. package/schemas/turns/HookFirePayload.js +15 -1
  37. package/schemas/turns/index.js +9 -1
  38. package/services/Config.js +3 -3
  39. package/services/DataReader.js +1 -1
  40. package/services/DataStore.js +1 -1
  41. package/services/DetailResolver.js +1 -1
  42. package/services/DiscoveryRegistry.js +1 -1
  43. package/services/EnvironmentDetector.js +1 -1
  44. package/services/ExecutorResolver.js +1 -1
  45. package/services/FormatSelector.js +1 -1
  46. package/services/HistoryTracker.js +1 -1
  47. package/services/OutputRenderer.js +1 -1
  48. package/services/PerClientSessionMap.js +2 -2
  49. package/services/ProjectDiscovery.js +1 -1
  50. package/services/ProjectIdentity.js +1 -1
  51. package/services/RunContext.js +1 -1
  52. package/testing/layers.js +2 -2
  53. package/testing.d.ts +312 -332
  54. package/tsdoc-metadata.json +1 -1
  55. package/utils/build-report.js +16 -1
  56. package/utils/ensure-migrated.js +3 -3
  57. package/utils/resolve-data-path.js +3 -3
  58. package/utils/resolve-workspace-key.js +11 -6
package/testing.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Context, Effect, Layer, Option, Schema } from "effect";
2
- import * as NodeContext from "@effect/platform-node/NodeContext";
2
+ import * as NodeServices from "@effect/platform-node/NodeServices";
3
3
  import * as SqliteMigrator from "@effect/sql-sqlite-node/SqliteMigrator";
4
4
  //#region src/schemas/Identity.d.ts
5
5
  /**
@@ -8,7 +8,7 @@ import * as SqliteMigrator from "@effect/sql-sqlite-node/SqliteMigrator";
8
8
  * agent's lifetime.
9
9
  * @public
10
10
  */
11
- declare const AgentId: Schema.brand<typeof Schema.UUID, "AgentId">;
11
+ declare const AgentId: Schema.brand<Schema.String, "AgentId">;
12
12
  /** @public */
13
13
  type AgentId = Schema.Schema.Type<typeof AgentId>;
14
14
  /**
@@ -18,7 +18,7 @@ type AgentId = Schema.Schema.Type<typeof AgentId>;
18
18
  * `sessions.id` (the SQLite agent-run PK).
19
19
  * @public
20
20
  */
21
- declare const ChatId: Schema.brand<typeof Schema.UUID, "ChatId">;
21
+ declare const ChatId: Schema.brand<Schema.String, "ChatId">;
22
22
  /** @public */
23
23
  type ChatId = Schema.Schema.Type<typeof ChatId>;
24
24
  //#endregion
@@ -153,21 +153,19 @@ declare class IllegalStatusTransitionError extends IllegalStatusTransitionError_
153
153
  }
154
154
  //#endregion
155
155
  //#region src/schemas/Agent.d.ts
156
- declare const Agent_base: Schema.TaggedClass<Agent, "Agent", {
157
- readonly _tag: Schema.tag<"Agent">;
158
- } & {
159
- agentId: Schema.brand<typeof Schema.UUID, "AgentId">;
160
- sessionId: typeof Schema.Number;
161
- parentAgentId: Schema.NullOr<Schema.brand<typeof Schema.UUID, "AgentId">>;
162
- conversationId: Schema.NullOr<Schema.brand<typeof Schema.UUID, "ConversationId">>;
163
- agentType: typeof Schema.String;
164
- startedAt: typeof Schema.Number;
165
- endedAt: Schema.NullOr<typeof Schema.Number>;
166
- startGitBranch: Schema.NullOr<typeof Schema.String>;
167
- startGitCommitSha: Schema.NullOr<typeof Schema.String>;
168
- startWorktreeDir: Schema.NullOr<typeof Schema.String>;
169
- idempotencyKey: typeof Schema.String;
170
- }>;
156
+ declare const Agent_base: Schema.Class<Agent, Schema.TaggedStruct<"Agent", {
157
+ readonly agentId: Schema.brand<Schema.String, "AgentId">;
158
+ readonly sessionId: Schema.Number;
159
+ readonly parentAgentId: Schema.NullOr<Schema.brand<Schema.String, "AgentId">>;
160
+ readonly conversationId: Schema.NullOr<Schema.brand<Schema.String, "ConversationId">>;
161
+ readonly agentType: Schema.String;
162
+ readonly startedAt: Schema.Number;
163
+ readonly endedAt: Schema.NullOr<Schema.Number>;
164
+ readonly startGitBranch: Schema.NullOr<Schema.String>;
165
+ readonly startGitCommitSha: Schema.NullOr<Schema.String>;
166
+ readonly startWorktreeDir: Schema.NullOr<Schema.String>;
167
+ readonly idempotencyKey: Schema.String;
168
+ }>, {}>;
171
169
  /**
172
170
  * Successful registration row. The fields mirror the `agents` SQLite
173
171
  * table 1:1 in camelCase.
@@ -181,7 +179,7 @@ declare const Agent_base: Schema.TaggedClass<Agent, "Agent", {
181
179
  declare class Agent extends Agent_base {}
182
180
  declare const IdempotencyHit_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => Readonly<A> & {
183
181
  readonly _tag: "IdempotencyHit";
184
- };
182
+ } & import("effect/Pipeable").Pipeable;
185
183
  /**
186
184
  * Returned by `DataStore.registerAgent` when the
187
185
  * `(session_id, idempotency_key)` UNIQUE constraint already has a
@@ -203,99 +201,97 @@ declare class IdempotencyHit extends IdempotencyHit_base<{
203
201
  * @public
204
202
  */
205
203
  declare const CoverageBaselines: Schema.Struct<{
206
- updatedAt: typeof Schema.String;
207
- global: Schema.Struct<{
208
- lines: Schema.optional<typeof Schema.Number>;
209
- functions: Schema.optional<typeof Schema.Number>;
210
- branches: Schema.optional<typeof Schema.Number>;
211
- statements: Schema.optional<typeof Schema.Number>;
212
- }>;
213
- patterns: Schema.optionalWith<Schema.Array$<Schema.Tuple2<typeof Schema.String, Schema.Struct<{
214
- lines: Schema.optional<typeof Schema.Number>;
215
- functions: Schema.optional<typeof Schema.Number>;
216
- branches: Schema.optional<typeof Schema.Number>;
217
- statements: Schema.optional<typeof Schema.Number>;
218
- }>>>, {
219
- default: () => never[];
204
+ readonly updatedAt: Schema.String;
205
+ readonly global: Schema.Struct<{
206
+ readonly lines: Schema.optional<Schema.Number>;
207
+ readonly functions: Schema.optional<Schema.Number>;
208
+ readonly branches: Schema.optional<Schema.Number>;
209
+ readonly statements: Schema.optional<Schema.Number>;
220
210
  }>;
211
+ readonly patterns: Schema.withDecodingDefaultKey<Schema.$Array<Schema.Tuple<readonly [Schema.String, Schema.Struct<{
212
+ readonly lines: Schema.optional<Schema.Number>;
213
+ readonly functions: Schema.optional<Schema.Number>;
214
+ readonly branches: Schema.optional<Schema.Number>;
215
+ readonly statements: Schema.optional<Schema.Number>;
216
+ }>]>>, never>;
221
217
  }>;
222
218
  /** @public */
223
219
  type CoverageBaselines = typeof CoverageBaselines.Type;
224
220
  //#endregion
225
221
  //#region src/schemas/Tdd.d.ts
226
222
  /** @public */
227
- declare const GoalStatus: Schema.Literal<["pending", "in_progress", "done", "abandoned"]>;
223
+ declare const GoalStatus: Schema.Literals<readonly ["pending", "in_progress", "done", "abandoned"]>;
228
224
  /** @public */
229
225
  type GoalStatus = typeof GoalStatus.Type;
230
226
  /** @public */
231
- declare const BehaviorStatus: Schema.Literal<["pending", "in_progress", "done", "abandoned"]>;
227
+ declare const BehaviorStatus: Schema.Literals<readonly ["pending", "in_progress", "done", "abandoned"]>;
232
228
  /** @public */
233
229
  type BehaviorStatus = typeof BehaviorStatus.Type;
234
230
  /** @public */
235
231
  declare const GoalRow: Schema.Struct<{
236
- id: typeof Schema.Number;
237
- sessionId: typeof Schema.Number;
238
- ordinal: typeof Schema.Number;
239
- goal: typeof Schema.String;
240
- status: Schema.Literal<["pending", "in_progress", "done", "abandoned"]>;
241
- createdAt: typeof Schema.String;
232
+ readonly id: Schema.Number;
233
+ readonly sessionId: Schema.Number;
234
+ readonly ordinal: Schema.Number;
235
+ readonly goal: Schema.String;
236
+ readonly status: Schema.Literals<readonly ["pending", "in_progress", "done", "abandoned"]>;
237
+ readonly createdAt: Schema.String;
242
238
  }>;
243
239
  /** @public */
244
240
  type GoalRow = typeof GoalRow.Type;
245
241
  /** @public */
246
242
  declare const BehaviorRow: Schema.Struct<{
247
- id: typeof Schema.Number;
248
- goalId: typeof Schema.Number;
249
- ordinal: typeof Schema.Number;
250
- behavior: typeof Schema.String;
251
- suggestedTestName: Schema.NullOr<typeof Schema.String>;
252
- status: Schema.Literal<["pending", "in_progress", "done", "abandoned"]>;
253
- createdAt: typeof Schema.String;
243
+ readonly id: Schema.Number;
244
+ readonly goalId: Schema.Number;
245
+ readonly ordinal: Schema.Number;
246
+ readonly behavior: Schema.String;
247
+ readonly suggestedTestName: Schema.NullOr<Schema.String>;
248
+ readonly status: Schema.Literals<readonly ["pending", "in_progress", "done", "abandoned"]>;
249
+ readonly createdAt: Schema.String;
254
250
  }>;
255
251
  /** @public */
256
252
  type BehaviorRow = typeof BehaviorRow.Type;
257
253
  /** @public */
258
254
  declare const GoalDetail: Schema.Struct<{
259
- id: typeof Schema.Number;
260
- sessionId: typeof Schema.Number;
261
- ordinal: typeof Schema.Number;
262
- goal: typeof Schema.String;
263
- status: Schema.Literal<["pending", "in_progress", "done", "abandoned"]>;
264
- createdAt: typeof Schema.String;
265
- behaviors: Schema.Array$<Schema.Struct<{
266
- id: typeof Schema.Number;
267
- goalId: typeof Schema.Number;
268
- ordinal: typeof Schema.Number;
269
- behavior: typeof Schema.String;
270
- suggestedTestName: Schema.NullOr<typeof Schema.String>;
271
- status: Schema.Literal<["pending", "in_progress", "done", "abandoned"]>;
272
- createdAt: typeof Schema.String;
255
+ readonly id: Schema.Number;
256
+ readonly sessionId: Schema.Number;
257
+ readonly ordinal: Schema.Number;
258
+ readonly goal: Schema.String;
259
+ readonly status: Schema.Literals<readonly ["pending", "in_progress", "done", "abandoned"]>;
260
+ readonly createdAt: Schema.String;
261
+ readonly behaviors: Schema.$Array<Schema.Struct<{
262
+ readonly id: Schema.Number;
263
+ readonly goalId: Schema.Number;
264
+ readonly ordinal: Schema.Number;
265
+ readonly behavior: Schema.String;
266
+ readonly suggestedTestName: Schema.NullOr<Schema.String>;
267
+ readonly status: Schema.Literals<readonly ["pending", "in_progress", "done", "abandoned"]>;
268
+ readonly createdAt: Schema.String;
273
269
  }>>;
274
270
  }>;
275
271
  /** @public */
276
272
  type GoalDetail = typeof GoalDetail.Type;
277
273
  /** @public */
278
274
  declare const BehaviorDetail: Schema.Struct<{
279
- id: typeof Schema.Number;
280
- goalId: typeof Schema.Number;
281
- ordinal: typeof Schema.Number;
282
- behavior: typeof Schema.String;
283
- suggestedTestName: Schema.NullOr<typeof Schema.String>;
284
- status: Schema.Literal<["pending", "in_progress", "done", "abandoned"]>;
285
- createdAt: typeof Schema.String;
286
- parentGoal: Schema.Struct<{
287
- id: typeof Schema.Number;
288
- goal: typeof Schema.String;
289
- status: Schema.Literal<["pending", "in_progress", "done", "abandoned"]>;
275
+ readonly id: Schema.Number;
276
+ readonly goalId: Schema.Number;
277
+ readonly ordinal: Schema.Number;
278
+ readonly behavior: Schema.String;
279
+ readonly suggestedTestName: Schema.NullOr<Schema.String>;
280
+ readonly status: Schema.Literals<readonly ["pending", "in_progress", "done", "abandoned"]>;
281
+ readonly createdAt: Schema.String;
282
+ readonly parentGoal: Schema.Struct<{
283
+ readonly id: Schema.Number;
284
+ readonly goal: Schema.String;
285
+ readonly status: Schema.Literals<readonly ["pending", "in_progress", "done", "abandoned"]>;
290
286
  }>;
291
- dependencies: Schema.Array$<Schema.Struct<{
292
- id: typeof Schema.Number;
293
- goalId: typeof Schema.Number;
294
- ordinal: typeof Schema.Number;
295
- behavior: typeof Schema.String;
296
- suggestedTestName: Schema.NullOr<typeof Schema.String>;
297
- status: Schema.Literal<["pending", "in_progress", "done", "abandoned"]>;
298
- createdAt: typeof Schema.String;
287
+ readonly dependencies: Schema.$Array<Schema.Struct<{
288
+ readonly id: Schema.Number;
289
+ readonly goalId: Schema.Number;
290
+ readonly ordinal: Schema.Number;
291
+ readonly behavior: Schema.String;
292
+ readonly suggestedTestName: Schema.NullOr<Schema.String>;
293
+ readonly status: Schema.Literals<readonly ["pending", "in_progress", "done", "abandoned"]>;
294
+ readonly createdAt: Schema.String;
299
295
  }>>;
300
296
  }>;
301
297
  /** @public */
@@ -307,21 +303,21 @@ type BehaviorDetail = typeof BehaviorDetail.Type;
307
303
  * @public
308
304
  */
309
305
  declare const TrendEntry: Schema.Struct<{
310
- timestamp: typeof Schema.String;
311
- coverage: Schema.Struct<{
312
- statements: typeof Schema.Number;
313
- branches: typeof Schema.Number;
314
- functions: typeof Schema.Number;
315
- lines: typeof Schema.Number;
306
+ readonly timestamp: Schema.String;
307
+ readonly coverage: Schema.Struct<{
308
+ readonly statements: Schema.Number;
309
+ readonly branches: Schema.Number;
310
+ readonly functions: Schema.Number;
311
+ readonly lines: Schema.Number;
316
312
  }>;
317
- delta: Schema.Struct<{
318
- statements: typeof Schema.Number;
319
- branches: typeof Schema.Number;
320
- functions: typeof Schema.Number;
321
- lines: typeof Schema.Number;
313
+ readonly delta: Schema.Struct<{
314
+ readonly statements: Schema.Number;
315
+ readonly branches: Schema.Number;
316
+ readonly functions: Schema.Number;
317
+ readonly lines: Schema.Number;
322
318
  }>;
323
- direction: Schema.Literal<["improving", "regressing", "stable"]>;
324
- targetsHash: Schema.optional<typeof Schema.String>;
319
+ readonly direction: Schema.Literals<readonly ["improving", "regressing", "stable"]>;
320
+ readonly targetsHash: Schema.optional<Schema.String>;
325
321
  }>;
326
322
  /** @public */
327
323
  type TrendEntry = typeof TrendEntry.Type;
@@ -330,22 +326,22 @@ type TrendEntry = typeof TrendEntry.Type;
330
326
  * @public
331
327
  */
332
328
  declare const TrendRecord: Schema.Struct<{
333
- entries: Schema.Array$<Schema.Struct<{
334
- timestamp: typeof Schema.String;
335
- coverage: Schema.Struct<{
336
- statements: typeof Schema.Number;
337
- branches: typeof Schema.Number;
338
- functions: typeof Schema.Number;
339
- lines: typeof Schema.Number;
329
+ readonly entries: Schema.$Array<Schema.Struct<{
330
+ readonly timestamp: Schema.String;
331
+ readonly coverage: Schema.Struct<{
332
+ readonly statements: Schema.Number;
333
+ readonly branches: Schema.Number;
334
+ readonly functions: Schema.Number;
335
+ readonly lines: Schema.Number;
340
336
  }>;
341
- delta: Schema.Struct<{
342
- statements: typeof Schema.Number;
343
- branches: typeof Schema.Number;
344
- functions: typeof Schema.Number;
345
- lines: typeof Schema.Number;
337
+ readonly delta: Schema.Struct<{
338
+ readonly statements: Schema.Number;
339
+ readonly branches: Schema.Number;
340
+ readonly functions: Schema.Number;
341
+ readonly lines: Schema.Number;
346
342
  }>;
347
- direction: Schema.Literal<["improving", "regressing", "stable"]>;
348
- targetsHash: Schema.optional<typeof Schema.String>;
343
+ readonly direction: Schema.Literals<readonly ["improving", "regressing", "stable"]>;
344
+ readonly targetsHash: Schema.optional<Schema.String>;
349
345
  }>>;
350
346
  }>;
351
347
  /** @public */
@@ -733,7 +729,7 @@ interface AssociateRunSessionInput {
733
729
  readonly chatId: string;
734
730
  readonly invocationMethod: RunInvocationMethod;
735
731
  }
736
- declare const DataStore_base: Context.TagClass<DataStore, "vitest-agent/DataStore", {
732
+ declare const DataStore_base: Context.ServiceClass<DataStore, "vitest-agent/DataStore", {
737
733
  readonly writeSettings: (hash: string, settings: SettingsInput, envVars: Record<string, string>) => Effect.Effect<void, DataStoreError>;
738
734
  readonly writeRun: (input: TestRunInput) => Effect.Effect<number, DataStoreError>;
739
735
  readonly writeModules: (runId: number, modules: ReadonlyArray<ModuleInput>) => Effect.Effect<ReadonlyArray<number>, DataStoreError>;
@@ -819,149 +815,141 @@ declare class DataStore extends DataStore_base {}
819
815
  * @public
820
816
  */
821
817
  declare const AgentReport: Schema.Struct<{
822
- timestamp: typeof Schema.String;
823
- project: Schema.optional<typeof Schema.String>;
824
- reason: Schema.Literal<["passed", "failed", "interrupted"]>;
825
- summary: Schema.Struct<{
826
- total: typeof Schema.Number;
827
- passed: typeof Schema.Number;
828
- failed: typeof Schema.Number;
829
- skipped: typeof Schema.Number;
830
- duration: typeof Schema.Number;
818
+ readonly timestamp: Schema.String;
819
+ readonly project: Schema.optional<Schema.String>;
820
+ readonly reason: Schema.Literals<readonly ["passed", "failed", "interrupted"]>;
821
+ readonly summary: Schema.Struct<{
822
+ readonly total: Schema.Number;
823
+ readonly passed: Schema.Number;
824
+ readonly failed: Schema.Number;
825
+ readonly skipped: Schema.Number;
826
+ readonly duration: Schema.Number;
831
827
  }>;
832
- failed: Schema.Array$<Schema.Struct<{
833
- file: typeof Schema.String;
834
- state: Schema.Literal<["passed", "failed", "skipped", "pending"]>;
835
- duration: Schema.optional<typeof Schema.Number>;
836
- errors: Schema.optional<Schema.Array$<Schema.Struct<{
837
- message: typeof Schema.String;
838
- stack: Schema.optional<typeof Schema.String>;
839
- diff: Schema.optional<typeof Schema.String>;
840
- expected: Schema.optional<typeof Schema.String>;
841
- received: Schema.optional<typeof Schema.String>;
828
+ readonly failed: Schema.$Array<Schema.Struct<{
829
+ readonly file: Schema.String;
830
+ readonly state: Schema.Literals<readonly ["passed", "failed", "skipped", "pending"]>;
831
+ readonly duration: Schema.optional<Schema.Number>;
832
+ readonly errors: Schema.optional<Schema.$Array<Schema.Struct<{
833
+ readonly message: Schema.String;
834
+ readonly stack: Schema.optional<Schema.String>;
835
+ readonly diff: Schema.optional<Schema.String>;
836
+ readonly expected: Schema.optional<Schema.String>;
837
+ readonly received: Schema.optional<Schema.String>;
842
838
  }>>>;
843
- tests: Schema.Array$<Schema.Struct<{
844
- name: typeof Schema.String;
845
- fullName: typeof Schema.String;
846
- state: Schema.Literal<["passed", "failed", "skipped", "pending"]>;
847
- duration: Schema.optional<typeof Schema.Number>;
848
- flaky: Schema.optional<typeof Schema.Boolean>;
849
- slow: Schema.optional<typeof Schema.Boolean>;
850
- errors: Schema.optional<Schema.Array$<Schema.Struct<{
851
- message: typeof Schema.String;
852
- stack: Schema.optional<typeof Schema.String>;
853
- diff: Schema.optional<typeof Schema.String>;
854
- expected: Schema.optional<typeof Schema.String>;
855
- received: Schema.optional<typeof Schema.String>;
839
+ readonly tests: Schema.$Array<Schema.Struct<{
840
+ readonly name: Schema.String;
841
+ readonly fullName: Schema.String;
842
+ readonly state: Schema.Literals<readonly ["passed", "failed", "skipped", "pending"]>;
843
+ readonly duration: Schema.optional<Schema.Number>;
844
+ readonly flaky: Schema.optional<Schema.Boolean>;
845
+ readonly slow: Schema.optional<Schema.Boolean>;
846
+ readonly errors: Schema.optional<Schema.$Array<Schema.Struct<{
847
+ readonly message: Schema.String;
848
+ readonly stack: Schema.optional<Schema.String>;
849
+ readonly diff: Schema.optional<Schema.String>;
850
+ readonly expected: Schema.optional<Schema.String>;
851
+ readonly received: Schema.optional<Schema.String>;
856
852
  }>>>;
857
- classification: Schema.optional<Schema.Literal<["stable", "new-failure", "persistent", "flaky", "recovered"]>>;
853
+ readonly classification: Schema.optional<Schema.Literals<readonly ["stable", "new-failure", "persistent", "flaky", "recovered"]>>;
858
854
  }>>;
859
855
  }>>;
860
- unhandledErrors: Schema.Array$<Schema.Struct<{
861
- message: typeof Schema.String;
862
- stack: Schema.optional<typeof Schema.String>;
863
- diff: Schema.optional<typeof Schema.String>;
864
- expected: Schema.optional<typeof Schema.String>;
865
- received: Schema.optional<typeof Schema.String>;
856
+ readonly unhandledErrors: Schema.$Array<Schema.Struct<{
857
+ readonly message: Schema.String;
858
+ readonly stack: Schema.optional<Schema.String>;
859
+ readonly diff: Schema.optional<Schema.String>;
860
+ readonly expected: Schema.optional<Schema.String>;
861
+ readonly received: Schema.optional<Schema.String>;
866
862
  }>>;
867
- failedFiles: Schema.Array$<typeof Schema.String>;
868
- coverage: Schema.optional<Schema.Struct<{
869
- totals: Schema.Struct<{
870
- statements: typeof Schema.Number;
871
- branches: typeof Schema.Number;
872
- functions: typeof Schema.Number;
873
- lines: typeof Schema.Number;
863
+ readonly failedFiles: Schema.$Array<Schema.String>;
864
+ readonly coverage: Schema.optional<Schema.Struct<{
865
+ readonly totals: Schema.Struct<{
866
+ readonly statements: Schema.Number;
867
+ readonly branches: Schema.Number;
868
+ readonly functions: Schema.Number;
869
+ readonly lines: Schema.Number;
874
870
  }>;
875
- thresholds: Schema.Struct<{
876
- global: Schema.Struct<{
877
- lines: Schema.optional<typeof Schema.Number>;
878
- functions: Schema.optional<typeof Schema.Number>;
879
- branches: Schema.optional<typeof Schema.Number>;
880
- statements: Schema.optional<typeof Schema.Number>;
881
- }>;
882
- patterns: Schema.optionalWith<Schema.Array$<Schema.Tuple2<typeof Schema.String, Schema.Struct<{
883
- lines: Schema.optional<typeof Schema.Number>;
884
- functions: Schema.optional<typeof Schema.Number>;
885
- branches: Schema.optional<typeof Schema.Number>;
886
- statements: Schema.optional<typeof Schema.Number>;
887
- }>>>, {
888
- default: () => never[];
871
+ readonly thresholds: Schema.Struct<{
872
+ readonly global: Schema.Struct<{
873
+ readonly lines: Schema.optional<Schema.Number>;
874
+ readonly functions: Schema.optional<Schema.Number>;
875
+ readonly branches: Schema.optional<Schema.Number>;
876
+ readonly statements: Schema.optional<Schema.Number>;
889
877
  }>;
878
+ readonly patterns: Schema.withDecodingDefaultKey<Schema.$Array<Schema.Tuple<readonly [Schema.String, Schema.Struct<{
879
+ readonly lines: Schema.optional<Schema.Number>;
880
+ readonly functions: Schema.optional<Schema.Number>;
881
+ readonly branches: Schema.optional<Schema.Number>;
882
+ readonly statements: Schema.optional<Schema.Number>;
883
+ }>]>>, never>;
890
884
  }>;
891
- targets: Schema.optional<Schema.Struct<{
892
- global: Schema.Struct<{
893
- lines: Schema.optional<typeof Schema.Number>;
894
- functions: Schema.optional<typeof Schema.Number>;
895
- branches: Schema.optional<typeof Schema.Number>;
896
- statements: Schema.optional<typeof Schema.Number>;
897
- }>;
898
- patterns: Schema.optionalWith<Schema.Array$<Schema.Tuple2<typeof Schema.String, Schema.Struct<{
899
- lines: Schema.optional<typeof Schema.Number>;
900
- functions: Schema.optional<typeof Schema.Number>;
901
- branches: Schema.optional<typeof Schema.Number>;
902
- statements: Schema.optional<typeof Schema.Number>;
903
- }>>>, {
904
- default: () => never[];
885
+ readonly targets: Schema.optional<Schema.Struct<{
886
+ readonly global: Schema.Struct<{
887
+ readonly lines: Schema.optional<Schema.Number>;
888
+ readonly functions: Schema.optional<Schema.Number>;
889
+ readonly branches: Schema.optional<Schema.Number>;
890
+ readonly statements: Schema.optional<Schema.Number>;
905
891
  }>;
892
+ readonly patterns: Schema.withDecodingDefaultKey<Schema.$Array<Schema.Tuple<readonly [Schema.String, Schema.Struct<{
893
+ readonly lines: Schema.optional<Schema.Number>;
894
+ readonly functions: Schema.optional<Schema.Number>;
895
+ readonly branches: Schema.optional<Schema.Number>;
896
+ readonly statements: Schema.optional<Schema.Number>;
897
+ }>]>>, never>;
906
898
  }>>;
907
- baselines: Schema.optional<Schema.Struct<{
908
- global: Schema.Struct<{
909
- lines: Schema.optional<typeof Schema.Number>;
910
- functions: Schema.optional<typeof Schema.Number>;
911
- branches: Schema.optional<typeof Schema.Number>;
912
- statements: Schema.optional<typeof Schema.Number>;
913
- }>;
914
- patterns: Schema.optionalWith<Schema.Array$<Schema.Tuple2<typeof Schema.String, Schema.Struct<{
915
- lines: Schema.optional<typeof Schema.Number>;
916
- functions: Schema.optional<typeof Schema.Number>;
917
- branches: Schema.optional<typeof Schema.Number>;
918
- statements: Schema.optional<typeof Schema.Number>;
919
- }>>>, {
920
- default: () => never[];
899
+ readonly baselines: Schema.optional<Schema.Struct<{
900
+ readonly global: Schema.Struct<{
901
+ readonly lines: Schema.optional<Schema.Number>;
902
+ readonly functions: Schema.optional<Schema.Number>;
903
+ readonly branches: Schema.optional<Schema.Number>;
904
+ readonly statements: Schema.optional<Schema.Number>;
921
905
  }>;
906
+ readonly patterns: Schema.withDecodingDefaultKey<Schema.$Array<Schema.Tuple<readonly [Schema.String, Schema.Struct<{
907
+ readonly lines: Schema.optional<Schema.Number>;
908
+ readonly functions: Schema.optional<Schema.Number>;
909
+ readonly branches: Schema.optional<Schema.Number>;
910
+ readonly statements: Schema.optional<Schema.Number>;
911
+ }>]>>, never>;
922
912
  }>>;
923
- scoped: Schema.optionalWith<typeof Schema.Boolean, {
924
- default: () => false;
925
- }>;
926
- scopedFiles: Schema.optional<Schema.Array$<typeof Schema.String>>;
927
- lowCoverage: Schema.Array$<Schema.Struct<{
928
- file: typeof Schema.String;
929
- summary: Schema.Struct<{
930
- statements: typeof Schema.Number;
931
- branches: typeof Schema.Number;
932
- functions: typeof Schema.Number;
933
- lines: typeof Schema.Number;
913
+ readonly scoped: Schema.withDecodingDefaultKey<Schema.Boolean, never>;
914
+ readonly scopedFiles: Schema.optional<Schema.$Array<Schema.String>>;
915
+ readonly lowCoverage: Schema.$Array<Schema.Struct<{
916
+ readonly file: Schema.String;
917
+ readonly summary: Schema.Struct<{
918
+ readonly statements: Schema.Number;
919
+ readonly branches: Schema.Number;
920
+ readonly functions: Schema.Number;
921
+ readonly lines: Schema.Number;
934
922
  }>;
935
- uncoveredLines: typeof Schema.String;
923
+ readonly uncoveredLines: Schema.String;
936
924
  }>>;
937
- lowCoverageFiles: Schema.Array$<typeof Schema.String>;
938
- belowTarget: Schema.optional<Schema.Array$<Schema.Struct<{
939
- file: typeof Schema.String;
940
- summary: Schema.Struct<{
941
- statements: typeof Schema.Number;
942
- branches: typeof Schema.Number;
943
- functions: typeof Schema.Number;
944
- lines: typeof Schema.Number;
925
+ readonly lowCoverageFiles: Schema.$Array<Schema.String>;
926
+ readonly belowTarget: Schema.optional<Schema.$Array<Schema.Struct<{
927
+ readonly file: Schema.String;
928
+ readonly summary: Schema.Struct<{
929
+ readonly statements: Schema.Number;
930
+ readonly branches: Schema.Number;
931
+ readonly functions: Schema.Number;
932
+ readonly lines: Schema.Number;
945
933
  }>;
946
- uncoveredLines: typeof Schema.String;
934
+ readonly uncoveredLines: Schema.String;
947
935
  }>>>;
948
- belowTargetFiles: Schema.optional<Schema.Array$<typeof Schema.String>>;
936
+ readonly belowTargetFiles: Schema.optional<Schema.$Array<Schema.String>>;
949
937
  }>>;
950
- tagCounts: Schema.optional<Schema.Record$<typeof Schema.String, Schema.Struct<{
951
- passed: Schema.optional<typeof Schema.Number>;
952
- failed: Schema.optional<typeof Schema.Number>;
953
- skipped: Schema.optional<typeof Schema.Number>;
938
+ readonly tagCounts: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
939
+ readonly passed: Schema.optional<Schema.Number>;
940
+ readonly failed: Schema.optional<Schema.Number>;
941
+ readonly skipped: Schema.optional<Schema.Number>;
954
942
  }>>>;
955
- consoleLeaks: Schema.optional<Schema.Struct<{
956
- total: typeof Schema.Number;
957
- byFile: Schema.Array$<Schema.Struct<{
958
- file: typeof Schema.String;
959
- stdout: typeof Schema.Number;
960
- stderr: typeof Schema.Number;
961
- tests: Schema.optional<Schema.Array$<typeof Schema.String>>;
962
- sample: Schema.optional<typeof Schema.String>;
943
+ readonly consoleLeaks: Schema.optional<Schema.Struct<{
944
+ readonly total: Schema.Number;
945
+ readonly byFile: Schema.$Array<Schema.Struct<{
946
+ readonly file: Schema.String;
947
+ readonly stdout: Schema.Number;
948
+ readonly stderr: Schema.Number;
949
+ readonly tests: Schema.optional<Schema.$Array<Schema.String>>;
950
+ readonly sample: Schema.optional<Schema.String>;
963
951
  }>>;
964
- truncated: Schema.optional<typeof Schema.Boolean>;
952
+ readonly truncated: Schema.optional<Schema.Boolean>;
965
953
  }>>;
966
954
  }>;
967
955
  /** @public */
@@ -973,14 +961,14 @@ type AgentReport = typeof AgentReport.Type;
973
961
  * @public
974
962
  */
975
963
  declare const CacheManifest: Schema.Struct<{
976
- updatedAt: typeof Schema.String;
977
- cacheDir: typeof Schema.String;
978
- projects: Schema.Array$<Schema.Struct<{
979
- project: typeof Schema.String;
980
- reportFile: typeof Schema.String;
981
- historyFile: Schema.optional<typeof Schema.String>;
982
- lastRun: Schema.NullOr<typeof Schema.String>;
983
- lastResult: Schema.NullOr<Schema.Literal<["passed", "failed", "interrupted"]>>;
964
+ readonly updatedAt: Schema.String;
965
+ readonly cacheDir: Schema.String;
966
+ readonly projects: Schema.$Array<Schema.Struct<{
967
+ readonly project: Schema.String;
968
+ readonly reportFile: Schema.String;
969
+ readonly historyFile: Schema.optional<Schema.String>;
970
+ readonly lastRun: Schema.NullOr<Schema.String>;
971
+ readonly lastResult: Schema.NullOr<Schema.Literals<readonly ["passed", "failed", "interrupted"]>>;
984
972
  }>>;
985
973
  }>;
986
974
  /** @public */
@@ -992,14 +980,14 @@ type CacheManifest = typeof CacheManifest.Type;
992
980
  * @public
993
981
  */
994
982
  declare const FileCoverageReport: Schema.Struct<{
995
- file: typeof Schema.String;
996
- summary: Schema.Struct<{
997
- statements: typeof Schema.Number;
998
- branches: typeof Schema.Number;
999
- functions: typeof Schema.Number;
1000
- lines: typeof Schema.Number;
983
+ readonly file: Schema.String;
984
+ readonly summary: Schema.Struct<{
985
+ readonly statements: Schema.Number;
986
+ readonly branches: Schema.Number;
987
+ readonly functions: Schema.Number;
988
+ readonly lines: Schema.Number;
1001
989
  }>;
1002
- uncoveredLines: typeof Schema.String;
990
+ readonly uncoveredLines: Schema.String;
1003
991
  }>;
1004
992
  /** @public */
1005
993
  type FileCoverageReport = typeof FileCoverageReport.Type;
@@ -1008,86 +996,78 @@ type FileCoverageReport = typeof FileCoverageReport.Type;
1008
996
  * @public
1009
997
  */
1010
998
  declare const CoverageReport: Schema.Struct<{
1011
- totals: Schema.Struct<{
1012
- statements: typeof Schema.Number;
1013
- branches: typeof Schema.Number;
1014
- functions: typeof Schema.Number;
1015
- lines: typeof Schema.Number;
999
+ readonly totals: Schema.Struct<{
1000
+ readonly statements: Schema.Number;
1001
+ readonly branches: Schema.Number;
1002
+ readonly functions: Schema.Number;
1003
+ readonly lines: Schema.Number;
1016
1004
  }>;
1017
- thresholds: Schema.Struct<{
1018
- global: Schema.Struct<{
1019
- lines: Schema.optional<typeof Schema.Number>;
1020
- functions: Schema.optional<typeof Schema.Number>;
1021
- branches: Schema.optional<typeof Schema.Number>;
1022
- statements: Schema.optional<typeof Schema.Number>;
1023
- }>;
1024
- patterns: Schema.optionalWith<Schema.Array$<Schema.Tuple2<typeof Schema.String, Schema.Struct<{
1025
- lines: Schema.optional<typeof Schema.Number>;
1026
- functions: Schema.optional<typeof Schema.Number>;
1027
- branches: Schema.optional<typeof Schema.Number>;
1028
- statements: Schema.optional<typeof Schema.Number>;
1029
- }>>>, {
1030
- default: () => never[];
1005
+ readonly thresholds: Schema.Struct<{
1006
+ readonly global: Schema.Struct<{
1007
+ readonly lines: Schema.optional<Schema.Number>;
1008
+ readonly functions: Schema.optional<Schema.Number>;
1009
+ readonly branches: Schema.optional<Schema.Number>;
1010
+ readonly statements: Schema.optional<Schema.Number>;
1031
1011
  }>;
1012
+ readonly patterns: Schema.withDecodingDefaultKey<Schema.$Array<Schema.Tuple<readonly [Schema.String, Schema.Struct<{
1013
+ readonly lines: Schema.optional<Schema.Number>;
1014
+ readonly functions: Schema.optional<Schema.Number>;
1015
+ readonly branches: Schema.optional<Schema.Number>;
1016
+ readonly statements: Schema.optional<Schema.Number>;
1017
+ }>]>>, never>;
1032
1018
  }>;
1033
- targets: Schema.optional<Schema.Struct<{
1034
- global: Schema.Struct<{
1035
- lines: Schema.optional<typeof Schema.Number>;
1036
- functions: Schema.optional<typeof Schema.Number>;
1037
- branches: Schema.optional<typeof Schema.Number>;
1038
- statements: Schema.optional<typeof Schema.Number>;
1039
- }>;
1040
- patterns: Schema.optionalWith<Schema.Array$<Schema.Tuple2<typeof Schema.String, Schema.Struct<{
1041
- lines: Schema.optional<typeof Schema.Number>;
1042
- functions: Schema.optional<typeof Schema.Number>;
1043
- branches: Schema.optional<typeof Schema.Number>;
1044
- statements: Schema.optional<typeof Schema.Number>;
1045
- }>>>, {
1046
- default: () => never[];
1019
+ readonly targets: Schema.optional<Schema.Struct<{
1020
+ readonly global: Schema.Struct<{
1021
+ readonly lines: Schema.optional<Schema.Number>;
1022
+ readonly functions: Schema.optional<Schema.Number>;
1023
+ readonly branches: Schema.optional<Schema.Number>;
1024
+ readonly statements: Schema.optional<Schema.Number>;
1047
1025
  }>;
1026
+ readonly patterns: Schema.withDecodingDefaultKey<Schema.$Array<Schema.Tuple<readonly [Schema.String, Schema.Struct<{
1027
+ readonly lines: Schema.optional<Schema.Number>;
1028
+ readonly functions: Schema.optional<Schema.Number>;
1029
+ readonly branches: Schema.optional<Schema.Number>;
1030
+ readonly statements: Schema.optional<Schema.Number>;
1031
+ }>]>>, never>;
1048
1032
  }>>;
1049
- baselines: Schema.optional<Schema.Struct<{
1050
- global: Schema.Struct<{
1051
- lines: Schema.optional<typeof Schema.Number>;
1052
- functions: Schema.optional<typeof Schema.Number>;
1053
- branches: Schema.optional<typeof Schema.Number>;
1054
- statements: Schema.optional<typeof Schema.Number>;
1055
- }>;
1056
- patterns: Schema.optionalWith<Schema.Array$<Schema.Tuple2<typeof Schema.String, Schema.Struct<{
1057
- lines: Schema.optional<typeof Schema.Number>;
1058
- functions: Schema.optional<typeof Schema.Number>;
1059
- branches: Schema.optional<typeof Schema.Number>;
1060
- statements: Schema.optional<typeof Schema.Number>;
1061
- }>>>, {
1062
- default: () => never[];
1033
+ readonly baselines: Schema.optional<Schema.Struct<{
1034
+ readonly global: Schema.Struct<{
1035
+ readonly lines: Schema.optional<Schema.Number>;
1036
+ readonly functions: Schema.optional<Schema.Number>;
1037
+ readonly branches: Schema.optional<Schema.Number>;
1038
+ readonly statements: Schema.optional<Schema.Number>;
1063
1039
  }>;
1040
+ readonly patterns: Schema.withDecodingDefaultKey<Schema.$Array<Schema.Tuple<readonly [Schema.String, Schema.Struct<{
1041
+ readonly lines: Schema.optional<Schema.Number>;
1042
+ readonly functions: Schema.optional<Schema.Number>;
1043
+ readonly branches: Schema.optional<Schema.Number>;
1044
+ readonly statements: Schema.optional<Schema.Number>;
1045
+ }>]>>, never>;
1064
1046
  }>>;
1065
- scoped: Schema.optionalWith<typeof Schema.Boolean, {
1066
- default: () => false;
1067
- }>;
1068
- scopedFiles: Schema.optional<Schema.Array$<typeof Schema.String>>;
1069
- lowCoverage: Schema.Array$<Schema.Struct<{
1070
- file: typeof Schema.String;
1071
- summary: Schema.Struct<{
1072
- statements: typeof Schema.Number;
1073
- branches: typeof Schema.Number;
1074
- functions: typeof Schema.Number;
1075
- lines: typeof Schema.Number;
1047
+ readonly scoped: Schema.withDecodingDefaultKey<Schema.Boolean, never>;
1048
+ readonly scopedFiles: Schema.optional<Schema.$Array<Schema.String>>;
1049
+ readonly lowCoverage: Schema.$Array<Schema.Struct<{
1050
+ readonly file: Schema.String;
1051
+ readonly summary: Schema.Struct<{
1052
+ readonly statements: Schema.Number;
1053
+ readonly branches: Schema.Number;
1054
+ readonly functions: Schema.Number;
1055
+ readonly lines: Schema.Number;
1076
1056
  }>;
1077
- uncoveredLines: typeof Schema.String;
1057
+ readonly uncoveredLines: Schema.String;
1078
1058
  }>>;
1079
- lowCoverageFiles: Schema.Array$<typeof Schema.String>;
1080
- belowTarget: Schema.optional<Schema.Array$<Schema.Struct<{
1081
- file: typeof Schema.String;
1082
- summary: Schema.Struct<{
1083
- statements: typeof Schema.Number;
1084
- branches: typeof Schema.Number;
1085
- functions: typeof Schema.Number;
1086
- lines: typeof Schema.Number;
1059
+ readonly lowCoverageFiles: Schema.$Array<Schema.String>;
1060
+ readonly belowTarget: Schema.optional<Schema.$Array<Schema.Struct<{
1061
+ readonly file: Schema.String;
1062
+ readonly summary: Schema.Struct<{
1063
+ readonly statements: Schema.Number;
1064
+ readonly branches: Schema.Number;
1065
+ readonly functions: Schema.Number;
1066
+ readonly lines: Schema.Number;
1087
1067
  }>;
1088
- uncoveredLines: typeof Schema.String;
1068
+ readonly uncoveredLines: Schema.String;
1089
1069
  }>>>;
1090
- belowTargetFiles: Schema.optional<Schema.Array$<typeof Schema.String>>;
1070
+ readonly belowTargetFiles: Schema.optional<Schema.$Array<Schema.String>>;
1091
1071
  }>;
1092
1072
  /** @public */
1093
1073
  type CoverageReport = typeof CoverageReport.Type;
@@ -1098,14 +1078,14 @@ type CoverageReport = typeof CoverageReport.Type;
1098
1078
  * @public
1099
1079
  */
1100
1080
  declare const HistoryRecord: Schema.Struct<{
1101
- project: typeof Schema.String;
1102
- updatedAt: typeof Schema.String;
1103
- tests: Schema.Array$<Schema.Struct<{
1104
- modulePath: typeof Schema.String;
1105
- fullName: typeof Schema.String;
1106
- runs: Schema.Array$<Schema.Struct<{
1107
- timestamp: typeof Schema.String;
1108
- state: Schema.Literal<["passed", "failed"]>;
1081
+ readonly project: Schema.String;
1082
+ readonly updatedAt: Schema.String;
1083
+ readonly tests: Schema.$Array<Schema.Struct<{
1084
+ readonly modulePath: Schema.String;
1085
+ readonly fullName: Schema.String;
1086
+ readonly runs: Schema.$Array<Schema.Struct<{
1087
+ readonly timestamp: Schema.String;
1088
+ readonly state: Schema.Literals<readonly ["passed", "failed"]>;
1109
1089
  }>>;
1110
1090
  }>>;
1111
1091
  }>;
@@ -1399,7 +1379,7 @@ interface TagInventoryRow {
1399
1379
  */
1400
1380
  readonly testCount: number;
1401
1381
  }
1402
- declare const DataReader_base: Context.TagClass<DataReader, "vitest-agent/DataReader", {
1382
+ declare const DataReader_base: Context.ServiceClass<DataReader, "vitest-agent/DataReader", {
1403
1383
  readonly getLatestRun: (project: string) => Effect.Effect<Option.Option<AgentReport>, DataStoreError>;
1404
1384
  readonly getRunsByProject: () => Effect.Effect<ReadonlyArray<ProjectRunSummary>, DataStoreError>;
1405
1385
  readonly getHistory: (project: string) => Effect.Effect<HistoryRecord, DataStoreError>;
@@ -1520,21 +1500,21 @@ declare class DataReader extends DataReader_base {}
1520
1500
  //#endregion
1521
1501
  //#region src/testing/layers.d.ts
1522
1502
  /** @public */
1523
- declare function makeTestLayer(filename: string): Layer.Layer<DataReader | DataStore | import("@effect/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | NodeContext.NodeContext, SqliteMigrator.MigrationError | import("@effect/sql/SqlError").SqlError | import("effect/ConfigError").ConfigError, never>;
1503
+ declare function makeTestLayer(filename: string): Layer.Layer<DataReader | DataStore | import("effect/unstable/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | NodeServices.NodeServices, SqliteMigrator.MigrationError | import("effect/unstable/sql/SqlError").SqlError, never>;
1524
1504
  /** @public */
1525
- declare const DataStoreTestLayer: Layer.Layer<DataReader | DataStore | import("@effect/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | NodeContext.NodeContext, SqliteMigrator.MigrationError | import("@effect/sql/SqlError").SqlError | import("effect/ConfigError").ConfigError, never>;
1505
+ declare const DataStoreTestLayer: Layer.Layer<DataReader | DataStore | import("effect/unstable/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | NodeServices.NodeServices, SqliteMigrator.MigrationError | import("effect/unstable/sql/SqlError").SqlError, never>;
1526
1506
  //#endregion
1527
1507
  //#region src/testing/index.d.ts
1528
1508
  /** @public */
1529
- declare function empty(filename: string): Layer.Layer<DataReader | DataStore | import("@effect/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | import("@effect/platform-node/NodeContext").NodeContext, import("@effect/sql/Migrator").MigrationError | import("@effect/sql/SqlError").SqlError | import("effect/ConfigError").ConfigError, never>;
1509
+ declare function empty(filename: string): Layer.Layer<DataReader | DataStore | import("effect/unstable/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | import("@effect/platform-node/NodeServices").NodeServices, import("@effect/sql-sqlite-node/SqliteMigrator").MigrationError | import("effect/unstable/sql/SqlError").SqlError, never>;
1530
1510
  /** @public */
1531
- declare function singlePassingRun(filename: string): Layer.Layer<DataReader | DataStore | import("@effect/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | import("@effect/platform-node/NodeContext").NodeContext, DataStoreError | import("@effect/sql/Migrator").MigrationError | import("@effect/sql/SqlError").SqlError | import("effect/ConfigError").ConfigError, never>;
1511
+ declare function singlePassingRun(filename: string): Layer.Layer<DataReader | DataStore | import("effect/unstable/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | import("@effect/platform-node/NodeServices").NodeServices, DataStoreError | import("@effect/sql-sqlite-node/SqliteMigrator").MigrationError | import("effect/unstable/sql/SqlError").SqlError, never>;
1532
1512
  /** @public */
1533
- declare function withFailures(filename: string): Layer.Layer<DataReader | DataStore | import("@effect/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | import("@effect/platform-node/NodeContext").NodeContext, DataStoreError | import("@effect/sql/Migrator").MigrationError | import("@effect/sql/SqlError").SqlError | import("effect/ConfigError").ConfigError, never>;
1513
+ declare function withFailures(filename: string): Layer.Layer<DataReader | DataStore | import("effect/unstable/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | import("@effect/platform-node/NodeServices").NodeServices, DataStoreError | import("@effect/sql-sqlite-node/SqliteMigrator").MigrationError | import("effect/unstable/sql/SqlError").SqlError, never>;
1534
1514
  /** @public */
1535
- declare function flaky(filename: string): Layer.Layer<DataReader | DataStore | import("@effect/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | import("@effect/platform-node/NodeContext").NodeContext, DataStoreError | import("@effect/sql/Migrator").MigrationError | import("@effect/sql/SqlError").SqlError | import("effect/ConfigError").ConfigError, never>;
1515
+ declare function flaky(filename: string): Layer.Layer<DataReader | DataStore | import("effect/unstable/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | import("@effect/platform-node/NodeServices").NodeServices, DataStoreError | import("@effect/sql-sqlite-node/SqliteMigrator").MigrationError | import("effect/unstable/sql/SqlError").SqlError, never>;
1536
1516
  /** @public */
1537
- declare function withTddTask(filename: string): Layer.Layer<DataReader | DataStore | import("@effect/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | import("@effect/platform-node/NodeContext").NodeContext, BehaviorNotFoundError | DataStoreError | GoalNotFoundError | IllegalStatusTransitionError | import("@effect/sql/Migrator").MigrationError | import("@effect/sql/SqlError").SqlError | TddTaskAlreadyEndedError | TddTaskNotFoundError | import("effect/ConfigError").ConfigError, never>;
1517
+ declare function withTddTask(filename: string): Layer.Layer<DataReader | DataStore | import("effect/unstable/sql/SqlClient").SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient | import("@effect/platform-node/NodeServices").NodeServices, BehaviorNotFoundError | DataStoreError | GoalNotFoundError | IllegalStatusTransitionError | import("@effect/sql-sqlite-node/SqliteMigrator").MigrationError | import("effect/unstable/sql/SqlError").SqlError | TddTaskAlreadyEndedError | TddTaskNotFoundError, never>;
1538
1518
  //#endregion
1539
1519
  export { type AcceptanceMetrics, Agent, AgentId, AgentNotFoundError, AgentReport, type ArtifactKind, type AssociateRunSessionInput, BehaviorDetail, BehaviorNotFoundError, BehaviorRow, BehaviorStatus, CacheManifest, type ChangeKind, ChatId, type CitedArtifact, type CitedArtifactRow, type CommitChangesEntry, CoverageBaselines, CoverageReport, type CreateBehaviorInput, type CreateGoalInput, type CurrentTddPhase, DataReader, DataStore, DataStoreError, DataStoreTestLayer, type EndTddTaskInput, type FailureSignatureDetail, type FailureSignatureWriteInput, type FileCoverageInput, FileCoverageReport, type FlakyTest, GoalDetail, GoalNotFoundError, GoalRow, GoalStatus, HistoryRecord, type HypothesisDetail, type HypothesisInput, IdempotencyHit, type IdempotentResponseInput, type IllegalStatusTransitionEntity, IllegalStatusTransitionError, type ModuleInput, type ModuleListEntry, type NoteInput, type NoteRow, type PersistentFailure, type Phase, type ProjectRunSummary, type RegisterAgentInput, RegistrationConflictError, type RunChangedFile, type RunInvocationMethod, type SessionDetail, type SessionInput, type SettingsInput, type SettingsListEntry, type SettingsRow, type StackFrameInput, type SuiteInput, type SuiteListEntry, type TagInventoryRow, type TddArtifactDetail, type TddArtifactRow, type TddPhaseDetail, TddTaskAlreadyEndedError, type TddTaskDetail, type TddTaskEndOutcome, type TddTaskInput, TddTaskNotFoundError, type TddTaskSummary, type TestCaseInput, type TestError, type TestErrorInput, type TestListEntry, type TestRunInput, TrendEntry, TrendRecord, type TurnInput, type TurnSearchOptions, type TurnSummary, type UpdateBehaviorInput, type UpdateGoalInput, type ValidateHypothesisInput, type WriteCommitInput, type WriteRunChangedFilesInput, type WriteTddArtifactInput, type WriteTddPhaseInput, type WriteTddPhaseOutput, empty, flaky, makeTestLayer, singlePassingRun, withFailures, withTddTask };
1540
1520
  //# sourceMappingURL=testing.d.ts.map