Repository navigation
v4.1.2 — Security fixes, tsconfig strict checks, code dedup
v4.1.2 — 安全修复 + tsconfig 严格检查 + 代码去重
Security
- npm audit fix — 漏洞从 23 降至 5
Changed
- tsconfig 严格检查 — 启用
noImplicitReturns、noFallthroughCasesInSwitch、noUnusedParameters - 统一 escapeHtml — 用字符串替换版本取代 DOM 版本;移除重复的
escapeHtmlSkill - 集中 MODEL_DISPLAY_NAMES — 移至
constants.ts,消除代码库中 3 处重复映射 - 通用 openModal/closeModal — 将 11 处弹窗显示/隐藏模式统一为两个可复用函数
- 模型选择器重排 — Opus 4.5 排列在 Opus 4.6 下方(Opus → 4.7 → 4.6 → 4.5)
Fixed
- 移除死代码 (
message.data.sessionId) - 修复 18 个 strategy/manager 中的未使用参数警告
⚠️ 此版本为中间版本,未附带 VSIX 安装包。请直接下载最新的 v4.1.3。
🤖 Generated with Claude Code