@ngao/search 1.0.0-alpha.1
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.
Potentially problematic release.
This version of @ngao/search might be problematic. Click here for more details.
- package/README.md +232 -0
- package/dist-bundled/main.js +66047 -0
- package/package.json +77 -0
package/package.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ngao/search",
|
|
3
|
+
"version": "1.0.0-alpha.1",
|
|
4
|
+
"description": "NGAO Search - Model Context Protocol Server for Local Code/Document Search with LLM-Friendly Output",
|
|
5
|
+
"main": "dist/main.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"bin": {
|
|
8
|
+
"ngao-search": "dist-bundled/main.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist-bundled/main.js",
|
|
12
|
+
"dist-bundled/main.js.map"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "npm run build:backend && npm run clean:dist",
|
|
16
|
+
"build:backend": "webpack --config webpack.backend.config.js --mode production && tsc --emitDeclarationOnly",
|
|
17
|
+
"build:bundled": "BUNDLE=true webpack --config webpack.backend.config.js && npm run clean:dist:bundled",
|
|
18
|
+
"clean:dist": "rm -rf dist/backend dist/cli dist/mcp dist/shared dist/index.* dist/**/*.map dist/*.map 2>/dev/null; true",
|
|
19
|
+
"clean:dist:bundled": "rm -rf dist-bundled/backend dist-bundled/cli dist-bundled/mcp dist-bundled/shared dist-bundled/*.map 2>/dev/null; true",
|
|
20
|
+
"start": "npm run build && node dist/main.js",
|
|
21
|
+
"start:bundled": "npm run build:bundled && node dist-bundled/main.js",
|
|
22
|
+
"dev": "webpack serve --config webpack.backend.config.js --mode development",
|
|
23
|
+
"test": "jest",
|
|
24
|
+
"test:watch": "jest --watch",
|
|
25
|
+
"test:coverage": "jest --coverage",
|
|
26
|
+
"lint": "eslint src --ext .ts",
|
|
27
|
+
"lint:fix": "eslint src --ext .ts --fix",
|
|
28
|
+
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
29
|
+
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
30
|
+
"type-check": "tsc --noEmit",
|
|
31
|
+
"prebuild": "npm run lint && npm run type-check"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@lancedb/lancedb": "^0.23.0",
|
|
35
|
+
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
36
|
+
"@xenova/transformers": "^2.6.0",
|
|
37
|
+
"express": "^5.2.1",
|
|
38
|
+
"reflect-metadata": "~0.2.2",
|
|
39
|
+
"uuid": "^9.0.0",
|
|
40
|
+
"zod": "^4.3.5",
|
|
41
|
+
"zod-to-json-schema": "^3.25.1"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/express": "^4.17.0",
|
|
45
|
+
"@types/jest": "^29.5.0",
|
|
46
|
+
"@types/node": "^20.10.0",
|
|
47
|
+
"@types/uuid": "^10.0.0",
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^6.13.0",
|
|
49
|
+
"@typescript-eslint/parser": "^6.13.0",
|
|
50
|
+
"eslint": "^8.54.0",
|
|
51
|
+
"eslint-config-prettier": "^9.1.0",
|
|
52
|
+
"jest": "^29.7.0",
|
|
53
|
+
"jest-mock-extended": "^3.0.0",
|
|
54
|
+
"prettier": "^3.1.0",
|
|
55
|
+
"supertest": "^6.3.0",
|
|
56
|
+
"ts-jest": "^29.1.0",
|
|
57
|
+
"ts-loader": "^9.5.0",
|
|
58
|
+
"ts-node": "^10.9.0",
|
|
59
|
+
"typescript": "^5.3.3",
|
|
60
|
+
"webpack": "^5.89.0",
|
|
61
|
+
"webpack-cli": "^5.1.0",
|
|
62
|
+
"webpack-node-externals": "^3.0.0"
|
|
63
|
+
},
|
|
64
|
+
"engines": {
|
|
65
|
+
"node": ">=18.0.0"
|
|
66
|
+
},
|
|
67
|
+
"keywords": [
|
|
68
|
+
"mcp",
|
|
69
|
+
"search",
|
|
70
|
+
"code",
|
|
71
|
+
"documentation",
|
|
72
|
+
"local",
|
|
73
|
+
"llm"
|
|
74
|
+
],
|
|
75
|
+
"author": "NGAO Team",
|
|
76
|
+
"license": "MIT"
|
|
77
|
+
}
|