Type Alias: WunderlandOptions
WunderlandOptions =
object
Defined in: .source/wunderland/src/public/types.ts:113
Properties
adaptiveExecution?
optionaladaptiveExecution?:WunderlandAdaptiveExecutionConfig
Defined in: .source/wunderland/src/public/types.ts:219
Runtime adaptive execution controls.
agentConfig?
optionalagentConfig?:WunderlandAgentConfig
Defined in: .source/wunderland/src/public/types.ts:115
Direct config object (control-plane).
approvals?
optionalapprovals?:object
Defined in: .source/wunderland/src/public/types.ts:185
mode?
optionalmode?:WunderlandApprovalsMode
Default: 'deny-side-effects'
onRequest?
optionalonRequest?: (req) =>Promise<boolean>
Called only for side-effect tools when mode='custom'. Return true to allow execution.
Parameters
req
Returns
Promise<boolean>
configDirOverride?
optionalconfigDirOverride?:string
Defined in: .source/wunderland/src/public/types.ts:121
Override the global Wunderland config directory used for env/config/usage storage.
configPath?
optionalconfigPath?:string
Defined in: .source/wunderland/src/public/types.ts:117
Optional path to agent.config.json (resolved relative to workingDirectory).
discovery?
optionaldiscovery?:WunderlandDiscoveryConfig
Defined in: .source/wunderland/src/public/types.ts:208
Capability discovery configuration.
extensions?
optionalextensions?:object
Defined in: .source/wunderland/src/public/types.ts:175
Extension sources (merged with preset extensions if both provided).
Extensions are resolved from @framers/agentos-extensions-registry.
overrides?
optionaloverrides?:Record<string, {enabled?:boolean;options?:unknown;priority?:number; }>
Per-extension overrides (enabled, priority, options).
productivity?
optionalproductivity?:string[]
Productivity extension names (e.g. ['calendar-google', 'email-gmail']).
tools?
optionaltools?:string[]
Tool extension names (e.g. ['web-search', 'web-browser', 'giphy']).
voice?
optionalvoice?:string[]
Voice provider extension names (e.g. ['speech-runtime', 'voice-synthesis']).
llm?
optionalllm?:Partial<{apiKey:string;baseUrl?:string;fallback?:LLMProviderConfig;model:string;providerId:WunderlandProviderId|string; }>
Defined in: .source/wunderland/src/public/types.ts:125
LLM configuration (apiKey/model default from env when omitted).
logger?
optionallogger?:object
Defined in: .source/wunderland/src/public/types.ts:201
debug?
optionaldebug?: (msg,meta?) =>void
Parameters
msg
string
meta?
unknown
Returns
void
error?
optionalerror?: (msg,meta?) =>void
Parameters
msg
string
meta?
unknown
Returns
void
info?
optionalinfo?: (msg,meta?) =>void
Parameters
msg
string
meta?
unknown
Returns
void
warn?
optionalwarn?: (msg,meta?) =>void
Parameters
msg
string
meta?
unknown
Returns
void
memory?
optionalmemory?:generateText|generateText
Defined in: .source/wunderland/src/public/types.ts:200
Optional cognitive memory facade or raw cognitive memory manager. When provided, Wunderland exposes it on the returned app.
preset?
optionalpreset?:string
Defined in: .source/wunderland/src/public/types.ts:153
Load a preset by ID — auto-configures tools, skills, extensions, and personality.
Preset values are merged with explicit tools, skills, and extensions options
(explicit options take precedence).
Example
preset: 'research-assistant'
skills?
optionalskills?:"all"|string[] | {dirs?:string[];includeDefaults?:boolean;names?:string[]; }
Defined in: .source/wunderland/src/public/types.ts:160
Skill sources (merged with preset skills if both provided):
'all': all curated skills for the current platformstring[]: skill names from the curated registry- object: fine-grained control over skill loading
Union Members
"all"
string[]
Type Literal
{ dirs?: string[]; includeDefaults?: boolean; names?: string[]; }
dirs?
optionaldirs?:string[]
Additional skill directories to scan.
includeDefaults?
optionalincludeDefaults?:boolean
Scan default dirs (./skills, ~/.codex/skills) — default: true.
names?
optionalnames?:string[]
Curated skill names to load.
taskOutcomeTelemetry?
optionaltaskOutcomeTelemetry?:WunderlandTaskOutcomeTelemetryConfig
Defined in: .source/wunderland/src/public/types.ts:217
Runtime task-outcome telemetry controls.
toolCalling?
optionaltoolCalling?:object
Defined in: .source/wunderland/src/public/types.ts:210
Tool-calling behavior controls.
strictToolNames?
optionalstrictToolNames?:boolean
Enforce strict OpenAI function names and fail when rewrites/collisions are needed.
toolFailureMode?
optionaltoolFailureMode?:WunderlandToolFailureMode
Defined in: .source/wunderland/src/public/types.ts:215
Default tool-call failure behavior.
tools?
optionaltools?:"none"|"lazy"|"curated"| {curated?:ToolRegistryConfig;custom?:generateText[]; }
Defined in: .source/wunderland/src/public/types.ts:139
Tool sources:
- 'none': no tools (pure chat)
- 'lazy': meta tools only — agent discovers & enables packs on demand (default)
- 'curated': curated tool packs eagerly loaded (requires optional deps)
- object: curated + custom tools
userId?
optionaluserId?:string
Defined in: .source/wunderland/src/public/types.ts:195
Optional default userId for guardrails/audit context.
workingDirectory?
optionalworkingDirectory?:string
Defined in: .source/wunderland/src/public/types.ts:119
Defaults to process.cwd()
workspace?
optionalworkspace?:Partial<WunderlandWorkspace>
Defined in: .source/wunderland/src/public/types.ts:123
Workspace location for tool execution state.