UNPKG

@code-yeongyu/senpi

Version:

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

17 lines • 773 B
export interface CompactReadClassification { readonly kind: "docs" | "resource" | "skill" | "memory"; readonly label: string; readonly headline?: string; } export type ReadClassifier = (input: { readonly absolutePath: string; readonly cwd: string; }) => CompactReadClassification | undefined; /** Register a compact read classifier. The returned function removes this registration. */ export declare function registerReadClassifier(classifier: ReadClassifier): () => void; /** First registered classifier to claim a path wins; a failed classifier cannot block later ones. */ export declare function classifyRead(input: { absolutePath: string; cwd: string; }): CompactReadClassification | undefined; //# sourceMappingURL=read-classifiers.d.ts.map