eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
9 lines (8 loc) • 440 B
TypeScript
/**
* Builds a fetchable URL from a caller-provided host and an eve route path.
*
* `host` may be an absolute origin (`https://agent.example.com`) or a
* same-origin prefix (`/api`). Prefixes are important for browser clients that
* talk to an app-owned proxy instead of the eve deployment directly.
*/
export declare function createClientUrl(host: string, routePath: string, searchParams?: Readonly<Record<string, string>>): string;