Add react-router so each tab is its own path (/opportunities, /travel,
/market, /items, …) and a refresh or deep link lands on the same page.
Page state is mirrored to the query string so a refresh restores it:
- Item Browser: ?q= (search) and ?item= (open item)
- Market Data: ?item= (selected item, rebuilt on load)
- Opportunities: all filters (city, tiers, focus, premium, sellMode,
station fee, sort) in the URL
- Travel Planner: ?from=&to=&mode=
The server already serves index.html for non-API paths, so deep links
work. Sidebar uses NavLink for active state.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Extract world-parse + packet capture into @albion/shared (reused by
server and a new standalone agent workspace).
- Migrate the data layer from SQLite/better-sqlite3 to shared Postgres
(async pg with a ?->$n helper; economy engine preloads the item/recipe
graph so its sync recursion still works).
- API-key auth (ALBION_API_KEY) on all /api routes except health; web UI
sends it via a fetch wrapper + key-entry gate; server serves the built
UI with a path-traversal-safe static handler (drops @fastify/static).
- Windows companion agent: pushes world map + captured market orders to
/api/ingest/*; runs on the gaming PC where the game traffic lives.
- Docker + docker-compose (external proxy + backend networks for Nginx
Proxy Manager and shared Postgres) and a Forgejo deploy workflow.
- Validated end-to-end against Postgres 16 and a full compose run.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
tshark-based capture (no native modules) of the player's own UDP 5056
traffic decoded with photon-packet-parser; market orders detected by
JSON shape (patch-proof) and stored as firsthand prices; event-code
debug log to identify destiny-board codes; Sniffer page + README.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
World map imported from the local game files (public DES key + gzip,
read-only), 485 zones / 723 portal connections, BFS router with
safe-only vs all-zones modes and danger counts, haul advisor ranking
items by trip profit per carry weight, Travel page + game-path setting.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>