Documentation
¶
Overview ¶
Package testagent is a scripted ACP agent for tests. It speaks ACP over stdio and reacts to commands in the prompt text:
echo <text> reply with <text> slow <n> send n chunks, 100 ms apart permission ask the client for permission, reply with the outcome ask send an elicitation, reply with the answer fs call fs/read_text_file, reply with the result or error caps reply with the client capabilities from initialize cwd reply with the session cwd mcp reply with the session MCP servers crash exit with code 3 burst-crash <n> send n chunks, then exit with code 4 late-burst-crash <n> like burst-crash, after 300 ms
Sessions are stored as files under $ACTP_TESTAGENT_STORE so session/load works from a fresh process. With ACTP_TESTAGENT_SCENARIO=auth-required, session/new fails with an authentication error.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.