UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

30 lines • 1.26 kB
import { type FileMonitorRecord, type RegisterFileMonitorOptions } from "./file-monitor-record.ts"; import type { MonitorSourceHost } from "./monitor-types.ts"; export type { FileMonitorRecord, RegisterFileMonitorOptions } from "./file-monitor-record.ts"; export declare class FileMonitorSource { #private; constructor(host: MonitorSourceHost, reserve: (() => (() => void) | null) | undefined); get(id: string): FileMonitorRecord | undefined; values(): IterableIterator<FileMonitorRecord>; keys(): IterableIterator<string>; /** Attachment parking is independent of persisted monitor mute and wake budgets. */ setParked(parked: boolean): void; get parked(): boolean; dispose(): void; registerFile(options: RegisterFileMonitorOptions): Promise<{ id: string; monitorId: string; }>; /** Live identity tuple of one file watch; undefined when the id is not a live file watch. */ fileCheckpoint(id: string): { dev: number; ino: number; size: number; mtimeMs: number; digest: string; present: boolean; } | undefined; stopFile(id: string): Promise<boolean>; stopAllFiles(): Promise<number>; } //# sourceMappingURL=file-monitor-source.d.ts.map