Initial Agentsd project commit
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
22
core/agentsd/src/main.rs
Normal file
22
core/agentsd/src/main.rs
Normal file
@@ -0,0 +1,22 @@
|
||||
mod syscall;
|
||||
mod plugin;
|
||||
mod server;
|
||||
pub mod paths;
|
||||
pub mod callback;
|
||||
pub mod permission;
|
||||
|
||||
use anyhow::Result;
|
||||
use tracing_subscriber::EnvFilter;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<()> {
|
||||
tracing_subscriber::fmt()
|
||||
.with_env_filter(EnvFilter::from_default_env().add_directive("agentsd=info".parse()?))
|
||||
.init();
|
||||
|
||||
tracing::info!("agentsd starting");
|
||||
tracing::info!("data dir: {}", paths::data_dir().display());
|
||||
|
||||
let kernel = syscall::Kernel::new()?;
|
||||
server::run(kernel).await
|
||||
}
|
||||
Reference in New Issue
Block a user