Skip to main content

Module pending_path_access

Module pending_path_access 

Source
Expand description

Pending path-access requests — interactive escalation when an agent tries to read/write a path outside its allowed_paths.

Mirrors [PendingToolApprovals] but carries path-specific context (path, agent_name, mode) so the resolve endpoint can create a Mount or add a temporary allowed_paths entry before unblocking the GatedTool.

Pattern: identical to pending_tool_approvals.rs (RFC-017 / RFC-035).

Structs§

PendingPathAccess
Thread-safe registry of in-flight path-access requests.

Enums§

PathAccessResult
Result of a path-access request.