opencode/packages/ai/package.json
github-actions[bot] 4efad23dd8
release: v2.2.2 (#60337)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-10-29 13:54:46 -05:00

167 lines
10 KiB
JSON

{
"$schema": "https://json.schemastore.org/package.json",
"version": "2.2.2",
"name": "@opencode/ai",
"type": "module",
"license": "MIT",
"scripts": {
"setup:recording-env": "bun run script/setup-recording-env.ts",
"test": "bun test --timeout 30000 --only-failures",
"typecheck": "bun check --no-script && bun check --no-script -p tsconfig.types.json",
"typecheck:tsc": "tsc --noEmit && tsc --noEmit -p tsconfig.types.json",
"build": "tsc -p tsconfig.build.json",
"pack": "bun run script/pack.ts"
},
"files": [
"dist"
],
"exports": {
".": "./src/index.ts",
"./effect": "./src/effect.ts",
"./testing": "./src/testing.ts",
"./experimental": "./src/experimental.ts",
"./route": "./src/route.ts",
"./providers": "./src/providers.ts",
"./providers/alibaba": "./src/providers/alibaba.ts",
"./providers/alibaba/chat": "./src/providers/alibaba/chat.ts",
"./providers/alibaba/images": "./src/providers/alibaba/images.ts",
"./providers/alibaba/messages": "./src/providers/alibaba/messages.ts",
"./providers/alibaba/responses": "./src/providers/alibaba/responses.ts",
"./providers/amazon-bedrock": "./src/providers/amazon-bedrock.ts",
"./providers/amazon-bedrock/mantle": "./src/providers/amazon-bedrock/mantle.ts",
"./providers/amazon-bedrock/mantle/chat": "./src/providers/amazon-bedrock/mantle/chat.ts",
"./providers/amazon-bedrock/mantle/messages": "./src/providers/amazon-bedrock/mantle/messages.ts",
"./providers/amazon-bedrock/mantle/responses": "./src/providers/amazon-bedrock/mantle/responses.ts",
"./providers/anthropic": "./src/providers/anthropic.ts",
"./providers/anthropic-compatible": "./src/providers/anthropic-compatible.ts",
"./providers/assemblyai": "./src/providers/assemblyai.ts",
"./providers/azure": "./src/providers/azure.ts",
"./providers/azure/chat": "./src/providers/azure/chat.ts",
"./providers/azure/images": "./src/providers/azure/images.ts",
"./providers/azure/responses": "./src/providers/azure/responses.ts",
"./providers/baseten": "./src/providers/baseten.ts",
"./providers/baseten/decisions": "./src/providers/baseten/decisions.ts",
"./providers/cartesia": "./src/providers/cartesia.ts",
"./providers/cerebras": "./src/providers/cerebras.ts",
"./providers/cloudflare-ai-gateway": "./src/providers/cloudflare-ai-gateway.ts",
"./providers/cloudflare-ai-gateway/decisions": "./src/providers/cloudflare-ai-gateway/decisions.ts",
"./providers/cloudflare-workers-ai": "./src/providers/cloudflare-workers-ai.ts",
"./providers/cloudflare-workers-ai/decisions": "./src/providers/cloudflare-workers-ai/decisions.ts",
"./providers/cloudflare-workers-ai/images": "./src/providers/cloudflare-workers-ai/images.ts",
"./providers/cohere": "./src/providers/cohere.ts",
"./providers/cohere/chat": "./src/providers/cohere/chat.ts",
"./providers/deepgram": "./src/providers/deepgram.ts",
"./providers/deepinfra": "./src/providers/deepinfra.ts",
"./providers/deepseek": "./src/providers/deepseek.ts",
"./providers/digitalocean": "./src/providers/digitalocean.ts",
"./providers/digitalocean/decisions": "./src/providers/digitalocean/decisions.ts",
"./providers/digitalocean/images": "./src/providers/digitalocean/images.ts",
"./providers/digitalocean/responses": "./src/providers/digitalocean/responses.ts",
"./providers/elevenlabs": "./src/providers/elevenlabs.ts",
"./providers/fireworks": "./src/providers/fireworks.ts",
"./providers/google": "./src/providers/google.ts",
"./providers/google-vertex": "./src/providers/google-vertex.ts",
"./providers/google-vertex-messages": "./src/providers/google-vertex-messages.ts",
"./providers/google-vertex/chat": "./src/providers/google-vertex/chat.ts",
"./providers/google-vertex/gemini": "./src/providers/google-vertex/gemini.ts",
"./providers/google-vertex/images": "./src/providers/google-vertex/images.ts",
"./providers/google-vertex/interactions": "./src/providers/google-vertex/interactions.ts",
"./providers/google-vertex/messages": "./src/providers/google-vertex/messages.ts",
"./providers/google-vertex/mistral": "./src/providers/google-vertex/mistral.ts",
"./providers/google-vertex/responses": "./src/providers/google-vertex/responses.ts",
"./providers/google/images": "./src/providers/google/images.ts",
"./providers/google/interactions": "./src/providers/google/interactions.ts",
"./providers/groq": "./src/providers/groq.ts",
"./providers/meta": "./src/providers/meta.ts",
"./providers/meta/chat": "./src/providers/meta/chat.ts",
"./providers/meta/images": "./src/providers/meta/images.ts",
"./providers/meta/messages": "./src/providers/meta/messages.ts",
"./providers/meta/responses": "./src/providers/meta/responses.ts",
"./providers/minimax": "./src/providers/minimax.ts",
"./providers/minimax/chat": "./src/providers/minimax/chat.ts",
"./providers/minimax/images": "./src/providers/minimax/images.ts",
"./providers/minimax/messages": "./src/providers/minimax/messages.ts",
"./providers/minimax/responses": "./src/providers/minimax/responses.ts",
"./providers/mistral": "./src/providers/mistral.ts",
"./providers/moonshot": "./src/providers/moonshot.ts",
"./providers/moonshot/chat": "./src/providers/moonshot/chat.ts",
"./providers/moonshot/messages": "./src/providers/moonshot/messages.ts",
"./providers/moonshot/responses": "./src/providers/moonshot/responses.ts",
"./providers/openai": "./src/providers/openai.ts",
"./providers/openai-compatible": "./src/providers/openai-compatible.ts",
"./providers/openai-compatible-responses": "./src/providers/openai-compatible-responses.ts",
"./providers/openai-compatible/images": "./src/providers/openai-compatible/images.ts",
"./providers/openai-compatible/responses": "./src/providers/openai-compatible/responses.ts",
"./providers/openai/chat": "./src/providers/openai/chat.ts",
"./providers/openai/images": "./src/providers/openai/images.ts",
"./providers/openai/responses": "./src/providers/openai/responses.ts",
"./providers/opencode": "./src/providers/opencode.ts",
"./providers/opencode/decisions": "./src/providers/opencode/decisions.ts",
"./providers/openrouter": "./src/providers/openrouter.ts",
"./providers/openrouter/decisions": "./src/providers/openrouter/decisions.ts",
"./providers/openrouter/images": "./src/providers/openrouter/images.ts",
"./providers/openrouter/responses": "./src/providers/openrouter/responses.ts",
"./providers/runway": "./src/providers/runway.ts",
"./providers/togetherai": "./src/providers/togetherai.ts",
"./providers/typesafe-ai": "./src/providers/typesafe-ai.ts",
"./providers/typesafe-ai/decisions": "./src/providers/typesafe-ai/decisions.ts",
"./providers/venice": "./src/providers/venice.ts",
"./providers/venice/responses": "./src/providers/venice/responses.ts",
"./providers/vercel-ai-gateway": "./src/providers/vercel-ai-gateway.ts",
"./providers/vercel-ai-gateway/chat": "./src/providers/vercel-ai-gateway/chat.ts",
"./providers/vercel-ai-gateway/decisions": "./src/providers/vercel-ai-gateway/decisions.ts",
"./providers/vercel-ai-gateway/images": "./src/providers/vercel-ai-gateway/images.ts",
"./providers/vercel-ai-gateway/messages": "./src/providers/vercel-ai-gateway/messages.ts",
"./providers/vercel-ai-gateway/responses": "./src/providers/vercel-ai-gateway/responses.ts",
"./providers/xai": "./src/providers/xai.ts",
"./providers/xai/images": "./src/providers/xai/images.ts",
"./providers/zai": "./src/providers/zai.ts",
"./providers/zai-coding-plan": "./src/providers/zai-coding-plan.ts",
"./providers/zai-coding-plan/chat": "./src/providers/zai-coding-plan/chat.ts",
"./providers/zai-coding-plan/messages": "./src/providers/zai-coding-plan/messages.ts",
"./providers/zai-coding-plan/responses": "./src/providers/zai-coding-plan/responses.ts",
"./providers/zai/chat": "./src/providers/zai/chat.ts",
"./providers/zai/images": "./src/providers/zai/images.ts",
"./protocols": "./src/protocols.ts",
"./protocols/alibaba-images": "./src/protocols/alibaba-images.ts",
"./protocols/cloudflare-run-decisions": "./src/protocols/cloudflare-run-decisions.ts",
"./protocols/cloudflare-workers-ai-images": "./src/protocols/cloudflare-workers-ai-images.ts",
"./protocols/deepgram-transcription": "./src/protocols/deepgram-transcription.ts",
"./protocols/google-images": "./src/protocols/google-images.ts",
"./protocols/google-speech": "./src/protocols/google-speech.ts",
"./protocols/google-transcription": "./src/protocols/google-transcription.ts",
"./protocols/openai-chat": "./src/protocols/openai-chat.ts",
"./protocols/openai-decisions": "./src/protocols/openai-decisions.ts",
"./protocols/openai-images": "./src/protocols/openai-images.ts",
"./protocols/openai-responses": "./src/protocols/openai-responses.ts",
"./protocols/openai-speech": "./src/protocols/openai-speech.ts",
"./protocols/openai-transcription": "./src/protocols/openai-transcription.ts",
"./protocols/system-one": "./src/protocols/system-one.ts",
"./protocols/xai-images": "./src/protocols/xai-images.ts",
"./protocols/xai-video": "./src/protocols/xai-video.ts",
"./protocols/zai-images": "./src/protocols/zai-images.ts"
},
"devDependencies": {
"@clack/prompts": "1.0.0-alpha.1",
"@effect/platform-node": "catalog:",
"@opencode/http-recorder": "workspace:*",
"@tsconfig/bun": "catalog:",
"@types/bun": "catalog:",
"@typescript/native": "catalog:",
"typescript": "catalog:"
},
"dependencies": {
"@aws-sdk/credential-providers": "3.1057.0",
"@smithy/eventstream-codec": "4.2.14",
"@smithy/util-utf8": "4.2.2",
"@opencode/schema": "workspace:*",
"aws4fetch": "1.0.20",
"effect": "catalog:",
"google-auth-library": "10.5.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/anomalyco/opencode.git",
"directory": "packages/ai"
}
}