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
+1
View File
@@ -9,6 +9,7 @@
"noEmit": true,
"allowJs": true,
"checkJs": false,
"erasableSyntaxOnly": true,
"skipLibCheck": true,
"esModuleInterop": true,
"resolveJsonModule": true,