4 ms·
Claude Code is an obfuscated javascript app. You can point Claude Code at it's own package and it will pretty reliably tell you how it works. I think Claude Co
by mrkurt 10mo ago
Claude Code is an obfuscated javascript app. You can point Claude Code at it's own package and it will pretty reliably tell you how it works.
I think Claude Code's magic is that Anthropic is happy to burn tokens. The loop itself is not all that interesting.
What is interesting is how they manage the context window over a long chat. And I think a fair amount of that is serverside.
- AdieuToLogic 10mo ago> Claude Code is an obfuscated javascript app. You can point Claude Code at it's own package and it will pretty reliably tell you how it works. This is why I keep coming back to Hacker News. If the above is not a quintessential "hack", then I've never seen one. Bravo!
- simonw 10mo agoI've been running the obfuscated code through Prettier first, which I think makes it a bit easier for Claude Code to run grep against.