ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v1.3.0
    Preparing search index...

    ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v1.3.0Experimental

    Experimental TypeScript API for the draft ACP v2 protocol.

    ACP v2 is still a draft. Its wire protocol and this API may change incompatibly in any SDK release. The stable package entry point remains ACP v1; consumers must opt in through @agentclientprotocol/sdk/experimental/v2.

    RequestError
    AgentProtocolRouter
    AgentContext
    ClientContext
    SessionBuilder
    ActiveSession
    AgentApp
    ClientApp
    AgentConnectOptions
    AgentConnectionLifecycle
    AgentConnector
    AcpConnection
    AgentConnection
    ClientConnection
    AnyMessage
    AnyCall
    AnyBatchCall
    AnyBatchResponse
    AnyBatchMessage
    AnyWireMessage
    AnyRequest
    AnyResponse
    AnyNotification
    JsonRpcId
    SendRequestOptions
    BatchRequest
    BatchNotification
    BatchEntry
    BatchOutputs
    Result
    ErrorResponse
    MaybePromise
    WireStream
    Stream
    ActiveSessionMessage
    AppOptions
    ParamsParser
    AgentHandlerContext
    AgentRequestContext
    AgentNotificationContext
    ClientHandlerContext
    ClientRequestContext
    ClientNotificationContext
    AgentRequestHandler
    AgentNotificationHandler
    ClientRequestHandler
    ClientNotificationHandler
    AgentConnectHandler
    ClientConnectHandler
    AgentRequestHandlersByMethod
    AgentRequestMethod
    AgentNotificationHandlersByMethod
    AgentNotificationMethod
    ClientRequestHandlersByMethod
    ClientRequestMethod
    ClientNotificationHandlersByMethod
    ClientNotificationMethod
    AgentRequestParamsByMethod
    AgentRequestResponsesByMethod
    AgentNotificationParamsByMethod
    ClientRequestParamsByMethod
    ClientRequestResponsesByMethod
    ClientNotificationParamsByMethod
    RequestPermissionSubject
    ToolCallContent
    ContentBlock
    DiffChange
    CreateElicitationRequest
    ElicitationPropertySchema
    MultiSelectItems
    AuthMethod
    SessionConfigOption
    NesSuggestion
    SessionUpdate
    StateUpdate
    PlanUpdateContent
    AvailableCommandInput
    McpServer
    ReplayFrom
    SetSessionConfigOptionRequest
    RequestPermissionOutcome
    CreateElicitationResponse
    AgentRequest
    RequestId
    RequestPermissionRequest
    SessionId
    ToolCallUpdate
    ToolCallId
    ToolKind
    ToolCallStatus
    Annotations
    Role
    TextContent
    MediaType
    ImageContent
    AudioContent
    Icon
    IconTheme
    EmbeddedResourceResource
    TextResourceContents
    BlobResourceContents
    EmbeddedResource
    Content
    DiffFileType
    AbsolutePath
    DiffPathChange
    DiffPathPairChange
    DiffPatch
    DiffPatchFormat
    Diff
    TerminalId
    Terminal
    ToolCallLocation
    ToolCallPermissionSubject
    CommandPermissionSubject
    PermissionOption
    PermissionOptionId
    PermissionOptionKind
    ElicitationSessionScope
    ElicitationRequestScope
    ElicitationSchema
    ElicitationSchemaType
    StringFormat
    EnumOption
    StringPropertySchema
    NumberPropertySchema
    IntegerPropertySchema
    BooleanPropertySchema
    StringMultiSelectItems
    TitledMultiSelectItems
    MultiSelectPropertySchema
    ElicitationFormMode
    ElicitationId
    ElicitationUrlMode
    ConnectMcpRequest
    McpServerAcpId
    MessageMcpRequest
    McpConnectionId
    DisconnectMcpRequest
    ExtRequest
    AgentResponse
    InitializeResponse
    ProtocolVersion
    Implementation
    AgentCapabilities
    SessionCapabilities
    PromptCapabilities
    PromptImageCapabilities
    PromptAudioCapabilities
    PromptEmbeddedContextCapabilities
    McpCapabilities
    McpStdioCapabilities
    McpHttpCapabilities
    McpAcpCapabilities
    SessionDeleteCapabilities
    SessionAdditionalDirectoriesCapabilities
    SessionForkCapabilities
    AgentAuthCapabilities
    ProvidersCapabilities
    NesCapabilities
    NesEventCapabilities
    NesDocumentEventCapabilities
    NesDocumentDidOpenCapabilities
    NesDocumentDidChangeCapabilities
    TextDocumentSyncKind
    NesDocumentDidCloseCapabilities
    NesDocumentDidSaveCapabilities
    NesDocumentDidFocusCapabilities
    NesContextCapabilities
    NesRecentFilesCapabilities
    NesRelatedSnippetsCapabilities
    NesEditHistoryCapabilities
    NesUserActionsCapabilities
    NesOpenFilesCapabilities
    NesDiagnosticsCapabilities
    PositionEncodingKind
    AuthMethodId
    AuthEnvVar
    AuthMethodEnvVar
    EnvVariable
    AuthMethodTerminal
    AuthMethodAgent
    LoginAuthResponse
    ListProvidersResponse
    ProviderInfo
    ProviderId
    LlmProtocol
    ProviderCurrentConfig
    SetProviderResponse
    DisableProviderResponse
    LogoutAuthResponse
    NewSessionResponse
    SessionConfigId
    SessionConfigOptionCategory
    SessionConfigValueId
    SessionConfigSelectOptions
    SessionConfigSelectOption
    SessionConfigSelectGroup
    SessionConfigGroupId
    SessionConfigSelect
    SessionConfigBoolean
    ListSessionsResponse
    SessionInfo
    SessionListCursor
    DeleteSessionResponse
    ForkSessionResponse
    ResumeSessionResponse
    CloseSessionResponse
    SetSessionConfigOptionResponse
    PromptResponse
    StartNesResponse
    SuggestNesResponse
    NesSuggestionId
    NesTextEdit
    Range
    Position
    NesEditSuggestion
    NesJumpSuggestion
    NesRenameSuggestion
    NesSearchAndReplaceSuggestion
    CloseNesResponse
    ExtResponse
    MessageMcpResponse
    Error
    ErrorCode
    AgentNotification
    UpdateSessionNotification
    MessageId
    ContentChunk
    UserMessage
    AgentMessage
    AgentThought
    RunningStateUpdate
    StopReason
    Usage
    IdleStateUpdate
    RequiresActionStateUpdate
    ToolCallContentChunk
    TerminalOutput
    TerminalExitStatus
    TerminalUpdate
    TerminalOutputChunk
    PlanId
    PlanEntry
    PlanEntryPriority
    PlanEntryStatus
    PlanItems
    PlanFile
    PlanMarkdown
    PlanUpdate
    PlanRemoved
    AvailableCommand
    TextCommandInput
    AvailableCommandsUpdate
    ConfigOptionUpdate
    SessionInfoUpdate
    Cost
    UsageUpdate
    CompleteElicitationNotification
    MessageMcpNotification
    ExtNotification
    ClientRequest
    InitializeRequest
    ClientCapabilities
    AuthCapabilities
    TerminalAuthCapabilities
    ElicitationCapabilities
    ElicitationFormCapabilities
    ElicitationUrlCapabilities
    ClientNesCapabilities
    NesJumpCapabilities
    NesRenameCapabilities
    NesSearchAndReplaceCapabilities
    LoginAuthRequest
    ListProvidersRequest
    SetProviderRequest
    DisableProviderRequest
    LogoutAuthRequest
    NewSessionRequest
    HttpHeader
    McpServerHttp
    McpServerAcp
    McpServerStdio
    ListSessionsRequest
    DeleteSessionRequest
    ForkSessionRequest
    ResumeSessionRequest
    ReplayFromStart
    CloseSessionRequest
    PromptRequest
    StartNesRequest
    WorkspaceFolder
    NesRepository
    SuggestNesRequest
    NesTriggerKind
    NesSuggestContext
    NesRecentFile
    NesRelatedSnippet
    NesExcerpt
    NesEditHistoryEntry
    NesUserAction
    NesOpenFile
    NesDiagnostic
    NesDiagnosticSeverity
    CloseNesRequest
    ClientResponse
    RequestPermissionResponse
    SelectedPermissionOutcome
    ElicitationContentValue
    ElicitationAcceptAction
    ConnectMcpResponse
    DisconnectMcpResponse
    ClientNotification
    CancelSessionNotification
    DidOpenDocumentNotification
    DidChangeDocumentNotification
    TextDocumentContentChangeEvent
    DidCloseDocumentNotification
    DidSaveDocumentNotification
    DidFocusDocumentNotification
    AcceptNesNotification
    RejectNesNotification
    NesRejectReason
    ProtocolLevelNotification
    CancelRequestNotification
    methods
    RequestPermissionSubject
    ToolCallContent
    ContentBlock
    DiffChange
    CreateElicitationRequest
    ElicitationPropertySchema
    MultiSelectItems
    AuthMethod
    SessionConfigOption
    NesSuggestion
    SessionUpdate
    StateUpdate
    PlanUpdateContent
    AvailableCommandInput
    McpServer
    ReplayFrom
    SetSessionConfigOptionRequest
    RequestPermissionOutcome
    CreateElicitationResponse
    AGENT_METHODS
    CLIENT_METHODS
    PROTOCOL_METHODS
    PROTOCOL_VERSION
    batchRequest
    batchNotification
    agentProtocolRouter
    ndJsonStream
    agent
    client