Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/agentapi
/ Write
Method
Write
lib/screentracker/conversation.go:60–60 ·
view source on GitHub ↗
(data []byte)
Source
from the content-addressed store, hash-verified
58
59
type
AgentIO
interface
{
60
Write(data []byte) (int, error)
61
ReadScreen() string
62
}
63
Callers
13
Do
Method · 0.65
writeStabilize
Method · 0.65
SetupProcess
Function · 0.65
createMessage
Method · 0.65
TestServer_UploadFiles
Function · 0.65
TestServer_UploadFiles_Errors
Function · 0.65
Write
Method · 0.65
Test_ACPAgentIO_WriteAndReadScreen
Function · 0.65
Test_ACPAgentIO_StreamingChunks
Function · 0.65
Test_ACPAgentIO_StripsEscapeSequences
Function · 0.65
Test_ACPAgentIO_IgnoresEmptyPrompt
Function · 0.65
Test_ACPAgentIO_ToolCallFormattedAsText
Function · 0.65
Implementers
4
testAgent
lib/screentracker/pty_conversation_tes
Process
lib/termexec/termexec.go
mockAgentIO
x/acpio/acp_conversation_test.go
ACPAgentIO
x/acpio/acpio.go
Calls
no outgoing calls
Tested by
8
TestServer_UploadFiles
Function · 0.52
TestServer_UploadFiles_Errors
Function · 0.52
Test_ACPAgentIO_WriteAndReadScreen
Function · 0.52
Test_ACPAgentIO_StreamingChunks
Function · 0.52
Test_ACPAgentIO_StripsEscapeSequences
Function · 0.52
Test_ACPAgentIO_IgnoresEmptyPrompt
Function · 0.52
Test_ACPAgentIO_ToolCallFormattedAsText
Function · 0.52
Test_ACPAgentIO_ResetsResponseBetweenWrites
Function · 0.52