Interface: AIAdapterConfig<TBus>
Makaio Framework / ai-adapters-core / AIAdapterConfig
Interface: AIAdapterConfig<TBus>
Section titled “Interface: AIAdapterConfig<TBus>”Defined in: ../../../adapters/core/src/adapter/types.ts:84
Configuration for AIAdapter constructor.
Extended by
Section titled “Extended by”Type Parameters
Section titled “Type Parameters”TBus extends ScopedBus<string> = ScopedBus<string>
Scoped bus type for adapter-specific events
Properties
Section titled “Properties”adapterId?
Section titled “adapterId?”
optionaladapterId?:string
Defined in: ../../../adapters/core/src/adapter/types.ts:94
Optional pre-generated adapter ID. Defaults to UUID.
capabilities
Section titled “capabilities”capabilities:
string[]
Defined in: ../../../adapters/core/src/adapter/types.ts:88
Adapter capabilities (e.g., [‘streaming’, ‘tools’, ‘vision’]).
clientId?
Section titled “clientId?”
optionalclientId?: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.
definitionProviders?
Section titled “definitionProviders?”
optionaldefinitionProviders?: readonlyAdapterProviderDefinition[]
Defined in: ../../../adapters/core/src/adapter/types.ts:104
Provider definitions for model lookup. Injected by runtime.
globalBus?
Section titled “globalBus?”
optionalglobalBus?:IMakaioBus
Defined in: ../../../adapters/core/src/adapter/types.ts:96
Optional global bus override. Defaults to MakaioBus singleton.
logImport?
Section titled “logImport?”
optionallogImport?: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
Section titled “namespace”namespace:
AdapterNamespace
Defined in: ../../../adapters/core/src/adapter/types.ts:92
Adapter namespace for creating scoped bus. Bus created lazily in init().
nativeTools?
Section titled “nativeTools?”
optionalnativeTools?:string[]
Defined in: ../../../adapters/core/src/adapter/types.ts:90
Native tools built into the adapter (e.g., [‘shell_command’, ‘apply_patch’]).
scopedBus?
Section titled “scopedBus?”
optionalscopedBus?:TBus
Defined in: ../../../adapters/core/src/adapter/types.ts:97