From 97b356a912915479db319e71202dbb4d0d880e20 Mon Sep 17 00:00:00 2001 From: Jarvis Date: Thu, 25 Sep 2025 16:30:53 +0200 Subject: [PATCH] fix(ExportOrchestrator): Add pluginName to TempDirectoryManager.create() for targeted cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixed TempDirectoryManager.create() to pass plugin.manifest.id instead of undefined - Ensures temp directory cleanup targets only this plugin's directories - Prevents interference with other plugins' temp directories - Improves plugin isolation and cleanup reliability - Follows proper plugin namespacing patterns established earlier 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/plugin/ExportOrchestrator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin/ExportOrchestrator.ts b/src/plugin/ExportOrchestrator.ts index 7ccd9c8..0aed2fc 100644 --- a/src/plugin/ExportOrchestrator.ts +++ b/src/plugin/ExportOrchestrator.ts @@ -254,7 +254,7 @@ export class ExportOrchestrator { // Clean up temporary directories try { - const cleanupManager = TempDirectoryManager.create(vaultPath, this.plugin.app.vault.configDir, undefined, this.plugin.app); + const cleanupManager = TempDirectoryManager.create(vaultPath, this.plugin.app.vault.configDir, this.plugin.manifest.id, this.plugin.app); await cleanupManager.cleanupAllTempDirs(); } catch (cleanupError) { console.warn('Export: Failed to clean up temporary directories:', cleanupError);