chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-10 16:30:55 +00:00
parent 2bd3d9a696
commit b616543ac2
5 changed files with 18 additions and 21 deletions
+7 -7
View File
@@ -34,13 +34,13 @@ export const appendOrFail = (
interaction: Interaction,
metadata: CassetteMetadata | undefined,
): Effect.Effect<void, UnsafeCassetteError> =>
cassette.append(name, interaction, metadata).pipe(
Effect.flatMap(({ findings }) =>
findings.length === 0
? Effect.void
: Effect.fail(new UnsafeCassetteError({ cassetteName: name, findings })),
),
)
cassette
.append(name, interaction, metadata)
.pipe(
Effect.flatMap(({ findings }) =>
findings.length === 0 ? Effect.void : Effect.fail(new UnsafeCassetteError({ cassetteName: name, findings })),
),
)
export interface ReplayState<T> {
readonly load: Effect.Effect<ReadonlyArray<T>, CassetteNotFoundError>