Class: InProcessExecutor
Defined in: packages/agentos/src/cognition/emergent/executor/InProcessExecutor.ts:29
Runs forged code in-process. One CodeSandbox serves every call; each call gets a fresh context holding the minimal globals and the granted functions.
Implements
Constructors
Constructor
new InProcessExecutor():
InProcessExecutor
Returns
InProcessExecutor
Properties
isolates
readonlyisolates:false=false
Defined in: packages/agentos/src/cognition/emergent/executor/InProcessExecutor.ts:31
Whether forged code reaches the host only through the functions it is handed.
Implementation of
name
readonlyname:"in-process"='in-process'
Defined in: packages/agentos/src/cognition/emergent/executor/InProcessExecutor.ts:30
A short name for logs and reports, such as in-process.
Implementation of
Methods
run()
run(
request):Promise<ExecutorRunResult>
Defined in: packages/agentos/src/cognition/emergent/executor/InProcessExecutor.ts:36
Runs one call. Resolves in every case, a timeout included; the forge reports a rejection as an execution error.
Parameters
request
Returns
Promise<ExecutorRunResult>