Feat/demo persona switcher - #9
Merged
Merged
Conversation
- scripts/batch-convert.mjs: convert WorldMemArena personal JSON files to Previously On episodic format (slices, indexes, strands, profiles) - scripts/apply-enrichment.mjs: apply Haiku-generated tag/metadata improvements to slice files, rebuild indexes and strands - scripts/regen-manifest.mjs: regenerate manifest.json after enrichment - README.md: fix outdated GitHub link to previously-lab Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…b repo - src/lib/demo/demo-fs.ts: remote HTTP reader using raw.githubusercontent.com (readFile, listFiles via manifest.json tree, writeFile NO-OP) - Tool executors: add useDemo dispatch branch (demo-fs before local-fs/GitHub) - Episodic manager: route reads to demo-fs when DEMO_MODE=true - Remove resolveDemoPath from local-fs.ts (no longer needed) - scripts/shift-all-dates.mjs: batch date shift for benchmark data - .env.example: document BENCHMARK_BASE_URL Demo mode now reads persona data directly from the public benchmark-data repo — no GitHub token or auth required. Users deploy with DEMO_MODE=true and get a fully functional memory system with 20 pre-seeded personas. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- src/lib/data-source/resolve.ts: resolveDataSource() auto-detects local/github/demo based on NODE_ENV and GITHUB_TOKEN. No DEMO_MODE env var. - src/lib/demo/demo-fs.ts: supports remote (BENCHMARK_BASE_URL) and local disk fallback. listDemoPersonas() now returns persona IDs. - Cleaned resolveDemoPath/demoRef from all IO layers. Deleted paths.ts. - config/types.ts: added onboarded/datasource fields - config/loader.ts, user-profile.ts: route through demo-fs when in demo - Persona selector: Dialog with persona cards, clickable hero name - Server action selectPersona() with config.json persistence - Settings: demo mode info banner, greyed-out save buttons - .env.example: removed DEMO_MODE Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…le data for all personas
…seEffect, no key)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.