Stop hook runs tsc + lint, exit 2 blocks completion. Same patterns, public API, no flags to hack.
Claude Code's source code has been leaked via a map file in their NPM registry
991–1000 of 1001 posts
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#992Re: Claude Code's source code has been leaked via a map file in their NPM registry
#993Earlier quoted context omitted.
there are a .....lot of forks already, no putting the genie back in the bottle for this one, I'd imagine.
Forks are easy for Github to shut down simultaneously. What you really want is to upload the code as a new repo (ideally a different name from the original one). But it shouldn't be too hard in practice to detect uploading the same codebase as one that's taken down if that's desired.
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#994Re: Claude Code's source code has been leaked via a map file in their NPM registry
#995Re: Claude Code's source code has been leaked via a map file in their NPM registry
#996Re: Claude Code's source code has been leaked via a map file in their NPM registry
#997Earlier quoted context omitted.
The question "why" is always answered with post-hoc rationalizations. This applies to both LLMs and humans.
No, I think a lot of humans can explain why they're adding a new button to the checkout page, or why they're removing a line from the revenue reconciliation job. There's always a reason a change gets made, or else nobody would be working on it at all :)
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#998Earlier quoted context omitted.
Looks like Anthropic called in a favor and it's removed now.
Ah, another you can’t, but they can. I’m still a little humored over peak web3 and the DAO / soft contract nonsense. Like in order to stop fraud entire coins were forked…
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#999Earlier quoted context omitted.
Oh boy, you couldn't be more wrong. If something, LLM-s need MORE readable code, not less. Do you want to burn all your money in tokens?
I very much doubt Anthropic devs are metered, somehow.
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#1000Why is Claude Code, a desktop tool, written in JS? Is the future of all software JS or Typescript?
Original author of Claude Code is expert on TypeScript [1] [1] https://www.amazon.com/Programming-TypeScript-Making-JavaScr...
https://news.ycombinator.com/item?id=21934336
Thanks hackernewsbooks for sending me that!