DashMap::clone() deep-copies all entries into a new map. The MCP server's cloned SshService/SftpService/RdpService/ScrollbackRegistry were snapshots from startup that never saw new sessions. Fix: wrap all DashMap fields in Arc<DashMap<...>> so clones share the same underlying map. Sessions added after MCP startup are now visible to MCP tools. Affected: SshService, SftpService, RdpService, ScrollbackRegistry. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| capabilities | ||
| gen/schemas | ||
| icons | ||
| src | ||
| windows | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| installer.nsi.template | ||
| tauri.conf.json | ||