sdl-mcp-native 0.10.5 → 0.10.7
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/index.d.ts +6 -0
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -234,6 +234,11 @@ export interface NativeParsedFile {
|
|
|
234
234
|
relPath: string
|
|
235
235
|
/** SHA-256 hex digest of file content. */
|
|
236
236
|
contentHash: string
|
|
237
|
+
/**
|
|
238
|
+
* Raw file content (passed through to avoid double-read on JS side).
|
|
239
|
+
* `None` for error paths where content was unavailable or irrelevant.
|
|
240
|
+
*/
|
|
241
|
+
content?: string
|
|
237
242
|
/** Extracted symbols. */
|
|
238
243
|
symbols: Array<NativeParsedSymbol>
|
|
239
244
|
/** Extracted imports. */
|
|
@@ -244,6 +249,7 @@ export interface NativeParsedFile {
|
|
|
244
249
|
parseError?: string
|
|
245
250
|
}
|
|
246
251
|
export declare function parseFiles(files: Array<NativeFileInput>, threadCount: number): Array<NativeParsedFile>
|
|
252
|
+
export declare function parseFilesAsync(files: Array<NativeFileInput>, threadCount: number): Promise<unknown>
|
|
247
253
|
export declare function hashContentNative(content: string): string
|
|
248
254
|
export declare function generateSymbolIdNative(repoId: string, relPath: string, kind: string, name: string, fingerprint: string): string
|
|
249
255
|
export declare function computeClusters(symbols: Array<NativeClusterSymbol>, edges: Array<NativeClusterEdge>, minClusterSize: number): Array<NativeClusterAssignment>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sdl-mcp-native",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.7",
|
|
4
4
|
"description": "Native Rust indexer for SDL-MCP with tree-sitter parsing and Rayon parallelism",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"main": "index.js",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"version": "napi version"
|
|
30
30
|
},
|
|
31
31
|
"optionalDependencies": {
|
|
32
|
-
"sdl-mcp-native-win32-x64-msvc": "0.10.
|
|
33
|
-
"sdl-mcp-native-darwin-x64": "0.10.
|
|
34
|
-
"sdl-mcp-native-darwin-arm64": "0.10.
|
|
35
|
-
"sdl-mcp-native-linux-x64-gnu": "0.10.
|
|
36
|
-
"sdl-mcp-native-linux-x64-musl": "0.10.
|
|
37
|
-
"sdl-mcp-native-linux-arm64-gnu": "0.10.
|
|
32
|
+
"sdl-mcp-native-win32-x64-msvc": "0.10.7",
|
|
33
|
+
"sdl-mcp-native-darwin-x64": "0.10.7",
|
|
34
|
+
"sdl-mcp-native-darwin-arm64": "0.10.7",
|
|
35
|
+
"sdl-mcp-native-linux-x64-gnu": "0.10.7",
|
|
36
|
+
"sdl-mcp-native-linux-x64-musl": "0.10.7",
|
|
37
|
+
"sdl-mcp-native-linux-arm64-gnu": "0.10.7"
|
|
38
38
|
},
|
|
39
39
|
"repository": {
|
|
40
40
|
"type": "git",
|