Changelog entry
Company upgrades + UI (P6.5D)
2026-03-27
- Companies can now be upgraded up to level 5 via `POST /api/nations/[id]/companies/[companyId]/upgrades`; each upgrade costs $50,000 cash and grants +5 worker slots.
- Added `GET /api/nations/[id]/companies/[companyId]/revenue` to retrieve the last 10 revenue ticks for a company (owner and worker-share breakdown).
- Added **Company Management** panel to the nation dashboard: upgrade shop with live cash check, worker assign/recall with capacity display, and revenue history table.