Repository navigation
Conversation
新增左侧栏「项目汇总」,把已索引的项目汇成一页可读摘要: - 左栏:项目名单(搜索框 + 显示/隐藏项目单独成页)+ 全局设置入口; - 右栏六个页签:概览(文件/定义/关系三个大数字、语言构成、「这个项目在做什么」、 当前进程情况并支持单个/整体关闭)、结构(目录树 / 热力)、功能(可下钻的功能树)、 构成(符号类型色带 + 定义最多的文件)、查询(符号搜索 / 探索 / 上下文)、 维护(同步、重建、解锁、撤销、诊断包、项目改名); - 全局设置:默认项目、Agent 集成四个开关、运行状况、采纳率、诊断包,以及 MCP 常驻进程上限(按 2GB/进程估算,0 = 按需)与空闲回收分钟数(默认 60,最低 30)。 功能页按「模块 → 功能域 → 子功能 → 文件」逐层下钻,归类全部是写死的规则 (特征文件 + 目录 + 文件名),不调模型: - 模块类型看特征文件而不是目录名:app.json / pom.xml / APP+Drivers / mainwindow.cpp;Keil 工程没有 CMakeLists.txt 也认得出固件; - 第三方库(miniprogram_npm / Drivers / FreeRTOS)、测试、一次性脚本、备份、 临时与产物目录默认折叠且不计入功能统计——实测 1726 个文件的项目里 1382 个是 厂商库,不折叠的话「通讯」会被塞满; - 「这个项目在做什么」是面板里唯一的 AI 内容(summaryAi),24 小时内最多校准 一次,可手改,手改后不再被自动校准覆盖;关掉它其余页签照常可用。 自查修掉三个「数据看着正常、用起来是坏的」缺陷: - 散在项目根的文件聚成的模块 root 为空串,与前端「未选」的哨兵撞车,那个模块 永远点不开(default-workspace 实测有 121 个文件的模块中招); - .backup / 下划线临时目录 / 隐藏目录 / 产物目录被当成业务模块(实测 490 个 文件混进功能树); - 容器目录下浅模块的类型判定被更深模块的路径污染(src 只有 main.c 却显示成 「服务端」)。 预览脚本新增 --summary / --drill,可离线渲染四层截图与任意页签;新增 5 条 回归用例钉住上面三个缺陷。 门槛:typecheck(13 包 + client-lint)/ build / test(4356 passed;另有 2 条 symlink 用例在 Windows 上因无 symlink 权限失败,Linux CI 不受影响)/ no-public-ip / internal-ids / readme-facts / readme-structure / doc-links / test-collection 全绿;artifacts 与 aggregate 两道 check 因本机 pnpm 不是全局 可执行文件跑不了(spawnSync pnpm ENOENT),已用「再 build / 再 aggregate 后 git 状态不变」等价验证产物与聚合清单同步。
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 / --drill,可离线渲染四层截图与任意页签;新增 5 条
回归用例钉住上面三个缺陷。
门槛:typecheck(13 包 + client-lint)/ build / test(4356 passed;另有 2 条 symlink 用例在 Windows 上因无 symlink 权限失败,Linux CI 不受影响)/ no-public-ip / internal-ids / readme-facts / readme-structure / doc-links / test-collection 全绿;artifacts 与 aggregate 两道 check 因本机 pnpm 不是全局 可执行文件跑不了(spawnSync pnpm ENOENT),已用「再 build / 再 aggregate 后 git 状态不变」等价验证产物与聚合清单同步。