I think this is ultimately caused by a Bun bug which I reported, which means source maps are exposed in production: https://github.com/oven-sh/bun/issues/28001 Claude code uses (and Anthropic owns) Bun, so my guess is they're doing a production build, expecting it not to output source maps, but it is.
Claude Code's source code has been leaked via a map file in their NPM registry
731–740 of 1001 posts
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#732haha.. Anthropic need to hire fixer from vibecodefixers.com to fix all that messy code..lol
I don’t think they can hear you over the billions of dollars they are generating, and definitely not over them redefining what SWE means.
Redefining the "SW" to stand for "slopware"?
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#733Undercover mode also pretends to be human, which I'm less ok with: https://github.com/chatgptprojects/claude-code/blob/642c7f94...
That whole “feature” is vile.
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#734Earlier quoted context omitted.
What's going on with the issues in that repo? https://github.com/instructkr/claude-code/issues
It seems human. It taught me 合影, which seems to be Chinese slang for just wanting to be in the comments. Probably not a coincidence that it's after work time in China. Really interesting to see Github turn into 4chan for a minute, like GH anons rolling for trips.
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#735One neat one is the /buddy feature, an easter egg planned for release tomorrow for April fools. It's a little virtual pet, sort of like Tamagotchi, randomly generated with 18 species, rarities, stats, hats, custom eyes.
The random generation algorithm is all in the code though, deterministic based on you account's UUID in your claude config, so it can be predicted. I threw together a little website here to let you check what your going to get ahead of time: https://claudebuddychecker.netlify.app/
Got a legendary ghost myself.
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#736I think this is ultimately caused by a Bun bug which I reported, which means source maps are exposed in production: https://github.com/oven-sh/bun/issues/28001 Claude code uses (and Anthropic owns) Bun, so my guess is they're doing a production build, expecting it not to output source maps, but it is.
It could be because of a Bun bug, but I don't think it's because of that one. It's a duplicate of a year-old issue, and it's specific to Bun.serve.
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#737Undercover mode also pretends to be human, which I'm less ok with: https://github.com/chatgptprojects/claude-code/blob/642c7f94...
You'll never win this battle, so why waste feelings and energy on it? That's where the internet is headed. There's no magical human verification technology coming to save us.
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#738I think this is ultimately caused by a Bun bug which I reported, which means source maps are exposed in production: https://github.com/oven-sh/bun/issues/28001 Claude code uses (and Anthropic owns) Bun, so my guess is they're doing a production build, expecting it not to output source maps, but it is.
I don’t think that’s the reason, but using Bun for production this early is a bad idea. It’s still too buggy, and compromising stability for a 2–3% performance gain just isn’t worth it.
this is highly workload-dependent. there are plenty of APIs that are multiple-factor faster and 10x more memory efficient due to native implementation.
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#739Earlier quoted context omitted.
I wish. Claude Code is clearly a pile of vibe-coded garbage. The UI is janky and jumps all over the place, especially during longer sessions. (Which also have a several second delay to render. In a terminal). Lately, it's been crashing if I hold the Backspace key down for too long. Being open-source would be the best thing to happen to them. At least they would finally get a pair of human eyes looking at their codeba…
> Claude Code is clearly a pile of vibe-coded garbage. The UI is janky and jumps all over the place, especially during longer sessions. (Which also have a several second delay to render. In a terminal). Don't you know, they're proud of their text interface that is structured more like a video game. https://spader.zone/engine/
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#740Anthropic team does an excellent job of speeding up Claude Code when it slows down, but for the sake of RAM and system resources, it would be nice to see it rewritten in a more performant framework! And now, with Claude on a Ralph loop, you can.