{"_id":"@aio-proxy/provider-schemas","_rev":"3-ab8a992efa0039890e6db26a7d97209d","name":"@aio-proxy/provider-schemas","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@aio-proxy/provider-schemas","version":"0.1.0","license":"MIT","_id":"@aio-proxy/provider-schemas@0.1.0","maintainers":[{"name":"baranwang","email":"me@baran.wang"}],"dist":{"shasum":"c1dfe1329e9513aa740e429c5b21361b5f7133d2","tarball":"https://registry.npmjs.org/@aio-proxy/provider-schemas/-/provider-schemas-0.1.0.tgz","fileCount":3,"integrity":"sha512-WygGg+by8R517VA1IwmHJA1Xfs7rupo7BChwgLjFTCm1hbSDhOSd3yP10umuX7Hl3XV98v59/FdBVWtFPKAIUw==","signatures":[{"sig":"MEUCIFhhEWeGcD7NbELh6wyi2/2LKplvkLVTn93rGfqyevw+AiEAp/kKtcrRuD0eQkYIcdeFDnqC63J9Z1sasYyykRC1Nww=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5481},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"4be3c269fd4b3e6347b0fcbb82138a3e1458cd69","scripts":{"ci":"bun run check:security && bun run ci:installed","test":"bun run test:unit","build":"rm -rf dist && tsc -p tsconfig.build.json","check":"biome check .","prepare":"lefthook install","generate":"bun scripts/generate.ts","test:unit":"bun test tests/public-api.test.ts tests/installed-provider-source.test.ts tests/declaration-parser.test.ts tests/schema-generator.test.ts tests/generate-command.test.ts tests/provider-catalog.test.ts tests/npm-security.test.ts","typecheck":"tsc --noEmit","ci:installed":"bun run check && bun run check:catalog && bun run check:generated && bun run typecheck && bun run test:unit && bun run build && bun run test:package","test:package":"bun test tests/runtime-leakage.test.ts","check:catalog":"bun scripts/provider-catalog.ts","check:security":"bun scripts/check-npm-security.ts --history","install:public":"bun install --registry=https://registry.npmjs.org --ignore-scripts","check:generated":"bun scripts/generate.ts --check"},"_npmUser":{"name":"baranwang","email":"me@baran.wang"},"_npmVersion":"11.5.1","description":"Generated JSON Schemas for AI SDK provider options","directories":{},"sideEffects":false,"_nodeVersion":"24.5.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"typebox":"1.3.6","lefthook":"2.1.9","@types/bun":"1.3.14","typescript":"6.0.3","@ai-sdk/fal":"3.0.8","@ai-sdk/xai":"4.0.10","@ai-sdk/groq":"4.0.8","@ai-sdk/hume":"3.0.7","@ai-sdk/lmnt":"3.0.7","@ai-sdk/luma":"3.0.8","@ai-sdk/azure":"4.0.11","@ai-sdk/revai":"3.0.7","@babel/parser":"7.28.5","@ai-sdk/cohere":"4.0.7","@ai-sdk/gladia":"3.0.7","@ai-sdk/google":"4.0.12","@ai-sdk/openai":"4.0.11","@ai-sdk/prodia":"2.0.8","@ai-sdk/vercel":"3.0.7","@ai-sdk/voyage":"2.0.7","@biomejs/biome":"2.5.2","@ai-sdk/alibaba":"2.0.9","@ai-sdk/baseten":"2.0.7","@ai-sdk/gateway":"4.0.16","@ai-sdk/klingai":"4.0.8","@ai-sdk/mistral":"4.0.8","@ai-sdk/cerebras":"3.0.7","@ai-sdk/deepgram":"3.0.7","@ai-sdk/deepseek":"3.0.7","@ai-sdk/quiverai":"2.0.7","@ai-sdk/anthropic":"4.0.12","@ai-sdk/bytedance":"2.0.8","@ai-sdk/deepinfra":"3.0.7","@ai-sdk/fireworks":"3.0.8","@ai-sdk/replicate":"3.0.8","@ai-sdk/assemblyai":"3.0.7","@ai-sdk/elevenlabs":"3.0.8","@ai-sdk/moonshotai":"3.0.9","@ai-sdk/perplexity":"4.0.8","@ai-sdk/togetherai":"3.0.8","@ai-sdk/huggingface":"2.0.7","@ai-sdk/anthropic-aws":"2.0.4","@ai-sdk/google-vertex":"5.0.16","@ai-sdk/amazon-bedrock":"5.0.17","@ai-sdk/open-responses":"2.0.7","@ai-sdk/black-forest-labs":"2.0.7","@ai-sdk/openai-compatible":"3.0.7","@openrouter/ai-sdk-provider":"3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/provider-schemas_0.1.0_1783992011773_0.9621783201194323","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aio-proxy/provider-schemas","version":"0.1.1","license":"MIT","_id":"@aio-proxy/provider-schemas@0.1.1","maintainers":[{"name":"baranwang","email":"me@baran.wang"}],"homepage":"https://github.com/aio-proxy/provider-schemas#readme","bugs":{"url":"https://github.com/aio-proxy/provider-schemas/issues"},"dist":{"shasum":"e6058bebb10dd8181351d1e2db7cd65508b0763d","tarball":"https://registry.npmjs.org/@aio-proxy/provider-schemas/-/provider-schemas-0.1.1.tgz","fileCount":13,"integrity":"sha512-jYutoOrOFeCvt6qImGjZ3S9GpqPC/8b5mo1dSrWxJr86V4+wjXi0bX/8eiOJ0IpkT9b5QJJVrCCUbPb6X7jGZw==","signatures":[{"sig":"MEQCIF+X9IvBgDE40gWxzv7PUW+bL+DaL/35erJQ0udjA7W1AiBkNs1gdOJKnvILYnRZkhUdV+DBYigU1DkVNVxsXh0b7g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aio-proxy%2fprovider-schemas@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":165771},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./zod":{"types":"./dist/zod.d.ts","default":"./dist/zod.js"}},"gitHead":"77494cd5db0cd9cc9868f5ac05bd4fc7ac2ce952","scripts":{"ci":"bun run check:security && bun run ci:installed","test":"bun run test:unit","build":"rm -rf dist && tsc -p tsconfig.build.json","check":"biome check .","prepare":"lefthook install","release":"changeset publish","version":"changeset version","generate":"bun scripts/generate.ts","test:unit":"bun test tests/public-api.test.ts tests/provider-declaration.test.ts tests/provider-artifacts.test.ts tests/ts-to-zod-compatibility.test.ts tests/generate-command.test.ts tests/provider-catalog.test.ts tests/provider-sync.test.ts tests/bun-lock-check.test.ts","typecheck":"tsc --noEmit","ci:installed":"bun run check && bun run check:generated && bun run typecheck && bun run test:unit && bun run build && bun run test:package","test:package":"bun test tests/runtime-leakage.test.ts","check:security":"bun scripts/bun-lock-check.ts","install:public":"bun install --registry=https://registry.npmjs.org --ignore-scripts","prepublishOnly":"bun run ci","check:generated":"bun scripts/generate.ts --check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b2186ff3-06f3-48c0-9434-dcb110b44ff2"}},"repository":{"url":"git+https://github.com/aio-proxy/provider-schemas.git","type":"git"},"_npmVersion":"11.16.0","description":"Generated JSON Schemas for AI SDK provider options","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"zod":"4.4.3","lefthook":"2.1.9","ts-morph":"28.0.0","ts-to-zod":"5.1.0","@types/bun":"1.3.14","typescript":"6.0.3","@ai-sdk/fal":"3.0.8","@ai-sdk/xai":"4.0.10","@ai-sdk/groq":"4.0.8","@ai-sdk/hume":"3.0.7","@ai-sdk/lmnt":"3.0.7","@ai-sdk/luma":"3.0.8","@ai-sdk/azure":"4.0.11","@ai-sdk/revai":"3.0.7","@ai-sdk/cohere":"4.0.7","@ai-sdk/gladia":"3.0.7","@ai-sdk/google":"4.0.12","@ai-sdk/openai":"4.0.11","@ai-sdk/prodia":"2.0.8","@ai-sdk/vercel":"3.0.7","@ai-sdk/voyage":"2.0.7","@biomejs/biome":"2.5.2","@ai-sdk/alibaba":"2.0.9","@ai-sdk/baseten":"2.0.7","@ai-sdk/gateway":"4.0.16","@ai-sdk/klingai":"4.0.8","@ai-sdk/mistral":"4.0.8","@changesets/cli":"2.31.0","@ai-sdk/cerebras":"3.0.7","@ai-sdk/deepgram":"3.0.7","@ai-sdk/deepseek":"3.0.7","@ai-sdk/quiverai":"2.0.7","@ai-sdk/anthropic":"4.0.12","@ai-sdk/bytedance":"2.0.8","@ai-sdk/deepinfra":"3.0.7","@ai-sdk/fireworks":"3.0.8","@ai-sdk/replicate":"3.0.8","@ai-sdk/assemblyai":"3.0.7","@ai-sdk/elevenlabs":"3.0.8","@ai-sdk/moonshotai":"3.0.9","@ai-sdk/perplexity":"4.0.8","@ai-sdk/togetherai":"3.0.8","@ai-sdk/huggingface":"2.0.7","@ai-sdk/anthropic-aws":"2.0.4","@ai-sdk/google-vertex":"5.0.16","@ai-sdk/amazon-bedrock":"5.0.17","@ai-sdk/open-responses":"2.0.7","@ai-sdk/black-forest-labs":"2.0.7","@ai-sdk/openai-compatible":"3.0.7","@openrouter/ai-sdk-provider":"3.0.0"},"peerDependencies":{"zod":"^4.1.5"},"peerDependenciesMeta":{"zod":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/provider-schemas_0.1.1_1783992541621_0.6407672024312285","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@aio-proxy/provider-schemas","version":"0.1.2","description":"Generated JSON Schemas for AI SDK provider options","repository":{"type":"git","url":"git+https://github.com/aio-proxy/provider-schemas.git"},"type":"module","packageManager":"bun@1.3.14","license":"MIT","sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./zod":{"types":"./dist/zod.d.ts","default":"./dist/zod.js"}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"scripts":{"build":"rm -rf dist && tsc -p tsconfig.build.json","check":"biome check .","check:generated":"bun scripts/generate.ts --check","check:security":"bun scripts/bun-lock-check.ts","ci":"bun run check:security && bun run ci:installed","ci:installed":"bun run check && bun run check:generated && bun run typecheck && bun run test:unit && bun run build && bun run test:package","generate":"bun scripts/generate.ts","install:public":"bun install --registry=https://registry.npmjs.org --ignore-scripts","prepare":"lefthook install","prepublishOnly":"bun run ci","release":"changeset publish","test":"bun run test:unit","test:package":"bun test tests/runtime-leakage.test.ts","test:unit":"bun test tests/public-api.test.ts tests/provider-declaration.test.ts tests/provider-artifacts.test.ts tests/ts-to-zod-compatibility.test.ts tests/generate-command.test.ts tests/provider-catalog.test.ts tests/provider-sync.test.ts tests/bun-lock-check.test.ts","typecheck":"tsc --noEmit","version":"changeset version"},"devDependencies":{"@ai-sdk/alibaba":"2.0.32","@ai-sdk/amazon-bedrock":"5.0.55","@ai-sdk/anthropic":"4.0.38","@ai-sdk/anthropic-aws":"2.0.30","@ai-sdk/assemblyai":"3.0.27","@ai-sdk/azure":"4.0.42","@ai-sdk/baseten":"2.1.8","@ai-sdk/black-forest-labs":"2.0.28","@ai-sdk/bytedance":"2.0.29","@ai-sdk/cerebras":"3.0.30","@ai-sdk/cohere":"4.0.27","@ai-sdk/deepgram":"3.0.27","@ai-sdk/deepinfra":"3.0.30","@ai-sdk/deepseek":"3.0.28","@ai-sdk/elevenlabs":"3.0.28","@ai-sdk/fal":"3.0.28","@ai-sdk/fireworks":"3.0.32","@ai-sdk/gateway":"4.0.52","@ai-sdk/gladia":"3.0.27","@ai-sdk/google":"4.0.44","@ai-sdk/google-vertex":"5.0.53","@ai-sdk/groq":"4.0.28","@ai-sdk/huggingface":"2.0.30","@ai-sdk/hume":"3.0.27","@ai-sdk/klingai":"4.0.29","@ai-sdk/lmnt":"3.0.27","@ai-sdk/luma":"3.0.28","@ai-sdk/mistral":"4.0.29","@ai-sdk/moonshotai":"3.0.34","@ai-sdk/open-responses":"2.0.27","@ai-sdk/openai":"4.0.41","@ai-sdk/openai-compatible":"3.0.30","@ai-sdk/perplexity":"4.0.29","@ai-sdk/prodia":"2.0.28","@ai-sdk/quiverai":"2.0.27","@ai-sdk/replicate":"3.0.28","@ai-sdk/revai":"3.0.27","@ai-sdk/togetherai":"3.0.31","@ai-sdk/vercel":"3.0.30","@ai-sdk/voyage":"2.0.27","@ai-sdk/xai":"4.0.38","@biomejs/biome":"2.5.2","@changesets/cli":"2.31.0","@openrouter/ai-sdk-provider":"3.0.0","@types/bun":"1.3.14","lefthook":"2.1.9","ts-morph":"28.0.0","ts-to-zod":"5.1.0","typescript":"6.0.3","zod":"4.4.3"},"peerDependencies":{"zod":"^4.1.5"},"peerDependenciesMeta":{"zod":{"optional":true}},"gitHead":"f3ad9b7bfbc95a24ba1687077b646c4f03b3f029","_id":"@aio-proxy/provider-schemas@0.1.2","bugs":{"url":"https://github.com/aio-proxy/provider-schemas/issues"},"homepage":"https://github.com/aio-proxy/provider-schemas#readme","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-k21fI6VhmGbqM1sjSsXozR5uhsDGy3QcFmJKzwvOW4j7om5AYbfhQchcFwYM0ujVXeBGWHQDVxsAuG45k57tOw==","shasum":"5b98d911bafb295f303b4ef0611e58d67d579a50","tarball":"https://registry.npmjs.org/@aio-proxy/provider-schemas/-/provider-schemas-0.1.2.tgz","fileCount":13,"unpackedSize":170940,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aio-proxy%2fprovider-schemas@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCXCwEFfUxZ/G8yAipZq8ihwgeblQk75kxl4g95Eic3HwIhANIfXK9rYo4H4OBSRwMihLP57AytD8HocHmiefqoplnr"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b2186ff3-06f3-48c0-9434-dcb110b44ff2"}},"directories":{},"maintainers":[{"name":"baranwang","email":"me@baran.wang"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/provider-schemas_0.1.2_1788416388096_0.9958495259796967"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-14T01:20:11.655Z","modified":"2026-09-03T06:19:48.752Z","0.1.0":"2026-07-14T01:20:11.906Z","0.1.1":"2026-07-14T01:29:01.757Z","0.1.2":"2026-09-03T06:19:48.321Z"},"bugs":{"url":"https://github.com/aio-proxy/provider-schemas/issues"},"license":"MIT","homepage":"https://github.com/aio-proxy/provider-schemas#readme","repository":{"type":"git","url":"git+https://github.com/aio-proxy/provider-schemas.git"},"description":"Generated JSON Schemas for AI SDK provider options","maintainers":[{"name":"baranwang","email":"me@baran.wang"}],"readme":"# @aio-proxy/provider-schemas\n\nGenerated JSON Schemas for AI SDK provider factory options.\n\n```ts\nimport { providerOptionsSchema } from \"@aio-proxy/provider-schemas\";\n\nconst entry = providerOptionsSchema(\"@ai-sdk/openai\");\n```\n\nExecutable Zod 4 schemas are available from the optional subpath:\n\n```ts\nimport { providerOptionsZodSchema } from \"@aio-proxy/provider-schemas/zod\";\n\nconst schema = providerOptionsZodSchema(\"@ai-sdk/openai\");\nconst result = schema?.safeParse({ apiKey: process.env.OPENAI_API_KEY });\n```\n\nInstall a compatible Zod 4 version when using this subpath. The main JSON Schema entry does not import Zod.\n\nProvider package names and factory functions live in the build-only `providers.json` catalog. It is the only Provider list maintained by hand.\n\nTo add a provider:\n\n1. Add its package and factory names to `providers.json` in import-specifier order; use `subpath` for package exports such as `@ai-sdk/google-vertex/anthropic`.\n2. Run `bun run generate`.\n\nUse `overrides.optional` when an upstream required root option should be optional in the published schema.\n\nGeneration installs new Providers from npm at an exact version, removes deleted Providers, and synchronizes `package.json`, `bun.lock`, `.github/dependabot.yml`, `src/zod-module.ts`, and `src/schema-module.ts`. Existing versions are preserved and subsequently updated by Dependabot.\n\n## Registry security\n\nThis repository only permits the public npm registry. Install dependencies with:\n\n```sh\nbun run install:public\nbunx lefthook install\n```\n\nLefthook checks the staged Git index before every commit. CI additionally scans the complete reachable commit history, so credentials or private registry URLs remain blocked even if a later commit removes them.\n\n## Releases\n\nChangesets maintains the release pull request and publishes merged versions through npm Trusted Publishing. Dependabot pull requests receive a patch changeset automatically; other user-facing pull requests should include an appropriate changeset.\n\nThe package must be published and connected to GitHub once before automated releases can start:\n\n```sh\nnpm publish --access public\nnpm trust github @aio-proxy/provider-schemas --file .github/workflows/release.yml --repo aio-proxy/provider-schemas --allow-publish --yes\n```\n\nRun the first command with an authenticated npm account after this workflow reaches `main`. Later releases are published from `.github/workflows/release.yml` through OIDC without an `NPM_TOKEN`.\n\nThe organization must permit GitHub Actions to create pull requests. Then enable **Allow GitHub Actions to create and approve pull requests** under the repository's Actions workflow permissions so Changesets can maintain the release pull request.\n","readmeFilename":"README.md"}