pare-bun
v0.24.2Pare Bun — Structured Bun runtime operations as typed JSON.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
run Bun Run
Runs a script or file with `bun run` and returns structured output (stdout, stderr, exit code, duration).
| Parameter | Type | Description |
|---|---|---|
script * | string | Script name or file path to run |
args | array | Additional arguments to pass to the script |
compact | boolean | Prefer compact output |
path | string | Project root path |
test Bun Test
Runs `bun test` and returns structured pass/fail results with per-test details.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
files | array | Specific test files or patterns to run |
filter | string | Filter tests by name pattern (--test-name-pattern) |
path | string | Project root path |
timeout | number | Test timeout in milliseconds (--timeout) |
build Bun Build
Runs `bun build` to bundle JavaScript/TypeScript and returns structured output with artifact info.
| Parameter | Type | Description |
|---|---|---|
entrypoints * | array | Entry point files to bundle |
compact | boolean | Prefer compact output |
format | string | Output module format (--format) |
minify | boolean | Minify the output (--minify) |
outdir | string | Output directory (--outdir) |
outfile | string | Output file path (--outfile) |
path | string | Project root path |
sourcemap | string | Source map generation (--sourcemap) |
splitting | boolean | Enable code splitting (--splitting) |
target | string | Build target environment (--target) |
install Bun Install
Runs `bun install` to install project dependencies and returns structured output with package count.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
frozen | boolean | Error if lockfile would change (--frozen-lockfile) |
path | string | Project root path |
production | boolean | Skip devDependencies (--production) |
add Bun Add
Runs `bun add` to add one or more packages and returns structured output.
| Parameter | Type | Description |
|---|---|---|
packages * | array | Package names to add (e.g. ['typescript', 'zod@3.22']) |
compact | boolean | Prefer compact output |
dev | boolean | Add as devDependency (--dev / -D) |
exact | boolean | Add exact version (--exact) |
path | string | Project root path |
remove Bun Remove
Runs `bun remove` to remove one or more packages and returns structured output.
| Parameter | Type | Description |
|---|---|---|
packages * | array | Package names to remove |
compact | boolean | Prefer compact output |
path | string | Project root path |
outdated Bun Outdated
Runs `bun outdated` to check for outdated packages and returns structured version info.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
path | string | Project root path |
pm-ls Bun PM List
Runs `bun pm ls` to list installed packages and returns structured package info.
| Parameter | Type | Description |
|---|---|---|
all | boolean | Show all transitive dependencies (--all) |
compact | boolean | Prefer compact output |
path | string | Project root path |