Commit Graph
3 Commits
Author SHA1 Message Date
Ole André Vadla Ravnås 26d687cecd Wire widgets through agent, UI, and collab
Engine owns the widget state cache, applies inbound updates from
the agent, persists session-scoped widgets, and broadcasts to
collaborating peers (action invocations route to the host).
Renderers in both UIs read the cache and the unified update
stream, with a Clear button that propagates to peers.

Agent SDK adds ctx.widget(id) with push/upsertItem/removeItem/
clear, plus a typed onAction handler. create() now takes a
restored snapshot seeded from persisted state and the join
snapshot.

Per-def .d.ts narrows the widget map, restored shape, and action
union to the exact ids declared in the editor.
2026-05-10 21:02:42 +02:00
Ole André Vadla Ravnås bddb2830fe Wire views and Workspace exts to ProjectStore
Update every view and Workspace extension to use LumaCore
types and ProjectStore instead of SwiftData:

- SidebarView: fetch instruments/insights/captures from store
- DetailView: resolve sessions via store
- REPLView: load cells from store by sessionID
- NotebookView: use LumaCore.NotebookEntry value types
- Workspace+Packages: delegate to CompilerWorkspace, use
  ESMBundleParser.parse(), persist via store
- Workspace+Collaboration: fetch/save collaboration state
  and notebook entries through store
- All remaining views qualified with LumaCore types

The Luma app should now compile without SwiftData.
2026-04-06 21:03:17 +02:00
Ole André Vadla Ravnås 851b8e26bd Initial commit 2025-12-05 23:16:30 +01:00