tpk_cli 0.5.0
tpk_cli: ^0.5.0 copied to clipboard
TesterPayKit command-line client. Designed for agentic use — every command supports --json output and --token for non-interactive flows.
example/example.md
tpk examples #
All examples assume dart pub global activate tpk_cli and a TesterPayKit
account (currently invite-only — business@moinsen.dev).
One-time setup #
tpk login # approve in the browser once
tpk whoami
An agent fixes the newest critical bug #
# 1. Pick the newest critical bug from production
BUG_ID=$(tpk --json bug list --stage prod --severity critical \
| jq -r '.bugs[0].id')
# 2. Get everything an LLM needs to fix it: the report, repro steps,
# the tester's last actions, device and app state, attachment index
tpk --json bug context "$BUG_ID" > bug-context.json
# 3. Pull screenshots and recordings next to it
tpk bug download "$BUG_ID"
# 4. After shipping the fix, mark it and tell the tester
tpk bug fix "$BUG_ID" --version 1.4.2
tpk bug comment "$BUG_ID" "Fixed in 1.4.2, please retest."
Dogfooding: report a bug from the terminal #
tpk tester login --project com.example.myapp
tpk bug report --title "Sync spinner never stops" --severity medium \
--screen SettingsScreen --step "Turn off Wi-Fi" --step "Open settings"
Give an AI agent read access via MCP #
claude mcp add tpk -- tpk_mcp