✨ 新功能 (Features)
- build: 新增 AGP_LITE 精简构建,不含宿主改写模块(#195) (#200)
- CMake 选项 AGP_LITE:不编译会话摘要、桌面客户端钩子、客户端更新守护、插件安装提示四个模块及其内嵌 JS,调用点由 AgpLiteStubs.hpp 空实现承接
- build.ps1 -Lite:独立构建与输出目录,跳过 VSIX 与桌面插件,并校验 DLL 中无钩子特征串
- package-release-lite.ps1 与 release.yml:产出 ide-lite / cli-lite 两个 zip,Lite 步骤 continue-on-error,不阻断完整版与 Open VSX;build.yml 增加 Lite 编译校验
- docs/lite-build.md 随包发布为 README-LITE.md,说明与完整版的功能差异和选择建议;三语 README、Agent.md、DEVELOPMENT.md 同步
- doctor.ps1 在 Lite 包中跳过插件与入口检查,新增用例 16b;.gitignore 放行 docs/lite-build.md
- i18n: expand zh-cn & ru desktop UI dictionaries (510 exact + 55 templates) (#191)
- feat(i18n): expand zh-cn & ru desktop UI dictionaries (510 exact + 55 templates)
- fix(i18n): exclude chat prose, user messages, mentions, and project labels from DOM translation
🐛 Bug 修复 (Bug Fixes)
- summary: 侧栏菜单不再要求紧挨宿主项,并增加回位频率保护(Refs #196) (#202) (
3749f5a)- 新增 Core.navPlacementDecision:菜单与「自定义」项同父且排在其后即视为在位,不再挪动
- 10 秒窗口内回位超过 3 次视为与其它插件抢位,暂停 60 秒
- placeNav 改用该决策;页面脚本 VERSION 20 -> 21,否则同版本重载只刷新数据桥,修复不会替换已加载的旧页面
- 补回归单测。本机没有 agy-powertools,抢位原因按代码推断,未做对端复现,不声称已确认修复
- guard: 加固客户端更新守护并新增 ui.client_update_guard 开关(Refs #197) (#201)
- 命令行不含 --updated 时立即返回,先于任何静态初始化、字符串拷贝与文件访问
- Prepare / PrepareA 增加 SEH 兜底,补上 catch(...) 接不住的访问违例
- 新增 ui.client_update_guard(默认 true,只接受布尔值),并写入启动日志的配置摘要
- 补预判函数的单测。未能在隔离副本复现 #197,本提交是防御性加固,不声称已修复
- build: enable CMP0091 and fix Debug dynamic runtime name (#188)
- Enable policy CMP0091 NEW before project() so CMAKE_MSVC_RUNTIME_LIBRARY takes effect under cmake_minimum_required(VERSION 3.0...3.5), and change the STATIC_RUNTIME=OFF generator expression to MultiThreaded$<$CONFIG:Debug:Debug>DLL so Debug builds produce valid MultiThreadedDebugDLL (/MDd) instead of MultiThreadedDLLDebug.
🔧 杂项 (Chores)
- 同步版本号到 v2.6.17 [skip ci]