@proxysoul/soulforge 2.14.5 → 2.14.6
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 +1046 -848
- package/dist/workers/intelligence.worker.js +18 -6
- package/dist/workers/io.worker.js +1 -1
- package/package.json +1 -1
|
@@ -24460,12 +24460,16 @@ class RepoMap {
|
|
|
24460
24460
|
file_path = COALESCE((SELECT f.path FROM symbols s JOIN files f ON f.id = s.file_id WHERE s.id = semantic_summaries.symbol_id), ''),
|
|
24461
24461
|
symbol_name = COALESCE((SELECT s.name FROM symbols s WHERE s.id = semantic_summaries.symbol_id), '')
|
|
24462
24462
|
WHERE file_path = '' AND symbol_id IN (SELECT id FROM symbols)`);
|
|
24463
|
-
} catch {
|
|
24463
|
+
} catch (e) {
|
|
24464
|
+
this.onError?.(`backfillSummaryPaths failed: ${e instanceof Error ? e.message : String(e)}`);
|
|
24465
|
+
}
|
|
24464
24466
|
}
|
|
24465
24467
|
cleanOrphanedSummaries() {
|
|
24466
24468
|
try {
|
|
24467
24469
|
this.db.run("DELETE FROM semantic_summaries WHERE symbol_id NOT IN (SELECT id FROM symbols) AND (source != 'llm' OR file_path = '')");
|
|
24468
|
-
} catch {
|
|
24470
|
+
} catch (e) {
|
|
24471
|
+
this.onError?.(`cleanOrphanedSummaries failed: ${e instanceof Error ? e.message : String(e)}`);
|
|
24472
|
+
}
|
|
24469
24473
|
}
|
|
24470
24474
|
get isReady() {
|
|
24471
24475
|
return this.ready;
|
|
@@ -26094,11 +26098,15 @@ class RepoMap {
|
|
|
26094
26098
|
try {
|
|
26095
26099
|
const st = await statAsync(absPath);
|
|
26096
26100
|
this.indexFile(absPath, relPath, st.mtimeMs, language);
|
|
26097
|
-
} catch {
|
|
26101
|
+
} catch (e) {
|
|
26102
|
+
this.onError?.(`reindex failed for ${relPath}: ${e instanceof Error ? e.message : String(e)}`);
|
|
26103
|
+
}
|
|
26098
26104
|
}
|
|
26099
26105
|
this.markDirty();
|
|
26100
26106
|
};
|
|
26101
|
-
process2().catch(() => {
|
|
26107
|
+
process2().catch((e) => {
|
|
26108
|
+
this.onError?.(`flushReindex failed: ${e instanceof Error ? e.message : String(e)}`);
|
|
26109
|
+
});
|
|
26102
26110
|
}
|
|
26103
26111
|
markDirty() {
|
|
26104
26112
|
this.dirty = true;
|
|
@@ -26138,7 +26146,9 @@ class RepoMap {
|
|
|
26138
26146
|
const content = readFileSync3(join6(this.cwd, file.path), "utf-8");
|
|
26139
26147
|
fileContents.set(file.id, content.split(`
|
|
26140
26148
|
`));
|
|
26141
|
-
} catch {
|
|
26149
|
+
} catch (e) {
|
|
26150
|
+
this.onError?.(`failed to read ${file.path} for call graph: ${e instanceof Error ? e.message : String(e)}`);
|
|
26151
|
+
}
|
|
26142
26152
|
if (i4 % 20 === 19)
|
|
26143
26153
|
await tick();
|
|
26144
26154
|
}
|
|
@@ -27546,7 +27556,9 @@ class RepoMap {
|
|
|
27546
27556
|
if (this.flushPromise) {
|
|
27547
27557
|
try {
|
|
27548
27558
|
await this.flushPromise;
|
|
27549
|
-
} catch {
|
|
27559
|
+
} catch (e) {
|
|
27560
|
+
this.onError?.(`error awaiting pending flush during close: ${e instanceof Error ? e.message : String(e)}`);
|
|
27561
|
+
}
|
|
27550
27562
|
}
|
|
27551
27563
|
this.db.close();
|
|
27552
27564
|
}
|
|
@@ -49520,7 +49520,7 @@ var package_default;
|
|
|
49520
49520
|
var init_package = __esm(() => {
|
|
49521
49521
|
package_default = {
|
|
49522
49522
|
name: "@proxysoul/soulforge",
|
|
49523
|
-
version: "2.14.
|
|
49523
|
+
version: "2.14.6",
|
|
49524
49524
|
description: "Graph-powered code intelligence \u2014 multi-agent coding with codebase-aware AI",
|
|
49525
49525
|
repository: {
|
|
49526
49526
|
type: "git",
|