{
  "name": "@agenticmail/codex",
  "version": "0.1.33",
  "description": "OpenAI Codex CLI integration for AgenticMail — surfaces every AgenticMail agent as a native Codex subagent and wires the dispatcher daemon to the Codex SDK",
  "type": "module",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "bin": {
    "agenticmail-codex": "dist/cli.js",
    "agenticmail-codex-dispatcher": "dist/dispatcher-bin.js",
    "agenticmail-codex-mail-hook": "dist/mail-hook.js"
  },
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    },
    "./install": {
      "import": "./dist/install.js",
      "types": "./dist/install.d.ts"
    },
    "./uninstall": {
      "import": "./dist/uninstall.js",
      "types": "./dist/uninstall.d.ts"
    },
    "./status": {
      "import": "./dist/status.js",
      "types": "./dist/status.d.ts"
    },
    "./http-routes": {
      "import": "./dist/http-routes.js",
      "types": "./dist/http-routes.d.ts"
    }
  },
  "files": [
    "dist",
    "scripts",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "tsup src/index.ts src/cli.ts src/install.ts src/uninstall.ts src/status.ts src/http-routes.ts src/dispatcher.ts src/dispatcher-bin.ts src/dispatcher-tuning.ts src/mail-hook.ts --format esm --dts --clean",
    "test": "vitest run --passWithNoTests",
    "preuninstall": "node scripts/uninstall.mjs",
    "prepublishOnly": "npm run build"
  },
  "dependencies": {
    "@agenticmail/core": "^0.9.43",
    "@agenticmail/mcp": "^0.9.29",
    "@iarna/toml": "^2.2.5"
  },
  "peerDependencies": {
    "@openai/codex-sdk": "^0.130.0",
    "express": "^4.17.0 || ^5.0.0"
  },
  "peerDependenciesMeta": {
    "@openai/codex-sdk": {
      "optional": false
    },
    "express": {
      "optional": true
    }
  },
  "devDependencies": {
    "@openai/codex-sdk": "^0.130.0",
    "@types/express": "^4.17.0",
    "@types/supertest": "^6.0.0",
    "express": "^4.22.2",
    "supertest": "^7.0.0",
    "tsup": "^8.4.0",
    "typescript": "^5.7.0",
    "vitest": "^4.1.8"
  },
  "engines": {
    "node": ">=22"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/agenticmail/agenticmail.git",
    "directory": "packages/codex"
  },
  "homepage": "https://github.com/agenticmail/agenticmail",
  "bugs": "https://github.com/agenticmail/agenticmail/issues",
  "keywords": [
    "codex",
    "openai",
    "openai-codex",
    "mcp",
    "model-context-protocol",
    "subagent",
    "agent",
    "ai-agent",
    "email",
    "sms",
    "agenticmail"
  ],
  "publishConfig": {
    "access": "public"
  },
  "author": "Ope Olatunji",
  "license": "MIT"
}
