pub enum ApprovalDoor {
Acp,
Opencode,
Codex,
ClaudeCode,
SupercodeFrontend,
}Expand description
Which protocol door raised a live request.
A door decides two things this module needs and nothing else: the option
vocabulary a uniform decision maps onto, and the envelope
harness.v1.runtimes.respond carries the answer in. Each is the door’s
own — see ApprovalResolution.
Variants§
Acp
ACP session/request_permission (hermes, openclaw, grok, gemini,
goose, supercode’s own ACP server).
Opencode
opencode’s permission.asked bus event.
Codex
Codex’s *Approval server-to-client reverse request.
ClaudeCode
Claude Code’s stream-json can_use_tool control request, raised to the
permission handler supercode registers with
--permission-prompt-tool stdio.
SupercodeFrontend
supercode’s own frontend request broker, on a joined runtime.
Implementations§
Trait Implementations§
Source§impl Clone for ApprovalDoor
impl Clone for ApprovalDoor
Source§fn clone(&self) -> ApprovalDoor
fn clone(&self) -> ApprovalDoor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ApprovalDoor
Source§impl Debug for ApprovalDoor
impl Debug for ApprovalDoor
impl Eq for ApprovalDoor
Source§impl PartialEq for ApprovalDoor
impl PartialEq for ApprovalDoor
impl StructuralPartialEq for ApprovalDoor
Auto Trait Implementations§
impl Freeze for ApprovalDoor
impl RefUnwindSafe for ApprovalDoor
impl Send for ApprovalDoor
impl Sync for ApprovalDoor
impl Unpin for ApprovalDoor
impl UnsafeUnpin for ApprovalDoor
impl UnwindSafe for ApprovalDoor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.