package runner import ( "os" "amadan.net/oficina/equipo/internal/runnerproto" ) // LoadBindings reads the account bindings file with its file and identity checks. func LoadBindings(path string) ([]AccountBinding, error) { return loadDirectBindings(path) } // LockState takes the runner's exclusive state-directory lock. func LockState(dir string) (*os.File, error) { return lockState(dir) } // ReadCredentials reads the runner bearer from the state directory. func ReadCredentials(path string) (runnerproto.CredentialRotation, error) { return readCredentials(path) } // Bwrap is the configured bubblewrap binary. func (c Config) Bwrap() string { return c.bwrap() } // ToolProxy is the configured in-namespace MCP helper. func (c Config) ToolProxy() string { return c.toolProxy() } // Validate checks the configuration as LoadConfig does. func (c Config) Validate() error { return c.validate() } // PeerUID is the user id of a Unix socket's peer. func PeerUID(fd int) (uint32, error) { return peerUID(fd) }