Skip to content

Type Alias: FallbackRuntimeOptions

Makaio Framework


Makaio Framework / services-core / 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.

  • 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’`

type FallbackRuntimeOptions = {
cwd?: string | undefined;
systemPrompt?: string | { mode: 'append'; content: string; } | undefined;
allowedTools?: Array<string> | undefined;
disallowedTools?: Array<string> | undefined;
};