statespace_server/lib.rs
1//! HTTP server for Statespace tool execution.
2//!
3//! Serves markdown files with frontmatter-defined tools, validates commands,
4//! and executes them in a sandboxed environment.
5
6pub mod content;
7pub mod error;
8pub mod semantics;
9pub mod server;
10
11pub use statespace_tool_runtime::{
12 ActionRequest, ActionResponse, BuiltinTool, ExecutionLimits, Frontmatter, HttpMethod,
13 ToolExecutor, ToolOutput, ToolPart, ToolSpec, is_valid_tool_call, parse_frontmatter,
14 validate_command_with_specs,
15};
16
17pub use content::{ContentResolver, LocalContentResolver};
18pub use error::{Error, Result};
19pub use server::{ServerConfig, ServerState, build_router};