@suco/su-auggie-mcp 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/workspace.js +4 -2
- package/package.json +1 -1
package/dist/workspace.js
CHANGED
|
@@ -463,8 +463,10 @@ export class Workspace {
|
|
|
463
463
|
});
|
|
464
464
|
// Update metadata from FileIndexer result
|
|
465
465
|
Object.assign(this.fileMetadata, result.metadata);
|
|
466
|
-
// Wait for backend to finish indexing
|
|
467
|
-
|
|
466
|
+
// Wait for backend to finish indexing (only if we actually indexed files)
|
|
467
|
+
if (result.indexed > 0) {
|
|
468
|
+
await retryWithBackoff(() => this.context.waitForIndexing(), 'waitForIndexing');
|
|
469
|
+
}
|
|
468
470
|
await this.saveState();
|
|
469
471
|
this.saveMetadata();
|
|
470
472
|
this.lastIndexed = new Date();
|