Merge branch 'main' into random-fixes

This commit is contained in:
Cody Seibert
2025-12-14 14:19:06 -05:00
20 changed files with 1071 additions and 858 deletions

View File

@@ -279,7 +279,18 @@ export function SpecView() {
const unsubscribe = api.specRegeneration.onEvent(
(event: SpecRegenerationEvent) => {
console.log("[SpecView] Regeneration event:", event.type);
console.log(
"[SpecView] Regeneration event:",
event.type,
"for project:",
event.projectPath
);
// Only handle events for the current project
if (event.projectPath !== currentProject?.path) {
console.log("[SpecView] Ignoring event - not for current project");
return;
}
if (event.type === "spec_regeneration_progress") {
// Extract phase from content if present