UNPKG

@phren/cli

Version:

Knowledge layer for AI agents - CLI, MCP server, and data layer

19 lines (18 loc) • 717 B
interface TaskEntry { key: string; section: string; lines: string[]; } /** A tasks file with each repeated task id collapsed to its richest record; unchanged text when none repeat. */ export declare function dedupeTaskIds(content: string): { content: string; dropped: number; }; /** The winning version of one task, or undefined when it is removed. */ export declare function pickTask<T extends TaskEntry>(base: T | undefined, ours: T | undefined, theirs: T | undefined): T | undefined; /** * Merges three versions of a tasks.md. `base` is empty when the file was * added on both sides. */ export declare function mergeTasksByBid(base: string, ours: string, theirs: string): string; export {};