CopilotClient.get_last_session_id()
TS and .NET have it. I'm not sure if that's on purpose or an accident.