fix(remote): share the agent logout helper with the host menu after restacking on plain logout

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Neil
2026-11-09 06:38:41 -08:00
co-authored by Claude
parent cf8809a6b2
commit 33456d03dc
2 changed files with 23 additions and 2 deletions
@@ -22,7 +22,10 @@ import {
subscribeHostAgentSignInReports
} from '@/runtime/provider-accounts/sign-in/host-agent-sign-in-status-client'
import { signOutAgentOnHost } from '@/lib/agent-sign-in/host-agent-sign-out'
import { HOST_AGENT_SIGN_IN_AGENT_NAME } from '../../../../../../shared/host-agent-sign-in-status'
import {
HOST_AGENT_SIGN_IN_AGENT_NAME,
type HostAgentSignInAgent
} from '../../../../../../shared/host-agent-sign-in-status'
const AGENT_NAME = HOST_AGENT_SIGN_IN_AGENT_NAME
+19 -1
View File
@@ -24575,6 +24575,24 @@
"signOutOf": "Sign out of {{agent}}…",
"signOutTitle": "Sign out of {{agent}} on {{host}}?",
"signOutBody": "Runs {{agent}}’s own sign-out on {{host}}. The next {{agent}} you start there asks you to sign in. Agents already running there aren’t stopped, and saved accounts stay listed.",
"signOut": "Sign out"
"signOut": "Sign out",
"otherAccount": "Not your usual account.",
"otherAccountDetail": "This computer uses {{email}} for {{agent}}.",
"switchAccount": "Switch account",
"switchAccountDetail": "Switch accounts in your browser, then start {{agent}} there again to sign in.",
"otherAccountToast": "{{agent}} on {{host}} is signed in as {{email}}"
},
"vmBuildAgentSignIn": {
"optional": "optional",
"idleDetail": "Or sign in when you first start one.",
"signInBoth": "Sign in {{first}} + {{second}}",
"signInOne": "Sign in {{agent}}",
"next": "{{agent}} next",
"waiting": "{{agent}}: finish in your browser",
"signed": "{{agent}}: signed in",
"continueBelow": "{{agent}}: continue below",
"starting": "{{agent}}: starting sign-in…",
"title": "Agent sign-in",
"otherAccount": "{{agent}} signed in as {{email}}."
}
}