feat: introduce Orven brand and task-focused workspace

This commit is contained in:
Agent Workbench Dev
2026-11-06 14:08:53 +08:00
parent 16fb10ca15
commit b4b139a1ba
74 changed files with 1266 additions and 103 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
import { openWorkbenchTool } from './ui-navigation.mjs';
import fs from 'node:fs';
import path from 'node:path';
import net from 'node:net';
@@ -20,7 +21,7 @@ const disposers = [], t = { after: fn => disposers.push(fn) }, f = fixture(t), c
let host, controller, browser, application, page, window, result;
const dialog = () => page.getByRole('dialog', { name: '模型中心', exact: true });
const mark = name => { checks.push(name); console.log('PASS ' + name); };
async function open() { if (!await dialog().count()) await page.getByRole('button', { name: '打开模型中心', exact: true }).click(); }
async function open() { if (!await dialog().count()) await openWorkbenchTool(page, '打开模型中心'); }
async function resize(width) {
if (window) { await window.evaluate((win, size) => win.setContentSize(size.width, size.height), { width, height: 1080 }); await until(() => page.evaluate(w => innerWidth === w, width)); }
else await page.setViewportSize({ width, height: 1080 });