{
  "name": "@openremotecode/opencode",
  "version": "0.5.0",
  "description": "Secure outbound connector between OpenCode and Open Remote Code",
  "keywords": [
    "opencode",
    "plugin",
    "remote",
    "end-to-end-encryption"
  ],
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./server": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./tui": {
      "types": "./dist/tui.d.ts",
      "import": "./dist/tui.js"
    }
  },
  "sideEffects": false,
  "files": [
    "dist",
    "docs",
    "index.js",
    "tui.js",
    "src"
  ],
  "engines": {
    "node": ">=24",
    "opencode": ">=2.0.12 <3"
  },
  "license": "MIT",
  "publishConfig": {
    "access": "public"
  },
  "devDependencies": {
    "@opentui/solid": "0.4.5",
    "@types/node": "^24.0.0",
    "typescript": "~5.9.3",
    "ws": "~8.21.3"
  },
  "dependencies": {
    "sharp": "^0.35.5",
    "zod": "4.6.7",
    "@openremotecode/protocol": "0.3.0"
  },
  "peerDependencies": {
    "@opentui/solid": ">=0.4.5"
  },
  "peerDependenciesMeta": {
    "@opentui/solid": {
      "optional": true
    }
  },
  "scripts": {
    "clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
    "build": "pnpm --filter @openremotecode/protocol build && pnpm run clean && tsc -p tsconfig.json",
    "typecheck": "pnpm --filter @openremotecode/protocol build && tsc -p tsconfig.json --noEmit",
    "test": "pnpm run build && node --test test/unit/*.test.mjs && node --test --test-concurrency=1 --test-timeout=45000 test/integration/*.test.mjs",
    "test:unit": "pnpm run build && node --test test/unit/*.test.mjs",
    "test:integration": "pnpm run build && node --test --test-concurrency=1 --test-timeout=45000 test/integration/*.test.mjs",
    "pack:check": "pnpm pack --dry-run"
  }
}