Preheat the oven to 350°F. Slice your squash in half and scoop out the seeds, then roast for about 40 minutes. Allow to cool once soft, then scrape out the flesh and save the liquid for later. Blend until completely smooth (you can use a food processor or blender).
Sauté onions in a large pot over medium heat until brown. Add garlic, thyme, and black pepper, stirring until the garlic turns brown as well.
Pour in the vegetable stock and follow with the bay leaf, wine, and squash. Allow it to simmer for a few minutes before adding the rest of your ingredients. Simmer for about 20 minutes total.