openkrak-mcp 1.1.0 → 1.1.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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -242255,7 +242255,7 @@ function assembleGraph(allNodes, rawEdges, barrelReExports = []) {
|
|
|
242255
242255
|
return { nodes: allNodes, edges: finalEdges, stats };
|
|
242256
242256
|
}
|
|
242257
242257
|
function resolveToNodeId(to, fileNodeMap, nodeById) {
|
|
242258
|
-
const fileNodeId = fileNodeMap.get(to) ?? fileNodeMap.get(to + ".ts");
|
|
242258
|
+
const fileNodeId = fileNodeMap.get(to) ?? fileNodeMap.get(to + ".ts") ?? fileNodeMap.get(to + ".tsx") ?? fileNodeMap.get(to.replace(/\.ts$/, ".tsx")) ?? fileNodeMap.get(to.replace(/\.tsx$/, ".ts")) ?? fileNodeMap.get(to + "/index.ts") ?? fileNodeMap.get(to + "/index.tsx");
|
|
242259
242259
|
if (fileNodeId && nodeById) {
|
|
242260
242260
|
const filePath = fileNodeId.split("::")[0];
|
|
242261
242261
|
const barrelNode = [...nodeById.values()].find(
|
|
@@ -242962,7 +242962,7 @@ async function runDeepStrike(store, opts) {
|
|
|
242962
242962
|
remote_url: null,
|
|
242963
242963
|
primary_language: detectPrimaryLanguage(fileIndexEntries.map((e) => e.path)),
|
|
242964
242964
|
languages: computeLanguageBreakdown(fileIndexEntries.map((e) => e.path)),
|
|
242965
|
-
framework: null,
|
|
242965
|
+
framework: topology.framework ?? null,
|
|
242966
242966
|
total_files: relFiles.length,
|
|
242967
242967
|
total_loc: fileIndexEntries.reduce((s, e) => s + e.loc, 0),
|
|
242968
242968
|
git: { current_branch: null, last_commit_hash: null, last_commit_at: null, is_dirty: false }
|