chore(effect): update to beta.107 (#43109)

This commit is contained in:
Kit Langton
2026-08-17 17:54:08 -04:00
committed by GitHub
parent 8fc65b3038
commit d9b81d2233
91 changed files with 1332 additions and 1117 deletions
@@ -32,7 +32,7 @@ export type ProviderResponseEvent =
| SimulationProtocol.Backend.Item
| { readonly type: "finish"; readonly reason: SimulationProtocol.Backend.FinishReason }
export class ProviderDisconnectedError extends Schema.TaggedErrorClass<ProviderDisconnectedError>()(
export class ProviderDisconnectedError extends Schema.TaggedError<ProviderDisconnectedError>()(
"SimulatedProvider.ProviderDisconnectedError",
{ message: Schema.String },
) {}
@@ -132,22 +132,22 @@ interface ToolDriver {
readonly shutdown: Effect.Effect<void>
}
class InvocationNotFoundError extends Schema.TaggedErrorClass<InvocationNotFoundError>()(
class InvocationNotFoundError extends Schema.TaggedError<InvocationNotFoundError>()(
"SimulatedProvider.InvocationNotFoundError",
{ id: Schema.String, message: Schema.String },
) {}
class ControllerDisconnectedError extends Schema.TaggedErrorClass<ControllerDisconnectedError>()(
class ControllerDisconnectedError extends Schema.TaggedError<ControllerDisconnectedError>()(
"SimulatedProvider.ControllerDisconnectedError",
{ message: Schema.String },
) {}
class ToolInvocationNotFoundError extends Schema.TaggedErrorClass<ToolInvocationNotFoundError>()(
class ToolInvocationNotFoundError extends Schema.TaggedError<ToolInvocationNotFoundError>()(
"SimulatedProvider.ToolInvocationNotFoundError",
{ id: Schema.String, message: Schema.String },
) {}
class ToolControllerError extends Schema.TaggedErrorClass<ToolControllerError>()(
class ToolControllerError extends Schema.TaggedError<ToolControllerError>()(
"SimulatedProvider.ToolControllerError",
{ message: Schema.String },
) {}
+1 -1
View File
@@ -43,7 +43,7 @@ export const Manifest = Schema.Struct({
})
export interface Manifest extends Schema.Schema.Type<typeof Manifest> {}
export class ResolveError extends Schema.TaggedErrorClass<ResolveError>()("DriveManifest.ResolveError", {
export class ResolveError extends Schema.TaggedError<ResolveError>()("DriveManifest.ResolveError", {
reason: Schema.Literals(["config", "not-found", "read", "decode"]),
path: Schema.optionalKey(Schema.String),
message: Schema.String,