Skip to content

Commit 03684f2

Browse files
staabmphpstan-bot
authored andcommitted
Detect more AI agents (phpstan#5375)
1 parent 6174518 commit 03684f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Internal/AgentDetector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ final class AgentDetector
1010
{
1111

1212
public const ENV_VARS = [
13+
'AUGMENT_AGENT',
14+
'AMP_CURRENT_THREAD_ID',
1315
'AI_AGENT',
1416
'CURSOR_TRACE_ID',
1517
'CURSOR_AGENT',
1618
'GEMINI_CLI',
1719
'CODEX_SANDBOX',
20+
'CODEX_THREAD_ID',
1821
'AUGMENT_AGENT',
1922
'OPENCODE_CLIENT',
2023
'OPENCODE',

0 commit comments

Comments
 (0)