@mwillbanks/ast-mcp 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -130,7 +130,9 @@ version = 1
130
130
  roots = ["."]
131
131
 
132
132
  [safety]
133
+ allow_any_path = false
133
134
  allow_external_roots = false
135
+ allow_temp_directory = true
134
136
  follow_symlinks = false
135
137
  require_hash = true
136
138
 
@@ -153,7 +155,7 @@ port = 3768
153
155
 
154
156
  Resolution is deterministic: environment overrides, project `ast-mcp.toml`, the platform global `ast-mcp/ast-mcp.toml`, then built-in defaults. The server uses MCP client workspace roots when available, so one global installation automatically selects the connected project. Existing environment variables remain supported as explicit overrides.
155
157
 
156
- Formatting uses dprint by default, can be disabled, or can route the first matching extension/glob to a shell-free external formatter with dprint fallback. Safety remains strict by default; explicit settings can allow final symlinks inside configured roots, make mutation hashes optional, or tune the host hook allow/block policy.
158
+ Formatting uses dprint by default, can be disabled, or can route the first matching extension/glob to a shell-free external formatter with dprint fallback. Mutation tools expose a host-compatible declared `files` batch. File operations allow the OS temporary directory by default; this can be disabled, while `allow_any_path = true` provides an explicit unrestricted mode. Other safety settings can allow final symlinks inside permitted roots, make mutation hashes optional, or tune the host hook allow/block policy.
157
159
 
158
160
  Inspect the result with `ast-mcp config validate` and `ast-mcp config show`. See the [configuration reference](https://mwillbanks.github.io/ast-mcp/docs/reference/configuration/) for the full schema, discovery rules, cache behavior, formatter contract, safety semantics, and migration guidance.
159
161