@ondeinference / ed Mirror · read-only / commits / 8b6a6ba
Fork 0

Read-only mirror of github.com/ondeinference/ed.

Mirrored from https://github.com/ondeinference/ed.git

Synced Nov 23, 01:00 UTC

Say what logout does for an external agent

The doc promised the agent forgets its session. For an external agent logout only ends the child process; the CLI keeps its credentials. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-Authored-By: siGit Code v1.7.6 <noreply@sigit.si>

Seto Elkahfi committed Nov 1, 2026 at 19:49 UTC 8b6a6ba6f6c7c6fe07e42537c1a2499eebade57c
1 file changed +3 -1
crates/ed-acp-tauri/src/client.rs
+3 -1
@@ -679,7 +679,9 @@ impl AgentState {
679 Ok(())
680 }
681
682 - /// Sign out: the agent forgets its stored session.
682 + /// Sign out. The in-process agent forgets its stored session. An external agent's child
683 + /// process is ended instead, and its own credentials are left alone, so the next connection
684 + /// starts it still signed in.
685 pub async fn logout(&self, app: &AppHandle) -> Result<(), String> {
686 // An external agent keeps its session in its own CLI, which this app doesn't touch.
687 // Ending the process is all that signing out of it means here.