@phren/cli
Version:
Knowledge layer for AI agents - CLI, MCP server, and data layer
9 lines (8 loc) • 633 B
TypeScript
/** Harness-native prompt identities, normalized once for both the lifecycle
* callback and the transcript reader. Claude is the only harness with a
* prompt-specific identity today; other harnesses leave the field absent. */
/** A bounded, opaque Claude prompt id. Absent, malformed or oversized ids stay
* unavailable rather than being inferred from text, time or transcript order. */
export declare function claudePromptEntryId(value: unknown): string | undefined;
/** Validate an already-normalized wire value (the Hook's callback body). */
export declare function normalizedPromptEntryId(value: unknown): string | undefined;