refactor: extract runtime Core into scripts/core.ts; runtime.mjs becomes a thin shell

Core exposes buildIndex/searchText/executeQuery/executeAttune as the single shared
implementation for all transports. First TypeScript module, run via Node type
stripping in dev. Adds typescript-eslint. lint/typecheck green, test 107/107.
This commit is contained in:
tommy0103
2026-07-08 16:59:30 +08:00
parent 33ec238c0c
commit 3391bf6ac3
6 changed files with 423 additions and 51 deletions
+2 -1
View File
@@ -15,6 +15,7 @@
"@types/node": "^26.1.1",
"eslint": "^10.6.0",
"globals": "^17.7.0",
"typescript": "^6.0.3"
"typescript": "^6.0.3",
"typescript-eslint": "^8.63.0"
}
}