refactor: 全面优化 ReAct 框架与参考文献管理器 UI - #37
Merged
Merged
Conversation
**ReAct 框架增强(context-builder.js, engine.js, tool-registry.js)** - 完善文档状态检测逻辑 - 增加 hasChunks 状态检测(支持 translatedChunks/ocrChunks) - 修复 hasVectorIndex/hasSemanticGroups 检测(支持多数据源) - 增强事件系统 - 新增 iteration_start, tool_call_start, tool_call_complete 等事件 - 新增 context_pruned, final_answer 事件 - 统一事件发送机制(yield + emit) - 优化工具可用性判断 - 修复 requiresChunks 工具的条件判断(hasChunks || hasSemanticGroups) - 改进 getAvailableToolDefinitions 逻辑 **参考文献管理器 UI 升级(base.css, detail.css, reference-manager-ui.js)** - 视觉设计现代化 - 模态框背景添加毛玻璃效果(backdrop-filter: blur) - 统一使用 CSS 变量(--color-*, --shadow-*, --radius-*) - 优化渐变背景和阴影层次 - 交互体验改进 - 添加模态框打开时的背景滚动锁定 - 优化统计信息计算逻辑(直接从当前数据计算,无需依赖 ReferenceStorage) - 改进表格悬停样式和斑马纹效果 **CSS 设计系统优化(variables.css)** - 调整 z-index 层级系统 - 将 modal/popover/tooltip 提升到 2100+ 层级 - 确保覆盖层始终在沉浸式布局(1999-2000)之上 - 新增 --color-bg-primary 变量(向后兼容) **安全修复(react_visualization.js)** - 修复 HTML 转义逻辑(XSS 防护) - 修正 & -> & 转义顺序 - 统一使用 HTML 实体编码 技术债务清理:统一 CSS 变量使用,移除硬编码颜色值
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Feather-2
added a commit
that referenced
this pull request
Feb 17, 2026
修复: - llm: createProvider 透传完整 config 给 ModelRouter (#18) - runtime: timeout 中间件竞态条件 → settled 守卫 (#21) - crdt: ORSet toJSON 改用 entries 数组保留元素类型 (#23) - crdt: opLog 裁剪追踪 prunedUpToVersion + 同步缺口检测 (#24) - shared: tree-sitter Node.js 下 throw 而非静默返回 null (#27) - runtime: Python adapter 添加 60s 超时 + worker.onerror + null 守卫 (#30) 改善: - skills: user-store 11 处 fire-and-forget 日志 debug→warn (#35) - crdt: sync-manager JSDoc @limitation 标注 2 节点拓扑限制 (#37) 10 files, 846 test files / 20152 tests all green. via [HAPI](https://hapi.run)
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.
ReAct 框架增强(context-builder.js, engine.js, tool-registry.js)
参考文献管理器 UI 升级(base.css, detail.css, reference-manager-ui.js)
CSS 设计系统优化(variables.css)
安全修复(react_visualization.js)
技术债务清理:统一 CSS 变量使用,移除硬编码颜色值