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.

644 B
Raw Blame
import { pnpmEnv, store } from "./context.ts";
import type { TaskRecord } from "./state.ts";
import { createWindowsTester } from "./windows/orchestrate.ts";
import type { WindowsTestOptions } from "./windows/types.ts";

export type {
  WindowsCheck,
  WindowsStageReceipt,
  WindowsTestOptions,
  WindowsTestResult,
} from "./windows/types.ts";

/** Fixed, isolated Windows checks; no installer, owner restart or model-generated commands. */
export async function testWin(task: TaskRecord, options: WindowsTestOptions = {}) {
  return createWindowsTester({ dir: store.dir, env: pnpmEnv, host: process.platform })(
    task,
    options,
  );
}