Execute a command
POST/commands/execute
Execute a command via npx --no in the mods directory with NDJSON streaming output.
The response is a stream of newline-delimited JSON events: stdout, stderr, and exit.
Constraints:
args: max 64 elements, each max 4096 charactersstdin: max 1 MiBtimeoutMs: 1–300000 (default 30000)
Request
Responses
- 200
- 400
Command execution stream (NDJSON).
Invalid request (validation failed).