brainwires-system
OS-level primitives for the Brainwires Agent Framework: filesystem event watching and system service management (systemd, Docker, processes).
Features
| Feature | Description |
|---|---|
reactor |
Filesystem event watcher — watch directories and trigger actions on changes |
services |
systemd unit management, Docker container control, process inspection |
full |
All features enabled |
Usage
[]
= { = "0.8", = ["full"] }
Filesystem Reactor
Watch directories and react to changes with debouncing and glob-pattern filtering:
use ;
use ReactorConfig;
let config = default;
let reactor = new;
reactor.watch.await?;
Service Management
Manage systemd units, Docker containers, and processes with a unified safety layer:
use ;
let config = ServiceConfig ;
let mgr = new;
mgr.start.await?;
Part of the Brainwires Framework
This crate is part of the brainwires framework and is re-exported under the system feature flag:
= { = "0.8", = ["system"] }