feat: 开放扩展安装确认与原生启用

This commit is contained in:
2026-09-12 02:21:05 +08:00
parent 9ec0eb0dd7
commit 534e302f82
4 changed files with 68 additions and 7 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ fn host_capabilities(host: State<'_, Host>) -> serde_json::Value {
.ok()
.and_then(|mut core| core.as_mut().map(|c| c.available()))
.unwrap_or(false);
serde_json::json!({"protocol":1,"workspace":true,"core":ready,"sync":true,"credentials":true,"extensions":false,"release":"preview","product":"OpenNexus"})
serde_json::json!({"protocol":1,"workspace":true,"core":ready,"sync":true,"credentials":true,"extensions":cfg!(windows),"release":"preview","product":"OpenNexus"})
}
#[derive(serde::Serialize)]