/** * Plugin-owned file log — mirrors the harness logger facades (`harness`, * `continual-harness`) into a JSONL file under the harness home, with a * simple size-based rotation to `.1`. * * The exporter never throws: a log failure must never break the agent loop. * @module dsh-continual-harness */ import type { Context } from '@deepseek-ai/cordis'; /** File name of the plugin-owned log inside the harness home. */ export declare const PLUGIN_LOG_FILE_NAME = "continual-harness.log"; /** Options controlling where and how the file log is written. */ export interface FileLogOptions { /** Absolute path of the log file. */ file: string; /** Rotation cap in bytes; 0 disables rotation. */ maxBytes: number; } /** * Register a logger exporter that appends harness records to `options.file`. * @param ctx - Cordis context whose logger service receives the exporter. * @param options - destination and rotation cap. */ export declare function attachFileLog(ctx: Context, options: FileLogOptions): void; //# sourceMappingURL=logfile.d.ts.map