Commit Graph

80 Commits

Author SHA1 Message Date
Jeff Emmett 7eb60ebcf2 feat: update mulTmux terminal tool and improve shape utilities
Updates to collaborative terminal integration and various shape
improvements across the canvas.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 04:08:08 -08:00
Jeff Emmett e1f4e83383 fix: implement real-time Automerge sync across clients
- Add document ID coordination via server to ensure all clients sync to same document
- Add new endpoints GET/POST /room/:roomId/documentId for document ID management
- Store automergeDocumentId in Durable Object storage
- Add enhanced logging to CloudflareAdapter send() method for debugging
- Add sharePolicy to Automerge Repo to enable document sharing
- Fix TypeScript errors in useAutomergeSyncRepo

This fixes the issue where each client was creating its own Automerge document
with a unique ID, preventing real-time sync. Now all clients in a room use the
same document ID, enabling proper real-time collaboration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 19:45:36 -07:00
Jeff Emmett 32e5fdb21c refactor: move wrangler config files to root directory
Moved wrangler.toml and wrangler.dev.toml from worker/ to root directory to fix Cloudflare Pages deployment. Updated package.json scripts to reference new config locations. This resolves the "Missing entry-point to Worker script" error during Pages builds.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 19:17:54 -07:00
Jeff Emmett 26454f70bb fix: correct worker entry point path in wrangler config files
Update main path from "worker/worker.ts" to "worker.ts" since the wrangler.toml files are located inside the worker/ directory. This fixes the "Missing entry-point to Worker script" error during deployment.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 19:05:25 -07:00
Jeff Emmett fe2253e6c0 fix: move wrangler.dev.toml to worker/ directory to fix Pages deployment
Cloudflare Pages was detecting wrangler.dev.toml at root level and
switching to Worker deployment mode (running 'npx wrangler deploy')
instead of using the configured build command ('npm run build').

Changes:
- Move wrangler.dev.toml to worker/ directory alongside wrangler.toml
- Update all package.json scripts to reference new location
- Simplify .cfignore since all wrangler configs are now in worker/

This allows Pages to use the correct build command and deploy the
static site with proper routing for /contact and /presentations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 18:43:34 -07:00
Jeff Emmett 59d0b9a5ff fix: move Worker config to separate file for Pages compatibility
Move wrangler.toml to worker/wrangler.toml to separate Worker and Pages configurations.
Cloudflare Pages was trying to read wrangler.toml and failing because it contained
Worker-specific configuration (Durable Objects, migrations, etc.) that Pages doesn't support.

Changes:
- Move wrangler.toml → worker/wrangler.toml
- Update deploy scripts to use --config worker/wrangler.toml
- Pages deployment now uses Cloudflare dashboard configuration only

This resolves the deployment error:
"Configuration file cannot contain both 'main' and 'pages_build_output_dir'"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 04:14:40 -07:00
Jeff Emmett 783a8702f9 update obsidian shape deployment 2025-11-12 16:23:08 -08:00
Jeff Emmett 453a190768 update cloudflare errors 2025-11-11 22:38:24 -08:00
Jeff Emmett de59c4a726 pin object, fix fathom, and a bunch of other things 2025-11-11 22:32:36 -08:00
Jeff Emmett 5a8bfa41d2 update x & y coordinates 2025-11-10 22:42:52 -08:00
Jeff Emmett 59562e07c5 final automerge errors on cloudflare 2025-11-10 18:01:36 -08:00
Jeff Emmett 7584ea7a11 fix final bugs for automerge 2025-11-10 17:58:23 -08:00
Jeff Emmett 417f9befae more updates to convert to automerge 2025-11-10 14:00:46 -08:00
Jeff Emmett 02949fb40a updates to worker 2025-11-10 13:50:31 -08:00
Jeff Emmett 8d5b41f530 update typescript errors for vercel 2025-11-10 11:19:24 -08:00
Jeff Emmett e727deea19 everything working in dev 2025-11-10 11:06:13 -08:00
Jeff Emmett a2e9893480 automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
Jeff Emmett 5d8168d9b9 fixed shared piano 2025-09-04 17:54:39 +02:00
Jeff Emmett 5fe28ba7f8 update R2 storage to JSON format 2025-09-04 16:26:35 +02:00
Jeff Emmett 6cb70b4da3 update tldraw functions 2025-09-04 15:30:57 +02:00
Jeff Emmett 38566e1a75 separate worker and buckets between dev & prod, fix cron job scheduler 2025-09-04 15:12:44 +02:00
Jeff Emmett 9065a408f2 update embedshape 2025-09-02 22:59:10 +02:00
Jeff Emmett 57b9c52035 update workers to work again 2025-09-02 22:29:12 +02:00
Jeff Emmett ce0ae690fc fix video chat in prod env vars 2025-09-02 00:43:57 +02:00
Jeff Emmett 9baa5968c0 fix vercel errors 2025-08-25 23:46:37 +02:00
Jeff Emmett 2db320a007 shared piano in progress 2025-08-23 16:07:43 +02:00
Shawn Anderson ef0ec789ab Revert "updated website copy, installed locked-view function (coordinates break when locked tho), trying to get video transcripts working"
This reverts commit db4ae0c766.
2025-04-16 13:05:57 -07:00
Shawn Anderson e2135f65c5 Revert "Fix cron job connection to daily board backup"
This reverts commit 7221f94ca6.
2025-04-16 13:05:51 -07:00
Jeff-Emmett 7221f94ca6 Fix cron job connection to daily board backup 2025-04-08 15:49:34 -07:00
Jeff-Emmett db4ae0c766 updated website copy, installed locked-view function (coordinates break when locked tho), trying to get video transcripts working 2025-04-08 14:32:15 -07:00
Jeff-Emmett 9a3ad9a1ab fix asset upload rendering errors 2025-03-19 18:30:15 -07:00
Jeff-Emmett 12d26d0643 Fixed asset upload CORS for broken links, updated markdown tool, changed keyboard shortcuts & menu ordering 2025-03-19 17:24:22 -07:00
Jeff-Emmett 4380a7bdd6 working video calls 2025-02-13 20:38:01 +01:00
Jeff-Emmett 1fcfddaf07 Fix localstorage error on worker, promptshape 2025-02-11 14:35:22 +01:00
Jeff-Emmett acc12363be board backups to R2 2025-01-28 16:42:58 +01:00
Jeff-Emmett c2abfcd3e3 Clean up tool names 2025-01-28 16:38:41 +01:00
Jeff-Emmett a0e73b0f9e slidedeck shape installed, still minor difficulty in keyboard arrow transition between slides (last slide + wraparound) 2025-01-23 14:14:04 +01:00
Jeff-Emmett 6f5ee6a673 removed padding from printtoPDF, hid mycrozine template tool (need to fix sync), cleaned up redundancies between app & board, installed marked npm package, hid markdown tool (need to fix styles) 2025-01-03 09:42:53 +07:00
Jeff Emmett d6ab873ec9 fix local IP for dev, fix broadcast view 2024-12-14 14:12:31 -05:00
Jeff Emmett 79a86ee4c2 videochat debug 2024-12-08 19:57:25 -05:00
Jeff Emmett f8dd874ee3 fix daily API 2024-12-08 19:27:18 -05:00
Jeff Emmett 06484234e9 videochat tool worker install 2024-12-08 18:32:39 -05:00
Jeff Emmett fb3a525340 videochat tool update 2024-12-08 18:13:47 -05:00
Jeff Emmett e466d2b49f fixed lockCameraToFrame selection 2024-12-08 05:07:09 -05:00
Jeff Emmett 3c8f4d7fd1 lockCameraToFrame almost working 2024-12-08 02:43:19 -05:00
Jeff Emmett 8817af2962 cleanup 2024-12-07 21:42:31 -05:00
Jeff Emmett 30bdbfc958 maybe this works 2024-12-07 16:02:10 -05:00
Jeff Emmett 63a3121f38 fix vite config 2024-12-07 15:50:37 -05:00
Jeff Emmett ae4fe5faf8 swap persistentboard with Tldraw native sync 2024-12-07 15:23:56 -05:00
Jeff Emmett 7eaec27041 fix CORS 2024-12-07 15:10:25 -05:00