Type Alias: AcpReplayPeer
AcpReplayPeer =
object
Properties
io
readonlyio:SessionStdio
Hand these to the provider's openSession.
received
readonlyreceived: readonlyRecord<string,unknown>[]
Every message the daemon wrote, parsed, in order.
Methods
answer()
answer(
id):unknown
The daemon's answer (result) to the agent request that had this id, once it came.
Parameters
id
string | number
Returns
unknown
close()
close():
void
Returns
void
conversation()
conversation():
ProviderConversation
The same agent as a conversation, for createProviderContext({ binaries: { 'my-cli': { converse: () => peer.conversation() } } }) (the model probe).
Returns
ProviderConversation