Skip to content

Secure, Fast, and Extensible Sandbox runtime for AI agents.

1.8 KB
Raw Blame
{
  "name": "@alibaba-group/opensandbox",
  "version": "1.2.0",
  "description": "OpenSandbox TypeScript/JavaScript SDK (sandbox lifecycle + execd APIs)",
  "license": "Apache-2.0",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/cjs/index.cjs",
      "default": "./dist/index.js"
    },
    "./internal": {
      "types": "./dist/internal.d.ts",
      "import": "./dist/internal.js",
      "require": "./dist/cjs/internal.cjs",
      "default": "./dist/internal.js"
    },
    "./pool-redis": {
      "types": "./dist/poolRedis.d.ts",
      "import": "./dist/poolRedis.js",
      "require": "./dist/cjs/poolRedis.cjs",
      "default": "./dist/poolRedis.js"
    }
  },
  "browser": "./dist/index.js",
  "sideEffects": false,
  "repository": {
    "type": "git",
    "url": "https://github.com/opensandbox-group/OpenSandbox.git"
  },
  "bugs": {
    "url": "https://github.com/opensandbox-group/OpenSandbox/issues"
  },
  "homepage": "https://open-sandbox.ai",
  "files": [
    "dist",
    "src"
  ],
  "engines": {
    "node": ">=20"
  },
  "packageManager": "[email protected]",
  "scripts": {
    "gen:api": "node ./scripts/generate-api.mjs",
    "build": "pnpm run gen:api && tsup",
    "test": "pnpm run build && node --test tests/*.test.mjs",
    "lint": "eslint src scripts --max-warnings 0",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "clean": "rm -rf dist"
  },
  "dependencies": {
    "@opentelemetry/api": "^1.9.0",
    "openapi-fetch": "^0.14.1",
    "undici": "^7.30.1"
  },
  "devDependencies": {
    "@eslint/js": "^9.39.4",
    "eslint": "^9.39.4",
    "globals": "^17.0.0",
    "openapi-typescript": "^7.13.0",
    "tsup": "^8.5.1",
    "typescript": "^5.7.2",
    "typescript-eslint": "^8.59.0"
  }
}