97d3ed366c
Retention panel's "currently using" line and usage bar were always blank — totalStorageBytes() existed but was never wired into the settings response, so retention.storageUsedMB was undefined on every load. Now computed fresh on every GET/PATCH /api/admin/settings. Tracked events gain a keywords field: only items whose title/summary/ body contain at least one of them (word, phrase, or emoji — e.g. 🇮🇷 for an "Iran war" event) qualify for that event's recap, instead of every item from its assigned sources. An item from an event-linked source that doesn't match now falls through to normal synthesis rather than being silently dropped. Also added the source-assignment + keyword-filter edit UI to EventsTab.svelte, which had no way to populate sourceIds at all before this (the "assign from the Sources tab" comment referenced a feature that was never built). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014c1L8ghNBFjfiH64UMViP8
sv
Everything you need to build a Svelte project, powered by sv.
Creating a project
If you're seeing this, you've probably already done this step. Congrats!
# create a new project
npx sv create my-app
To recreate this project with the same configuration:
# recreate this project
npx sv@0.16.2 create --template minimal --types ts --install npm frontend
Developing
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building
To create a production version of your app:
npm run build
You can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.