{"_id":"ai-sdk-provider-claude-code","_rev":"61-2d46324fa0edaa2146b2d2495e1e6b3a","name":"ai-sdk-provider-claude-code","dist-tags":{"ai-sdk-v4":"0.2.3","v1-claude-code-sdk":"1.2.2","ai-sdk-v5":"2.3.0","ai-sdk-v6":"3.6.0","latest":"4.3.2"},"versions":{"0.2.0":{"name":"ai-sdk-provider-claude-code","version":"0.2.0","keywords":["ai-sdk","claude-code","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@0.2.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"705376367dca0da68c3108c93228f69746779d77","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-0.2.0.tgz","fileCount":12,"integrity":"sha512-IOKd8qzUjHOplT85gNKLXW/7KlsOanDfoLTqXMCF6606rIcxRo4h9E0jAEPJTEHP6D+lUGHIrW4Wvdyj9RjsEA==","signatures":[{"sig":"MEQCIFbHZtaqS1p/4f+KIumuGpr0j1WsowRCRvoeUNU8XQslAiAvdGwxNGEi5PCb4Mhfs403grt3fN3FLRiuZc35LwJIyQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":275442},"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":"f10337caabd2d67f3caef67b1b33009c256386e3","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","prepare":"npm run build","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","actor":{"name":"benvargas","type":"user","email":"ben@vargas.com"},"email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.4.2","description":"AI SDK provider for Claude via Claude Code CLI (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"1.1.3","@ai-sdk/provider-utils":"2.2.8","@anthropic-ai/claude-code":"1.0.24"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"4.3.16","zod":"3.24.1","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.3","globals":"16.2.0","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.3","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_0.2.0_1750372144151_0.7699807104208332","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"ai-sdk-provider-claude-code","version":"0.2.1","keywords":["ai-sdk","claude-code","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@0.2.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"04434905bfdc554774b740ed7885200a4777de83","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-0.2.1.tgz","fileCount":12,"integrity":"sha512-titxVPZFdIu0Ex8JUwb+pxlLzqYY3u/x87Yr8C4a6aaYc9h9rF8kxHMvp2U0Qowy5jTlk0n5AO6neC60zOGNCA==","signatures":[{"sig":"MEQCIEHGGyBNgSKqdRwdzgMo0JCxoZ4DAbTT/OAAKzbfcBk5AiBAks8kg3oajCfOpr0mmGd2uv/+6SiAmDbeFDUSdvAgXA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":275392},"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":"a8a814b965f2efcea82b649652bb1c27e18155ba","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","prepare":"npm run build","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","actor":{"name":"benvargas","type":"user","email":"ben@vargas.com"},"email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.4.2","description":"AI SDK provider for Claude via Claude Code CLI (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"1.1.3","@ai-sdk/provider-utils":"2.2.8","@anthropic-ai/claude-code":"1.0.24"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"4.3.16","zod":"3.24.1","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.3","globals":"16.2.0","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.3","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_0.2.1_1750372468547_0.19782080332252883","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"ai-sdk-provider-claude-code","version":"0.2.2","keywords":["ai-sdk","claude-code","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@0.2.2","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"c5896dfc0703a656eeb48d7b946bc7e08dc68182","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-0.2.2.tgz","fileCount":12,"integrity":"sha512-m3E2G3tEG2mSHjHxJtk3rvwmMCsXz4hlE+cVDtIyMbzKLMFQrh9NmCNjXVAOYZn/D44NqzL9FVDKlEfvZtfUww==","signatures":[{"sig":"MEUCIQCmashrcTDeHNbJhWnNOk1qthorM0J9q0OtfDW3Yn+nIQIgM4IyFp35/JdQ54uTPIN9q+aURv8k2yB1YxOZzTRDDN4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":276365},"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":"5c307c530220ce1a3f44d88152cdd7822533b5ce","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","prepare":"npm run build","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","actor":{"name":"benvargas","type":"user","email":"ben@vargas.com"},"email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.4.2","description":"AI SDK provider for Claude via Claude Code SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"1.1.3","@ai-sdk/provider-utils":"2.2.8","@anthropic-ai/claude-code":"1.0.24"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"4.3.16","zod":"3.24.1","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.3","globals":"16.2.0","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.3","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_0.2.2_1750437438164_0.6624323147720863","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.1":{"name":"ai-sdk-provider-claude-code","version":"1.0.0-beta.1","keywords":["ai-sdk","claude-code","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@1.0.0-beta.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"80e8744b44efc940940828ebb0d30ceafdc861f2","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-1.0.0-beta.1.tgz","fileCount":19,"integrity":"sha512-CkP0o3Y52upkb6cKp0Di0ftT8acK5HrV4aKzZbfGvb3ysgRYy3CrGBBEEZ9C5XIa0IJ+knU7Zb+iov0Jur+IYQ==","signatures":[{"sig":"MEQCIDNgak/EUWiC6xYly4F3ILFN9RTpLVGnOjW8fZb98M97AiAK8fY+bvI2m/vRSir0/fLv08Lc0AYe80GiLInMPvZkjA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":348507},"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":"ff7786504691ad1dd1280c302b35a645fe26687b","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","prepare":"npm run build","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.4.2","description":"AI SDK v5-beta provider for Claude via Claude Code SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"beta","@ai-sdk/provider-utils":"beta","@anthropic-ai/claude-code":"1.0.24"},"publishConfig":{"tag":"beta","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"beta","zod":"^3.25.76","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_1.0.0-beta.1_1753331967464_0.44312267716747944","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"ai-sdk-provider-claude-code","version":"1.0.1","keywords":["ai-sdk","claude-code","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@1.0.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"5b8758ef364b2686be90511f65664dc172b5b4b0","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-1.0.1.tgz","fileCount":19,"integrity":"sha512-8n46cVTiCeBZIpI2mqBCFqWMr8TDwN2WvytKfZhfCaGVUd00djJGGJWJGav1ScnG74GbdRhB8AKZ2SIhkxCs6A==","signatures":[{"sig":"MEQCIB47nlR6hL+QfP8gF9I2hexhF6CuYQIWSXO57Ae07SDAAiAro6f/JaNz5a+dpNmjXBWBka+eLzt1t4NW/UC8I+cBAg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":348483},"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":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","prepare":"npm run build","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.5.2","description":"AI SDK v5 provider for Claude via Claude Code SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.3","@anthropic-ai/claude-code":"1.0.81"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.14","zod":"^3.25.76","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_1.0.1_1755229668034_0.6857721984175718","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"ai-sdk-provider-claude-code","version":"1.1.0","keywords":["ai-sdk","claude-code","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@1.1.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"6e88c3c3615193f10d122406e2e9d71391943829","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-1.1.0.tgz","fileCount":19,"integrity":"sha512-mJ8oCh8By2pS2IhFA6f4xoJSMIXUmAwdgrEnhrmSn1d6n86C/KL/zYHLqa/u+NThi8LHPS86zWcO4WzZfhgmcw==","signatures":[{"sig":"MEUCIQDinS4B/4WW1OLPlAi4iZrWf25ID6s3kLLp/LkAuliWHQIgeTd2ojHbJuHst6bf5LO9ZbUuzx7WayM7hAh9+zAK+3I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":350429},"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":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","prepare":"npm run build","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"10.9.3","description":"AI SDK v5 provider for Claude via Claude Code SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.3","@anthropic-ai/claude-code":"1.0.81"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.14","zod":"^3.25.76","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_1.1.0_1755527831466_0.4247250174974333","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"ai-sdk-provider-claude-code","version":"1.1.1","keywords":["ai-sdk","claude-code","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@1.1.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"dd670e1d6eafe42ecd4f78a230148074445de80f","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-1.1.1.tgz","fileCount":19,"integrity":"sha512-Ymwg/gZvCaP/3VmlbT6fwuAiGhBdXLQxbQKXIr3nRkf46q51tgovyDkvrDw9eRmO/n38PGZXCVRKHmDQ4e0B7w==","signatures":[{"sig":"MEQCIAmpw1sff5bqj6cmSb85EBwN/9JaG4EgKe5MGcftllTeAiA+sbHGAtzuarhvu5pmpOL2h5ZPlC+7CXQfy4c17nuSTw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":351483},"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":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","prepare":"npm run build","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.5.2","description":"AI SDK v5 provider for Claude via Claude Code SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.3","@anthropic-ai/claude-code":"1.0.81"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.14","zod":"^3.25.76","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_1.1.1_1756171128189_0.3351803979744701","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"ai-sdk-provider-claude-code","version":"0.2.3","keywords":["ai-sdk","claude-code","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@0.2.3","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"d95f37df75b15ec2367ff47d18383a5bfd29300c","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-0.2.3.tgz","fileCount":12,"integrity":"sha512-RWgNjl546B+3ORw7Jg+Fnxpgd14nwyc4Rjawt6oHu7W/dy22/+5PkCpEGgmW6PMMS/izBtDNY+6qmECUk4CpjQ==","signatures":[{"sig":"MEYCIQDSiVObAUXI6njsTS1Pb1TIFe025kjA0WuChEmA0j6VjAIhAKisrWnKxqUK64I88wK0E+tRJUWpisl4egu5bG4i/TpH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":277354},"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":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","prepare":"npm run build","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.5.2","description":"AI SDK provider for Claude via Claude Code SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"1.1.3","@ai-sdk/provider-utils":"2.2.8","@anthropic-ai/claude-code":"1.0.24"},"publishConfig":{"tag":"ai-sdk-v4","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"4.3.16","zod":"3.24.1","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.3","globals":"16.2.0","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.3","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_0.2.3_1756174717109_0.08050564127598392","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"ai-sdk-provider-claude-code","version":"1.1.2","keywords":["ai-sdk","claude-code","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@1.1.2","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"fd2e4c5f86924498d195e98412a98cbc6b346082","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-1.1.2.tgz","fileCount":19,"integrity":"sha512-b4XyPLeVZN7z8/w2QU8Yt1GLytGWx3ybPsClYuZjCpgVi/0CsXCrnMvm/WTQIPtUW6VQQ30gcS+fNtORAPJ15g==","signatures":[{"sig":"MEUCIEwXD7Yt2eX+ApEP+klDqpW3RHqQLMCaMfKaQmg4o2QcAiEAuTfA3JuP5VI87Klo97OgjKkI3XRaDGtYUJSGIarj9Bw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":383658},"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":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","prepare":"npm run build","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.5.2","description":"AI SDK v5 provider for Claude via Claude Code SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.3","@anthropic-ai/claude-code":"1.0.94"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.14","zod":"^3.25.76","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_1.1.2_1756350525719_0.5481851299390175","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"ai-sdk-provider-claude-code","version":"1.1.3","keywords":["ai-sdk","claude-code","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@1.1.3","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"8825101679e2a875a147f0545a9e4f13b4a680a8","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-1.1.3.tgz","fileCount":19,"integrity":"sha512-MPgzgWNHcQGdvhSr34O7ssKUQvc+LNM+pB81pLES/w/i+rjDGpFXPgn164TSBOqzTIuFGN2pp0UsFYHtD5+r1Q==","signatures":[{"sig":"MEUCICQ3j4XT2X/5tLgkUEwJm5vzTRh0hoKb6JqtbfY9+bUiAiEAgKPN2y02qvwYnsh9Jym03MejJTatqIhlSeun5BdFR4s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":386442},"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":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","prepare":"npm run build","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.5.2","description":"AI SDK v5 provider for Claude via Claude Code SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.3","@anthropic-ai/claude-code":"1.0.94"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.14","zod":"^3.25.76","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_1.1.3_1756868626247_0.009078209140030769","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"ai-sdk-provider-claude-code","version":"1.1.4","keywords":["ai-sdk","claude-code","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@1.1.4","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"92808058f11e3c7998867535aa5fd195f302aa02","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-1.1.4.tgz","fileCount":19,"integrity":"sha512-nTduCaKHKbeI0kDvmJNzUEvkwRWr91E8WSqKqJLrgy3H58iK46Ccyor1HJn8pyPLkxfCT84v4UtudIwJkIDeRA==","signatures":[{"sig":"MEYCIQCFU25EwMN3skiZUZx4n/qrZAhWAmxESO1IeO5g7plCnwIhAMsE28cJbpgvuj8RQZKIij9Xlt0c2GZ2ApvENFv1fghp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":433041},"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":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","prepare":"npm run build","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.0","description":"AI SDK v5 provider for Claude via Claude Code SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.3","@anthropic-ai/claude-code":"1.0.94"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.14","zod":"^3.25.76","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_1.1.4_1758165496252_0.1607581487187164","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"ai-sdk-provider-claude-code","version":"1.2.0","keywords":["ai-sdk","claude-code","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@1.2.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"45b626a57f30663888c6581d51f0a424db12b5a3","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-1.2.0.tgz","fileCount":20,"integrity":"sha512-gtNXrPxuBFz8DuIjpDIUF2mvxDku1hIZfX+IbN8K+YBKoLKwvIAIgUwJJwV9UIFIviLrmJVLnrOuR3cGUODdwQ==","signatures":[{"sig":"MEUCIEXe+l7YXFK7SDIFw68tw51VNY2rcUUTFi52zslx2T/9AiEAkrNVuwLirj/SWPEf1c4w+pOnlCZKByqRL31E/76VS6w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":513243},"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":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","prepare":"npm run build","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.1","description":"AI SDK v5 provider for Claude via Claude Code SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.9","@anthropic-ai/claude-code":"^1.0.128"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.47","zod":"^3.25.76","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_1.2.0_1759365484321_0.16752147316158705","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"ai-sdk-provider-claude-code","version":"2.0.0","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@2.0.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"80e893cfed5ed66a5d2d02276d140d59d66ef621","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-2.0.0.tgz","fileCount":20,"integrity":"sha512-5R/vNL2pIhf0urocWZOuEpgMYz2NCJvxbFoKzaEFFUofSip1YYn7U+CXEx1nEGistxmSF/SqfX41/oTZwDE01w==","signatures":[{"sig":"MEUCIQDicOUVD0fzfE9jsB7Z9vqMMqIMzRIHfZDQHdo3r+xqcwIgI+Ky4bt8Gw2MfDwzvPB/6WK2xOaC3sHmrOhBKA19RY8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":542543},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.1","description":"AI SDK v5 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.9","@anthropic-ai/claude-agent-sdk":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.47","zod":"^3.25.76","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_2.0.0_1759394058549_0.40265824030400665","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"ai-sdk-provider-claude-code","version":"2.0.2","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@2.0.2","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"1fb1bf91cda62dd7861d40531fa46491d50d8141","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-2.0.2.tgz","fileCount":20,"integrity":"sha512-WQztOHmyFYJcEgFvCwBIe9EBNWpZ9587txvl9Bat7MDe9QDBMnpf2IYGLqd6W4rGNeRuTGRx2vzX3fEIj8gkvA==","signatures":[{"sig":"MEYCIQDBvmV+OHY3u1PThrrdpMkxDWY31idetS8ww8YiZTUTIQIhAK4X6kBuMqMW7x0fYApg2KD/ISQ7bnQGB2p8iDWh8yrz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":542735},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.1","description":"AI SDK v5 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.9","@anthropic-ai/claude-agent-sdk":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.47","zod":"^3.25.76","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_2.0.2_1759395411423_0.9499593878587469","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"ai-sdk-provider-claude-code","version":"2.0.3","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@2.0.3","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"75588df45ace1d4f5a9a8c9012f95686f09bd381","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-2.0.3.tgz","fileCount":20,"integrity":"sha512-PCbI0HMwHpbPf6eRERbEv7cA6Tb308DKcIyWE/2YRj2+c9YCjA7QmMtBmv/1h0LigbPTaDNC/yMyS1oB6j8Y5Q==","signatures":[{"sig":"MEUCIQDDRbtDyS5FgZul1MoHXX7JbCYdyyIyu5D0ZtS+sMiSrwIgASov5qaxInzeQdlrFxK+ibTW1khaxm1geKcvBvaCUlg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":579819},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.2","description":"AI SDK v5 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.9","@anthropic-ai/claude-agent-sdk":"^0.1.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.47","zod":"^3.25.76","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_2.0.3_1760637266962_0.20209012050361985","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"ai-sdk-provider-claude-code","version":"2.0.4","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@2.0.4","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"08d114734de9af4bf69ea5feb81f10f618ec744b","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-2.0.4.tgz","fileCount":20,"integrity":"sha512-kdEpI2WzbUhGvyE1NITGQ1O+nc8vWzyFMtPlJXPv2TIhZzGz5JsbPo78mht7c74kN9Eb55W5LrP43soIXF3S3A==","signatures":[{"sig":"MEYCIQDZGqFvqdsq5ZAYRHB0LJQMN9ei43diAXu4bjCukZFGIAIhAJFEevuiVm9FqbqQYvXlfgLEIWD6+E02Hf3YzNisPl8o","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":583461},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.2","description":"AI SDK v5 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.9","@anthropic-ai/claude-agent-sdk":"^0.1.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.47","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_2.0.4_1760896940743_0.299605585726582","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"ai-sdk-provider-claude-code","version":"1.2.2","keywords":["ai-sdk","claude-code","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@1.2.2","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"09a67c96ba4b781d05fde731ba134ddd80287cc4","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-1.2.2.tgz","fileCount":20,"integrity":"sha512-9gVYfuOGpijqOoBz/bG7/f/tNPQZZNebFVZsQfI7IhHu6Mqn6SyIQKi9OGffNXNyq00AKLr7PvezNE1z4RSkgg==","signatures":[{"sig":"MEUCIBvExBj9Fzb/dk08IDsgN4MKDN2MAYm4GkMk4jFydFrFAiEAp3ZqQKg9Ia4y7ciG8IRWvtw0Rytf7yA1FS7o3AtQRwE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":548577},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist","format":"prettier --write \"src/**/*.ts\" \"*.md\"","prepare":"npm run build","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","format:check":"prettier --check \"src/**/*.ts\" \"*.md\"","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.2","description":"AI SDK v5 provider for Claude via Claude Code SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.9","@anthropic-ai/claude-code":"^1.0.128"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"5.0.47","zod":"^3.25.76","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.3.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_1.2.2_1760912019211_0.6238280349047904","host":"s3://npm-registry-packages-npm-production"}},"2.0.5":{"name":"ai-sdk-provider-claude-code","version":"2.0.5","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@2.0.5","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"3671d1f656f395697e9854f96303daa297cdcf1e","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-2.0.5.tgz","fileCount":20,"integrity":"sha512-MjkagUjL/rv9XccmlkJ5R6Gm8dLFq/Dikga0BRq8kkpXnjYnqs0xMzilLHxBij8+LXdmeh7tYqYC68NonYzdDQ==","signatures":[{"sig":"MEUCIQDYweG+0FsxzFgnDxRN4jsdfeOpjvyo886oHeQFyHaMeQIgO0VMWYCdOp639hJ8gti64eg7Yf1ugx5oWrE5n26x8EY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":581629},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.2","description":"AI SDK v5 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.9","@anthropic-ai/claude-agent-sdk":"^0.1.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.47","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_2.0.5_1760912340884_0.797730053153715","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"ai-sdk-provider-claude-code","version":"2.1.0","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@2.1.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"478103f02bd56b2c3821961d9ccceb31863f2415","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-2.1.0.tgz","fileCount":20,"integrity":"sha512-g+Nb+TKQs7RMP8PEn7NBjEHwVyIqHthXKSUqADO37oGPwOeMATuWCcuYAFmbeSdpIirV6iKRXRhdFipv2yTzqQ==","signatures":[{"sig":"MEUCIQCHJf0kXz/LI5qkV40IH16LZBzxikik6hWOiJH6uaH2ngIgASlxHmNBf0f3zF12PvxaPfBDNrSnSYUYYMKN3q86Pzo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":612565},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.2","description":"AI SDK v5 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.4.0","dependencies":{"jsonc-parser":"^3.3.1","@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.9","@anthropic-ai/claude-agent-sdk":"^0.1.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.47","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_2.1.0_1761014693248_0.38856347396228386","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"ai-sdk-provider-claude-code","version":"2.2.0","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@2.2.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"5094e77ab26918a259c2e71475950a1fbc38b6e2","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-2.2.0.tgz","fileCount":20,"integrity":"sha512-MN/l+GZ76tICIN+92Mhdi/XMiimPqcnx8HBARxfph2nnvt630ZPEBHAnqfa/BKGYbGtfxfnoiLLahfKfaYdiEg==","signatures":[{"sig":"MEUCIQDT5K1plme19dAHM26+e3qV8HlL2waBKtkdC5i3iENJDAIgdvuJwP9uyYWntVHPIZUta7jrbvGkq8t184S49DKAlGU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":596149},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.3","description":"AI SDK v5 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.4.0","dependencies":{"@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.9","@anthropic-ai/claude-agent-sdk":"^0.1.50"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.47","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_2.2.0_1763836975119_0.2163600772872729","host":"s3://npm-registry-packages-npm-production"}},"2.2.1":{"name":"ai-sdk-provider-claude-code","version":"2.2.1","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@2.2.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"28df57e3eb44c0df399fd51d5f7af665a8416765","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-2.2.1.tgz","fileCount":20,"integrity":"sha512-mAGIG0uCAw4l3cAn9f5Fm0QmXxN5LjJU39G4nOumYyfrXmVS1VCzpBlpaNrhl5r/VTozeE2gQIowW2IZIoy0xA==","signatures":[{"sig":"MEQCIEX6KeH2bezGMg6r6TDa8UmOJI2YlnUZS9IfkjMubDlZAiBgUorsN/RRxwoJ7tYknTmm5KgGj4WpMcay5XVmUQ+oKQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":596233},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.3","description":"AI SDK v5 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.4.0","dependencies":{"@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.9","@anthropic-ai/claude-agent-sdk":"^0.1.51"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.101","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_2.2.1_1764017092882_0.7759636293218226","host":"s3://npm-registry-packages-npm-production"}},"2.2.2":{"name":"ai-sdk-provider-claude-code","version":"2.2.2","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@2.2.2","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"3fd3be8b18daf9acf6d892b2f78c7afe8211930b","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-2.2.2.tgz","fileCount":20,"integrity":"sha512-FcwUQFP4O7Qg91FGDJG9EM2N/MCFScJkRc7gLBCqvYBbBOy7AOLY4TFqrqxtIpXYaghyRgcGRCPvMAuvLjAjYQ==","signatures":[{"sig":"MEYCIQDUeqGyzQD5V0QJP+Kv+PyMviRND6lCu1UzeQrogeMujQIhAJtoNreN7EUSYNwyEuE4Ue1CPZRnePWaqCL8qtq6kIwp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":611119},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.3","description":"AI SDK v5 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.4.0","dependencies":{"@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.9","@anthropic-ai/claude-agent-sdk":"^0.1.51"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.101","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_2.2.2_1764178527951_0.8164098276841907","host":"s3://npm-registry-packages-npm-production"}},"2.2.3":{"name":"ai-sdk-provider-claude-code","version":"2.2.3","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@2.2.3","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"bc7173d6a05f1a901b8540d93bb02c6d8b835a0f","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-2.2.3.tgz","fileCount":20,"integrity":"sha512-gen0yh0/1mzNV783MIKdVV1DzKOeehqPrxGD4goQeMH/0mQfw1WL4s4Mufg4UZx36FmLic1dKIp2mRj15nMAow==","signatures":[{"sig":"MEYCIQDrvc2y5Y19czuxV1hWil+SEGtErdheZwK2C6f5L5EW2AIhANg1se7DqXQil/s47vPNNnJCM+nTLjRT1fPXFQbwbews","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":618629},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.3","description":"AI SDK v5 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.4.0","dependencies":{"@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.9","@anthropic-ai/claude-agent-sdk":"^0.1.51"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.101","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_2.2.3_1764189201751_0.20731705153464208","host":"s3://npm-registry-packages-npm-production"}},"2.2.4":{"name":"ai-sdk-provider-claude-code","version":"2.2.4","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@2.2.4","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"2546e8817255f46920ae7cff3274c522d0e4fb1e","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-2.2.4.tgz","fileCount":20,"integrity":"sha512-RhURJ0kMlWQqqB+s/VDel6yNTQZzjL3Upqgp5Vimhnn3O4B3541WUvtkKI4eJrQCk5zT+OyByeXPZDKqalYgzQ==","signatures":[{"sig":"MEUCIFPOknODtZPI3BCa3AA43NyotJtqgQJE1IzP9t6pdPXZAiEAnk0d9zgChP34sB5oIyJuScPHW+niI4XCPFCq0r79MYc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":618629},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.4","description":"AI SDK v5 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.4.0","dependencies":{"@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.9","@anthropic-ai/claude-agent-sdk":"^0.1.59"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"5.0.101","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_2.2.4_1764896491278_0.19438717076983814","host":"s3://npm-registry-packages-npm-production"}},"3.0.0-beta.1":{"name":"ai-sdk-provider-claude-code","version":"3.0.0-beta.1","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.0.0-beta.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"2eb05da41379dc710f8e4d6c7d2e28c02760ad11","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.0.0-beta.1.tgz","fileCount":20,"integrity":"sha512-3QDvvJev2ZeZZizFX6sdUqr7yZPQiGCSQxBdxscl0A4YiXnqAJJwsjM8jYnqRNcNmxtUMK3Jr9nLHTSivPCopA==","signatures":[{"sig":"MEYCIQCw3+OjHabn8E2XIxth6F6uj/abRsmjDN53v0VvzzVCJAIhANxzYTbK1jRrIFLrpUgpzf0XiPM2ijZ/QRkJx/O+/WyC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":622390},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.4","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.4.0","dependencies":{"@ai-sdk/provider":"^3.0.0-beta","@ai-sdk/provider-utils":"^4.0.0-beta","@anthropic-ai/claude-agent-sdk":"^0.1.59"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"^6.0.0-beta","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_3.0.0-beta.1_1765296580064_0.11190787800153346","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"ai-sdk-provider-claude-code","version":"3.0.0","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.0.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"e6b60b7b4ba5ec5ff6e43da2a3eedd21595a3c14","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.0.0.tgz","fileCount":20,"integrity":"sha512-xzrBWgnyJfBc4QDJpl4nAPRB6oSaGld8JO1msgjTClJQUvPnV3KfcJHQVtkgK8lMPb6Lve5WO1/JCuxbM00n1A==","signatures":[{"sig":"MEQCIAHqQaOR88Qb1QW8887P8lFDiLY83F5Y8/FlEVPDrYxEAiAM4xpTpOwP62Go7bhh4+iiVOydys+Qgrbozj6xxp468Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":622990},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.7.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.4.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.1.76"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.24.1 || ^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.0.0_1766886371348_0.48667119200444553","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"ai-sdk-provider-claude-code","version":"3.0.1","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.0.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"6d5956027aeaf669e70076a3e564e9064842a904","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.0.1.tgz","fileCount":20,"integrity":"sha512-VlEJVp0JZdB4g6r17rKKj/eTcSy8tyrCnlgkTxnsqhP33rCaQDAbw+BpD38dn15lgojXnic3aLka87k/fz7+vw==","signatures":[{"sig":"MEUCIQDEf0RqDRgsfH72D3YVBJvjkgzPafsXQVonYr44AtW1jQIgKAPFvNvNLpZdm8lJKP/gl/kSP1xHkeqRLx70xDmQpvs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":625710},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.7.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.4.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.1.76"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.24.1 || ^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.0.1_1766901880669_0.8254060734896815","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"ai-sdk-provider-claude-code","version":"3.1.0","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.1.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"f66fbc22a66d0d7bdd01d542af60bdd815c785eb","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.1.0.tgz","fileCount":20,"integrity":"sha512-5LvG7HJMbMhTcQ09W3+P7mX3zVS8SOcKplQ7VwLBDNuSlPVd3bWOUxbrbgnpUaPh9QtnSBACZNm7qQ0tM7ue4Q==","signatures":[{"sig":"MEYCIQDVc0y0/1GKHfofID1MjzQxg5VFBKp1pbBcvIDx6hZ49wIhAMZ0Tfcz8S/yKqtrakQ8lUbizgeBgYHvwbf6diz4AaeD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":655306},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.7.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.4.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.1.76"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^3.24.1 || ^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.1.0_1767612712808_0.5770520881451933","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"ai-sdk-provider-claude-code","version":"2.3.0","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@2.3.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"c85f9f4ade7336f2efe3d3dd905fd8112ea671ff","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-2.3.0.tgz","fileCount":20,"integrity":"sha512-iUP1v4DUPITgW3I4hSF3tCVBTv2q9F6CKR96Y1lOYqQUjjeZunv2MqImnCsIBvDdmCLu/Qj8+iVAmNaaN4iqTg==","signatures":[{"sig":"MEQCIDGZPFOfoO2cQlQgYhDLPHO/0hPROPVmYo943QTrC00YAiB0HV9zc5BjC5VCuJNIweHjJjz83u7Zi6LVS/cWo0UHOQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":644284},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.7.0","description":"AI SDK v5 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.4.0","dependencies":{"@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.9","@anthropic-ai/claude-agent-sdk":"^0.1.59"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"5.0.101","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.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-claude-code_2.3.0_1767835280179_0.24697426294537062","host":"s3://npm-registry-packages-npm-production"}},"3.2.1":{"name":"ai-sdk-provider-claude-code","version":"3.2.1","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.2.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"06c905e666337fc568c4066eb7fa8e333fcb4094","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.2.1.tgz","fileCount":20,"integrity":"sha512-oNVO8bzk4surnG784ZwuB+pxQ/PPgxgvoXDrIyWr1b0u+iD+/9EtL1lwMeKuSLxKn7BF/MrPAgGWb+gftlXVXw==","signatures":[{"sig":"MEUCIQDfjd7SfnLmSl3qw3UHRsY1YwWxEVzhfJH4Zj+ux29zZwIgLqt3DDLV5pPfsQyvCnnjM1kJFVGlo9/AN3uR9p2PtX4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":667816},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.6.1","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.2.1_1768170299858_0.9324736591745768","host":"s3://npm-registry-packages-npm-production"}},"3.3.0":{"name":"ai-sdk-provider-claude-code","version":"3.3.0","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.3.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"228bf0d79fee546b0e173cc704060b549a59be06","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.3.0.tgz","fileCount":20,"integrity":"sha512-iz7h3krsxdUqFZfFUAywdDVUpOvgrVU1mjXmXZsj3oQfokdS/sHNBNlolB8IATMp8f8o1i2fXp8MERLBD2eZdQ==","signatures":[{"sig":"MEQCIDiKXXPFT0nIGh8EDzaZ+eJ9F4SxXtDw+UMGU7xBWXpLAiArFp0ES91kVeRX3lqgeWbi27QyoMy0ct/lf+P3BpRgAA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":756439},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.7.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.3.0_1768533014372_0.020073291342831645","host":"s3://npm-registry-packages-npm-production"}},"3.3.1":{"name":"ai-sdk-provider-claude-code","version":"3.3.1","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.3.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"dcac8fa483739fc6f2c8b7fd84b2e73ed9f25d4e","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.3.1.tgz","fileCount":20,"integrity":"sha512-ufB1MDmz6M+fzexLSNESGA4effmd+Akm9eLbEXcTYT3Ca7qTUfJj7+T4EgK7XWFikSbYlssXJ8ymVRPhxnrAkw==","signatures":[{"sig":"MEUCIQCCfDnkVJW4s2lvaSdO7pvo7r5g3exQxZ/aQxWav/hMdgIgV2a/zzerkhvQrIqxWW7Loy14LmtsYt3ir2PvLpKJeEw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":756934},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.7.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.2.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.3.1_1768539134297_0.5790546438826258","host":"s3://npm-registry-packages-npm-production"}},"3.3.2":{"name":"ai-sdk-provider-claude-code","version":"3.3.2","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.3.2","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"a90ee68905faaec04b026b01bef86851de0bc178","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.3.2.tgz","fileCount":20,"integrity":"sha512-jFTUEz3HQaIz/ZbCLYlNVel4NNmN4krcttbOAcbgdQe78OEaBeciJbCR18zs+jVvGrq1vp1cI/10o9QAG+IXBg==","signatures":[{"sig":"MEQCIHku2a+tFZguvXZjrm1SzR3t8g10PnI+RV2Lg4tNh7fuAiA79DqjvCCfZs/yZ4a4qpq5fS7wq3CI/R0K7scTa9N2Dw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":760617},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.7.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.2.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.3.2_1768781448200_0.2933685599194715","host":"s3://npm-registry-packages-npm-production"}},"3.3.3":{"name":"ai-sdk-provider-claude-code","version":"3.3.3","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.3.3","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"7e07048e5cdada683c5c78e89e1f5b1e2abc73c2","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.3.3.tgz","fileCount":20,"integrity":"sha512-bm8Bv59Mq6+n461W5IOafqTHKUcwwWg5pXPAXytIU3rYq16PPFH8GnFPbPxA1Af92c956fs8K4m7p4rV/x1y/Q==","signatures":[{"sig":"MEQCIEh3ZS3FUDfoGbGcL9pvjSnWwCJ8GUidSPhpMm8Zz1lBAiB/FbEz7NpWQjtWzLWYqcvLH86YVHnZjNgnq2D1kLqG7Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":762107},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.7.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.2.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.3.3_1769143843982_0.5766662828783127","host":"s3://npm-registry-packages-npm-production"}},"3.3.4":{"name":"ai-sdk-provider-claude-code","version":"3.3.4","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.3.4","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"8798bb79cc337093bf0d7f35308f13e9d725d154","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.3.4.tgz","fileCount":20,"integrity":"sha512-o+bYAQtmYDZIn4CvkchSlw3Mnj8FpP4KfZx+SP0pgapwxnRogTjjeCenSSao5mJzmAFtiTvHPEB3vuPGzMxBGw==","signatures":[{"sig":"MEUCIQC2wbnLqk1n6sqJfyE5Be73pgRP2D2MI9Yr3cgoR8bjtwIgZCbtS0B+8PRjXUwh6tXzpuHOqGSPWfsaeCc15sFHs7E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":785996},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.8.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.2.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.3.4_1769715150967_0.043167130698709366","host":"s3://npm-registry-packages-npm-production"}},"3.3.5":{"name":"ai-sdk-provider-claude-code","version":"3.3.5","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.3.5","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"601da3248667595d1c76bb370f339401009bec93","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.3.5.tgz","fileCount":20,"integrity":"sha512-yL1TB9Tqaa526DiHjalqTgXnj/I7TwjTGWa3+GLQO1qkkr52ZMwnnyLHu37/CUYNFLywzl64V+WwMKhEkPt2FA==","signatures":[{"sig":"MEYCIQChiyoD1vXv4G6jw0fiERhTqKXadG1XXvt4xZg8SK/yFwIhAIIXg4QkIXDHmwnZs8PRsfWHFgcqTl492Q4JZhMj5rvQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":790102},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.8.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.2.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"20.17.24","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.3.5_1769854882271_0.5424131043954572","host":"s3://npm-registry-packages-npm-production"}},"3.3.6":{"name":"ai-sdk-provider-claude-code","version":"3.3.6","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.3.6","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"967559987964c86dc5fc30852d429508bffffd99","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.3.6.tgz","fileCount":20,"integrity":"sha512-lDJJrQqe2A6tAH96ZLsZW39blkBh3jF1A4rs8B6CJyjNhLNeq46KmxkKDPYDoZw4xbILvnAknjXQNhMSZLnEYg==","signatures":[{"sig":"MEUCIGvUnpeRt1IX09u63nyoAuPGGGFcCNBWJdw5uRzpWMABAiEAtabECeerlDDTWy1dlYNsQU5XtRiXvteVkQdEc+sidOs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":790540},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object:basic && npm run example:object:nested && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:object:basic":"npm run build && npx tsx examples/generate-object-basic.ts","example:object:nested":"npm run build && npx tsx examples/generate-object-nested.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.8.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.2.23"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^20.19.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.3.6_1770055899975_0.10362025854100843","host":"s3://npm-registry-packages-npm-production"}},"3.4.0":{"name":"ai-sdk-provider-claude-code","version":"3.4.0","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.4.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"dd1794df1f3377f8abb21b34e963f591749c6227","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.4.0.tgz","fileCount":20,"integrity":"sha512-xsXJd6aY1zN6j41ZWX1rabSIwW/dIOILHwxWTNH4q6cjGgUC8Mnfn9Sg9y3DDU11bQGjxlNEeOam1gndtn5Qsw==","signatures":[{"sig":"MEQCIFCsrjmKk8abbEUGPESlq8gNwW+zW2bmCwk7rK3e5al2AiAoTqXauvyRTfC2Inqcq0sfR28n/i+MSMToDGGMXUov/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":802238},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.8.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.2.33"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^20.19.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.4.0_1770366403747_0.4165188722858031","host":"s3://npm-registry-packages-npm-production"}},"3.4.1":{"name":"ai-sdk-provider-claude-code","version":"3.4.1","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.4.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"a1fbad9aec1dc10d0e80a17b660f2d6d11566bba","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.4.1.tgz","fileCount":20,"integrity":"sha512-bmHFZxJJ0z8vAk6inZKGB6AqVavhwE1PkF14SPsKGrgnTZKj7Bl+c1d70dElafCILubZtvrBLX4Dagr6/PKdQg==","signatures":[{"sig":"MEMCHywtCnS/kv8bsYIYnYqJuHBLYcb7NDtBZXXMmsVp9BwCIE5i01RsIdNakHBECJ22SywIOQaCaFYAwLUMqdOh9BvC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":802404},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"10.9.2","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.2.33"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^20.19.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.4.1_1771394149344_0.4630375688564543","host":"s3://npm-registry-packages-npm-production"}},"3.4.2":{"name":"ai-sdk-provider-claude-code","version":"3.4.2","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.4.2","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"c32825d836ddd18b2dfb434cd95e98708530619d","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.4.2.tgz","fileCount":20,"integrity":"sha512-Gej+/7PnteCSEmxG1WnIRGBS9wLCI8pu7GmsEHh4z9oFHP+sBwep4koRaGbbLfIXk8SXqvC6vWiWJkFDSwaMvA==","signatures":[{"sig":"MEUCIEAsLPvJBjWQDsGD0K+S9U9GRkV5LjjAg/by3ioHiOdOAiEAqRjCUNh1q/6O0sLw0RQd3vY3vYPZ75YNEq9LDfZZYSU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":808822},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.7.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.2.33"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^20.19.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.4.2_1771397147750_0.6066049506107825","host":"s3://npm-registry-packages-npm-production"}},"3.4.3":{"name":"ai-sdk-provider-claude-code","version":"3.4.3","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.4.3","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"bfcd6f2eb6356aa3f12da901a11a8e796fea8a29","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.4.3.tgz","fileCount":20,"integrity":"sha512-5lBnIqoe8IZ+/5Qu0heDRxNrWyXQuZ7j7KM+Y27GJ3W7a4Ve3hkabnP0We/mc5oA+V2VqZfw6LPw0fnMpT+dBg==","signatures":[{"sig":"MEQCIHUUapkoHqgXCfcP3ZRIJcroWXpRL5K7YNyosPRbyyWKAiBD9yQ6yW07iPf5QPZZd9pQ+WXJbndD4om3bpXrB9220A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":821396},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.8.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.2.63"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^20.19.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.4.3_1772468889345_0.5939641408094116","host":"s3://npm-registry-packages-npm-production"}},"3.4.4":{"name":"ai-sdk-provider-claude-code","version":"3.4.4","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.4.4","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"2e9202c925126e18cf1bc8a3a77302063c09f275","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.4.4.tgz","fileCount":20,"integrity":"sha512-iHcup5SHh4Tul1RIi9J+bnpngen8WX66yC3lsz1YlbtwAmRhUEzZUuGKzmFGIN8Pmx9uQrerGfLJdbFxIxKkyw==","signatures":[{"sig":"MEQCIDo9yQ7J7l0G+u9w8A7msfpc/x0htRdpqL40gS//cr/qAiB4Mu+Xt4HSPUCcQZkaSvnG53SWQgyQTh/O5FCTwGvI/g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":826396},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.2.63"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^20.19.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.4.4_1773130003711_0.14950542364868302","host":"s3://npm-registry-packages-npm-production"}},"3.5.0":{"name":"ai-sdk-provider-claude-code","version":"3.5.0","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.5.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"e367f381204ebf9ad3fc1a631ae97c5890021dd4","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.5.0.tgz","fileCount":23,"integrity":"sha512-7SZrTGkuR4G4zeNrjnJgDzYkrKZqzq7GUQJcFBKCxFH5dJpS9lbs+g9BCt7bwT1gDm4SAUmOQ0T5rKqcC2HkVQ==","signatures":[{"sig":"MEYCIQCo+F65s5amh+xhZkViwF2p2GROBgDWnal0MYcFHCzmBwIhAKSlSi1RWMNnIQJv03QQRTTT7OZsNM1RQ7lX3Dxj1oTQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1350913},"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":"62c53c6bb16f5f27a80388169d2e674922a8a19a","scripts":{"ci":"npm run typecheck && npm run lint:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","example:sessions":"npm run build && npx tsx examples/session-management.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:warm-start":"npm run build && npx tsx examples/warm-start.ts","example:ai-sdk-tools":"npm run build && npx tsx examples/ai-sdk-tools.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:context-usage":"npm run build && npx tsx examples/context-usage.ts","example:skills-option":"npm run build && npx tsx examples/skills-option.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:hooks-permissions":"npm run build && npx tsx examples/hooks-permission-denied.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts","example:prompt-suggestions":"npm run build && npx tsx examples/prompt-suggestions.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.3.170"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^20.19.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.5.0_1781313110929_0.7604345981889755","host":"s3://npm-registry-packages-npm-production"}},"3.5.1":{"name":"ai-sdk-provider-claude-code","version":"3.5.1","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.5.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"1ec14e996d5acb9cb1c5d5a673ac8c80fce5efb2","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.5.1.tgz","fileCount":23,"integrity":"sha512-DxbOp3qIQTAhdvtynhW3Eq+NqAuU8UKVRVzBSdmVnCVMke8xC372Hy/j7FDalC5PkOOdiv7jI9yUzIk6vN1l6g==","signatures":[{"sig":"MEYCIQD+BGsz1CsbNnD37BFiPvALD7gEuWoo/EW6F2fTuTH8+wIhAOMgU3xbx0+9UgTr5+djasdg4VH8zzuSifWzYCuouSk/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1351141},"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":"e294bc5c83ac927a1bce83bf594b39bffeb356f5","scripts":{"ci":"npm run typecheck && npm run lint:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","example:sessions":"npm run build && npx tsx examples/session-management.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:warm-start":"npm run build && npx tsx examples/warm-start.ts","example:ai-sdk-tools":"npm run build && npx tsx examples/ai-sdk-tools.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:context-usage":"npm run build && npx tsx examples/context-usage.ts","example:skills-option":"npm run build && npx tsx examples/skills-option.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:hooks-permissions":"npm run build && npx tsx examples/hooks-permission-denied.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts","example:prompt-suggestions":"npm run build && npx tsx examples/prompt-suggestions.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.3.170"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^20.19.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.5.1_1783377237624_0.873372795629183","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"ai-sdk-provider-claude-code","version":"4.0.0","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@4.0.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"0b5e87fcbdeb82167ca58d0a1e03c05ac11bde00","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-4.0.0.tgz","fileCount":20,"integrity":"sha512-d7t+FeuWuDKCDofccSrRFpY6dBJezb1dq3nWEDN7Aw2DoVd+8ACdq5JMhIZRaXjaiO6GNS2LVzvfkX0bA1MJow==","signatures":[{"sig":"MEUCIC1v0ZKkzPQoOFHWfqlghgo578cYMGmkOsKhruqeXGrZAiEArnVhZ7uI5UNaNED5gQrsjHnSb25SsNgAgpS5xxz3/1I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":873139},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","example:sessions":"npm run build && npx tsx examples/session-management.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:warm-start":"npm run build && npx tsx examples/warm-start.ts","example:ai-sdk-tools":"npm run build && npx tsx examples/ai-sdk-tools.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:context-usage":"npm run build && npx tsx examples/context-usage.ts","example:skills-option":"npm run build && npx tsx examples/skills-option.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:hooks-permissions":"npm run build && npx tsx examples/hooks-permission-denied.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts","example:prompt-suggestions":"npm run build && npx tsx examples/prompt-suggestions.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v7 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^4.0.2","@ai-sdk/provider-utils":"^5.0.5","@anthropic-ai/claude-agent-sdk":"0.3.205"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.16","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^22.10.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_4.0.0_1783700025512_0.16813599140452462","host":"s3://npm-registry-packages-npm-production"}},"3.5.2":{"name":"ai-sdk-provider-claude-code","version":"3.5.2","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.5.2","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"82ed7125708f60f025869d8b6f022c74a7cdf386","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.5.2.tgz","fileCount":23,"integrity":"sha512-9ebt4pFST199QIC6VnWgBpMwDw8UHMsVqeWYVqL2yn3OC3uLGtkbuvpkcrl8eIPk4YXACikbu+9gTlNqYuXFqA==","signatures":[{"sig":"MEQCICAPd6ZZ9g1JMFIqJW+EyUngJmd/OuMLg9BwZmjt0g8sAiBQbaIfbRiinpnMIftvrbUBgu3LEspO4tFU0NeSLLI8oQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1351165},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","example:sessions":"npm run build && npx tsx examples/session-management.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:warm-start":"npm run build && npx tsx examples/warm-start.ts","example:ai-sdk-tools":"npm run build && npx tsx examples/ai-sdk-tools.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:context-usage":"npm run build && npx tsx examples/context-usage.ts","example:skills-option":"npm run build && npx tsx examples/skills-option.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:hooks-permissions":"npm run build && npx tsx examples/hooks-permission-denied.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts","example:prompt-suggestions":"npm run build && npx tsx examples/prompt-suggestions.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.3.205"},"publishConfig":{"tag":"ai-sdk-v6","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^20.19.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.5.2_1783703760752_0.2905759331281068","host":"s3://npm-registry-packages-npm-production"}},"4.0.1":{"name":"ai-sdk-provider-claude-code","version":"4.0.1","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@4.0.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"f8c521f60d4ef201c8067eed0f5b9733a0ef4275","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-4.0.1.tgz","fileCount":20,"integrity":"sha512-ZC/nSCG7INgZvLzaxBEQ03tkTKaaPqoZ1uQ2ozIPBiMlKrDLxWAAKa3Dpg4WygcVrzetxDLLS01itcBD5HEYRA==","signatures":[{"sig":"MEQCIBCIrZcJcklKGya5vwI4nxJxjyVE7UV9UDEwe3iPywRVAiBnmn/YbAgEQ3XlI734zSTt2LZMDInLHszTUiWikS3i/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":881526},"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":"0bae2dd84172bedf4528fd2b1708e3875087e7e1","scripts":{"ci":"npm run typecheck && npm run lint:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","example:sessions":"npm run build && npx tsx examples/session-management.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:warm-start":"npm run build && npx tsx examples/warm-start.ts","example:ai-sdk-tools":"npm run build && npx tsx examples/ai-sdk-tools.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:context-usage":"npm run build && npx tsx examples/context-usage.ts","example:skills-option":"npm run build && npx tsx examples/skills-option.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:hooks-permissions":"npm run build && npx tsx examples/hooks-permission-denied.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts","example:prompt-suggestions":"npm run build && npx tsx examples/prompt-suggestions.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v7 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^4.0.2","@ai-sdk/provider-utils":"^5.0.5","@anthropic-ai/claude-agent-sdk":"0.3.205"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.16","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^22.10.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_4.0.1_1783746171371_0.7601406530902368","host":"s3://npm-registry-packages-npm-production"}},"3.5.3":{"name":"ai-sdk-provider-claude-code","version":"3.5.3","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.5.3","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"5270e9e5707f98de8dd24f9c4c72e9df3fbe32e5","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.5.3.tgz","fileCount":23,"integrity":"sha512-+uzxoU4X3ldzi14jbNvQ9SIitEmjXUM8wYwBC9xb7nfF0W03OB+EvzGrFMwkiE9mVSkFijXIDFzKBhMQ5zkqcg==","signatures":[{"sig":"MEQCIGCtcG9zGG2lo6HAr01mX1ucpYq6UB6wz972BHNsLaUyAiBkW/Kxjd//CCoo+08LKWTNrbhBQ6N8WMb4MCnQi3WnkA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1367229},"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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","example:sessions":"npm run build && npx tsx examples/session-management.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:warm-start":"npm run build && npx tsx examples/warm-start.ts","example:ai-sdk-tools":"npm run build && npx tsx examples/ai-sdk-tools.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:context-usage":"npm run build && npx tsx examples/context-usage.ts","example:skills-option":"npm run build && npx tsx examples/skills-option.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:hooks-permissions":"npm run build && npx tsx examples/hooks-permission-denied.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts","example:prompt-suggestions":"npm run build && npx tsx examples/prompt-suggestions.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"^0.3.205"},"publishConfig":{"tag":"ai-sdk-v6","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^20.19.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.5.3_1783746177418_0.11654449325702676","host":"s3://npm-registry-packages-npm-production"}},"4.1.0":{"name":"ai-sdk-provider-claude-code","version":"4.1.0","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@4.1.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"2d9149bced5b023da835f12765fd497117afab9e","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-4.1.0.tgz","fileCount":20,"integrity":"sha512-qOAKmqujYA3TZ4fjCOgAQUaG4EUg8fqs99E+xjnTnzKhHMWlxZ8dKSvNcWxVS//PHF9zhJ6s62HHFFg1YBuu1Q==","signatures":[{"sig":"MEUCIQC5YL4xR3dg4ruBoDSvH9sA/I20+VmZYR5JaJAXlpdmEwIgfM4hJeEUo0DLBZxDyuE0wjb3pqDS3b35t2MnQ0CEpHE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":882575},"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":"8e0a417305a4a9597630890d8bf62061d5dd6db4","scripts":{"ci":"npm run typecheck && npm run lint:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","example:sessions":"npm run build && npx tsx examples/session-management.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:warm-start":"npm run build && npx tsx examples/warm-start.ts","example:ai-sdk-tools":"npm run build && npx tsx examples/ai-sdk-tools.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:context-usage":"npm run build && npx tsx examples/context-usage.ts","example:skills-option":"npm run build && npx tsx examples/skills-option.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:hooks-permissions":"npm run build && npx tsx examples/hooks-permission-denied.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts","example:prompt-suggestions":"npm run build && npx tsx examples/prompt-suggestions.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v7 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^4.0.2","@ai-sdk/provider-utils":"^5.0.5","@anthropic-ai/claude-agent-sdk":"0.3.226"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.16","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^22.10.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_4.1.0_1786351817042_0.22412940365406975","host":"s3://npm-registry-packages-npm-production"}},"4.1.1":{"name":"ai-sdk-provider-claude-code","version":"4.1.1","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@4.1.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"400952cbbf8386ddb2555b3ba039439d3123d6fa","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-4.1.1.tgz","fileCount":20,"integrity":"sha512-NuuzuVzgJLQk41IACQsWcJHfJb2L/xyHAX4rCCfkiUqYkv+SlFzDXYJj16BaazLQpu0qf3GWOv0T8Fu4cSnkZw==","signatures":[{"sig":"MEQCIEvW6A2bDyRBSOP8rKUh7kIWJQz66bpO7TKwZN1Mtv4SAiB56MYaR6hg9b5xX0mbeeUD93YxfvIacSmTVJlayvQ6Zg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":882577},"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":"0944266c17eac1b043856f512835d90be94f8ae8","scripts":{"ci":"npm run typecheck && npm run lint:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","example:sessions":"npm run build && npx tsx examples/session-management.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:warm-start":"npm run build && npx tsx examples/warm-start.ts","example:ai-sdk-tools":"npm run build && npx tsx examples/ai-sdk-tools.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:context-usage":"npm run build && npx tsx examples/context-usage.ts","example:skills-option":"npm run build && npx tsx examples/skills-option.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:hooks-permissions":"npm run build && npx tsx examples/hooks-permission-denied.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts","example:prompt-suggestions":"npm run build && npx tsx examples/prompt-suggestions.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v7 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^4.0.7","@ai-sdk/provider-utils":"^5.0.27","@anthropic-ai/claude-agent-sdk":"0.3.232"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.66","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^22.10.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_4.1.1_1786750841047_0.44643245129496534","host":"s3://npm-registry-packages-npm-production"}},"4.2.0":{"name":"ai-sdk-provider-claude-code","version":"4.2.0","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@4.2.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"2b9cb4ec1231c7ebbd34853d6942ffb31f9ec6bb","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-4.2.0.tgz","fileCount":20,"integrity":"sha512-lTyoCpV1PNz46XsNZFqqAkOvnGN12d3Ino7MrFWSa4zkbpMtdZWCEbEKcErPHqh0sqvugH1u9fdBOjU3QcLxXg==","signatures":[{"sig":"MEQCIEXlJXNf/qmhKvFrxMkEt9aZGByIuCnAbEmXOLvc+n2MAiBDWeRmvReeq9wXSY7nBS9rRYeWJPRZj376b/K7FZaqkA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":896610},"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":"ac40fa608889b95df22eccb94926c1799d6adf22","scripts":{"ci":"npm run typecheck && npm run lint:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","example:sessions":"npm run build && npx tsx examples/session-management.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:warm-start":"npm run build && npx tsx examples/warm-start.ts","example:ai-sdk-tools":"npm run build && npx tsx examples/ai-sdk-tools.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:context-usage":"npm run build && npx tsx examples/context-usage.ts","example:skills-option":"npm run build && npx tsx examples/skills-option.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:hooks-permissions":"npm run build && npx tsx examples/hooks-permission-denied.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts","example:prompt-suggestions":"npm run build && npx tsx examples/prompt-suggestions.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v7 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^4.0.7","@ai-sdk/provider-utils":"^5.0.27","@anthropic-ai/claude-agent-sdk":"0.3.251"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.66","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^22.10.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_4.2.0_1788220698655_0.5058128837073514","host":"s3://npm-registry-packages-npm-production"}},"4.3.0":{"name":"ai-sdk-provider-claude-code","version":"4.3.0","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@4.3.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"8fd9521fc4336d21b9b38b32647ddb3053e79c85","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-4.3.0.tgz","fileCount":20,"integrity":"sha512-Jc5nPOFvjWc7ZTn5++TINxreIgqTSTpvR1699x2AB+Y2T0Vg1CXieUNQj90ZercYL/TaoIMmTh1cac9JP8ycog==","signatures":[{"sig":"MEQCIG34Tjghp2FW+YU9teBzQjlvG5f1Kv4YCLQnAZ+6PeNBAiAIU6l5kVTe546Qf8tYH2a6Na2BkICKKhQinvakZwp+5w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":899466},"main":"./dist/index.js","type":"module","_from":"file:/private/tmp/ai-sdk-provider-claude-code-4.3.0.tgz","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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","example:sessions":"npm run build && npx tsx examples/session-management.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:warm-start":"npm run build && npx tsx examples/warm-start.ts","example:ai-sdk-tools":"npm run build && npx tsx examples/ai-sdk-tools.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:context-usage":"npm run build && npx tsx examples/context-usage.ts","example:skills-option":"npm run build && npx tsx examples/skills-option.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:hooks-permissions":"npm run build && npx tsx examples/hooks-permission-denied.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts","example:prompt-suggestions":"npm run build && npx tsx examples/prompt-suggestions.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"_resolved":"/private/tmp/ai-sdk-provider-claude-code-4.3.0.tgz","_integrity":"sha512-Jc5nPOFvjWc7ZTn5++TINxreIgqTSTpvR1699x2AB+Y2T0Vg1CXieUNQj90ZercYL/TaoIMmTh1cac9JP8ycog==","repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.9.0","description":"AI SDK v7 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@ai-sdk/provider":"^4.0.7","@ai-sdk/provider-utils":"^5.0.27","@anthropic-ai/claude-agent-sdk":"0.3.263"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.66","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^22.10.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_4.3.0_1788804917906_0.37502984240341086","host":"s3://npm-registry-packages-npm-production"}},"3.6.0":{"name":"ai-sdk-provider-claude-code","version":"3.6.0","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@3.6.0","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"24ea0cd026d1dc0b7c42b649a5557c43d4b84409","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-3.6.0.tgz","fileCount":23,"integrity":"sha512-dMujt+quazuI76Vg2lNYptOV+mObmjCWA+gjcXJe7Y5rIOtnd2CxSuwGUjjHAfDXShCXjGXrFUfNXLk/ymjo+A==","signatures":[{"sig":"MEUCIHQkTzWXoleWppwNqu1kmOnrsy0irnQKK04Gf3QoZlPzAiEA49izJKyXi1hX7u0NUh5Z/hV4YluyYkV4HDM3JLvt5F4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1386504},"main":"./dist/index.cjs","type":"module","_from":"file:/private/tmp/v6-360-release/ai-sdk-provider-claude-code-3.6.0.tgz","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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","example:sessions":"npm run build && npx tsx examples/session-management.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:warm-start":"npm run build && npx tsx examples/warm-start.ts","example:ai-sdk-tools":"npm run build && npx tsx examples/ai-sdk-tools.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:context-usage":"npm run build && npx tsx examples/context-usage.ts","example:skills-option":"npm run build && npx tsx examples/skills-option.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:hooks-permissions":"npm run build && npx tsx examples/hooks-permission-denied.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts","example:prompt-suggestions":"npm run build && npx tsx examples/prompt-suggestions.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"_resolved":"/private/tmp/v6-360-release/ai-sdk-provider-claude-code-3.6.0.tgz","_integrity":"sha512-dMujt+quazuI76Vg2lNYptOV+mObmjCWA+gjcXJe7Y5rIOtnd2CxSuwGUjjHAfDXShCXjGXrFUfNXLk/ymjo+A==","repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.19.0","description":"AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"@ai-sdk/provider":"^3.0.0","@ai-sdk/provider-utils":"^4.0.1","@anthropic-ai/claude-agent-sdk":"0.3.263"},"publishConfig":{"tag":"ai-sdk-v6","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"^6.0.3","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^20.19.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_3.6.0_1788810052832_0.41082120347914497","host":"s3://npm-registry-packages-npm-production"}},"4.3.1":{"name":"ai-sdk-provider-claude-code","version":"4.3.1","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"author":{"name":"Ben Vargas"},"license":"MIT","_id":"ai-sdk-provider-claude-code@4.3.1","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"8325c8ba429f4d405b68a2d3b2d505384e5d6e05","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-4.3.1.tgz","fileCount":20,"integrity":"sha512-uB/rv1w+IzsgTNDWfw4UoyXio0+s4LXs07dm7ImW5Ptil3xx061W3eBSjzEhg6v8A6tUdHpj6OEf+3O8PQ834Q==","signatures":[{"sig":"MEQCIG7hO380R7e/z+JWV6vG+WYfaon167uFlMo+aL8aSoSMAiAzrhqSd0R49q0QWKZ6EcbpGYdv/P/lSLA2p+p0ORcCEQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":904802},"main":"./dist/index.js","type":"module","_from":"file:/private/tmp/claude-code-v4.3.1-release-uz9p1kci/ai-sdk-provider-claude-code-4.3.1.tgz","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:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","example:sessions":"npm run build && npx tsx examples/session-management.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:warm-start":"npm run build && npx tsx examples/warm-start.ts","example:ai-sdk-tools":"npm run build && npx tsx examples/ai-sdk-tools.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:context-usage":"npm run build && npx tsx examples/context-usage.ts","example:skills-option":"npm run build && npx tsx examples/skills-option.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:hooks-permissions":"npm run build && npx tsx examples/hooks-permission-denied.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts","example:prompt-suggestions":"npm run build && npx tsx examples/prompt-suggestions.ts"},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"_resolved":"/private/tmp/claude-code-v4.3.1-release-uz9p1kci/ai-sdk-provider-claude-code-4.3.1.tgz","_integrity":"sha512-uB/rv1w+IzsgTNDWfw4UoyXio0+s4LXs07dm7ImW5Ptil3xx061W3eBSjzEhg6v8A6tUdHpj6OEf+3O8PQ834Q==","repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.19.0","description":"AI SDK v7 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"@ai-sdk/provider":"^4.0.7","@ai-sdk/provider-utils":"^5.0.27","@anthropic-ai/claude-agent-sdk":"0.3.263"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.66","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^22.10.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-sdk-provider-claude-code_4.3.1_1788810287601_0.16143788780668733","host":"s3://npm-registry-packages-npm-production"}},"4.3.2":{"_id":"ai-sdk-provider-claude-code@4.3.2","bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"dist":{"shasum":"718ee6cd71161016ddc199c269625f4f46821358","tarball":"https://registry.npmjs.org/ai-sdk-provider-claude-code/-/ai-sdk-provider-claude-code-4.3.2.tgz","fileCount":20,"integrity":"sha512-aHKiR9eAqGnVeDoVHnY3JZNvUuEBe4n6DSxXKA+p9XGU6Atwx3ODorEPQd04KJhSbEfR1taVXAZsseceZZiWOQ==","signatures":[{"sig":"MEUCIQDzxSsZo4MDxVGkfz+M9YVQEqH/sQVeL3Xl20H7b4vSkAIgPz4Y//vYyJBCM/Uuf1uh+mYXuIOYqureBycUks5tND4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEdmZg4R8XbWwu1H3AGYks+jOvBQ5aiqdAOv9YqI2HZPAiB0V7qmUbIEM3iHAmMzz3vJdOITiiY0Y4kISho+215YaQ=="}],"unpackedSize":908101},"main":"./dist/index.js","name":"ai-sdk-provider-claude-code","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":"d0ea3d7c5e203792f8835c5909caa8a95c98d40d","license":"MIT","scripts":{"ci":"npm run typecheck && npm run lint:all && 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","lint:all":"eslint .","test:edge":"vitest run --project=edge","test:node":"vitest run --project=node","typecheck":"tsc --noEmit","test:watch":"vitest","example:all":"npm run build && npm run example:basic && npm run example:streaming && npm run example:conversation && npm run example:config && npm run example:object && npm run example:object:constraints && npm run example:tools && npm run example:timeout","example:zod4":"npm run build && npx tsx examples/zod4-compatibility-test.ts","format:check":"prettier --check .","example:basic":"npm run build && npx tsx examples/basic-usage.ts","example:tools":"npm run build && npx tsx examples/tool-management.ts","test:coverage":"vitest run --coverage","example:config":"npm run build && npx tsx examples/custom-config.ts","example:object":"npm run build && npx tsx examples/generate-object.ts","prepublishOnly":"npm run clean && npm run build","example:mcp:exa":"npm run build && npx tsx examples/mcp-exa.ts","example:timeout":"npm run build && npx tsx examples/long-running-tasks.ts","example:sessions":"npm run build && npx tsx examples/session-management.ts","test:integration":"npm run build && npx tsx examples/integration-test.ts","example:streaming":"npm run build && npx tsx examples/streaming.ts","example:warm-start":"npm run build && npx tsx examples/warm-start.ts","example:ai-sdk-tools":"npm run build && npx tsx examples/ai-sdk-tools.ts","example:conversation":"npm run build && npx tsx examples/conversation-history.ts","example:context-usage":"npm run build && npx tsx examples/context-usage.ts","example:skills-option":"npm run build && npx tsx examples/skills-option.ts","example:mcp:filesystem":"npm run build && npx tsx examples/mcp-filesystem.ts","example:structured-repro":"npx tsx examples/structured-output-repro.ts","example:hooks-permissions":"npm run build && npx tsx examples/hooks-permission-denied.ts","example:object:constraints":"npm run build && npx tsx examples/generate-object-constraints.ts","example:prompt-suggestions":"npm run build && npx tsx examples/prompt-suggestions.ts"},"version":"4.3.2","_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"_npmVersion":"11.19.0","description":"AI SDK v7 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","directories":{},"maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"@ai-sdk/provider":"^4.0.7","@ai-sdk/provider-utils":"^5.0.27","@anthropic-ai/claude-agent-sdk":"0.3.278"},"publishConfig":{"tag":"latest","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ai":"^7.0.66","zod":"^4.1.12","tsup":"8.5.0","eslint":"9.28.0","vitest":"3.2.4","globals":"16.2.0","prettier":"^3.6.2","@eslint/js":"9.28.0","typescript":"5.6.3","@types/node":"^22.10.0","@edge-runtime/vm":"5.0.0","@vitest/coverage-v8":"^3.2.4","@typescript-eslint/parser":"8.34.0","@typescript-eslint/eslint-plugin":"8.34.0"},"peerDependencies":{"zod":"^4.1.8"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ai-sdk-provider-claude-code_4.3.2_1790016978741_0.9598183271425165"}}},"time":{"created":"2025-06-19T22:29:04.072Z","modified":"2026-09-21T18:56:19.000Z","0.2.0":"2025-06-19T22:29:04.389Z","0.2.1":"2025-06-19T22:34:28.827Z","0.2.2":"2025-06-20T16:37:18.404Z","1.0.0-beta.1":"2025-07-24T04:39:27.662Z","1.0.1":"2025-08-15T03:47:48.226Z","1.1.0":"2025-08-18T14:37:11.670Z","1.1.1":"2025-08-26T01:18:48.479Z","0.2.3":"2025-08-26T02:18:37.322Z","1.1.2":"2025-08-28T03:08:45.964Z","1.1.3":"2025-09-03T03:03:46.430Z","1.1.4":"2025-09-18T03:18:16.476Z","1.2.0":"2025-10-02T00:38:04.530Z","2.0.0":"2025-10-02T08:34:18.742Z","2.0.2":"2025-10-02T08:56:51.601Z","2.0.3":"2025-10-16T17:54:27.145Z","2.0.4":"2025-10-19T18:02:20.981Z","1.2.2":"2025-10-19T22:13:39.420Z","2.0.5":"2025-10-19T22:19:01.102Z","2.1.0":"2025-10-21T02:44:53.547Z","2.2.0":"2025-11-22T18:42:55.382Z","2.2.1":"2025-11-24T20:44:53.139Z","2.2.2":"2025-11-26T17:35:28.224Z","2.2.3":"2025-11-26T20:33:21.982Z","2.2.4":"2025-12-05T01:01:31.453Z","3.0.0-beta.1":"2025-12-09T16:09:40.247Z","3.0.0":"2025-12-28T01:46:11.562Z","3.0.1":"2025-12-28T06:04:40.877Z","3.1.0":"2026-01-05T11:31:52.983Z","2.3.0":"2026-01-08T01:21:20.380Z","3.2.1":"2026-01-11T22:25:00.036Z","3.3.0":"2026-01-16T03:10:14.549Z","3.3.1":"2026-01-16T04:52:14.546Z","3.3.2":"2026-01-19T00:10:48.401Z","3.3.3":"2026-01-23T04:50:44.186Z","3.3.4":"2026-01-29T19:32:31.182Z","3.3.5":"2026-01-31T10:21:22.497Z","3.3.6":"2026-02-02T18:11:40.156Z","3.4.0":"2026-02-06T08:26:43.914Z","3.4.1":"2026-02-18T05:55:49.526Z","3.4.2":"2026-02-18T06:45:47.965Z","3.4.3":"2026-03-02T16:28:09.537Z","3.4.4":"2026-03-10T08:06:43.950Z","3.5.0":"2026-06-13T01:11:51.109Z","3.5.1":"2026-07-06T22:33:57.798Z","4.0.0":"2026-07-10T16:13:45.677Z","3.5.2":"2026-07-10T17:16:00.958Z","4.0.1":"2026-07-11T05:02:51.534Z","3.5.3":"2026-07-11T05:02:57.608Z","4.1.0":"2026-08-10T08:50:17.187Z","4.1.1":"2026-08-14T23:40:41.203Z","4.2.0":"2026-08-31T23:58:18.846Z","4.3.0":"2026-09-07T18:15:18.082Z","3.6.0":"2026-09-07T19:40:52.987Z","4.3.1":"2026-09-07T19:44:47.772Z","4.3.2":"2026-09-21T18:56:18.834Z"},"bugs":{"url":"https://github.com/ben-vargas/ai-sdk-provider-claude-code/issues"},"author":{"name":"Ben Vargas"},"license":"MIT","homepage":"https://github.com/ben-vargas/ai-sdk-provider-claude-code","keywords":["ai-sdk","claude-agent-sdk","anthropic","cli","language-model","llm"],"repository":{"url":"git+https://github.com/ben-vargas/ai-sdk-provider-claude-code.git","type":"git"},"description":"AI SDK v7 provider for Claude via Claude Agent SDK (use Pro/Max subscription)","maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"readme":"<p align=\"center\">\n  <img src=\"https://img.shields.io/badge/status-stable-00A79E\" alt=\"stable status\">\n  <a href=\"https://www.npmjs.com/package/ai-sdk-provider-claude-code\"><img src=\"https://img.shields.io/npm/v/ai-sdk-provider-claude-code?color=00A79E\" alt=\"npm version\" /></a>\n  <a href=\"https://www.npmjs.com/package/ai-sdk-provider-claude-code\"><img src=\"https://img.shields.io/npm/unpacked-size/ai-sdk-provider-claude-code?color=00A79E\" alt=\"install size\" /></a>\n  <a href=\"https://www.npmjs.com/package/ai-sdk-provider-claude-code\"><img src=\"https://img.shields.io/npm/dy/ai-sdk-provider-claude-code.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-claude-code\"><img src=\"https://img.shields.io/npm/l/ai-sdk-provider-claude-code?color=00A79E\" alt=\"License: MIT\" /></a>\n</p>\n\n# AI SDK Provider for Claude Agent SDK\n\n> **Latest Release**: Version 4.x supports AI SDK v7 stable with the Claude Agent SDK. Version 3.x moves to maintenance for AI SDK v6 under the `ai-sdk-v6` tag.\n\n**ai-sdk-provider-claude-code** lets you use Claude via the [Vercel AI SDK](https://sdk.vercel.ai/docs) through the official `@anthropic-ai/claude-agent-sdk` and the Claude Code CLI.\n\n## Version Compatibility\n\n| Provider Version | AI SDK Version | Underlying SDK                   | NPM Tag              | Status      | Branch      |\n| ---------------- | -------------- | -------------------------------- | -------------------- | ----------- | ----------- |\n| 4.x.x            | v7             | `@anthropic-ai/claude-agent-sdk` | `latest`             | Stable      | `main`      |\n| 3.x.x            | v6             | `@anthropic-ai/claude-agent-sdk` | `ai-sdk-v6`          | Maintenance | `ai-sdk-v6` |\n| 2.x.x            | v5             | `@anthropic-ai/claude-agent-sdk` | `ai-sdk-v5`          | Legacy      | `ai-sdk-v5` |\n| 1.x.x            | v5             | `@anthropic-ai/claude-code`      | `v1-claude-code-sdk` | Legacy      | `v1`        |\n| 0.x.x            | v4             | `@anthropic-ai/claude-code`      | `ai-sdk-v4`          | Legacy      | `ai-sdk-v4` |\n\nInstall commands for each line are listed under [Installation](#installation) below.\n\n## Zod Compatibility\n\n**The 4.x line requires Zod `^4.1.8`.** Version 3.x remains available for AI SDK v6 under the `ai-sdk-v6` tag.\n\n```bash\nnpm install ai-sdk-provider-claude-code ai zod@^4.1.8\n```\n\n> **Note:** Zod 3 support was dropped in v3.2.0 due to the underlying `@anthropic-ai/claude-agent-sdk@0.2.x` requiring Zod 4. If you need Zod 3 support, use `ai-sdk-provider-claude-code@3.1.x`.\n\n## Installation\n\n### 1. Install and authenticate the CLI\n\nSee the [official docs](https://docs.anthropic.com/en/docs/claude-code/overview) for platform-specific options.\n\n```bash\ncurl -fsSL https://claude.ai/install.sh | bash\nclaude auth login\n```\n\n### 2. Add the provider\n\n```bash\n# For AI SDK v7 (4.x; current latest tag)\nnpm install ai-sdk-provider-claude-code ai\n\n# For AI SDK v6 maintenance (3.x)\nnpm install ai-sdk-provider-claude-code@ai-sdk-v6 ai@^6.0.0\n\n# For AI SDK v5\nnpm install ai-sdk-provider-claude-code@ai-sdk-v5 ai@^5.0.0\n\n# For AI SDK v4 (legacy)\nnpm install ai-sdk-provider-claude-code@ai-sdk-v4 ai@^4.3.16\n# or use a specific version: npm install ai-sdk-provider-claude-code@^0.2.2\n```\n\n## Disclaimer\n\n**This is an unofficial community provider** and is not affiliated with or endorsed by Anthropic or Vercel. By using this provider:\n\n- You understand that your data will be sent to Anthropic's servers through the Claude Agent SDK\n- You agree to comply with [Anthropic's Terms of Service](https://www.anthropic.com/legal/consumer-terms)\n- You acknowledge this software is provided \"as is\" without warranties of any kind\n\nPlease ensure you have appropriate permissions and comply with all applicable terms when using this provider.\n\n## Quick Start\n\n### AI SDK v7 (`latest`)\n\n```typescript\n// npm install ai-sdk-provider-claude-code ai\nimport { streamText } from 'ai';\nimport { claudeCode } from 'ai-sdk-provider-claude-code';\n\nconst result = streamText({\n  model: claudeCode('haiku'),\n  prompt: 'Hello, Claude!',\n});\n\nconst text = await result.text;\nconsole.log(text);\n```\n\n### AI SDK v6 (maintenance)\n\n```typescript\n// npm install ai-sdk-provider-claude-code@ai-sdk-v6 ai@^6.0.0\nimport { streamText } from 'ai';\nimport { claudeCode } from 'ai-sdk-provider-claude-code';\n\nconst result = streamText({\n  model: claudeCode('haiku'),\n  prompt: 'Hello, Claude!',\n});\n\nconst text = await result.text;\nconsole.log(text);\n```\n\n### AI SDK v5\n\n```typescript\n// npm install ai-sdk-provider-claude-code@ai-sdk-v5 ai@^5.0.0\nimport { streamText } from 'ai';\nimport { claudeCode } from 'ai-sdk-provider-claude-code';\n\nconst result = streamText({\n  model: claudeCode('haiku'),\n  prompt: 'Hello, Claude!',\n});\n\nconst text = await result.text;\nconsole.log(text);\n```\n\n## Breaking Changes\n\n### Version 4.0.0 (AI SDK v7)\n\nThis release ports the provider to AI SDK v7 / `LanguageModelV4`, adds first-class Claude Agent SDK callback, query-controller, MCP, and image support, and keeps the v7 support boundaries explicit:\n\n- Requires Node.js ≥ 22 and Zod `^4.1.8`\n- ESM-only package output; CommonJS `require()` is no longer available\n- Tool failures now use spec `tool-result` parts/events with `isError: true` instead of the provider-specific `tool-error` stream extension\n\n### Optional AI SDK v7 surfaces not implemented\n\nVersion 4.0.0 intentionally keeps optional provider surfaces absent unless the Claude Agent SDK has a durable provider-reference mapping:\n\n- `ProviderV4.files()` is not implemented yet. The AI SDK interface uploads `{ type: 'data' }` or `{ type: 'text' }` bytes and returns a reusable provider reference, but Claude Agent SDK `0.3.278` exposes no direct upload/reuse API for that contract. This provider forwards inline **image** file parts in prompts; non-image inline files (for example PDFs) emit an unsupported-file call warning and are not forwarded. It does not upload files into durable provider references.\n- Canonical V4 tool-result file parts are replayed into conversation history as text markers like `[File <name>: <mediaType>]`; raw file bytes are not re-sent on replay. Richer tool-result file replay, such as re-sending actual image/file bytes for tool-result file parts, is deferred.\n- `ProviderV4.skills()` is not implemented yet. Claude Code skills are loaded from configured user/project/local skill directories with the existing `skills` setting below; there is no Agent SDK API that uploads a skill bundle and returns an AI SDK provider reference.\n- Workflow serialization is deferred. `@ai-sdk/provider-utils@5.0.27` exposes `WORKFLOW_SERIALIZE`, `WORKFLOW_DESERIALIZE`, and `serializeModelOptions()` for provider model classes in the AI SDK v7 stack, but this provider has not added a serialization contract for provider instances or settings. Callback/function settings such as `canUseTool`, hooks, `logger`, `spawnClaudeCodeProcess`, and `SessionStore` methods are not JSON-serializable and must be recreated by the application.\n- V4 `custom` and `reasoning-file` parts are not emitted as provider output yet. Claude Agent SDK `0.3.278` has no durable reasoning-file artifact output that maps to AI SDK `reasoning-file`; assistant-history `custom` and `reasoning-file` parts have no Claude Code replay representation and are skipped (unknown unsupported content variants still warn).\n\n### Version 3.0.0 (AI SDK v6 Stable)\n\nThis version upgrades to AI SDK v6 stable with updated provider types:\n\n- **`usage.raw`** now contains raw provider usage (previously in `providerMetadata['claude-code'].rawUsage`)\n- Internal type changes for `LanguageModelV3Usage` and `LanguageModelV3FinishReason` (transparent to most users)\n\n### Version 2.0.0 (Claude Agent SDK Migration)\n\nThis version migrates to `@anthropic-ai/claude-agent-sdk` with **new defaults for better control**:\n\n- **System prompt** is no longer applied by default\n- **Filesystem settings** (CLAUDE.md, settings.json) are no longer loaded by default\n- See [Migrating to Claude Agent SDK](#migrating-to-claude-agent-sdk) section below for migration details\n\n### Version 1.x (AI SDK v5)\n\nSee [Breaking Changes Guide](docs/ai-sdk-v5/V5_BREAKING_CHANGES.md) for details on migrating from v0.x to v1.x.\n\nKey changes:\n\n- Requires AI SDK v5\n- New streaming API pattern\n- Updated token usage properties\n- Changed message types\n\n## Models\n\n- **`fable`** - Claude Fable (most capable)\n- **`opus`** - Claude Opus (highly capable)\n- **`sonnet`** - Claude Sonnet (balanced performance)\n- **`haiku`** - Claude Haiku (fastest, most cost-effective)\n\nYou can also use full model identifiers directly (e.g., `claude-fable-5`, `claude-sonnet-4-6`, `claude-opus-4-8`).\n\n## Documentation\n\n- **[Session Management](docs/sessions.md)** - Creating, resuming, forking, inspecting, and deleting sessions\n- **[Examples](examples/)** - Sample scripts and patterns\n- **[Usage Guide](docs/ai-sdk-v5/GUIDE.md)** - Comprehensive examples and configuration (written for provider 2.x / AI SDK v5; most patterns still apply)\n- **[Troubleshooting](docs/ai-sdk-v5/TROUBLESHOOTING.md)** - Common issues and solutions (written for provider 2.x / AI SDK v5)\n- **[Tool Streaming Support](docs/ai-sdk-v5/TOOL_STREAMING_SUPPORT.md)** - Event semantics and performance notes (written for provider 2.x / AI SDK v5)\n- **[Breaking Changes](docs/ai-sdk-v5/V5_BREAKING_CHANGES.md)** - v0.x to v1.x migration guide (historical)\n\nThe `docs/ai-sdk-v4/` and `docs/ai-sdk-v5/` directories cover legacy provider versions (0.x and 1.x–2.x respectively) and are kept for reference.\n\n## Migrating to Claude Agent SDK (v2.0.0)\n\n**Version 2.0.0** migrates from `@anthropic-ai/claude-code` to `@anthropic-ai/claude-agent-sdk`. Two defaults changed:\n\n- System prompt is no longer applied by default.\n- Filesystem settings (CLAUDE.md, settings.json) are not loaded by default.\n\nRestore old behavior explicitly:\n\n```ts\nimport { claudeCode } from 'ai-sdk-provider-claude-code';\n\nconst model = claudeCode('sonnet', {\n  systemPrompt: { type: 'preset', preset: 'claude_code' },\n  settingSources: ['user', 'project', 'local'],\n});\n```\n\nCLAUDE.md requires:\n\n- `systemPrompt: { type: 'preset', preset: 'claude_code' }`\n- `settingSources` includes `'project'`\n\nNew recommended behavior (explicit config):\n\n```ts\nconst model = claudeCode('sonnet', {\n  systemPrompt: 'You are a helpful assistant specialized in ...',\n  settingSources: ['project'], // or omit for no filesystem settings\n});\n```\n\nCLI install and auth are unchanged:\n\n```bash\ncurl -fsSL https://claude.ai/install.sh | bash\nclaude auth login\n```\n\n### Migrating from v1.x to v2.0.0\n\nIf you're upgrading from version 1.x:\n\n1. **Update the package**: `npm install ai-sdk-provider-claude-code@ai-sdk-v5`\n2. **If you relied on default system prompt or CLAUDE.md**, add explicit configuration:\n   ```ts\n   const model = claudeCode('sonnet', {\n     systemPrompt: { type: 'preset', preset: 'claude_code' },\n     settingSources: ['user', 'project', 'local'],\n   });\n   ```\n3. **If you never used CLAUDE.md or custom system prompts**, no changes needed - v2.0.0 works the same for you.\n\n**Benefits of v2.0.0**:\n\n- Predictable behavior across environments (no hidden filesystem settings)\n- Better suited for CI/CD and multi-tenant applications\n- Explicit configuration over implicit defaults\n- Future-proof alignment with Claude Agent SDK design\n\n## Structured Outputs\n\nThis provider supports **native structured outputs** via Claude Agent SDK constrained decoding. On the 4.x line (AI SDK v7), use `generateText()` with an `output` specification such as `Output.object({ schema })`, then destructure `output` from the result. For streaming structured output, use `streamText()` with the same `output` setting and read `partialOutputStream` as partial objects arrive.\n\n```typescript\nimport { generateText, Output } from 'ai';\nimport { claudeCode } from 'ai-sdk-provider-claude-code';\nimport { z } from 'zod';\n\nconst UserProfileSchema = z.object({\n  name: z.string(),\n  age: z.number(),\n  email: z.string().describe('Email address (validate client-side)'),\n});\n\nconst { output } = await generateText({\n  model: claudeCode('sonnet'),\n  output: Output.object({ schema: UserProfileSchema }),\n  prompt: 'Generate a user profile for a software developer',\n});\n\nconsole.log(output); // Matches the schema above\n// { name: \"Alex Chen\", age: 28, email: \"alex@example.com\" }\n```\n\n**Benefits:**\n\n- ✅ **Schema compliance (supported features)** - Constrained decoding ensures valid output\n- ✅ **No JSON parsing errors** - AI SDK handles validation against your schema\n- ✅ **No prompt engineering** - Schema enforcement is native to the SDK\n- ✅ **Better performance** - No retry/extraction logic needed\n\n> **Note:** Schema-less JSON output (AI SDK v7 `Output.json()`) is not supported by Claude Code; use `Output.object()` / `Output.array()` / `Output.choice()` with a schema or choices. The provider emits a V4 `unsupported` warning with `feature: 'responseFormat'` and treats the call as plain text.\n>\n> **Current CLI limitation:** Some JSON Schema features can cause the Claude Code CLI to silently fall back to prose (no `structured_output`). The provider mitigates the most common case: `format` keywords (`date-time`, `email`, `uri`, `uuid`, ... — produced by Zod's `.datetime()`, `.email()`, `.url()`, `.uuid()`) are stripped client-side before the schema is sent, with the hint folded into the field's `description` (e.g., `(expected format: email)`). Server-side enforcement of `format` still does not exist in the CLI, but the AI SDK validates `output` against your original Zod schema client-side, so nothing is lost. Complex regex `pattern`s (lookaheads/backreferences) remain unmitigated — `pattern` is passed through untouched because the CLI genuinely rejects some patterns. Keep generation schemas simple and enforce stricter invariants after generation.\n>\n> If you are staying on the 3.x (AI SDK v6) line, its legacy structured-output examples may still use `generateObject()` / `streamObject()`; new 4.x code should use `generateText()` / `streamText()` with `Output`.\n\n## Core Features\n\n- 🚀 Vercel AI SDK compatibility\n- 🔄 Streaming support\n- 💬 Multi-turn conversations\n- 🎯 Native structured outputs with schema compliance for supported features\n- 🛑 AbortSignal support\n- 🔧 Tool management (MCP servers, permissions)\n- 🧩 Callbacks (`onSdkMessage`, task/hook/MCP status events, `canUseTool`, `onElicitation`)\n- 🎛️ Query controller access for safe live-session controls\n\n## AI SDK v7 app-level features\n\nDevTools and OpenTelemetry/OTel telemetry registration are app-level `ai` package features. This provider exposes standard AI SDK v7 metadata and stream parts for them, but adds no runtime dependencies for DevTools or OTel.\n\n## Agent SDK Options (Advanced)\n\nThis provider exposes Agent SDK options directly. Key options include:\n\n| Option                            | Description                                                                                                                                                                                                                                                                                                                                                             |\n| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `betas`                           | Enable beta features (e.g., `['context-1m-2025-08-07']`)                                                                                                                                                                                                                                                                                                                |\n| `sandbox`                         | Configure sandbox behavior (`{ enabled: true }`). Cannot be combined with a `settings` file path (inline `settings` objects are fine)                                                                                                                                                                                                                                   |\n| `plugins`                         | Load custom plugins from local paths                                                                                                                                                                                                                                                                                                                                    |\n| `resumeSessionAt`                 | Resume session at a specific message UUID                                                                                                                                                                                                                                                                                                                               |\n| `resumeDropsTurn`                 | Guard `resume` + `resumeSessionAt` with the discarded prompt UUID; consumed after success. See [guarded rewind](docs/sessions.md#guarded-rewind)                                                                                                                                                                                                                        |\n| `enableFileCheckpointing`         | Enable file rewind support                                                                                                                                                                                                                                                                                                                                              |\n| `maxBudgetUsd`                    | Maximum budget in USD for the query                                                                                                                                                                                                                                                                                                                                     |\n| `tools`                           | Tool configuration (array of names or preset)                                                                                                                                                                                                                                                                                                                           |\n| `allowDangerouslySkipPermissions` | Allow bypassing permissions                                                                                                                                                                                                                                                                                                                                             |\n| `persistSession`                  | When `false`, disables session persistence to disk (v3.2.0+)                                                                                                                                                                                                                                                                                                            |\n| `spawnClaudeCodeProcess`          | Custom process spawner for VMs/containers (v3.2.0+)                                                                                                                                                                                                                                                                                                                     |\n| `permissionMode`                  | Permission mode: `'default'`, `'acceptEdits'`, `'bypassPermissions'`, `'plan'`, `'dontAsk'`, `'auto'` (`'auto'` and `'dontAsk'` added in SDK 0.3.x; `'delegate'` was removed in SDK 0.3.x and the CLI rejects it, so the provider rejects it at validation time)                                                                                                        |\n| `sessionId`                       | Use a specific session ID for deterministic tracking and correlation (v3.4.0+). Must be a valid UUID; cannot be combined with `continue`/`resume` unless `forkSession` is also set                                                                                                                                                                                      |\n| `debug`                           | Enable programmatic debug logging from the SDK (v3.4.0+)                                                                                                                                                                                                                                                                                                                |\n| `debugFile`                       | Path to a file for SDK debug log output (v3.4.0+)                                                                                                                                                                                                                                                                                                                       |\n| `effort`                          | Effort level: `'low'`, `'medium'`, `'high'`, `'xhigh'`, or `'max'`                                                                                                                                                                                                                                                                                                      |\n| `thinking`                        | Thinking config: `{ type: 'adaptive' }`, `{ type: 'enabled', budgetTokens?: number }`, or `{ type: 'disabled' }`                                                                                                                                                                                                                                                        |\n| `promptSuggestions`               | Enable prompt suggestions (`boolean`)                                                                                                                                                                                                                                                                                                                                   |\n| `skills`                          | Enable skills for the session: `'all'` or an array of skill names (v3.5.0+)                                                                                                                                                                                                                                                                                             |\n| `settings`                        | Inline `Settings` object or path to a settings JSON file (v3.5.0+)                                                                                                                                                                                                                                                                                                      |\n| `managedSettings`                 | Restrictive policy-tier settings enforced on the subprocess (v3.5.0+)                                                                                                                                                                                                                                                                                                   |\n| `toolAliases`                     | Map built-in tool names to replacement tools, e.g. `{ Bash: 'mcp__workspace__bash' }` (v3.5.0+)                                                                                                                                                                                                                                                                         |\n| `toolConfig`                      | Per-tool configuration for built-in tools, e.g. `{ askUserQuestion: { previewFormat: 'html' } }` (v3.5.0+)                                                                                                                                                                                                                                                              |\n| `planModeInstructions`            | Custom workflow instructions for plan mode (v3.5.0+)                                                                                                                                                                                                                                                                                                                    |\n| `title`                           | Custom title for a new session (v3.5.0+)                                                                                                                                                                                                                                                                                                                                |\n| `forwardSubagentText`             | Forward subagent text/thinking blocks for nested transcripts (v3.5.0+)                                                                                                                                                                                                                                                                                                  |\n| `agentProgressSummaries`          | Periodic AI-generated progress summaries for running subagents (v3.5.0+)                                                                                                                                                                                                                                                                                                |\n| `includeHookEvents`               | Include hook lifecycle events in the output stream (v3.5.0+)                                                                                                                                                                                                                                                                                                            |\n| `permissionPrompts`               | Who answers permission prompts (v4.3.0+): `'host'` (default) uses `canUseTool` or `permissionPromptToolName`; `'none'` denies requests that would prompt and never calls `canUseTool`. Permission mode, rules and hooks still apply.                                                                                                                                    |\n| `pluginDelivery`                  | How plugin paths reach Claude Code (v4.3.0+): `'argv'` (default) uses flags; `'initialize'` sends them over stdin to avoid command-line length limits. Requires Claude Code 2.1.261+; the bundled binary qualifies.                                                                                                                                                     |\n| `projectConfigRoot`               | Trusted checkout that `cwd` is a worktree of (v4.3.2+). Project settings, `.mcp.json`, the `.claude` config trees and `CLAUDE_PROJECT_DIR` resolve from here instead of `cwd`, so the branch checked out in `cwd` cannot change what the session runs. Absolute path; requires Claude Code 2.1.275+ (the bundled binary qualifies)                                      |\n| `perTaskStopAffordance`           | Declare that your app renders per-task stop controls wired to `stopTask`, so an interrupt on a live open-input query spares background tasks (v4.2.0+). A capability assertion, not a toggle — see **Query controller access** below                                                                                                                                    |\n| `fallbackModel`                   | Fallback model(s) if the primary is overloaded — accepts a comma-separated list to try in order. Must differ from the main model                                                                                                                                                                                                                                        |\n| `onUserDialog`                    | Callback rendering blocking CLI dialogs (`request_user_dialog`); see **User dialogs** below                                                                                                                                                                                                                                                                             |\n| `supportedDialogKinds`            | Dialog kinds your `onUserDialog` can render; required for dialogs to be emitted at all                                                                                                                                                                                                                                                                                  |\n| `onSdkMessage`                    | Raw callback for every observed Agent SDK `SDKMessage`; useful for future SDK message types and custom telemetry                                                                                                                                                                                                                                                        |\n| `onTaskEvent`                     | Callback for task/subagent lifecycle events (`ClaudeCodeTaskEvent`); also accumulated in `providerMetadata['claude-code'].taskEvents` when present                                                                                                                                                                                                                      |\n| `onHookEvent`                     | Callback for hook lifecycle events (`ClaudeCodeHookEvent`); set `includeHookEvents: true` when you want the SDK to emit hook started/progress/response messages                                                                                                                                                                                                         |\n| `onMcpStatusChange`               | Callback for the initial MCP status snapshot observed from the SDK init message (`ClaudeCodeMcpStatusEvent`); the same request-time snapshot is surfaced in `providerMetadata['claude-code'].mcpServers` when available. For live status after runtime MCP changes, use `controller.mcpServerStatus()` while the query is live and SDK streaming input/output is active |\n| `onElicitation`                   | First-class Agent SDK `OnElicitation` callback for MCP elicitation requests (form fields, URL auth, or other server-requested input)                                                                                                                                                                                                                                    |\n| `agent`                           | Select a named Claude Code agent persona for the main thread. Use intentionally: a configured agent can carry its own prompt/tool/model policy, separate from the AI SDK call's prompt/model surface                                                                                                                                                                    |\n| `onQueryControllerCreated`        | Callback receiving a `ClaudeCodeQueryController` for safe live-query controls. Control-protocol methods require a live SDK `Query`, and most require SDK streaming input/output; `controller.rawQuery` remains available when you need the raw SDK `Query`                                                                                                              |\n\n**System prompt** (`systemPrompt`) accepts a string, a string array, or the Claude Code preset object (v3.5.0+ for the array form). In the array form, include the re-exported `SYSTEM_PROMPT_DYNAMIC_BOUNDARY` marker as a standalone element to split the static (cross-session cacheable) prefix from the dynamic suffix. The preset object additionally accepts `excludeDynamicSections: true` to strip per-user dynamic sections (working directory, git status) so the prompt caches across users.\n\n**Agent definitions** (`agents`) use the Agent SDK's `AgentDefinition` type directly (v3.5.0+), which adds `effort`, `permissionMode`, `background`, `memory`, `initialPrompt`, `skills`, `maxTurns`, and full model ID strings on top of the previously supported fields:\n\n- `disallowedTools` - Tools to explicitly disallow for the agent\n- `mcpServers` - MCP servers available to the agent\n- `criticalSystemReminder_EXPERIMENTAL` - Experimental critical reminder\n\n**Alpha options** (v3.5.0+, marked `@alpha` upstream and subject to change): `taskBudget` (`{ total: number }` API-side token budget), `sessionStore` (mirror session transcripts to a custom storage adapter; the provider rejects combining it with `persistSession: false` or `enableFileCheckpointing: true`, and `continue: true` without a `resume` ID requires the store to implement `listSessions()`), `sessionStoreFlush` (`'batched'` or `'eager'`), and `loadTimeoutMs` (resume-load timeout). The SDK's `InMemorySessionStore` reference implementation and the `SessionStore`/`SessionStoreFlush` types are re-exported.\n\nThe package also re-exports SDK helper functions/types used by advanced hosts: `resolveSettings`, `filterEscalatingDefaultMode`, `SandboxCredentialsConfig`, and `SDKFilesPersistedEvent` in addition to the session, hook, MCP, permission, and warm-start exports documented below.\n\n### User dialogs (`onUserDialog` / `supportedDialogKinds`)\n\nSome CLI flows ask the host to render a blocking dialog (a `request_user_dialog` control request) — for example `'refusal_fallback_prompt'`, which asks whether to retry a refused request differently. The SDK **fails closed** here: a dialog kind not declared in `supportedDialogKinds` is never emitted, and the flow behind it degrades to its no-dialog behavior (for `'refusal_fallback_prompt'`, the classic refusal error ends the turn). Providing `onUserDialog` alone does NOT opt you in — both options are required, and passing a non-empty `supportedDialogKinds` without the callback throws at SDK option intake, so the provider **rejects** that combination at validation time (`createClaudeCode`/model construction throws `Invalid settings`).\n\n```ts\nconst model = claudeCode('sonnet', {\n  supportedDialogKinds: ['refusal_fallback_prompt'],\n  onUserDialog: async (request) => {\n    // Each dialogKind defines its own payload/result shape; answer\n    // unrecognized kinds with { behavior: 'cancelled' } so the CLI\n    // applies the dialog's default behavior.\n    if (request.dialogKind === 'refusal_fallback_prompt') {\n      // Valid results for this kind: 'retry_fallback' | 'edit_prompt' | 'cancelled'\n      return { behavior: 'completed', result: 'retry_fallback' };\n    }\n    return { behavior: 'cancelled' };\n  },\n});\n```\n\nThe `OnUserDialog`, `UserDialogRequest`, and `UserDialogResult` types are re-exported. Note that `UserDialogResult.result` is typed `unknown` — the CLI validates it against the dialog kind's own result schema at runtime, and a result that doesn't match (e.g. the wrong shape or an unknown string) is **silently** replaced by the dialog's default (for `'refusal_fallback_prompt'`, `'cancelled'`), so double-check the result values for each kind you handle.\n\n### Permission decisions (`canUseTool`, `permissionMode`, and AI SDK `toolApproval`)\n\nFor hosts without an approval UI, set `permissionPrompts: 'none'`. Permission mode, rules and hooks still decide whether a tool can run; requests that would otherwise prompt are denied immediately, and `canUseTool` is never called. Omit this option (or use `'host'`) to route prompts to `canUseTool` or `permissionPromptToolName`. The SDK still rejects combining those two handlers, including when prompts are disabled.\n\nSDK 0.3.x enriched the Claude Agent SDK `canUseTool` callback (no provider change needed — these arrive on the existing `options` argument):\n\nAI SDK v7 `toolApproval` is **not** bridged to Claude Code's internal tool permission system. Use Claude Agent SDK `canUseTool` / `permissionMode` for Claude Code built-in and MCP tools; call-level `toolApproval` on `generateText`/`streamText` applies to app-level AI SDK tools handled by the `ai` package.\n\n- `title` — full permission prompt sentence (e.g. \"Claude wants to read foo.txt\"); prefer it over reconstructing from `toolName` + input\n- `displayName` — short noun phrase for the tool action (e.g. \"Read file\"), suitable for button labels\n- `description` — human-readable subtitle (e.g. \"Claude will have read and write access to ...\")\n\n`PermissionResult` (both `allow` and `deny` branches) gained an optional `decisionClassification` — `'user_temporary' | 'user_permanent' | 'user_reject'` — describing how the decision was made; the `PermissionDecisionClassification` type is re-exported.\n\n```ts\nconst model = claudeCode('sonnet', {\n  canUseTool: async (toolName, input, options) => {\n    // Prefer the SDK-provided prompt text over reconstructing it yourself.\n    const approved = await askUser({\n      prompt: options.title ?? `Allow ${toolName}?`, // \"Claude wants to read foo.txt\"\n      buttonLabel: options.displayName ?? toolName, // \"Read file\"\n      subtitle: options.description, // \"Claude will have read access to ...\"\n    });\n    return approved\n      ? { behavior: 'allow', updatedInput: input, decisionClassification: 'user_temporary' }\n      : { behavior: 'deny', message: 'Denied by user', decisionClassification: 'user_reject' };\n  },\n});\n```\n\n> **Upstream CLI caveats (verified on CLI 2.1.172):**\n>\n> - A `PreToolUse` hook returning `permissionDecision: 'defer'` combined with a `canUseTool` callback fails the tool call **before** `canUseTool` is ever consulted. When `canUseTool` should handle the call, have the hook return no decision (or `'allow'`) instead of `'defer'`.\n> - The `PermissionDenied` hook only fires for CLI-internal auto-mode classifier denials (e.g. `permissionMode: 'auto'`). Denials issued by `canUseTool` do **not** trigger it — they surface via the result message's `permission_denials`, which the provider merges into `finalStep.providerMetadata['claude-code'].permissionDenials`.\n\n### Agent SDK event callbacks (`onSdkMessage`, task/hook/MCP status, elicitation)\n\nUse these callbacks when you need Agent SDK observability without parsing AI SDK stream parts yourself:\n\n```ts\nconst model = claudeCode('sonnet', {\n  onSdkMessage: (message) => {\n    console.debug('raw SDK message:', message.type);\n  },\n  onTaskEvent: (event) => {\n    console.debug('task event:', event.subtype);\n  },\n  includeHookEvents: true,\n  onHookEvent: (event) => {\n    console.debug('hook event:', event.subtype);\n  },\n  onMcpStatusChange: (status) => {\n    console.debug('MCP init status snapshot:', status);\n  },\n  onElicitation: async (request) => {\n    return renderMcpElicitation(request);\n  },\n});\n```\n\n- `onSdkMessage` receives the raw `SDKMessage` objects the provider observes. Prefer this when you want to preserve new or rare SDK messages without waiting for provider-specific metadata.\n- `onTaskEvent` receives normalized task/subagent events and the same objects are collected into `providerMetadata['claude-code'].taskEvents` when any fire during the request.\n- `onHookEvent` receives normalized hook lifecycle events; because the underlying SDK only emits hook lifecycle messages when requested, pair it with `includeHookEvents: true`.\n- `onMcpStatusChange` receives the initial MCP server status snapshot observed during the request; final metadata includes that same request-time `mcpServers` snapshot when available. For live status after `reconnectMcpServer()`, `toggleMcpServer()`, or `setMcpServers()`, call `controller.mcpServerStatus()` while the query is live and SDK streaming input/output is active.\n- `onElicitation` is the first-class Agent SDK `OnElicitation` hook. It is for MCP-server-requested input; if you do not provide it, unhandled elicitation requests follow the SDK's default decline/cancel behavior.\n- `agent` selects a named Claude Code agent for the main thread. This is different from `agents` (which defines subagents). Use it only when you want the named agent's configured prompt/tools/model behavior to participate in the main request.\n\nSee [`ClaudeCodeSettings`](https://github.com/ben-vargas/ai-sdk-provider-claude-code/blob/main/src/types.ts) for the full list of supported options (e.g., `allowedTools`, `disallowedTools`, `hooks`, `canUseTool`, `env`, `settingSources`).\n\nFor options not explicitly exposed, use the `sdkOptions` escape hatch. It **overrides** explicit settings,\nbut provider-managed fields are ignored (`model`, `abortController`, `prompt`, `outputFormat`).\nIf you set `sdkOptions.resume`, it also drives the streaming prompt `session_id` so the SDK\nand prompt target the same session.\n\n```ts\nconst model = claudeCode('sonnet', {\n  betas: ['context-1m-2025-08-07'],\n  sandbox: { enabled: true },\n  persistSession: false, // Don't persist session to disk\n  sdkOptions: {\n    maxBudgetUsd: 1,\n    resume: 'session-abc',\n  },\n});\n```\n\n### SDK boundaries\n\n**Provider-managed fields** are set internally and ignored if passed via `sdkOptions`: `model`, `abortController`, `prompt`, and `outputFormat`.\n\n`agent` and `onElicitation` are first-class `ClaudeCodeSettings` fields on the 4.x line. Older 3.x docs described them as `sdkOptions` escape hatches; use the direct settings names in new code.\n\n**Alternate SDK entry points** — the Agent SDK also ships `/browser` (WebSocket browser transport), `/bridge` (remote-control session transport), and `/assistant` (worker/daemon harness) entry points. These are alpha surfaces with their own versioning cadence and are aimed at embedding hosts rather than AI SDK consumers, so this provider does not re-export them. Import them directly from `@anthropic-ai/claude-agent-sdk/<entry>` if you need them, with the usual alpha-stability caveats.\n\n## Claude Agent SDK 0.3.x Notes\n\nThis provider depends on `@anthropic-ai/claude-agent-sdk@0.3.278` (exact pin). The pin is exact rather than a caret because upstream releases have shipped broken `sdk.d.ts` declarations before (0.3.198–0.3.202 collapsed `SDKMessage` to `any`, fixed in 0.3.203); the weekly canary gates each pin move. The 0.3.x line introduces a few changes worth knowing about:\n\n### New peer dependencies\n\nThe Agent SDK now declares two additional peer dependencies alongside `zod`:\n\n- `@anthropic-ai/sdk` (`>=0.93.0`)\n- `@modelcontextprotocol/sdk` (`^1.29.0`)\n\nnpm 7+ installs these automatically; if your package manager does not auto-install peers (or you pin versions), add them to your project explicitly.\n\n### Per-platform native binaries\n\nThe Agent SDK now distributes the Claude Code runtime as per-platform native binaries via `optionalDependencies` (e.g., `@anthropic-ai/claude-agent-sdk-darwin-arm64`, `-linux-x64`, `-win32-x64`) instead of a single bundled `cli.js`. The right binary for your platform is selected at install time. If you use `pathToClaudeCodeExecutable`, `executable`, or `executableArgs`, re-validate them against your deployment — they primarily apply when pointing at a custom CLI rather than the bundled native binary. Docker/CI images that prune `optionalDependencies` will need to keep them enabled.\n\n### Settings isolation (`settingSources`)\n\nSDK 0.3.x changed the SDK-level default: omitting `settingSources` now loads ALL filesystem settings (user, project, and local — matching CLI behavior). This provider preserves its documented isolation default by explicitly passing `settingSources: []` when you don't set it. Opt in to filesystem settings via `settingSources: ['user', 'project', 'local']` (or override through `sdkOptions.settingSources`).\n\nWhen `cwd` is a git worktree of a trusted checkout, set `projectConfigRoot` (v4.3.2+) to that checkout's absolute path. Project settings (hooks, permissions), `.mcp.json`, the `.claude` config trees (commands, agents, skills, workflows, routines, output-styles) and `CLAUDE_PROJECT_DIR` then come from the trusted checkout instead of from whatever branch the worktree has checked out. The option is forwarded only when set, `sdkOptions.projectConfigRoot` overrides it, and validation rejects relative paths. Requires Claude Code 2.1.275+ (the bundled binary qualifies).\n\n### Subprocess environment allowlist\n\nSDK 0.3.x treats `Options.env` as a full **replacement** for the subprocess environment (it is no longer merged with `process.env`). The provider always constructs the subprocess environment from a sanitizing allowlist of `process.env`, then applies your `env` setting and `sdkOptions.env` on top (your values win; set a key to `undefined` to remove it). The allowlist is:\n\n- **Platform basics** — POSIX: `HOME`, `LOGNAME`, `PATH`, `SHELL`, `TERM`, `USER`, `LANG`, `LC_ALL`, `TMPDIR`; Windows: `APPDATA`, `COMSPEC`, `HOMEDRIVE`, `HOMEPATH`, `LOCALAPPDATA`, `PATH`, `PATHEXT`, `SYSTEMDRIVE`, `SYSTEMROOT`, `TEMP`, `TMP`, `USERNAME`, `USERPROFILE`, `WINDIR`\n- **Prefix-matched** — any variable starting with `ANTHROPIC_`, `CLAUDE_`, `AWS_`, or `GOOGLE_` (covers `ANTHROPIC_API_KEY`, `CLAUDE_CODE_OAUTH_TOKEN`, `CLAUDE_CONFIG_DIR`, Bedrock and Vertex credentials, etc.)\n- **Proxy/TLS** — `HTTP_PROXY`, `HTTPS_PROXY`, `NO_PROXY` (upper- and lowercase), `NODE_EXTRA_CA_CERTS`, `SSL_CERT_FILE`, `SSL_CERT_DIR`\n- **Cloud extras** — `GCLOUD_PROJECT`, `CLOUD_ML_REGION`\n\nVariables outside this list are not inherited by the subprocess; pass them explicitly via the `env` setting if needed. The provider also sets `CLAUDE_AGENT_SDK_CLIENT_APP` to `ai-sdk-provider-claude-code/<version>` (used in the SDK's User-Agent) unless you already set it via the process environment, the `env` setting, or `sdkOptions.env`.\n\n## Mid-Session Message Injection\n\nThis provider supports **mid-session message injection** for supervisor patterns, allowing you to interrupt, redirect, or provide feedback to an agent during execution.\n\n```typescript\nimport { streamText } from 'ai';\nimport { claudeCode, type MessageInjector } from 'ai-sdk-provider-claude-code';\n\nlet injector: MessageInjector | null = null;\n\nconst result = streamText({\n  model: claudeCode('haiku', {\n    streamingInput: 'always', // Required for injection\n    onStreamStart: (inj) => {\n      injector = inj;\n\n      // Example: Inject after 5 seconds\n      setTimeout(() => {\n        injector?.inject('STOP! Change of plans - do something else.');\n      }, 5000);\n    },\n  }),\n  prompt: 'Write 10 files with poems...',\n});\n\nfor await (const chunk of result.textStream) {\n  process.stdout.write(chunk);\n}\n```\n\n**Requirements:**\n\n- `streamingInput: 'always'` or `'auto'` with `canUseTool` set; image parts also auto-enable SDK streaming input under `'auto'`\n- Messages injected via `inject(content)` are delivered to the agent mid-turn\n\n**Important:** Injection works between tool calls, not during continuous text generation. Use tasks that involve tool usage (file operations, bash commands, etc.) for effective mid-turn interruption.\n\n**Use Cases:**\n\n- Stop an agent mid-task\n- Redirect to a different goal\n- Provide real-time feedback\n- Implement human-in-the-loop approval workflows\n\n**API:**\n\n- `inject(content: string, onResult?: (delivered: boolean) => void)` - Inject a user message. Optional callback reports delivery status.\n- `close()` - Signal no more messages will be injected\n\n**Delivery Tracking:**\n\n```typescript\ninjector.inject('STOP!', (delivered) => {\n  if (!delivered) {\n    // Session ended before message was delivered\n    // Handle retry via session resume, etc.\n  }\n});\n```\n\nSee [examples/message-injection.ts](examples/message-injection.ts) for complete examples including conditional injection and supervisor approval patterns.\n\n## Image Inputs\n\n- With `streamingInput: 'auto'` (the default), supported image prompts automatically enable the Agent SDK streaming-input path for that request; you no longer need to set `streamingInput: 'always'` just to send images.\n- Supported payloads include data URLs (`data:image/png;base64,...`), strings prefixed with `base64:<mediaType>,<data>`, or AI SDK v7 file parts such as `{ type: 'file', data: { type: 'data', data: '<base64>' }, mediaType: 'image/png' }` (use `mediaType`, not `mimeType`).\n- Remote HTTP(S) image URLs are ignored with the warning \"Image URLs are not supported by this provider; supply base64/data URLs.\" (`supportsImageUrls` remains `false`).\n- `streamingInput: 'off'` remains an explicit opt-out: image prompts skip the streaming-input path, image parts are omitted, and the provider emits a generic `type: 'other'` image streaming-input warning.\n- Use realistic image payloads—very small placeholders may result in the model asking for a different image.\n- `examples/images.ts` accepts a local image path, reads its bytes, and builds an AI SDK v7 file part: `npx tsx examples/images.ts /absolute/path/to/image.png`.\n\n## Skills Support\n\nClaude Code supports **Skills** - custom tools and capabilities defined in your user or project settings. The simplest way to enable them (v3.5.0+) is the `skills` option, which removes the need to add `'Skill'` to `allowedTools` yourself:\n\n```typescript\nimport { claudeCode } from 'ai-sdk-provider-claude-code';\nimport { streamText } from 'ai';\n\nconst result = await streamText({\n  model: claudeCode('sonnet', {\n    settingSources: ['user', 'project'], // still required for filesystem skill discovery\n    skills: 'all', // or ['pdf', 'docx'] to enable only specific skills\n  }),\n  prompt: 'Use my /custom-skill to help with this task',\n});\n```\n\nNote that `skills` is a context filter, not a sandbox: unlisted skills are hidden from the model but their files remain readable on disk.\n\nAlternatively, configure both `settingSources` and `allowedTools` explicitly:\n\n```typescript\nconst result = await streamText({\n  model: claudeCode('sonnet', {\n    settingSources: ['user', 'project'],\n    allowedTools: ['Skill', 'Read', 'Write', 'Bash'],\n  }),\n  prompt: 'Use my /custom-skill to help with this task',\n});\n```\n\n**Requirements:**\n\n- `settingSources` - Where to load skills from (`'user'`, `'project'`, `'local'`)\n- `allowedTools` must include `'Skill'` to invoke skills (not needed when using the `skills` option)\n\n**Where to define Skills:**\n\n- User: `~/.claude/skills/your-skill/SKILL.md`\n- Project: `.claude/skills/your-skill/SKILL.md`\n\n**Validation:** If you add `'Skill'` to `allowedTools` but forget to set `settingSources`, a validation warning will alert you that skills won't load.\n\nSee [examples/skills-management.ts](examples/skills-management.ts) for more examples.\n\n## Using AI SDK Tools\n\nThe Claude Code CLI executes its own tools, so AI SDK tools passed to `generateText`/`streamText` via the `tools` option are ignored (with an `unsupported` warning). Automatic bridging is impossible by design: at the `LanguageModelV4` layer the provider only receives tool _declarations_ (name, description, JSON schema) — the `execute` functions live in the `ai` package layer and never reach any provider.\n\nInstead, bridge your tools explicitly with the `createAiSdkMcpServer` helper, which turns a map of AI SDK tools into an in-process MCP server that the CLI can call:\n\n```typescript\nimport { generateText, tool } from 'ai';\nimport { z } from 'zod';\nimport { claudeCode, createAiSdkMcpServer } from 'ai-sdk-provider-claude-code';\n\nconst tools = {\n  add: tool({\n    description: 'Add two numbers',\n    inputSchema: z.object({ a: z.number(), b: z.number() }),\n    execute: async ({ a, b }) => ({ sum: a + b }),\n  }),\n};\n\nconst { text } = await generateText({\n  model: claudeCode('sonnet', {\n    mcpServers: { myTools: createAiSdkMcpServer('myTools', tools) },\n    // Tools are exposed to the CLI as mcp__<serverName>__<toolName>\n    allowedTools: ['mcp__myTools__add'],\n  }),\n  prompt: 'What is 2 + 3? Use the add tool.',\n});\n```\n\nNotes:\n\n- Each tool's `execute` runs in your process; string results pass through as MCP text content, everything else is `JSON.stringify`'d, and thrown errors become `isError` tool results instead of crashing the CLI session. Results that cannot be serialized to JSON (e.g. circular objects) also become `isError` results with a serialization message.\n- Tool calls/results surface to the AI SDK as **provider-executed dynamic tool parts** (`tool-call`/`tool-result` with `mcp__<serverName>__<toolName>` names), not as executions of your local `tools` option.\n- AI SDK v7 `toolApproval` is call-level approval for app-level AI SDK tools. Once a tool is exposed to Claude Code as MCP, approve or deny it with Claude Agent SDK controls (`canUseTool`, `permissionMode`, `allowedTools`, `disallowedTools`).\n- Only **Zod object schemas** are supported (`z.object({...})`, the same schema you pass to the AI SDK `tool()` helper). Tools defined with the AI SDK's `jsonSchema()` helper are rejected at creation time because the Agent SDK's `tool()` requires a Zod shape.\n- **Validation scope:** the Agent SDK's `tool()` takes only the schema _shape_ and validates incoming args field-by-field (running field-level validation and transforms, and stripping unknown keys) before `execute` runs. Object-level constructs — `.refine()`/`.superRefine()` (cross-field invariants) and `.strict()`/`.passthrough()`/`.catchall()` (unknown-key modes) — are **not** enforced by the bridge: re-parsing on top of the SDK's output would re-run transforms and reject valid transform schemas (e.g. `z.string().transform(v => v.length)`). Perform cross-field and unknown-key checks inside `execute`.\n- Tools without an `execute` function (client-executed tools) are rejected at creation time.\n- The minimal options object passed to `execute` contains `toolCallId` and `abortSignal` when available; the AI SDK's full `ToolCallOptions` (e.g. `messages`) is not available since the tool runs outside the AI SDK call loop. Note that `toolCallId` here is the MCP JSON-RPC request id (often a small integer like `'42'`), not the model's `toolu_...` tool_use id, so it will not match the `toolCallId` on the AI SDK's `tool-call`/`tool-result` stream parts.\n\nSee [examples/ai-sdk-tools.ts](examples/ai-sdk-tools.ts) for a runnable example (`npm run example:ai-sdk-tools`).\n\n## Session Management\n\nEvery request runs as a Claude Code session, persisted under `~/.claude/projects/` by default. In AI SDK v7, read the session ID from `finalStep.providerMetadata['claude-code'].sessionId` (`result.finalStep` for `generateText`, or `await stream.finalStep` for `streamText`). Sessions can be resumed (`resume`), forked (`forkSession`), pinned to a deterministic ID (`sessionId`), titled (`title`), or kept ephemeral (`persistSession: false`). The provider also re-exports the SDK's session lifecycle helpers — `listSessions()`, `getSessionMessages()`, `forkSession()`, `getSessionInfo()`, `renameSession()`, `tagSession()`, `deleteSession()`, `listSubagents()`, `getSubagentMessages()`, `importSessionToStore()`, and `foldSessionSummary()` — for managing stored sessions outside of a query.\n\nSee [docs/sessions.md](docs/sessions.md) for the full guide (settings vs helpers, disk storage vs custom `SessionStore`, `title` vs `renameSession()`), and [examples/session-management.ts](examples/session-management.ts) for a runnable walkthrough (`npm run example:sessions`).\n\n## Reducing time-to-first-token (warm start)\n\nThe Agent SDK's `startup()` (re-exported by this package) pre-spawns the CLI subprocess and completes its initialize handshake ahead of time, returning a `WarmQuery` handle. Calling `warmQuery.query(prompt)` then writes the prompt directly to the already-running process, eliminating subprocess startup latency from time-to-first-token.\n\n**Limitation — this does not compose with `generateText`/`streamText`.** A `WarmQuery` is a standalone query path: its `query()` method returns the SDK's `Query` directly (usable once per handle), and the SDK exposes no option for handing a pre-warmed process to a regular `query()` call — which is what this provider invokes internally. The provider therefore cannot consume a warm handle, and `startup()` only helps when you are willing to drive the SDK `Query` yourself for that one latency-critical request:\n\n```ts\nimport { startup, type WarmQuery } from 'ai-sdk-provider-claude-code';\n\n// Pre-warm during idle time (e.g. at server boot, or while the user types).\n// You can pass the same Options shape the SDK's query() accepts.\nconst warm: WarmQuery = await startup({ options: { model: 'sonnet' } });\n\n// Later — the prompt goes straight to the ready process (one query per handle):\nfor await (const message of warm.query('Summarize the latest deploy log.')) {\n  if (message.type === 'assistant') {\n    // handle SDK messages directly (this is the SDK stream, not an AI SDK stream)\n  }\n}\n\n// Or discard an unused warm handle:\n// warm.close();           // explicit\n// await using warm = ...  // WarmQuery is AsyncDisposable\n```\n\nAll requests made through this provider report timing in `finalStep.providerMetadata['claude-code']` (`ttftMs`, `ttftStreamMs`, `timeToRequestMs`), plus `warmSpareClaimed` when the SDK reports whether the query was served from a pre-warmed spare process (surfaced as `true` or `false` whenever reported; use `await stream.finalStep` after `streamText`) — use these to measure whether warm-start plumbing is worth it for your workload.\n\n## Limitations\n\n- Requires Node.js ≥ 22\n- With `streamingInput: 'auto'`, image inputs auto-enable streaming input for supported base64/data/file-part payloads, but remote image URLs are still not fetched by this provider\n- `ProviderV4.files()` / FilesV4 upload is not implemented: inline file/image data is supported where Claude Code can represent it, but the provider does not create durable AI SDK provider-reference uploads\n- `ProviderV4.skills()` / SkillsV4 upload is not implemented: Claude Code skills still come from configured user/project/local skill directories via the `skills` / `settingSources` options\n- Workflow serialization remains deferred; callback/function settings such as `canUseTool`, hooks, `onSdkMessage`, `onElicitation`, `logger`, `spawnClaudeCodeProcess`, and `SessionStore` methods must be reconstructed by the application\n- Some AI SDK parameters are unsupported and ignored with an `unsupported` warning: `temperature`, `topP`, `topK`, `presencePenalty`, `frequencyPenalty`, `stopSequences`, `seed`, and `maxOutputTokens` (the CLI does not accept an output token cap)\n- AI SDK `tools`, `toolChoice` (other than `'auto'`), and call-level `toolApproval` do not approve Claude Code internal built-in/MCP tools. To expose custom tools to the CLI, bridge them with the `createAiSdkMcpServer` helper and pass the result via the `mcpServers` setting (plus `allowedTools`); approve or deny Claude Code tools with `canUseTool`, `permissionMode`, `allowedTools`, and `disallowedTools`\n- When replaying conversation history through the prompt, assistant tool calls are serialized as text lines — `[Tool call: Read({\"file_path\":\"/x\"})]` (inputs truncated at 1000 characters) — paired with `Tool Result (Read): ...` lines for tool messages\n- `canUseTool` requires streaming input at the SDK level (AsyncIterable prompt), and image prompts use the same path. This provider supports it via `streamingInput`: use `'auto'` (streams when `canUseTool` is set or image parts are present), `'always'`, or `'off'` (`'off'` disables streaming image input, emits a generic `type: 'other'` image streaming-input warning, and omits image parts). See GUIDE for details.\n\n## Error Diagnostics\n\nMapped errors from this provider append a trimmed stderr tail to the error message as `... | stderr (tail): <last lines>`, making CLI failures visible in logs without inspecting metadata.\n\n```ts\nimport { generateText } from 'ai';\nimport { claudeCode, getErrorMetadata } from 'ai-sdk-provider-claude-code';\n\ntry {\n  await generateText({ model: claudeCode('sonnet'), prompt: 'Hello!' });\n} catch (error) {\n  console.error(getErrorMetadata(error)?.stderr);\n}\n```\n\nThe metadata accessor returns the full captured stderr, capped at 4000 characters. Authentication and timeout failures are also classified when the only evidence is in stderr, using high-precision matching to avoid false positives from unrelated stderr output.\n\nWhen the Agent SDK reports a structured assistant error kind (`SDKAssistantMessageError`, e.g. `'account_on_hold'`, `'billing_error'`, `'overloaded'`, `'rate_limit'`), `getErrorMetadata()` returns it as `errorKind` on every mapped error path — and `undefined` otherwise: heuristic classifications from message/stderr text never fabricate one. Check the value (not key presence), and prefer `getErrorMetadata(error)` over casting `error.data` directly. Unrecognized future kinds fall through to the existing message/stderr/exit-code heuristics and land on the generic non-retryable path only when no heuristic matches — either way the kind remains visible in `errorKind`.\n\nAccount-state failures — `account_on_hold` and `billing_error` — map to non-retryable `APICallError`s with actionable guidance. They are **not** credential failures: re-authenticating will not fix them; resolve the hold or billing issue in the [Anthropic Console](https://console.anthropic.com). Check for them with `isAccountStateError()` **before** the authentication branch:\n\n```ts\nimport { generateText } from 'ai';\nimport {\n  claudeCode,\n  getErrorMetadata,\n  isAccountStateError,\n  isAuthenticationError,\n} from 'ai-sdk-provider-claude-code';\n\ntry {\n  await generateText({ model: claudeCode('sonnet'), prompt: 'Hello!' });\n} catch (error) {\n  if (isAccountStateError(error)) {\n    // Account-state problem — fix in the Anthropic Console, do not re-authenticate\n    const kind = getErrorMetadata(error)?.errorKind; // 'account_on_hold' | 'billing_error'\n    console.error(kind === 'account_on_hold' ? 'Account on hold' : 'Billing problem');\n  } else if (isAuthenticationError(error)) {\n    console.error('Re-authenticate the Claude Code SDK');\n  }\n}\n```\n\n## Tool Error Parity (Streaming)\n\n- AI SDK v7 represents failed tool executions with the standard `tool-result` stream event/part and `isError: true`.\n- The former provider-specific `tool-error` stream extension is not emitted on the 4.x line; inspect `providerMetadata['claude-code']` (e.g., `rawError`) on the `tool-result` when you need Claude Code details.\n- See **Content Block Streaming** below for the current streaming event overview; the Tool Streaming Support doc is historical v5-era reference material.\n\n## Content Block Streaming\n\nThis provider handles Anthropic `content_block_*` stream events directly for more responsive UIs:\n\n- **Tool input streaming** — `tool-input-delta` streams arguments incrementally; `tool-call` emits when the tool input block completes (before results), enabling “running” state in UIs.\n- **Text streaming** — `text-start/delta/end` emitted from content blocks with proper lifecycle management.\n- **Extended thinking** — `reasoning-start/delta/end` emitted from `thinking` content blocks in streaming mode; `reasoning` content parts returned from `doGenerate` in non-streaming mode (availability depends on model and request).\n\nFor subagent parent/child tracking, see **Subagent Hierarchy Tracking** in this README.\n\n## Subagent Hierarchy Tracking\n\nWhen Claude Code spawns subagents via the `Task` tool, this provider exposes parent-child relationships through `providerMetadata`:\n\n```ts\n// Available on tool-input-start, tool-call, and tool-result events\nproviderMetadata['claude-code'].parentToolCallId: string | null;\n```\n\n- Task tools: Always null (top-level)\n- Child tools: Reference their parent Task's ID\n- Parallel Tasks: Child returns null if parent is ambiguous\n\nThis enables UIs to build hierarchical views of nested agent execution.\n\n## Provider Metadata\n\nEach response exposes Claude Code metadata under the final step's `providerMetadata['claude-code']` (AI SDK v7: `result.finalStep.providerMetadata`, or `await stream.finalStep` for `streamText`; internally this comes from the provider `doGenerate` result or `finish` stream event):\n\n| Field                     | Type      | Description                                                                                                                                                                                                                                                                                                     |\n| ------------------------- | --------- | ---------------------","readmeFilename":"README.md"}