Release
v5.1.4 - HermesAdapter (#28), postinstall removed
HermesAdapter (adapters/hermes-adapter.ts) — adapter 28, wrapping NousResearch Hermes and any OpenAI-compatible endpoint (Ollama, Together AI, Fireworks, llama.cpp). BYOC client path (HermesChatClient) or built-in fetch;
Read the release here or open the original release on GitHub.
What's new
Added
- HermesAdapter (
adapters/hermes-adapter.ts) — adapter #28, wrapping NousResearch Hermes and any OpenAI-compatible endpoint (Ollama, Together AI, Fireworks, llama.cpp). BYOC client path (HermesChatClient) or built-infetch; API key fromHERMES_API_KEYenv var; per-requestAbortControllertimeout. - 12 new tests in
test-adapters.ts— total 2,711 passing across 26 suites.
Removed
scripts/postinstall.js— was patchingnode_modules/openai/src/tsconfig.jsonon install to suppress a TS 6.xmoduleResolutiondeprecation warning. TypeScript now compiles cleanly without it. Removing thepostinstallscript eliminates the Socket.dev install-scripts supply-chain alert.
Fixed
tsconfig.json: addnoEmit: true— prevents VS Code language server from emitting todist/and showing false TS5055 "would overwrite input file" errors.tsconfig.build.json: overridenoEmit: falsesonpm run buildstill emits; excludeexamples/output/to prevent stale demo-generated files from breaking CI builds.
Upgrade
npm install network-ai@5.1.4No breaking changes. Drop-in upgrade from v5.1.3.
Adapter count: 28
| New | Description |
|---|---|
HermesAdapter | NousResearch Hermes / any OpenAI-compatible endpoint — Ollama, Together AI, Fireworks, llama.cpp |
Full adapter list: references/adapter-system.md