pi-mono/apps/p2/plugins/terminals/log-preload.ts
Mario Zechner 05dc8d239d feat: add apps/p2 (imported from pi-private at 7dadff697)
p2 (Pi Mobile on Chord v2) moves from pi-private into pi as one commit. Root scripts that loop all workspaces
use --if-present; npm test, ./test.sh and the release script cover packages/* only (p2: cd apps/p2 && npm test);
sync-versions also updates apps' workspace pins.
2026-11-03 13:39:06 +00:00

5 lines
277 B
TypeScript

// Runs before main.ts is parsed, so terminal-host startup failures also reach the bounded redacted log snapshot.
import { capturePublishedLogs } from "../../src/runtime/logs.ts";
const directory = process.argv[2];
if (directory) capturePublishedLogs("terminals", directory);