feat(ssm): Implement SSM to control desktop and mobile states