{ "type": "module", "name": "@sayknow-cli/ai", "version": "0.7.25", "description": "Unified LLM API with automatic model discovery and provider configuration", "homepage": "https://sayknow-cli.com", "author": "jaybeyond", "contributors": [ "Mario Zechner" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/jaybeyond/Sayknow_CLI.git", "directory": "packages/ai" }, "bugs": { "url": "https://github.com/jaybeyond/Sayknow_CLI/issues" }, "keywords": [ "ai", "llm", "openai", "anthropic", "gemini", "unified", "api" ], "main": "./src/index.ts", "types": "./src/index.ts", "bin": { "pi-ai": "./src/cli.ts" }, "scripts": { "check": "biome check . && bun run check:types", "check:types": "tsgo -p tsconfig.json --noEmit", "lint": "biome lint .", "test": "bun test", "fix": "biome check --write --unsafe .", "fmt": "biome format --write .", "generate-models": "bun scripts/generate-models.ts" }, "dependencies": { "@anthropic-ai/sdk": "catalog:", "@bufbuild/protobuf": "catalog:", "@sayknow-cli/utils": "catalog:", "openai": "catalog:", "partial-json": "catalog:", "zod": "catalog:" }, "devDependencies": { "@types/bun": "catalog:", "fast-check": "catalog:" }, "engines": { "bun": ">=1.3.14" }, "files": [ "src", "README.md", "CHANGELOG.md" ], "exports": { ".": { "types": "./src/index.ts", "import": "./src/index.ts" }, "./*": { "types": "./src/*.ts", "import": "./src/*.ts" }, "./auth-broker": { "types": "./src/auth-broker/index.ts", "import": "./src/auth-broker/index.ts" }, "./auth-broker/*": { "types": "./src/auth-broker/*.ts", "import": "./src/auth-broker/*.ts" }, "./auth-gateway": { "types": "./src/auth-gateway/index.ts", "import": "./src/auth-gateway/index.ts" }, "./auth-gateway/*": { "types": "./src/auth-gateway/*.ts", "import": "./src/auth-gateway/*.ts" }, "./models.json": { "types": "./src/models.json.d.ts", "import": "./src/models.json" }, "./provider-models": { "types": "./src/provider-models/index.ts", "import": "./src/provider-models/index.ts" }, "./provider-models/*": { "types": "./src/provider-models/*.ts", "import": "./src/provider-models/*.ts" }, "./providers/*": { "types": "./src/providers/*.ts", "import": "./src/providers/*.ts" }, "./providers/cursor/gen/*": { "types": "./src/providers/cursor/gen/*.ts", "import": "./src/providers/cursor/gen/*.ts" }, "./providers/openai-codex/*": { "types": "./src/providers/openai-codex/*.ts", "import": "./src/providers/openai-codex/*.ts" }, "./usage/*": { "types": "./src/usage/*.ts", "import": "./src/usage/*.ts" }, "./utils/*": { "types": "./src/utils/*.ts", "import": "./src/utils/*.ts" }, "./utils/discovery": { "types": "./src/utils/discovery/index.ts", "import": "./src/utils/discovery/index.ts" }, "./utils/discovery/*": { "types": "./src/utils/discovery/*.ts", "import": "./src/utils/discovery/*.ts" }, "./utils/oauth": { "types": "./src/utils/oauth/index.ts", "import": "./src/utils/oauth/index.ts" }, "./utils/oauth/*": { "types": "./src/utils/oauth/*.ts", "import": "./src/utils/oauth/*.ts" }, "./utils/schema": { "types": "./src/utils/schema/index.ts", "import": "./src/utils/schema/index.ts" }, "./utils/schema/*": { "types": "./src/utils/schema/*.ts", "import": "./src/utils/schema/*.ts" }, "./*.js": "./src/*.ts" } }