Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/agents-desktop-cloud-auth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@electric-ax/agents-desktop': patch
'@electric-ax/agents-server': patch
'@electric-ax/agents-server-ui': patch
'@electric-ax/agents': patch
---

Add Electric Cloud sign-in to the desktop app. New Settings → Account panel signs in via GitHub or Google through `dashboard.electric-sql.cloud`'s loopback OAuth flow (the same one the CLI uses), encrypts the resulting JWT with `safeStorage`, refreshes name + workspaces via `auth.whoami`, and offers a one-click jump to the user's Electric Cloud dashboard.

Add first-launch onboarding for Electric Cloud sign-in and LLM API keys, plus a Cloud Agent Servers settings section that syncs the user's Cloud agent servers, mints per-tenant agents tokens in the main process, and connects the desktop runtime/UI to tenant-scoped Cloud agents URLs without exposing those tokens to the renderer or `settings.json`.
6 changes: 4 additions & 2 deletions packages/agents-desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"main": "./dist/main.cjs",
"scripts": {
"build": "pnpm --filter @electric-ax/agents build && pnpm --filter @electric-ax/agents-server-ui build:desktop && vite build",
"dev": "pnpm --filter @electric-ax/agents build && pnpm run ensure:electron && concurrently -k -n ui,desktop -c cyan,green \"pnpm run dev:ui\" \"pnpm run dev:desktop\"",
"dev": "pnpm run ensure:electron && concurrently -k -n ui,desktop -c cyan,green \"pnpm run dev:ui\" \"pnpm run dev:desktop\"",
"dev:ui": "pnpm --filter @electric-ax/agents-server-ui dev:desktop",
"dev:desktop": "wait-on -d 200 http-get://localhost:5183 && vite",
"build:icons": "node scripts/build-icons.mjs",
Expand All @@ -26,13 +26,15 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@electric-sql/client": "^1.5.15",
"@mixmark-io/domino": "^2.2.0",
"better-sqlite3": "^12.9.0",
"jsdom": "^28.1.0",
"pino": "^10.3.1",
"pino-pretty": "^13.0.0",
"sqlite-vec": "^0.1.9",
"turndown-plugin-gfm": "^1.0.2"
"turndown-plugin-gfm": "^1.0.2",
"undici": "^7.24.7"
},
"devDependencies": {
"@electric-ax/agents": "workspace:*",
Expand Down
Loading
Loading