Skip to content

Interface: AdapterConfigFactoryInput<TConfig>

Makaio Framework


Makaio Framework / ai-adapters-core/config / AdapterConfigFactoryInput

Interface: AdapterConfigFactoryInput<TConfig>

Section titled “Interface: AdapterConfigFactoryInput<TConfig>”

Defined in: ../../../adapters/core/src/config/factory.ts:45

Minimal input shape required by the factory. Adapters pass their full ConfigFactoryInput which extends this.

TConfig extends BaseAgentConnectorConfig

adapterId: string

Defined in: ../../../adapters/core/src/config/factory.ts:49


adapterName: string

Defined in: ../../../adapters/core/src/config/factory.ts:48


agentId: string

Defined in: ../../../adapters/core/src/config/factory.ts:47


bus: TConfig extends BaseAgentConnectorConfig<TBus, object> ? TBus : never

Defined in: ../../../adapters/core/src/config/factory.ts:46


optional cwd?: string

Defined in: ../../../adapters/core/src/config/factory.ts:56


optional env?: Record<string, string>

Defined in: ../../../adapters/core/src/config/factory.ts:57


optional model?: string

Defined in: ../../../adapters/core/src/config/factory.ts:55


optional providerConfig?: Partial<TConfig["providerConfig"]>

Defined in: ../../../adapters/core/src/config/factory.ts:58


providerContext: object

Defined in: ../../../adapters/core/src/config/factory.ts:54

Unresolved provider context (credential refs, not plaintext). Connectors resolve credentials locally via resolveConnectorCredentials().

optional credentialEnvVars?: Record<string, string>

Maps credential keys to environment variable names for subprocess adapters. E.g., { apiKey: 'ANTHROPIC_API_KEY' }.

credentialRefs: Record<string, string & $brand<"CredentialRef">>

Credential references resolved at the connector layer, not on the bus.

definitionId: string

Provider definition ID (e.g., 'anthropic', 'alibaba').

optional endpointOverrides?: object

Endpoint URL overrides keyed by protocol.

optional anthropic?: string

optional openai?: string

providerConfigId: string

Provider config UUID. Links back to the ProviderConfig that produced this context.


optional runtimeTimeouts?: Partial<RequiredTimeoutConfig>

Defined in: ../../../adapters/core/src/config/factory.ts:59