Commit graph

9 commits

Author SHA1 Message Date
b54b2a711e fix(avocet): normalize queue schema + bind to 0.0.0.0 for LAN access
- Add _item_id() (content hash) + _normalize() to map legacy JSONL fields
  (from_addr/account/no-id) to Vue schema (from/source/id)
- All mutating endpoints now look up by _normalize(x)[id] — handles both
  stored-id (test fixtures) and content-hash (real data) transparently
- Change uvicorn bind from 127.0.0.1 to 0.0.0.0 so LAN clients can connect
2026-03-03 18:43:00 -08:00
4a76f6ba41 fix(avocet): undo — commit-then-clear order, empty-records guard, skip dedup, stronger test 2026-03-03 15:41:58 -08:00
80a8195899 feat(avocet): discard, undo, labels config, static serving — backend complete 2026-03-03 15:35:01 -08:00
f0e9886ab2 feat(avocet): POST /api/skip endpoint 2026-03-03 15:21:32 -08:00
816c0e3bb2 fix(avocet): store original item in _last_action; add requirements.txt 2026-03-03 15:16:54 -08:00
ff27053aa9 feat(avocet): POST /api/label endpoint 2026-03-03 15:14:04 -08:00
9abae0478c feat(avocet): GET /api/queue endpoint 2026-03-03 15:00:59 -08:00
c8aea3c39f fix(avocet): _write_jsonl empty-list writes empty file; add reset_last_action helper 2026-03-03 14:36:18 -08:00
ffd1450f62 feat(avocet): FastAPI skeleton + JSONL helpers 2026-03-03 13:30:28 -08:00