Earlier quoted context omitted.
The problem is the oauth and their stance on bypassing that. You'd want to use your subscription, and they probably can detect that and ban users. They hold all the power there.
Could you use claude via aws bedrock?
Claude Code's source code has been leaked via a map file in their NPM registry
371–380 of 1001 posts
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#372Earlier quoted context omitted.
I don't know about avoided, this kind of represents the WTF per minute code quality measurement. When I write WTF as a response to Claude, I would actually love if an Antrhopic engineer would take a look at what mess Claude has created.
WTF per minute strongly correlates to an increased token spending. It may be decided at Anthropic at some moment to increase wtf/min metric, not decrease.
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#373They have an interesting regex for detecting negative sentiment in users prompt which is then logged (explicit content): https://github.com/chatgptprojects/claude-code/blob/642c7f94... I guess these words are to be avoided...
An LLM company using regexes for sentiment analysis? That's like a truck company using horses to transport parts. Weird choice.
As they say: any idiot can build a bridge that stands, only an engineer can build a bridge that barely stands.
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#374Re: Claude Code's source code has been leaked via a map file in their NPM registry
#375Re: Claude Code's source code has been leaked via a map file in their NPM registry
#376They have an interesting regex for detecting negative sentiment in users prompt which is then logged (explicit content): https://github.com/chatgptprojects/claude-code/blob/642c7f94... I guess these words are to be avoided...
An LLM company using regexes for sentiment analysis? That's like a truck company using horses to transport parts. Weird choice.
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#377I don't understand why claude code (and all CLI apps) isn't written in Rust. I started building CLI agents in Go and then moved to Typescript and finally settled on Rust and it was amazing! I even made it into an open source runtime - https://agent-air.ai . Maybe I'm just a backend engineer so Rust appeals to me. What am I missing?
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#378I don't understand why claude code (and all CLI apps) isn't written in Rust. I started building CLI agents in Go and then moved to Typescript and finally settled on Rust and it was amazing! I even made it into an open source runtime - https://agent-air.ai . Maybe I'm just a backend engineer so Rust appeals to me. What am I missing?
It's high speed iteration of release ? Might be needed, Interpreted or JIT compiled ? might be needed.
Without knowing all the requirements its just your workspace preference making your decision and not objectively the right tool for the job.
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#379src/cli/print.ts This is the single worst function in the codebase by every metric: - 3,167 lines long (the file itself is 5,594 lines) - 12 levels of nesting at its deepest - ~486 branch points of cyclomatic complexity - 12 parameters + an options object with 16 sub-properties - Defines 21 inner functions and closures - Handles: agent run loop, SIGINT, rate-limits, AWS auth, MCP lifecycle, plugin install/refresh, wo…
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#380Earlier quoted context omitted.
An LLM company using regexes for sentiment analysis? That's like a truck company using horses to transport parts. Weird choice.
Because they actually want it to work 100% of the time and cost nothing.