Claude code source code has been leaked via a map file in their npm registry (xcancel.com)
from cm0002@toast.ooo to programming@programming.dev on 31 Mar 14:50
https://toast.ooo/post/13102826

#programming

threaded - newest

howmuchlonger@lemmy.org on 31 Mar 15:18 next collapse

Content looks legit, but I’d be super careful about running it. Who knows what got added to that zip file.

statelesz@slrpnk.net on 31 Mar 15:31 next collapse

The whole repo is such a mess.

First it was the source code, than a Python rewrite and not it’s “Claw Code”. The issues are just AI spam. I’m really curious where this is going.

eager_eagle@lemmy.world on 31 Mar 17:04 next collapse

someone went through the leak and opened a proper pull request to open source it

github.com/anthropics/claude-code/pull/41518

the file tree looks less messy than in that screenshot, but damn, I didn’t think it would be 514k lines

Kissaki@programming.dev on 31 Mar 19:30 collapse
eager_eagle@lemmy.world on 31 Mar 17:05 next collapse

actual open source option, fwiw

github.com/anomalyco/opencode

webkitten@piefed.social on 31 Mar 17:13 next collapse

Well Well Well.

Looks like the shoe is on a different foot.

middlemanSI@lemmy.world on 31 Mar 18:24 collapse

count the if/case instances!