@mwillbanks/ast-mcp 0.1.1 → 0.1.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
@@ -65,6 +65,26 @@ bun pm trust @ast-bro/cli dprint
65
65
 
66
66
  Bun blocks transitive lifecycle scripts by default, so the explicit trust step runs the pinned ast-bro and dprint installers before the MCP starts. Targets are `codex`, `claude`, `copilot`, or `all`. Use `./node_modules/.bin/ast-mcp update` to reconcile every managed surface and `./node_modules/.bin/ast-mcp uninstall` to remove only ast-mcp-managed configuration.
67
67
 
68
+ ### ast-bro platform support
69
+
70
+ `@ast-bro/cli@3.0.0` currently publishes a precompiled binary only for macOS Apple Silicon. The ast-mcp installer verifies that the pinned binary can execute before writing host configuration. On Linux, Windows, or macOS Intel, install it through Cargo and set `AST_BRO_BINARY` to the resulting executable before rerunning the installer:
71
+
72
+ ```bash
73
+ cargo install ast-bro --version 3.0.0 --locked
74
+ export AST_BRO_BINARY="$HOME/.cargo/bin/ast-bro"
75
+ printf '%s\n' 'export AST_BRO_BINARY="$HOME/.cargo/bin/ast-bro"' >> "$HOME/.profile"
76
+ ```
77
+
78
+ For Windows PowerShell:
79
+
80
+ ```powershell
81
+ cargo install ast-bro --version 3.0.0 --locked
82
+ $env:AST_BRO_BINARY = "$HOME\.cargo\bin\ast-bro.exe"
83
+ [Environment]::SetEnvironmentVariable("AST_BRO_BINARY", "$HOME\.cargo\bin\ast-bro.exe", "User")
84
+ ```
85
+
86
+ Install Rust and Cargo from [rustup](https://rustup.rs/) first when they are not already available. The example persists the variable for POSIX login shells; zsh users can write the same line to `~/.zprofile` instead. GUI-launched hosts must be started from that configured environment or receive `AST_BRO_BINARY` through their launcher. Restart the host after installation. The installer fails without changing host configuration when the binary is missing or has the wrong version.
87
+
68
88
  From a source checkout:
69
89
 
70
90
  ```bash