Heat a wok or large skillet over medium-high heat. Add 1 tablespoon of the oil. Add the chicken and cook for 5 minutes, or until no longer pink. Remove the chicken from the wok.
In the same pan, add the remaining 1 tablespoon oil and the onion. Cook for 2 to 3 minutes, or until the onion is translucent.
Add the garlic and ginger and cook for 1 minute, or until fragrant and golden, being careful not to let either burn. Add the green beans, broccoli, cabbage, and mushrooms. Cook for 5 minutes, or until slightly tender.
Add the soy sauce, sriracha, and vinegar or lime juice. Cook for 2 to 3 minutes, or until reduced slightly. Return the chicken to the wok. Add the scallions and cilantro. Remove the wok from the heat and add the salt, if using. Garnish with the peanuts.