UNPKG

@phren/cli

Version:

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

16 lines (15 loc) • 848 B
import type { ComputerReport } from "../computers/read.js"; /** * `phren heavy -- pnpm test`: run one heavy job (a full test run, a native * build) once this computer has a slot for it. Up to the budget's * `heavySlots` run at once; waiting jobs start release work first, then in * arrival order. The command's own exit code is returned; 75 when it never * started (timeout). Messages go to stderr so the command's stdout is untouched. */ export declare function runHeavy(args: string[]): Promise<number>; /** * Where this job could run instead. Phren cannot move a command yet, only an * agent: a dispatched worker in a fresh worktree on that computer runs it and * reports back (docs/fanout.md, "Heavy runs on another computer"). */ export declare function elsewhereHint(computers: ComputerReport[], label: string): string | undefined;