Skip to content

@uservane/agent-core: AgentInitOptions

AgentInitOptions = object

Defined in: @[email protected]/node_modules/@uservane/agent-core/dist/index.d.ts:69

optional apiBase?: string

Defined in: @[email protected]/node_modules/@uservane/agent-core/dist/index.d.ts:73

API origin. Defaults inside @uservane/browser.


optional debug?: boolean

Defined in: @[email protected]/node_modules/@uservane/agent-core/dist/index.d.ts:75

When true, logs show/no-show rationale and link/unlink reasons.


key: string

Defined in: @[email protected]/node_modules/@uservane/agent-core/dist/index.d.ts:71

Publishable key, e.g. uv_pk_live_....


optional nonBlocking?: boolean

Defined in: @[email protected]/node_modules/@uservane/agent-core/dist/index.d.ts:81

When true, mechanical triggers (afterTurn / onSessionEnd / relative-time) may fire. Default false: agent is blocking-capable and a task is open until resolveTask fires.


optional relativeTimeMs?: number

Defined in: @[email protected]/node_modules/@uservane/agent-core/dist/index.d.ts:88

Relative-time trigger (ms after init). Only evaluated in nonBlocking mode. Fires once through decideShow.


optional surveySlug?: string

Defined in: @[email protected]/node_modules/@uservane/agent-core/dist/index.d.ts:83

Default survey slug for resolveTask / mechanical triggers.