@intisy/bayonet
    Preparing search index...

    Interface HostDescriptor

    What a plugin may know about its host.

    Deliberately not a plugin registry: a plugin adapts to which surfaces exist, never to which app it happens to be in.

    interface HostDescriptor {
        api: number;
        app: string;
        surfaces: string[];
    }
    Index
    api: number

    The API major version this host implements.

    app: string

    The app id, for example claude or opencode.

    surfaces: string[]

    Surface ids this host renders, for example tui or gui. An unknown id is ignored.