ai-sdk-provider-gemini-cli
Version:
Community AI SDK provider for Google Gemini using the official CLI/SDK
102 lines (101 loc) • 2.81 kB
JSON
{
"name": "ai-sdk-provider-gemini-cli",
"version": "2.0.1",
"description": "Community AI SDK provider for Google Gemini using the official CLI/SDK",
"author": "Ben Vargas",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ben-vargas/ai-sdk-provider-gemini-cli.git"
},
"bugs": {
"url": "https://github.com/ben-vargas/ai-sdk-provider-gemini-cli/issues"
},
"homepage": "https://github.com/ben-vargas/ai-sdk-provider-gemini-cli#readme",
"keywords": [
"ai",
"vercel",
"ai-sdk",
"provider",
"gemini",
"google",
"gemini-cli",
"language-model",
"llm",
"streaming",
"generative-ai"
],
"type": "module",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE",
"docs"
],
"scripts": {
"build": "tsup",
"clean": "rimraf dist",
"dev": "tsup --watch",
"lint": "eslint src --max-warnings 0",
"format": "prettier --write \"src/**/*.ts\" \"*.md\"",
"format:check": "prettier --check \"src/**/*.ts\" \"*.md\"",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"type-check": "tsc --noEmit",
"prepublishOnly": "npm run clean && npm run build",
"example:check": "node examples/check-auth.mjs",
"example:basic": "node examples/basic-usage.mjs",
"example:stream": "node examples/streaming.mjs",
"example:conversation": "node examples/conversation-history.mjs",
"example:object": "node examples/generate-object-basic.mjs",
"example:pdf": "node examples/pdf-document-analysis.mjs",
"example:test": "node examples/integration-test.mjs",
"examples": "npm run build && npm run example:check && npm run example:basic"
},
"dependencies": {
"@ai-sdk/provider": "^3.0.0",
"@ai-sdk/provider-utils": "^4.0.1",
"@google/gemini-cli-core": "0.22.4",
"@google/genai": "1.30.0",
"google-auth-library": "^9.11.0",
"zod-to-json-schema": "3.25.0"
},
"devDependencies": {
"@eslint/js": "^9.30.0",
"@types/jest": "^29.5.14",
"@types/node": "^20.19.26",
"@vitest/coverage-v8": "^4.0.15",
"ai": "^6.0.3",
"eslint": "^9.39.1",
"globals": "^16.5.0",
"prettier": "^3.7.4",
"rimraf": "^6.1.2",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.49.0",
"vite": "^6.4.1",
"vitest": "^4.0.15",
"zod": "^3.25.76"
},
"peerDependencies": {
"zod": "^3.0.0 || ^4.0.0"
},
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public"
}
}