EnvironmentModule.
Minimal Skeleton
envConfig
The host passes per-execution configuration via input.envConfig (a
Record<string, unknown>). The keys are caller-provided; each
environment module documents which keys it recognises and falls back to
sensible defaults for any missing values:
ExecutionOptions type
and an options field on ExecutionInput. Both have been removed in
favour of envConfig. Update any existing module code accordingly.
Full Example
See the Shell environment example in the repository for a complete, working environment that executes submitted code as shell commands viash -c. It streams stdout and stderr
back through the host bindings and reports the exit code on completion.
See EnvironmentBindings for the callback
surface and Execution for the state machine
and timeout contracts.