AcpAgent

constructor(name: String, cwd: String = "/", files: AcpFileSystem? = null, connect: suspend (scope: CoroutineScope) -> Transport)(source)

Parameters

name

shown in the UI until the agent introduces itself in initialize.

cwd

the session's working directory on the agent's machine (absolute, ACP session/new).

files

the client file system offered to the agent; null offers none.

connect

opens a transport; called again after the connection failed.