UNPKG

@phren/cli

Version:

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

14 lines (13 loc) • 747 B
/** The production `done` probe for manual owner inbox items: their linked * pull request says the owner's action already happened. Evidence is * read through caches that never block a tick (a pull read starts here and a * later tick sees it), and anything missing, unread or still open leaves the * item alone. */ import type { ForgeItem } from "../forge/links.js"; import type { InboxItem } from "./owner-inbox.js"; /** Test seams: the forge pull read. */ export interface DoneReaders { pull?: (url: string) => Promise<ForgeItem | undefined>; } /** Item id → resolution for the open manual items whose action happened. */ export declare function ownerInboxDone(items: InboxItem[], readers?: DoneReaders): Promise<Map<string, string>>;