mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-10 03:28:14 +00:00
Adds user-controlled auto search functionality for memories across ChatGPT, Claude, and T3.chat with a settings toggle in the extension popup. Changes - Settings UI: Added new "Settings" tab in popup with toggle to enable/disable auto search - Auto Search: Automatically searches user memories while typing in chat apps (disabled by default) - Chat Integration: Supports ChatGPT, Claude, and T3.chat with consistent behavior - User Control: Users can enable/disable auto search via Settings tab - Storage: Added AUTO_SEARCH_ENABLED storage key with default value false Features - ✅ Auto search memories while typing (when enabled) - ✅ Manual search always available via supermemory icons - ✅ Works across all supported chat platforms - ✅ Real-time toggle without requiring page refresh
35 lines
864 B
TypeScript
35 lines
864 B
TypeScript
import tailwindcss from "@tailwindcss/vite"
|
|
import { defineConfig, type WxtViteConfig } from "wxt"
|
|
|
|
// See https://wxt.dev/api/config.html
|
|
export default defineConfig({
|
|
modules: ["@wxt-dev/module-react"],
|
|
vite: () =>
|
|
({
|
|
plugins: [tailwindcss()],
|
|
}) as WxtViteConfig,
|
|
manifest: {
|
|
name: "supermemory",
|
|
homepage_url: "https://supermemory.ai",
|
|
version: "6.0.002",
|
|
permissions: ["contextMenus", "storage", "activeTab", "webRequest", "tabs"],
|
|
host_permissions: [
|
|
"*://x.com/*",
|
|
"*://twitter.com/*",
|
|
"*://supermemory.ai/*",
|
|
"*://api.supermemory.ai/*",
|
|
"*://chatgpt.com/*",
|
|
"*://chat.openai.com/*",
|
|
"https://*.posthog.com/*",
|
|
],
|
|
web_accessible_resources: [
|
|
{
|
|
resources: ["icon-16.png", "fonts/*.ttf"],
|
|
matches: ["<all_urls>"],
|
|
},
|
|
],
|
|
},
|
|
webExt: {
|
|
chromiumArgs: ["--user-data-dir=./.wxt/chrome-data"],
|
|
},
|
|
})
|