Skip to main content

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​

readonly code: 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​

readonly globals: 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​

readonly input: unknown

Defined in: packages/agentos/src/cognition/emergent/executor/types.ts:44

The call's argument. The forge passes it on as JSON.


memoryMB​

readonly memoryMB: 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?​

readonly optional signal: 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​

readonly timeoutMs: number

Defined in: packages/agentos/src/cognition/emergent/executor/types.ts:51

The call's wall-clock limit, in milliseconds.