@phren/cli
Version:
Knowledge layer for AI agents - CLI, MCP server, and data layer
13 lines (12 loc) • 811 B
TypeScript
import type { BrowserWatch, Json } from "./protocol.js";
/** Successful Hook launches provide evidence without inspecting an environment. */
export declare function noteBrowserLaunch(pids: readonly number[], env: Record<string, string> | undefined, place?: {
server: string;
pane: Json;
}): void;
/** Never await process inspection on a session-list path. Only inspect the
* agent PID the caller already resolved; no ps subprocesses on macOS. */
export declare function browserWatch(pid: number | undefined): BrowserWatch;
/** A reported conversation can skip PID lookup. Reuse only this launch's
* terminal, harness and conversation; a replacement retires the evidence. */
export declare function paneBrowserWatch(server: string, pane: Json, session: string | undefined, pid?: number): BrowserWatch;