mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-03-18 22:33:08 +00:00
Merge pull request #781 from gsxdsm/fix/improve-restart-recovery
feat: Add feature state reconciliation on server startup
This commit is contained in:
@@ -38,6 +38,8 @@ const FEATURE_LIST_INVALIDATION_EVENTS: AutoModeEvent['type'][] = [
|
||||
'plan_rejected',
|
||||
'pipeline_step_started',
|
||||
'pipeline_step_complete',
|
||||
'feature_status_changed',
|
||||
'features_reconciled',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
17
apps/ui/src/types/electron.d.ts
vendored
17
apps/ui/src/types/electron.d.ts
vendored
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
import type { ClaudeUsageResponse, CodexUsageResponse } from '@/store/app-store';
|
||||
import type { ParsedTask } from '@automaker/types';
|
||||
import type { ParsedTask, FeatureStatusWithPipeline } from '@automaker/types';
|
||||
|
||||
export interface ImageAttachment {
|
||||
id?: string; // Optional - may not be present in messages loaded from server
|
||||
@@ -359,6 +359,21 @@ export type AutoModeEvent =
|
||||
title?: string;
|
||||
status?: string;
|
||||
}>;
|
||||
}
|
||||
| {
|
||||
type: 'feature_status_changed';
|
||||
featureId: string;
|
||||
projectPath?: string;
|
||||
status: FeatureStatusWithPipeline;
|
||||
previousStatus: FeatureStatusWithPipeline;
|
||||
reason?: string;
|
||||
}
|
||||
| {
|
||||
type: 'features_reconciled';
|
||||
projectPath?: string;
|
||||
reconciledCount: number;
|
||||
reconciledFeatureIds: string[];
|
||||
message: string;
|
||||
};
|
||||
|
||||
export type SpecRegenerationEvent =
|
||||
|
||||
Reference in New Issue
Block a user