safe-chains 0.167.0

Auto-allow safe bash commands in agentic coding tools
Documentation
[[command]]
name = "mdbook"
description = "Builds online books from Markdown source files into HTML, PDF, or other formats. The 'build' and 'clean' subcommands write to the filesystem (output directory). The 'test' subcommand compiles and runs code samples embedded in the book's Markdown, which can execute arbitrary code. Releases are periodic (v0.5.2 as of December 2025), with new options added occasionally."
url = "https://rust-lang.github.io/mdBook/"
bare_flags = ["--help", "--version", "-V", "-h"]

[[command.sub]]
name = "build"
level = "SafeWrite"
standalone = ["--help", "--open", "-h", "-o"]
valued = ["--dest-dir", "-d"]

[[command.sub]]
name = "test"
level = "SafeRead"
standalone = ["--help", "-h"]
valued = ["--dest-dir", "--library-path", "-L", "-d"]

[[command.sub]]
name = "clean"
level = "SafeWrite"
standalone = ["--help", "-h"]
valued = ["--dest-dir", "-d"]