Type Alias: FallbackRuntimeOptions
Makaio Framework / services-core / FallbackRuntimeOptions
Type Alias: FallbackRuntimeOptions
Section titled “Type Alias: FallbackRuntimeOptions”FallbackRuntimeOptions =
Pick<AdapterRuntimeOptions,"cwd"|"systemPrompt"|"allowedTools"|"disallowedTools">
Defined in: ../../../packages/services/core/src/session/fallback-runtime-options.ts:13
Runtime options preserved across a VirtualModel fallback hop.
These fields are extracted from the original agent.attach or adapter.startAgent
payload and re-applied to the fallback attach so the replacement agent
inherits the same execution environment (cwd, tool restrictions, system prompt).
allowedDirectories is intentionally excluded — directory restrictions are
resolved at attach time and must not be blindly forwarded across adapter hops.
Type Composition
Section titled “Type Composition”FallbackRuntimeOptions- `Pick< AdapterRuntimeOptions, ‘cwd’ | ‘systemPrompt’ | ‘allowedTools’ | ‘disallowedTools’
- [AdapterRuntimeOptions](/reference/api/contracts/type-aliases/adapterruntimeoptions/) -z.infer-typeof AdapterRuntimeOptionsSchema-’cwd’ | ‘systemPrompt’ | ‘allowedTools’ | ‘disallowedTools’-’cwd’-’systemPrompt’-’allowedTools’-’disallowedTools’`
Resolved Shape
Section titled “Resolved Shape”type FallbackRuntimeOptions = { cwd?: string | undefined; systemPrompt?: string | { mode: 'append'; content: string; } | undefined; allowedTools?: Array<string> | undefined; disallowedTools?: Array<string> | undefined;};