repo_description: ✨ Light and Fast AI Assistant. Support: Web | iOS | MacOS | Android |  Linux | Windows
repo_topics: calclaude chatgpt claude cross-platform desktop fe gemini gemini-pro gemini-server gemini-ultra gpt-4o groq nextjs ollama react tauri tauri-app vercel webui
code: export function merge(target: any, source: any) {
    Object.keys(source).forEach(function (key) {
      if (
        source.hasOwnProperty(key) && // Check if the property is not inherited
        source[key] &&
        typeof source[key] === "object" || key === "__proto__" || key === "constructor"
      ) {
        merge((target[key] = target[key] || {}), source[key]);
        return;
      }
      target[key] = source[key];
    });
  } 