diff --git a/pkgs/mcpx/docs/runtimes.md b/pkgs/mcpx/docs/runtimes.md index 8b6f2bb768..4508e839cd 100644 --- a/pkgs/mcpx/docs/runtimes.md +++ b/pkgs/mcpx/docs/runtimes.md @@ -9,12 +9,12 @@ bundle mcpx's own flags under a name. Every setting named here is in `script.runtime` (`--runtime`, `MCPX_SCRIPT_RUNTIME`) is one of: -| Value | Meaning | -| --- | --- | -| `auto` (default) | the first entry of `script.runtimeOrder` that is installed **and** can enforce the permissions asked for | -| `deno`, `bun`, `node` | that binary on `PATH` | -| a name under `script.runtimes` | the declared binary, with the declared kind | -| a path or another name on `PATH` | accepted when its basename, without an executable extension, is `deno`, `bun` or `node` | +| Value | Meaning | +| -------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `auto` (default) | the first entry of `script.runtimeOrder` that is installed **and** can enforce the permissions asked for | +| `deno`, `bun`, `node` | that binary on `PATH` | +| a name under `script.runtimes` | the declared binary, with the declared kind | +| a path or another name on `PATH` | accepted when its basename, without an executable extension, is `deno`, `bun` or `node` | Binaries are resolved with Go's `exec.LookPath`, so `PATHEXT` is honoured on Windows and nothing assumes `.exe`. A name that resolves to something that is @@ -42,11 +42,11 @@ mcpx: bash resolves to /bin/bash, which is not a known JavaScript runtime; decla up on `PATH` (default: the declared name); `args` are runtime options placed after mcpx's own fixed options and before the permission flags: -| Kind | argv | -| --- | --- | -| deno | `run --quiet --no-check