co-mono/packages/web-ui/src
Mario Zechner 0de89a750e Refactor to Store-based architecture
- Create base Store class with private backend and protected getBackend()
- Add SettingsStore, ProviderKeysStore, SessionsStore
- Each store defines its own schema via getConfig()
- AppStorage now takes stores + backend in constructor
- Remove SessionsRepository (logic moved to SessionsStore)
- Update all consumers to use store API (storage.settings.get/set, storage.providerKeys.get/set)
- Update example app to follow new pattern: create stores, gather configs, create backend, wire
- Benefits: stores own their schema, no circular deps, cleaner separation
2025-10-08 16:41:02 +02:00
..
agent Refactor to Store-based architecture 2025-10-08 16:41:02 +02:00
components Refactor to Store-based architecture 2025-10-08 16:41:02 +02:00
dialogs Refactor to Store-based architecture 2025-10-08 16:41:02 +02:00
storage Refactor to Store-based architecture 2025-10-08 16:41:02 +02:00
tools Fix spinner showing on aborted tool calls in javascript-repl and artifacts renderers 2025-10-08 14:43:23 +02:00
utils Refactor artifacts renderer and add Console component 2025-10-08 01:54:50 +02:00
app.css Add Anthropic prompt caching, pluggable storage, and CORS proxy support 2025-10-05 23:00:36 +02:00
ChatPanel.ts Add clickable artifact pills to tool renderer 2025-10-08 14:01:25 +02:00
index.ts Refactor to Store-based architecture 2025-10-08 16:41:02 +02:00