What problem does it solve? Manually migrating Kiro CLI accounts into StaticFlow's llm-access gateway requires reading local SQLite auth files, extracting tokens, and configuring concurrency and proxy settings by hand, which is error-prone and risks leaking credentials. ## Core Features & Use Cases - Local SQLite Discovery and Parsing: Finds Kiro auth databases from explicit paths, search directories, or the default ~/.local/share/kiro-cli/data.sqlite3, and reads social and IDC/OIDC token records from auth_kv. - Automated Admin API Import: Creates accounts via POST /admin/kiro-gateway/accounts/import-auth, applies standard scheduling (max concurrency 3, random start interval 200-1000ms, minimum 10 remaining credits), and assigns a fixed United States proxy chosen by least-used load balancing with latency tie-breaking. - Validation with Rollback: Refreshes account balance through the assigned proxy, rejects accounts with insufficient credits or duplicate upstream user IDs, and deletes failed imports automatically. - Use Case: You have several Kiro CLI installations on your machine and want to onboard them all into your self-hosted llm-access gateway. Run the script in dry-run mode to preview the imports, then apply them with balanced US proxy assignment in one command. ## Quick Start Ask the assistant to discover local Kiro auth SQLite files and dry-run import them into the llm-access admin API at http://127.0.0.1:19182, then apply the import after reviewing the output.