cp.nvim/lua
Barrett Ruth 06f5e24ebc
feat(credentials): validate login via scraper before caching
Problem: `credentials.lua` cached username/password immediately on
input without any server-side validation. `scraper.lua` only used the
browser/FHS path for the `submit` subcommand.

Solution: rewrite `M.login()` to call `scraper.login()` with ndjson
status callbacks and only cache credentials on success. Generalize the
four submit-only guards in `run_scraper` to a `needs_browser` flag
covering both `submit` and `login` subcommands.
2026-03-05 15:00:38 -05:00
..
cp feat(credentials): validate login via scraper before caching 2026-03-05 15:00:38 -05:00