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

@@ -435,6 +435,7 @@ async fn plugin_install_returns_apps_needing_auth() -> Result<()> {
name: "Alpha".to_string(),
description: Some("Alpha connector".to_string()),
install_url: Some("https://chatgpt.com/apps/alpha/alpha".to_string()),
needs_auth: true,
}],
}
);
@@ -518,6 +519,7 @@ async fn plugin_install_filters_disallowed_apps_needing_auth() -> Result<()> {
name: "Alpha".to_string(),
description: Some("Alpha connector".to_string()),
install_url: Some("https://chatgpt.com/apps/alpha/alpha".to_string()),
needs_auth: true,
}],
}
);