mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 18:41:08 +02:00
fix(mana/web): unwrap $state proxy in workbench-scenes Dexie writes
Adding an app to a workbench scene threw DataCloneError. scenesState is a $state array, so current.openApps was a Svelte 5 proxy and spreading it into a new array left proxy entries inside; IndexedDB's structured clone refuses to serialise those. Snapshot before handing the array to patchScene / createScene so Dexie sees plain objects. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
761851847f
commit
56065c8537
38 changed files with 1415 additions and 1665 deletions
|
|
@ -67,6 +67,7 @@ COPY packages/credits ./packages/credits
|
|||
COPY packages/spiral-db ./packages/spiral-db
|
||||
COPY packages/wallpaper-generator ./packages/wallpaper-generator
|
||||
COPY packages/local-llm ./packages/local-llm
|
||||
COPY packages/shared-llm ./packages/shared-llm
|
||||
|
||||
# Install dependencies (shared packages only - app deps added later)
|
||||
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue