Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
脚本测试去掉已删除的 ghost-panel-window 窗口与入口
Dash77b8ccb38ef9
diff --git a/scripts/__tests__/design-inventory.test.mjs b/scripts/__tests__/design-inventory.test.mjsindex 9f0e69d956..96ce6c5e4a 100644--- a/scripts/__tests__/design-inventory.test.mjs+++ b/scripts/__tests__/design-inventory.test.mjs@@ -58,7 +58,7 @@ test('DS-8: every desktop globals.css surface includes its generated token styleconst { surfaces } = buildGeneratedSurfaces(ROOT);const consumers = surfaces.filter(surface => surface.platform === 'desktop'&& surface.styleSources.includes('apps/desktop/src/renderer/styles/globals.css'));- assert.equal(consumers.length, 6);+ assert.equal(consumers.length, 5);for (const surface of consumers) {assert.ok(surface.styleSources.includes('apps/desktop/src/renderer/styles/generated/tokens.css'), surface.id);}@@ -128,7 +128,6 @@ test('extractRouterFacts: 真实 router.tsx 的三类去向逐条钉死', () =>'/cc-agent/new NewMakerDraftRoute','/cc-agent/orca/:sessionId OrcaWorkflowRoute','/cc-agent/scheduled SchedulerPage',- '/ghost-panel-window GhostPanelWindowLayout','/issues IssueTrackerFeatureLayout','/login LoginPage','/maker-experimental MakerExperimentalView',@@ -932,15 +931,13 @@ test('设置页纳入 sortable.css(providers tab 拖拽行样式)', () => {});test('独立窗口 surface 纳入各自 entry 导入的 globals.css', () => {- // resource-usage-entry.tsx:9 / sidebar-window-entry.tsx:19 /- // ghost-panel-window-entry.tsx:21 都直接导入 globals.css,body/#root 基础+ // resource-usage-entry.tsx / sidebar-window-entry.tsx 都直接导入 globals.css,body/#root 基础// 样式与窗口专用规则在这些窗口实际生效。const globalsPath = 'apps/desktop/src/renderer/styles/globals.css';const catalog = catalogSurfaces();for (const surfaceId of ['desktop.window.resource-usage','desktop.window.sidebar',- 'desktop.window.ghost-panel',]) {const surface = catalog.find((entry) => entry.id === surfaceId);assert.ok(surface, surfaceId);@@ -953,7 +950,6 @@ test('独立窗口 surface 纳入各自 entry 导入的 globals.css', () => {for (const surfaceId of ['desktop.window.resource-usage','desktop.window.sidebar',- 'desktop.window.ghost-panel',]) {const generated = surfaces.find((entry) => entry.id === surfaceId);assert.ok(@@ -1018,7 +1014,6 @@ test('renderer 模块图入口双向核对: index.tsx 的参数→入口模块remoteDesktopViewer: './remote-desktop-viewer-entry',resourceUsageWindow: './resource-usage-entry',sidebarWindow: './sidebar-window-entry',- ghostPanelWindow: './ghost-panel-window-entry',});const covered = new Map(catalogSurfaces().flatMap((surface) =>diff --git a/scripts/test-workspaces.config.mjs b/scripts/test-workspaces.config.mjsindex b989d0d9bc..ae3e50d7e0 100644--- a/scripts/test-workspaces.config.mjs+++ b/scripts/test-workspaces.config.mjs@@ -164,7 +164,6 @@ const desktopGuardInclude = ['src/main/__tests__/authLegacyTokenMirror.test.ts','src/main/__tests__/authPassiveSharedInstance.test.ts','src/main/__tests__/authSessionExpiredDetection.test.ts',- 'src/main/ghost-panel-window/__tests__/preload-contract.test.ts','src/main/right-sidebar-window/__tests__/preload-contract.test.ts','src/main/maker-ipc/__tests__/piPackageEnableConfirmationIpc.test.ts','src/main/plugin-market/__tests__/ipcErrorBoundary.test.ts',