feat: v0.9.2 — SkillHub双源技能管理、消息渠道多Agent绑定、模型配置优化、白屏安全网等

This commit is contained in:
晴天
2026-03-16 04:23:25 +08:00
parent b55ba4c14f
commit 48cffe1f42
25 changed files with 1088 additions and 276 deletions

View File

@@ -337,6 +337,13 @@ fn build_enhanced_path() -> String {
}
}
}
// NVM_SYMLINK 环境变量nvm-windows 的活跃版本符号链接,如 D:\nodejs
if let Ok(nvm_symlink) = std::env::var("NVM_SYMLINK") {
let symlink_path = std::path::Path::new(&nvm_symlink);
if symlink_path.is_dir() {
extra.push(nvm_symlink.clone());
}
}
// NVM_HOME 环境变量(用户可能自定义了 nvm 安装目录)
if let Ok(nvm_home) = std::env::var("NVM_HOME") {
let nvm_path = std::path::Path::new(&nvm_home);