Chrome extension (#453)

* added chrome extension
* prepare chrome extension for web store submission
* retention 7 days
* gate chrome service with a flag
This commit is contained in:
arkml 2026-03-28 00:41:46 +05:30 committed by GitHub
parent 07d34471f5
commit 30e1785fe2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 1738 additions and 511 deletions

View file

@ -25,6 +25,7 @@ import { init as initAgentNotes } from "@x/core/dist/knowledge/agent_notes.js";
import { initConfigs } from "@x/core/dist/config/initConfigs.js";
import started from "electron-squirrel-startup";
import { execSync } from "node:child_process";
import { init as initChromeSync } from "@x/core/dist/knowledge/chrome-extension/server/server.js";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
@ -234,6 +235,9 @@ app.whenReady().then(async () => {
// start agent notes learning service
initAgentNotes();
// start chrome extension sync server
initChromeSync();
app.on("activate", () => {
if (BrowserWindow.getAllWindows().length === 0) {
createWindow();