DevConsolePanel

fun DevConsolePanel(state: DevConsoleState, onStart: () -> Unit, onStop: () -> Unit, modifier: Modifier = Modifier, endpoint: BrowserEndpoint? = null)

Optional Compose launcher. Callbacks keep server lifecycle ownership in the host application. endpoint is not derived from state -- DevConsoleState.Running carries no payload -- so the host must capture it from the StartResult.Started its own onStart receives (and clear it back to null once it calls onStop) for the running address to be displayed here.