Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

package.json

92 lines2.3 KB

1{
2 "name": "@tanstack/ai-openrouter",
3 "version": "1.0.0",
4 "description": "TanStack AI adapter for OpenRouter chat, provider tools, structured outputs, and access to hundreds of LLMs.",
5 "author": "Tanner Linsley",
6 "license": "MIT",
7 "homepage": "https://tanstack.com/ai",
8 "repository": {
9 "type": "git",
10 "url": "git+https://github.com/TanStack/ai.git",
11 "directory": "packages/ai-openrouter"
12 },
13 "bugs": {
14 "url": "https://github.com/TanStack/ai/issues"
15 },
16 "funding": {
17 "type": "github",
18 "url": "https://github.com/sponsors/tannerlinsley"
19 },
20 "type": "module",
21 "module": "./dist/esm/index.js",
22 "types": "./dist/esm/index.d.ts",
23 "exports": {
24 ".": {
25 "types": "./dist/esm/index.d.ts",
26 "import": "./dist/esm/index.js"
27 },
28 "./byok": {
29 "types": "./dist/esm/byok.d.ts",
30 "import": "./dist/esm/byok.js"
31 },
32 "./model-meta": {
33 "types": "./dist/esm/model-meta.d.ts",
34 "import": "./dist/esm/model-meta.js"
35 },
36 "./tools": {
37 "types": "./dist/esm/tools/index.d.ts",
38 "import": "./dist/esm/tools/index.js"
39 },
40 "./pkce": {
41 "types": "./dist/esm/pkce.d.ts",
42 "import": "./dist/esm/pkce.js"
43 },
44 "./models": {
45 "types": "./dist/esm/models.d.ts",
46 "import": "./dist/esm/models.js"
47 }
48 },
49 "files": [
50 "dist",
51 "src"
52 ],
53 "scripts": {
54 "build": "vite build",
55 "clean": "premove ./build ./dist",
56 "lint:fix": "oxlint src --type-aware --fix",
57 "test:build": "publint --strict",
58 "test:oxlint": "oxlint src --type-aware",
59 "test:coverage": "vitest run --coverage --coverage.include='src/**' --coverage.reporter=text-summary --coverage.reporter=json-summary",
60 "test:lib": "vitest run",
61 "test:lib:dev": "pnpm test:lib --watch",
62 "test:types": "tsc"
63 },
64 "keywords": [
65 "ai",
66 "ai-sdk",
67 "typescript",
68 "llm",
69 "generative-ai",
70 "openrouter",
71 "tanstack",
72 "adapter",
73 "chat",
74 "streaming",
75 "tool-calling",
76 "structured-outputs",
77 "model-router"
78 ],
79 "dependencies": {
80 "@openrouter/sdk": "0.13.20",
81 "@tanstack/ai-utils": "workspace:^"
82 },
83 "devDependencies": {
84 "@tanstack/ai": "workspace:*",
85 "@vitest/coverage-v8": "4.1.10",
86 "vite": "^8.2.1",
87 "zod": "^4.2.0"
88 },
89 "peerDependencies": {
90 "@tanstack/ai": "workspace:^"
91 }