Heat oil in a 12-inch heavy skillet over medium-high heat until it shimmers. Fry pine nuts, stirring frequently, until golden, about 3 minutes, then transfer with a slotted spoon to a bowl. Sauté onion and garlic, stirring occasionally, until golden, 6 to 8 minutes. Transfer 1/2 cup onion mixture to bowl with pine nuts. Add stock, tomatoes, 3/4 teaspoon salt, and 1/4 teaspoon pepper to skillet and simmer, uncovered, while stuffing eggplant.