@mwillbanks/ast-mcp 0.1.2 → 0.1.3
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 +12 -2
- package/dist/ast-mcp.js +165 -67
- package/dist/ast-mcp.js.map +6 -6
- package/package.json +2 -1
- package/src/cli.ts +129 -5
- package/src/installer.ts +53 -29
- package/src/runtime/dependencies.ts +141 -7
- package/templates/skills/ast-mcp/references/installation.md +15 -3
package/README.md
CHANGED
|
@@ -54,16 +54,26 @@ Runtime dependencies are pinned where binary compatibility matters. `@ast-bro/cl
|
|
|
54
54
|
|
|
55
55
|
Install the MCP server, blocking hooks, unified skill, and managed instructions into the current repository:
|
|
56
56
|
|
|
57
|
+
```npm
|
|
58
|
+
npm install --save-dev @mwillbanks/ast-mcp
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
When installing with Bun, allow the pinned native installers:
|
|
62
|
+
|
|
57
63
|
```bash
|
|
58
|
-
bun add --dev @mwillbanks/ast-mcp
|
|
59
64
|
bun pm trust @ast-bro/cli dprint
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
```bash
|
|
60
68
|
./node_modules/.bin/ast-mcp install \
|
|
61
69
|
--scope local \
|
|
62
70
|
--target all \
|
|
63
71
|
--root "$PWD"
|
|
64
72
|
```
|
|
65
73
|
|
|
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.
|
|
74
|
+
Bun blocks transitive lifecycle scripts by default, so the explicit trust step runs the pinned ast-bro and dprint installers before the MCP starts. If another package manager blocks dependency build scripts, approve `@ast-bro/cli` and `dprint` through that manager before configuring a host. npm, pnpm, Yarn Classic, and Yarn 2+ project installations are supported. The runtime resolves binaries from ancestor package bins, package metadata, package-manager global bins, and then `PATH`.
|
|
75
|
+
|
|
76
|
+
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 marked blocks, managed entries, and the owned `ast-mcp` skill directory.
|
|
67
77
|
|
|
68
78
|
### ast-bro platform support
|
|
69
79
|
|