{
  "name": "@fungi.computer/computer",
  "version": "0.19.2",
  "author": "Levi <levi@technomancy.dev>",
  "description": "Cloudflare Computer host for one durable Fungi Computer",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./preview": {
      "types": "./dist/preview.d.ts",
      "import": "./dist/preview.js"
    },
    "./files": {
      "types": "./dist/files.d.ts",
      "import": "./dist/files.js"
    },
    "./backing": {
      "types": "./dist/computer-backends.d.ts",
      "import": "./dist/computer-backends.js"
    },
    "./host-config": {
      "types": "./dist/host-config.d.ts",
      "import": "./dist/host-config.js"
    },
    "./container-policy": {
      "types": "./dist/container-policy.d.ts",
      "import": "./dist/container-policy.js"
    },
    "./fleet/wire": {
      "types": "./dist/fleet/wire.d.ts",
      "import": "./dist/fleet/wire.js"
    },
    "./fleet/inventory-wire": {
      "types": "./dist/fleet/inventory-wire.d.ts",
      "import": "./dist/fleet/inventory-wire.js"
    },
    "./fleet": {
      "types": "./dist/fleet/index.d.ts",
      "import": "./dist/fleet/index.js"
    },
    "./egress": {
      "types": "./dist/egress-policy.d.ts",
      "import": "./dist/egress-policy.js"
    },
    "./port-access": {
      "types": "./dist/port-access.d.ts",
      "import": "./dist/port-access.js"
    },
    "./services": {
      "types": "./dist/services.d.ts",
      "import": "./dist/services.js"
    },
    "./services-apply": {
      "types": "./dist/services-apply.d.ts",
      "import": "./dist/services-apply.js"
    }
  },
  "files": [
    "dist",
    "Dockerfile",
    "container",
    "README.md",
    "LICENSE"
  ],
  "dependencies": {
    "@fungi.computer/cairn": "0.1.1",
    "@fungi.computer/capnweb": "0.12.0-fungi.0",
    "@fungi.computer/cloudflare-computer": "0.2.1-fungi.4",
    "@fungi.computer/cordyceps": "0.4.3",
    "@fungi.computer/knapsack": "0.4.41",
    "@fungi.computer/seam": "0.2.9",
    "@fungi.computer/watchdog": "0.1.7",
    "@fungi.computer/computer-contract": "0.6.18",
    "effect": "4.0.2",
    "just-bash": "3.4.2",
    "zod": "4.4.3",
    "hono": "4.13.5"
  },
  "devDependencies": {
    "@cloudflare/workers-types": "5.20260828.1",
    "@types/node": "24.13.3",
    "esbuild": "0.28.2",
    "eslint": "10.9.1",
    "oxlint": "1.78.0",
    "playwright": "1.62.1",
    "tsx": "4.23.12",
    "typescript": "5.9.3",
    "uuid": "11.1.1",
    "wrangler": "4.159.0",
    "ws": "8.18.0"
  },
  "botanical": {
    "role": "runtime",
    "operations": {
      "lint": "required",
      "typecheck": "required",
      "build": "required",
      "test": "required",
      "docs": {
        "status": "not-applicable",
        "reason": "Computer runtime owns no generated API documentation surface"
      },
      "pack": {
        "status": "not-applicable",
        "reason": "Computer runtime is bundled into a container image, not independently packed"
      },
      "smoke": {
        "status": "not-applicable",
        "reason": "The real Worker-runtime test exercises the full container composition"
      },
      "stranger": {
        "status": "not-applicable",
        "reason": "Computer runtime is a container image owner, not an installable library consumer fixture"
      }
    }
  },
  "license": "MIT",
  "scripts": {
    "lint": "eslint src test container scripts --max-warnings=0 && oxlint --config ../../oxlint.config.ts --deny-warnings src test container scripts",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "build": "pnpm run clean && tsc -p tsconfig.build.json && node scripts/copy-daemon.mjs",
    "build:container": "bash ../../tooling/proof-runner/run-proof.sh docker build --load --platform linux/amd64 --provenance=false .",
    "build:native": "fungi-apply-patch-build --out native/bin",
    "clean": "node --input-type=module --eval \"import { rm } from 'node:fs/promises'; await rm('dist', { recursive: true, force: true });\"",
    "test": "pnpm run test:unit && pnpm run test:fleet-native && node test/files-rpc.native.mjs && node test/shell-groups.native.mjs && node test/port-proof.mjs && node test/services-proof.mjs && node test/services-wake-proof.mjs && node test/terminal-container-proof.mjs && node test/ssh-container-proof.mjs && node test/fuse-startup-proof.mjs && node test/container-resource-proof.mjs && node test/runtime-proof.mjs && node test/process-schema-proof.mjs && node test/process-proof.mjs && node test/terminal-proof.mjs && pnpm run test:app-method-execution && pnpm run test:execution-lifecycle && pnpm run test:home-patch",
    "format:check": "node ../../tooling/repository/scripts/format-package-check.mjs",
    "lint:anti-slop": "node ../../tooling/repository/scripts/lint-package-anti-slop.mjs",
    "test:merge": "pnpm run test",
    "test:nightly": "bash ../../tooling/proof-runner/run-proof.sh node test/egress-proof.mjs",
    "test:app-method-execution": "node test/app-method-execution-proof.mjs",
    "test:home-patch": "node test/home-instructions-patch-proof.mjs",
    "test:ssh-container": "node test/ssh-container-proof.mjs",
    "test:preview-failure:browser": "node test/preview-failure.browser.mjs",
    "test:execution-lifecycle": "node test/execution-lifecycle-proof.mjs",
    "test:unit": "bash ../../tooling/proof-runner/hermetic-host.sh -- sh -c \"node --test --test-concurrency=${BOTANICAL_TEST_WORKERS:-4} test/egress-policy.test.mjs test/preview.test.mjs test/port-failure.test.mjs test/port-access.test.mjs test/process-wait.test.mjs test/fleet.test.mjs test/proof-worker.test.mjs test/proof-client.test.mjs test/native-readiness.test.mjs test/workspace-sync.test.mjs test/runtime-observer.test.mjs test/files-patch.test.mjs test/exec-output.test.mjs test/command-failure.test.mjs test/tools-install.test.mjs test/services.test.mjs test/services-apply.test.mjs test/services-tools.test.mjs test/services-render.test.mjs && node --test --test-concurrency=${BOTANICAL_TEST_WORKERS:-4} test/seam-signature.test.mjs test/local-backend-replay.test.mjs test/machine-link-reopen-replay.test.mjs test/computer-backends.test.mjs test/terminal-welcome.test.mjs test/on-box-vm.test.mjs && node test/terminal-protocol.test.mjs && node test/container-policy.test.mjs && node test/files-adapter-proof.mjs && node test/operation-record-proof.mjs && node test/process-inventory-proof.mjs\"",
    "test:services": "node test/services-proof.mjs && node test/services-wake-proof.mjs",
    "test:fleet-native": "node test/fleet.native.mjs",
    "assemble:image": "node scripts/assemble-image.mjs"
  }
}