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

package.json

64 lines1.6 KB

1{
2 "name": "@tanstack/ai-opencode",
3 "version": "0.5.2",
4 "description": "OpenCode harness adapter for TanStack AI — run OpenCode as a chat backend with local tool execution and stateful sessions.",
5 "author": "",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "git+https://github.com/TanStack/ai.git",
10 "directory": "packages/ai-opencode"
11 },
12 "keywords": [
13 "ai",
14 "ai-sdk",
15 "typescript",
16 "tanstack",
17 "opencode",
18 "harness",
19 "agent",
20 "adapter",
21 "chat",
22 "tool-calling"
23 ],
24 "type": "module",
25 "module": "./dist/esm/index.js",
26 "types": "./dist/esm/index.d.ts",
27 "exports": {
28 ".": {
29 "types": "./dist/esm/index.d.ts",
30 "import": "./dist/esm/index.js"
31 },
32 "./byok": {
33 "types": "./dist/esm/byok.d.ts",
34 "import": "./dist/esm/byok.js"
35 }
36 },
37 "files": [
38 "dist",
39 "src"
40 ],
41 "scripts": {
42 "build": "vite build",
43 "clean": "premove ./build ./dist",
44 "lint:fix": "oxlint src --type-aware --fix",
45 "test:build": "publint --strict",
46 "test:oxlint": "oxlint src --type-aware",
47 "test:coverage": "vitest run --coverage --coverage.include='src/**' --coverage.reporter=text-summary --coverage.reporter=json-summary",
48 "test:lib": "vitest",
49 "test:lib:dev": "pnpm test:lib --watch",
50 "test:types": "tsc"
51 },
52 "dependencies": {
53 "@opencode-ai/sdk": "^1.17.4"
54 },
55 "peerDependencies": {
56 "@tanstack/ai": "workspace:^",
57 "@tanstack/ai-sandbox": "workspace:^"
58 },
59 "devDependencies": {
60 "@tanstack/ai": "workspace:*",
61 "@tanstack/ai-sandbox": "workspace:*",
62 "@vitest/coverage-v8": "4.1.10"
63 }