{"_id":"opencode-claude-auth-v2","_rev":"27-80d0cd95fd2beed3173517dc75facd3d","name":"opencode-claude-auth-v2","dist-tags":{"latest":"0.4.0-beta.5","beta":"0.4.0-beta.5"},"versions":{"0.1.0-beta.1":{"name":"opencode-claude-auth-v2","version":"0.1.0-beta.1","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.1.0-beta.1","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"ba95eed9872e400a8bf3fcaa666db604f3d52037","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.1.0-beta.1.tgz","fileCount":42,"integrity":"sha512-i2OvMipjUQ2RzlSEB6xwDDP/hAdnfB58XyMiIPTo6z4ggGRjRP0Zgv4npHPV4lrWMnyu5+stFwnpoW2hxepluA==","signatures":[{"sig":"MEQCIAtIbe/eZGJCwV/ra5jsFvwSEWW6jkbPQDLzyVRBq/KxAiAg4N+Q1CHpDFEYmaZ/6L/expg8+rrEJQGXlvd1hwTtiA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":138272},"main":"opencode-claude-auth.js","type":"module","types":"dist/index.d.ts","module":"opencode-claude-auth.js","exports":{".":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./server":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"e99c1546ce431189d8ef855d2b3007e2d3248010","scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts","build":"tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","prepublishOnly":"pnpm run build && pnpm test","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.16.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"effect":"4.0.0-beta.98","@ai-sdk/anthropic":"3.0.82","@opencode-ai/plugin":"0.0.0-next-15788"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.32.1","devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.1.0-beta.1_1784379211450_0.024581486954950105","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-beta.2":{"name":"opencode-claude-auth-v2","version":"0.1.0-beta.2","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.1.0-beta.2","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"fbc47f5b951d6d4ad917025763e31357461621e0","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.1.0-beta.2.tgz","fileCount":54,"integrity":"sha512-KIzKAFNOxg2aaG6aX8gUk49Lu49rZ8ZTeX4IiiKJAy53G9qIEy48J5hyOqpRQsQjM/G6mx9EpZWpvUjjjaM4pQ==","signatures":[{"sig":"MEUCIQDKogvBmPeM7N/ytAtH1xbqkNDItJ2D8V46hCi/2cWaGgIgWt7WjYFCepYcn3kwAp4qn4RKJaPB2jvdUcLCQS4CKMs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":257984},"main":"opencode-claude-auth.js","type":"module","types":"dist/index.d.ts","module":"opencode-claude-auth.js","exports":{".":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./server":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"f8d9ed8fc56da6488dac114c0d514a6569bf8ffb","scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","prepublishOnly":"pnpm run build && pnpm test","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.17.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"effect":"4.0.0-beta.101","@ai-sdk/anthropic":"3.0.82","@opencode-ai/plugin":"0.0.0-next-17114"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.32.1","devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.1.0-beta.2_1786399862247_0.004406790095654145","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-beta.3":{"name":"opencode-claude-auth-v2","version":"0.1.0-beta.3","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.1.0-beta.3","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"e2681cf4a566eb1398a8eb5b717f3ac797a783b3","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.1.0-beta.3.tgz","fileCount":54,"integrity":"sha512-59vihxoz9AH8VYe1B/mlB7mKEMOoQ2+jFiMx1rv8d7Flakb+aCLk1TXIJgl2/kQqxaHvbtoh/WMFhkWgeKT0Gw==","signatures":[{"sig":"MEYCIQDpHpiobDpCWawnfPjuSK/nhjrvjrNbNornAyfu0qNI8AIhAJSLrCqkkAK5HfoMpvDMC3l0Is5bzkQb1yGD+ZSQc+pV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":257894},"main":"opencode-claude-auth.js","type":"module","_from":"file:opencode-claude-auth-v2-0.1.0-beta.3.tgz","types":"dist/index.d.ts","module":"opencode-claude-auth.js","exports":{".":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./server":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/7c3320f8444fea91b00610de71c548f4/opencode-claude-auth-v2-0.1.0-beta.3.tgz","_integrity":"sha512-59vihxoz9AH8VYe1B/mlB7mKEMOoQ2+jFiMx1rv8d7Flakb+aCLk1TXIJgl2/kQqxaHvbtoh/WMFhkWgeKT0Gw==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.17.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"effect":"4.0.0-beta.101","@ai-sdk/anthropic":"3.0.82","@opencode-ai/plugin":"0.0.0-next-17444"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.1.0-beta.3_1786738268118_0.5523414625672742","host":"s3://npm-registry-packages-npm-production"}},"0.2.0-beta.1":{"name":"opencode-claude-auth-v2","version":"0.2.0-beta.1","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.2.0-beta.1","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"abadbb773130082084afadca8b137e66cb5fc891","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.2.0-beta.1.tgz","fileCount":54,"integrity":"sha512-WnXHBUvT//mCuOaBjlOrCy2gHcE4l/du92esVsGhwEYtGe+ftnio1alr83smD7PS8KKUfhuT79xI6LSybOGMcQ==","signatures":[{"sig":"MEUCIQCjMO074nHiQYITtyy02+dj/1fG8fjY9UFsQDtDT5oGowIgDBVxjYJpvrNMbViupgRqeKtPKV9i3Zdrxm5CRqRY9T4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":254688},"main":"opencode-claude-auth.js","type":"module","_from":"file:opencode-claude-auth-v2-0.2.0-beta.1.tgz","types":"dist/index.d.ts","module":"opencode-claude-auth.js","exports":{".":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./server":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/36861b24d567b6a99f24f87812fb1a14/opencode-claude-auth-v2-0.2.0-beta.1.tgz","_integrity":"sha512-WnXHBUvT//mCuOaBjlOrCy2gHcE4l/du92esVsGhwEYtGe+ftnio1alr83smD7PS8KKUfhuT79xI6LSybOGMcQ==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.17.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"effect":"4.0.0-beta.101","@ai-sdk/anthropic":"3.0.82","@opencode-ai/plugin":"0.0.0-next-17444"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.2.0-beta.1_1786797017772_0.2446855657842686","host":"s3://npm-registry-packages-npm-production"}},"0.2.0-beta.3":{"name":"opencode-claude-auth-v2","version":"0.2.0-beta.3","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.2.0-beta.3","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"b1e80cc5d8329608906ddc6e9a3743ab5cd9c237","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.2.0-beta.3.tgz","fileCount":54,"integrity":"sha512-PLvtXOu+RaA8C9u1tQmC7LU78yPP7zk9LIeAZOv4NVOOK0ljSn6Q6Xmp8cUEYVWTOqGg2RUQS9x4Z+q6nHZ/pg==","signatures":[{"sig":"MEYCIQDbmkfOBkUlJ7GkArFx7Ktp67YnXYJ01iUpAI+aDGcmcwIhAJYDi/JH2uxA2Sx9d5LLgZRaDjBKcP15Mmgojnn4s70G","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":256656},"main":"opencode-claude-auth.js","type":"module","_from":"file:opencode-claude-auth-v2-0.2.0-beta.3.tgz","types":"dist/index.d.ts","module":"opencode-claude-auth.js","exports":{".":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./server":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/9e54d9b00a15a34b29b75326b6b2f08a/opencode-claude-auth-v2-0.2.0-beta.3.tgz","_integrity":"sha512-PLvtXOu+RaA8C9u1tQmC7LU78yPP7zk9LIeAZOv4NVOOK0ljSn6Q6Xmp8cUEYVWTOqGg2RUQS9x4Z+q6nHZ/pg==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.17.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"effect":"4.0.0-beta.101","@ai-sdk/anthropic":"4.0.39","@opencode-ai/plugin":"0.0.0-beta-17519"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.2.0-beta.3_1786994124272_0.26353654014388406","host":"s3://npm-registry-packages-npm-production"}},"0.2.0-beta.4":{"name":"opencode-claude-auth-v2","version":"0.2.0-beta.4","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.2.0-beta.4","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"b55544399730d1ee6e031a61db374210751c8147","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.2.0-beta.4.tgz","fileCount":54,"integrity":"sha512-Fv8EtHzSttTUH2pZxnHIso4mfgyDrDpzI0wTBJqmzDXUVZqrIL17ZuIp48iZ93GBW3U3RW5D/VA+8vTvf9z93Q==","signatures":[{"sig":"MEUCIQDJZdGlXD95xzrj86SxaeKiYeqR17UluAxb5cLxl0dZYQIgD9ZU4YxzjBRzhSxQNyvBjJWcNfl53oVz6w4allz5xTM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":256656},"main":"opencode-claude-auth.js","type":"module","_from":"file:opencode-claude-auth-v2-0.2.0-beta.4.tgz","types":"dist/index.d.ts","module":"opencode-claude-auth.js","exports":{".":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./server":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/e32d603397698b05c89b8698ac4d16b8/opencode-claude-auth-v2-0.2.0-beta.4.tgz","_integrity":"sha512-Fv8EtHzSttTUH2pZxnHIso4mfgyDrDpzI0wTBJqmzDXUVZqrIL17ZuIp48iZ93GBW3U3RW5D/VA+8vTvf9z93Q==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.17.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"effect":"4.0.0-beta.107","@ai-sdk/anthropic":"4.0.39","@opencode-ai/plugin":"0.0.0-beta-17595"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.2.0-beta.4_1787078269381_0.9878588855532553","host":"s3://npm-registry-packages-npm-production"}},"0.3.0-beta.0":{"name":"opencode-claude-auth-v2","version":"0.3.0-beta.0","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.3.0-beta.0","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"3679338a4ce559b2b7ad1217a5b7d2f247a9b0e1","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.3.0-beta.0.tgz","fileCount":58,"integrity":"sha512-Q/jhcryBjacYKdonHK2gF31MxBhYdVXBBqli0iDQWtpEjnFcDZZVOZ3fcpeYJSaEaV3FOk/Ah9nlxYM60PqLHg==","signatures":[{"sig":"MEYCIQDrqMckHFfZjrd7B+iW6wequdm2pc9gPZvq/6thu2asTAIhAK+IlpOinhxsgKeLjhflOVqWavVk+QEcQs4i10tdss1s","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":263129},"main":"opencode-claude-auth.js","type":"module","_from":"file:opencode-claude-auth-v2-0.3.0-beta.0.tgz","types":"dist/index.d.ts","module":"opencode-claude-auth.js","exports":{".":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./server":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/1e66681d0e2805fe669a6594a597522b/opencode-claude-auth-v2-0.3.0-beta.0.tgz","_integrity":"sha512-Q/jhcryBjacYKdonHK2gF31MxBhYdVXBBqli0iDQWtpEjnFcDZZVOZ3fcpeYJSaEaV3FOk/Ah9nlxYM60PqLHg==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.17.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@ai-sdk/anthropic":"4.0.39","@opencode-ai/plugin":"beta"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.3.0-beta.0_1787123121338_0.9157788384872882","host":"s3://npm-registry-packages-npm-production"}},"0.3.0-beta.1":{"name":"opencode-claude-auth-v2","version":"0.3.0-beta.1","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.3.0-beta.1","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"189351e6cfabfe49d94fa36af4ff2a675d9b2565","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.3.0-beta.1.tgz","fileCount":58,"integrity":"sha512-cNDdU6Fs0ntD4LZvoyyreKjALox93W+e1SmJQYtzbUVsR0ihfwBqQE4Fmjmi8QHc80kxu8hZszTGSgdxUFvdRA==","signatures":[{"sig":"MEUCIQDA4nbrL0FgrAgdByNQDwt6GSeqau1R4+vxDCKAjvxuuQIgBjmM8hUHj7T47Blt949lAj9eTD2uW0XpstR+JCSkHKU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":270544},"main":"opencode-claude-auth.js","type":"module","_from":"file:opencode-claude-auth-v2-0.3.0-beta.1.tgz","types":"dist/index.d.ts","module":"opencode-claude-auth.js","exports":{".":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./server":{"types":"./dist/index.d.ts","import":"./opencode-claude-auth.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/6d7ce36f36fce495da58cae0da5d1551/opencode-claude-auth-v2-0.3.0-beta.1.tgz","_integrity":"sha512-cNDdU6Fs0ntD4LZvoyyreKjALox93W+e1SmJQYtzbUVsR0ihfwBqQE4Fmjmi8QHc80kxu8hZszTGSgdxUFvdRA==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.17.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@ai-sdk/anthropic":"4.0.39","@opencode-ai/plugin":"beta"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.3.0-beta.1_1787684066831_0.7272994974967146","host":"s3://npm-registry-packages-npm-production"}},"0.3.0-beta.2":{"name":"opencode-claude-auth-v2","version":"0.3.0-beta.2","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.3.0-beta.2","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"16c68a12a9b1eba1f22afcf8da7bd920ca276463","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.3.0-beta.2.tgz","fileCount":59,"integrity":"sha512-1yDcWAZtf14So+69oUZNrNMKayos64gGnLsx2gpSXt7d6jMK//kFkwjrsnmVnOYsDPVXOzRlh2G9xYsKkYIaAg==","signatures":[{"sig":"MEQCIEQz0Z2M2AuuYIwymM+mzB4oKKI2KAVASkQjSHBtIkyNAiASFTGeebXa3Fn1tXMu/dxkE4bzZWqXk/nBNQZTkO4VRg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":270574},"main":"index.js","type":"module","_from":"file:opencode-claude-auth-v2-0.3.0-beta.2.tgz","types":"dist/index.d.ts","module":"index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./index.js"},"./server":{"types":"./dist/index.d.ts","import":"./index.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/198e07661def49ba0e2776f67f37c775/opencode-claude-auth-v2-0.3.0-beta.2.tgz","_integrity":"sha512-1yDcWAZtf14So+69oUZNrNMKayos64gGnLsx2gpSXt7d6jMK//kFkwjrsnmVnOYsDPVXOzRlh2G9xYsKkYIaAg==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.19.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@ai-sdk/anthropic":"4.0.39","@opencode-ai/plugin":"beta"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.3.0-beta.2_1788294828718_0.27315559331391004","host":"s3://npm-registry-packages-npm-production"}},"0.3.0-beta.3":{"name":"opencode-claude-auth-v2","version":"0.3.0-beta.3","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.3.0-beta.3","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"e398d7093579d2d7f4ba5f08a23669d361c6dd20","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.3.0-beta.3.tgz","fileCount":59,"integrity":"sha512-pC2GrQ4/dNI7fs+gjZOEwGavDmR4cno8nkqo78rrBe87zwVHwaxoh2BeNhAascOvBv7sYbHlbCCNEGf3RzXFiA==","signatures":[{"sig":"MEUCIQDNc05P8NXUbLrgT093ntaU1mjK34symdOqmH3Z1udp5QIgHkrwqnVcasRl8UzNJO+TuuZ3E7kAeKcR6kBcH3WkfeI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":270574},"main":"index.js","type":"module","_from":"file:opencode-claude-auth-v2-0.3.0-beta.3.tgz","types":"dist/index.d.ts","module":"index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./index.js"},"./server":{"types":"./dist/index.d.ts","import":"./index.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/be62e6c56447df52126fda6d214d669d/opencode-claude-auth-v2-0.3.0-beta.3.tgz","_integrity":"sha512-pC2GrQ4/dNI7fs+gjZOEwGavDmR4cno8nkqo78rrBe87zwVHwaxoh2BeNhAascOvBv7sYbHlbCCNEGf3RzXFiA==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.19.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@ai-sdk/anthropic":"4.0.39","@opencode-ai/plugin":"beta"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.3.0-beta.3_1788295373354_0.4089276096040815","host":"s3://npm-registry-packages-npm-production"}},"0.3.0-beta.4":{"name":"opencode-claude-auth-v2","version":"0.3.0-beta.4","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.3.0-beta.4","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"5daae75b009582e72c1bcfba96555813e4640f1f","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.3.0-beta.4.tgz","fileCount":59,"integrity":"sha512-tDPNLT9IQFyRvpmjYB3RymIqlgeACiTxKFSoJVamFhRmXENJUHPFmPCMIqvjEiFD+X57SucbfFaowxzNfK3KVw==","signatures":[{"sig":"MEYCIQD3DrCodgc6n/t7xrUOEx1grqcA/6e0k5enr3awzgkwYwIhAIZAnl8ipR6mngJcQcG5bdsPm4CzQfFqXSo9rHEOn3nF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDpzkjSuKKl2/FEH5ReSy+ZRvFgB7a+cGLzRON7E6MQZwIhAIvYLecM9PP1zrEvr+hEpWGsW3+zGnXexHu9NwXjPmaU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":270595},"main":"index.js","type":"module","_from":"file:opencode-claude-auth-v2-0.3.0-beta.4.tgz","types":"dist/index.d.ts","module":"index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./index.js"},"./server":{"types":"./dist/index.d.ts","import":"./index.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/19b560cf2a297a35425a0873c7f52aca/opencode-claude-auth-v2-0.3.0-beta.4.tgz","_integrity":"sha512-tDPNLT9IQFyRvpmjYB3RymIqlgeACiTxKFSoJVamFhRmXENJUHPFmPCMIqvjEiFD+X57SucbfFaowxzNfK3KVw==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.19.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@opencode/plugin":"latest","@ai-sdk/anthropic":"4.0.39"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0","@opencode/client":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.3.0-beta.4_1789203806270_0.0956349636275311","host":"s3://npm-registry-packages-npm-production"}},"0.3.0-beta.5":{"name":"opencode-claude-auth-v2","version":"0.3.0-beta.5","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.3.0-beta.5","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"5d65d17de35b2d351efcaf797a5595cf9860afcb","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.3.0-beta.5.tgz","fileCount":59,"integrity":"sha512-PkzwlvRlxQmJSKpneoYLrjjrXD4VA65yc8Tf8cIQOF5Xqpo7XY/UvCESXvYBelcytoiQAncvp/2gfOg/xUqn0w==","signatures":[{"sig":"MEUCIQC7piw56Fb74flclmWV6Bd33TBqJAj61h/EYR/+LjIbCAIgbRiGAsqhMBtpz+xhgUhmWd3NQD7w1p0gH8bXvW2mrqQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDSsV/lMvevCxGUIm+DXE3CabStS+Z+yArSGVEiVNCePgIhAIOK2Q5E8f7I9moYfjvC+aQ9qppi7Hvb3RYGtst5csej","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":278875},"main":"index.js","type":"module","_from":"file:opencode-claude-auth-v2-0.3.0-beta.5.tgz","types":"dist/index.d.ts","module":"index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./index.js"},"./server":{"types":"./dist/index.d.ts","import":"./index.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/994c07f91baf09ab9bcf75eac98393bd/opencode-claude-auth-v2-0.3.0-beta.5.tgz","_integrity":"sha512-PkzwlvRlxQmJSKpneoYLrjjrXD4VA65yc8Tf8cIQOF5Xqpo7XY/UvCESXvYBelcytoiQAncvp/2gfOg/xUqn0w==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.19.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@opencode/plugin":"latest","@ai-sdk/anthropic":"4.0.39"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0","@opencode/client":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.3.0-beta.5_1789217275713_0.5484278145878327","host":"s3://npm-registry-packages-npm-production"}},"0.4.0-beta.0":{"name":"opencode-claude-auth-v2","version":"0.4.0-beta.0","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.4.0-beta.0","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"304b674b44445260d7c89a4e8f9286b8abbd7944","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.4.0-beta.0.tgz","fileCount":59,"integrity":"sha512-GOBFVQcHqtXRp4e5ankKg1jyQOawzNPDgHcX/JAwFJh80ZaLziPFBfcZjNpZWnP5kVcvMT3xlkqtDmbVBvGXfg==","signatures":[{"sig":"MEYCIQDBcKzZaqpZpeNP1verKIX/rYMdGp5d6cFxuMI0fpvhUQIhANp0zxsnLBIP19kbIr3ADdnDC1nrn5fRbeEqdkTltcP1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQC/NbcvWVk4wZHIcKx6uNG8k2qZDWAYJhnBi2JbZ8RlYQIgSOOtjjDk4mpvJHrOAvWu619wjnBvPVFyrh6FYI4ptCk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":277245},"main":"index.js","type":"module","_from":"file:opencode-claude-auth-v2-0.4.0-beta.0.tgz","types":"dist/index.d.ts","module":"index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./index.js"},"./server":{"types":"./dist/index.d.ts","import":"./index.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/0c71c4b8b404e6c368f4ebd13f816a8f/opencode-claude-auth-v2-0.4.0-beta.0.tgz","_integrity":"sha512-GOBFVQcHqtXRp4e5ankKg1jyQOawzNPDgHcX/JAwFJh80ZaLziPFBfcZjNpZWnP5kVcvMT3xlkqtDmbVBvGXfg==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.19.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@opencode/plugin":"latest","@ai-sdk/anthropic":"4.0.39"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0","@opencode/client":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.4.0-beta.0_1789222197985_0.03508534229348492","host":"s3://npm-registry-packages-npm-production"}},"0.4.0-beta.1":{"name":"opencode-claude-auth-v2","version":"0.4.0-beta.1","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.4.0-beta.1","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"d75c52bc8a98678893bd8e69f200b8d9a94decc7","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.4.0-beta.1.tgz","fileCount":59,"integrity":"sha512-E5n36bPF3ME00ZUaLkuCV+ZfQle4HSx8Wb5W7WCDmBIyB1sVMU+rairabM2uVhP97UwZauGCiwn3qi3BdsthPg==","signatures":[{"sig":"MEYCIQDlXtqQqkW90k8DOHZ6HISlUW2HSeF81VA/opj89P17FQIhANG/IGD/MbALgURD1m2JBJlU3UPchjcQvEMQUpCqWZJH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCRhIx2zk9CJ9KGqIqmkm8fDZEerrB8DgK9QUGR6Lm23AIhAJm777tmiMAQaB15NR4hJprERNhaRCjEgvlFVNlcAlfm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":280734},"main":"index.js","type":"module","_from":"file:opencode-claude-auth-v2-0.4.0-beta.1.tgz","types":"dist/index.d.ts","module":"index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./index.js"},"./server":{"types":"./dist/index.d.ts","import":"./index.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/3b39e9c2d4c030227305aef6977e4acb/opencode-claude-auth-v2-0.4.0-beta.1.tgz","_integrity":"sha512-E5n36bPF3ME00ZUaLkuCV+ZfQle4HSx8Wb5W7WCDmBIyB1sVMU+rairabM2uVhP97UwZauGCiwn3qi3BdsthPg==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.19.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@opencode/plugin":"latest","@ai-sdk/anthropic":"4.0.39"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0","@opencode/client":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.4.0-beta.1_1789227392017_0.3287744163301358","host":"s3://npm-registry-packages-npm-production"}},"0.4.0-beta.2":{"name":"opencode-claude-auth-v2","version":"0.4.0-beta.2","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.4.0-beta.2","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"a83ac09067c43cf952da20c486f0e6f5d5b7b023","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.4.0-beta.2.tgz","fileCount":59,"integrity":"sha512-hiEc7lJFChs8RGbBIDCNWZ7xg2apj6exfKH8Ruzsj1YNKOaqtgVuWdNysn6fusIV+6gZAM6GFVUpj9se7RHa9w==","signatures":[{"sig":"MEQCIHRDm5V0Ks1IeO7SQZq3qAupN31qG6JBlceQo+pMH2zgAiBHOgrrVhuWapA0XDTfw0wL7XV/qZ91rTIa8OWPXHq2jA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQC+WzqNJDKLwxuO5klO0rPdfCREKGbYHZBIzQaGiBWrWwIhALstq4/E8vxR3P/oAkCk6TZz37LLBxjzFJegeD1O9wvy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":280688},"main":"index.js","type":"module","_from":"file:opencode-claude-auth-v2-0.4.0-beta.2.tgz","types":"dist/index.d.ts","module":"index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./index.js"},"./server":{"types":"./dist/index.d.ts","import":"./index.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/7a501b9086358f75b54c2dfcfbd55fda/opencode-claude-auth-v2-0.4.0-beta.2.tgz","_integrity":"sha512-hiEc7lJFChs8RGbBIDCNWZ7xg2apj6exfKH8Ruzsj1YNKOaqtgVuWdNysn6fusIV+6gZAM6GFVUpj9se7RHa9w==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.19.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@opencode/plugin":"latest","@ai-sdk/anthropic":"4.0.39"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0","@opencode/client":"latest"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.4.0-beta.2_1789599222740_0.49544401748498923","host":"s3://npm-registry-packages-npm-production"}},"0.4.0-beta.3":{"name":"opencode-claude-auth-v2","version":"0.4.0-beta.3","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.4.0-beta.3","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"a5a7e188876000cf1aed5c5c590deb078e812320","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.4.0-beta.3.tgz","fileCount":59,"integrity":"sha512-CPkDSF1KhaAAMnvMjIGosyaQ3YYBTkoLfEW2NGyerrL/BpkOttsjC16lnmcHW0VR3A6540hhJYJRbCvpumHjxg==","signatures":[{"sig":"MEUCIQDXGdqJ4KOje88NL7W7KiENaMU6TGEB3cmaZhFWCjsdCQIgKrCfu27xFKz9dLl8HG4pQXc1GbcB50QgZfQ+/kwo2cE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQD12kCBoATwxLpY3b3mM8//+iUoq2W4Zhl8qD+cRRYIXgIgcVxixnoWksboZsUj/qRGcY6lFRpDm/XM4PAgOI/+5ho=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":280688},"main":"index.js","type":"module","_from":"file:opencode-claude-auth-v2-0.4.0-beta.3.tgz","types":"dist/index.d.ts","module":"index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./index.js"},"./server":{"types":"./dist/index.d.ts","import":"./index.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/2890e7184aabe41451fff299cfe70f4c/opencode-claude-auth-v2-0.4.0-beta.3.tgz","_integrity":"sha512-CPkDSF1KhaAAMnvMjIGosyaQ3YYBTkoLfEW2NGyerrL/BpkOttsjC16lnmcHW0VR3A6540hhJYJRbCvpumHjxg==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.19.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@opencode/plugin":"latest","@ai-sdk/anthropic":"4.0.39"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0","@opencode/client":"latest"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.4.0-beta.3_1790103475674_0.4495152784615357","host":"s3://npm-registry-packages-npm-production"}},"0.4.0-beta.4":{"name":"opencode-claude-auth-v2","version":"0.4.0-beta.4","keywords":["anthropic","auth","claude","opencode","plugin"],"license":"MIT","_id":"opencode-claude-auth-v2@0.4.0-beta.4","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"cf0dc601aa395334bf2b40ad3cfcd7eeb9be85cc","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.4.0-beta.4.tgz","fileCount":59,"integrity":"sha512-IM69X6FSpCqnrTR1M85ki8V2n1dFLcKPV67VYVbiffRgH9uF5z0a6BdTFnwdqNBmp8tn4L9jRY063DEtjBNlJw==","signatures":[{"sig":"MEUCIEb0IrQB3/2SIFf1cZaGKk/I5OKfllkS3YnqHpuKJGueAiEAl0p4ZVSpqBMrvrOv2pprIfFXJBLiVfx3haJGuQG8Ygk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDFc7JeBRAZg7Qe07hD4rUMP/KFJXxg4/Xsx0UF368S2gIgfiTIAnh1STD3AdzsVMmTHxoKcEpwN3k04o3Qgem8ztc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":283795},"main":"index.js","type":"module","_from":"file:opencode-claude-auth-v2-0.4.0-beta.4.tgz","types":"dist/index.d.ts","module":"index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./index.js"},"./server":{"types":"./dist/index.d.ts","import":"./index.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","test:isolated":"sh scripts/test-isolated.sh","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/9ed6c86213dfbe707f07b06f1dcb35e5/opencode-claude-auth-v2-0.4.0-beta.4.tgz","_integrity":"sha512-IM69X6FSpCqnrTR1M85ki8V2n1dFLcKPV67VYVbiffRgH9uF5z0a6BdTFnwdqNBmp8tn4L9jRY063DEtjBNlJw==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.19.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@opencode/plugin":"latest"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0","@opencode/client":"latest"},"_npmOperationalInternal":{"tmp":"tmp/opencode-claude-auth-v2_0.4.0-beta.4_1790200475857_0.7482026994209747","host":"s3://npm-registry-packages-npm-production"}},"0.4.0-beta.5":{"_id":"opencode-claude-auth-v2@0.4.0-beta.5","bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"dist":{"shasum":"9947200b5328e18b85faad17899660461823106a","tarball":"https://registry.npmjs.org/opencode-claude-auth-v2/-/opencode-claude-auth-v2-0.4.0-beta.5.tgz","fileCount":59,"integrity":"sha512-dVA2AY58JxrZP3QqetevB3yebwQLVoMGyBFrPbJPDdCgJ94UEzQpK9/5Jk0Ibeyeom5mWD/HInaJgfX9O5MljA==","signatures":[{"sig":"MEQCIEq3+YKBcDbNCvw57yhkG5PW/DeXKuD9XaSa0QlKFT3/AiBFvLqvi0IQMhtKueG5NCiNTXc761HdVtUj5CWLyCfZ+w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAqBUPWxiHSu2UF+26ygzFTASPHehHY8Vlw+Rs2eDaSYAiAduYzzDZDcxjP9IyZPKt2ukWceSRrMezY8WCjtYlVCRQ=="}],"unpackedSize":285519},"main":"index.js","name":"opencode-claude-auth-v2","type":"module","_from":"file:opencode-claude-auth-v2-0.4.0-beta.5.tgz","types":"dist/index.d.ts","module":"index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./index.js"},"./server":{"types":"./dist/index.d.ts","import":"./index.js"},"./claude-auth-plugin":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./claude-auth-plugin.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./opencode-claude-auth.js":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"license":"MIT","scripts":{"lint":"oxlint && oxfmt --check .","test":"node --test --experimental-strip-types src/**/*.test.ts scripts/**/*.test.ts","build":"rm -rf dist && tsc && cp src/anthropic-prompt.txt dist/","format":"oxfmt --write .","lint:fix":"oxlint --fix . && oxfmt --write .","intercept":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts","test:models":"pnpm run build && node scripts/test-models.ts","intercept:all":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all","test:headless":"pnpm run build && node --experimental-strip-types scripts/test-headless.ts","test:isolated":"sh scripts/test-isolated.sh","validate:oauth":"pnpm run build && node --experimental-strip-types scripts/validate-oauth-refresh.ts","intercept:update":"pnpm run build && node --experimental-strip-types scripts/intercept-claude.ts --all --update"},"version":"0.4.0-beta.5","_npmUser":{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"},"homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","keywords":["anthropic","auth","claude","opencode","plugin"],"_resolved":"/private/var/folders/c8/0v4jjmns6cvgy5_4jdtghfq40000gn/T/397a3bd402d2302c7c2439bebc7551c5/opencode-claude-auth-v2-0.4.0-beta.5.tgz","_integrity":"sha512-dVA2AY58JxrZP3QqetevB3yebwQLVoMGyBFrPbJPDdCgJ94UEzQpK9/5Jk0Ibeyeom5mWD/HInaJgfX9O5MljA==","repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"_npmVersion":"11.19.0","description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","directories":{},"maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"_nodeVersion":"24.21.0","dependencies":{"@opencode/plugin":"latest"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"0.41.0","oxlint":"1.56.0","typescript":"^5.0.0","@types/node":"^25.5.0","@opencode/client":"latest"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/opencode-claude-auth-v2_0.4.0-beta.5_1790415971612_0.9861829259208044"}}},"time":{"created":"2026-07-18T12:53:31.280Z","modified":"2026-09-26T09:46:11.875Z","0.1.0-beta.1":"2026-07-18T12:53:31.606Z","0.1.0-beta.2":"2026-08-10T22:11:02.469Z","0.1.0-beta.3":"2026-08-14T20:11:08.262Z","0.2.0-beta.1":"2026-08-15T12:30:17.969Z","0.2.0-beta.3":"2026-08-17T19:15:24.408Z","0.2.0-beta.4":"2026-08-18T18:37:49.550Z","0.3.0-beta.0":"2026-08-19T07:05:21.544Z","0.3.0-beta.1":"2026-08-25T18:54:26.968Z","0.3.0-beta.2":"2026-09-01T20:33:48.843Z","0.3.0-beta.3":"2026-09-01T20:42:53.515Z","0.3.0-beta.4":"2026-09-12T09:03:26.362Z","0.3.0-beta.5":"2026-09-12T12:47:55.803Z","0.4.0-beta.0":"2026-09-12T14:09:58.085Z","0.4.0-beta.1":"2026-09-12T15:36:32.111Z","0.4.0-beta.2":"2026-09-16T22:53:42.872Z","0.4.0-beta.3":"2026-09-22T18:57:55.776Z","0.4.0-beta.4":"2026-09-23T21:54:35.980Z","0.4.0-beta.5":"2026-09-26T09:46:11.715Z"},"bugs":{"url":"https://github.com/heymaaz/opencode-claude-auth-v2/issues"},"license":"MIT","homepage":"https://github.com/heymaaz/opencode-claude-auth-v2#readme","keywords":["anthropic","auth","claude","opencode","plugin"],"repository":{"url":"git+https://github.com/heymaaz/opencode-claude-auth-v2.git","type":"git"},"description":"OpenCode 2 plugin that uses your Claude Code subscription credentials.","maintainers":[{"name":"heymaaz","email":"maazchowdhry2001@gmail.com"}],"readme":"# opencode-claude-auth-v2\n\nUse an existing Claude Code Pro or Max subscription in the OpenCode 2 beta.\n\nThis is an OpenCode 2-only fork of\n[`griffinmartin/opencode-claude-auth`](https://github.com/griffinmartin/opencode-claude-auth). Use Griffin's package for\nOpenCode 1.\n\n> OpenCode 2 and its plugin API are in beta. This package currently targets\n> `@opencode-ai/cli@0.0.0-next-17444` and may require updates with later beta builds.\n\n## How It Works\n\nThe plugin:\n\n- discovers Claude Code credentials in the macOS Keychain or `~/.claude/.credentials.json`;\n- adds a Claude Code OAuth method to OpenCode 2's Anthropic integration;\n- routes OpenCode's built-in **Anthropic** provider through the Claude subscription transport;\n- routes requests through the AI SDK Anthropic provider with Claude subscription bearer authentication;\n- preserves OpenCode's own tools and permission loop;\n- refreshes expiring OAuth credentials and writes rotated tokens back to their original source;\n- applies the request, billing, beta-header, tool-name, and streaming transformations inherited from the original plugin.\n\nInstalling this plugin opts the Anthropic provider into Claude subscription use. Models keep their normal\n`anthropic/<model>` IDs; the plugin replaces the request transport because Claude subscription OAuth requires bearer\nauthentication and additional request transformations.\n\n## Requirements\n\n- Node.js 22 or newer\n- `@opencode-ai/cli@next`\n- Claude Code installed and authenticated with `claude auth login`\n- A Claude Pro or Max subscription\n\n## Install\n\nAdd the published package to your OpenCode 2 configuration:\n\n```jsonc\n{\n  \"$schema\": \"https://opencode.ai/config.json\",\n  \"plugins\": [\"opencode-claude-auth-v2@latest\"],\n}\n```\n\nRestart OpenCode 2 after changing plugin configuration.\n\nFor local development, build the checkout:\n\n```bash\npnpm install\npnpm build\n```\n\nThen load its absolute entrypoint instead:\n\n```jsonc\n{\n  \"$schema\": \"https://opencode.ai/config.json\",\n  \"plugins\": [\n    \"/absolute/path/to/opencode-claude-auth-v2/opencode-claude-auth.js\",\n  ],\n}\n```\n\n## Migrating from OpenCode 1\n\nOpenCode 1 uses the singular `plugin` field and the original package:\n\n```jsonc\n{\n  \"$schema\": \"https://opencode.ai/config.json\",\n  \"plugin\": [\"opencode-claude-auth@latest\"],\n}\n```\n\nWhen upgrading to OpenCode 2, replace it with the plural `plugins` field and this v2 package:\n\n```jsonc\n{\n  \"$schema\": \"https://opencode.ai/config.json\",\n  \"plugins\": [\"opencode-claude-auth-v2@latest\"],\n}\n```\n\nThe OpenCode 1 plugin and its saved connection are not used by the OpenCode 2 integration. Ensure Claude Code is signed in\nwith `claude auth login`, restart OpenCode 2, then run `/connect` and choose **Anthropic > Import Claude Code\nsubscription**. If Claude Code is already signed in on the device, the existing Keychain or credentials-file entry can be\nimported without another browser login.\n\nExisting `anthropic/<model>` references continue to work. Use `/models` to select a model under **Anthropic**.\n\nIf you used `0.1.0-beta.3` or earlier, replace explicit `claude-subscription/<model>` references with\n`anthropic/<model>` and reselect the model in existing OpenCode 2 sessions.\n\n## Running OpenCode 1 and 2 Side by Side\n\nDo not put both `plugin` and `plugins` in the same configuration. OpenCode 1 rejects the OpenCode 2 `plugins` field.\n\nKeep the existing OpenCode 1 configuration at `~/.config/opencode/opencode.json`. Create a separate OpenCode 2 config root:\n\n```bash\nmkdir -p \"$HOME/.config/opencode-v2/opencode\"\n```\n\nCreate `~/.config/opencode-v2/opencode/opencode.json` with:\n\n```jsonc\n{\n  \"$schema\": \"https://opencode.ai/config.json\",\n  \"plugins\": [\"opencode-claude-auth-v2@latest\"],\n}\n```\n\nAdd this alias to `~/.zshrc` or `~/.bashrc`:\n\n```bash\nalias oc2='XDG_CONFIG_HOME=\"$HOME/.config/opencode-v2\" XDG_DATA_HOME=\"$HOME/.local/share/opencode-v2\" XDG_STATE_HOME=\"$HOME/.local/state/opencode-v2\" XDG_CACHE_HOME=\"$HOME/.cache/opencode-v2\" opencode2'\n```\n\nRestart the shell, then use `opencode` for OpenCode 1 and `oc2` for OpenCode 2. The alias isolates configuration, sessions,\nstate, and plugin caches while leaving `HOME` unchanged, so the v2 plugin can still import Claude Code credentials from the\nKeychain or `~/.claude/.credentials.json`.\n\nProject-level `opencode.json` files are still discovered by both versions. Keep version-specific `plugin` or `plugins`\nentries in the separate global configurations when using both versions side by side.\n\n## Use\n\nStart OpenCode 2 and select a model from the **Anthropic** provider:\n\n```bash\nopencode2\n```\n\nRun `/connect` once and choose **Anthropic > Import Claude Code subscription**. You can repeat that flow to\nreplace the stored connection or switch Claude Code accounts.\n\n## Why Not `ai-sdk-provider-claude-code`?\n\nThat community provider runs the Claude Agent SDK as its own agent harness. Its AI SDK v6 implementation does not support\napplication-provided custom tools. OpenCode needs model tool calls returned to its own permissioned tool loop, so this plugin\nuses OpenCode 2's native Anthropic provider. Its HTTP hooks adjust requests and responses for Claude Code subscription billing.\n\n## Credential Sources\n\n1. macOS Keychain entries named `Claude Code-credentials*`\n2. `~/.claude/.credentials.json`, or `$CLAUDE_CONFIG_DIR/.credentials.json` when configured\n\nMultiple macOS accounts appear as choices in the OpenCode 2 connection flow. The selected source is persisted locally.\n\n## Development\n\n```bash\npnpm install\npnpm build\npnpm test\npnpm lint\n```\n\nSee [RELEASING.md](./RELEASING.md) for the beta release and npm publishing process.\n\nDiagnostic logging can be enabled with `CLAUDE_AUTH_DEBUG=1` or set to a file path:\n\n```bash\nCLAUDE_AUTH_DEBUG=/tmp/claude-auth-debug.log opencode2\n```\n\n## Attribution\n\nThis repository preserves the history and MIT-licensed implementation of\n[`griffinmartin/opencode-claude-auth`](https://github.com/griffinmartin/opencode-claude-auth). The OpenCode 2 integration\narchitecture follows the public provider-plugin patterns in\n[`anomalyco/opencode`](https://github.com/anomalyco/opencode), particularly its GitHub Copilot provider.\n\n## Disclaimer\n\nOpenCode's documentation states that Anthropic does not permit Claude Pro or Max subscription use through third-party\nplugins. This project is unofficial, may stop working when Anthropic changes its OAuth infrastructure, and should be used\nat your own discretion.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}