feat(pi): implement milestone M2 - script-backed skills

This commit is contained in:
Stefano Fiorini
2026-04-23 16:04:39 -05:00
parent 7ba6f90e14
commit 51372eb420
32 changed files with 5299 additions and 1 deletions
@@ -0,0 +1,23 @@
import { launch } from 'cloakbrowser';
async function test() {
console.log('Launching CloakBrowser with minimal config...');
const browser = await launch({
headless: true,
humanize: true,
});
console.log('Browser launched');
const page = await browser.newPage();
console.log('Page created');
await page.goto('https://example.com', { timeout: 30000 });
console.log('Navigated to:', page.url());
console.log('Title:', await page.title());
await browser.close();
console.log('Done');
}
test().catch(console.error);