Skip to content

Computer use for the Pi coding agent — Windows apps, browsers and desktops through native UI trees, screenshots and real input.

416 B
Raw Blame
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
import selectedDisplayFixture from "./selected-display-extension.ts";

// Restore an isolated trusted user choice, not a model permission toggle.
export default function selectedDisplaySafeFixture(pi: ExtensionAPI): void {
  pi.on("session_start", () => { pi.appendEntry("computer-use-mode", { mode: "safe" }); });
  selectedDisplayFixture(pi);
}