Reverse engineered prompt

GitHub

Build me a small TypeScript package that adds extra Mineflayer login options for cases the normal setup does not handle well. I want a simple createBot entry point that feels like regular Mineflayer, but lets me log in either with Microsoft account cookies or with a direct Minecraft access token.

For the cookie flow, include a helper to parse a cookies.txt style file, support a browserless method and a browser based method, plus an auto mode that tries the easy path first and falls back if needed. It should handle cookie caching in a sensible way, support optional proxy settings, and allow an unsafe TLS bypass option for debugging intercepted proxies. For the token flow, let me pass in the username, server host, and Java access token and have the bot connect normally.

Please include a readable README with quick start examples, notes about proxy support and cookie cache behavior, and a small test or demo that logs the bot username on spawn. Look up current Mineflayer auth docs online if you need to.

Have a live product UI? Try website reverse