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';
@@ -45,7 +46,7 @@ async function shot(name) {
screenshots.push({ path: file, sha256: createHash('sha256').update(fs.readFileSync(file)).digest('hex') });
fs.writeFileSync(path.join(directory, name + '.txt'), await page.locator('body').innerText());
}
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 add() { await open(); await dialog().getByRole('button', { name: '从上游添加模型', exact: true }).click(); await catalog().waitFor(); }
async function fetchModels() { await catalog().getByRole('button', { name: /获取上游模型|重新获取模型目录/ }).click(); await expect(catalog().getByLabel('上游模型列表', { exact: true })).toBeVisible(); }
try {