You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3ea03b9
Browse filesBrowse the repository at this point in the historyBrowse files
Ask again after a revoked agent app reconnects (#43)
Revoking an app's approval kept its key refused for good, and the app
offered no way back short of an undocumented --forget-key run. Now the
revoked live helper stays blocked, but a new session of that app gets a
fresh approval request; allowing it lifts the key's revocation (and any
unsaved revocation of it). A failed save leaves the key revoked.
Agent: Claude Code (runtime model unverified)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015LJG7NX2yks21D5Tau2tYG
// Explicit reset from the same registered host. A revoked credential
188
-
// stays revoked until the host requests a reset and the user approves again.
187
+
// Explicit reset from the same registered host. Not needed after a
188
+
// revocation: a new session of the host asks the user again.
189
189
guardletregisteredHostelse{exit(1)}
190
190
exit(ClientKey.delete(host:registeredHost)?0:1)
191
191
}
@@ -421,7 +421,7 @@ import Security
421
421
("unproven","The selected instruction changed or was not read by this helper. Read it again with \(reader), then resend with the returned profile and revision."),
422
422
("approval_required","Ask the user to approve this pending connection in the app. Do not retry in a loop."),
423
423
("disabled","Draft receipt is off for this app or globally. Ask the user to turn it on."),
424
-
("revoked","This app's approval was revoked. It requires a credential reset and new approval."),
424
+
("revoked","The user revoked this app's approval for this session. Stop. A new agent session asks the user for approval again."),
425
425
("locked","The Mac is locked. Retry after the user unlocks it."),
426
426
("too_large","A field is over its limit. Nothing was opened or shortened. Shorten it, or split the body into separate drafts with their own keys."),
427
427
("invalid","A field is missing, misnamed or malformed. Fix the arguments; resending unchanged will not help."),
@@ -517,7 +517,7 @@ import Security
517
517
case"approval_required":return"Ask the user to approve this specific pending connection in \(TTSRuntime.displayName) → Agent (에이전트), then check again."
518
518
case"disabled":return"Draft receipt is off globally or for this agent app. Ask the user to enable it in \(TTSRuntime.displayName) → Agent (에이전트)."
519
519
case"locked":return"The Mac's screen is locked, so nothing is received. Retry after the user unlocks it; no new approval is needed."
520
-
case"revoked":return"The user removed this client in \(TTSRuntime.displayName). An explicit host credential reset and a new approval are required for this registered agent."
520
+
case"revoked":return"The user revoked this app's approval in \(TTSRuntime.displayName). This session stays disconnected; start a new agent session to ask the user for approval again."
521
521
case"upgrade_required":return"The running app and this helper are different versions. Use the helper bundled with the running app."
522
522
case"reading_only":return"Connected. One instruction revision is approved. Draft receipt is off."
523
523
case"receiving_only":return"Connected. Send with submit_tts_draft; there is no selected instruction."
0 commit comments