namespace Nexus.Api.Services; public sealed record MemoryFileInfo( string Name, string Path, long Size, DateTime ModifiedAt, string SourceAgentId, string WorkspacePath); public sealed record MemoryFileContent( string Name, string Path, string Content, long Size, DateTime ModifiedAt, string SourceAgentId, string WorkspacePath); public sealed record MemorySearchResult( string Name, string Path, string Excerpt, long Size, string SourceAgentId, string WorkspacePath); public interface IMemoryService { Task> GetAllAsync( string agentId = "iris", CancellationToken cancellationToken = default); Task> SearchAsync( string query, string agentId = "iris", CancellationToken cancellationToken = default); Task GetFileAsync( string name, string agentId = "iris", CancellationToken cancellationToken = default); }