v1.1.0
·
61 commits
to master
since this release
LumenCode v1.1.0 — Performance & Attribution
性能优化
- buildReportData 重构为 4 层并发流水线(Promise.all),git/stats/trend 三路并行
- 消除 getPerRepoGitStats 重复 git 调用,从 commitList 按 repo 分组派生 per-repo 数据(~280ms 优化)
- 修复缓存 key 缺少 format 参数导致工作汇报数据污染
AI 归因增强
- 分层 AI 归因:HIGH/MEDIUM/LOW 置信度权重体系
- 文件级行数追踪:精确计算 AI 贡献的代码行数
- 新增 possibleAICommits / weightedAILineRatio 等指标
- 支持更多 AI 工具检测:Windsurf、Augment、Cline/Roo Code、JetBrains AI
Bug 修复
- 修复侧边栏收缩展开后布局被挤右(grid min-width: 0)
- 修复侧边栏 sticky 失效(overflow: hidden 破坏定位上下文)
- 修复工作汇报显示 JSON 乱码(缓存 key format 污染)
代码质量
- DRY 提取: getProjectBaseName, isAssistantRecord, getInputTokens/getOutputTokens
- 移除 specs/ 目录(加入 .gitignore)
- 添加 period 参数白名单校验
Full Changelog: v1.0.0...v1.1.0