Files
bun.sh/test/cli
Claude Bot 681e2eb5ae Automatically disable elide-lines when running under an AI agent
When Bun runs under AI agent environments (Claude Code, Cursor, Replit,
etc.), the elide-lines feature can confuse the assistant by hiding output.
This change automatically disables elide-lines when AI agents are detected.

The implementation uses the existing `Output.isAIAgent()` function which
checks for:
- AGENT=1 environment variable
- CLAUDECODE environment variable (Claude Code)
- REPL_ID environment variable (Replit)

Users can still manually override this behavior by explicitly setting
--elide-lines with any value.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 20:40:53 +00:00
..
2025-05-24 13:36:51 -07:00
2025-10-11 08:23:25 -07:00