{
  "name": "@cotal-ai/connector-opencode",
  "description": "Cotal connector for OpenCode: a native in-process plugin that joins a session to the mesh.",
  "version": "0.50.0",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/Cotal-AI/Cotal.git",
    "directory": "extensions/connector-opencode"
  },
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    }
  },
  "peerDependencies": {
    "@cotal-ai/core": ">=0.1.0"
  },
  "devDependencies": {
    "@opencode-ai/plugin": "^1.16.2",
    "esbuild": "^0.28.0",
    "tsx": "^4.22.4",
    "@cotal-ai/connector-core": "0.50.0",
    "@cotal-ai/core": "0.50.0",
    "@cotal-ai/smoke-kit": "0.0.0"
  },
  "files": [
    "dist"
  ],
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "test": "tsx smoke/tool-input-closed.smoke.ts",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json --emitDeclarationOnly && pnpm run bundle",
    "bundle": "esbuild src/index.ts --bundle --platform=node --format=esm --target=node20 --outfile=dist/index.js --external:@cotal-ai/core && esbuild src/plugin.entry.ts --bundle --platform=node --format=esm --target=node20 --outfile=dist/plugin.bundle.js && esbuild src/serve.ts --bundle --platform=node --format=esm --target=node20 --outfile=dist/serve.js"
  }
}