eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
21 lines (20 loc) • 965 B
TypeScript
/**
* Workflow metadata is deployment-specific, so on Vercel it can point at
* the generated deployment URL. Production callbacks need the stable
* project production URL instead so other services can post back through
* the same trusted source configuration users set up for the production
* agent.
*/
export declare function resolveVercelProductionCallbackBaseUrl(): string | null;
/**
* Resolves the origin used for framework-owned workflow callbacks.
*
* Workflow metadata falls back to port 3000 when its optional local port
* discovery is unavailable. eve already configures the local world with the
* active dev-server origin, so prefer that value before the metadata fallback.
*/
export declare function resolveWorkflowCallbackBaseUrl(metadataUrl: string): string;
/**
* Builds a framework-owned callback URL from a resolved callback origin.
*/
export declare function createWorkflowCallbackUrl(baseUrl: string, callbackPath: string): string;