Interface: KabooRunnerOptions¶
Defined in: src/runner.ts:294
Options for KabooAgentRunner / createKabooRunner.
Properties¶
accessPolicy?¶
optionalaccessPolicy?:KabooAccessPolicy
Defined in: src/runner.ts:298
Ownership hooks — see KabooAccessPolicy.
approvals?¶
optionalapprovals?:KabooApprovalOptions
Defined in: src/runner.ts:306
Remembered tool approvals — see KabooApprovalOptions.
enrich?¶
optionalenrich?: (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¶
Returns¶
KabooEnrichment | Promise\<KabooEnrichment>
onStoreError?¶
optionalonStoreError?: (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?¶
optionalstateKeys?: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.