cherry-studio/packages/shared
MyPrototypeWhat aae39e3365 feat: implement app state management and routing system
- Added AppStateService for managing application state in the database, including methods for getting, setting, and deleting state.
- Introduced new API endpoint for app state storage with GET and PUT methods.
- Integrated TanStack Router for routing, enabling a tabbed interface with dynamic routing and state synchronization.
- Created AppShell component to manage layout and routing, including a sidebar and tab management.
- Developed useTabs hook for handling tab state, including adding, closing, and switching tabs.
- Updated package.json and yarn.lock to include necessary dependencies for routing and state management.

This commit enhances the application's architecture by providing a robust state management system and a flexible routing mechanism, improving user experience and maintainability.
2025-11-25 19:06:42 +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 feat: implement app state management and routing system 2025-11-25 19:06:42 +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