Method ResolveWorkingDirectoryAgentPath
- Namespace
- Oscova.Agents.Utils
- Assembly
- Oscova.Agents.dll
ResolveWorkingDirectoryAgentPath(IReadOnlyList<AllowedDirectory>)
Returns the agent-facing path of the working directory (e.g. /workspace/default or a
named workspace in sandbox mode). Use this wherever the shell or system prompt must advertise
a working directory — it matches what the shell is actually mounted at.
public static string? ResolveWorkingDirectoryAgentPath(IReadOnlyList<AllowedDirectory> allowedDirectories)Parameters
allowedDirectoriesIReadOnlyList<AllowedDirectory>