@rcrsr/rill-ext-exec
v0.18.4
Published
rill extension for sandboxed command execution
Downloads
194
Maintainers
Readme
@rcrsr/rill-ext-exec
rill extension for sandboxed command execution. Provides process spawning with allowlist/blocklist argument validation, timeout enforcement, and output size limits.
Install
npm install @rcrsr/rill-ext-execQuick Start
rill-config.json
{
"main": "app.rill",
"extensions": {
"mounts": {
"exec": "@rcrsr/rill-ext-exec"
},
"config": {
"exec": {
"commands": {
"git": {
"binary": "git",
"allowedArgs": ["status", "--short", "log", "--oneline"],
"cwd": "/home/user/repo"
}
}
}
}
}
}app.rill
use<ext:exec> => $exec
$exec.git(["status", "--short"]) -> logrill-runDocumentation
See full documentation for configuration, functions, security controls, and error handling.
License
MIT
