Skip to content

Neko.js v1.1

Choose a tag to compare

@YueyuHoshizora YueyuHoshizora released this 02 Oct 14:29
· 56 commits to main since this release

Neko.js 1.1.0

This release replaces the prototype with the createNeko() SDK for text/image inference and structured reports from URLs or HTML. It adds conditional Node/browser bundles, browser WASM assets in locally packed archives, model/backend inspection, explicit cache controls, cancellation, and streaming.

Report contracts validate structure, paragraph/image provenance, and generated-field language. English and Traditional Chinese script mismatches return LANGUAGE_MISMATCH; incomplete generation returns INCOMPLETE_GENERATION without automatic retry. imageFailurePolicy: 'omit' applies only to image inference failures; caller callback exceptions and aborts propagate.

Verification documented for this release includes packed-consumer checks, Node native CPU inference, headed browser inference, and offline reload from the same browser profile. The inference suite and browser contract checks were verified separately.

Known limitations

  • Model output can be inaccurate: observed image descriptions confused saturated red/blue regions with pink/pinkish-red; a hierarchical report omitted facts and contradicted its source in its conclusion. Schema and provenance validity do not guarantee factual fidelity.
  • Browser CPU/WASM is unsupported for the pinned model (GatherBlockQuantized(1)); no automatic fallback is provided.
  • URL fetching can create SSRF risk; callers must apply destination validation and outbound network policy.
  • Verified Node inference used the native CPU backend; backend availability remains runtime-dependent. Browser execution requires WebGPU. No Ollama parity or universal GPU execution is claimed.
  • This project is not published to npm; this release is distributed via GitHub only. TTS is excluded.