@adonis-agora/agent
Version:
Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.
20 lines • 700 B
TypeScript
import { type StoredKey } from './keys.js';
export declare const SESSION_JWT_TYP = "poppy-session+jwt";
/**
* The `Poppy-Session` JWT for one request (5.2), signed with the delegated key and carrying its
* delegation in `pap_dlg`. `kid` is the delegated key's thumbprint, which `StoredKey.kid` holds.
*/
export declare function signSessionJwt(input: {
key: StoredKey;
delegation: string;
clientId: string;
/** The Company's identifier (3.2). */
audience: string;
sid: string;
userId: string;
agentId?: string | undefined;
method: string;
url: string | URL;
accessToken?: string | undefined;
}): Promise<string>;
//# sourceMappingURL=session_jwt.d.ts.map