UNPKG

@phren/cli

Version:

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

13 lines (12 loc) • 804 B
import { type Json } from "./protocol.js"; import type { TerminalPane, TerminalProvider } from "./terminal.js"; /** Who reports phren-agent's lifecycle to Herdr, which does not detect it itself. */ export declare const PHREN_REPORT_SOURCE = "phren-hook"; /** A word for a POSIX shell, quoted only when it needs it. */ export declare function shellWord(word: string): string; /** What the Hook types into a Herdr pane's shell to start phren-agent: * the agent, then Herdr's report of it released once it exits. */ export declare function phrenCommandLine(args: string[]): string; /** A Herdr snapshot's panes in the provider's shape; Herdr's agent report becomes hints. */ export declare function herdrPanes(server: string, s: Json): TerminalPane[]; export declare const herdrTerminal: TerminalProvider;