Interface: ExecutorRunRequest
Defined in: packages/agentos/src/cognition/emergent/executor/types.ts:40
One call of a forged tool, as the forge hands it to an executor.
Properties
code
readonlycode:string
Defined in: packages/agentos/src/cognition/emergent/executor/types.ts:42
The forged source, already validated; it defines execute(input) or run(input).
globals
readonlyglobals:Readonly<Record<string,unknown>>
Defined in: packages/agentos/src/cognition/emergent/executor/types.ts:49
The functions the grant allows, under the global names forged code calls
them by (fetch, fs, crypto). Under a ceiling they are the broker's.
input
readonlyinput:unknown
Defined in: packages/agentos/src/cognition/emergent/executor/types.ts:44
The call's argument. The forge passes it on as JSON.
memoryMB
readonlymemoryMB:number
Defined in: packages/agentos/src/cognition/emergent/executor/types.ts:53
The call's memory budget, in megabytes. An executor that cannot enforce it reports usage only.
signal?
readonlyoptionalsignal:AbortSignal
Defined in: packages/agentos/src/cognition/emergent/executor/types.ts:59
Under a ceiling, aborted when the call's handle ends (its deadline or its end). An executor may stop the guest on it; the broker refuses capability calls after it either way.
timeoutMs
readonlytimeoutMs:number
Defined in: packages/agentos/src/cognition/emergent/executor/types.ts:51
The call's wall-clock limit, in milliseconds.