@cavell/kit API
    Preparing search index...

    Class CavellController

    Index
    agent: HttpAgent
    core: CopilotKitCoreReact
    store: StoreApi
    • Open an existing conversation: an init run on the thread replays it (MESSAGES_SNAPSHOT).

      Parameters

      • threadId: string

      Returns Promise<void>

    • Resolve a pending approval (approval:* id) — resume envelope per ADR 0004 §4.

      Parameters

      • approvalId: string
      • approved: boolean
      • Optionalmodifications: Record<string, unknown>

      Returns Promise<void>

    • Where a tool executes: registered on the core = frontend (host) tool, else the agent's.

      Parameters

      • toolName: string

      Returns "server" | "frontend"

    • Keep mutable config (headers/context/locale) fresh without recreating the controller.

      Parameters

      • config: ControllerConfig

      Returns void