/** * `/api/prime-agent-channel/*` — the daemon half of the Prime Agent chat surface. * * Structurally this is `routes/hermes.ts` minus everything Hermes needs and * Prime Agent does not: no OpenAI-compatible second protocol and no attachment * provenance verification (the Node UI does not offer attachments for this * integration yet). * What remains is the part that has to be right — target selection, the auth * header, and the SSE pump. * * The one behaviour worth reading carefully is target selection. Hermes has one * configured bridge; Prime Agent has one bridge PER LIVE SESSION, discovered * from a directory. So an unaddressed message must not be silently broadcast or * silently routed to an arbitrary session — see `resolveTargets` below. */ import type { RequestContext } from './context.js'; export declare function handlePrimeAgentRoutes(ctx: RequestContext): Promise; //# sourceMappingURL=prime-agent.d.ts.map