gitnexus 1.6.2 → 1.6.3-rc.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/_shared/index.d.ts +7 -0
- package/dist/_shared/index.d.ts.map +1 -1
- package/dist/_shared/index.js +5 -0
- package/dist/_shared/index.js.map +1 -1
- package/dist/_shared/scope-resolution/evidence-weights.d.ts +69 -0
- package/dist/_shared/scope-resolution/evidence-weights.d.ts.map +1 -0
- package/dist/_shared/scope-resolution/evidence-weights.js +84 -0
- package/dist/_shared/scope-resolution/evidence-weights.js.map +1 -0
- package/dist/_shared/scope-resolution/language-classification.d.ts +26 -0
- package/dist/_shared/scope-resolution/language-classification.d.ts.map +1 -0
- package/dist/_shared/scope-resolution/language-classification.js +44 -0
- package/dist/_shared/scope-resolution/language-classification.js.map +1 -0
- package/dist/_shared/scope-resolution/origin-priority.d.ts +14 -0
- package/dist/_shared/scope-resolution/origin-priority.d.ts.map +1 -0
- package/dist/_shared/scope-resolution/origin-priority.js +21 -0
- package/dist/_shared/scope-resolution/origin-priority.js.map +1 -0
- package/dist/_shared/scope-resolution/symbol-definition.d.ts +34 -0
- package/dist/_shared/scope-resolution/symbol-definition.d.ts.map +1 -0
- package/dist/_shared/scope-resolution/symbol-definition.js +12 -0
- package/dist/_shared/scope-resolution/symbol-definition.js.map +1 -0
- package/dist/_shared/scope-resolution/types.d.ts +200 -0
- package/dist/_shared/scope-resolution/types.d.ts.map +1 -0
- package/dist/_shared/scope-resolution/types.js +17 -0
- package/dist/_shared/scope-resolution/types.js.map +1 -0
- package/dist/core/ingestion/call-processor.d.ts +2 -1
- package/dist/core/ingestion/model/field-registry.d.ts +1 -1
- package/dist/core/ingestion/model/index.d.ts +1 -1
- package/dist/core/ingestion/model/index.js +2 -0
- package/dist/core/ingestion/model/method-registry.d.ts +1 -1
- package/dist/core/ingestion/model/registration-table.d.ts +1 -2
- package/dist/core/ingestion/model/resolution-context.d.ts +1 -1
- package/dist/core/ingestion/model/resolve.d.ts +1 -1
- package/dist/core/ingestion/model/symbol-table.d.ts +1 -23
- package/dist/core/ingestion/model/type-registry.d.ts +1 -1
- package/dist/mcp/local/local-backend.d.ts +48 -1
- package/dist/mcp/local/local-backend.js +287 -131
- package/dist/mcp/tools.js +19 -1
- package/package.json +1 -1
package/dist/mcp/tools.js
CHANGED
|
@@ -133,7 +133,7 @@ Shows categorized incoming/outgoing references (calls, imports, extends, impleme
|
|
|
133
133
|
WHEN TO USE: After query() to understand a specific symbol in depth. When you need to know all callers, callees, and what execution flows a symbol participates in.
|
|
134
134
|
AFTER THIS: Use impact() if planning changes, or READ gitnexus://repo/{name}/process/{processName} for full execution trace.
|
|
135
135
|
|
|
136
|
-
Handles disambiguation: if multiple symbols share the same name, returns candidates for you to pick from. Use uid
|
|
136
|
+
Handles disambiguation: if multiple symbols share the same name, returns ranked candidates (each with a relevance score) for you to pick from. Use uid for zero-ambiguity lookup, or narrow the search with file_path and/or kind hints.
|
|
137
137
|
|
|
138
138
|
NOTE: ACCESSES edges (field read/write tracking) are included in context results with reason 'read' or 'write'. CALLS edges resolve through field access chains and method-call chains (e.g., user.address.getCity().save() produces CALLS edges at each step).`,
|
|
139
139
|
inputSchema: {
|
|
@@ -145,6 +145,10 @@ NOTE: ACCESSES edges (field read/write tracking) are included in context results
|
|
|
145
145
|
description: 'Direct symbol UID from prior tool results (zero-ambiguity lookup)',
|
|
146
146
|
},
|
|
147
147
|
file_path: { type: 'string', description: 'File path to disambiguate common names' },
|
|
148
|
+
kind: {
|
|
149
|
+
type: 'string',
|
|
150
|
+
description: "Kind filter to disambiguate common names (e.g. 'Function', 'Class', 'Method', 'Interface', 'Constructor')",
|
|
151
|
+
},
|
|
148
152
|
include_content: {
|
|
149
153
|
type: 'boolean',
|
|
150
154
|
description: 'Include full symbol source code (default: false)',
|
|
@@ -244,16 +248,30 @@ Depth groups:
|
|
|
244
248
|
|
|
245
249
|
TIP: Default traversal uses CALLS/IMPORTS/EXTENDS/IMPLEMENTS. For class members, include HAS_METHOD and HAS_PROPERTY in relationTypes. For field access analysis, include ACCESSES in relationTypes.
|
|
246
250
|
|
|
251
|
+
Handles disambiguation: when multiple symbols share the target name, returns ranked candidates (each with a relevance score) instead of silently picking one. Use target_uid for zero-ambiguity lookup, or narrow with file_path and/or kind hints.
|
|
252
|
+
|
|
247
253
|
EdgeType: CALLS, IMPORTS, EXTENDS, IMPLEMENTS, HAS_METHOD, HAS_PROPERTY, METHOD_OVERRIDES, METHOD_IMPLEMENTS, ACCESSES
|
|
248
254
|
Confidence: 1.0 = certain, <0.8 = fuzzy match`,
|
|
249
255
|
inputSchema: {
|
|
250
256
|
type: 'object',
|
|
251
257
|
properties: {
|
|
252
258
|
target: { type: 'string', description: 'Name of function, class, or file to analyze' },
|
|
259
|
+
target_uid: {
|
|
260
|
+
type: 'string',
|
|
261
|
+
description: 'Direct symbol UID from prior tool results (zero-ambiguity lookup, skips target resolution)',
|
|
262
|
+
},
|
|
253
263
|
direction: {
|
|
254
264
|
type: 'string',
|
|
255
265
|
description: 'upstream (what depends on this) or downstream (what this depends on)',
|
|
256
266
|
},
|
|
267
|
+
file_path: {
|
|
268
|
+
type: 'string',
|
|
269
|
+
description: 'File path hint to disambiguate common names',
|
|
270
|
+
},
|
|
271
|
+
kind: {
|
|
272
|
+
type: 'string',
|
|
273
|
+
description: "Kind filter to disambiguate common names (e.g. 'Function', 'Class', 'Method', 'Interface', 'Constructor')",
|
|
274
|
+
},
|
|
257
275
|
maxDepth: {
|
|
258
276
|
type: 'number',
|
|
259
277
|
description: 'Max relationship depth (default: 3)',
|
package/package.json
CHANGED