Commit 847a2ef
authored
acc: unset all SDK v0.141.0 AI-agent env vars before tests (#5436)
The SDK checks 15 explicit env vars and two generic fallbacks (AGENT,
AI_AGENT) to detect AI coding agents and add agent/<name> to the
User-Agent. The previous list covered only 7 of them, so tests run
inside agents like Augment, Copilot, Goose, Kiro, OpenClaw, VS Code
agent, or Windsurf would still pick up the host agent and produce
non-deterministic output.
Add the missing 10 vars and a comment pointing at listKnownAgents() in
the SDK so the list is easy to keep in sync on future SDK bumps.
Co-authored-by: Isaac1 parent eba5146 commit 847a2ef
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
205 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
206 | 212 | | |
| 213 | + | |
207 | 214 | | |
208 | 215 | | |
209 | 216 | | |
| 217 | + | |
210 | 218 | | |
211 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
212 | 223 | | |
| 224 | + | |
| 225 | + | |
213 | 226 | | |
214 | 227 | | |
215 | 228 | | |
| |||
0 commit comments