Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
Merge remote-tracking branch 'origin/main' into pr-555
[._.]/ Adam Eivy5f6cc1c64916
diff --cc .changelog/NEXT.mdindex fcc382db22,a756e0e91e..174bcec5d0--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@@ -13,7 -14,7 +14,8 @@@## Added+- **[catalog-universe-builder-picker] "Pick from Catalog" on Universe Builder canon panels.** Each Characters / Places / Objects section in Universe Builder (Bible + Cast/Places/Objects tabs) now has a "Pick from Catalog" button next to "Render all" / bulk-lock. It opens the shared Ingredient Picker scoped to that type; picking an ingredient copies its payload into a new embedded canon entry, stamps the catalog row's id onto the entry as `ingredientId`, and links the ingredient back to the universe (`catalog_ingredient_refs`, role `canon-character` / `canon-place` / `canon-object`) so the "Appears in" panel populates. The `ingredientId` stamp ties the embedded entry to its durable catalog row and lets the boot-time bible→catalog backfill recreate the SAME catalog id on every federated peer instead of minting a divergent one. Already-linked ingredients are excluded from the picker so you can't double-add the same character.+ - **[meatspace-workouts-read-path] Logged workouts are now visible in MeatSpace.** The server exposes `GET/POST /api/meatspace/workouts`, the client API wraps it, and the MeatSpace Health tab lists recent workouts that were logged by voice, palette, or API.- **[catalog-pipeline-series-cast] "Cast (from Catalog)" panel on Series, Issue, and Writers Room pages.** A new reusable panel surfaces every catalog ingredient linked to the active series / issue / work bible — drawn from the existing `catalog_ingredient_refs` table — and lets you attach more via the existing Ingredient Picker or unlink with a click. Series records carry no embedded `characters[]` array, so the cast is purely additive and replicates through the existing catalog sync. The panel lives in the Series bible sidebar above "Canon", at the top of the active stage scroll on Issue (visible across every stage tab), and above the work editor in Writers Room when a work is selected.- **[catalog-bulk-import] Bulk-ingest endpoint for the Catalog.** A new "Bulk Import" panel on `/catalog/ingest` accepts JSON, CSV (`type,name,description,tags` header), or simple markdown (`## <Type>: <Name>` headings with paragraph body and optional `tags:` line) and creates ingredients directly — no per-row review screen. Each row is re-validated against the same Zod schema the single-create endpoint uses, so one bad row rolls back the entire batch; vector embeddings run in parallel before the transaction (same as the scrap-commit path), so bulk-imported rows are search-ready immediately rather than waiting for the embeddings backfill. `POST /api/catalog/bulk-import` is Zod-validated (2 MB payload cap), stamps optional `defaults.tags` plus an optional `universe`/`series`/`work`/`issue` ref onto every row in the same transaction, and surfaces parser warnings (e.g. `## Plce: …` typos in markdown that don't match a known type) in the response so users notice typos that would otherwise be silently skipped.- **[catalog-export-bundle] Export a catalog slice as a portable bundle.** `GET /api/catalog/export?refKind=universe|series|issue|work&refId=…&format=json|markdown|yaml` walks the ref table for the target, hydrates each ingredient + its scraps + ref-links, and returns an `attachment` bundle. Pairs with bulk import for round-trip portability (export → edit → re-import) — useful for sharing a universe's cast outside peer-sync or seeding a fresh install from a community pack. Relations and media-ref hydration ship with their own PLAN items.