Skip to content

NexusLabs.Needlr.AgentFramework.Workspace

NexusLabs.Needlr.AgentFramework

NexusLabs.Needlr.AgentFramework.Workspace Namespace

Classes
CompareExchangeResult Result data for a successful TryCompareExchange(string, string, string) call.
InMemoryWorkspace Thread-safe in-memory IWorkspace backed by a System.Collections.Concurrent.ConcurrentDictionary<>. Suitable for testing, sandboxed agent runs, and scenarios where persistence is not needed.
ReadFileResult Result data for a successful TryReadFile(string) call.
WorkspaceResult<T> Result of a workspace operation — either a success value of type T or a failure carrying an System.Exception.
WriteFileResult Result data for a successful TryWriteFile(string, string) call.
Interfaces
IWorkspace Abstraction for file storage used by agent tools. Implementations may back onto an in-memory dictionary, a real file system, or a cloud blob store.