fzrilsh/kiro-autologin ? reverse-engineered prompt

Reverse engineered prompt

Build me a Node.js script that can go through a list of Google accounts from a text file, sign into Kiro automatically in Chrome, grab the RefreshToken, and send it into my router panel. I want it to read its settings from a .env file, including the router URL, Chrome path, delays, and file names for the account list and failed accounts.

It should handle accounts one by one, keep going even if one fails, remove successful accounts from the main list, and append failed ones to an error file. Please also show how long each account takes and the total run time in a human friendly way. If the page layout changes, make it easy to update the selectors in one place. Use the current docs online if you need to, and keep the whole thing simple enough that I can just install, configure, and run it.