Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

387 B
Raw Blame
import { OrchestrationDispatchCommandError } from "@akeru/contracts";
import * as Schema from "effect/Schema";

const isOrchestrationDispatchCommandError = Schema.is(OrchestrationDispatchCommandError);

export function wasBootstrapThreadDeleted(cause: unknown): boolean {
  return (
    isOrchestrationDispatchCommandError(cause) && cause.bootstrapThreadDisposition === "deleted"
  );
}