{
  "name": "@cloudflare/computer",
  "version": "0.7.0",
  "description": "Cloudflare Computer — a SQLite-backed virtual filesystem with sync to a container-side daemon (computerd).",
  "license": "MIT",
  "repository": {
    "directory": "packages/computer",
    "type": "git",
    "url": "git+https://github.com/cloudflare/computer.git"
  },
  "private": false,
  "type": "module",
  "publishConfig": {
    "tag": "unreleased"
  },
  "sideEffects": false,
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./git": {
      "types": "./dist/git.d.ts",
      "import": "./dist/git.js"
    },
    "./assets": {
      "types": "./dist/assets/index.d.ts",
      "import": "./dist/assets/index.js"
    },
    "./artifacts": {
      "types": "./dist/artifacts/index.d.ts",
      "import": "./dist/artifacts/index.js"
    },
    "./modules/container": {
      "types": "./dist/modules/container.d.ts",
      "import": "./dist/modules/container.js"
    },
    "./modules/git": {
      "types": "./dist/modules/git.d.ts",
      "import": "./dist/modules/git.js"
    },
    "./modules/artifacts": {
      "types": "./dist/modules/artifacts.d.ts",
      "import": "./dist/modules/artifacts.js"
    },
    "./modules/tools": {
      "types": "./dist/modules/tools.d.ts",
      "import": "./dist/modules/tools.js"
    },
    "./modules/assets": {
      "types": "./dist/modules/assets.d.ts",
      "import": "./dist/modules/assets.js"
    },
    "./tools": {
      "types": "./dist/tools/index.d.ts",
      "import": "./dist/tools/index.js"
    },
    "./tools/core": {
      "types": "./dist/tools/core.d.ts",
      "import": "./dist/tools/core.js"
    },
    "./tools/pi-ai": {
      "types": "./dist/tools/pi-ai.d.ts",
      "import": "./dist/tools/pi-ai.js"
    },
    "./tools/tanstack-ai": {
      "types": "./dist/tools/tanstack-ai.d.ts",
      "import": "./dist/tools/tanstack-ai.js"
    },
    "./backends/container-legacy": {
      "types": "./dist/backends/container-legacy/index.d.ts",
      "import": "./dist/backends/container-legacy/index.js"
    },
    "./tools/ai-sdk": {
      "types": "./dist/tools/ai-sdk.d.ts",
      "import": "./dist/tools/ai-sdk.js"
    },
    "./backends/container": {
      "types": "./dist/backends/container/index.d.ts",
      "import": "./dist/backends/container/index.js"
    },
    "./backends/worker-javascript": {
      "types": "./dist/backends/worker-javascript/index.d.ts",
      "import": "./dist/backends/worker-javascript/index.js"
    },
    "./backends/worker-shell": {
      "types": "./dist/backends/worker-shell/index.d.ts",
      "import": "./dist/backends/worker-shell/index.js"
    },
    "./shell/core": {
      "types": "./dist/backends/worker-shell/shell/core.d.ts",
      "default": "./dist/backends/worker-shell/shell/core.js"
    },
    "./shell/curl": {
      "types": "./dist/backends/worker-shell/shell/curl.d.ts",
      "default": "./dist/backends/worker-shell/shell/curl.js"
    },
    "./shell/html-to-markdown": {
      "types": "./dist/backends/worker-shell/shell/html-to-markdown.d.ts",
      "default": "./dist/backends/worker-shell/shell/html-to-markdown.js"
    },
    "./shell/python": {
      "types": "./dist/backends/worker-shell/shell/python.d.ts",
      "default": "./dist/backends/worker-shell/shell/python.js"
    },
    "./shell/sqlite": {
      "types": "./dist/backends/worker-shell/shell/sqlite.d.ts",
      "default": "./dist/backends/worker-shell/shell/sqlite.js"
    },
    "./shell/js-exec": {
      "types": "./dist/backends/worker-shell/shell/js-exec.d.ts",
      "default": "./dist/backends/worker-shell/shell/js-exec.js"
    },
    "./shell/yq": {
      "types": "./dist/backends/worker-shell/shell/yq.d.ts",
      "default": "./dist/backends/worker-shell/shell/yq.js"
    },
    "./shell/file": {
      "types": "./dist/backends/worker-shell/shell/file.d.ts",
      "default": "./dist/backends/worker-shell/shell/file.js"
    },
    "./shell/xan": {
      "types": "./dist/backends/worker-shell/shell/xan.d.ts",
      "default": "./dist/backends/worker-shell/shell/xan.js"
    },
    "./shell/jq": {
      "types": "./dist/backends/worker-shell/shell/jq.d.ts",
      "default": "./dist/backends/worker-shell/shell/jq.js"
    },
    "./observe/cloudflare": {
      "types": "./dist/observe/cloudflare.d.ts",
      "import": "./dist/observe/cloudflare.js"
    },
    "./vite": {
      "types": "./dist/vite/index.d.ts",
      "import": "./dist/vite/index.js"
    },
    "./vite/client": {
      "types": "./vite-client.d.ts"
    }
  },
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "README.md",
    "vite-client.d.ts"
  ],
  "scripts": {
    "build:deps": "npm run build --workspace @cloudflare/computer-rpc",
    "build:shell-bundle": "node ./src/backends/worker-shell/script/build-bundle.mjs",
    "prebuild": "npm run build:deps && npm run build:shell-bundle",
    "pretest": "npm run build:shell-bundle",
    "pretypecheck": "npm run build:deps && npm run build:shell-bundle",
    "prepare": "npm run build:shell-bundle",
    "build": "rolldown -c",
    "typecheck": "tsc -p tsconfig.build.json --noEmit",
    "test": "vitest run && vitest run --config vitest.config.proxy.ts && vitest run --config vitest.config.worker-backend.ts && vitest run --config vitest.config.script-runner.ts && vitest run --config vitest.config.stub-soak.ts",
    "test:stub-soak": "vitest run --config vitest.config.stub-soak.ts",
    "test:worker-backend": "vitest run --config vitest.config.worker-backend.ts",
    "test:code": "vitest run --config vitest.config.script-runner.ts",
    "test:harness": "./test-harness/run-harness.sh",
    "bench:harness": "./test-harness/run-harness.sh bench",
    "prepublishOnly": "npm run build && npm test"
  },
  "dependencies": {
    "capnweb": "^0.10.0"
  },
  "peerDependencies": {
    "@cloudflare/workers-types": "^4.20260616.1 || ^5.20260921.1",
    "@platformatic/vfs": "*",
    "ai": "^6.0.196 || ^7.0.0",
    "just-bash": "^3.0.1",
    "vite": "^6.0.0 || ^7.0.0 || ^8.0.0",
    "zod": "^4.4.3"
  },
  "peerDependenciesMeta": {
    "@cloudflare/workers-types": {
      "optional": true
    },
    "@platformatic/vfs": {
      "optional": true
    },
    "ai": {
      "optional": true
    },
    "just-bash": {
      "optional": true
    },
    "vite": {
      "optional": true
    },
    "zod": {
      "optional": true
    }
  },
  "devDependencies": {
    "@cloudflare/computer-rpc": "*",
    "@cloudflare/dofs": "*",
    "@cloudflare/vite-plugin": "^1.63.0",
    "@cloudflare/vitest-pool-workers": "^0.22.0",
    "@cloudflare/workers-types": "^4.20260616.1 || ^5.20260921.1",
    "@earendil-works/pi-ai": "^0.99.2",
    "@platformatic/vfs": "^0.4.0",
    "@tanstack/ai": "^0.63.0",
    "acorn": "^8.17.0",
    "ai": "^7.0.0",
    "diff": "^9.0.0",
    "esbuild": "^0.28.1",
    "isomorphic-git": "^1.38.3",
    "just-bash": "^3.0.1",
    "memfs": "^4.57.6",
    "rolldown": "^1.0.2",
    "rolldown-plugin-dts": "^0.25.2",
    "typescript": "^6.0.3",
    "vite": "^8.3.4",
    "vitest": "^4.1.12",
    "wrangler": "^4.148.0",
    "zod": "^4.4.3"
  }
}
