Bun serves docs to Claude Code as Markdown instead of HTML

(twitter.com)

8 points | by tosh 7 hours ago ago

2 comments

  • bobbiechen 6 hours ago

    Anyone know how this works under the hood? Hoping it's content negotiation (like Accept) rather than user agent sniffing.

    I've been working on AI agent detection in various forms lately (IsAgent, Web Bot Auth), and it feels like we are in a critical period. Can we establish norms that accurate self-identification is good and useful, actually? Or will we slide back into impersonation a la the user agent, like https://webaim.org/blog/user-agent-string-history/ ?

  • ethmarks 3 hours ago

    This reminds me of Svelte's LLM docs: https://svelte.dev/docs/llms