bash pi install https://github.com/davebcn87/pi-autoresearch bash cp -r extensions/pi-autoresearch /.pi/agent/extensions/ cp -r skills/autoresearch-create /.pi/agent/skills/ /skill:autoresearch-create typescript await init experiment({ name: "vitest-speed", metric: "seconds", unit: "s", direction: "lower", // "lower" | "higher" }); typescript const result = await run experiment({ command: "pnpm test --run", timeout seconds: 120, // optional, default 300 checks timeout seconds: 300, // optional, for checks script }); // result: { exit code, duration seconds, stdout, stderr } typescript await l…