feat: expose needs_auth for plugin/read. (#15217)

So UI can render it properly.
This commit is contained in:
xl-openai
2026-03-19 15:02:45 -07:00
committed by GitHub
parent 27977d6716
commit 2254ec4f30
10 changed files with 392 additions and 9 deletions

View File

@@ -2035,6 +2035,7 @@ pub struct AppSummary {
pub name: String,
pub description: Option<String>,
pub install_url: Option<String>,
pub needs_auth: bool,
}
impl From<AppInfo> for AppSummary {
@@ -2044,6 +2045,7 @@ impl From<AppInfo> for AppSummary {
name: value.name,
description: value.description,
install_url: value.install_url,
needs_auth: false,
}
}
}