games.script.run
Generated at from
openvibe-contracts v0.143.0 and
openvibe-sdk v0.44.0.
Grantable to apps: request it for an app on its project page. Network approves it only inside the project's allowance.
Run a staff-installed script mod (games-quickjs@1, one or more module files in its content pack, imports resolved inside the pack only) in its own QuickJS sandbox per place, under the pack's CPU and memory budgets; a staff hot reload replaces the code and keeps its storage, and a reload that fails to start keeps the previous version running. The script sees only the bindings its install was granted.
- Owner
- games (token audience
openvibe.games) - Version
- 1.0
- Status
- active
- Visibility
- public
- Resource constraints
- none
- Quota class
- games-mod-runtime
- Permissions
- games:script:run
- Input
- games.script-call@1
- Output
- games.script-call-result@1
- Events
- —
- Implemented by
mod runtime: games-quickjs@1 sandbox (apps/server/src/mods/script/host.ts, quickjs.ts)POST /api/mods (install, staff)POST /api/mods/:id/reload (staff)