Skip to content

Home > intention-kernel > KernelOptions

KernelOptions interface ​

Provider and host adapters used by one isolated kernel instance.

Signature:

typescript
export interface KernelOptions

Properties ​

Property

Modifiers

Type

Description

clock?

readonly

KernelClock

(Optional) Optional deterministic or host-specific clock.

durability

readonly

Durability

Host persistence, locking, replay and effect-ledger adapter.

eventSink?

readonly

EventSink

(Optional) Optional sink for sanitized causal runtime events.

idGenerator?

readonly

KernelIdGenerator

(Optional) Optional source of unique runtime identifiers.

limits?

readonly

KernelLimits

(Optional) Optional bounded execution limits.

modelGateway

readonly

ModelGateway

Provider-neutral structured model adapter.

ports?

readonly

Readonly<Record<string, unknown>>

(Optional) Instance-scoped domain and infrastructure adapters visible only to capabilities.

promptResolver?

readonly

ModelPromptResolver

(Optional) Resolve pinned instruction revisions synchronously before observation/provider invocation.

redact?

readonly

(data: unknown) => unknown

(Optional) Domain-specific redactor applied before every event reaches the sink; nullish results never restore the original payload.