Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
import type { IpcErrorCode } from './ipc-errors';
/** Stable failure codes for the local HTML system-browser opener. */
export type BrowserFileOpenErrorCode = Extract<IpcErrorCode, `BROWSER_FILE_${string}`>;
export type BrowserFileOpenResult =
| { success: true }
| { success: false; error: string; errorCode: BrowserFileOpenErrorCode };