pit-manager
Version:
Centralized prompt management system for Human Behavior AI agents
24 lines • 804 B
TypeScript
/**
* Online sync functionality for PIT execution tracking
* Automatically syncs execution data to Supabase in the background
*/
export declare class OnlineSyncManager {
private supabaseClient;
private repoId;
private syncInterval;
private isShuttingDown;
private repoPath;
private readonly SYNC_INTERVAL_MS;
private readonly SYNC_BATCH_SIZE;
constructor(repoPath: string);
private initialize;
private loadEnvFile;
private hashRepoKey;
private validateRepoKey;
private startBackgroundSync;
syncExecutions(): Promise<void>;
private setupShutdownHandlers;
static getInstance(repoPath: string): OnlineSyncManager;
}
export declare function initializeOnlineSync(repoPath: string): OnlineSyncManager;
//# sourceMappingURL=online-sync.d.ts.map