The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import * as Schema from "effect/Schema"; |
| 2 | |
| 3 | import { TrimmedNonEmptyString } from "./baseSchemas.ts"; |
| 4 | |
| 5 | export class OrchestrationDispatchCommandError extends Schema.TaggedError<OrchestrationDispatchCommandError>()( |
| 6 | "OrchestrationDispatchCommandError", |
| 7 | { |
| 8 | message: TrimmedNonEmptyString, |
| 9 | cause: Schema.optional(Schema.Defect()), |
| 10 | bootstrapThreadDisposition: Schema.optional(Schema.Literals(["deleted", "not-created"])), |
| 11 | }, |
| 12 | ) {} |