feat: ship agent-first mission control v0.2.57
This commit is contained in:
@@ -6,17 +6,26 @@ public sealed record DocFileInfo(
|
||||
string Category,
|
||||
string Type,
|
||||
long Size,
|
||||
DateTime ModifiedAt);
|
||||
DateTime ModifiedAt,
|
||||
string SourceAgentId,
|
||||
string WorkspacePath);
|
||||
|
||||
public sealed record DocFileContent(
|
||||
string Name,
|
||||
string Path,
|
||||
string Content,
|
||||
long Size,
|
||||
DateTime ModifiedAt);
|
||||
DateTime ModifiedAt,
|
||||
string SourceAgentId,
|
||||
string WorkspacePath);
|
||||
|
||||
public interface IDocService
|
||||
{
|
||||
IReadOnlyList<DocFileInfo> GetAll();
|
||||
Task<DocFileContent?> GetFileAsync(string path);
|
||||
Task<IReadOnlyList<DocFileInfo>> GetAllAsync(
|
||||
string agentId = "iris",
|
||||
CancellationToken cancellationToken = default);
|
||||
Task<DocFileContent?> GetFileAsync(
|
||||
string path,
|
||||
string agentId = "iris",
|
||||
CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user