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.

550 B
Raw Blame
// Narrow private failure injection; the normal directory validation remains real.

import * as actual from "../../../../packages/routines/src/host/dev/dev.ts";
import { ownerProbe } from "./probe-background-owner-electron.ts";
export const routineTestDirectory = actual.routineTestDirectory;
export function registerRoutineDev(options: Parameters<typeof actual.registerRoutineDev>[0]) {
  if (ownerProbe.scenario === "init-fail-child")
    throw new Error("private post-spawn initialization failure");
  return actual.registerRoutineDev(options);
}