Expand description
Operations manager for agent file management.
This module provides a structured interface for file operations with JSON feedback,
designed for AI agents to manage files through the virtual .ops/ directory.
Re-exportsยง
use chrono::DateTime;๐use chrono::Utc;๐use ragfs_core::VectorStore;๐use serde::Deserialize;๐use serde::Deserialize;๐use serde::Serialize;๐use serde::Serialize;๐use std::fs;๐use std::path::Path;๐use std::path::PathBuf;๐use std::sync::Arc;๐use tokio::sync::RwLock;๐use tokio::sync::mpsc;๐use tracing::debug;๐use tracing::info;๐use tracing::warn;๐use uuid::Uuid;๐use crate::safety::HistoryOperation;๐use crate::safety::SafetyManager;๐use crate::safety::UndoData;๐
Structsยง
- Batch
Request - Batch operation request.
- Batch
Result - Result of batch operations.
- Journal
Entry ๐ - Journal entry tracking an executed operation for potential rollback.
- Operation
Result - Result of a single operation.
- OpsManager
- Operations manager for file operations with feedback.
- Rollback
Details - Details about rollback execution for atomic batches.
- Rollback
Error - Error encountered during a rollback operation.
Enumsยง
- Operation
- A single file operation.
- Rollback
Data ๐ - Data needed to rollback an operation.
This is internal to batch operations and more detailed than
UndoData.