@testchimp/agentwatch
v0.1.11
Published
Headless TestChimp AgentWatch: finds product-requirement decisions in local coding-agent sessions for QA bots. No TestChimp Studio required.
Readme
@testchimp/agentwatch
Headless TestChimp AgentWatch for QA bots. It watches local coding-agent sessions (through AgentsView) for decisions that change product requirements, and writes an AgentWatch plan for the user to approve. TestChimp Studio is not required.
Setup (once per project, on the developer's machine)
npm i -g @testchimp/cli
testchimp bot connect --project-id <projectId> # browser approval; stores credentials
testchimp workspace map --project-id <projectId> --folder <repo>bot connect stores the user id, the user's personal access key and the project API key in ~/.testchimp/agentwatch/credentials.json (mode 0600). Approving it also opts the project in to AgentWatch. testchimp bot disconnect --project-id <id> removes them.
Use
npx -y @testchimp/agentwatch query --project-id <projectId> [--lookback-ms N] [--timeout-ms N]
npx -y @testchimp/agentwatch status
npx -y @testchimp/agentwatch serve # foreground daemon (query starts one automatically)stdout is one JSON object per command. Errors look like {"error": "<code>", "message": "..."}, for example auth_required (run testchimp bot connect), project_not_mapped (run testchimp workspace map) or below_baseline.
Users who have TestChimp Studio can run the same daemon as testchimp-studio agentwatch …; both share ~/.testchimp (TESTCHIMP_HOME overrides).
