Jeff Emmett
2cc7c52755
refactor: remove OddJS dependency and fix Automerge sync
...
Major Changes:
- Fix Automerge "Document unavailable" error by awaiting repo.find()
- Remove @oddjs/odd package and all related dependencies (205 packages)
- Remove location sharing features (OddJS filesystem-dependent)
- Simplify auth to use only CryptoAuthService (WebCryptoAPI-based)
Auth System Changes:
- Refactor AuthService to remove OddJS filesystem integration
- Update AuthContext to remove FileSystem references
- Delete unused auth files (account.ts, backup.ts, linking.ts)
- Delete unused auth components (Register.tsx, LinkDevice.tsx)
Location Features Removed:
- Delete all location components and routes
- Remove LocationShareShape from shape registry
- Clean up location references across codebase
Documentation Updates:
- Update WEBCRYPTO_AUTH.md to remove OddJS references
- Correct component names (CryptoLogin → CryptID)
- Update file structure and dependencies
- Fix Automerge README WebSocket path documentation
Build System:
- Successfully builds without OddJS dependencies
- All TypeScript errors resolved
- Production bundle size optimized
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 20:19:02 -07:00
Jeff Emmett
71e7e5de05
fix: remove ImageGen references to fix build
...
Remove ImageGenShape import and references from useAutomergeStoreV2.ts
to fix TypeScript build error. ImageGen feature files are not yet committed.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 04:17:49 -07:00
Jeff Emmett
90605bee09
fix: enable real-time multiplayer sync for automerge
...
Add manual sync triggering to broadcast document changes to other peers in real-time.
The Automerge Repo wasn't auto-broadcasting because the WebSocket setup doesn't use peer discovery.
Changes:
- Add triggerSync() helper function to manually trigger sync broadcasts
- Call triggerSync() after all document changes (position updates, eraser changes, regular changes)
- Pass Automerge document to patch handlers to prevent coordinate loss
- Add ImageGenShape support to schema
This fixes the issue where changes were being saved to Automerge locally but not
broadcast to other connected clients until page reload.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 04:00:31 -07:00
Jeff Emmett
ab1d0344a5
fix cloudflare deployment glitches
2025-11-11 22:47:36 -08:00
Jeff Emmett
2528ad4726
update cloudflare errors
2025-11-11 22:38:24 -08:00
Jeff Emmett
ffef04df50
pin object, fix fathom, and a bunch of other things
2025-11-11 22:32:36 -08:00
Jeff Emmett
d1179169cc
fix coordinates
2025-11-10 23:54:54 -08:00
Jeff Emmett
0e90e2d097
preserve coordinates
2025-11-10 23:51:53 -08:00
Jeff Emmett
eafbf6c9fe
shape rendering on prod
2025-11-10 23:36:12 -08:00
Jeff Emmett
edbe76ebda
fix coordinates
2025-11-10 23:25:44 -08:00
Jeff Emmett
ef39328d95
preserve coordinates
2025-11-10 23:17:16 -08:00
Jeff Emmett
229f4d6b41
fix coordinates
2025-11-10 23:04:52 -08:00
Jeff Emmett
0fa1652f72
prevent coordinate reset
2025-11-10 23:01:35 -08:00
Jeff Emmett
73ac456e17
update dev and prod shape render
2025-11-10 20:16:45 -08:00
Jeff Emmett
92cac8dee5
fix prod shape render
2025-11-10 20:05:07 -08:00
Jeff Emmett
b8fb64c01b
update prod shape render
2025-11-10 19:54:20 -08:00
Jeff Emmett
680b6a5359
update prod
2025-11-10 19:44:49 -08:00
Jeff Emmett
fec80ddd18
fix shape rendering in prod
2025-11-10 19:42:06 -08:00
Jeff Emmett
f2b05a8fe6
fix final bugs for automerge
2025-11-10 17:58:23 -08:00
Jeff Emmett
b5785f059f
update automerge
2025-11-10 14:44:13 -08:00
Jeff Emmett
9664439f31
update worker
2025-11-10 14:18:23 -08:00
Jeff Emmett
5c99a82c14
final updates to Automerge conversion
2025-11-10 13:34:55 -08:00
Jeff Emmett
4815fa4a23
update typescript errors for vercel
2025-11-10 11:19:24 -08:00
Jeff Emmett
f8e4647e1a
everything working in dev
2025-11-10 11:06:13 -08:00
Jeff Emmett
719a4eb918
automerge, obsidian/quartz, transcribe attempt, fix AI APIs
2025-09-21 11:43:06 +02:00