/** * FirebaseDataLogger.ts — Firebase/Firestore implementation stub. * * MIGRATION GUIDE (when ready to move from CSV → Firebase): * * 1. Install the Firebase Admin SDK: * npm install firebase-admin --save * * 2. Set up a service account key at ~/.careervivid/firebase-service-account.json * OR use GOOGLE_APPLICATION_CREDENTIALS env var. * * 3. Create a Firestore collection named "agent_eval_results" in your project. * * 4. Uncomment the implementation below and remove the NotImplementedError. * * 5. In cli/src/eval/index.ts (or eval.ts command), change: * const logger = new CsvDataLogger(csvOpts); * to: * const logger = new FirebaseDataLogger({ projectId: "jastalk-firebase" }); * * That's it. No other files need to change. */ import type { IDataLogger } from "./IDataLogger.js"; import type { EvalResult, RunSummary } from "../types.js"; export interface FirebaseDataLoggerOptions { /** GCP project ID (e.g. "jastalk-firebase") */ projectId: string; /** Firestore collection name. Default: "agent_eval_results" */ collection?: string; /** Path to service account JSON. Falls back to ADC if omitted. */ serviceAccountPath?: string; } /** * Placeholder FirebaseDataLogger that satisfies IDataLogger but throws * NotImplementedError on any call. Replace with the real implementation * when migrating from CSV storage. */ export declare class FirebaseDataLogger implements IDataLogger { private readonly projectId; private readonly collection; constructor(options: FirebaseDataLoggerOptions); log(_result: EvalResult): Promise; flush(): Promise; close(): Promise; logSummary(_summary: RunSummary): Promise; private throwNotImplemented; } //# sourceMappingURL=FirebaseDataLogger.d.ts.map