@suco/su-auggie-mcp 0.1.2 → 0.1.4
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/README.md +2 -1
- package/dist/workspace.js +6 -5
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/workspace.js
CHANGED
|
@@ -559,11 +559,7 @@ export class Workspace {
|
|
|
559
559
|
}
|
|
560
560
|
/** Get workspace status */
|
|
561
561
|
getStatus() {
|
|
562
|
-
//
|
|
563
|
-
const progressPending = this.progress
|
|
564
|
-
? this.progress.discovered - this.progress.indexed
|
|
565
|
-
: 0;
|
|
566
|
-
// Get stats from FileIndexer
|
|
562
|
+
// Get stats from FileIndexer first (needed for pending calculation)
|
|
567
563
|
const stats = this.fileIndexer?.getStats() ?? {
|
|
568
564
|
indexed: 0,
|
|
569
565
|
skipped: 0,
|
|
@@ -574,6 +570,11 @@ export class Workspace {
|
|
|
574
570
|
cooldownCycle: 0,
|
|
575
571
|
cooldownNextRetryAt: null,
|
|
576
572
|
};
|
|
573
|
+
// Pending = discovered - (indexed + skipped + failed from FileIndexer)
|
|
574
|
+
// This avoids double-counting skipped files as both skipped AND pending
|
|
575
|
+
const progressPending = this.progress
|
|
576
|
+
? Math.max(0, this.progress.discovered - stats.indexed - stats.skipped - stats.failed)
|
|
577
|
+
: 0;
|
|
577
578
|
const metrics = this.fileIndexer?.getBatcherMetrics() ?? {
|
|
578
579
|
currentConcurrency: 0,
|
|
579
580
|
peakConcurrency: 0,
|