mavis_bash
Run shell commands in a workspace and return stdout, stderr, and exit code for any CLI tool like git, npm, or node, with cwd and timeout options.
Instructions
Run a shell command in the workspace. Returns stdout, stderr, and exit code. Use this to run any CLI: git, npm, vitest, supabase, node, etc. Prefer specific commands over shell scripts (no shell interpolation).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Subdirectory relative to workspace root. Defaults to root. | |
| command | Yes | The shell command to run. E.g. "git status" or "npm test". | |
| timeout_ms | No | Kill the process after N milliseconds. Default 30000 (30s). |