fix: 修复 Agent Preset 页面样式、优化插件恢复文案并缩短安装超时 - #319
Merged
Conversation
- Update CSS module hash mapping from eWkxHa_ to aThYWW_ to align with rc.1 upstream emitted styles - Add regression test in test/preset-transfer-patch.test.ts verifying class name hash alignment
- 发现新版本时在恢复页面提示文案中包含目标版本号(如:该插件有新的兼容版本(v2.0.0)) - 简化恢复窗口中的卸载按钮文案为“卸载插件” / “Uninstall plugin” - 将世代安装 pnpm 默认超时时间由 12 分钟调整为 90 秒,避免异常挂起时长时间等待 - 更新对应单元测试
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.
概述
本次 PR 包含以下优化与修复:
1. 修复 Agent Preset 页面无样式问题
0.1.2-rc.1后,上游 CSS module 类名哈希变更为aThYWW_*。patches/@deepseek-ai+dsh-client-ui-agent-preset+0.1.2-rc.1.patch此前沿用了旧哈希eWkxHa_*,导致页面元素缺少样式。现已对齐为aThYWW_*。test/preset-transfer-patch.test.ts中补充类名哈希对齐的回归测试。2. 插件恢复界面与文案优化
该插件有新的兼容版本(v2.0.0)/A compatible update is available (v2.0.0))。Uninstall plugin)。3. 缩短世代安装超时时间
GENERATION_INSTALL_TIMEOUT_MS)由 12 分钟调整为 90 秒,避免异常挂起时长时间等待。4. 依赖规范化
package-lock.json中的依赖排序与结构。验证
npm run typecheck通过,无类型错误。npm test84 个测试套件、703 个测试全部通过。