Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.
Python calibrationclassificationdecision-modelhuggingfacejevmodernbertmultilingualnlppythonpytorchroutingtyped-decisionszero-shot
build(ts): declare the node types laya-ts already relies on
Nandakishor34b44aa2ee6d
diff --git a/laya-ts/package-lock.json b/laya-ts/package-lock.jsonindex 75bf12f3..a2ef38d3 100644--- a/laya-ts/package-lock.json+++ b/laya-ts/package-lock.json@@ -7,7 +7,9 @@"": {"name": "laya-ts","version": "0.1.0",+ "license": "Apache-2.0","devDependencies": {+ "@types/node": "^24.19.0","typescript": "^5.6.0","vitest": "^2.1.0"},@@ -897,13 +899,13 @@"license": "MIT"},"node_modules/@types/node": {- "version": "26.6.2",- "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.2.tgz",- "integrity": "sha512-X1P21scMv4zGKLYqjdGjaKa7COa0RKVYYZZN/NfvLQ1JegxFhdhpZG/Lyn8AXx6CDUavKAd11v6BvfpkDByK8g==",+ "version": "24.19.0",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.19.0.tgz",+ "integrity": "sha512-zY+5tKxXdhGh1PYI0ac+7juvEu4OI6vWtVVoj5i2m42jxAY1U+zHGt6QCyOFwykdP62sM3MJ9stoYYUw5aCWew==",+ "devOptional": true,"license": "MIT",- "optional": true,"dependencies": {- "undici-types": "~8.9.0"+ "undici-types": ">=7.24.0 <7.24.7"}},"node_modules/@vitest/expect": {@@ -1705,11 +1707,11 @@}},"node_modules/undici-types": {- "version": "8.9.0",- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz",- "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==",- "license": "MIT",- "optional": true+ "version": "7.24.6",+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz",+ "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==",+ "devOptional": true,+ "license": "MIT"},"node_modules/vite": {"version": "5.4.21",diff --git a/laya-ts/package.json b/laya-ts/package.jsonindex 4f434775..502a5d68 100644--- a/laya-ts/package.json+++ b/laya-ts/package.json@@ -35,6 +35,6 @@"url": "https://github.com/NandhaKishorM/laya/issues"},"homepage": "https://nandhakishorm.github.io/laya/",- "devDependencies": { "typescript": "^5.6.0", "vitest": "^2.1.0" },+ "devDependencies": { "@types/node": "^24.19.0", "typescript": "^5.6.0", "vitest": "^2.1.0" },"optionalDependencies": { "onnxruntime-node": "^1.20.0", "onnxruntime-web": "^1.20.0" }}diff --git a/laya-ts/tsconfig.json b/laya-ts/tsconfig.jsonindex f773f4ee..3783a666 100644--- a/laya-ts/tsconfig.json+++ b/laya-ts/tsconfig.json@@ -6,7 +6,11 @@"strict": true,"declaration": true,"outDir": "dist",- "rootDir": "src"+ "rootDir": "src",+ // TypeScript 7 no longer pulls every @types package in automatically, so the node globals+ // and `node:*` module types have to be asked for by name. Declaring it is a no-op on 5.x,+ // which resolves them either way, and it is what makes the tsc 7 build pass.+ "types": ["node"]},"include": ["src"]}