Open
Conversation
added 3 commits
March 26, 2026 14:34
新版 Cursor 将会话详情迁移到全局库 cursorDiskKV(composerData:<id>),工作区库 composer.composerData 仅保留选中状态;本次改动改为从工作区提取 composerId 并回查全局 composerData,恢复概览/项目/工作区统计,同时补齐 agentKv/agentKV 统计并对只读访问做保护。
为 Recharts Tooltip 补充 label/item 文本颜色,避免在暗色主题下默认黑字导致不可读。
… for Cursor versions 0.45+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
allComposers时,改为从工作区提取composerId并回查全局库cursorDiskKV的composerData:<id>。allComposers,继续走原解析逻辑。get_database_stats补齐agentKv:%/agentKV:%双前缀统计,并将分析相关 DB 打开方式改为只读。Test plan
cargo check(src-tauri)pnpm tauri devpnpm tauri build(生成:src-tauri/target/release/bundle/macos/Cursor Analysis.app、src-tauri/target/release/bundle/dmg/Cursor Analysis_1.0.5_aarch64.dmg)