Why not just open source Claude Code? people have tried to reverse eng the minified version https://gist.githubusercontent.com/1rgs/e4e13ac9aba301bcec28...
Agree the code should just be open source but there's nothing secretive that you can't extract manually.