Module ops

Module ops 

Source
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.

Structsยง

BatchRequest
Batch operation request.
BatchResult
Result of batch operations.
JournalEntry ๐Ÿ”’
Journal entry tracking an executed operation for potential rollback.
OperationResult
Result of a single operation.
OpsManager
Operations manager for file operations with feedback.
RollbackDetails
Details about rollback execution for atomic batches.
RollbackError
Error encountered during a rollback operation.

Enumsยง

Operation
A single file operation.
RollbackData ๐Ÿ”’
Data needed to rollback an operation. This is internal to batch operations and more detailed than UndoData.