Skip to main content

ACPAdapterConfig

Agent Runtimes


Agent Runtimes / protocols/ACPAdapter / ACPAdapterConfig

Interface: ACPAdapterConfig

Defined in: protocols/ACPAdapter.ts:85

ACP specific configuration

Extends

Properties

agentId?

optional agentId?: string

Defined in: types/protocol.ts:85

Agent ID or name

Inherited from

ProtocolAdapterConfig.agentId


authToken?

optional authToken?: string

Defined in: types/protocol.ts:82

Authentication token/key

Inherited from

ProtocolAdapterConfig.authToken


autoReconnect?

optional autoReconnect?: boolean

Defined in: types/protocol.ts:88

Auto-reconnect on disconnect

Inherited from

ProtocolAdapterConfig.autoReconnect


baseUrl

baseUrl: string

Defined in: types/protocol.ts:79

Base URL for the protocol endpoint

Inherited from

ProtocolAdapterConfig.baseUrl


clientCapabilities?

optional clientCapabilities?: object

Defined in: protocols/ACPAdapter.ts:89

Client capabilities to advertise

fs?

optional fs?: object

fs.readTextFile?

optional readTextFile?: boolean

fs.writeTextFile?

optional writeTextFile?: boolean

terminal?

optional terminal?: boolean


maxReconnectAttempts?

optional maxReconnectAttempts?: number

Defined in: types/protocol.ts:94

Max reconnection attempts

Inherited from

ProtocolAdapterConfig.maxReconnectAttempts


onPermissionRequest?

optional onPermissionRequest?: (permission) => void

Defined in: protocols/ACPAdapter.ts:97

Callback when permission is requested

Parameters

permission

ACPPendingPermission

Returns

void


options?

optional options?: Record<string, unknown>

Defined in: types/protocol.ts:100

Additional protocol-specific options

Inherited from

ProtocolAdapterConfig.options


protocol

protocol: Protocol

Defined in: types/protocol.ts:76

Transport type

Inherited from

ProtocolAdapterConfig.protocol


reconnectDelay?

optional reconnectDelay?: number

Defined in: types/protocol.ts:91

Reconnect delay in milliseconds

Inherited from

ProtocolAdapterConfig.reconnectDelay


timeout?

optional timeout?: number

Defined in: types/protocol.ts:97

Request timeout in milliseconds

Inherited from

ProtocolAdapterConfig.timeout


wsUrl?

optional wsUrl?: string

Defined in: protocols/ACPAdapter.ts:87

WebSocket URL (ws:// or wss://)