Skip to content

Commit 7376a85

Browse files
committed
docs(agent): update agent install command with --target option
- Change `testsprite agent install` commands to use `--target` flag for specifying agents - Update DOCUMENTATION.md examples to reflect new command syntax - Modify README.md to replace old command usage with the new format - Clarify onboarding instructions for different agents with consistent command style
1 parent 9f35751 commit 7376a85

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

DOCUMENTATION.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ This is the loop a coding agent runs on its own once you've onboarded it with `t
8686

8787
```bash
8888
# (one-time, per project) teach your agent the CLI
89-
testsprite agent install claude
89+
testsprite agent install --target claude
9090

9191
# 1 — describe the behavior you want to guarantee, run it, wait
9292
testsprite test create --project proj_8f0f6 --type frontend \
@@ -109,10 +109,10 @@ Every artifact in the bundle shares one `snapshotId`; the CLI will not mix a fai
109109
`testsprite agent install` writes the TestSprite skills into your project so your coding agent knows the commands, the exit codes, and the failure-bundle layout — no prompt engineering required. It's a pure-local command: no network, no credentials.
110110

111111
```bash
112-
testsprite agent install claude-code
113-
testsprite agent install codex
114-
testsprite agent install cursor
115-
testsprite agent install kiro-cli
112+
testsprite agent install --target claude-code
113+
testsprite agent install --target codex
114+
testsprite agent install --target cursor
115+
testsprite agent install --target kiro-cli
116116
testsprite agent list
117117
testsprite agent status
118118
```

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Prefer to configure each step by hand (or learn the surface offline with `--dry-
131131
- 🤖 **Agent-shaped output.** `test failure get` returns **one bundle** — the failing step, its neighbors, screenshots, DOM snapshots, the test source, a root-cause hypothesis, and a recommended fix target — all sharing a single `snapshotId`. The CLI _refuses_ to stitch data from two different runs, so an agent never reasons over a frankenstein context.
132132
- ♻️ **A loop, not a one-shot.** `create → run → failure get → fix → rerun` — every pass is banked, not thrown away.
133133
- 📐 **Scriptable & deterministic.** Stable `--output json` contract, predictable [exit codes](./DOCUMENTATION.md#exit-codes), and a `--dry-run` that exercises the full code path offline with canned data.
134-
- 🔌 **One command to onboard your agent.** `testsprite agent install claude` drops a ready-made skill file into your repo so your coding agent knows how to drive the loop on its own.
134+
- 🔌 **One command to onboard your agent.** `testsprite agent install --target claude` drops a ready-made skill file into your repo so your coding agent knows how to drive the loop on its own.
135135

136136
## How it works
137137

0 commit comments

Comments
 (0)