Skip to content

armgit / pibot

Public Imported from GitHub
0

Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.

406 B
Raw Blame
export interface PreparedApprovalFolderChange {
  /** Runs inside the approval's resolution transaction, after the pending-card check. */
  commit(): void;
  /** Only in-memory snapshot replacement, after the transaction really committed. */
  committed(): void;
}

export type ApprovalFolderChange = (
  signal: AbortSignal,
  assertPending: () => void,
) => Promise<PreparedApprovalFolderChange | null>;