histoire
Version:
A fast story book powered by Vite
8 lines • 531 B
TypeScript
import type { AgentDistribution } from './registry-schema.js';
import { downloadAgentArchive } from './download.js';
/** Atomic, content-addressed installs shared across preparation requests. */
export declare function createAgentBinaryCache(cacheDir: string, download?: typeof downloadAgentArchive): {
/** Prepare one binary without deleting older versions used by active adapters. */
prepare(id: string, distribution: AgentDistribution, signal: AbortSignal): Promise<string>;
};
//# sourceMappingURL=binary-cache.d.ts.map