mirror of
https://github.com/lexmount/moli.git
synced 2026-10-30 16:07:24 +00:00
Expose protocol-independent InstanceCommand and BrowserInstanceControl with a native serve_with_control entry. Keep shutdown coordination in the server and CDP session validation and response flush in a dedicated adapter, bypassing renderer work without creating another actor or shutdown state. Parse each CDP envelope once and check live frontend-owned session routes through a weak registry view. Match Chromium Browser.close on browser, page, tab, and worker sessions; ignore params and reject null or foreign session IDs. Update optional-session test requests to omit absent routes. Add native and pending-promise lifecycle regressions and cross-engine smoke coverage for acknowledgment ordering, natural process exit, and isolation.