cherry-studio/packages/shared
MyPrototypeWhat 4348c8c4dc refactor: migrate tabs state from SQLite to localStorage cache
- Remove /app/state/:key API endpoint from apiSchemas
- Remove appStateService handler from API handlers
- Add Tab/TabsState types to persist cache schema
- Refactor useTabs to use usePersistCache instead of useQuery/useMutation
- Delete unused routeTree.gen.ts

This change improves performance by avoiding unnecessary IPC + DB roundtrips
for UI state that can be safely stored in localStorage with 200ms debounce.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 11:51:36 +08:00
..
agents/claudecode ⬆️ chore: migrate from Claude Code SDK to Claude Agent SDK v0.1.1 2025-09-30 17:54:02 +08:00
anthropic chore[lint]: add import type lint (#11091) 2025-11-01 10:40:02 +08:00
config Merge branch 'main' of into v2 2025-11-17 19:51:07 +08:00
data refactor: migrate tabs state from SQLite to localStorage cache 2025-11-26 11:51:36 +08:00
IpcChannel.ts Merge branch 'main' into v2 2025-11-22 08:48:07 +08:00
utils.ts fix: referer (#10124) 2025-09-12 13:31:18 +08:00