feat(server): refactor handlers, router, state management, and memory tools
This commit is contained in:
1 parent
87ddb01063
commit
a083719cf1
36 files changed
+1899
-597
No files matched your search
@@ -700,3 +700,28 @@ pub struct SemanticCodeSearchTool {
|
||||
pub struct ReadDirectoryArchitectureTool {
|
||||
pub directory: String,
|
||||
}
|
||||
|
||||
/// Create a point-in-time state snapshot of memory stores for safety.
|
||||
#[derive(Debug, Deserialize, Serialize, JsonSchema)]
|
||||
pub struct CreateSnapshotTool {
|
||||
pub description: String,
|
||||
pub namespace: Option<String>,
|
||||
}
|
||||
|
||||
/// Restore a point-in-time state snapshot of memory stores.
|
||||
#[derive(Debug, Deserialize, Serialize, JsonSchema)]
|
||||
pub struct RestoreSnapshotTool {
|
||||
pub snapshot_id: String,
|
||||
}
|
||||
|
||||
/// Create an isolated memory namespace for a subagent session.
|
||||
#[derive(Debug, Deserialize, Serialize, JsonSchema)]
|
||||
pub struct CreateSubagentNamespaceTool {
|
||||
pub subagent_id: String,
|
||||
}
|
||||
|
||||
/// Purge an isolated subagent memory namespace after session completion.
|
||||
#[derive(Debug, Deserialize, Serialize, JsonSchema)]
|
||||
pub struct PurgeSubagentNamespaceTool {
|
||||
pub subagent_id: String,
|
||||
}
|
||||
Reference in new issue
Block a user