fix(ExportOrchestrator): Add plugin namespacing to TempDirectoryManager
- Added pluginName parameter using manifest.id for proper temp directory namespacing - Improves isolation when multiple similar plugins are installed - Prevents temp directory conflicts between plugins - Uses existing TempDirectoryOptions.pluginName field per CodeRabbit review 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 file changed
+6
-1
@@ -144,7 +144,12 @@ export class ExportOrchestrator {
|
||||
|
||||
try {
|
||||
// Create temp directory for conversion
|
||||
const tempManager = new TempDirectoryManager({ vaultPath: vaultPath, configDir: this.plugin.app.vault.configDir, app: this.plugin.app });
|
||||
const tempManager = new TempDirectoryManager({
|
||||
vaultPath: vaultPath,
|
||||
configDir: this.plugin.app.vault.configDir,
|
||||
app: this.plugin.app,
|
||||
pluginName: this.plugin.manifest.id
|
||||
});
|
||||
const tempDir = await tempManager.ensureTempDir('pandoc');
|
||||
|
||||
// Load file content
|
||||
|
||||
Reference in new issue
Block a user