UNPKG

@adonis-agora/agent

Version:

Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.

11 lines • 566 B
import type { HttpContext } from '@adonisjs/core/http'; import type { NextFn } from '@adonisjs/core/types/http'; /** * Server middleware that answers Poppy requests before the router runs — before the bodyparser, * the session and CSRF, like the A2A surface: a Poppy request is authenticated by its Session * Token (DPoP), BEFORE its body is read. Everything outside the endpoint passes straight through. */ export default class PoppyServerMiddleware { handle(ctx: HttpContext, next: NextFn): Promise<any>; } //# sourceMappingURL=server_middleware.d.ts.map