mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
Add SearchEngine class with fuzzy matching across node name, tags, summary, and languageNotes fields. Supports type filtering, result limiting, and dynamic re-indexing via updateNodes(). Uses Fuse.js extended search with OR-token splitting for multi-word queries. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
501 B
JSON
24 lines
501 B
JSON
{
|
|
"name": "@understand-anything/core",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.5.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.1.0"
|
|
},
|
|
"dependencies": {
|
|
"fuse.js": "^7.1.0",
|
|
"tree-sitter-javascript": "^0.25.0",
|
|
"tree-sitter-typescript": "^0.23.2",
|
|
"web-tree-sitter": "^0.26.6",
|
|
"zod": "^4.3.6"
|
|
}
|
|
}
|