Files
bun.sh/test/js
Claude Bot 684d9dbfe1 Add --trace flag for structured logging of I/O operations
This adds a --trace=file.json flag that outputs structured logs for:
- node:fs operations (open, read, write)
- Bun.write operations
- fetch HTTP requests and responses
- Response.body consumption

The trace format is line-delimited JSON with:
- ns: namespace for filtering (fs, bun_write, fetch, response_body)
- ts: millisecond timestamp
- data: operation-specific structured data

This will be used by AI agents like Claude to understand what
applications are doing without manually adding console.log calls.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-07 03:12:38 +00:00
..
2025-12-23 22:24:18 -08:00