{"_id":"ai-sdk-provider-opencode-sdk","_rev":"29-7a96603a198dde77a107caa416cfb12b","name":"ai-sdk-provider-opencode-sdk","dist-tags":{"ai-sdk-v5":"0.0.3","latest":"5.0.1","ai-sdk-v6":"3.0.8","opencode-v1":"4.1.3"},"versions":{"0.0.1":{"name":"ai-sdk-provider-opencode-sdk","version":"0.0.1","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@0.0.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"659e7d21914c8a1794db40db88e3984d301205a5","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-0.0.1.tgz","fileCount":8,"integrity":"sha512-yR6uaWqNYx+MPScOYm71wS7Dn9+Nq4m8tyBDryvF69aYiFcA1sETD+UwKrunLEGiBTsCrWFy2PxGAKEzoMoiiQ==","signatures":[{"sig":"MEUCIAE7Yjio7idf7myubmEh4Uq+f/a5YiHNmpC5pmuyIJgKAiEAoZcv9WGxHBPqMm/Kj3o533A/+97mHu6jXU0+Er5Sl9Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":416867},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.6.4","description":"AI SDK v5 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.4.0","dependencies":{"@ai-sdk/provider":"2.0.0","@opencode-ai/sdk":"^1.0.141","@ai-sdk/provider-utils":"3.0.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.101","zod":"^3.24.0","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.0.0 || ^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_0.0.1_1765413177495_0.8058345040555899","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"ai-sdk-provider-opencode-sdk","version":"0.0.2","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@0.0.2","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"8e8237b2e13b430b53babc0723c7ce6911cfc869","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-0.0.2.tgz","fileCount":8,"integrity":"sha512-v/6dIBrl2Keh13Y2d/qvKs9/Q9lyJlAGvyCMwMVPi8N+8NLXicQxOqVkfb9iXK++kj96BfMhMB5+UeRWV5nwqA==","signatures":[{"sig":"MEUCIQCXix8Y5S7c6z8kFl6OGZiQfIViJe7m/+AnQOZcSWDuggIgNU8SbJTtsXfvcAEYlDEBarodh9Ef3LSNtOs6CrVJ3LE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":416963},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.6.4","description":"AI SDK v5 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.4.0","dependencies":{"@ai-sdk/provider":"2.0.0","@opencode-ai/sdk":"^1.0.137","@ai-sdk/provider-utils":"3.0.18"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.101","zod":"^3.24.0","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.0.0 || ^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_0.0.2_1765413895277_0.9936823600145119","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"ai-sdk-provider-opencode-sdk","version":"1.0.0","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@1.0.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"0bb4d6f12d87d8fe2ced6c622ff239aded7a77d6","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-1.0.0.tgz","fileCount":9,"integrity":"sha512-6FZwW+J57U6Xx+KTBNqaBnoCwVzP6fMZMzwYEt5tblKHz/K9wckvPflzD0B2KGDu1ta+7UlR41ftC7muFyQodQ==","signatures":[{"sig":"MEYCIQCbOo1QKUtuVNuCwK0cG9ySPHZ4WBAjTGcMh0BB2teGTwIhAIuxdBldkujOWyw2ZZyH0KWr4A5KVeFIUAwM8ZSfcNvq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":452798},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.7.0","description":"AI SDK v6 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.4.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@opencode-ai/sdk":"^1.0.207","@ai-sdk/provider-utils":"^4.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_1.0.0_1767315759755_0.018945947216823633","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"ai-sdk-provider-opencode-sdk","version":"2.0.0","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@2.0.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"72c4b82509b6bf1ff0ab8ae9f9bc40ffa5fddc0b","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-2.0.0.tgz","fileCount":9,"integrity":"sha512-vhlVJCElMWx7ni04szRJh07r4RWigAmVbNbEbRnhh+UGncFfRwg9a/83eGdnfehdXdQyye5rBaK8S1ly7tlORQ==","signatures":[{"sig":"MEUCIE4Ik8rpdELLnwjSeSAdMKDDA3ufjO20HE15kPJUshCZAiEA3qykQKFV4KtMrxKjumo9JOjY8rhHOgGOsujGORd1SOs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":586016},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.10.0","description":"AI SDK v6 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"@ai-sdk/provider":"^3.0.8","@opencode-ai/sdk":"^1.1.65","@ai-sdk/provider-utils":"^4.0.15"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.85","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_2.0.0_1771015616201_0.49823442142849594","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"ai-sdk-provider-opencode-sdk","version":"2.1.0","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@2.1.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"1c36e72bd691cd95e0c92796b8f0d871702199ec","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-2.1.0.tgz","fileCount":9,"integrity":"sha512-6tMlDcO0ZrP2cM6ue2250uJFRxLlMTryaNZhD3zqV19sC6FgRihb8NWgmTQZf02kfPVwlQFFMKcZWEclBcJclQ==","signatures":[{"sig":"MEYCIQChwuXr/Pb63fXPomVDtFnR/TSmhAkvKbHkoGLsKxW7gQIhAI1plDyBSVNrfWxPto25L8UMj0E5JUoF02VLNx/T1m4u","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":603374},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.7.0","description":"AI SDK v6 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@ai-sdk/provider":"^3.0.8","@opencode-ai/sdk":"^1.1.65","@ai-sdk/provider-utils":"^4.0.15"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.85","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_2.1.0_1771459334001_0.018827613592489634","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"ai-sdk-provider-opencode-sdk","version":"2.1.1","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@2.1.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"54679123f8a54a78e420b9f77b77a91e77084b77","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-2.1.1.tgz","fileCount":9,"integrity":"sha512-ZMsbC3wVnYqOxnYSpfOpsgnnkPeEiaK8yK83cnhc5vRlbA3MGCFUs3FVAOKERyDHF5QjGphhgKcscJ/7LOEgAQ==","signatures":[{"sig":"MEUCIQDBdj4BdparybXi8tc8L+bSdeFIjxY2+PYA92RotL/4ZQIgSVVSGdoEPAcYII4T+a++vSHtyA4l68413kBDQgJdzIc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":607513},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.7.0","description":"AI SDK v6 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@ai-sdk/provider":"^3.0.8","@opencode-ai/sdk":"^1.1.65","@ai-sdk/provider-utils":"^4.0.15"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.85","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_2.1.1_1771542946798_0.9070485033390716","host":"s3://npm-registry-packages-npm-production"}},"2.1.2":{"name":"ai-sdk-provider-opencode-sdk","version":"2.1.2","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@2.1.2","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"579381f3aa100a08c983a51c78ae68bda22abba9","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-2.1.2.tgz","fileCount":9,"integrity":"sha512-cfi7IPHIwEKGIuYBF56oozjFRmSRO9L8Vahri4yjv5qsMipgk6XPpbFwSrtIJvx4QMw1/gj8Yrauqce8RVZd7A==","signatures":[{"sig":"MEUCIQC18TMAKIpL/JtPNzCs6+y4HbKsvRXYS4OPOtPBprNp2AIgV1Xbex7BQXTGiW7q/VhE4C3qt18HJPRKWQFB3J/Btgc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":619061},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.8.0","description":"AI SDK v6 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@ai-sdk/provider":"^3.0.8","@opencode-ai/sdk":"^1.2.15","@ai-sdk/provider-utils":"^4.0.15"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.85","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_2.1.2_1772487708435_0.9772844326152921","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"ai-sdk-provider-opencode-sdk","version":"3.0.0","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@3.0.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"4e68b54aa189d08ce9682cf51af41726ae30e8b1","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-3.0.0.tgz","fileCount":9,"integrity":"sha512-jf2OkztlXMGnDUK+8YUT5F3rbmbBdtJ9ls4zD8EGak37k1haO7H3efGpan1P84+0EFNbOzjoG1BdMy35G0v6mQ==","signatures":[{"sig":"MEUCIQC8hPNgjgqOs2xmegcLYhi97sk9wVOLD3HJ6uYfjgDZvAIgffgZ7RybbqxcsxLJLFxu+/HqXjVxkGn5ol30+kP6x7o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":619112},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v6 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^3.0.8","@opencode-ai/sdk":"^1.2.15","@ai-sdk/provider-utils":"^4.0.15"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.85","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_3.0.0_1773810323056_0.33012903834018603","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"ai-sdk-provider-opencode-sdk","version":"3.0.1","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@3.0.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"6e8ed0c6c4ae10526aac065aeaaa70c595bf4d2c","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-3.0.1.tgz","fileCount":9,"integrity":"sha512-SH8AGNaAQHt3UIlhbMqmomF9M33Hx3F2uc4eFsKcVis+GKqE96hIjMmYep9Om/Dfh8Hnm+1q1ukYpo1X2giL9g==","signatures":[{"sig":"MEUCIQDpaxL1mCtnTFvDe2HPtIhzEu+AySWJktE+3ci52DXVXAIgEcNIhVz27Y4u3YMAK8mTczcxEAGaWM+diwmzmkytcBM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":625257},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.8.0","description":"AI SDK v6 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@ai-sdk/provider":"^3.0.8","@opencode-ai/sdk":"^1.2.15","@ai-sdk/provider-utils":"^4.0.15"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.85","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_3.0.1_1774340600082_0.9092282489212813","host":"s3://npm-registry-packages-npm-production"}},"3.0.2":{"name":"ai-sdk-provider-opencode-sdk","version":"3.0.2","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@3.0.2","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"aaf90016289b11f685a75944b414094245c20d8d","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-3.0.2.tgz","fileCount":9,"integrity":"sha512-X2UDG+gRR7/V8YClSRWKXwCGNIUld8NnkIRXMzPB7MYKiZ0mYm4XJqo1HW9C6UsgNvsuQJBf/LTsFHSnEQF/fw==","signatures":[{"sig":"MEUCIFSC8jUWcJfwVOvA1pENVr10ChywV+//dxeLKxOm86EkAiEA6Iq2hnsdqWvGfYtq1XtIXMaoLg+ym/zumWzCBX4kbRk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":656242},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"05b3626b8a051d9a4bea4bb9aae2fc5ea2471e5a","scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.8.0","description":"AI SDK v6 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@ai-sdk/provider":"^3.0.8","@opencode-ai/sdk":"^1.2.15","@ai-sdk/provider-utils":"^4.0.15"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.85","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_3.0.2_1776028484065_0.04793901717270388","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"ai-sdk-provider-opencode-sdk","version":"0.0.3","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@0.0.3","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"34718ec45c166c4194478bc939f7c3514bdfa549","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-0.0.3.tgz","fileCount":9,"integrity":"sha512-Yy9zCRtYtp8QvuFzHoVd7JXk9Hb6kWJ7dvP/GqUe7njx/zb3JxROEm304zTtQxKCMAKu14OYGqZASs80sDplJQ==","signatures":[{"sig":"MEYCIQDYmHLrz2mt1akIWU9rvndLPBDhWWb2XNZDOSDtWIKYegIhALKKaK/UKFgmTSTbancTHGbGGOkbviPEUlAVl3K7yx9U","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":418518},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v5 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"2.0.0","@opencode-ai/sdk":"^1.0.137","@ai-sdk/provider-utils":"3.0.18"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"5.0.101","zod":"^3.24.0","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.0.0 || ^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_0.0.3_1776180497948_0.5704133600041446","host":"s3://npm-registry-packages-npm-production"}},"3.0.3":{"name":"ai-sdk-provider-opencode-sdk","version":"3.0.3","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@3.0.3","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"296f752596e38ce0b048fd09cccb9b3453169857","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-3.0.3.tgz","fileCount":9,"integrity":"sha512-XxO5eNny2p0waqlPfSc+gNg8FVTdzsqQH0gLH88Vy2kDFPFCtGzccfQcXXOeunMtqKbQT3W6d3KtUC6gtxXvoA==","signatures":[{"sig":"MEUCIGsnuSi2aR0hd4cLepzLRR/hO0i1TouLIXjNvhTY6ysBAiEAhOFFO8P3gtCZbKiD7OYXojuobcURqDldWqyei2GIirA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":671912},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v6 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^3.0.8","@opencode-ai/sdk":"^1.2.15","@ai-sdk/provider-utils":"^4.0.15"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.85","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_3.0.3_1780987988084_0.6543251625481148","host":"s3://npm-registry-packages-npm-production"}},"3.0.4":{"name":"ai-sdk-provider-opencode-sdk","version":"3.0.4","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@3.0.4","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"1adaaa2ff0aad45cb56d1b8bac0cf56f5830e06c","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-3.0.4.tgz","fileCount":9,"integrity":"sha512-DCYjJY4MMuWbIZt6aGTvoOENisJ/47MvGwcHV8qKqxiqnAJEWHHHLVHkv/yog+UoJifYn6+VWbZWuh9pSRqIUA==","signatures":[{"sig":"MEQCIHFU+uQy+N5rG01Ls5jWPo3RBy3ydPAYtP8yj4W4rIMjAiAXIve7ew9UM3Co+9cahVD3+TzjX2ZVxnZSd4BeUKE2xw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":682169},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"c6d2b0b2e071cedfcccb2ee380e95c1c95bace11","scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v6 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^3.0.8","@opencode-ai/sdk":"^1.2.15","@ai-sdk/provider-utils":"^4.0.15"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.85","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_3.0.4_1781166804013_0.6012170665814398","host":"s3://npm-registry-packages-npm-production"}},"3.0.5":{"name":"ai-sdk-provider-opencode-sdk","version":"3.0.5","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@3.0.5","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"5d0bfd53dda8bfdf0685420fa3df3d7f475d1bc1","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-3.0.5.tgz","fileCount":9,"integrity":"sha512-VhIu0h7Wi2CjtLmEEg7mTfpdmo7/HKIAcvpaCcqtLzQzj4pwuekf7VEqyNnMa3INHE/++FJBKgvFk9fmYaZfsQ==","signatures":[{"sig":"MEUCIQDLl7l+cR1ZWcvo7s8kxxHgEbhHUriqnYOl0gaLsr20wwIgefKFLahG5hge/fM5UlsWoIL9YtB6KwB8r+UM4uIAjXw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":698186},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"0e807d1894c02a4e31b8ee1ff0920219b2843406","scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v6 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^3.0.8","@opencode-ai/sdk":"^1.2.15","@ai-sdk/provider-utils":"^4.0.15"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.85","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_3.0.5_1781185429541_0.006243640989637145","host":"s3://npm-registry-packages-npm-production"}},"3.0.6":{"name":"ai-sdk-provider-opencode-sdk","version":"3.0.6","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@3.0.6","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"a56b81ae6f5f7e712d95bf90ea1ff261f6c260dc","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-3.0.6.tgz","fileCount":9,"integrity":"sha512-CZ2I5z96HUdEKAT1ExhdxLE1bjD8efzT7I5GjBevWgwNGgYZjMPE7ZfQCJFVAzWqODwdTdxp7KSZjnmcd4h1Bw==","signatures":[{"sig":"MEYCIQD+92FQ25WqL9EQ6mWcwp7BAHjlGbtIuvMoGoJT4S2BjQIhAOD+cQACuC9BC7OjlpRjTVvthT52wZ2XrekiuDtvzsrh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":721988},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"0a50edd33ec1b2ebdcaa63571a81b355992ea532","scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v6 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^3.0.8","@opencode-ai/sdk":"^1.2.15","@ai-sdk/provider-utils":"^4.0.15"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.85","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_3.0.6_1781200861124_0.33690707184696067","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"ai-sdk-provider-opencode-sdk","version":"4.0.0","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@4.0.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"d7b570849296556b9681571a7a1e645879427012","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-4.0.0.tgz","fileCount":6,"integrity":"sha512-/pJ4L4yssULOx6KS/AdIyG/sIB9do6CFIsvsD/bSYcTF4WMeTI3E2zsAGAvbhF0+1hQY1yradZ+7vbtJ0xeKtw==","signatures":[{"sig":"MEUCIANqMZOw5DIAmh+lh/mCmVZBG94OYEwehHXMoCXqNc/4AiEAsTd+GZqpOj3nNdE6J1PhNugo2gGgvCjTX3hu2xFGDIU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":376777},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"29ed15c023ab1c8bbde6050032ebc164d6cff488","scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.8.0","description":"AI SDK v7 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@ai-sdk/provider":"^4.0.4","@opencode-ai/sdk":"^1.18.11","@ai-sdk/provider-utils":"^5.0.18"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.47","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"^22.10.0","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_4.0.0_1785948715228_0.5547421903688727","host":"s3://npm-registry-packages-npm-production"}},"4.1.0":{"name":"ai-sdk-provider-opencode-sdk","version":"4.1.0","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@4.1.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"449e060ea639be516140585ed80f884e90161ec3","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-4.1.0.tgz","fileCount":6,"integrity":"sha512-BV+XVV5q6IsdaRxAr9qr1hvMBRCz80aGWVwQiGQ5lvMUEqHaJY4hadNxazl5ufAl/+DNFkPSiXDVFTocBaV5ww==","signatures":[{"sig":"MEUCIQCNVpeBNO1sZuAhm3CM/nymkF1LISa44mlTtfLqLhZ5JAIgBOBnrKh0lTX4SV1n8sacsgBYa0K8/6YBIuiIsyZeNtM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":412695},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"ba497c54f59cd4fa855e303d4af662f259007590","scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts","example:question-handling":"npm run build && npx tsx examples/question-handling.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.8.0","description":"AI SDK v7 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@ai-sdk/provider":"^4.0.4","@opencode-ai/sdk":"^1.18.11","@ai-sdk/provider-utils":"^5.0.18"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.47","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"^22.10.0","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_4.1.0_1785960784140_0.5188951436034779","host":"s3://npm-registry-packages-npm-production"}},"5.0.0-beta.1":{"name":"ai-sdk-provider-opencode-sdk","version":"5.0.0-beta.1","keywords":["ai-sdk","ai-sdk-provider","vercel-ai-sdk","opencode","opencode-v2","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@5.0.0-beta.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"a199a93466053cd93a0c745d03128e489794b462","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-5.0.0-beta.1.tgz","fileCount":7,"integrity":"sha512-rMIfyr7rqWNfMYUbFFaZlhLvLzJ/NwZ49tiIjK7Rv7Ij/sl15Aq/DIxDHY3xnRxq0GLtB0N0swsaJdlAHjxicQ==","signatures":[{"sig":"MEQCIHejHjA5AO7EFnu0ULinLQCPKXvMxiPz5F5Zl8MDrqEWAiBzv4QuuasIqII6HAG0pIWHVMqq+D16soFO7Cf3rrA93w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":693228},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:abort":"npm run build && npx tsx examples/abort-signal.ts","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","test:integration":"vitest run --config integration/vitest.config.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:form-handling":"npm run build && npx tsx examples/form-handling.ts","example:tool-approval":"npm run build && npx tsx examples/tool-approval.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.8.0","description":"AI SDK v7 provider for OpenCode v2 (beta) via @opencode-ai/client: sessions, streaming, tool approvals, and interactive forms","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@ai-sdk/provider":"^4.0.4","@opencode-ai/client":"0.0.0-beta-18286","@ai-sdk/provider-utils":"^5.0.18"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"^7.0.47","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"^22.10.0","opencode-ai":"0.0.0-dev-202608261632","@opencode-ai/cli":"0.0.0-beta-18286","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","opencode-sdk-v2-beta":"npm:@opencode-ai/sdk@0.0.0-beta-18286","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_5.0.0-beta.1_1787858398374_0.5633053884646722","host":"s3://npm-registry-packages-npm-production"}},"4.1.1":{"name":"ai-sdk-provider-opencode-sdk","version":"4.1.1","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@4.1.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"f652e2bf0412074774df029904306ab780551c29","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-4.1.1.tgz","fileCount":6,"integrity":"sha512-KlUnPH4V2mqC3XZ/3itCJ6Ppb7DU0IrI7j58rKWPgQPenRDsppg5ubEHElRZxFrp+tllo2/OcrapLE15OycJiw==","signatures":[{"sig":"MEUCIQC3f71Etedz79f1pFXc1MgpXTfoz5QsYyNIKZqNp24BBQIgH2LIng7ZW7gHw4o9vTVTWBW9NjS+KsE73Lv/R3vPkHA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDagYrUTTrbW7seILGzaLNtzJ494DQneAizsUaR0gvOVwIhALoSiMWOVhwpYmeMa2ei+pil+qvt8xs9VFoz21EVRMTc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":414564},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts","example:question-handling":"npm run build && npx tsx examples/question-handling.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.19.0","description":"AI SDK v7 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"@ai-sdk/provider":"^4.0.4","@opencode-ai/sdk":"^1.18.11","@ai-sdk/provider-utils":"^5.0.18"},"publishConfig":{"tag":"opencode-v1","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"^7.0.47","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"^22.10.0","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_4.1.1_1791310395021_0.31187923479159774","host":"s3://npm-registry-packages-npm-production"}},"5.0.0":{"name":"ai-sdk-provider-opencode-sdk","version":"5.0.0","keywords":["ai-sdk","ai-sdk-provider","vercel-ai-sdk","opencode","opencode-v2","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@5.0.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"eef36f00ae72b6e4da2dc14fcaf222a017b775ec","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-5.0.0.tgz","fileCount":7,"integrity":"sha512-zBrk12RDs5/+efnEMAtoPLCmSco1uNqix4zbU/OXHulDG1RFF00G9jWoHmfdRkJQRGPRh06f2aF3d3ixEvhZOg==","signatures":[{"sig":"MEUCIEN1P2RIJWrGYWRA/xx0RUKAo2K+K5DhorocD1epaW+gAiEA2pEYd0nRlM01oANxkQ4EgUTOAabxvSvYm7vuIWpQka8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIFtYxhAX+ONJXek6PW0WxQB41phnKPhK+4IRh4kJqn28AiEA+BTQMjB/XIj/3uQEZJeey9wbUVqDy1OZG/kTFe2/EjI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":752702},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"c1090af5adda707a5c4243bec312f74132795158","scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:abort":"npm run build && npx tsx examples/abort-signal.ts","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","test:integration":"vitest run --config integration/vitest.config.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:form-handling":"npm run build && npx tsx examples/form-handling.ts","example:tool-approval":"npm run build && npx tsx examples/tool-approval.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.19.0","description":"AI SDK v7 provider for OpenCode 2.x via @opencode/client: sessions, streaming, tool approvals, and interactive forms","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"@ai-sdk/provider":"^4.0.4","@opencode/client":"2.0.24","@ai-sdk/provider-utils":"^5.0.18"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.47","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"^22.10.0","@opencode/cli":"2.0.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_5.0.0_1791310692148_0.5845646666255633","host":"s3://npm-registry-packages-npm-production"}},"3.0.7":{"name":"ai-sdk-provider-opencode-sdk","version":"3.0.7","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@3.0.7","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"433b700267176959848ae48beaba4fa64aee0154","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-3.0.7.tgz","fileCount":9,"integrity":"sha512-irHcJ6/3c5txvos5mEFpf5mqwsYuNvSwh53P4Szq0MKh0c5+Hn+4w3nx2Nj1TRnUMCqc4Jz+OTkUhuNgrzknrg==","signatures":[{"sig":"MEQCIA4benIYE0jx5W1pjg2AHaSykTIDi5tPztc0s10MuUX5AiAn4vacIVrlgcZjrQwmi1HEpYVMK6o2VpApFQQC21Dh0A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDHB61W9H+6WQRnPel6nG4JyHw+e/lBbrW4RrPrJoD6mwIhAJ+H+X8VcTDm9oPfN3BUtwADyWMp4d9M05w0+LDSL+dM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":729962},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.19.0","description":"AI SDK v6 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"@ai-sdk/provider":"^3.0.8","@opencode-ai/sdk":"^1.2.15","@ai-sdk/provider-utils":"^4.0.15"},"publishConfig":{"tag":"ai-sdk-v6","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"^6.0.85","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_3.0.7_1791315508025_0.18245311911337447","host":"s3://npm-registry-packages-npm-production"}},"4.1.2":{"name":"ai-sdk-provider-opencode-sdk","version":"4.1.2","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@4.1.2","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"2779e5fb725d377596e8473c1ddbcaf763c79909","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-4.1.2.tgz","fileCount":6,"integrity":"sha512-EK5yACferShxm7rnFrTiv6lgruO+EFYAiVtAIwgN8k9CseQ7W9olVTMf3VkqY76xu5qmFGFkTCOpulQ3mZm+cw==","signatures":[{"sig":"MEUCIQDsxSiGmHx+6bokOKvaTlXb6daNzMWQMfGdOp3Jg2VtpAIgaRXu5nVA15pOOfSwHvcvSLv6HlWQXhdCMN/VY+N6t0I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDD77HXrBFtEwPUR7dFDIM80wVPAxNhsVW8QJQ+8rja4gIgBpUOAizeo9nnSlXJjvIb06C2BvLMq9M0jvwHi8WqV7g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":416600},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts","example:question-handling":"npm run build && npx tsx examples/question-handling.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.19.0","description":"AI SDK v7 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"@ai-sdk/provider":"^4.0.4","@opencode-ai/sdk":"^1.18.11","@ai-sdk/provider-utils":"^5.0.18"},"publishConfig":{"tag":"opencode-v1","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"^7.0.47","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"^22.10.0","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_4.1.2_1791315564196_0.5382870534276674","host":"s3://npm-registry-packages-npm-production"}},"3.0.8":{"name":"ai-sdk-provider-opencode-sdk","version":"3.0.8","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@3.0.8","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"90cbdafda69db0c884e4ed023c8a8fc6970ad16d","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-3.0.8.tgz","fileCount":9,"integrity":"sha512-m/zb4r/D6advLhp0vBQQOM+7dKCqW6lOyBV6sTvNCMZun6aAJX3/qm3D4SKRIPQMtjViKZqSG5Hp3Pha3LJVPQ==","signatures":[{"sig":"MEYCIQCkpgiFLhrZGis+/40a1Dlk66K3ZaMAQ1d2D+vVoRr2bwIhAJ0FjtG5R3XZA6bsVHDK2WltoIkS4QoIZpQNaqKTafwW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDIyWZHY4iykwcHxldHrAdrvCxthTehBCWvXPHQI1sgUgIgVmoSuFXYTv6J4H8yegXz+Hl7oOO9XaAgAGafgRt0Rj4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":735038},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.19.0","description":"AI SDK v6 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"@ai-sdk/provider":"^3.0.8","@opencode-ai/sdk":"^1.2.15","@ai-sdk/provider-utils":"^4.0.15"},"publishConfig":{"tag":"ai-sdk-v6","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"^6.0.85","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"20.17.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_3.0.8_1791324689545_0.4627389342472583","host":"s3://npm-registry-packages-npm-production"}},"4.1.3":{"name":"ai-sdk-provider-opencode-sdk","version":"4.1.3","keywords":["ai-sdk","opencode","opencode-sdk","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-opencode-sdk@4.1.3","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"06df04872b5557eff366f534801e99ad2d7cc2ad","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-4.1.3.tgz","fileCount":6,"integrity":"sha512-bK8Lqb90FAsEUVrwFl9JZ/GN3ZUiBNFVlr7SbSxQqRdFgj06uc5a1t8RKIteqOeJneHWUPH36lmcwmzHknNXgw==","signatures":[{"sig":"MEYCIQCDFRkov8E3Sf80n7ii454V2pAZsgR0bYbwdZj8o0hpXQIhAK3efiF6Ruw4ajzFcpcwR5jX4WNjGg4fY+//N625RarU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIEJJwUTWpHCVRL0U6c7aq3zaNRQuC05xnJezI1klQFUjAiEAiZ7T3hV4Adu3NitC44jtWRzZ5ucdVSl7SNdfJGDcr/o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":419138},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts","example:question-handling":"npm run build && npx tsx examples/question-handling.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.19.0","description":"AI SDK v7 provider for OpenCode via @opencode-ai/sdk","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"@ai-sdk/provider":"^4.0.4","@opencode-ai/sdk":"^1.18.11","@ai-sdk/provider-utils":"^5.0.18"},"publishConfig":{"tag":"opencode-v1","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"^7.0.47","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"^22.10.0","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-opencode-sdk_4.1.3_1791324745910_0.8585408409755035","host":"s3://npm-registry-packages-npm-production"}},"5.0.1":{"_id":"ai-sdk-provider-opencode-sdk@5.0.1","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"dist":{"shasum":"a2ae660859b1170cbc6c228fda87f1cf97c21181","tarball":"https://registry.npmjs.org/ai-sdk-provider-opencode-sdk/-/ai-sdk-provider-opencode-sdk-5.0.1.tgz","fileCount":7,"integrity":"sha512-BCikRzDoPScCO47OD3/4P7cSilhB6FIQc7NV+tpSHoi5CGahIexoN7akICTbzTU+y8DHeeiRkAM5DQy1/ChUGA==","signatures":[{"sig":"MEYCIQDOiqJjGPExIbEBn5R9EPkI5+PXLy5TSsrA+O4E3j4haAIhAOU3EtAxM8Zg4yePrVaGIKiAKTah493vdirBjhkrlNmV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDNweE+w/oXV8puurj1KhrZ32t0bcUQpS6oU2YoyETTpgIgbXvpfT9lCaLBQcP43XgK/Fxg8AL9FzwPcBmazbsvqF4="}],"unpackedSize":776570},"main":"./dist/index.js","name":"ai-sdk-provider-opencode-sdk","type":"module","types":"./dist/index.d.ts","author":{"name":"Ben Vargas"},"engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"09b6b45c5e866babee6380a6a230d0470d687706","license":"MIT","scripts":{"ci":"npm run typecheck && npm run lint && npm run test","dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write .","prepare":"npm run build","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","example:abort":"npm run build && npx tsx examples/abort-signal.ts","example:basic":"npm run build && npx tsx examples/basic-usage.ts","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","test:integration":"vitest run --config integration/vitest.config.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:form-handling":"npm run build && npx tsx examples/form-handling.ts","example:tool-approval":"npm run build && npx tsx examples/tool-approval.ts","example:client-options":"npm run build && npx tsx examples/client-options.ts"},"version":"5.0.1","_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","keywords":["ai-sdk","ai-sdk-provider","vercel-ai-sdk","opencode","opencode-v2","opencode-sdk","language-model","llm"],"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"_npmVersion":"11.19.0","description":"AI SDK v7 provider for OpenCode 2.x via @opencode/client: sessions, streaming, tool approvals, and interactive forms","directories":{},"maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"@ai-sdk/provider":"^4.0.4","@opencode/client":"2.0.24","@ai-sdk/provider-utils":"^5.0.18"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.47","zod":"^4.3.4","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","prettier":"^3.6.2","@eslint/js":"^9.39.1","typescript":"5.6.3","@types/node":"^22.10.0","@opencode/cli":"2.0.24","typescript-eslint":"^8.49.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.25.76 || ^4.1.8"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ai-sdk-provider-opencode-sdk_5.0.1_1791324802929_0.7762319591021385"}}},"time":{"created":"2025-12-11T00:32:57.403Z","modified":"2026-10-06T22:13:23.231Z","0.0.1":"2025-12-11T00:32:57.633Z","0.0.2":"2025-12-11T00:44:55.412Z","1.0.0":"2026-01-02T01:02:39.953Z","2.0.0":"2026-02-13T20:46:56.375Z","2.1.0":"2026-02-19T00:02:14.178Z","2.1.1":"2026-02-19T23:15:46.950Z","2.1.2":"2026-03-02T21:41:48.642Z","3.0.0":"2026-03-18T05:05:23.268Z","3.0.1":"2026-03-24T08:23:20.223Z","3.0.2":"2026-04-12T21:14:44.212Z","0.0.3":"2026-04-14T15:28:18.087Z","3.0.3":"2026-06-09T06:53:08.267Z","3.0.4":"2026-06-11T08:33:24.193Z","3.0.5":"2026-06-11T13:43:49.710Z","3.0.6":"2026-06-11T18:01:01.335Z","4.0.0":"2026-08-05T16:51:55.385Z","4.1.0":"2026-08-05T20:13:04.318Z","5.0.0-beta.1":"2026-08-27T19:19:58.520Z","4.1.1":"2026-10-06T18:13:15.164Z","5.0.0":"2026-10-06T18:18:12.246Z","3.0.7":"2026-10-06T19:38:28.121Z","4.1.2":"2026-10-06T19:39:24.339Z","3.0.8":"2026-10-06T22:11:29.644Z","4.1.3":"2026-10-06T22:12:26.008Z","5.0.1":"2026-10-06T22:13:23.076Z"},"bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/issues"},"author":{"name":"Ben Vargas"},"license":"MIT","homepage":"https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk","keywords":["ai-sdk","ai-sdk-provider","vercel-ai-sdk","opencode","opencode-v2","opencode-sdk","language-model","llm"],"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk.git","type":"git"},"description":"AI SDK v7 provider for OpenCode 2.x via @opencode/client: sessions, streaming, tool approvals, and interactive forms","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"readme":"<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/ai-sdk-provider-opencode-sdk\"><img src=\"https://img.shields.io/npm/v/ai-sdk-provider-opencode-sdk?color=00A79E\" alt=\"npm version\" /></a>\n  <a href=\"https://www.npmjs.com/package/ai-sdk-provider-opencode-sdk\"><img src=\"https://img.shields.io/npm/unpacked-size/ai-sdk-provider-opencode-sdk?color=00A79E\" alt=\"install size\" /></a>\n  <a href=\"https://www.npmjs.com/package/ai-sdk-provider-opencode-sdk\"><img src=\"https://img.shields.io/npm/dy/ai-sdk-provider-opencode-sdk.svg?color=00A79E\" alt=\"npm downloads\" /></a>\n  <a href=\"https://nodejs.org/en/about/releases/\"><img src=\"https://img.shields.io/badge/node-%3E%3D22-00A79E\" alt=\"Node.js ≥ 22\" /></a>\n  <a href=\"https://www.npmjs.com/package/ai-sdk-provider-opencode-sdk\"><img src=\"https://img.shields.io/npm/l/ai-sdk-provider-opencode-sdk?color=00A79E\" alt=\"License: MIT\" /></a>\n</p>\n\n# AI SDK Provider for OpenCode\n\n> **5.x targets OpenCode 2.x.** Still running an OpenCode 1.x server? Use the 4.x line: `npm install ai-sdk-provider-opencode-sdk@opencode-v1`. Not sure which you have? See [Which version do I need?](#which-version-do-i-need)\n\nA community provider for the [Vercel AI SDK](https://sdk.vercel.ai/docs) (v7) that runs generations through an [OpenCode](https://opencode.ai) **2.x** server via `@opencode/client`. OpenCode is an AI coding agent: it owns the model catalog, executes tools server-side, and manages sessions; this provider maps that onto `generateText()` / `streamText()` with tool observation, two-phase tool approvals, interactive forms, and native usage/cost metadata.\n\n## Which version do I need?\n\nTwo things decide it: your **AI SDK** major version and your **OpenCode server** major version.\n\n|               | OpenCode 2.x                                   | OpenCode 1.x                                                  |\n| ------------- | ---------------------------------------------- | ------------------------------------------------------------- |\n| **AI SDK v7** | **5.x** — `npm i ai-sdk-provider-opencode-sdk` | 4.x — `npm i ai-sdk-provider-opencode-sdk@opencode-v1`        |\n| **AI SDK v6** | not supported                                  | 3.x (legacy) — `npm i ai-sdk-provider-opencode-sdk@ai-sdk-v6` |\n| **AI SDK v5** | not supported                                  | 0.x (legacy) — `npm i ai-sdk-provider-opencode-sdk@ai-sdk-v5` |\n\n**Which OpenCode do I have?** `opencode --version` prints `opencode v2.x.y` on OpenCode 2 and a bare `1.x.y` on OpenCode 1. A running 2.x server also answers `GET /api/info` with its version; a 1.x server has no such route. Note that the npm package **`opencode-ai` is OpenCode 1.x** — OpenCode 2.x is published as **`@opencode/cli`**.\n\n## Version compatibility\n\n| Provider | AI SDK | OpenCode server                              | npm tag       | Branch                                                                                       | Status      |\n| -------- | ------ | -------------------------------------------- | ------------- | -------------------------------------------------------------------------------------------- | ----------- |\n| 5.x      | v7     | 2.x (`@opencode/cli`; tested against 2.0.24) | `latest`      | `main`                                                                                       | Active      |\n| 4.x      | v7     | 1.x (`opencode-ai`)                          | `opencode-v1` | [`opencode-v1`](https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/tree/opencode-v1) | Maintenance |\n| 3.x      | v6     | 1.x                                          | `ai-sdk-v6`   | [`ai-sdk-v6`](https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/tree/ai-sdk-v6)     | Legacy      |\n| 2.x, 1.x | v6     | 1.x                                          | —             | historical                                                                                   | Legacy      |\n| 0.x      | v5     | 1.x                                          | `ai-sdk-v5`   | [`ai-sdk-v5`](https://github.com/ben-vargas/ai-sdk-provider-opencode-sdk/tree/ai-sdk-v5)     | Legacy      |\n\n**Maintenance** lines get bug fixes; **Legacy** lines stay installable but receive no further releases.\n\n**Upgrading from 4.x?** OpenCode 2.x is a new backend, not an SDK bump, and most settings changed — see **[docs/migrating-v4-to-v5.md](docs/migrating-v4-to-v5.md)** and the [CHANGELOG](CHANGELOG.md).\n\n## Server\n\n5.x pins `@opencode/client@2.0.24`. Run the matching server from the published **`@opencode/cli`** (binary `opencode`, also exposed as `opencode2`), or use the `opencode` 2.x binary from the official installer:\n\n```bash\nOPENCODE_PASSWORD=<password> npx @opencode/cli@2.0.24 serve --port 4096\n```\n\n`serve` requires HTTP Basic auth on every route: username `opencode`, password from `OPENCODE_PASSWORD` or printed at startup as `server password <...>`. A server without the 2.x `/api/info` route (OpenCode 1.x, or the pre-2.0 beta builds) is reported as incompatible on first use.\n\n## Requirements\n\n- Node.js >= 22\n- An OpenCode 2.x server — `npx @opencode/cli@2.0.24 serve` (note the package is `@opencode/cli`, **not** `opencode-ai`)\n- Credentials on that server for the providers you want to use. The OpenCode zen free tier works without credentials on 2.x.\n\n```bash\nnpm install ai-sdk-provider-opencode-sdk ai@^7.0.0\n```\n\n## Quick start\n\nThe 2.x server requires Basic auth (`opencode:<password>`) on every route:\n\n```typescript\nimport { generateText } from \"ai\";\nimport { createOpencode } from \"ai-sdk-provider-opencode-sdk\";\n\n// the password the server was started with (`OPENCODE_PASSWORD`)\nconst password = process.env.OPENCODE_PASSWORD ?? \"\";\n\nconst opencode = createOpencode({\n  baseUrl: \"http://127.0.0.1:4096\",\n  clientOptions: {\n    headers: {\n      Authorization:\n        \"Basic \" + Buffer.from(`opencode:${password}`).toString(\"base64\"),\n    },\n  },\n});\n\nconst result = await generateText({\n  model: opencode(\"opencode/nemotron-3.5-lightning-free\"),\n  prompt: \"What is the capital of France?\",\n});\n\nconsole.log(result.text);\nawait opencode.dispose();\n```\n\n### Backends\n\n`createOpencode` selects exactly one backend, in precedence order:\n\n1. **`client`** — a caller-supplied `OpenCode.make(...)` client. Used as-is; the provider never closes it.\n\n   ```typescript\n   import { OpenCode } from \"@opencode/client\";\n   const client = OpenCode.make({ baseUrl, headers });\n   const opencode = createOpencode({ client });\n   ```\n\n2. **`clientManager`** — a caller-supplied manager (advanced injection seam; see `createClientManagerFromPort`). Never disposed by the provider.\n\n3. **`baseUrl`** — the provider constructs the client with `clientOptions` (`headers`, `fetch`).\n\n4. **Service discovery** — `Service.discover()` via the local registration file, with the registered endpoint's auth merged automatically. `opencode serve --service` writes `$XDG_STATE_HOME/opencode/service.json` (`{id, version, url, pid, password}`) and binds a fixed port (49374). `autoStart: true` additionally spawns one via `Service.ensure`, whose default command is `opencode serve --service` — that `opencode` must be the 2.x binary (a v1 `opencode` from `opencode-ai` has no `--service` flag), or pass `service.command` explicitly. Auto-start is opt-in because it leaves a long-lived background service running. The zero-config default provider (`import { opencode }`) works once a registered service exists.\n\nEvery backend runs a connection preflight (`server.info` + `migration.v1.status`) on first use; a server without `/api/info` is reported as an incompatible pre-2.0 build.\n\n### Model IDs\n\nModels are `providerID/modelID` strings from your server's catalog (`model.list`); a bare `modelID` omits the model at session create so the server default applies. `OpencodeModels` exports shortcuts for three OpenCode zen free-tier IDs, each present in a live 2.0.24 catalog and in the upstream models.dev catalog (no credentials needed on 2.x; the free tier churns and catalogs are server-dependent, so any ID your own catalog lists works — the shortcuts are a convenience, not a limit):\n\n```typescript\nimport { OpencodeModels } from \"ai-sdk-provider-opencode-sdk\";\nopencode(OpencodeModels[\"big-pickle\"]); // \"opencode/big-pickle\"\n```\n\n## Sessions and conversations\n\nOpenCode owns the transcript: model and agent are **session state**, and a prompt sends only new user text. The binding rule is **one model instance = one conversation = one pinned session**:\n\n```typescript\nconst model = opencode(\"opencode/big-pickle\", { sessionTitle: \"My run\" });\n\nconst r1 = await generateText({ model, prompt: \"My name is Alice.\" });\nconst r2 = await generateText({ model, prompt: \"What is my name?\" }); // same session\n\nconst sessionId = r1.finalStep.providerMetadata?.opencode?.sessionId;\n```\n\nSession state is **model-instance-local**: the instance creates or pins a session on first use and reuses it for every later call on that instance. Nothing outlives the instance — no session ID is persisted, and each `opencode(...)` call builds a new model. `sessionMode` selects which session that is:\n\n- `\"ephemeral\"` (default) — the provider creates a session on first use and owns it exclusively (it survives tool-approval round-trips).\n- `\"existing\"` — pin the session given by `sessionId` (implied when `sessionId` is set without a mode). **Shared-session caveat:** OpenCode 2.x has no inbox→execution correlation key, so events from other clients on the same session (e.g. a TUI) can be misattributed to your call. Use exclusively-owned sessions unless you accept that.\n\nFor a fresh session on every ordinary call, use `createNewSession: true` (approval continuations still reattach to the blocked session).\n\nPer call, `providerOptions.opencode.sessionId` targets an existing session for that one request, and `providerOptions.opencode.id` sets the prompt's user-message ID (a `msg_`-prefixed id; when omitted the provider generates one, which it uses to correlate the turn's own events):\n\n```typescript\nawait generateText({\n  model,\n  prompt: \"...\",\n  providerOptions: { opencode: { sessionId: \"ses_...\" } },\n});\n```\n\nPrompts to a busy session use `delivery: \"queue\"` by default (the provider always sends it explicitly — the _server_ default is `\"steer\"`, which injects the prompt into the in-flight turn as mid-turn context rather than starting or superseding one).\n\n## Tool observation and approvals\n\nOpenCode executes its own tools server-side. You **cannot** supply tool implementations — AI SDK `tools`/`toolChoice` are ignored with a warning — but tool activity streams through as standard AI SDK parts (`tool-call`, `tool-result`, incremental `tool-input-delta`), and tool-produced files surface as `file`/`source` parts.\n\nWhen the server's permission config requires approval (e.g. `permission: { shell: \"ask\" }` — the 2.x shell tool is named `shell`), the flow is two-phase:\n\n1. The call finishes with a `tool-approval-request` content part; the session stays pinned on the model instance.\n2. Call the **same model instance** again with the prior history plus a `tool-approval-response` part (`{ approvalId, approved }`). The provider sends `permission.reply` and resumes the **original** blocked execution — no new prompt is sent.\n\nPending/replied approval IDs are reported under `providerMetadata.opencode`. See [`examples/tool-approval.ts`](examples/tool-approval.ts) for the full round-trip.\n\nRejecting depends on whether you give a reason. With `{ approved: false, reason: \"…\" }` the reason reaches the model as tool feedback and the turn continues (typically finishing `stop`). With no reason, OpenCode 2.0.24 ends the execution as interrupted with reason `\"shutdown\"` — the same label as a real server shutdown — so phase 2 finishes with `error` (raw `interrupted:shutdown`); the session stays usable for the next prompt. The provider cannot tell those two shutdowns apart (`repliedApprovalIds` lists approvals and rejections alike), so keep your own record of the decision if you need it — see [`docs/known-upstream-issues/decline-interrupt-reason.md`](docs/known-upstream-issues/decline-interrupt-reason.md).\n\n## Interactive forms (`onForm`)\n\nForms are v2's replacement for v1 questions: typed, keyed fields answered with a keyed record (not positional arrays).\n\n```typescript\nconst model = opencode(\"opencode/big-pickle\", {\n  onForm: (form) => ({\n    type: \"answer\",\n    answer: { environment: \"staging\", confirm: true },\n  }),\n  formPolicy: \"cancel\", // applies when NO handler is set: \"cancel\" (default) settles the form, \"wait\" leaves it pending for an external client\n});\n```\n\nReturn `{ type: \"cancel\" }` to decline. A configured handler that **throws** is not covered by `formPolicy` — that form is always cancelled, under either policy. Handled form IDs appear in `providerMetadata.opencode.formIds`.\n\nForm lifecycle, per the OpenCode source (`packages/core/src/form.ts` @ `v2.0.24`): a tool that asks a form suspends on it until the form is replied to or cancelled, and both outcomes resolve that wait — so cancelling does unblock the tool, though the tool may then fail its call (the built-in websearch tool does).\n\nThe built-in `question` tool asks through a form (one `string` or `multiselect` field per question, keyed `q0`, `q1`, …, options from the model's choices), so asking the model to use it is the most reliable way to trigger one (it is still the model's choice). Verified live against 2.0.24 with [`examples/form-handling.ts`](examples/form-handling.ts): an answer resumes the turn and the model uses it. Cancelling a `question` form — returning `{ type: \"cancel\" }`, the default `formPolicy` with no handler, or a throwing handler — ends the turn the same way a reasonless rejection does (`error`, raw `interrupted:shutdown`). `formIds` lists every form surfaced in the call, answered or cancelled, so it is correlation context, not proof that a cancel caused the interrupt.\n\n## Structured output: honest status\n\n**OpenCode v2 has no server-side structured output.** The v1 `json_schema` format is gone from the prompt contract, so this provider cannot enforce a schema. What it does instead:\n\n- `responseFormat: { type: \"json\" }` appends a prompt-engineered JSON instruction (schema included when provided) and emits an unsupported-format **warning** — the model may still deviate.\n- Opt-in `jsonRepair: { maxAttempts }` (non-streaming only): the final text is validated client-side (`JSON.parse` + structural check against the schema); on failure the server's session-less `generate.text` route is asked to repair the output, bounded by `maxAttempts`. The original turn is never replayed, so tool side effects cannot repeat.\n\nAlways validate the result yourself (the AI SDK's object helpers re-validate — expect failures to surface there). Never assume enforcement.\n\n## Files and images\n\nThe v2 prompt accepts files only as URIs, and **`data:` URIs are the only portable scheme**: 2.x also reads `file:` URIs, but from the _server's_ filesystem, and rejects other schemes at prompt time. The provider therefore:\n\n- advertises `supportedUrls: {}`, so the AI SDK downloads remote URLs to bytes before the provider sees them;\n- converts bytes to `data:` URIs with the correct media type (the server trusts the URI's declared mediatype);\n- warns and skips anything it cannot convert, instead of letting the turn fail late.\n\nA `resolveFileToUri` hook lets you customize the conversion; it must return a `data:` URI (or `undefined` to skip).\n\n```typescript\nawait generateText({\n  model,\n  messages: [\n    {\n      role: \"user\",\n      content: [\n        { type: \"text\", text: \"What color is this image?\" },\n        { type: \"file\", mediaType: \"image/png\", data: pngBytes },\n      ],\n    },\n  ],\n});\n```\n\n## Settings reference\n\n### Provider settings (`createOpencode(...)`)\n\n| Setting           | Type                                            | Notes                                                          |\n| ----------------- | ----------------------------------------------- | -------------------------------------------------------------- |\n| `client`          | `OpencodeClient`                                | Caller-supplied v2 client; highest precedence, never disposed  |\n| `clientManager`   | `OpencodeClientManager`                         | Caller-supplied manager; never disposed                        |\n| `baseUrl`         | `string`                                        | Explicit server URL                                            |\n| `service`         | `{ file?, version?, command?, env?, onStart? }` | Local-service discovery options                                |\n| `autoStart`       | `boolean` (default `false`)                     | Spawn via `Service.ensure` when discovery finds nothing        |\n| `clientOptions`   | `{ headers?, fetch? }`                          | Client construction passthrough for `baseUrl`/service backends |\n| `defaultSettings` | `OpencodeSettings`                              | Defaults merged under per-model settings                       |\n\n### Model settings (`opencode(modelId, {...})`)\n\n| Setting                 | Type                          | Notes                                                                                                                                                                                                                                                                                   |\n| ----------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `sessionId`             | `string`                      | Pin an existing session (shared-session caveat)                                                                                                                                                                                                                                         |\n| `sessionMode`           | `\"ephemeral\" \\| \"existing\"`   | Default `\"ephemeral\"` (see above)                                                                                                                                                                                                                                                       |\n| `createNewSession`      | `boolean`                     | Fresh session per ordinary call; approval continuations still reattach to the blocked session                                                                                                                                                                                           |\n| `sessionTitle`          | `string`                      | Title for created sessions                                                                                                                                                                                                                                                              |\n| `agent`                 | `string`                      | Session state, set at create                                                                                                                                                                                                                                                            |\n| `systemPrompt`          | `string`                      | Written as a session instruction entry (`ai-sdk.system`) — stays in effect for later turns until replaced or cleared. AI SDK `system:` messages are joined after it. Falls back to a delimited prepend + warning when the route is absent or the value exceeds the server's 256 KiB cap |\n| `variant`               | `string`                      | Model variant (requires a resolvable `providerID`)                                                                                                                                                                                                                                      |\n| `location`              | `{ directory }`               | Session location, bound at create (replaces v4 `directory`/`cwd`)                                                                                                                                                                                                                       |\n| `directory`             | `string`                      | Deprecated alias for `location.directory`                                                                                                                                                                                                                                               |\n| `delivery`              | `\"queue\" \\| \"steer\"`          | Busy-session delivery; provider default `\"queue\"`, sent explicitly                                                                                                                                                                                                                      |\n| `resume`                | `boolean`                     | v2 `resume` flag (semantics provisional upstream)                                                                                                                                                                                                                                       |\n| `onForm` / `formPolicy` | see above                     | Forms handling; policy default `\"cancel\"`                                                                                                                                                                                                                                               |\n| `resolveFileToUri`      | hook                          | Custom file→`data:` URI resolution                                                                                                                                                                                                                                                      |\n| `jsonRepair`            | `{ maxAttempts? }`            | Opt-in client-side JSON validate/repair (non-streaming)                                                                                                                                                                                                                                 |\n| `logger` / `verbose`    | `Logger \\| false` / `boolean` | Logging                                                                                                                                                                                                                                                                                 |\n\n### Response metadata\n\n`providerMetadata.opencode` carries: `sessionId`, `messageId`, `inboxId`, `approvalRequestId(s)`, `repliedApprovalIds`, `formIds`, native `finish`/`rawFinish`, `outcome` (`succeeded`/`failed`/`interrupted`), `interruptReason`, `cost` (USD), native `tokens` (incl. cache read/write), structured `error`, and `retry` info.\n\n## Limitations (v2 network contract)\n\n- **No custom tools** — AI SDK `tools`/`toolChoice` are ignored (warning). Tool availability is server/agent configuration.\n- **No sampling parameters** — `temperature`, `topP`, `topK`, `maxOutputTokens`, etc. have no v2 prompt field; they are ignored with a warning.\n- **System prompts have no per-prompt channel** — `systemPrompt` and `system:` messages are delivered as a session instruction entry (`ai-sdk.system`) that applies to the whole session, not per call: changing the system text mid-conversation rewrites the entry (announced as a durable system message) rather than scoping it to one turn. Servers without the entry route, or values over the 256 KiB cap, fall back to the delimited prepend with a warning.\n- **Event-stream headers** — `@opencode/client` 2.x shares one SSE connection per client and drops per-request headers on the event subscription; only client-level headers (`clientOptions.headers`, service auth) reach `/api/event`. Per-call `headers` still apply to every other request.\n- **No native structured output** — see above.\n- **Assistant file outputs** — v2 assistant messages carry only text/reasoning/tool content; files surface only inside tool results.\n- **Multi-turn AI SDK history** — on a fresh session, prior history is serialized into a delimited transcript in the first turn (OpenCode owns the real transcript; reuse one model instance instead where possible).\n- **Steer delivery** — verified as mid-turn context injection: it does not interrupt or supersede the running turn and produces no dedicated answer of its own.\n- **Shared sessions** — no inbox→execution correlation key; exclusivity is a documented caveat, not enforceable.\n\n## Error handling\n\nErrors are normalized to AI SDK error types (`APICallError` etc.) with phase-aware retryability: **nothing is surfaced as retryable once a prompt has been dispatched** (an SDK-level retry would enqueue duplicate work). Post-dispatch failures of the transient class — a dropped event stream, where the turn may still be running server-side — additionally attempt internal reconciliation against the session's message store; every other post-dispatch failure, and a reconciliation that recovers nothing, surfaces as an `error` part plus an error finish. Non-retryable is the guarantee; reconciliation is best-effort on top of it. Helpers:\n\n```typescript\nimport {\n  isAbortError,\n  isClientError,\n  getClientErrorStatus,\n  extractErrorMessage,\n} from \"ai-sdk-provider-opencode-sdk\";\n```\n\n## Cleanup\n\n```typescript\nawait opencode.dispose();\n```\n\n`dispose()` releases provider-owned resources only: it never closes caller-supplied clients, never disposes injected managers, and never stops a registered service — with one exception, a service the provider itself spawned in owned mode (a dedicated `service.file` + `autoStart`, where `Service.ensure` actually started the process rather than reusing one already registered there). `provider.getClientManager().stopService()` is the explicit, user-invoked stop.\n\n## Examples\n\nAll examples need a running OpenCode 2.x server — see [`examples/env.ts`](examples/env.ts) for the environment variables (`OPENCODE_URL`, `OPENCODE_PASSWORD`, `OPENCODE_MODEL`, `OPENCODE_DIRECTORY`).\n\n- [`examples/basic-usage.ts`](examples/basic-usage.ts) — minimal `generateText` (`npm run example:basic`)\n- [`examples/streaming.ts`](examples/streaming.ts) — streaming deltas + final usage (`npm run example:streaming`)\n- [`examples/form-handling.ts`](examples/form-handling.ts) — `onForm` wiring (`npm run example:form-handling`)\n- [`examples/tool-approval.ts`](examples/tool-approval.ts) — two-phase approval round-trip (`npm run example:tool-approval`)\n- [`examples/client-options.ts`](examples/client-options.ts) — backends, headers, custom fetch (`npm run example:client-options`)\n- [`examples/abort-signal.ts`](examples/abort-signal.ts) — cancellation pre/mid-turn (`npm run example:abort`)\n\n## Advanced exports\n\nFor power users and tooling: `OpencodeLanguageModel` (direct construction exposes timing knobs like `readinessTimeoutMs`, `silenceWatchdogMs`, `waitWatchdogGraceMs`, `catalogSettleMs`), `createClientManager` / `createClientManagerFromSettings` / `createClientManagerFromPort`, the `OpencodeClientPort` facade (`asClientPort`), validation helpers, the v2 event reducer (`convertV2EventToStreamParts`, `createV2StreamState`, …), finish-reason mappers, error utilities, and re-exported client types (`V2Event`, `PermissionRequest`, form types). Most applications should stick to `createOpencode()`.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}