{
  "name": "rolebox",
  "version": "0.22.0",
  "description": "OpenCode plugin — define custom AI agent roles via YAML with per-role prompts, models, skills, and permissions",
  "engines": {
    "opencode": "^1.0.0"
  },
  "type": "module",
  "bin": {
    "rolebox": "./dist/cli/main.js"
  },
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./tui": {
      "import": "./dist/tui.js",
      "types": "./dist/tui.d.ts"
    }
  },
  "files": [
    "dist",
    "examples",
    "functions",
    "tui"
  ],
  "scripts": {
    "build": "tsc && bun run build:tui",
    "build:tui": "bun run scripts/build-tui.ts",
    "prepublishOnly": "tsc",
    "typecheck": "tsc --noEmit",
    "test": "bun test",
    "postinstall": "node dist/cli/postinstall.js"
  },
  "keywords": [
    "opencode",
    "opencode-plugin",
    "ai-agent",
    "yaml",
    "role",
    "prompt"
  ],
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/EricMoin/rolebox"
  },
  "dependencies": {
    "@clack/prompts": "^0.9.0",
    "@fontsource/space-grotesk": "^5.2.10",
    "cheerio": "^1.2.0",
    "citty": "^0.2.2",
    "fast-glob": "^3.3.0",
    "js-yaml": "^4.1.0",
    "tslog": "^4.10.2",
    "turndown": "^7.2.4",
    "turndown-plugin-gfm": "^1.0.2"
  },
  "peerDependencies": {
    "@opencode-ai/plugin": "^1.3.0",
    "@opentui/core": ">=0.2.16",
    "@opentui/keymap": ">=0.2.16",
    "@opentui/solid": ">=0.2.16",
    "solid-js": "^1.9.0",
    "playwright": ">=1.40.0",
    "crawlee": ">=3.0.0",
    "@mozilla/readability": ">=0.5.0",
    "linkedom": ">=0.18.0"
  },
  "peerDependenciesMeta": {
    "@opentui/core": {
      "optional": true
    },
    "@opentui/keymap": {
      "optional": true
    },
    "@opentui/solid": {
      "optional": true
    },
    "solid-js": {
      "optional": true
    },
    "playwright": {
      "optional": true
    },
    "crawlee": {
      "optional": true
    },
    "@mozilla/readability": {
      "optional": true
    },
    "linkedom": {
      "optional": true
    }
  },
  "devDependencies": {
    "@opencode-ai/plugin": "^1.3.0",
    "@opentui/core": "0.2.16",
    "@opentui/keymap": "0.2.16",
    "@opentui/solid": "0.2.16",
    "@resvg/resvg-js": "^2.6.2",
    "@types/js-yaml": "^4.0.0",
    "@types/turndown": "^5.0.6",
    "bun-types": "latest",
    "solid-js": "1.9.12",
    "typescript": "^5.7.0"
  }
}
