-
Notifications
You must be signed in to change notification settings - Fork 11
Feat/zero sync infrastructure foundation #333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7dc8b18
3cb3cec
0dcab60
911062f
9d91a4f
4f19144
6e39e85
53febbe
409f3e7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -63,3 +63,7 @@ SUPERMEMORY_API_KEY=sm_... | |||||||||||||||||||||||||||||||||||||||
| SUPERMEMORY_ENABLED=true | ||||||||||||||||||||||||||||||||||||||||
| # Optional: MISTRAL_OCR_ENDPOINT=https://api.mistral.ai/v1/ocr | ||||||||||||||||||||||||||||||||||||||||
| # Optional: MISTRAL_OCR_MODEL=mistral-ocr-latest | ||||||||||||||||||||||||||||||||||||||||
| # Zero Sync | ||||||||||||||||||||||||||||||||||||||||
| NEXT_PUBLIC_ZERO_SERVER=http://localhost:4848 | ||||||||||||||||||||||||||||||||||||||||
| NEXT_PUBLIC_APP_URL=http://localhost:3000 | ||||||||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P3: Prompt for AI agents |
||||||||||||||||||||||||||||||||||||||||
| ZERO_COOKIE_DOMAIN=.thinkex.app | ||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+66
to
+69
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix dotenv key ordering to satisfy linter
Proposed diff # Supermemory (memory layer for chat — https://console.supermemory.ai)
# Optional: when unset, the memory toggle is a no-op server-side.
SUPERMEMORY_API_KEY=sm_...
+# Zero Sync
+NEXT_PUBLIC_ZERO_SERVER=http://localhost:4848
+ZERO_COOKIE_DOMAIN=.thinkex.app
+
# Kill switch for the Supermemory wrapper. Must be exactly "true" to enable.
# `@supermemory/tools@1.4.3+` contains the Proxy-based fix for AI SDK v6
# (https://github.com/supermemoryai/supermemory/pull/854). If you downgrade
# the dep or upstream regresses, set this to "false" to neutralize the
# wrapper without ripping out any UI/transport plumbing.
SUPERMEMORY_ENABLED=true
# Optional: MISTRAL_OCR_ENDPOINT=https://api.mistral.ai/v1/ocr
# Optional: MISTRAL_OCR_MODEL=mistral-ocr-latest
-# Zero Sync
-NEXT_PUBLIC_ZERO_SERVER=http://localhost:4848
-ZERO_COOKIE_DOMAIN=.thinkex.app📝 Committable suggestion
Suggested change
🧰 Tools🪛 dotenv-linter (4.0.0)[warning] 67-67: [UnorderedKey] The NEXT_PUBLIC_ZERO_SERVER key should go before the SUPERMEMORY_ENABLED key (UnorderedKey) 🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| CREATE PUBLICATION zero_pub FOR TABLE | ||
| workspace_items, | ||
| workspace_item_content; |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove duplicated
NEXT_PUBLIC_APP_URLdeclarationLine 68 redefines
NEXT_PUBLIC_APP_URL, which is already set at Line 2. Even with the same value, duplicated keys create ambiguity and can hide future misconfiguration due to last-value-wins parsing.Proposed fix
# Zero Sync NEXT_PUBLIC_ZERO_SERVER=http://localhost:4848 -NEXT_PUBLIC_APP_URL=http://localhost:3000 ZERO_COOKIE_DOMAIN=.thinkex.app📝 Committable suggestion
🧰 Tools
🪛 dotenv-linter (4.0.0)
[warning] 68-68: [DuplicatedKey] The NEXT_PUBLIC_APP_URL key is duplicated
(DuplicatedKey)
[warning] 68-68: [UnorderedKey] The NEXT_PUBLIC_APP_URL key should go before the NEXT_PUBLIC_ZERO_SERVER key
(UnorderedKey)
🤖 Prompt for AI Agents