Commit Graph

1740 Commits

Author SHA1 Message Date
Jeff Emmett 711a81e606 Merge branch 'dev'
CI/CD / deploy (push) Failing after 2m12s Details
2026-04-10 18:09:43 -04:00
Jeff Emmett fe605a33e2 fix: update vite config to copy notes.css from rdocs instead of deleted rnotes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 18:09:35 -04:00
Jeff Emmett f2353b9151 Merge branch 'dev'
CI/CD / deploy (push) Failing after 41s Details
2026-04-10 18:07:37 -04:00
Jeff Emmett 18b61fa5e6 feat: rebuild rNotes as vault browser, editor code now in rDocs
Phase 2-3 of the rNotes/rDocs split. Rewrites rNotes from a full TipTap
editor (~1800 lines) into a lightweight Obsidian/Logseq vault sync and
browse module (~560 lines). Rich editing features remain in rDocs.

rNotes vault browser:
- VaultDoc schema: metadata-only in Automerge (title, tags, hash, wikilinks)
- ZIP vault uploads stored on disk at /data/files/uploads/vaults/
- File tree browser, search, read-only markdown preview
- Wikilink graph data endpoint for visualization
- 5 MCP tools: list_vaults, browse_vault, search_vault, get_vault_note, sync_status
- Browser extension compat shim redirects old API calls to rDocs

Cleanup:
- Removed dead editor files from rnotes (converters, components, local-first-client)
- Updated MI integration to use getRecentVaultNotesForMI
- Updated ONTOLOGY.md with new module descriptions
- Bumped JS cache versions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 18:05:35 -04:00
Jeff Emmett a89a6fbebb Merge branch 'dev'
CI/CD / deploy (push) Successful in 2m55s Details
2026-04-10 17:48:41 -04:00
Jeff Emmett 99492cc532 feat: extend browser back button support to all rApp modules with view navigation
Adds ViewHistory integration to 9 additional modules (rtime, rswag, rwallet,
rbnb, rvnb, rnetwork, crowdsurf, rtube, rflows-mortgage), bringing the total
to 17 modules. Browser back now navigates within the current rApp tab before
falling through to tab switching.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 17:48:31 -04:00
Jeff Emmett eb6ea4e500 Merge branch 'dev'
CI/CD / deploy (push) Failing after 2m14s Details
2026-04-10 17:34:08 -04:00
Jeff Emmett 9147198ce5 fix: don't disable generate button for on-demand sidecars
FreeCAD, KiCad, and Blender shapes were permanently disabling the
generate button when their sidecar containers were stopped. Since these
are on-demand sidecars that start via ensureSidecar() when generate is
clicked, the health check should not disable the button.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 17:33:59 -04:00
Jeff Emmett 5b2fe0e5f2 Merge branch 'dev'
CI/CD / deploy (push) Failing after 2m52s Details
2026-04-10 17:25:40 -04:00
Jeff Emmett 857a25e625 feat: add MakeReal canvas shape (sketch-to-HTML via Gemini vision)
New folk-makereal shape converts hand-drawn wireframes into functional
HTML/CSS using Gemini Flash 2.5 vision. Drawing canvas + live iframe
preview with framework selector (HTML/Tailwind/React), code view toggle,
and copy/open-tab actions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 17:25:28 -04:00
Jeff Emmett 45a5286df5 Merge branch 'dev'
CI/CD / deploy (push) Failing after 2m18s Details
2026-04-10 17:03:46 -04:00
Jeff Emmett edabad18e4 Add gesture recognition and collaborative sync to folk-drawfast
Implements $1 Unistroke Recognizer for detecting circles, rectangles,
triangles, lines, arrows, and checkmarks from freehand strokes. Detected
gestures are converted to clean geometric shapes with a confidence badge.

Fixes applyData() to restore strokes, prompt text, and generated images
from Automerge sync data, enabling collaborative drawing across clients.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 17:03:38 -04:00
Jeff Emmett 4704cebf08 Merge branch 'dev'
CI/CD / deploy (push) Successful in 2m37s Details
2026-04-10 15:29:38 -04:00
Jeff Emmett f58445c35e Add AI sketch-to-image generation to folk-drawfast
- Split layout: drawing canvas (left) + AI result (right)
- Prompt input with Generate button using /api/image-gen/img2img
- Auto-generate toggle: debounced generation after each stroke
- Provider selector (fal.ai / Gemini) and strength slider
- Loading spinner overlay with shimmer animation
- Image preloading before display for smooth transitions
- Port descriptors for folk-arrow connections (prompt, sketch, image)
- Wider default size (700x520) for split view

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 15:24:51 -04:00
Jeff Emmett 76e75c4e69 Merge branch 'dev'
CI/CD / deploy (push) Successful in 2m53s Details
2026-04-10 14:06:58 -04:00
Jeff Emmett de9cc21301 feat(rmeets): require username on join, fix settings/background, add MI toolbar
- Enable prejoin page so users must enter a display name before joining
- Add requireDisplayName, SETTINGS_SECTIONS, disableVirtualBackground config
- Add floating Meeting Intelligence button with recordings/search links
- Add chat, settings, participants-pane to folk-jitsi-room toolbar
- Also includes: rDocs module expansion, tab-cache/view-history updates,
  converter rewrites, MCP tool additions, OAuth fixes, backlog tasks

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 14:06:47 -04:00
Jeff Emmett 9a0ebedf69 Merge branch 'dev'
CI/CD / deploy (push) Failing after 2m25s Details
2026-04-10 11:19:40 -04:00
Jeff Emmett 8887e18dda fix: rename rsheet module to rsheets (fixes missing module crash)
The rsheet→rsheets rename was partially applied - server/index.ts
imported rsheets/mod but the files still lived at rsheet/. This
caused a crash on startup: "Cannot find module '../modules/rsheets/mod'".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 11:19:32 -04:00
Jeff Emmett 5e204df357 Merge branch 'dev'
CI/CD / deploy (push) Failing after 2m51s Details
2026-04-10 11:15:15 -04:00
Jeff Emmett 1de038eeab feat(comments): spatial comment pins on all rApp module pages
Adds Figma-style threaded comment markers anchored to data-collab-id
elements across all module pages. Comments stored in per-space Automerge
doc, synced via existing local-first stack. Bell is now context-aware
(canvas pins on canvas, module pins on module pages). Notifications
route through existing WS/push/email system with new module_comment
and module_mention event types.

New files: module-comment-types, module-comment-schemas,
rstack-module-comments component. Updated: shell, comment bell,
notification routes. Added data-collab-id to crowdsurf, rtime, rmeets.
Fixed pre-existing SKILL_LABELS import error in rtime/mod.ts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 11:15:05 -04:00
Jeff Emmett 0fa3582c73 Merge branch 'dev'
CI/CD / deploy (push) Successful in 2m51s Details
2026-04-10 10:34:21 -04:00
Jeff Emmett f0039bcb7c fix(mcp): add untracked rchats + rsheet schema files
These schemas are imported by the MCP tool files and module mod.ts
but were never committed, causing a crash on deploy.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 10:34:12 -04:00
Jeff Emmett aaebd0c0ad Merge branch 'dev'
CI/CD / deploy (push) Successful in 2m29s Details
2026-04-10 10:25:29 -04:00
Jeff Emmett 2e8e702d75 feat(mcp): 101 MCP tools across all 35 rApps + security hardening + MI integration
- Add centralized auth helper (_auth.ts) with resolveAccess() enforcing
  space visibility (public/permissioned/private) and role-based access
- Retrofit 5 existing tool groups (rcal, rnotes, rtasks, rwallet, spaces)
  with resolveAccess gates
- Add 30 new MCP tool files covering all remaining rApps:
  rsocials, rnetwork, rinbox, rtime, rfiles, rschedule, rvote, rchoices,
  rtrips, rcart, rexchange, rbnb, rvnb, crowdsurf, rbooks, rpubs, rmeets,
  rtube, rswag, rdesign, rsplat, rphotos, rflows, rdocs, rdata, rforum,
  rchats, rmaps, rsheet, rgov
- Add ForMI data exports to all module mod.ts files
- Wire 6 core modules into MI context (mi-data-queries.ts, mi-routes.ts)
- forceAuth for sensitive modules (rinbox, rchats)
- Omit sensitive fields (storagePath, fileHash, bodyHtml) from responses

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 10:25:17 -04:00
Jeff Emmett 2d0ca98ae6 fix(canvas): disabled module gating + toolbar reorganization
CI/CD / deploy (push) Failing after 3m4s Details
- Remove MODULE_BADGES fallback in tab-bar add-menu (show "Loading rApps..." instead of leaking all modules)
- Block ?tool= URL param from spawning shapes for disabled modules
- Add disabled-module overlay on existing canvas shapes (grayed out + "Module disabled" badge)
- Guard newShape() against creating shapes for disabled modules
- Reorganize toolbar from 10 groups to 9 category-aligned groups:
  Write, Embed (core 4), Communicate, Plan, Decide, Spend, Create, AI, Record
- Eliminate duplicate "Connect" groups, slim mega "Embed" group, merge "Travel" into "Plan"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 20:36:25 -04:00
Jeff Emmett 234c8e6703 fix(canvas): disabled module gating + toolbar reorganization
- Remove MODULE_BADGES fallback in tab-bar add-menu (show "Loading rApps..." instead of leaking all modules)
- Block ?tool= URL param from spawning shapes for disabled modules
- Add disabled-module overlay on existing canvas shapes (grayed out + "Module disabled" badge)
- Guard newShape() against creating shapes for disabled modules
- Reorganize toolbar from 10 groups to 9 category-aligned groups:
  Write, Embed (core 4), Communicate, Plan, Decide, Spend, Create, AI, Record
- Eliminate duplicate "Connect" groups, slim mega "Embed" group, merge "Travel" into "Plan"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 20:35:58 -04:00
Jeff Emmett f1f63ca142 feat(rdata): add data membrane visualization to landing page
CI/CD / deploy (push) Successful in 2m57s Details
Add interactive concentric zone visualization showing Personal (encrypted/local),
Permissioned, and Public data membranes. Drag-and-drop objects between zones
triggers permission change confirmations. Mobile-optimized with tap-to-select,
responsive node sizing, and scroll prevention.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 00:02:21 +00:00
Jeff Emmett 69da9b0ee7 feat(rdata): add data membrane visualization to landing page
Add interactive concentric zone visualization showing Personal (encrypted/local),
Permissioned, and Public data membranes. Drag-and-drop objects between zones
triggers permission change confirmations. Mobile-optimized with tap-to-select,
responsive node sizing, and scroll prevention.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 00:02:04 +00:00
Jeff Emmett b5d07fff1f Merge branch 'dev'
CI/CD / deploy (push) Successful in 2m53s Details
2026-04-09 15:56:40 -04:00
Jeff Emmett dd38dcb631 feat(tabs): close-all button with confirmation dialog
Adds a ✕ button next to the + tab button that closes all open rApp tabs
and returns to the user dashboard. Shows a confirm() prompt with tab count
before proceeding.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 15:56:30 -04:00
Jeff Emmett 24c0905c03 Merge branch 'dev'
CI/CD / deploy (push) Successful in 2m45s Details
2026-04-09 14:12:16 -04:00
Jeff Emmett de698a2aa3 feat(comments): notify all space members on new comments and replies
Broadcasts in-app, push, and email notifications to all space members
when a comment pin is created or replied to. @mentioned users get their
specific mention notification instead (no double-notify). Fixes pre-existing
TS error in rtasks local-first-client (missing dueDate default).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 14:12:09 -04:00
Jeff Emmett 019ceadd0d Merge branch 'dev'
CI/CD / deploy (push) Failing after 2m27s Details
2026-04-09 14:03:36 -04:00
Jeff Emmett 85cf54b811 feat: global bug report button — floating widget on every page
Adds a small bug icon (bottom-right) that opens a modal to collect
errors, device info, comments, and optional screenshots, then emails
the report to jeff@jeffemmett.com via the existing SMTP transport.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 14:03:27 -04:00
Jeff Emmett 5916e7bba2 Merge branch 'dev'
CI/CD / deploy (push) Successful in 2m40s Details
2026-04-09 13:57:25 -04:00
Jeff Emmett 83267a2209 fix(link-preview): add ca-certificates to Docker + implement design-agent route
The oven/bun:1-slim image lacks system CA certs, causing TLS verification
failures on outbound HTTPS for link-preview. Also implements the
/api/design-agent SSE endpoint — Gemini Flash tool loop driving the
Scribus bridge for DTP layout generation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 13:57:16 -04:00
Jeff Emmett d83486f030 Merge branch 'dev'
CI/CD / deploy (push) Successful in 3m36s Details
2026-04-09 13:48:32 -04:00
Jeff Emmett 7836b1d956 perf(collab): lazy GC timer — start on first peer, stop when empty
The collab overlay was running a 5s setInterval GC timer on every page
load even with zero peers. Now the timer starts only when the first
peer arrives and stops when all peers are garbage collected.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 13:48:18 -04:00
Jeff Emmett 6cc87ead3f Merge branch 'dev'
CI/CD / deploy (push) Failing after 3m14s Details
2026-04-09 13:41:32 -04:00
Jeff Emmett 5ddde13b0d feat: magic link responses for polls and RSVPs
HMAC-signed stateless tokens let external respondents vote on rChoices
polls or RSVP to rCal events via a single tap — no account required.
Routes mounted at /respond/:token bypass space auth. Typed EventAttendee
schema replaces unknown[] on CalendarEvent.attendees. Invite endpoints
on both modules generate tokens and optionally send email invitations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 13:41:17 -04:00
Jeff Emmett b89e247e6c Merge branch 'dev'
CI/CD / deploy (push) Failing after 2m54s Details
2026-04-09 12:44:08 -04:00
Jeff Emmett 17a5922a44 feat(rcal): semantic zoom on overlapping day cell events
When 3+ events land on the same day in month view, individual event
labels collapse into spatial summary chips showing where the user
needs to be (e.g. "Berlin 3", "Amsterdam 2"). Chip granularity
auto-adapts: city → country → continent as location diversity grows.
Virtual events shown separately. ≤2 events still show full labels.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 12:44:01 -04:00
Jeff Emmett 883970442f Merge branch 'dev'
CI/CD / deploy (push) Has been cancelled Details
2026-04-09 12:43:28 -04:00
Jeff Emmett 35c3a48296 fix(sidecar): bump Docker API version from 1.43 to 1.44
Docker Engine 29.0.4 on Netcup requires minimum API version 1.44,
causing all sidecar starts (Blender, FreeCAD, KiCad, Ollama) to fail
with "client version 1.43 is too old".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 12:43:24 -04:00
Jeff Emmett 3aa3604d5d docs: add README with rApp catalog and digital primitives overview
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 12:40:07 -04:00
Jeff Emmett 75fef85df8 Merge branch 'dev'
CI/CD / deploy (push) Successful in 2m40s Details
2026-04-08 22:27:23 -04:00
Jeff Emmett a711af055a fix(encryptid): remove all remaining authenticatorAttachment: 'platform' hardcodes
Three client-side registration flows still had authenticatorAttachment: 'platform'
hardcoded, blocking Samsung Passkey and Linux users:
- lib/rspace-header.ts (main site header registration)
- shared/components/rstack-identity.ts (2 occurrences)

Also added server-side validation for missing userId in register/complete
to return 400 instead of crashing with TypeError.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 22:27:16 -04:00
Jeff Emmett d69dfa4618 Merge branch 'dev'
CI/CD / deploy (push) Failing after 2m24s Details
2026-04-08 19:30:48 -04:00
Jeff Emmett b2d443421e fix(encryptid): allow cross-platform authenticators on Linux
Registration was hardcoded to authenticatorAttachment: 'platform',
which rejects devices without a platform authenticator (common on
Linux desktops). Now only forces platform when available, otherwise
lets browser offer cross-platform options (security keys, phone as
authenticator). Also relaxed isEncryptIDAvailable() to only require
WebAuthn support, not platform auth specifically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 19:30:41 -04:00
Jeff Emmett f051a5a644 Merge branch 'dev'
CI/CD / deploy (push) Failing after 2m9s Details
2026-04-08 19:25:58 -04:00