UNPKG

ai-sdk-provider-gemini-cli

Version:

Community AI SDK provider for Google Gemini using the official CLI/SDK

100 lines (99 loc) 2.71 kB
{ "name": "ai-sdk-provider-gemini-cli", "version": "0.1.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:test": "node examples/integration-test.mjs", "examples": "npm run build && npm run example:check && npm run example:basic" }, "dependencies": { "@ai-sdk/provider": "^1.1.3", "@ai-sdk/provider-utils": "^2.2.8", "@google/gemini-cli-core": "^0.1.13", "@google/genai": "^1.7.0", "google-auth-library": "^9.0.0", "zod": "^3.23.8", "zod-to-json-schema": "^3.23.3" }, "devDependencies": { "@eslint/js": "^9.30.0", "@types/jest": "^29.5.12", "@types/node": "^20.14.10", "@vitest/coverage-v8": "^1.6.1", "ai": "^4.3.16", "eslint": "^9.30.0", "globals": "^16.2.0", "prettier": "^3.3.2", "rimraf": "^5.0.7", "tsup": "^8.1.0", "tsx": "^4.16.0", "typescript": "^5.5.3", "typescript-eslint": "^8.35.0", "vitest": "^1.6.0" }, "peerDependencies": { "zod": "^3.23.8" }, "engines": { "node": ">=18" }, "publishConfig": { "access": "public" } }