@proxysoul/soulforge 1.6.0 → 1.6.2
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/index.js +15 -5
- package/dist/workers/intelligence.worker.js +13 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -57814,7 +57814,7 @@ var package_default;
|
|
|
57814
57814
|
var init_package = __esm(() => {
|
|
57815
57815
|
package_default = {
|
|
57816
57816
|
name: "@proxysoul/soulforge",
|
|
57817
|
-
version: "1.6.
|
|
57817
|
+
version: "1.6.2",
|
|
57818
57818
|
description: "Graph-powered code intelligence \u2014 multi-agent coding with codebase-aware AI",
|
|
57819
57819
|
repository: {
|
|
57820
57820
|
type: "git",
|
|
@@ -312725,22 +312725,26 @@ class RepoMap {
|
|
|
312725
312725
|
this.onProgress?.(toIndex.length, toIndex.length);
|
|
312726
312726
|
}
|
|
312727
312727
|
if (toIndex.length > 0 || stale.length > 0) {
|
|
312728
|
+
this.onProgress?.(-1, -1);
|
|
312729
|
+
await tick();
|
|
312728
312730
|
await this.resolveUnresolvedRefs();
|
|
312731
|
+
this.onProgress?.(-1, -1);
|
|
312729
312732
|
await tick();
|
|
312730
312733
|
await this.resolveIdentifierRefs();
|
|
312731
|
-
this.onProgress?.(-
|
|
312734
|
+
this.onProgress?.(-2, -2);
|
|
312732
312735
|
await tick();
|
|
312733
312736
|
await this.buildCallGraph();
|
|
312737
|
+
this.onProgress?.(-3, -3);
|
|
312734
312738
|
await tick();
|
|
312735
312739
|
await this.buildEdges();
|
|
312736
312740
|
this.linkTestFiles();
|
|
312737
312741
|
this.rescueOrphans();
|
|
312738
|
-
this.onProgress?.(-
|
|
312742
|
+
this.onProgress?.(-4, -4);
|
|
312739
312743
|
await tick();
|
|
312740
312744
|
await this.computePageRank();
|
|
312741
312745
|
await tick();
|
|
312742
312746
|
}
|
|
312743
|
-
this.onProgress?.(-
|
|
312747
|
+
this.onProgress?.(-5, -5);
|
|
312744
312748
|
await tick();
|
|
312745
312749
|
await this.buildCoChanges();
|
|
312746
312750
|
await tick();
|
|
@@ -313253,6 +313257,8 @@ class RepoMap {
|
|
|
313253
313257
|
}
|
|
313254
313258
|
});
|
|
313255
313259
|
tx();
|
|
313260
|
+
if (i2 % 2000 === 0)
|
|
313261
|
+
this.onProgress?.(-1, -1);
|
|
313256
313262
|
if (i2 + BATCH < unresolvedIds.length)
|
|
313257
313263
|
await tick();
|
|
313258
313264
|
}
|
|
@@ -313280,6 +313286,8 @@ class RepoMap {
|
|
|
313280
313286
|
}
|
|
313281
313287
|
});
|
|
313282
313288
|
tx();
|
|
313289
|
+
if (i2 % 1000 === 0)
|
|
313290
|
+
this.onProgress?.(-1, -1);
|
|
313283
313291
|
if (i2 + BATCH < unresolved.length)
|
|
313284
313292
|
await tick();
|
|
313285
313293
|
}
|
|
@@ -314342,6 +314350,8 @@ class RepoMap {
|
|
|
314342
314350
|
}
|
|
314343
314351
|
});
|
|
314344
314352
|
tx();
|
|
314353
|
+
if (batchStart % (BATCH_SIZE * 10) === 0)
|
|
314354
|
+
this.onProgress?.(-2, -2);
|
|
314345
314355
|
if (batchStart + BATCH_SIZE < filesWithImports.length)
|
|
314346
314356
|
await tick();
|
|
314347
314357
|
}
|
|
@@ -360845,7 +360855,7 @@ var init_intelligence_client = __esm(() => {
|
|
|
360845
360855
|
this.on("progress", resetTimer);
|
|
360846
360856
|
resetTimer();
|
|
360847
360857
|
try {
|
|
360848
|
-
await Promise.race([this.
|
|
360858
|
+
await Promise.race([this.callWithTimeout(24 * 60 * 60000, "scan"), new Promise((_, reject) => {
|
|
360849
360859
|
rejectScan = reject;
|
|
360850
360860
|
})]);
|
|
360851
360861
|
} catch (err2) {
|
|
@@ -24454,22 +24454,26 @@ class RepoMap {
|
|
|
24454
24454
|
this.onProgress?.(toIndex.length, toIndex.length);
|
|
24455
24455
|
}
|
|
24456
24456
|
if (toIndex.length > 0 || stale.length > 0) {
|
|
24457
|
+
this.onProgress?.(-1, -1);
|
|
24458
|
+
await tick();
|
|
24457
24459
|
await this.resolveUnresolvedRefs();
|
|
24460
|
+
this.onProgress?.(-1, -1);
|
|
24458
24461
|
await tick();
|
|
24459
24462
|
await this.resolveIdentifierRefs();
|
|
24460
|
-
this.onProgress?.(-
|
|
24463
|
+
this.onProgress?.(-2, -2);
|
|
24461
24464
|
await tick();
|
|
24462
24465
|
await this.buildCallGraph();
|
|
24466
|
+
this.onProgress?.(-3, -3);
|
|
24463
24467
|
await tick();
|
|
24464
24468
|
await this.buildEdges();
|
|
24465
24469
|
this.linkTestFiles();
|
|
24466
24470
|
this.rescueOrphans();
|
|
24467
|
-
this.onProgress?.(-
|
|
24471
|
+
this.onProgress?.(-4, -4);
|
|
24468
24472
|
await tick();
|
|
24469
24473
|
await this.computePageRank();
|
|
24470
24474
|
await tick();
|
|
24471
24475
|
}
|
|
24472
|
-
this.onProgress?.(-
|
|
24476
|
+
this.onProgress?.(-5, -5);
|
|
24473
24477
|
await tick();
|
|
24474
24478
|
await this.buildCoChanges();
|
|
24475
24479
|
await tick();
|
|
@@ -24982,6 +24986,8 @@ class RepoMap {
|
|
|
24982
24986
|
}
|
|
24983
24987
|
});
|
|
24984
24988
|
tx();
|
|
24989
|
+
if (i4 % 2000 === 0)
|
|
24990
|
+
this.onProgress?.(-1, -1);
|
|
24985
24991
|
if (i4 + BATCH < unresolvedIds.length)
|
|
24986
24992
|
await tick();
|
|
24987
24993
|
}
|
|
@@ -25009,6 +25015,8 @@ class RepoMap {
|
|
|
25009
25015
|
}
|
|
25010
25016
|
});
|
|
25011
25017
|
tx();
|
|
25018
|
+
if (i4 % 1000 === 0)
|
|
25019
|
+
this.onProgress?.(-1, -1);
|
|
25012
25020
|
if (i4 + BATCH < unresolved.length)
|
|
25013
25021
|
await tick();
|
|
25014
25022
|
}
|
|
@@ -26071,6 +26079,8 @@ class RepoMap {
|
|
|
26071
26079
|
}
|
|
26072
26080
|
});
|
|
26073
26081
|
tx();
|
|
26082
|
+
if (batchStart % (BATCH_SIZE * 10) === 0)
|
|
26083
|
+
this.onProgress?.(-2, -2);
|
|
26074
26084
|
if (batchStart + BATCH_SIZE < filesWithImports.length)
|
|
26075
26085
|
await tick();
|
|
26076
26086
|
}
|