新增 AutoRDO 需求清洗工作台与消息中枢,迭代 OneOS V2 设计规范及租赁合同/工作台/车辆等原型,同步云效技能与导航注册;并归档一批 legacy 原型快照。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
王冕
2026-07-28 15:50:35 +08:00
parent b14425da5a
commit 5d51a6bf7a
1393 changed files with 488042 additions and 10046 deletions

View File

@@ -0,0 +1,31 @@
import puppeteer from 'puppeteer';
import path from 'path';
async function main() {
const browser = await puppeteer.launch({
executablePath: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
headless: true,
args: ['--no-sandbox', '--disable-setuid-sandbox']
});
const page = await browser.newPage();
await page.setViewport({ width: 1440, height: 900, deviceScaleFactor: 2 });
const url = 'http://localhost:51720/prototypes/oneos-v2';
await page.goto(url, { waitUntil: 'networkidle2', timeout: 15000 });
await new Promise(r => setTimeout(r, 2000));
await page.evaluate(() => {
const el = document.getElementById('sec-buttons');
if (el) el.scrollIntoView({ behavior: 'auto' });
});
await new Promise(r => setTimeout(r, 600));
const shotButtonsPath = path.resolve('.tmp-ds-showcase-buttons.png');
await page.screenshot({ path: shotButtonsPath, fullPage: false });
console.log(`Captured Buttons section screenshot to ${shotButtonsPath}`);
await browser.close();
}
main().catch(console.error);