fix(format): Improve concurrency control in cache and rollback management with mutex locking and refine formatting details

This commit is contained in:
2025-08-08 06:25:40 +00:00
parent d32d47b706
commit 859cbc733d
38 changed files with 784 additions and 726 deletions

View File

@@ -9,7 +9,7 @@ export type IFormatOperation = {
}>;
status: 'pending' | 'in-progress' | 'completed' | 'failed' | 'rolled-back';
error?: Error;
}
};
export type IFormatPlan = {
summary: {
@@ -32,7 +32,7 @@ export type IFormatPlan = {
message: string;
module: string;
}>;
}
};
export type IPlannedChange = {
type: 'create' | 'modify' | 'delete';
@@ -42,4 +42,4 @@ export type IPlannedChange = {
content?: string; // For create/modify operations
diff?: string;
size?: number;
}
};