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.

391 B
Raw Blame
import type { GitResourceSnapshot } from "@pibot/execution";
import { type GitResourceFacts, GitResourceFactsSchema } from "@pibot/protocol-base";

/** The execution boundary owns discovery; this adapter cannot infer an approval from its facts. */
export function toPolicyGitResourceFacts(snapshot: GitResourceSnapshot): GitResourceFacts {
  return GitResourceFactsSchema.parse(snapshot);
}