{"_id":"@coopah/bentley-provider-ollama","_rev":"4-8372e3be8ac6242344cf77e3b9599bfe","name":"@coopah/bentley-provider-ollama","dist-tags":{"latest":"0.3.0"},"versions":{"0.2.0":{"name":"@coopah/bentley-provider-ollama","version":"0.2.0","keywords":["ai","agent","llm","bentley"],"license":"MIT","_id":"@coopah/bentley-provider-ollama@0.2.0","maintainers":[{"name":"coopah","email":"tibo6c04@gmail.com"}],"homepage":"https://github.com/CoopahG/bentley#readme","bugs":{"url":"https://github.com/CoopahG/bentley/issues"},"dist":{"shasum":"de52bb4f2d1c314cf1e7b16bc2fe4dd2bef33d31","tarball":"https://registry.npmjs.org/@coopah/bentley-provider-ollama/-/bentley-provider-ollama-0.2.0.tgz","fileCount":10,"integrity":"sha512-fO6PcgnQpi0EC5T4JkLoCwourWM//9SL1r/2xHjA8qT1RHJs/OAwYhH7hUcgb4pvh/KPjI4PVmHPI5cDbWdPxQ==","signatures":[{"sig":"MEYCIQD8l3CQRaG3Ow5EPd65A/VWQk6fYrzr6gWJtbQFjPFzBQIhAN+cwmhjYNBI388ihlwz0EaDrECmtDk+TAB7dmNq6SMl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4470},"main":"dist/index.js","type":"module","_from":"file:coopah-bentley-provider-ollama-0.2.0.tgz","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --watch","lint":"eslint src","build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"coopah","email":"tibo6c04@gmail.com"},"_resolved":"/private/var/folders/k4/9fdyr38j4gv59whg5k3w4fgm0000gn/T/c2a20927792453e4a303ba174ed99566/coopah-bentley-provider-ollama-0.2.0.tgz","_integrity":"sha512-fO6PcgnQpi0EC5T4JkLoCwourWM//9SL1r/2xHjA8qT1RHJs/OAwYhH7hUcgb4pvh/KPjI4PVmHPI5cDbWdPxQ==","repository":{"url":"git+https://github.com/CoopahG/bentley.git","type":"git","directory":"packages/providers/ollama"},"_npmVersion":"10.9.4","description":"Ollama LLM provider for Bentley","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ai":"^6.0.116","@ai-sdk/openai":"^3.0.41","@coopah/bentley-core":"0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.5"},"_npmOperationalInternal":{"tmp":"tmp/bentley-provider-ollama_0.2.0_1773093157379_0.2542299663511778","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@coopah/bentley-provider-ollama","version":"0.2.1","keywords":["ai","agent","llm","bentley"],"license":"MIT","_id":"@coopah/bentley-provider-ollama@0.2.1","maintainers":[{"name":"coopah","email":"tibo6c04@gmail.com"}],"homepage":"https://github.com/CoopahG/bentley#readme","bugs":{"url":"https://github.com/CoopahG/bentley/issues"},"dist":{"shasum":"8de7c5a43059995eaa9b9d7d5246d8b008a3a3a7","tarball":"https://registry.npmjs.org/@coopah/bentley-provider-ollama/-/bentley-provider-ollama-0.2.1.tgz","fileCount":11,"integrity":"sha512-6FEy9uEvpmNa8VOS9vEA58ZN3lJegGF1OVfWmRqKwmf1qDzLJEP4rtEKM1CgPjRacqisjHiUTUMnY1/ptaGzmQ==","signatures":[{"sig":"MEUCIGrdQCzTYD153Xgssp5euaVcOJQTyHLMrjVEMF/Hp6dqAiEA+XlfRiBHTU7zHTRIgRQ2JqZuoTJyiPj8VBQ9LWT/gcM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5128},"main":"dist/index.js","type":"module","_from":"file:coopah-bentley-provider-ollama-0.2.1.tgz","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --watch","lint":"eslint src","build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"coopah","email":"tibo6c04@gmail.com"},"_resolved":"/private/var/folders/k4/9fdyr38j4gv59whg5k3w4fgm0000gn/T/3b3d97eef9b992b7005b05daa7dcb58a/coopah-bentley-provider-ollama-0.2.1.tgz","_integrity":"sha512-6FEy9uEvpmNa8VOS9vEA58ZN3lJegGF1OVfWmRqKwmf1qDzLJEP4rtEKM1CgPjRacqisjHiUTUMnY1/ptaGzmQ==","repository":{"url":"git+https://github.com/CoopahG/bentley.git","type":"git","directory":"packages/providers/ollama"},"_npmVersion":"10.9.4","description":"Ollama LLM provider for Bentley","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ai":"^6.0.116","@ai-sdk/openai":"^3.0.41","@coopah/bentley-core":"0.2.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.5"},"_npmOperationalInternal":{"tmp":"tmp/bentley-provider-ollama_0.2.1_1773093591413_0.13869525163395635","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@coopah/bentley-provider-ollama","version":"0.2.2","keywords":["ai","agent","llm","bentley"],"license":"MIT","_id":"@coopah/bentley-provider-ollama@0.2.2","maintainers":[{"name":"coopah","email":"tibo6c04@gmail.com"}],"homepage":"https://github.com/CoopahG/bentley#readme","bugs":{"url":"https://github.com/CoopahG/bentley/issues"},"dist":{"shasum":"2f37c6719a0bb04e7787f73115b6423490637433","tarball":"https://registry.npmjs.org/@coopah/bentley-provider-ollama/-/bentley-provider-ollama-0.2.2.tgz","fileCount":11,"integrity":"sha512-7OpH9Qx2cFkRGs/3lrH2rhjfQx2onGk0gYt5uHCWeinICf7TmdeFJn11EyMPBDt5BwhAYZj3oNR0peM3W1Myfg==","signatures":[{"sig":"MEUCIQD9TEIEGVf8dtim3/cFuBDB7cEVBsVli5vdhSoE9KtKgAIgS49JCuCIGnliHaIgMbK2S/1RS1xZPRJ23evoCMd3pls=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6334},"main":"dist/index.js","type":"module","_from":"file:coopah-bentley-provider-ollama-0.2.2.tgz","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsc --watch","lint":"eslint src","build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"coopah","email":"tibo6c04@gmail.com"},"_resolved":"/private/var/folders/k4/9fdyr38j4gv59whg5k3w4fgm0000gn/T/d0d674324012db51284e85ec529373c0/coopah-bentley-provider-ollama-0.2.2.tgz","_integrity":"sha512-7OpH9Qx2cFkRGs/3lrH2rhjfQx2onGk0gYt5uHCWeinICf7TmdeFJn11EyMPBDt5BwhAYZj3oNR0peM3W1Myfg==","repository":{"url":"git+https://github.com/CoopahG/bentley.git","type":"git","directory":"packages/providers/ollama"},"_npmVersion":"10.9.4","description":"Ollama LLM provider for Bentley","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ai":"^6.0.116","@ai-sdk/openai":"^3.0.41","@coopah/bentley-core":"0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.5"},"_npmOperationalInternal":{"tmp":"tmp/bentley-provider-ollama_0.2.2_1773093915818_0.6806169020106854","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@coopah/bentley-provider-ollama","version":"0.3.0","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"dependencies":{"@ai-sdk/openai":"^3.0.41","ai":"^6.0.116","@coopah/bentley-core":"0.3.0"},"devDependencies":{"@types/node":"^25.4.0","typescript":"^5.9.3"},"description":"Ollama LLM provider for Bentley","license":"MIT","repository":{"type":"git","url":"git+https://github.com/CoopahG/bentley.git","directory":"packages/providers/ollama"},"engines":{"node":">=20.0.0"},"keywords":["ai","agent","llm","bentley"],"scripts":{"build":"tsc","dev":"tsc --watch","lint":"eslint src","typecheck":"tsc --noEmit","clean":"rm -rf dist"},"_id":"@coopah/bentley-provider-ollama@0.3.0","bugs":{"url":"https://github.com/CoopahG/bentley/issues"},"homepage":"https://github.com/CoopahG/bentley#readme","_integrity":"sha512-q49gQdWQ55kr83MzcDZ2l6uGDHi55EYRnKlzDnlvnoB9wfSWPFFbKaKFjWLi4lolG1ZtoxZmWYrar0ivlGaNSA==","_resolved":"/private/var/folders/k4/9fdyr38j4gv59whg5k3w4fgm0000gn/T/8ba9180e45e59370ffc8b844f4bb6e83/coopah-bentley-provider-ollama-0.3.0.tgz","_from":"file:coopah-bentley-provider-ollama-0.3.0.tgz","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-q49gQdWQ55kr83MzcDZ2l6uGDHi55EYRnKlzDnlvnoB9wfSWPFFbKaKFjWLi4lolG1ZtoxZmWYrar0ivlGaNSA==","shasum":"3142c6a23770de52aebef913cbb2c5a539186d95","tarball":"https://registry.npmjs.org/@coopah/bentley-provider-ollama/-/bentley-provider-ollama-0.3.0.tgz","fileCount":11,"unpackedSize":6334,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG1Wz8aAiTzUs8Lpr4bs6/u19ln7h8K7EiW9MhlPT8ufAiEA/NdLne+Gh8yHMy/7OaPa4L7MWyriXuPOuiyBtJvW1+8="}]},"_npmUser":{"name":"coopah","email":"tibo6c04@gmail.com"},"directories":{},"maintainers":[{"name":"coopah","email":"tibo6c04@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bentley-provider-ollama_0.3.0_1773178075980_0.10590870321655599"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-09T21:52:37.251Z","modified":"2026-03-10T21:27:56.282Z","0.2.0":"2026-03-09T21:52:37.526Z","0.2.1":"2026-03-09T21:59:51.560Z","0.2.2":"2026-03-09T22:05:15.975Z","0.3.0":"2026-03-10T21:27:56.150Z"},"bugs":{"url":"https://github.com/CoopahG/bentley/issues"},"license":"MIT","homepage":"https://github.com/CoopahG/bentley#readme","keywords":["ai","agent","llm","bentley"],"repository":{"type":"git","url":"git+https://github.com/CoopahG/bentley.git","directory":"packages/providers/ollama"},"description":"Ollama LLM provider for Bentley","maintainers":[{"name":"coopah","email":"tibo6c04@gmail.com"}],"readme":"# @coopah/bentley-provider-ollama\n\n[Ollama](https://ollama.com) LLM provider for [Bentley](https://github.com/CoopahG/bentley). Run local models (Llama, Mistral, Gemma, etc.) with your Bentley agents.\n\n## Install\n\n```bash\npnpm add @coopah/bentley-provider-ollama\n```\n\nMake sure Ollama is running locally or at the specified base URL.\n\n### Dependencies\n\n- [`@coopah/bentley-core`](https://www.npmjs.com/package/@coopah/bentley-core)\n- `@ai-sdk/openai` ^3.0.41 (Ollama exposes an OpenAI-compatible API)\n- `ai` ^6.0.116\n\n## Usage\n\n```ts\nimport { createBentley } from \"@coopah/bentley-core\";\nimport { bentleyOllamaPlugin } from \"@coopah/bentley-provider-ollama\";\n\nconst bentley = createBentley({\n  plugins: [\n    bentleyOllamaPlugin({ baseUrl: \"http://localhost:11434/v1\" }),\n    // or: bentleyOllamaPlugin() — defaults to http://localhost:11434/v1\n  ],\n});\n```\n\nThen reference Ollama models in your shell config (e.g. `llama3.2`, `mistral`, `gemma2`).\n\n## API\n\n- **`bentleyOllamaPlugin(options?)`** — `BentleyPlugin` that registers Ollama as an LLM provider\n- **`createBentleyOllamaProvider(baseUrl?)`** — Low-level factory returning `(modelId: string) => LanguageModel`\n\n### Configuration\n\n```ts\ninterface OllamaPluginOptions {\n  baseUrl?: string; // Default: \"http://localhost:11434/v1\"\n}\n```\n\n## Related Packages\n\n| Package | Role |\n|---------|------|\n| [`@coopah/bentley-core`](https://www.npmjs.com/package/@coopah/bentley-core) | Core runtime (required) |\n| [`@coopah/bentley-provider-openai`](https://www.npmjs.com/package/@coopah/bentley-provider-openai) | OpenAI provider |\n| [`@coopah/bentley-provider-anthropic`](https://www.npmjs.com/package/@coopah/bentley-provider-anthropic) | Anthropic provider |\n| [`@coopah/bentley-provider-copilot`](https://www.npmjs.com/package/@coopah/bentley-provider-copilot) | GitHub Copilot provider |\n\n## License\n\nMIT\n","readmeFilename":"README.md"}