eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
17 lines (16 loc) • 751 B
TypeScript
/**
* Reads the dev server's runtime-artifacts revision — an opaque token that
* changes whenever the authored-source watcher recompiles (HMR). Consumers
* compare successive values to detect "the agent changed under me": the dev
* client rotates an active session before the next turn or while idle.
*
* Never throws: any transport failure, non-2xx response, or malformed body
* resolves to `undefined`, so callers treat "unknown" and "unreachable" the
* same way.
*/
export declare function readDevelopmentRuntimeArtifactsRevision(input: {
readonly serverUrl: string;
}): Promise<string | undefined>;
export declare function rebuildDevelopmentRuntimeArtifacts(input: {
readonly serverUrl: string;
}): Promise<string | undefined>;