ac503a5ca3
- Add routes/pages.ts with pageRoutes handler for POST/GET/DELETE /pages - Handle POST /pages (create), GET /pages (list), GET /pages/:id, DELETE /pages/:id - Use safeStringify for all JSON output, proper error codes for 400/404/409/500 - Update server.ts to accept optional BrowserManager and register pageRoutes - Add 13 unit tests with mock BrowserManager covering all endpoints