Jeff Emmett
e8984a757b
fix: enable open-mapping module with TypeScript fixes
...
- Fix unused parameter errors (prefix with underscore)
- Fix TrustCircleManager API: add getTrustLevel/setTrustLevel methods
- Fix MyceliumNetwork method calls: addNode→createNode, addHypha→createHypha
- Fix createCommitment signature to use CommitmentParams object
- Fix GeohashCommitment type with proper geohash field
- Fix PRECISION_CELL_SIZE usage (returns {lat,lng} object)
- Add type assertions for fetch response data
- Fix MapCanvas attributionControl type
- Fix GPSCollaborationLayer markerStyle merge with defaults
- Update MapShapeUtil with better event handling:
- Raise z-index to 10000 for all map buttons
- Add pointerEvents: auto for button clickability
- Add handleWheel with preventDefault to enable map zoom
- Add capturePointerEvents for proper interaction
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-07 11:48:49 -08:00
Jeff Emmett
856bfa8e9b
feat: implement binary Automerge CRDT sync and open-mapping module
...
Binary Automerge Sync:
- CloudflareAdapter: binary sync messages with documentId tracking
- Message buffering for early server messages before documentId set
- Worker sends initial sync on WebSocket connect
- Removed JSON HTTP POST sync in favor of native Automerge protocol
- Multi-client binary sync verified working
Worker CRDT Infrastructure:
- automerge-init.ts: WASM initialization for Cloudflare Workers
- automerge-sync-manager.ts: sync state management per peer
- automerge-r2-storage.ts: binary document persistence to R2
- AutomergeDurableObject: integrated CRDT sync handling
Open Mapping Module:
- Collaborative map component with real-time sync
- MapShapeUtil for tldraw canvas integration
- Presence layer with location sharing
- Privacy system with ZK-GPS protocol concepts
- Mycelium network for organic route visualization
- Conic sections for map projection optimization
- Discovery system (spores, hunts, collectibles, anchors)
- Geographic transformation utilities
UI Updates:
- ConnectionStatusIndicator for offline/sync status
- Map tool in toolbar
- Context menu updates
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 19:45:02 -08:00
Jeff Emmett
3549326122
perf: optimize bundle size with code splitting and disable sourcemaps
...
- Split large libraries into separate chunks:
* tldraw: 1.97 MB → 510 KB gzipped
* large-utils (gun, webnative): 1.54 MB → 329 KB gzipped
* markdown editors: 1.52 MB → 438 KB gzipped
* ml-libs (@xenova/transformers): 1.09 MB → 218 KB gzipped
* AI SDKs: 182 KB → 42 KB gzipped
* automerge: 283 KB → 70 KB gzipped
- Disable sourcemaps in production builds
- Main bundle reduced to 616 KB gzipped
- Improves initial page load time with on-demand chunk loading
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-19 21:03:10 -07: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
Jeff Emmett
8385e30d25
separate worker and buckets between dev & prod, fix cron job scheduler
2025-09-04 15:12:44 +02:00
Jeff Emmett
e78f9a8281
fix worker url in prod
2025-09-02 13:16:15 +02:00
Shawn Anderson
411fc99201
Revert "fix daily API key in prod"
...
This reverts commit 49f11dc6e5 .
2025-04-16 13:05:54 -07:00
Jeff-Emmett
49f11dc6e5
fix daily API key in prod
2025-04-08 14:45:54 -07:00
Jeff-Emmett
12256c5b9c
working video calls
2025-02-13 20:38:01 +01:00
Jeff Emmett
84e737216d
videochat working
2024-12-09 03:42:44 -05:00
Jeff Emmett
bf5b3239dd
fix domain url
2024-12-08 23:14:22 -05:00
Jeff Emmett
cc216eb07f
fixing daily domain on vite config
2024-12-08 19:10:39 -05:00
Jeff Emmett
d2ff445ddf
fixing daily domain on vite config
2024-12-08 19:08:40 -05:00
Jeff Emmett
f012632cde
prettify and cleanup
2024-12-07 22:01:02 -05:00
Jeff Emmett
2e0a05ab32
fix vite config
2024-12-07 15:50:37 -05:00
Jeff Emmett
97b00c1569
fix prod env
2024-12-07 13:43:56 -05:00
Jeff Emmett
6f6c924f66
fix VITE_ worker URL
2024-12-07 13:27:37 -05:00
Jeff Emmett
1c8909ce69
fix worker url
2024-11-27 11:31:16 +07:00
Jeff Emmett
fef2ca0eb3
fixing final
2024-11-27 11:26:25 +07:00
Jeff Emmett
6ba124b038
fix env vars in vite
2024-11-27 11:17:29 +07:00
Jeff Emmett
1cd7208ddf
fix vite and asset upload
2024-11-27 11:14:52 +07:00
Jeff Emmett
100b88268b
CRDTs working, still finalizing local board state browser storage for offline board access
2024-11-25 16:18:05 +07:00
Jeff Emmett
1c38cb1bdb
multiplayer
2024-08-29 21:15:13 +02:00
Jeff Emmett
932c9935d5
multiplayer
2024-08-29 20:20:12 +02:00
Jeff Emmett
9d73295702
oriomimicry
2024-08-09 23:14:58 -04:00