ACP v2 (Preview) TypeScript SDK — EXPERIMENTAL - v2.12.1
Stable ACP v1
Unstable v2 features
v2 Protocol (Preview)
GitHub
NPM
Preparing search index...
AgentConnectHandler
Type Alias AgentConnectHandler
Experimental
AgentConnectHandler
:
(
connection
:
AgentConnection
)
=>
MaybePromise
<
void
>
Handler called when an
AgentApp
opens a connection.
Type Declaration
(
connection
:
AgentConnection
)
:
MaybePromise
<
void
>
Parameters
connection
:
AgentConnection
Returns
MaybePromise
<
void
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Stable ACP v1
Unstable v2 features
v2 Protocol (Preview)
GitHub
NPM
ACP v2 (Preview) TypeScript SDK — EXPERIMENTAL - v2.12.1
Loading...
Handler called when an
AgentAppopens a connection.