@phren/cli
Version:
Knowledge layer for AI agents - CLI, MCP server, and data layer
25 lines (24 loc) • 1.51 kB
TypeScript
/** The oldest writers that keep task metadata when they rewrite a task. */
export declare const taskFormatCurrentWriters = "Phren CLI, MCP and Hook 0.3.30, iOS build 177, Android 1.0.5";
export declare const taskFormatMigrationHint = "Task metadata is off for this store. Once every app and tool that writes it is current (Phren CLI, MCP and Hook 0.3.30, iOS build 177, Android 1.0.5 or later), an owner can turn it on with phren task format enable --all-writers-compatible.";
/** An explicit store-owner acknowledgement, not inferred from one serving Hook.
* It cannot fence an old binary that ignores this file: coordinated adoption of
* every writer remains a prerequisite, and is stated at the activation boundary. */
export declare function taskFormatStatus(base: string): {
enabled: boolean;
version: 1;
acknowledgedAt?: string;
};
/** Wire status describes admission, never proof that old filesystem/Git writers
* have been upgraded. Such writers do not consult our activation file. */
export declare function taskWriterSafety(base: string): {
version: 1;
metadataVersion: 1;
activation: "disabled" | "owner-acknowledged";
requiresCoordinatedAdoption: true;
legacyWritersFenced: false;
acknowledgedAt?: string | undefined;
};
export declare function enableTaskFormat(base: string, allWritersCompatible: boolean): void;
/** A store phren has just created has no old writers, so metadata starts on. */
export declare function initializeTaskFormat(base: string): void;