feat: 设置面板添加代理配置 — web_search/web_fetch走HTTP代理(Clash等)

This commit is contained in:
thzxx
2026-06-10 15:38:56 +08:00
parent 3c54f15218
commit 3f11e7c3cd
6 changed files with 50 additions and 1 deletions
+1
View File
@@ -221,6 +221,7 @@ export interface MetonaDesktopAPI {
getConfig: () => Promise<{ allowedDirs: string[]; blockedDirs: string[] }>;
setAllowedDirs: (dirs: string[]) => Promise<void>;
setTimeouts: (timeouts: { http?: number; mcp?: number }) => Promise<{ success: boolean }>;
setProxy: (url: string) => Promise<void>;
};
notify: (title: string, body: string) => void;
window: {