Repository navigation
Neko.js v1.5
1.5.0 — 2026-10-03
- Add concurrent, resumable pinned-model downloads with validator-bound staging, cross-process/browser installation locks and explicit cache progress; preserve size/SHA-256 verification before promotion.
- Add engine-local, entry/byte-bounded decoder-state and vision-feature reuse, opaque retained-state handles and explicit release/clear controls. Add opt-in generation/report diagnostics with bounded output capture; reuse does not imply backend parity or output-quality guarantees.
- Add typed tool definitions, structured tool selection and separately invoked, approval-gated tool execution; model-selected calls never authorize handlers.
- Add inert native PDF extraction, bounded PDF rendering and model-backed OCR composition, provenance-aware document indexes, local retrieval and multi-document questions with exact validated citations. Require Node.js 22.13 or newer and package browser PDF assets.
- Add bounded structured/report/web-question/document-question streams and transactional session streaming; commit conversation history only after successful stream consumption.
- Add bounded worker pools, cancellation-aware scheduling and batch results with independent worker ownership; this is not tensor batching.
- Add a bilingual static project website with bounded preview routes. Expand CI contract coverage across OS/Node/browser matrices, packed-artifact checks and explicitly opt-in real CPU/WebGPU/quality lanes.
- Verify typecheck, lint, build, 191 Node tests, 27 quality-tool tests, the static-site HTTP smoke, packed-consumer artifact checks and built public native-PDF extraction on macOS ARM64 with Node.js 26.7.0. These checks do not exercise real model inference, model-backed OCR, browser PDF extraction or the new remote CI matrix; no fresh model-quality or cross-platform parity pass is claimed.
Installation / 安裝
Requires Node.js 22.13 or newer. This project is not published to npm. Download Neko.js-1.5.0.tgz and SHA256 into the same directory, verify the archive, then install it locally:
shasum -a 256 -c SHA256
npm install /absolute/path/to/Neko.js-1.5.0.tgz需要 Node.js 22.13 以上;本專案不發佈 npm。下載套件與 SHA256、驗證後從本機安裝。模型權重不包含於套件;首次設定須下載並驗證固定模型,亦可使用既有的已驗證快取。
Browser CPU/WASM is unsupported for the pinned model and never falls back. Browser WebGPU support and model-backed OCR quality require separate real inference verification. See the bilingual README for native dependency install-script approvals, model licensing and runtime setup.