Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
687149e
fix(desktop): enrich relay agent directory for mention eligibility (#…
rmichelena Aug 10, 2026
f57b1be
test(desktop): assert owner-only agents stay hidden with member fallback
rmichelena Aug 10, 2026
230210e
fix(desktop): best-effort relay enrich + unit tests for #5363
rmichelena Aug 10, 2026
ebadfbc
fix(desktop): drop unused mut in list_relay_agents
rmichelena Aug 10, 2026
96e8d23
fix(desktop): address multi-model review findings for #5363
rmichelena Aug 10, 2026
4dde7cb
fix(desktop): size relay batch query limits by event cardinality
rmichelena Aug 10, 2026
10fcdb4
fix(desktop): close R2 review gaps for relay agent mention enrich
rmichelena Aug 10, 2026
5c20c96
fix(desktop): scope kind:30177 query by verified owners (R3 #1/#2)
rmichelena Aug 10, 2026
654a438
fix(desktop): apply R4 hardening for relay agent enrich (#5363)
rmichelena Aug 10, 2026
92c6fb5
fix(desktop): apply R5 gate fixes for relay agent enrich (#5363)
rmichelena Aug 10, 2026
3f8ad4a
style(desktop): rustfmt agent_discovery for tauri fmt-check (#5363)
rmichelena Aug 10, 2026
10768cc
fix(desktop): compile agent_discovery on current nostr API (#5363)
rmichelena Aug 10, 2026
170a117
fix(desktop): satisfy clippy manual_clamp and clone_on_copy (#5363)
rmichelena Aug 10, 2026
70b201e
style(desktop): biome format agentAutocompleteEligibility (#5363)
rmichelena Aug 10, 2026
cc4b123
Extract relay enrich module to satisfy desktop file-size ratchet.
rmichelena Aug 10, 2026
340d9d0
Fix rustfmt in relay_enrich.rs import block.
rmichelena Aug 10, 2026
8df3742
Fix biome format for channel mention eligibility without growing useM…
rmichelena Aug 10, 2026
3eaadbb
style(desktop): biome format useMentions.ts
rmichelena Aug 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions desktop/src-tauri/src/commands/agent_discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use crate::{
DiscoverManagedAgentPrereqsRequest, InstallRuntimeResult, ManagedAgentPrereqsInfo,
RelayAgentInfo, DEFAULT_ACP_COMMAND,
},
nostr_convert,
relay::query_relay,
};

Expand Down Expand Up @@ -1000,6 +999,7 @@ fn build_install_command(command: &str) -> Result<std::process::Command, String>
mod install_capture;
mod install_exec;
mod install_report;
mod relay_enrich;
use install_exec::run_install_command_with_retry;
use install_report::InstallReporter;

Expand Down Expand Up @@ -1048,14 +1048,7 @@ pub async fn list_relay_agents(state: State<'_, AppState>) -> Result<Vec<RelayAg
)
.await?;

// The convert helper returns `{"agents": [...]}`. Extract and re-deserialize
// into the strongly-typed `Vec<RelayAgentInfo>` the frontend expects.
let value = nostr_convert::agents_from_events(&events);
let agents = value
.get("agents")
.cloned()
.unwrap_or_else(|| serde_json::json!([]));
serde_json::from_value(agents).map_err(|e| format!("agent parse failed: {e}"))
relay_enrich::list_relay_agents_enriched(state.inner(), events).await
}

#[cfg(test)]
Expand Down
Loading