Expand description
Path containment, and the one definition of where Leviath’s data lives.
Functions§
- agents_
dir - The directory installed agents are unpacked into.
- data_
dir - Leviath’s data root:
<home>/.leviath. - home_
dir - The user’s home directory, honoring the
LEVIATH_HOMEoverride. - is_
safe_ path_ component - Whether
nameis safe to use as a single path component. - providers_
dir - The directory holding drop-in Rhai provider scripts.
- resolves_
within - Whether
pathstill lands insiderootonce symlinks are followed. - tools_
dir - The directory scanned for global drop-in Rhai tool scripts.