feat(agents): 完成云智能体工作台与交互流程

This commit is contained in:
brother7 committed 2026-09-10 19:25:12 +08:00
1 parent 46fbae9dec
commit 64a3cf4934
26 files changed
+1955 -49

No files matched your search

+2
View File
@@ -21,6 +21,7 @@ import {
import type { BackgroundLifecycleController, DesktopActivity } from './background-lifecycle';
import { collectPerformanceSnapshot } from './performance-diagnostics';
import type { HostApiContext } from '../api/context';
import { takeCloudAgentRoute } from './app-deep-link';
type UnifiedRequest = {
id?: string;
@@ -261,6 +262,7 @@ export function registerIpcHandlers(
ipcMain.handle('app:name', () => app.getName());
ipcMain.handle('app:platform', () => process.platform);
ipcMain.handle('app:getPath', (_event, name: Parameters<typeof app.getPath>[0]) => app.getPath(name));
ipcMain.handle('app:take-cloud-agent-link', () => takeCloudAgentRoute());
ipcMain.handle('app:quit', () => app.quit());
ipcMain.handle('app:relaunch', () => {
app.relaunch();