UNPKG

@tanstack/ai-sandbox

Version:

Provider-agnostic sandbox layer for TanStack AI — run harness adapters inside isolated sandboxes (defineSandbox, defineWorkspace, withSandbox) with a uniform SandboxHandle, workspace bootstrap, policy, and resumable lifecycle.

95 lines 2.27 kB
{ "name": "@tanstack/ai-sandbox", "version": "0.5.5", "description": "Provider-agnostic sandbox layer for TanStack AI — run harness adapters inside isolated sandboxes (defineSandbox, defineWorkspace, withSandbox) with a uniform SandboxHandle, workspace bootstrap, policy, and resumable lifecycle.", "author": "", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/TanStack/ai.git", "directory": "packages/ai-sandbox" }, "keywords": [ "ai", "ai-sdk", "typescript", "tanstack", "sandbox", "harness", "agent", "coding-agent", "isolation", "workspace", "tanstack-intent" ], "type": "module", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "exports": { ".": { "types": "./dist/esm/index.d.ts", "import": "./dist/esm/index.js" }, "./ngrok": { "types": "./dist/esm/ngrok.d.ts", "import": "./dist/esm/ngrok.js" }, "./testkit": { "types": "./dist/esm/testkit/conformance.d.ts", "import": "./dist/esm/testkit/conformance.js" } }, "files": [ "dist", "src", "skills" ], "nx": { "targets": { "test:types": { "dependsOn": [ "build", "^build" ] } } }, "dependencies": { "@modelcontextprotocol/sdk": "^1.29.0", "@tanstack/ai-skills": "^0.1.1" }, "peerDependencies": { "@ngrok/ngrok": "^1.0.0", "vitest": "^4.1.10", "@tanstack/ai": "^0.52.1", "@tanstack/ai-persistence": "^0.5.5" }, "peerDependenciesMeta": { "@ngrok/ngrok": { "optional": true }, "@tanstack/ai-persistence": { "optional": true }, "vitest": { "optional": true } }, "devDependencies": { "@ngrok/ngrok": "^1.7.0", "@vitest/coverage-v8": "4.1.10", "vitest": "^4.1.10", "@tanstack/ai": "0.52.1", "@tanstack/ai-persistence": "0.5.5" }, "scripts": { "build": "vite build", "clean": "premove ./build ./dist", "lint:fix": "oxlint src --type-aware --fix", "test:build": "publint --strict", "test:oxlint": "oxlint src --type-aware", "test:lib": "vitest", "test:lib:dev": "pnpm test:lib --watch", "test:types": "tsc" } }