cp.nvim/lua
Barrett Ruth 972044fd0f feat(cses): implement submit via REST API
Problem: CSES submit was a stub returning "not yet implemented".

Solution: authenticate via web login + API token bridge (POST
`/login` form, then POST `/api/login` and confirm the auth page),
submit source to `/api/courses/problemset/submissions` with
base64-encoded content, and poll for verdict. Uses the same
username/password credential model as AtCoder.

Also update `scraper.lua` to pass the full ndjson event to `on_status`
(instead of just the status string) and handle `credentials` events
for platforms that return updated credentials.
2026-03-05 01:03:53 -05:00
..
cp feat(cses): implement submit via REST API 2026-03-05 01:03:53 -05:00