Skip to content

v1.4.5

Choose a tag to compare

@github-actions github-actions released this 05 Nov 07:46
· 38 commits to main since this release

🚀 新增功能

  • 资产范围特征卡片选择器与天眼查交互优化:AssetScope.vue 重构资产范围交互,上线卡片式模式选择器(支持域名、IP、资产组等多维度模式平滑切换,卡片具备高对比度选中态、特征标签与描述说明);优化 TycTaskModal.vue 天眼查企业任务弹窗,改进 ICP 查重与数据汇总展示布局,提升大批量企业组织输入时的交互反馈;同步补齐中、英、俄三语国际化字典(assets.zh-CN.js、assets.en-US.js、assets.ru-RU.js)。

🛠️ 性能与重构

  • 策略配置海量 PoC 批量校验与分页分片渲染:针对策略配置中包含数千个 PoC 插件时的页面卡顿问题,后端 policy.py 新增 /api/policy/plugin/verify-batch 批量校验接口,采用并发分片校验、熔断保护与超限保护机制,显著降低网络请求轮询开销;前端 PolicyDetail.vue 引入海量 PoC 分页分片异步渲染机制,解耦响应式大对象与深层监听,将深层查找优化为微秒级 Set 索引,消除批量选择与策略加载过程中的 UI 冻结与卡死;配套提供前后端自动化单元测试套件(test_policy_plugin_batch.py 与 policyDetailPocPerformance.test.js)。

🐛 问题修复与加固

  • 系统设置首屏未保存状态防抖与推荐并发映射修复:修复 SystemSettings.vue 在首屏数据异步加载过程中因默认响应式字段未对齐导致的“未保存更改”提示横条误报闪烁;重构 applyRecommended 性能推荐算法字段映射,修复滑块取值与并发数值映射偏差;增设未就绪状态门禁与子 Tab 脏状态精准导航,配套新增 systemSettingsDirtyState.test.js 全覆盖单元测试。
  • MCP 治理中心夜间模式与平台主题规范适配:修复 McpCenter.vue 在暗色主题下的样式失真问题,重构顶部状态栏、指标统计卡片、操作说明容器与日志抽屉的 CSS 变量继承,严格对齐平台暗黑模式规范与高对比度文字排版。

🛡️ 安全与配置

  • 部署流程分步单行执行引导与代码折叠收敛:优化 README.md、README_en.md、docs/QUICKSTART.md 与 docs/QUICKSTART_en.md 中的生产部署指令说明,增加逐步单行执行提示,引入折叠式分步命令块,降低新手运维在容器部署与初始化阶段的误操作概率。

🚀 New Features

  • Asset scope feature card selector and Tianyancha recon UX enhancements: overhauled the scope selection workflow in AssetScope.vue with an interactive card-based mode selector (supporting smooth switching between domains, IPs, and asset groups with high-contrast active states, capability tags, and descriptions); enhanced the TycTaskModal.vue Tianyancha recon dialog with optimized ICP deduplication layout and summary metrics; fully updated trilingual dictionaries across Chinese, English, and Russian (assets.zh-CN.js, assets.en-US.js, assets.ru-RU.js).

🛠️ Performance & Refactoring

  • Policy configuration batch PoC validation and chunked paginated rendering: addressed UI latency under thousands of PoC plugins by introducing the /api/policy/plugin/verify-batch backend endpoint with concurrent chunked execution, timeout guards, and robust status mapping; re-engineered PolicyDetail.vue with paginated chunked rendering and decoupled Set-based lookups, eliminating deep reactivity overhead and ensuring microsecond-level batch selection responsiveness without main thread blocking; delivered automated backend and frontend test suites (test_policy_plugin_batch.py and policyDetailPocPerformance.test.js).

🐛 Bug Fixes & Hardening

  • System settings initial dirty-state debouncing and recommended concurrency mapping: resolved premature "unsaved changes" banner flickering in SystemSettings.vue caused by asynchronous data arrival and mismatched reactive baselines; fixed field mapping in applyRecommended for performance concurrency sliders; introduced uninitialized state gating and precise dirty-tab navigation, accompanied by the systemSettingsDirtyState.test.js test suite.
  • MCP Center dark mode adaptation and platform theme alignment: corrected styling discrepancies in McpCenter.vue under dark mode, revamping CSS variables for top status bars, metric cards, instruction panels, and audit log drawers to strictly comply with platform dark theme tokens.

🛡️ Security & Configuration

  • Deployment workflow step-by-step guidance and collapsible code blocks: refined production installation guides across README.md, README_en.md, docs/QUICKSTART.md, and docs/QUICKSTART_en.md with explicit single-line execution prompts and collapsible snippet sections, mitigating operational errors during container setup and cold starts.

Full Changelog: v1.4.4...v1.4.5