Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
style(host): format the view selection validator
Linuxdazhao7caaeee40562
diff --git a/crates/host-core/src/plugins/validation.rs b/crates/host-core/src/plugins/validation.rsindex 8009eb601..d4797d8c6 100644--- a/crates/host-core/src/plugins/validation.rs+++ b/crates/host-core/src/plugins/validation.rs@@ -497,7 +497,10 @@ pub(crate) fn validate_contributions(root: &Path, manifest: &PluginManifest) ->if !has_title {bail!("PLUGIN_INVALID: view {id} requires a title");}- if obj.get("acceptsTranscriptSelection").is_some_and(|value| !value.is_boolean()) {+ if obj+ .get("acceptsTranscriptSelection")+ .is_some_and(|value| !value.is_boolean())+ {bail!("PLUGIN_INVALID: view {id} acceptsTranscriptSelection must be a boolean");}let entry_path = obj