Skip to content

Interface: AIAdapterConfig<TBus>

Makaio Framework


Makaio Framework / ai-adapters-core / AIAdapterConfig

Defined in: ../../../adapters/core/src/adapter/types.ts:84

Configuration for AIAdapter constructor.

TBus extends ScopedBus<string> = ScopedBus<string>

Scoped bus type for adapter-specific events

optional adapterId?: string

Defined in: ../../../adapters/core/src/adapter/types.ts:94

Optional pre-generated adapter ID. Defaults to UUID.


capabilities: string[]

Defined in: ../../../adapters/core/src/adapter/types.ts:88

Adapter capabilities (e.g., [‘streaming’, ‘tools’, ‘vision’]).


optional clientId?: string

Defined in: ../../../adapters/core/src/adapter/types.ts:106

Client identifier for the application this adapter belongs to (e.g., ‘claude-code’, ‘codex’). Omit for API-only adapters.


optional definitionProviders?: readonly AdapterProviderDefinition[]

Defined in: ../../../adapters/core/src/adapter/types.ts:104

Provider definitions for model lookup. Injected by runtime.


optional globalBus?: IMakaioBus

Defined in: ../../../adapters/core/src/adapter/types.ts:96

Optional global bus override. Defaults to MakaioBus singleton.


optional logImport?: LogImportConfig

Defined in: ../../../adapters/core/src/adapter/types.ts:102

Optional log import configuration. When enabled, the adapter will watch for external session logs and import them as Makaio events.


name: string

Defined in: ../../../adapters/core/src/adapter/types.ts:86

Unique adapter name (e.g., ‘openai-node’, ‘claude-code’).


namespace: AdapterNamespace

Defined in: ../../../adapters/core/src/adapter/types.ts:92

Adapter namespace for creating scoped bus. Bus created lazily in init().


optional nativeTools?: string[]

Defined in: ../../../adapters/core/src/adapter/types.ts:90

Native tools built into the adapter (e.g., [‘shell_command’, ‘apply_patch’]).


optional scopedBus?: TBus

Defined in: ../../../adapters/core/src/adapter/types.ts:97