Functions§
- validate_
non_ root_ listing_ path - Validates that a directory-listing request targets a safe path.
Blocks empty paths, absent paths, and absolute filesystem root
/, but allows.(workspace root) — loop detection andmax_itemscaps handle the “infinite loops” concern that originally motivated blocking root-listing. - validate_
path_ safety - Validates that a path is safe to use. Re-exported from vtcode-commons for tool-specific use cases.