CREDO23
cd9d8ca991
feat: rewrite use-comments-electric hook from Electric to Zero
...
Replace PGlite sync+live query+stream subscriber with Zero useQuery.
All transformation logic preserved exactly: nested comments, mention
rendering, permissions, React Query cache writes. 414 → 207 lines.
2026-03-23 19:08:17 +02:00
CREDO23
5dd101b203
feat: rewrite use-documents-processing hook from Electric to Zero
...
Replace PGlite aggregate SQL (SUM/CASE) with Zero useQuery + client-side
status counting. State machine (idle/processing/success/error) preserved
exactly. 167 → 79 lines.
2026-03-23 19:06:32 +02:00
CREDO23
c60d2f071c
feat: rewrite use-connectors-electric hook from Electric to Zero
...
Replace PGlite sync+live query with Zero useQuery. Maps camelCase
to snake_case for SearchSourceConnector type. 217 → 44 lines.
2026-03-23 19:04:51 +02:00
CREDO23
5ad25d10ea
feat: rewrite use-messages-electric hook from Electric to Zero
...
Replace PGlite sync+live query with Zero useQuery. Maps camelCase
output to snake_case to preserve consumer contract. 162 → 38 lines.
2026-03-23 19:00:20 +02:00
CREDO23
b27061e44a
feat: rewrite use-chat-session-state hook from Electric to Zero
...
Replace @electric-sql/react useShape with @rocicorp/zero/react useQuery.
Same Jotai atom update, same logic, same consumer contract.
2026-03-23 18:56:32 +02:00
CREDO23
6ad5ead320
docs: add Zero sync documentation and update existing docs
...
- Create how-to/zero-sync.mdx setup guide
- Update docker-compose.mdx with zero-cache service, env vars, troubleshooting
- Update dev-compose.mdx with Zero build arg
- Update install-script.mdx with zero-cache URL
- Update manual-installation.mdx with Zero frontend env var
- Add Zero sync page to how-to index, meta.json, and sitemap
2026-03-23 18:35:39 +02:00
CREDO23
f29a3edcab
chore: update postgresql.conf and contracts comments for Zero
...
- Replace Electric SQL references in postgresql.conf with Zero-cache
- Clean Electric SQL comments in chat-comments.types.ts and chat-messages.types.ts
2026-03-23 18:30:49 +02:00
CREDO23
f9ba7e52d9
feat: add Zero infra — docker-compose, env vars, Dockerfile, CI workflows
...
- Add zero-cache service to docker-compose.yml and docker-compose.dev.yml
- Add ZERO_* env vars to docker/.env.example
- Add NEXT_PUBLIC_ZERO_CACHE_URL to surfsense_web/.env.example
- Add NEXT_PUBLIC_ZERO_CACHE_URL placeholder ARG/ENV to Dockerfile
- Add NEXT_PUBLIC_ZERO_CACHE_URL runtime substitution to docker-entrypoint.js
- Add NEXT_PUBLIC_ZERO_CACHE_URL build arg to docker-build.yml and desktop-release.yml
2026-03-23 18:27:18 +02:00
CREDO23
61610106f4
feat: add zero-cache service to production docker-compose
...
- Add rocicorp/zero:0.26.2 service with Postgres connection,
SQLite replica volume, healthcheck, and admin password
- Add NEXT_PUBLIC_ZERO_CACHE_URL to frontend env vars
- Frontend now depends on zero-cache health
2026-03-23 18:19:37 +02:00
CREDO23
6143a91406
feat: add ZeroProvider and wire into app layout
...
- Create components/providers/ZeroProvider.tsx with schema, queries,
userID, context, and cacheURL configuration
- Wire ZeroProvider into app/layout.tsx wrapping GlobalLoadingProvider
inside ReactQueryClientProvider (same position ElectricProvider had)
2026-03-23 18:09:59 +02:00
CREDO23
da8f90bfe2
feat: add Zero queries for all 6 synced tables
...
Define named queries matching each Electric hook's data needs:
- notifications.byUser (use-inbox)
- documents.bySpace (use-documents, use-documents-processing)
- connectors.bySpace (use-connectors-electric)
- messages.byThread (use-messages-electric)
- comments.byThread (use-comments-electric)
- chatSession.byThread (use-chat-session-state)
Also moves schema files from zero/tables/ to zero/schema/ for
consistent modular folder structure.
2026-03-23 17:54:43 +02:00
CREDO23
af2bd744fb
feat: add Zero schema with 6 table definitions and relationships
...
- Create zero/tables/inbox.ts (notifications)
- Create zero/tables/documents.ts (documents, search_source_connectors)
- Create zero/tables/chat.ts (new_chat_messages, chat_comments, chat_session_state)
- Create zero/schema.ts (combines tables, defines relationships, exports zql)
- Consolidate Zero type augmentations into types/zero.d.ts
2026-03-23 17:44:05 +02:00
CREDO23
8298aad2d7
feat: add @rocicorp/zero package and auth context type
...
- Install @rocicorp/zero@0.26.2 (replaces 4 @electric-sql/* packages)
- Add types/zero-auth.d.ts with Context type for Zero's permission system
2026-03-23 17:23:49 +02:00
CREDO23
2b7465cdaa
chore: remove Electric SQL plumbing and infrastructure
...
Remove all Electric SQL client code, Docker service, env vars, CI build
args, install scripts, and documentation. Feature hooks that depend on
Electric are intentionally left in place to be rewritten with Rocicorp
Zero in subsequent commits.
Deleted:
- lib/electric/ (client.ts, context.ts, auth.ts, baseline.ts)
- ElectricProvider.tsx
- docker/scripts/init-electric-user.sh
- content/docs/how-to/electric-sql.mdx
Cleaned:
- package.json (4 @electric-sql/* deps)
- app/layout.tsx, UserDropdown.tsx, LayoutDataProvider.tsx
- docker-compose.yml, docker-compose.dev.yml
- Dockerfile, docker-entrypoint.js
- .env.example (frontend, docker, backend)
- CI workflows, install scripts, docs
2026-03-23 16:53:20 +02:00
Rohan Verma
af5215fa44
Update video link in README.md
2026-03-22 18:20:47 -07:00
Rohan Verma
06eaac7cad
Merge pull request #900 from MODSetter/dev
...
style: update GitHub stars badge appearance with improved spacing and…
2026-03-22 03:17:27 -07:00
DESKTOP-RTLN3BA\$punk
de17ef7f44
style: update GitHub stars badge appearance with improved spacing and color adjustments
2026-03-22 03:17:05 -07:00
Rohan Verma
e956de109a
Merge pull request #899 from MODSetter/dev
...
fixes for deployment
2026-03-22 01:57:18 -07:00
DESKTOP-RTLN3BA\$punk
9b8fc10211
Merge commit ' 1013586506' into dev
2026-03-22 01:56:33 -07:00
DESKTOP-RTLN3BA\$punk
43c9a09a6c
chore: add daytona dependency to pyproject.toml and update uv.lock
2026-03-22 01:55:56 -07:00
DESKTOP-RTLN3BA\$punk
0cd596b91f
refactor: update video presentation status enum creation to use SQL execution for better handling of duplicates
2026-03-22 01:41:15 -07:00
Rohan Verma
1013586506
Merge pull request #898 from MODSetter/dev
...
feat: SearXNG search, Electron desktop app, video agent & UI overhaul
2026-03-22 01:28:58 -07:00
Rohan Verma
23386b0a91
Merge pull request #895 from CREDO23/electon-desktop
...
[CI] Desktop release workflow & Auto updater
2026-03-22 01:26:01 -07:00
DESKTOP-RTLN3BA\$punk
08e68c16c7
Update README files to reflect changes in video and podcast agent examples, add video generation and presentation features, and update demo links and images across multiple languages.
2026-03-22 01:00:17 -07:00
Rohan Verma
2e1616ad91
Update README with demo and video agent sections
2026-03-22 00:38:44 -07:00
DESKTOP-RTLN3BA\$punk
cb6db30143
feat: add new carousel item for AI-generated video creation
2026-03-22 00:34:41 -07:00
Rohan Verma
fcb299eb70
Merge pull request #897 from MODSetter/feature/video_presentation_agent
...
feat: added initial video presentation agent
2026-03-21 23:41:08 -07:00
DESKTOP-RTLN3BA\$punk
eb8cfd296c
feat: add public routes for video presentations and audio streaming
2026-03-21 23:29:23 -07:00
DESKTOP-RTLN3BA\$punk
d90b6d35ce
feat: enhance video presentation agent with parallel theme assignment and watermarking
2026-03-21 23:02:09 -07:00
DESKTOP-RTLN3BA\$punk
0fe5e034fe
feat: add video presentation tool to generate group
2026-03-21 22:17:08 -07:00
DESKTOP-RTLN3BA\$punk
b28f135a96
feat: init video presentation agent
2026-03-21 22:13:41 -07:00
DESKTOP-RTLN3BA\$punk
40d949b7d5
chore: correct .RemotionTets/ entry in .gitignore
2026-03-21 19:45:48 -07:00
DESKTOP-RTLN3BA\$punk
2a4a2f4435
chore: add .RemotionTets/ to .gitignore
2026-03-21 19:06:37 -07:00
CREDO23
e7b5b37404
ci(desktop): support both v* and beta-v* tag triggers with unified version extraction
2026-03-20 16:55:18 +02:00
CREDO23
c891cc3d9b
ci(desktop): auto-extract version from tag and pass to electron-builder
2026-03-20 16:44:10 +02:00
CREDO23
d4ef79375b
fix(desktop): read HOSTED_FRONTEND_URL from process.env before .env file
2026-03-20 16:35:56 +02:00
CREDO23
70712f21db
ci(desktop): add HOSTED_FRONTEND_URL from GitHub Actions variables for Electron build
2026-03-20 16:29:48 +02:00
CREDO23
9db5b5e99d
ci(desktop): pass NEXT_PUBLIC env vars from GitHub Actions variables to Next.js build
2026-03-20 16:21:11 +02:00
CREDO23
a08d03041a
ci(desktop): align tag trigger with upstream beta-v* convention
2026-03-20 15:42:03 +02:00
CREDO23
cbee2e254c
ci(desktop): disable fail-fast so all platform builds complete independently
2026-03-20 15:31:05 +02:00
CREDO23
207ef02f5e
ci(desktop): fix pnpm cache by specifying lockfile paths for monorepo
2026-03-20 15:30:20 +02:00
CREDO23
337c381f36
ci(desktop): add package & publish step with platform matrix and permissions
2026-03-20 15:19:38 +02:00
CREDO23
0f37919f3d
ci(desktop): add Electron build step
2026-03-20 15:10:24 +02:00
CREDO23
4b50b3db1a
ci(desktop): add dependency install and Next.js build steps
2026-03-20 14:58:25 +02:00
CREDO23
b6c1db33eb
ci(desktop): add pnpm and Node.js setup steps
2026-03-20 14:04:07 +02:00
CREDO23
71e87f302b
ci(desktop): add release workflow skeleton with tag trigger and matrix
2026-03-19 20:49:30 +02:00
CREDO23
fb1db6c891
feat(desktop): wire auto-updater with GitHub Releases
2026-03-19 20:20:26 +02:00
DESKTOP-RTLN3BA\$punk
cf62fd07f8
chore: update pnpm workspace configuration to include root package
2026-03-18 13:20:37 -07:00
Rohan Verma
c6a83535d2
Merge pull request #889 from CREDO23/electon-desktop
...
[Feat] Desktop app (Win, Mac, Linux)
2026-03-18 12:56:42 -07:00
CREDO23
0c3f8f0e7e
docs(desktop): update README
2026-03-18 21:14:42 +02:00