@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
19 lines • 608 B
TypeScript
import type { TodoItem, TodoPhase } from "./todo-types.ts";
type TaskHit = {
task: TodoItem;
phase: TodoPhase;
};
export type FuzzyTaskResolution = {
hit?: TaskHit;
corrected: boolean;
suggestion?: string;
};
export type FuzzyPhaseResolution = {
hit?: TodoPhase;
corrected: boolean;
suggestion?: string;
};
export declare function fuzzyResolveTask(phases: readonly TodoPhase[], query: string): FuzzyTaskResolution;
export declare function fuzzyResolvePhase(phases: readonly TodoPhase[], name: string): FuzzyPhaseResolution;
export {};
//# sourceMappingURL=fuzzy-match.d.ts.map