Skip to content

@pgege/kaboo-runtime


Interface: KabooRunnerOptions

Defined in: src/runner.ts:294

Options for KabooAgentRunner / createKabooRunner.

Properties

accessPolicy?

optional accessPolicy?: KabooAccessPolicy

Defined in: src/runner.ts:298

Ownership hooks — see KabooAccessPolicy.


approvals?

optional approvals?: KabooApprovalOptions

Defined in: src/runner.ts:306

Remembered tool approvals — see KabooApprovalOptions.


enrich?

optional enrich?: (context) => KabooEnrichment | Promise\<KabooEnrichment>

Defined in: src/runner.ts:304

Add what the host vouches for to a run — run-scoped credentials, the tenant, a composed workflow, a server-owned state value. Awaited before the run starts; if it throws, the run ends with an error.

Parameters

context

KabooRunContext

Returns

KabooEnrichment | Promise\<KabooEnrichment>


onStoreError?

optional onStoreError?: (error, context) => void

Defined in: src/runner.ts:296

Called when a store write fails, so hosts can log/observe.

Parameters

error

unknown

context
op

string

threadId

string

Returns

void


stateKeys?

optional stateKeys?: KabooStateKeys

Defined in: src/runner.ts:311

Which state keys the server owns. Defaults to DEFAULT_STATE_KEYS: kaboo-workflows' sessions hidden, its workspace visible.