{
  "name": "@sema-agent/server",
  "version": "7.93.2",
  "description": "Sema Server — the server/API implementation layer for Sema, wiring core, registry, model providers, and cloud agent execution. Built on @sema-agent/core.",
  "type": "module",
  "license": "BUSL-1.1",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./main": {
      "default": "./dist/main.js"
    },
    "./device-protocol": {
      "types": "./dist/device-protocol.d.ts",
      "default": "./dist/device-protocol.js"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "!dist/**/*.map",
    "!dist/sema-server*",
    "!dist/run-local-linux-x64",
    "!dist/run-local-darwin-arm64",
    "skills",
    "deploy/sema-up",
    "docs/DEVICE-EXECUTOR-PROTOCOL.md",
    "USAGE.md",
    "MIGRATION.md"
  ],
  "bin": {
    "run-local": "dist/run-local.js",
    "sema-up": "deploy/sema-up/sema-up.sh"
  },
  "engines": {
    "node": ">=20"
  },
  "scripts": {
    "typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
    "build": "rm -rf dist && tsc -p tsconfig.build-js.json && tsc -p tsconfig.build-dts.json && node scripts/scrub-dist-refs.mjs dist",
    "prepublishOnly": "npm run build && vitest run test/pack-hygiene.test.ts",
    "start": "node dist/main.js",
    "dev": "tsx src/main.ts",
    "run-local": "node dist/run-local.js",
    "dev:run-local": "tsx src/run-local.ts",
    "start:bake-runner": "node dist/bake-runner/main.js",
    "dev:bake-runner": "tsx src/bake-runner/main.ts",
    "test": "vitest run",
    "test:db-integration": "vitest run integration",
    "perf:baseline": "tsx scripts/perf-baseline.mjs",
    "build:binary": "bun build --compile src/main.ts --outfile dist/sema-server",
    "build:binary:linux-x64": "bun build --compile --target=bun-linux-x64 src/main.ts --outfile dist/sema-server-linux-x64",
    "build:binary:darwin-arm64": "bun build --compile --target=bun-darwin-arm64 src/main.ts --outfile dist/sema-server-darwin-arm64",
    "build:binary:run-local:linux-x64": "bun build --compile --target=bun-linux-x64 src/run-local.ts --outfile dist/run-local-linux-x64",
    "build:binary:run-local:darwin-arm64": "bun build --compile --target=bun-darwin-arm64 src/run-local.ts --outfile dist/run-local-darwin-arm64"
  },
  "dependencies": {
    "@sema-agent/core": "7.26.0",
    "@sema-agent/settings-schema": "3.0.0",
    "e2b": "^2.28.0",
    "libsodium-wrappers": "^0.8.4",
    "mysql2": "^3.22.4",
    "pg": "^8.22.0",
    "ssh2": "^1.17.0",
    "typebox": "1.1.39",
    "ws": "^8.21.0",
    "zod": "^4.4.3"
  },
  "optionalDependencies": {
    "sharp": "^0.35.3"
  },
  "devDependencies": {
    "@sema-agent/sdk": "11.2.1",
    "@types/libsodium-wrappers": "^0.7.14",
    "@types/node": "22.10.2",
    "@types/pg": "^8.20.0",
    "@types/ssh2": "^1.15.5",
    "@types/ws": "^8.18.1",
    "ajv": "^8.20.0",
    "ajv-formats": "^3.0.1",
    "tsx": "4.19.2",
    "typescript": "5.7.2",
    "vitest": "^4.1.8",
    "yaml": "^2.9.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sema-agent/sema-server.git"
  },
  "overrides": {
    "glob": "^13"
  }
}
