Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

721 B
Raw Blame
declare const MAIN_WINDOW_VITE_DEV_SERVER_URL: string;
declare const MAIN_WINDOW_VITE_NAME: string;

declare module 'electron-squirrel-startup' {
  const started: boolean;
  export default started;
}

interface ElectronAPI {
  platform: string;
  windowMinimize: () => void;
  windowMaximize: () => void;
  windowClose: () => void;
  anySessionInTurn: () => Promise<boolean>;
  safeStorageStore: (key: string, value: string) => Promise<boolean>;
  safeStorageRead: (key: string) => Promise<string | null>;
  safeStorageRemove: (key: string) => Promise<void>;
  openFeishuOAuth: (authUrl: string, expectedState: string) => Promise<{ code: string } | { error: string }>;
}

interface Window {
  electronAPI: ElectronAPI;
}