{"_id":"@k2b/nessi","_rev":"20-32a8c89cd1583568534be81c3f592732","name":"@k2b/nessi","dist-tags":{"latest":"1.3.1"},"versions":{"0.10.0-rc.0":{"name":"@k2b/nessi","version":"0.10.0-rc.0","keywords":["ai","llm","agent","tools","streaming","openai","openrouter","ollama","anthropic","gemini","mistral"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@0.10.0-rc.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"755cc276532e855fd5ba19ac9a0568a9a845dcf6","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-0.10.0-rc.0.tgz","fileCount":69,"integrity":"sha512-FpMV/4WK2F2LDx6tofozDfw42iFtYhav3zaalbl6FBBh75IJPW7bRKseu/VvJxHXRkdfjay+zbcEbeX6RU5hpA==","signatures":[{"sig":"MEYCIQCL0IdlsDMM7fIAt/5hUDgxWp6MUR7I6QObpQPLoX0bVAIhAJSdJUa0v0MoObz/K/D5kfRc+wzSq996gFKDkjQG9Hth","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":224726},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/vllm":{"types":"./ai/providers/vllm.d.ts","import":"./ai/providers/vllm.js"},"./ai/providers/gemini":{"types":"./ai/providers/gemini.d.ts","import":"./ai/providers/gemini.js"},"./ai/providers/ollama":{"types":"./ai/providers/ollama.d.ts","import":"./ai/providers/ollama.js"},"./ai/providers/openai":{"types":"./ai/providers/openai.d.ts","import":"./ai/providers/openai.js"},"./ai/providers/mistral":{"types":"./ai/providers/mistral.d.ts","import":"./ai/providers/mistral.js"},"./ai/providers/anthropic":{"types":"./ai/providers/anthropic.d.ts","import":"./ai/providers/anthropic.js"},"./ai/providers/openrouter":{"types":"./ai/providers/openrouter.d.ts","import":"./ai/providers/openrouter.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"}},"_npmUser":{"name":"valentinkolb","email":"mail@valentin-kolb.com"},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"12.0.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_0.10.0-rc.0_1785085330508_0.5726107429601595","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@k2b/nessi","version":"0.10.0","keywords":["ai","llm","agent","tools","streaming","openai","openrouter","ollama","anthropic","gemini","mistral"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@0.10.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"a39182908c8a99b492d5990ff599bad8783a18be","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-0.10.0.tgz","fileCount":69,"integrity":"sha512-iHeqOH6Rb/+XutRXc6tJ4NjygCMe4A7TrV05f7YGwCe5U3am+3u9zJ3efMriDeCwCr4WJxwxv5s4Ig0RszQ3Tg==","signatures":[{"sig":"MEUCIQDKovqHcLxqkbTOwQ7yu3N/GNAoUbeew/Vyc1TcoVZjVAIgfPT/Fo7uFUEULFagMrIBOkVofLH2XUvW+e81Rjm5iUM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@0.10.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":224721},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/vllm":{"types":"./ai/providers/vllm.d.ts","import":"./ai/providers/vllm.js"},"./ai/providers/gemini":{"types":"./ai/providers/gemini.d.ts","import":"./ai/providers/gemini.js"},"./ai/providers/ollama":{"types":"./ai/providers/ollama.d.ts","import":"./ai/providers/ollama.js"},"./ai/providers/openai":{"types":"./ai/providers/openai.d.ts","import":"./ai/providers/openai.js"},"./ai/providers/mistral":{"types":"./ai/providers/mistral.d.ts","import":"./ai/providers/mistral.js"},"./ai/providers/anthropic":{"types":"./ai/providers/anthropic.d.ts","import":"./ai/providers/anthropic.js"},"./ai/providers/openrouter":{"types":"./ai/providers/openrouter.d.ts","import":"./ai/providers/openrouter.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"}},"gitHead":"1ec6c032617c232e913c8b6eabe0a23520eebc38","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_0.10.0_1785085462229_0.05086412384200756","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@k2b/nessi","version":"0.11.0","keywords":["ai","llm","agent","tools","streaming","openai","openrouter","ollama","anthropic","gemini","mistral"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@0.11.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"9cfcbb0b0c7a24ad6903f6ce763bb714c3ca529e","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-0.11.0.tgz","fileCount":69,"integrity":"sha512-SajlKjEJQvM209JqFQNpGlGhOIj6z3U13NbgDYBx4snhbxxRXtCO3qNseNWMT5OgjqkWvrp4M84tP2nWZAC1Eg==","signatures":[{"sig":"MEQCIFCzU/GYlXH17UU3GzgJiwTSm8d8Tr2pRn0Y61bA26tJAiAiGwuOJU76MzHBhKUMYqz7m39tF7602g61uRhGQvRFOw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@0.11.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":228664},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/vllm":{"types":"./ai/providers/vllm.d.ts","import":"./ai/providers/vllm.js"},"./ai/providers/gemini":{"types":"./ai/providers/gemini.d.ts","import":"./ai/providers/gemini.js"},"./ai/providers/ollama":{"types":"./ai/providers/ollama.d.ts","import":"./ai/providers/ollama.js"},"./ai/providers/openai":{"types":"./ai/providers/openai.d.ts","import":"./ai/providers/openai.js"},"./ai/providers/mistral":{"types":"./ai/providers/mistral.d.ts","import":"./ai/providers/mistral.js"},"./ai/providers/anthropic":{"types":"./ai/providers/anthropic.d.ts","import":"./ai/providers/anthropic.js"},"./ai/providers/openrouter":{"types":"./ai/providers/openrouter.d.ts","import":"./ai/providers/openrouter.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"}},"gitHead":"00035585bd6663d731eb1b917c5f806c492f012f","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_0.11.0_1785622227188_0.28108037904867156","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@k2b/nessi","version":"0.12.0","keywords":["ai","llm","agent","tools","streaming","openai","openrouter","ollama","anthropic","gemini","mistral"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@0.12.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"5e0613651a04261e80dc72398dd1bf11b46df2a2","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-0.12.0.tgz","fileCount":73,"integrity":"sha512-1yxW7UWmpeoUTw8hvYrm5IF/8YwZLzcBwbczzAvYxqSfZ/k9xHn0dDvoo8P7eHnj82P4TlsY85xUQ2NJHuj6Vg==","signatures":[{"sig":"MEUCIDuYe+I9jGZj3rmPvPPS5a18fLiWah+J9ggCp6pi+dtzAiEA+CHlrVEl65lFvdxdKUlZdFhgcaluUCQjCZE5F+6x3no=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@0.12.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":235320},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/vllm":{"types":"./ai/providers/vllm.d.ts","import":"./ai/providers/vllm.js"},"./ai/providers/gemini":{"types":"./ai/providers/gemini.d.ts","import":"./ai/providers/gemini.js"},"./ai/providers/ollama":{"types":"./ai/providers/ollama.d.ts","import":"./ai/providers/ollama.js"},"./ai/providers/openai":{"types":"./ai/providers/openai.d.ts","import":"./ai/providers/openai.js"},"./ai/providers/mistral":{"types":"./ai/providers/mistral.d.ts","import":"./ai/providers/mistral.js"},"./ai/providers/anthropic":{"types":"./ai/providers/anthropic.d.ts","import":"./ai/providers/anthropic.js"},"./ai/providers/openrouter":{"types":"./ai/providers/openrouter.d.ts","import":"./ai/providers/openrouter.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"0d921f8179bb88173107eb9addf8f19df8d5bb22","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_0.12.0_1789052299274_0.44338698451332115","host":"s3://npm-registry-packages-npm-production"}},"0.12.1":{"name":"@k2b/nessi","version":"0.12.1","keywords":["ai","llm","agent","tools","streaming","openai","openrouter","ollama","anthropic","gemini","mistral"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@0.12.1","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"9ccdaf6d0f2b7c65c97c9904bb054878f700f483","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-0.12.1.tgz","fileCount":73,"integrity":"sha512-simdZR0f9l3ExbWjwlKDjPeudhKOe4y1uO9onhc8819rRiORAzgdUhf1cuhterw9VKXwlGDv/aB70mwYghaEcQ==","signatures":[{"sig":"MEUCIH6/z5Xm63PN5YDgNf+GNx116kytUNpLqXPFwy9VyOvDAiEAz8AwzISODE7ko7T0RA3oYwZ45aHyERZvmEHgrc13+Xk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIH8Bkl5TYXqdq8dF/KO0E0kLpVc1oRG30Bldmf6RvOtGAiEAyIwRspILlb0iFzZXagaRbDf9IEj0Ka+0ygNBRAzfmqE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@0.12.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":235589},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/vllm":{"types":"./ai/providers/vllm.d.ts","import":"./ai/providers/vllm.js"},"./ai/providers/gemini":{"types":"./ai/providers/gemini.d.ts","import":"./ai/providers/gemini.js"},"./ai/providers/ollama":{"types":"./ai/providers/ollama.d.ts","import":"./ai/providers/ollama.js"},"./ai/providers/openai":{"types":"./ai/providers/openai.d.ts","import":"./ai/providers/openai.js"},"./ai/providers/mistral":{"types":"./ai/providers/mistral.d.ts","import":"./ai/providers/mistral.js"},"./ai/providers/anthropic":{"types":"./ai/providers/anthropic.d.ts","import":"./ai/providers/anthropic.js"},"./ai/providers/openrouter":{"types":"./ai/providers/openrouter.d.ts","import":"./ai/providers/openrouter.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"65cc06018be865e74148bbddb18ccf3abc137552","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_0.12.1_1790093819854_0.07361339889023921","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"@k2b/nessi","version":"0.13.0","keywords":["ai","llm","agent","tools","streaming","openai","openrouter","ollama","anthropic","gemini","mistral"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@0.13.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"0374d8d3176767da3cc8729a759882571494c85b","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-0.13.0.tgz","fileCount":69,"integrity":"sha512-EV6a/JJHjW/6tRK+l+awI1kZczmVIDpV2wWTq+VqAaMKx3FaWGJjQmKunHQQI0R2H+C59Sjqq1JVEg6pFX7ElQ==","signatures":[{"sig":"MEYCIQCbUCUiNy17vAgZ2oKhpZJoNRXAcXN3e5mmFG6nkT3yhAIhAMid713xx1fBNFewkbbDGs90WcCj47od9MYmRw2q2Ey2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQD11bul4tg2LyzUvUv5mnHcX8HYFyN08h5Zd1iIHs8JAAIhALJ08AlMLPcTLLjSA8mQXd0D1r1VOzQzi6f9Z9+AfcEi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@0.13.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":260383},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/vllm":{"types":"./ai/providers/vllm.d.ts","import":"./ai/providers/vllm.js"},"./ai/providers/gemini":{"types":"./ai/providers/gemini.d.ts","import":"./ai/providers/gemini.js"},"./ai/providers/ollama":{"types":"./ai/providers/ollama.d.ts","import":"./ai/providers/ollama.js"},"./ai/providers/openai":{"types":"./ai/providers/openai.d.ts","import":"./ai/providers/openai.js"},"./ai/providers/mistral":{"types":"./ai/providers/mistral.d.ts","import":"./ai/providers/mistral.js"},"./ai/providers/anthropic":{"types":"./ai/providers/anthropic.d.ts","import":"./ai/providers/anthropic.js"},"./ai/providers/openrouter":{"types":"./ai/providers/openrouter.d.ts","import":"./ai/providers/openrouter.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/vllm-realtime-transcription":{"types":"./ai/providers/vllm-realtime-transcription.d.ts","import":"./ai/providers/vllm-realtime-transcription.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"7992ab8709e198312f0f4c8087b93c792c166609","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.3","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_0.13.0_1790884674812_0.9596095542357879","host":"s3://npm-registry-packages-npm-production"}},"0.14.0":{"name":"@k2b/nessi","version":"0.14.0","keywords":["ai","llm","agent","tools","streaming","openai","openrouter","ollama","anthropic","gemini","mistral"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@0.14.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"057e88ee85673355c47efb1674218b24afd97dc1","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-0.14.0.tgz","fileCount":75,"integrity":"sha512-jaD/WcKyJjBkJ6oDFJEE1NIQqTV9/cUmL/Ydk+woZC1EYwkC5YvCGJPVvebAxJ50oDoBuheDM3wUyC3gg7UvcQ==","signatures":[{"sig":"MEUCIQCdK2IA5DS5jQo0OVJfqUkrrTMZ0V4K5gpGm3EawlGmxwIgZLZ1/z6tjafuiFXij0D8XLG5emeWZPm/6SLMNwdOVE0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDZnF5G88/fvxqz+92fW6nRjDiqPVzt/kkBuiy7GZ2fIwIhAK2nLERwdwsgioFHYUuP4xDWR+wq9nVNRXsuES27ofwt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@0.14.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":277486},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/vllm":{"types":"./ai/providers/vllm.d.ts","import":"./ai/providers/vllm.js"},"./ai/providers/gemini":{"types":"./ai/providers/gemini.d.ts","import":"./ai/providers/gemini.js"},"./ai/providers/ollama":{"types":"./ai/providers/ollama.d.ts","import":"./ai/providers/ollama.js"},"./ai/providers/openai":{"types":"./ai/providers/openai.d.ts","import":"./ai/providers/openai.js"},"./ai/providers/mistral":{"types":"./ai/providers/mistral.d.ts","import":"./ai/providers/mistral.js"},"./ai/providers/anthropic":{"types":"./ai/providers/anthropic.d.ts","import":"./ai/providers/anthropic.js"},"./ai/providers/openrouter":{"types":"./ai/providers/openrouter.d.ts","import":"./ai/providers/openrouter.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/systemone-decision":{"types":"./ai/providers/systemone-decision.d.ts","import":"./ai/providers/systemone-decision.js"},"./ai/providers/cloudflare-decision":{"types":"./ai/providers/cloudflare-decision.d.ts","import":"./ai/providers/cloudflare-decision.js"},"./ai/providers/vllm-realtime-transcription":{"types":"./ai/providers/vllm-realtime-transcription.d.ts","import":"./ai/providers/vllm-realtime-transcription.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"93802725abb370177b65ad4c13a13d0e249dc40f","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.3","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_0.14.0_1791373081265_0.7972236490460536","host":"s3://npm-registry-packages-npm-production"}},"0.15.0":{"name":"@k2b/nessi","version":"0.15.0","keywords":["ai","llm","agent","tools","streaming","openai","openrouter","ollama","anthropic","gemini","mistral"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@0.15.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"639ce31f3929e5694d89cee6f3327b5a2cd928e8","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-0.15.0.tgz","fileCount":77,"integrity":"sha512-pvDCL7MRawC00AZyysOPNlJ/xDy9+mWvXQuh3yip39tp+ceWanbZQqXi9GGoyshy0fnocqvFh3G1c0f4GuDmgw==","signatures":[{"sig":"MEYCIQC89ugsrU6JrK7/OYeryQc2yZyIQ/m+S+WYOGUBzG9QFAIhAO4ZZjcTwlIrChcDfbGbwhsBH0csJdiqCv2ipmvQ+y2S","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCvz5oXc2FTcuCPOpHXbFnZHGdaR3yAk0k1YX1C/pYvfwIgGZ5GA6EhCRZncaUvJDrmdOOEnueBnn399ufpJeq4t1E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@0.15.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":304777},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/vllm":{"types":"./ai/providers/vllm.d.ts","import":"./ai/providers/vllm.js"},"./ai/providers/gemini":{"types":"./ai/providers/gemini.d.ts","import":"./ai/providers/gemini.js"},"./ai/providers/ollama":{"types":"./ai/providers/ollama.d.ts","import":"./ai/providers/ollama.js"},"./ai/providers/openai":{"types":"./ai/providers/openai.d.ts","import":"./ai/providers/openai.js"},"./ai/providers/mistral":{"types":"./ai/providers/mistral.d.ts","import":"./ai/providers/mistral.js"},"./ai/providers/anthropic":{"types":"./ai/providers/anthropic.d.ts","import":"./ai/providers/anthropic.js"},"./ai/providers/openrouter":{"types":"./ai/providers/openrouter.d.ts","import":"./ai/providers/openrouter.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/systemone-decision":{"types":"./ai/providers/systemone-decision.d.ts","import":"./ai/providers/systemone-decision.js"},"./ai/providers/cloudflare-decision":{"types":"./ai/providers/cloudflare-decision.d.ts","import":"./ai/providers/cloudflare-decision.js"},"./ai/providers/vllm-realtime-transcription":{"types":"./ai/providers/vllm-realtime-transcription.d.ts","import":"./ai/providers/vllm-realtime-transcription.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"47301465e682c949399ee066d73655c887a32a4b","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.3","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_0.15.0_1791396729817_0.44700452601179896","host":"s3://npm-registry-packages-npm-production"}},"0.16.0":{"name":"@k2b/nessi","version":"0.16.0","keywords":["ai","llm","agent","tools","streaming","openai","openrouter","ollama","anthropic","gemini","mistral"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@0.16.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"507fbd39121adf902e8c6bbab7d811f5be619f93","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-0.16.0.tgz","fileCount":77,"integrity":"sha512-hh23aXaEeMZ+S0Tq7KXgUQdGIh1rqin7mWEN5ib6HxJckW38w2GYPoWhNdFXKcla4Tt/Lvjmi1Xb+zYg9ZwoTQ==","signatures":[{"sig":"MEUCIQCJXyyMKBfULxXv3tgaeDcMcFwyIk3vN/oSwVDO0ZA0FwIgamSHzVU+6AmDRa82kW/nAJrgk1zLewV53VHuRW1jqj0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEMCHzLzPGZNRpkaL3ve+HG2QdvDOwSGtsq8B9PgXLUkgA4CIBMmEQXfO2RkwGxNq9fgLxWryfAJQd2IwuIxHhAgXAoT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@0.16.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":315017},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/vllm":{"types":"./ai/providers/vllm.d.ts","import":"./ai/providers/vllm.js"},"./ai/providers/gemini":{"types":"./ai/providers/gemini.d.ts","import":"./ai/providers/gemini.js"},"./ai/providers/ollama":{"types":"./ai/providers/ollama.d.ts","import":"./ai/providers/ollama.js"},"./ai/providers/openai":{"types":"./ai/providers/openai.d.ts","import":"./ai/providers/openai.js"},"./ai/providers/mistral":{"types":"./ai/providers/mistral.d.ts","import":"./ai/providers/mistral.js"},"./ai/providers/anthropic":{"types":"./ai/providers/anthropic.d.ts","import":"./ai/providers/anthropic.js"},"./ai/providers/openrouter":{"types":"./ai/providers/openrouter.d.ts","import":"./ai/providers/openrouter.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/systemone-decision":{"types":"./ai/providers/systemone-decision.d.ts","import":"./ai/providers/systemone-decision.js"},"./ai/providers/cloudflare-decision":{"types":"./ai/providers/cloudflare-decision.d.ts","import":"./ai/providers/cloudflare-decision.js"},"./ai/providers/vllm-realtime-transcription":{"types":"./ai/providers/vllm-realtime-transcription.d.ts","import":"./ai/providers/vllm-realtime-transcription.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"efd22925ea7e81e6113e62439b13a83039b22e4d","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.3","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_0.16.0_1791399733314_0.2606549996822265","host":"s3://npm-registry-packages-npm-production"}},"0.17.0":{"name":"@k2b/nessi","version":"0.17.0","keywords":["ai","llm","agent","tools","streaming","openai","openrouter","ollama","anthropic","gemini","mistral"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@0.17.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"c6b7581189562244967fa6462b7f1ad23ad2fcd8","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-0.17.0.tgz","fileCount":77,"integrity":"sha512-s7/9FhXvAt7MzM3e3NSM+VdD+mNmW6oLKztqzNCmqEWyXVoIJl44Ryg4OvwQnu1ZOyzCRaUkkpFtt7VD2QEjmg==","signatures":[{"sig":"MEQCIApSFO2rd9yXw13v2Asep1l2plTT37PBr0Y64NCA25m3AiBC++mcMFv7clRVH8DN7L+7H/RjObHvNxkQNLk9t+Resw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIEk4AqrdVjfgfjTN5IPgLG6n7zVsBsT7uuU1kSfSa4tBAiBqiu8UjjLsAgoqBKLRDF/LZFrsDC17ZPkPRZtcIf7mdA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@0.17.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":316015},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/vllm":{"types":"./ai/providers/vllm.d.ts","import":"./ai/providers/vllm.js"},"./ai/providers/gemini":{"types":"./ai/providers/gemini.d.ts","import":"./ai/providers/gemini.js"},"./ai/providers/ollama":{"types":"./ai/providers/ollama.d.ts","import":"./ai/providers/ollama.js"},"./ai/providers/openai":{"types":"./ai/providers/openai.d.ts","import":"./ai/providers/openai.js"},"./ai/providers/mistral":{"types":"./ai/providers/mistral.d.ts","import":"./ai/providers/mistral.js"},"./ai/providers/anthropic":{"types":"./ai/providers/anthropic.d.ts","import":"./ai/providers/anthropic.js"},"./ai/providers/openrouter":{"types":"./ai/providers/openrouter.d.ts","import":"./ai/providers/openrouter.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/systemone-decision":{"types":"./ai/providers/systemone-decision.d.ts","import":"./ai/providers/systemone-decision.js"},"./ai/providers/cloudflare-decision":{"types":"./ai/providers/cloudflare-decision.d.ts","import":"./ai/providers/cloudflare-decision.js"},"./ai/providers/vllm-realtime-transcription":{"types":"./ai/providers/vllm-realtime-transcription.d.ts","import":"./ai/providers/vllm-realtime-transcription.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"67daae7f924835c6a6a4e1c0ae2421b5f015b059","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.3","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_0.17.0_1791474912308_0.5694364701674051","host":"s3://npm-registry-packages-npm-production"}},"0.17.1":{"name":"@k2b/nessi","version":"0.17.1","keywords":["ai","llm","agent","tools","streaming","openai","openrouter","ollama","anthropic","gemini","mistral"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@0.17.1","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"22c1f743145785f98b9c7ff1bdfd39f4ef2b12f5","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-0.17.1.tgz","fileCount":79,"integrity":"sha512-hTWYx/NTIYpD//urAZ4XzR9cXvCKpJS/+v3voexxSCcfkgL20KciRg+igtJK7GyTmxJRjmhirXsSm6MO1SpzhA==","signatures":[{"sig":"MEUCIQDfsH1MhpkGmLuHdow7wOxpPHupBCTjZoXce+LbRjuvDAIgIyv1HIgswfT+YeRiMOKl5gMkTOJ2hgNOq8mbImZ7fjU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDcfm8WFYXaqmkl1ZsTuUbJT6JeuNCc7yKbyQXcyqLOQgIhAPASlN3ahubLlCMt+FmSL3m3iNQxlG3Jhjo6n1L+QFrF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@0.17.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":322709},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/vllm":{"types":"./ai/providers/vllm.d.ts","import":"./ai/providers/vllm.js"},"./ai/providers/gemini":{"types":"./ai/providers/gemini.d.ts","import":"./ai/providers/gemini.js"},"./ai/providers/ollama":{"types":"./ai/providers/ollama.d.ts","import":"./ai/providers/ollama.js"},"./ai/providers/openai":{"types":"./ai/providers/openai.d.ts","import":"./ai/providers/openai.js"},"./ai/providers/mistral":{"types":"./ai/providers/mistral.d.ts","import":"./ai/providers/mistral.js"},"./ai/providers/anthropic":{"types":"./ai/providers/anthropic.d.ts","import":"./ai/providers/anthropic.js"},"./ai/providers/openrouter":{"types":"./ai/providers/openrouter.d.ts","import":"./ai/providers/openrouter.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/systemone-decision":{"types":"./ai/providers/systemone-decision.d.ts","import":"./ai/providers/systemone-decision.js"},"./ai/providers/cloudflare-decision":{"types":"./ai/providers/cloudflare-decision.d.ts","import":"./ai/providers/cloudflare-decision.js"},"./ai/providers/vllm-realtime-transcription":{"types":"./ai/providers/vllm-realtime-transcription.d.ts","import":"./ai/providers/vllm-realtime-transcription.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"71649d035f4290d7003dfd68d9dcd4d4d2e4ce3d","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.3","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_0.17.1_1791735843495_0.8221905008538244","host":"s3://npm-registry-packages-npm-production"}},"0.18.0":{"name":"@k2b/nessi","version":"0.18.0","keywords":["ai","llm","agent","tools","streaming","openai","openrouter","ollama","anthropic","gemini","mistral"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@0.18.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"5e8ceda0b12d147a2ca4c03d61b2193346345b8a","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-0.18.0.tgz","fileCount":79,"integrity":"sha512-U6scx1lwIQIfsJ8cMxu6Kbw7P5HbDbtGpiEF+sfp7zBAYn+SYmDLVdimpP7RuTY59smzQIvD+uJdOCdOXZdH9A==","signatures":[{"sig":"MEUCIGhoVrM+uoeCNnca2Dxk1XhpZ1Aa+W34nXqVwBQgmz2SAiEA76idu3VhA8TMt1cPjVj3blp5CqsEBBSvWCXea0KYghU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIB6rR/xaHNnIlZCH5PBvFevkEixUMZtr3DonopJFPfqyAiEA01UyGYHPZH4coUcd3KeRjNo4QnsIcfJtPK8Hrbod6UY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@0.18.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":323695},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/vllm":{"types":"./ai/providers/vllm.d.ts","import":"./ai/providers/vllm.js"},"./ai/providers/gemini":{"types":"./ai/providers/gemini.d.ts","import":"./ai/providers/gemini.js"},"./ai/providers/ollama":{"types":"./ai/providers/ollama.d.ts","import":"./ai/providers/ollama.js"},"./ai/providers/openai":{"types":"./ai/providers/openai.d.ts","import":"./ai/providers/openai.js"},"./ai/providers/mistral":{"types":"./ai/providers/mistral.d.ts","import":"./ai/providers/mistral.js"},"./ai/providers/anthropic":{"types":"./ai/providers/anthropic.d.ts","import":"./ai/providers/anthropic.js"},"./ai/providers/openrouter":{"types":"./ai/providers/openrouter.d.ts","import":"./ai/providers/openrouter.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/systemone-decision":{"types":"./ai/providers/systemone-decision.d.ts","import":"./ai/providers/systemone-decision.js"},"./ai/providers/cloudflare-decision":{"types":"./ai/providers/cloudflare-decision.d.ts","import":"./ai/providers/cloudflare-decision.js"},"./ai/providers/vllm-realtime-transcription":{"types":"./ai/providers/vllm-realtime-transcription.d.ts","import":"./ai/providers/vllm-realtime-transcription.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"8ee1e0d362107ca8c9d1c998d2172dd3fcd4ee00","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.3","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_0.18.0_1791829858042_0.0019256967348015852","host":"s3://npm-registry-packages-npm-production"}},"0.19.0":{"name":"@k2b/nessi","version":"0.19.0","keywords":["ai","llm","agent","tools","streaming","openai","openrouter","ollama","anthropic","gemini","mistral"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@0.19.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"59f4e73ed3f318a1786d165c74997f8818f75e28","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-0.19.0.tgz","fileCount":79,"integrity":"sha512-zmmWoeHNrXZoW7EfP9DWRDWtfhn0N1gaRzsCmTJz6OI0UcWtKC0jTci+ib75HWhvyAc/YCG16HuaGBtUtQhAYQ==","signatures":[{"sig":"MEUCIHJN5bIok+YVSeQMFiCdlIb+2s5ZBxArenHo+qstYXbMAiEAvipM0Cdta5+yt3+yeNKgpnj+A+/gFQr1LVADWmwwnQ4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDtb1wxzjt0252cEPSlu05qNWkOhMrN9WNoymhS+BF/TAiAFukjYC8PXjCK1F5lLiNHkgGb8oamugBfVq6PWqy+77g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@0.19.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":367603},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/vllm":{"types":"./ai/providers/vllm.d.ts","import":"./ai/providers/vllm.js"},"./ai/providers/gemini":{"types":"./ai/providers/gemini.d.ts","import":"./ai/providers/gemini.js"},"./ai/providers/ollama":{"types":"./ai/providers/ollama.d.ts","import":"./ai/providers/ollama.js"},"./ai/providers/openai":{"types":"./ai/providers/openai.d.ts","import":"./ai/providers/openai.js"},"./ai/providers/mistral":{"types":"./ai/providers/mistral.d.ts","import":"./ai/providers/mistral.js"},"./ai/providers/anthropic":{"types":"./ai/providers/anthropic.d.ts","import":"./ai/providers/anthropic.js"},"./ai/providers/openrouter":{"types":"./ai/providers/openrouter.d.ts","import":"./ai/providers/openrouter.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/systemone-decision":{"types":"./ai/providers/systemone-decision.d.ts","import":"./ai/providers/systemone-decision.js"},"./ai/providers/cloudflare-decision":{"types":"./ai/providers/cloudflare-decision.d.ts","import":"./ai/providers/cloudflare-decision.js"},"./ai/providers/vllm-realtime-transcription":{"types":"./ai/providers/vllm-realtime-transcription.d.ts","import":"./ai/providers/vllm-realtime-transcription.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"42e84a1dc993c32a5d8f6449806674b39d93a5ee","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.4","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_0.19.0_1793807499557_0.03022824974185967","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@k2b/nessi","version":"1.0.0","keywords":["ai","llm","agent","tools","streaming","openai-compatible","openrouter","mistral","vllm"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@1.0.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"64611832c54c851c517d6448d3ccdbb336e6bfb3","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-1.0.0.tgz","fileCount":61,"integrity":"sha512-k5EA1vrOLAjiAVaz2Sh+ayEf8QknryYW1S8ivZikx638RpQKZ1DwX/riAR5ennhveAG+yedHbh13zb0vrHZj9Q==","signatures":[{"sig":"MEUCIQD0Dg4LJrFyAvYC75hwZw0mjV/XDOtgW+VVBFgS5wCfJwIgRqMn3S2vqXJTJd+UVgtjgnqKj8Pe379D/V5Z7rqFRU8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDJZ02+dtFLBkIc6ZDKD67mPOTQa+NAXzLaU0ottOam9AIhAMpWfIKj6Kvp+e5IMRJ9dpA11DTuj1X4VFoFDp1kA3sE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":295313},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/systemone-decision":{"types":"./ai/providers/systemone-decision.d.ts","import":"./ai/providers/systemone-decision.js"},"./ai/providers/cloudflare-decision":{"types":"./ai/providers/cloudflare-decision.d.ts","import":"./ai/providers/cloudflare-decision.js"},"./ai/providers/vllm-realtime-transcription":{"types":"./ai/providers/vllm-realtime-transcription.d.ts","import":"./ai/providers/vllm-realtime-transcription.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"cee13be8371d610feb7d5d44df91452925e656dc","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.4","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_1.0.0_1793818343923_0.8235882670625826","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@k2b/nessi","version":"1.1.0","keywords":["ai","llm","agent","tools","streaming","openai-compatible","openrouter","mistral","vllm"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@1.1.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"8b8f644bedaa37aae800372ddf5665cd01760d83","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-1.1.0.tgz","fileCount":61,"integrity":"sha512-rhnwTUJIWjPOkkzD+pKBAfoAjLLdZMGwMR2KGfM8WVT9zOdCbyHwq/zgXJ52TVxPZm2HRJtDWWUH0JK0nsxTNg==","signatures":[{"sig":"MEYCIQDcaSmjuLMzN/qmFxhXU3z+6LsnnGb2aZ83hSpKkXEg3QIhAJvrYElc6JM2SQFM/qcbmQMJJpw7BivWtt9FCGiCV3Nv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICgNqDCt1t+3OUDM1EIX5M+p6+7qj3tX9uCmDWOpcR2mAiBUPpWQ7dQnn4KnbMIdKRnK+Ww8lqcaco0mtLd7GFWNRg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":297064},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/systemone-decision":{"types":"./ai/providers/systemone-decision.d.ts","import":"./ai/providers/systemone-decision.js"},"./ai/providers/cloudflare-decision":{"types":"./ai/providers/cloudflare-decision.d.ts","import":"./ai/providers/cloudflare-decision.js"},"./ai/providers/vllm-realtime-transcription":{"types":"./ai/providers/vllm-realtime-transcription.d.ts","import":"./ai/providers/vllm-realtime-transcription.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"b90ab592d88c0923eb0e99f5c529a88866182a15","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.4","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_1.1.0_1793822669925_0.768962719941635","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@k2b/nessi","version":"1.1.1","keywords":["ai","llm","agent","tools","streaming","openai-compatible","openrouter","mistral","vllm"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@1.1.1","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"1b0ac5fcb5e8e5e7a4e695df6715f7ca6f458ceb","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-1.1.1.tgz","fileCount":61,"integrity":"sha512-0HoMLssWGdmkd8ZFmM0MC7XVR1c1ODZqAx4697c1S1IEhJHp8PjhK4ShQRdj1P34VNT3mGZuFuw3b5EEOdAtig==","signatures":[{"sig":"MEUCIQD9QmZtnuyqA4FWt3OdN12XbWN6IWq6bigD2QBxrjFi6gIgZik24qnVsEp9see6Gd0s2gd11WUwHT8FTr4ivgPt0qo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCn7oarTOotwhn6dLMmaUVY+VTR1q/maOQ6V2jDadydNQIhAIH9FvGDbNVbp5ZD1gG9JZYcbqs6YpAAjOQ21aRZkN6p","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":299679},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/systemone-decision":{"types":"./ai/providers/systemone-decision.d.ts","import":"./ai/providers/systemone-decision.js"},"./ai/providers/cloudflare-decision":{"types":"./ai/providers/cloudflare-decision.d.ts","import":"./ai/providers/cloudflare-decision.js"},"./ai/providers/vllm-realtime-transcription":{"types":"./ai/providers/vllm-realtime-transcription.d.ts","import":"./ai/providers/vllm-realtime-transcription.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"c8207d12b2934699b1d16bbde3b3ce3a2bab0ffb","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.4","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_1.1.1_1793835716729_0.15921595438786906","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@k2b/nessi","version":"1.2.0","keywords":["ai","llm","agent","tools","streaming","openai-compatible","openrouter","mistral","vllm"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@1.2.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"d7505799f55cc681d9820120f74982716c402cab","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-1.2.0.tgz","fileCount":61,"integrity":"sha512-rvnZlE7NbsfrzKAhrA6MfrqVSef5i0iQ6GCXmsGNcSoGxlgzI0nJqSWdxEMScWSkggJ7ewhZowJQJCraA2gowA==","signatures":[{"sig":"MEUCIDDXOLcZ/+lsL6ZshmMebV2ldCx/+AMBJaIO9vSRWOR2AiEA7JLM0E9VmBwrJM0uctxcZLeYlBC6+fLObMc8YOYJ5do=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGiVGtxsAdyQSIlFa+9iMuSNu++EhyKyx+lsyWiRT55tAiAQLIxOmXcYEjIG2srwIA9UqGweFyPl7W7/o/9dI8+Hig==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":302584},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/systemone-decision":{"types":"./ai/providers/systemone-decision.d.ts","import":"./ai/providers/systemone-decision.js"},"./ai/providers/cloudflare-decision":{"types":"./ai/providers/cloudflare-decision.d.ts","import":"./ai/providers/cloudflare-decision.js"},"./ai/providers/vllm-realtime-transcription":{"types":"./ai/providers/vllm-realtime-transcription.d.ts","import":"./ai/providers/vllm-realtime-transcription.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"0e4f2935286e44fa670f70f0282cf6e256ba6338","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.4","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_1.2.0_1793891158098_0.42687171004748914","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@k2b/nessi","version":"1.3.0","keywords":["ai","llm","agent","tools","streaming","openai-compatible","openrouter","mistral","vllm"],"author":{"name":"Valentin Kolb"},"license":"MIT","_id":"@k2b/nessi@1.3.0","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"homepage":"https://github.com/k2b-dev/nessi#readme","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"52b0f340d39a291e72afe428907a9c5aa7c0eac7","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-1.3.0.tgz","fileCount":61,"integrity":"sha512-zEyQvUNAiqYOIr3/hlXJSS89fE8nIYJEtBwldQgel9NMkJ4nizFjm2Msh5nfR2I4h1jKLPBVU2sA/1MJ+l7UlA==","signatures":[{"sig":"MEQCIDoKoHtvun3HL7S0xkNF4pTXA3a6qFTHoLszMIEM4WBnAiAO33eE5jIl5Ki+L3cYGkcwmhmJBPPwaGrvP+etIjW1TQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCJ3pnxB3q1H6I0JsnMPmYXQESuk6/F2Ph6Boqet+ElAQIhAMivZKE6qb+cYo2h8hR77ntutrIsllIKoGmyLEGnRes2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":304969},"main":"index.js","type":"module","types":"index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/systemone-decision":{"types":"./ai/providers/systemone-decision.d.ts","import":"./ai/providers/systemone-decision.js"},"./ai/providers/cloudflare-decision":{"types":"./ai/providers/cloudflare-decision.d.ts","import":"./ai/providers/cloudflare-decision.js"},"./ai/providers/vllm-realtime-transcription":{"types":"./ai/providers/vllm-realtime-transcription.d.ts","import":"./ai/providers/vllm-realtime-transcription.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"9d2eb90e62cdd7ecf6990a3b4ec81c5ca0a7aac9","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"51e1b19c-686e-4918-851c-842c23eef091"}},"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.4","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/nessi_1.3.0_1794425410784_0.010124614795532838","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"_id":"@k2b/nessi@1.3.1","bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"dist":{"shasum":"405ba75da770b2c64830688352bc0e344e362e45","tarball":"https://registry.npmjs.org/@k2b/nessi/-/nessi-1.3.1.tgz","fileCount":63,"integrity":"sha512-/B8Zletpr5Vnd+mHIP4Nso0qbgEzoH0FSopx/NC0UylnSLPKcb/55TU4jy7RADMq2P/QWW4BGQTieP8gJN2nhw==","signatures":[{"sig":"MEQCIFxMtbCOQl2T9ju8JZhuvQZEgzhc3+Aj69wIGVUaaMZSAiAx4HrX1ZWxXTARIpJzy6Y9eke82rx4/eoHJxY8wqD73w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFLDVT+76VL9yqrcGGuCS1GLgF1hP23ZCi82QQ8vZjQ1AiA0WNtZyA80YyOv8c1WZJ4WIoc9MpDJOz+ksQkGUEzBCg=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@k2b%2fnessi@1.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":311542},"main":"index.js","name":"@k2b/nessi","type":"module","types":"index.d.ts","author":{"name":"Valentin Kolb"},"module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index.js"},"./ai":{"types":"./ai/index.d.ts","import":"./ai/index.js"},"./ai/providers/openai-compatible":{"types":"./ai/providers/openai-compatible.d.ts","import":"./ai/providers/openai-compatible.js"},"./ai/providers/systemone-decision":{"types":"./ai/providers/systemone-decision.d.ts","import":"./ai/providers/systemone-decision.js"},"./ai/providers/cloudflare-decision":{"types":"./ai/providers/cloudflare-decision.d.ts","import":"./ai/providers/cloudflare-decision.js"},"./ai/providers/vllm-realtime-transcription":{"types":"./ai/providers/vllm-realtime-transcription.d.ts","import":"./ai/providers/vllm-realtime-transcription.js"},"./ai/providers/openai-compatible-transcription":{"types":"./ai/providers/openai-compatible-transcription.d.ts","import":"./ai/providers/openai-compatible-transcription.js"}},"gitHead":"12f81dcf75273e79b99826818fbb9087737c1129","license":"MIT","version":"1.3.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"51e1b19c-686e-4918-851c-842c23eef091"}},"homepage":"https://github.com/k2b-dev/nessi#readme","keywords":["ai","llm","agent","tools","streaming","openai-compatible","openrouter","mistral","vllm"],"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"_npmVersion":"11.5.1","description":"Minimal agent loop and provider adapters for nessi.","directories":{},"maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"sideEffects":false,"_nodeVersion":"22.23.4","dependencies":{"zod":"^4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nessi_1.3.1_1794676716152_0.11054529639473287"}}},"time":{"created":"2026-07-26T17:02:10.333Z","modified":"2026-11-14T17:18:36.665Z","0.10.0-rc.0":"2026-07-26T17:02:10.652Z","0.10.0":"2026-07-26T17:04:22.386Z","0.11.0":"2026-08-01T22:10:27.364Z","0.12.0":"2026-09-10T14:58:19.423Z","0.12.1":"2026-09-22T16:16:59.951Z","0.13.0":"2026-10-01T19:57:54.905Z","0.14.0":"2026-10-07T11:38:01.368Z","0.15.0":"2026-10-07T18:12:09.892Z","0.16.0":"2026-10-07T19:02:13.410Z","0.17.0":"2026-10-08T15:55:12.402Z","0.17.1":"2026-10-11T16:24:03.565Z","0.18.0":"2026-10-12T18:30:58.142Z","0.19.0":"2026-11-04T15:51:39.644Z","1.0.0":"2026-11-04T18:52:24.025Z","1.1.0":"2026-11-04T20:04:30.094Z","1.1.1":"2026-11-04T23:41:57.018Z","1.2.0":"2026-11-05T15:05:58.192Z","1.3.0":"2026-11-11T19:30:10.919Z","1.3.1":"2026-11-14T17:18:36.290Z"},"bugs":{"url":"https://github.com/k2b-dev/nessi/issues"},"author":{"name":"Valentin Kolb"},"license":"MIT","homepage":"https://github.com/k2b-dev/nessi#readme","keywords":["ai","llm","agent","tools","streaming","openai-compatible","openrouter","mistral","vllm"],"repository":{"url":"git+https://github.com/k2b-dev/nessi.git","type":"git"},"description":"Minimal agent loop and provider adapters for nessi.","maintainers":[{"name":"valentinkolb","email":"mail@valentin-kolb.com"}],"readme":"# @k2b/nessi\n\nMinimal agent loop and provider adapters for TypeScript.\n\nUse the package root for the managed `nessi()` loop with tools, storage, and loop metadata. Use `@k2b/nessi/ai` when an app only needs provider calls through one normalized message and stream API.\n\n`@k2b/nessi` replaces the deprecated `@valentinkolb/nessi` package. Existing\nAPIs and subpaths are unchanged; replace the package scope in dependencies and\nimports.\n\n## Quick start\n\n```bash\nbun add @k2b/nessi\n```\n\n```ts\nimport { nessi, defineTool, memoryStore } from \"@k2b/nessi\";\nimport { complete, openAICompatible } from \"@k2b/nessi/ai\";\nimport { z } from \"zod\";\n\nconst weather = defineTool({\n  name: \"weather\",\n  description: \"Return a fake weather response\",\n  inputSchema: z.object({ city: z.string() }),\n}).server(async ({ city }) => {\n  return { city, forecast: \"sunny\" };\n});\n\nconst loop = nessi({\n  loopId: crypto.randomUUID(),\n  provider: openAICompatible({\n    name: \"ollama\",\n    model: \"llama3.1\",\n    baseURL: \"http://localhost:11434/v1\",\n  }),\n  systemPrompt: \"You are concise.\",\n  input: \"How is the weather in Berlin?\",\n  store: memoryStore(),\n  tools: [weather],\n  temperature: 0,\n  maxOutputTokens: 512,\n});\n\nconst textBlocks = new Set<string>();\n\nfor await (const event of loop) {\n  if (event.type === \"block_start\" && event.kind === \"text\") {\n    textBlocks.add(event.blockId);\n  }\n  if (event.type === \"block_delta\" && textBlocks.has(event.blockId)) {\n    process.stdout.write(event.delta);\n  }\n  if (event.type === \"issue\") {\n    console.error(event.issue.kind, event.issue.message);\n  }\n  if (event.type === \"loop_end\") {\n    console.log(event.loopId);\n    console.log(event.aggregate.usage);\n    console.log(event.aggregate.timing);\n  }\n}\n```\n\nEvery outbound event from one `nessi()` run carries the same `loopId`. Pass your own `loopId` to align events with a persisted request or UI response group, or let Nessi generate one when omitted.\n\n`turn_end` reports each internal provider turn and closes every `turn_start`,\nalso when a turn fails or is aborted. A turn that fails or is aborted while the\nmodel is still answering carries the partial message with `stopReason`\n`\"error\"` or `\"interrupted\"`; an abort during tool execution carries the stored\nmessage. Usage the provider already reported counts in the aggregate. Partial content is stored, except for a context\noverflow, which is retried after compaction or ends the loop. When the provider\nitself stops an answer (`finishReason: \"error\"`, e.g. a content or safety\nfilter), its tool calls are not executed, not even by a later resume, and the\nloop ends with `\"error\"`. The final `loop_end` event includes `aggregate`, which groups assistant turns, executable tool calls, tool results, validation/execution errors, malformed or cancelled tool streams, summed usage, and timing for the complete logical loop. `aggregate.timing.totalElapsedMs` is model generation plus active tool execution; approval/client-tool waits are tracked separately as `aggregate.timing.actionWaitMs`. Helper exports such as `mergeUsage()`, `cloneLoopAggregate()`, and `mergeLoopAggregates()` are available from `@k2b/nessi`.\n\n## Malformed tool calls\n\nWhen a provider emits malformed tool arguments, `nessi()` reports a\n`malformed_tool_call` issue and gives the model another turn to retry with\nsmaller, valid JSON arguments. The stored response gets the malformed call as a\n`tool_call` with an ID that starts with `malformed_` and empty arguments, and the\ncall gets an error result with `reason: \"malformed_tool_call\"` that explains\nwhat went wrong. The malformed call is never executed, not even by a resume.\nValid calls from the same response still run.\n\nEvery error result nessi writes itself carries a fixed `reason`, so code can\ntell them apart without comparing text: `malformed_tool_call`, `unknown_tool`,\n`input_validation_failed`, `output_validation_failed`, `execution_failed`,\n`approval_denied`, `timeout`, and, for calls without a stored result,\n`not_run` or `not_returned`.\n\nA call can stay without a result, for example after an abort or a crash. The\nstore keeps it that way, and every provider request answers it with an error\nresult: `not_run` when its response ended before calls could run (`stopReason`\n`\"error\"`, `\"interrupted\"` or `\"max_tokens\"`), otherwise `not_returned`, which\ntells the model the call may have run. A result stored after a later message,\nsuch as one a client pushed late, moves up to its call in the request.\n\nA response cut off at the output token limit (`stopReason: \"max_tokens\"`) may\nlack calls or text it meant to send, so none of its calls runs. Each gets an\nerror result with `reason: \"not_run\"` that asks for a shorter response, and the\nmodel gets another turn, as for malformed calls.\n\nA loop resumed without `input` runs the calls of the last response that have no\nresult, one at a time. Calls run in order and store their results in call\norder, so only the first of them, and the rest of its\n[parallel group](#parallel-tool-calls), can have been running when the run\nstopped. Such a call of a server tool without `needsApproval` may already have\nhad its effect: nessi answers it with `reason: \"not_returned\"` instead of\nrunning it again, unless the tool is defined with `replay: \"safe\"` (running it\ntwice does no harm, for example a read). The calls after them never started and\nrun normally. A call that needs approval runs only after the approval the\nresumed loop receives; client tools get their request again.\n\nRecovery allows two retries after consecutive turns with malformed or cut-off\ncalls, subject to `maxTurns`; a resumed loop counts the turns its history\nalready spent. Another turn resets this limit. If both retries fail, the loop\nreports an issue and ends with `\"error\"`. Cancelled calls and responses stopped\nby the provider do not trigger recovery.\n\n## Parallel tool calls\n\nA response often asks for several independent reads at once. Define such tools\nwith `concurrency: \"parallel\"`, and neighbouring calls to them run at the same\ntime:\n\n```ts\nconst readFile = defineTool({\n  name: \"read_file\",\n  description: \"Read a file\",\n  inputSchema: z.object({ path: z.string() }),\n  concurrency: \"parallel\",\n  replay: \"safe\",\n}).server(async ({ path }) => fs.readFile(path, \"utf8\"));\n```\n\n- Tools run alone (`\"serial\"`) unless they are marked. Tools with\n  `needsApproval` and client tools always run alone. Mark only tools that do\n  not depend on each other's effects.\n- Consecutive parallel calls of one response form a group; a serial call waits\n  until the group before it has finished, and the next group waits for it.\n- `maxParallelToolCalls` (default 4) bounds how many calls of a group run at\n  once. In sampled Cloud chats, 98 % of the responses with tool calls had at\n  most three.\n- Results are stored in call order. A call stores its result, and sends its\n  `tool_execution_end`, once every earlier call of its group has finished.\n- Each call keeps its own `timeoutMs`. An abort cancels the `ctx.signal` of\n  every running call.\n- Nested `ctx.requestApproval()` and `ctx.requestClientTool()` requests of\n  parallel calls reach the app one at a time: the next `tool_action_request`\n  comes after the previous one was answered.\n- `aggregate.timing.toolExecutionMs` counts a group's wall time once, without\n  the time spent waiting for the app.\n- The stored calls of a group carry `parallel: true`, so a resumed loop knows\n  which calls may have been running, also when a tool's `concurrency` changed\n  in between. Providers never see the mark.\n- If a call fails in a way that ends the loop (for example a store error), the\n  other calls of its group are cancelled. After an early stop, a call that\n  finished but still waited for an earlier one stores nothing; a resume answers\n  it as `not_returned`.\n\n## Dynamic tools\n\nPass a resolver when the active tools depend on application state:\n\n```ts\nconst loop = nessi({\n  provider,\n  systemPrompt,\n  input,\n  store,\n  tools: async () => toolRegistry.activeFor(userId),\n});\n```\n\nNessi resolves dynamic tools before every provider turn. One copied and\nvalidated snapshot supplies both the provider schemas and all tool execution\nfor that turn. Changes made during tool execution therefore become visible on\nthe following provider turn, while calls already emitted by the provider remain\nexecutable from their original snapshot. Duplicate names and resolver failures\nend the loop with a `runtime_error` issue.\n\nPending tool calls restored from history resolve one fresh snapshot before\nexecution because an in-memory snapshot cannot survive a restart. Keep the\nresolver side-effect free; persistence, discovery, authorization, and cleanup\nremain application-owned.\n\nServer tools receive the provider tool call ID through `ctx.callId`:\n\n```ts\nconst inspect = defineTool({\n  name: \"inspect\",\n  description: \"Inspect an item\",\n  inputSchema: z.object({ id: z.string() }),\n}).server(async ({ id }, ctx) => {\n  return inspectItem(id, { callId: ctx.callId, signal: ctx.signal });\n});\n```\n\n## Historical tool results\n\nVerbose tool output can remain fully persisted without being sent to the model\nin every later loop. A tool may derive a compact historical representation once\nafter its output passes validation:\n\n```ts\nconst shell = defineTool({\n  name: \"shell\",\n  description: \"Run a shell command.\",\n  inputSchema: z.object({ command: z.string() }),\n  outputSchema: z.object({\n    exitCode: z.number(),\n    stdout: z.string(),\n    changedFiles: z.array(z.string()),\n  }),\n  toHistoricalResult: ({ output }) => ({\n    exitCode: output.exitCode,\n    changedFiles: output.changedFiles,\n    excerpt: output.stdout.slice(0, 500),\n  }),\n}).server(runShell);\n```\n\nNessi persists the full `result` and the optional `historicalResult` together.\nProvider calls in the originating loop, including resumes with the same\n`loopId`, receive the full result. Calls from a different loop receive the\nhistorical value instead. Stored messages, events, and loop aggregates remain\nfull and inspectable. Returning `undefined` skips the historical representation.\n\nDerivation shares the rest of the tool's `timeoutMs`, and Nessi stops waiting\nfor it when the loop is aborted; the callback gets no signal and is not\ncancelled. If it throws or does not finish in time, Nessi stores the full\nsuccessful result, emits a non-fatal `tool_historical_result_error` issue, and\ncontinues the loop; the tool does not run again. Legacy messages\nwithout `historicalResult` remain unchanged. `maxToolResultChars`, when set,\nruns after this selection as the final context-size boundary.\n\n## Steering\n\nUse `loop.steer()` when the process handling new input owns the running loop:\n\n```ts\nloop.steer(\"Skip deployment and only prepare the migration.\");\n```\n\nFor loops running in another worker or process, provide a `steering` callback\nthat reads pending messages from application-owned persistence:\n\n```ts\nconst loop = nessi({\n  provider,\n  systemPrompt,\n  store,\n  input,\n  tools,\n  steering: ({ loopId, signal }) => steeringQueue.takePending(loopId, { signal }),\n});\n```\n\nThe callback may return one message, an ordered array, or `undefined`. Nessi\nchecks it before provider calls and before a normal loop completion. Applied\nmessages are persisted as user messages and emit the same `steer_applied`\nevent as `loop.steer()`. The application owns persistence, claiming, and\ndelivery semantics; Nessi only controls when steering can affect the loop.\n\n## Structured output\n\nUse `nessi.structured()` when an app wants a schema-valid typed result instead\nof a streamed chat response:\n\n```ts\nimport { nessi } from \"@k2b/nessi\";\nimport { complete, openAICompatible } from \"@k2b/nessi/ai\";\nimport { z } from \"zod\";\n\nconst result = await nessi.structured({\n  provider: openAICompatible({\n    name: \"openrouter\",\n    model: \"openai/gpt-4.1-mini\",\n    baseURL: \"https://openrouter.ai/api/v1\",\n    apiKey: process.env.OPENROUTER_API_KEY,\n  }),\n  input: \"Extract a task card for: Ship the onboarding flow by Friday.\",\n  outputName: \"task_card\",\n  output: z.object({\n    title: z.string(),\n    due: z.string().nullable(),\n    priority: z.enum([\"low\", \"medium\", \"high\"]),\n  }),\n  temperature: 0,\n});\n\nconsole.log(result.output.title);\nconsole.log(result.structuredMeta);\nconsole.log(result.aggregate.usage);\n```\n\nFor providers and schemas that are safe for native structured output, Nessi\npasses a provider-specific `responseFormat`. Otherwise it falls back to schema\ninstructions and one repair attempt. Nullable fields and unions below the root\nstay native. Strict providers fall back for `.optional()` properties and open\nobjects; vLLM guided decoding (`capabilities.strictStructuredOutput: false`)\naccepts them. `input` can be a string, content parts, or\na full user message, including image file parts when the provider supports\nimages.\n\nFailures throw `StructuredOutputError` with a `code`: `invalid_output`,\n`truncated` (the response hit the output token limit), `provider_stopped` (the\nprovider ended it with an error, a refusal, or an interruption), `aborted`,\nor `loop_failed`. Output from a response that did not end normally is never\naccepted or repaired. Failures carry `details.aggregate` with the usage and\ntiming of the responses that completed.\n\n`nessi.structured()` makes one provider call (plus at most one repair) and\ntakes no tools; use the full `nessi()` loop for tool work.\n\n## Provider-only usage\n\n```ts\nimport { complete, openAICompatible } from \"@k2b/nessi/ai\";\n\nconst provider = openAICompatible({\n  name: \"openrouter\",\n  model: \"openai/gpt-4.1-mini\",\n  baseURL: \"https://openrouter.ai/api/v1\",\n  apiKey: process.env.OPENROUTER_API_KEY,\n});\n\nconst result = await complete(provider, {\n  systemPrompt: \"Be concise.\",\n  messages: [\n    {\n      role: \"user\",\n      content: [{ type: \"text\", text: \"Summarize this package.\" }],\n    },\n  ],\n});\n\nconsole.log(result.message.content);\n```\n\nProvider streams use the same block events as the root loop:\n\n```ts\nconst textBlocks = new Set<string>();\n\nfor await (const event of provider.stream({ messages })) {\n  if (event.type === \"block_start\" && event.kind === \"text\") {\n    textBlocks.add(event.blockId);\n  }\n  if (event.type === \"block_delta\" && textBlocks.has(event.blockId)) {\n    process.stdout.write(event.delta);\n  }\n  if (event.type === \"block_end\" && event.block.type === \"tool_call\") {\n    console.log(\"tool call\", event.block.name, event.block.args);\n  }\n  if (event.type === \"issue\") {\n    console.error(event.issue.kind, event.issue.message);\n  }\n}\n```\n\nTo show tool arguments while the model writes them, opt in with\n`provider.stream({ messages, toolArgsPreview: true })` or pass\n`toolArgsPreview: true` to root `nessi()`. Both emit the display-only event:\n\n```ts\ntype ToolArgsDeltaEvent = {\n  type: \"tool_args_delta\";\n  callId: string;\n  name: string;\n  delta: string;\n};\n```\n\n`ToolArgsDeltaEvent` is exported from `@k2b/nessi/ai` and `@k2b/nessi`.\nRoot events also carry `agentId`, `loopId`, `turnId`, and `turnIndex`.\nFragments arrive in provider order and may contain incomplete or invalid JSON.\nThey never open a block, change block indices, or become stored messages or\ntool-call aggregates. Coalescing leaves these fragments unchanged. A preview\nmay stop without a final call and be followed by a `malformed_tool_call` or\n`cancelled_tool_call` issue. Never execute from a preview; only a final\n`tool_call` block is executable. Previews are off by default, and the existing\nblock and issue sequence stays unchanged. `complete()` ignores previews;\n`nessi.structured()` does not enable them.\n\n## Provider timeouts\n\nSet `timeouts` in the provider options to bound waits. Unset or non-positive\nvalues disable the corresponding timeout. Every request is a stream, so both\nlimits apply to `stream()` and `complete()` alike:\n\n| Option | Bounds |\n| --- | --- |\n| `firstByteMs` | Request start through the first response-body chunk, which may precede the first token |\n| `idleMs` | Each gap between body chunks after the first; also the read of an HTTP error body |\n\nA slow answer that keeps sending chunks never times out; a stalled one does. A\ntimeout rejects with a `ProviderError` carrying `kind: \"timeout\"`, `scope:\n\"provider_first_byte\"` or `\"provider_idle\"`, and `retryable: true`. Caller\ncancellation preserves the signal's original reason. For an overall deadline,\npass a request `signal` (for example `AbortSignal.timeout(ms)`).\n\n## Provider errors\n\n`complete()` throws a `ProviderError` (from\n`@k2b/nessi/ai`) when a provider request fails. It carries `kind`\n(`\"provider_error\"`, `\"timeout\"`, or `\"invalid_request\"` for a request nessi\ncould not build and never sent), `retryable`, and, when known, `status`,\n`code`, `retryAfterMs`, `contextOverflow`, `overflowRatio`, and the timeout\n`scope`. Streaming `provider_error` issues carry the same `status`, `code`, and\n`retryAfterMs`. Nessi never retries; a caller abort throws the signal's reason.\n\n### Transport report\n\nPass `onTransport` on a request to observe the transport without patching\n`fetch`. It is called once when a request nessi sent settles (answered,\nrejected, failed, timed out, or aborted) and before `complete()` throws:\n\n```ts\nawait complete(provider, {\n  messages,\n  onTransport: ({ startedAt, headersAt, firstByteAt, status, retryAfterMs, connectionCode }) => {\n    metrics.record({ headersMs: headersAt && headersAt - startedAt, firstByteMs: firstByteAt && firstByteAt - startedAt, status });\n  },\n});\n```\n\n`headersAt` is missing when no response came; `connectionCode` names a\nconnection that failed before one (`ECONNREFUSED`). An error thrown in the\nhook does not change the request.\n\n## Reasoning effort\n\nSet `reasoningEffort` to control how much a reasoning model thinks. Set it on\nthe provider as a default, or per call on `complete()`, `stream()`, `nessi()` or\n`nessi.structured()`. A call value wins over the provider default, and nothing\nis sent when neither is set, so the model keeps its own default.\n\n```ts\nconst provider = openAICompatible({ name: \"openai\", model: \"gpt-6.1-sol\", baseURL: \"https://api.openai.com/v1\", reasoningEffort: \"medium\" });\n\nconst loop = nessi({ provider, systemPrompt, input, store, reasoningEffort: \"high\" });\nconst quick = await complete(provider, { messages, reasoningEffort: \"none\" });\n```\n\nThe value is passed through unchanged, so new levels work without a Nessi\nupdate. `\"none\"` turns reasoning off. Common levels are `\"none\"`, `\"minimal\"`,\n`\"low\"`, `\"medium\"`, `\"high\"`, `\"xhigh\"` and `\"max\"`. Which levels a model\naccepts is up to the model; unsupported values come back as provider errors.\n\n`openAICompatible()` sends `reasoning_effort`; with\n`compat.reasoningFormat: \"openrouter\"` it sends `reasoning: { effort }`.\n\nRecent vLLM versions also pass the level to the chat template and turn off\nthinking for templates such as Qwen's when it is `\"none\"`. On older versions,\nuse `extraBody: { chat_template_kwargs: { enable_thinking: false } }`.\n\nThe OpenAI-compatible adapter also reads an initial `<think>…</think>` span and\n`<|open|>think<|sep|>…<|close|>think<|sep|>` markers across deltas.\nMarkers are removed before text and thinking blocks are emitted, including\nincomplete control syntax at the end of a stream. Kimi K3 can omit the opening\nmarker: its ambiguous initial content is held until the closing marker,\nstructured reasoning, a tool call, or stream end identifies the span. Without\nany marker it remains text. This can delay the first text for Kimi K3 endpoints\nthat send neither an opener nor structured reasoning. Regular `reasoning_content`\ndeltas continue streaming immediately, as does text with `reasoningEffort: \"none\"`.\nAn ambiguous Kimi prefix interrupted by an error or output limit stays thinking. `compat.thinkingFormat: \"none\"` hides\nin-band thinking as well.\n\nThinking appears as `thinking` blocks. Some endpoints sign their reasoning or\nreturn it encrypted and require it back unchanged in later requests, especially\nduring tool loops. Nessi keeps that data on the blocks (`signature` for\nMistral's typed `thinking` chunks, `details` for OpenRouter's\n`reasoning_details`) and records the producing provider's `name` in\n`message.provider`; it sends reasoning back only to the provider with that\nname, as typed chunks when `compat.thinkingFormat` is `\"content_chunks\"`.\nWith `compat.toolCallSignatures: \"google\"`, a Gemini tool call keeps its\nthought signature as `signature` and goes back with it; a call from another\nprovider gets Gemini's placeholder that skips the check.\nStore assistant messages as they are, including these fields, and keep history\nappend-only.\n\n### Extra request fields\n\n`extraBody` adds fields to the provider's request body for parameters Nessi does\nnot model. Set it on the provider or per call; call values win. Plain objects\nmerge deeply into what Nessi sends, other values replace it:\n\n```ts\nconst provider = openAICompatible({\n  name: \"vllm\",\n  model: \"Qwen/Qwen3-32B\",\n  baseURL: \"http://localhost:8000/v1\",\n  extraBody: { chat_template_kwargs: { enable_thinking: false } },\n});\n```\n\n## Audio transcription\n\nUse `openAICompatibleTranscription()` to upload an audio file to a service that\nimplements the OpenAI-compatible `/audio/transcriptions` endpoint. Configure\nthe service URL, API key and transcription model explicitly:\n\n```ts\nimport { complete, openAICompatibleTranscription } from \"@k2b/nessi/ai\";\n\nconst speech = openAICompatibleTranscription(\"whisper-large-v3\", {\n  baseURL: \"https://api.scaleway.ai/v1\",\n  apiKey: process.env.SCW_SECRET_KEY,\n});\n\nconst result = await speech.transcribe({\n  file: Bun.file(\"./aufnahme.mp3\"),\n  filename: \"aufnahme.mp3\",\n  language: \"de\",\n  signal: AbortSignal.timeout(120_000),\n});\n\nconsole.log(result.text);\n```\n\nFor OpenAI, set `baseURL: \"https://api.openai.com/v1\"`, use your OpenAI key and\na supported transcription model such as `whisper-1`. Local compatible services\ncan omit `apiKey`. No environment variable is read automatically. Optional\n`headers` support gateways; `apiKey` overrides their Authorization header.\n\n`file` accepts a `Blob`, `File` or `Bun.file()`. Use `filename` to supply an\nextension for an unnamed Blob or override the filename. Automatically derived\nfilenames omit local directories. Omit `language`\nfor automatic detection. Optional `prompt` supplies vocabulary or context\nwhen supported by the model. File formats, size limits and optional parameter\nsupport depend on the service; Nessi does not convert or split audio.\n\nThe result is `{ text: string }`, including an empty string for an empty\ntranscript. HTTP, connection and malformed-response errors reject the promise.\nPass `signal` for cancellation or a timeout; cancellation preserves the signal's\nreason. There are no automatic retries or default timeout.\n\nTranscription uses its own `TranscriptionProvider` contract with `name`, `model`\nand `transcribe(request)`. Custom adapters can implement that interface for other\nprotocols. It is separate from the chat provider passed to `nessi()`; pass the\nresulting text into the agent when needed. Timestamps and speaker\nidentification are not exposed; for live audio see below.\n\nThe example follows [Scaleway's audio API documentation](https://www.scaleway.com/en/docs/generative-apis/how-to/query-audio-models/).\nKeep API keys on the server when integrating a browser application.\n\n### Live transcription\n\n`vllmRealtimeTranscription()` transcribes audio while it is still being recorded.\nIt streams audio to vLLM's `/v1/realtime` WebSocket and yields text as the model\nrecognizes it, for example with `mistralai/Voxtral-Mini-4B-Realtime-2602`:\n\n```ts\nimport { complete, vllmRealtimeTranscription } from \"@k2b/nessi/ai\";\n\nconst speech = vllmRealtimeTranscription(\"voxtral-realtime\", {\n  baseURL: \"https://vllm.example.com/v1\",\n  apiKey: process.env.VLLM_API_KEY,\n});\n\nlet text = \"\";\nfor await (const event of speech.stream({ audio: microphoneChunks, signal })) {\n  if (event.type === \"delta\") text += event.text;\n  if (event.type === \"done\") console.log(event.text, event.audioMs, event.usage);\n}\n```\n\n`audio` is an async iterable of mono 16-bit little-endian PCM chunks\n(`Int16Array` or `Uint8Array`) at 16 kHz (`speech.sampleRate`). Send chunks as\nthey are recorded; the transcript is finished when the iterable ends.\n`delta` events carry new text to append, and the final `done` event carries the\ncomplete transcript, the duration of the sent audio and token usage. Nessi does\nnot resample audio. In a browser, an `AudioContext` created with\n`{ sampleRate: 16000 }` records at the right rate.\n\nThe adapter uses the standard global `WebSocket`, so it runs in browsers, Bun,\nDeno and Node 22 or later. Sending `apiKey` or `headers` requires a WebSocket that accepts\nheaders, which Bun does and browsers do not. Pass `webSocket: (url, headers) =>\n...` to supply your own WebSocket, for example from the `ws` package. Keep API\nkeys on the server and relay browser audio through it.\n\nErrors, a closed connection and a rejected handshake reject the iteration;\ncancellation through `signal` uses the signal's reason and closes the connection\nimmediately. Stopping the iteration early closes it too. Nessi asks the audio\niterable to stop, but cannot interrupt a pending read, so stop the microphone with\nthe same signal. There are no automatic retries or reconnects.\n\n## Decision models\n\nDecision models such as Cloudflare's Clef or Kev answer\ntyped questions about a state with a probability for every option, in one forward\npass and without generating text. They are fast and bounded, which makes them a\ngood fit for routing, triage and checks before an LLM acts. Nessi speaks the\nSystem One API (`POST /v1/systemone`) that these models share:\n\n```ts\nimport { complete, systemOneDecision } from \"@k2b/nessi/ai\";\n\nconst router = systemOneDecision(\"clef-flash\", {\n  baseURL: \"https://decide.example.com/v1\",\n  apiKey: process.env.DECISION_API_KEY,\n});\n\nconst { answers } = await router.decide({\n  state: \"Checkout has been failing for every customer for the last hour.\",\n  questions: {\n    urgent: { type: \"noul\", instructions: \"Is this support request urgent?\" },\n    team: {\n      type: \"choice\",\n      instructions: \"Which team should handle this request?\",\n      criteria: { billing: \"Payments and refunds\", technical: \"Outages and errors\", sales: \"Plans\" },\n    },\n    severity: { type: \"score\", instructions: \"How severe is the impact?\", criteria: [\"None\", \"Minor\", \"Major\", \"Critical\"] },\n  },\n});\n\nanswers.urgent.probability; // 0.91, `answers.urgent.value` is true at 0.5 or more\nanswers.team.choice;        // typed as \"billing\" | \"technical\" | \"sales\"\nanswers.team.confidence;    // probability of the chosen option\nanswers.severity.level;     // most likely level index, `score` is the weighted level\n```\n\nQuestion types:\n\n- `noul`: yes or no; optional `criteria: { true, false }` describe both answers.\n  The answer has `probability` (of yes) and `value`.\n- `choice`: `criteria` maps option IDs to descriptions (or `null`). The answer\n  has `choice`, `confidence` and `probabilities` per option.\n- `score`: `criteria` lists ordered levels, lowest first. The answer has the\n  weighted `score`, the most likely `level`, `confidence` and `probabilities`\n  per level index.\n\nOption IDs are inferred from inline questions. For questions stored in a\nvariable, keep the literal types with `satisfies DecisionQuestions` or\n`as const`. `state` accepts text or JSON-serializable data. Optional `images`\n(`{ data: base64, mediaType }`) are sent as data URLs; only multimodal models\nsuch as Clef accept them.\n\nThe result contains `model`, the typed `answers`, `usage` and `raw`, the\nunchanged provider response for fields Nessi does not map. Nessi checks that\nevery question has a valid answer and otherwise rejects; it does not enforce\nprovider limits such as the number of questions or options, which differ\nbetween models. HTTP, connection and malformed-response errors reject the\npromise, `signal` cancels with its reason, and there are no automatic retries.\nDecision calls have no timeout of their own; pass one, for example\n`signal: AbortSignal.timeout(5_000)`. `onTransport` reports the request once it\nsettles, with the same report as for model calls (see\n[Transport report](#transport-report)): status, Retry-After, timings, or the\nconnection code.\n\nEvery provider checks its request headers before sending. An API key or header\nvalue with a line break or another character HTTP does not allow rejects with an\nerror that names the header but never contains its value.\n\nFor Clef on Cloudflare Workers AI, use the preset:\n\n```ts\nimport { complete, cloudflareDecision } from \"@k2b/nessi/ai\";\n\nconst router = cloudflareDecision(\"clef-flash\", {\n  accountId: process.env.CLOUDFLARE_ACCOUNT_ID!,\n  apiToken: process.env.CLOUDFLARE_API_TOKEN!,\n});\n```\n\nA decision model does not replace the agent loop; it decides before the loop\nacts. For example, pick the tools for a turn and fall back to all tools when\nthe model is unsure:\n\n```ts\nconst { answers } = await router.decide({\n  state: userMessage,\n  questions: {\n    area: { type: \"choice\", instructions: \"What is the request about?\", criteria: { calendar: null, files: null, other: null } },\n  },\n});\n\nconst tools = answers.area.confidence >= 0.7 ? toolsByArea[answers.area.choice] : allTools;\nconst loop = nessi({ provider, store, systemPrompt, input: userMessage, tools });\n```\n\n## Focused provider imports\n\n```ts\nimport { openAICompatible } from \"@k2b/nessi/ai/providers/openai-compatible\";\nimport { openAICompatibleTranscription } from \"@k2b/nessi/ai/providers/openai-compatible-transcription\";\nimport { systemOneDecision } from \"@k2b/nessi/ai/providers/systemone-decision\";\n```\n\n## Features\n\n- Turn-based agent loop with canonical block streaming events\n- Stable `loopId` correlation across all events from one agent loop\n- `loop_start`, `turn_start`, `turn_end`, and `loop_end.aggregate` for logical response grouping\n- Local `loop.steer()` and optional `steering` callbacks for steering at safe loop boundaries\n- Loop timing metadata for wall time, generation time, active tool time, action wait time, and output tokens/second\n- `nessi.structured()` for typed schema-valid task results\n- Server tools and client tools\n- Tool approval flow and explicit `tool_action_request` events\n- Tool execution start/end events with per-tool `timeoutMs`\n- Opt-in parallel tool calls with a bounded limit and results in call order\n- Optional per-tool historical result representations for bounded future context\n- Structured `issue` events for provider errors, timeouts, malformed tool streams, and tool execution failures\n- Pluggable session store\n- Optional history compaction\n- Standalone `compact()` loop with `loop_start`, `compaction_start`, `compaction_end`, `issue`, and `loop_end` events\n- Provider adapters with shared `complete()` and `stream()` APIs\n- Audio transcription through configurable OpenAI-compatible services\n- One chat adapter, `openAICompatible()`, with explicit options for OpenAI, OpenRouter, Mistral, vLLM, and other Chat Completions endpoints (see the skill's `providers.md`)\n\n## Package layout\n\n```txt\n@k2b/nessi\n  Agent loop, structured task helper, tools, stores, compaction, shared types\n\n@k2b/nessi/ai\n  Provider factories, provider types, complete(), stream(), responseFormat, transcribe()\n\n@k2b/nessi/ai/providers/*\n  Focused provider entrypoints\n```\n","readmeFilename":"README.md"}