SheetXL - v1.0.2
    Preparing search index...

    Interface PresenceHost

    The one seam between presence and whatever carries the agent's traffic.

    Presence knows nothing about the transport. A host that relays MCP tool calls into the page implements this; so would one that runs the agent in-process.

    interface PresenceHost {
        answerPrompt(promptId: string, answer: PresencePromptAnswer): void;
        notify?(event: PresenceUserEvent): void;
        subscribe(listener: (event: PresenceHostEvent) => void): () => void;
    }
    Index
    • Everything the agent side pushes at the view. Returns the unsubscribe.

      Parameters

      Returns () => void