eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
13 lines (12 loc) • 906 B
TypeScript
export declare const SERIALIZED_INSTRUMENTATION_STATE_KEYS: {
readonly activeChannelDeliveries: "eve.activeChannelDeliveries";
readonly actionScopes: "eve.harness.instrumentationActionScopes";
readonly inputScopes: "eve.harness.instrumentationInputScopes";
readonly providerState: "eve.harness.instrumentationState";
};
/** Keeps instrumentation state needed to settle operations opened by a discarded step. */
export declare function preserveSerializedInstrumentationState(original: Record<string, unknown>, interrupted: Record<string, unknown>): Record<string, unknown>;
/** Keeps only the observability state a retained background task needs before readiness. */
export declare function preserveSerializedBackgroundTaskObservabilityState(original: Record<string, unknown>, completed: Record<string, unknown>, tasks: readonly {
readonly taskId: string;
}[]): Record<string, unknown>;