For the sauce, mix all the ingredients together and set aside.
Cook the gnocchi by boiling them for 90 seconds (until they begin to float).
In the meantime, add 2 tbsp of olive oil to a large non-stick pan over medium heat. When the gnocchi is cooked, transfer them directly to the pan (after shaking off excess water). Cook them for about 1 minute on each side, until they are golden brown. Remove them from heat.
In a separate pan, add 1 tbsp of olive oil over medium-high heat. When it is hot (about 1 minute), add the garlic and the red onion. Cook for about 2 minutes. Then, add the gnocchi and the peas, and cook for another 30 seconds.
Add the sauce, stirring to make sure the pasta is evenly coated.