feat(grid-agent): establish architecture and config (#118)
This commit is contained in:
25
crates/metacrate-grid-agent/src/lib.rs
Normal file
25
crates/metacrate-grid-agent/src/lib.rs
Normal file
@@ -0,0 +1,25 @@
|
||||
//! Bounded service foundation for the native `MetaCrate` `OpenSim` grid agent.
|
||||
//!
|
||||
//! Configuration is resolved and validated before [`AgentService::start`]
|
||||
//! creates tasks or calls a backend. The core has no signal, terminal, path,
|
||||
//! subprocess, provider-SDK, or platform-specific dependency.
|
||||
|
||||
pub mod backend;
|
||||
pub mod config;
|
||||
pub mod service;
|
||||
pub mod types;
|
||||
|
||||
#[cfg(feature = "live-grid")]
|
||||
pub use backend::LibremetaverseClientOwner;
|
||||
pub use backend::{BackendError, BackendFuture, GridBackend, OfflineGridBackend, WorldMutator};
|
||||
pub use config::{
|
||||
AgentConfig, BehaviorSettings, ConfigError, ConfigLoader, EndpointUrl, Environment,
|
||||
GridConnection, Limits, LlmConnection, MapEnvironment, OperatingMode, SecretString,
|
||||
StdEnvironment, Timeouts,
|
||||
};
|
||||
pub use service::{AgentService, ServiceError, ServiceHandle, ServiceState};
|
||||
pub use types::{
|
||||
BoundaryError, BoundedText, BoundedVec, ControlCommand, Conversation, ConversationMessage,
|
||||
GridEvent, GridEventKind, LlmRequest, LlmResult, MessageRole, ObservableEvent, PolicyDecision,
|
||||
ProposedToolCall, ToolCallOutcome,
|
||||
};
|
||||
Reference in New Issue
Block a user