gitnexus 1.6.4-rc.41 → 1.6.4-rc.42

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.
@@ -216,6 +216,17 @@ export class ManifestExtractor {
216
216
  rows = await executor(`MATCH (n:Package|Module) WHERE n.name = $contract
217
217
  RETURN n.id AS uid, n.name AS name, n.filePath AS filePath
218
218
  ORDER BY n.filePath ASC
219
+ LIMIT 1`, { contract: link.contract });
220
+ }
221
+ else if (link.type === 'custom') {
222
+ // V1: exact name-only match on code-definition nodes.
223
+ // Positive allowlist mirrors other contract types. If multiple code
224
+ // symbols share the same name, ORDER BY filePath ASC LIMIT 1 picks
225
+ // the alphabetically-first occurrence deterministically.
226
+ rows = await executor(`MATCH (n:Function|Method|Class|Interface|Struct|Enum|Trait|Constructor|TypeAlias|Impl|Macro|Union|Typedef|Property|Record|Delegate|Annotation|Template|Const|Static|CodeElement)
227
+ WHERE n.name = $contract
228
+ RETURN n.id AS uid, n.name AS name, n.filePath AS filePath
229
+ ORDER BY n.filePath ASC
219
230
  LIMIT 1`, { contract: link.contract });
220
231
  }
221
232
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitnexus",
3
- "version": "1.6.4-rc.41",
3
+ "version": "1.6.4-rc.42",
4
4
  "description": "Graph-powered code intelligence for AI agents. Index any codebase, query via MCP or CLI.",
5
5
  "author": "Abhigyan Patwari",
6
6
  "license": "PolyForm-Noncommercial-1.0.0",