UNPKG

@phren/cli

Version:

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

8 lines (7 loc) • 547 B
import type { PermissionModeName } from "./permission-mode.js"; /** Claude's permission mode from the footer line its TUI draws under the * composer. The transcript lags it: a `permission-mode` row is written only * when a prompt is submitted, and a fresh session has no file yet. The line may * trail hints ("(shift+tab to cycle) · 1 agent"), so only its start counts. A * mode the footer does not mark is `undefined`: "manual mode on" is default. */ export declare function claudeFooterMode(screen: string): PermissionModeName | undefined;