Commit Graph

3 Commits

Author SHA1 Message Date
DIYgod 579d32659c
docs: add prps 2025-08-30 16:32:59 +08:00
Innei 9bd672969b
feat(ai-usage): implement enhanced AI usage observability frontend
- Introduced a new frontend for tracking AI token usage with real-time analytics and user-friendly visualizations.
- Added components for usage analysis, including detailed usage modals, progress rings, and various charts to display usage patterns and efficiency.
- Integrated localization support for new UI elements and analytics features.
- Removed the deprecated token usage settings page to streamline the user interface.

These changes aim to empower users with actionable insights into their AI usage, enhancing overall user experience and engagement.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-27 20:37:00 +08:00
Innei a9bb77167e
refactor(webview): ios preload webview module
- Refactored WebViewManager to improve lifecycle management and state handling.
- Introduced a debug panel for monitoring WebView state and actions in development mode.
- Updated JavaScript injection methods to use a centralized dispatch system for better maintainability.
- Improved handling of local HTML loading and state replay after process termination.
- Added new functions for debugging, including state retrieval and flushing pending scripts.

This update aims to enhance the overall performance and usability of the WebView component, providing developers with better tools for debugging and state management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-26 22:20:57 +08:00