refactor(agent): drop vestigial install_configured param, non_empty_env helper, explicit infallible expect in client
This commit is contained in:
parent
9cebc128e2
commit
f2f104627d
4 changed files with 14 additions and 15 deletions
|
|
@ -11,8 +11,6 @@
|
|||
//! plugin specs resolve against current index data. Marketplace update
|
||||
//! failures are non-fatal — stale index is better than no install attempt.
|
||||
|
||||
use std::path::Path;
|
||||
|
||||
use tokio::process::Command;
|
||||
|
||||
const PLUGINS_PATH: &str = "/etc/hyperhive/claude-plugins.json";
|
||||
|
|
@ -103,8 +101,7 @@ async fn update_marketplaces() {
|
|||
/// notification, see `Surface::send_to_parent`). Wire-agnostic: the
|
||||
/// caller picks the recipient via the same `<parent>` sentinel that
|
||||
/// failure-notify uses everywhere else.
|
||||
pub async fn install_configured(socket: &Path) -> Vec<String> {
|
||||
let _ = socket; // Reserved for future telemetry; currently unused.
|
||||
pub async fn install_configured() -> Vec<String> {
|
||||
let Ok(raw) = tokio::fs::read_to_string(PLUGINS_PATH).await else {
|
||||
return Vec::new();
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue