pub struct OpenCodeAdapter;Implementations§
Trait Implementations§
Source§impl ToolAdapter for OpenCodeAdapter
impl ToolAdapter for OpenCodeAdapter
Source§fn display_name(&self) -> &str
fn display_name(&self) -> &str
Human-readable display name (e.g. “Claude Code”, “Cursor”).
Source§fn is_installed(&self) -> bool
fn is_installed(&self) -> bool
Check if this tool is installed on the system.
Source§fn hooks_registered(&self) -> bool
fn hooks_registered(&self) -> bool
Check if agent-hand hooks are registered in this tool’s config.
Source§fn register_hooks(&self, bridge_script: &Path) -> Result<()>
fn register_hooks(&self, bridge_script: &Path) -> Result<()>
Register agent-hand hooks into this tool’s config. Read more
Source§fn unregister_hooks(&self) -> Result<()>
fn unregister_hooks(&self) -> Result<()>
Remove agent-hand hooks from this tool’s config.
Source§fn config_path(&self) -> Option<PathBuf>
fn config_path(&self) -> Option<PathBuf>
Path to this tool’s configuration file (for display purposes).
Source§fn supported_events(&self) -> &[&str]
fn supported_events(&self) -> &[&str]
Event types this tool supports.
Source§fn status(&self) -> ToolStatus
fn status(&self) -> ToolStatus
Get the current status of this tool.
Auto Trait Implementations§
impl Freeze for OpenCodeAdapter
impl RefUnwindSafe for OpenCodeAdapter
impl Send for OpenCodeAdapter
impl Sync for OpenCodeAdapter
impl Unpin for OpenCodeAdapter
impl UnsafeUnpin for OpenCodeAdapter
impl UnwindSafe for OpenCodeAdapter
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