Open History to see the last commit
1{
2 "name": "@tanstack/ai-octane",
3 "version": "1.0.0",
4 "description": "Octane bindings for TanStack AI streaming chat, structured outputs, and media generation.",
5 "author": "Dominic Gannaway",
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-octane"
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 "engines": {
22 "node": ">=22"
23 },
24 "keywords": [
25 "ai",
26 "ai-sdk",
27 "typescript",
28 "tanstack",
29 "octane",
30 "chat",
31 "streaming",
32 "tool-calling",
33 "structured-outputs",
34 "media-generation"
35 ],
36 "//": "Like Svelte packages shipping .svelte, this package publishes uncompiled source: the hook modules are .tsrx and are compiled by the consumer's Octane plugin. There is therefore no build/dist and no publint test:build target. The .tsrx.d.ts companions are checked declaration emits, so `tsc` still type-checks the full public surface.",
37 "main": "./src/index.ts",
38 "module": "./src/index.ts",
39 "types": "./src/index.ts",
40 "exports": {
41 ".": "./src/index.ts",
42 "./ui": "./src/ui.ts",
43 "./byok": "./src/byok.ts"
44 },
45 "files": [
46 "src",
47 "README.md"
48 ],
49 "//lint": "The .tsrx.d.ts companions are generated declaration emits of the .tsrx implementations, so they are not hand-formatted and are excluded from lint rather than edited in place (a regeneration would undo any fix).",
50 "scripts": {
51 "lint:fix": "oxlint src --type-aware --fix",
52 "test:oxlint": "oxlint src --type-aware",
53 "test:coverage": "vitest run --coverage --coverage.include='src/**' --coverage.reporter=text-summary --coverage.reporter=json-summary",
54 "test:lib": "vitest run",
55 "test:lib:dev": "pnpm test:lib --watch",
56 "test:types": "tsc && tsc -p typetests/tsconfig.json"
57 },
58 "dependencies": {
59 "@tanstack/ai-client": "workspace:^"
60 },
61 "peerDependencies": {
62 "@tanstack/ai": "workspace:^",
63 "octane": ">=0.12.0"
64 },
65 "devDependencies": {
66 "@octanejs/testing-library": "0.1.62",
67 "@standard-schema/spec": "^1.1.0",
68 "@tanstack/ai": "workspace:*",
69 "@tsrx/oxc": "0.20.0",
70 "@types/node": "^24.10.1",
71 "@vitest/coverage-v8": "4.1.10",
72 "happy-dom": "^20.11.2",
73 "octane": "0.12.1",
74 "vite": "^8.2.1",
75 "zod": "^4.2.0"
76 }
77}