{
  "name": "opencode-codex-usage",
  "version": "2.2.2",
  "description": "Codex quota probe and OpenCode toast plugin",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jasonmit/opencode-codex-usage.git"
  },
  "homepage": "https://github.com/jasonmit/opencode-codex-usage#readme",
  "bugs": {
    "url": "https://github.com/jasonmit/opencode-codex-usage/issues"
  },
  "keywords": [
    "opencode",
    "opencode-plugin",
    "codex",
    "openai",
    "chatgpt",
    "plugin",
    "quota",
    "usage",
    "rate-limit",
    "tui"
  ],
  "type": "module",
  "main": "dist/index.js",
  "exports": {
    ".": "./dist/index.js",
    "./server": "./dist/index.js",
    "./opencode2": "./dist/opencode2.js",
    "./opencode2/tui": "./dist/opencode2-tui.js",
    "./tui": "./dist/tui.js"
  },
  "imports": {
    "#lib/*": {
      "opencode-codex-usage-test": "./.test-dist/lib/*",
      "default": "./dist/lib/*"
    },
    "#root/*": {
      "opencode-codex-usage-test": "./.test-dist/*",
      "default": "./dist/*"
    }
  },
  "bin": {
    "opencode-codex-usage": "dist/bin/opencode-codex-usage.js"
  },
  "files": [
    "dist/bin/**/*.js",
    "dist/index.js",
    "dist/opencode2.js",
    "dist/opencode2-tui.js",
    "dist/tui.js",
    "dist/lib/**/*.js",
    "opencode2-plugin",
    "opencode2-tui-plugin",
    "README.md"
  ],
  "scripts": {
    "clean": "rimraf dist",
    "build": "npm run clean && tsc -p tsconfig.json && chmod +x dist/bin/opencode-codex-usage.js",
    "test": "rimraf .test-dist && tsc -p tests/tsconfig.json && node --conditions=browser --conditions=opencode-codex-usage-test --test \".test-dist/tests/**/*.test.js\"",
    "lint": "oxlint --type-aware --deny-warnings .",
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "prepack": "npm run build",
    "pack:dry": "npm pack --dry-run",
    "pack": "npm pack"
  },
  "devDependencies": {
    "@oxlint/plugins": "1.79.0",
    "@types/node": "^26.2.0",
    "oxlint": "^1.79.0",
    "oxlint-tsgolint": "^7.0.2001",
    "prettier": "^3.9.6",
    "rimraf": "^6.1.3",
    "typescript": "^7.0.2"
  },
  "dependencies": {
    "@opencode/plugin": "^2.0.12",
    "jsonc-parser": "^3.3.1",
    "solid-js": "^1.9.15",
    "zod": "^4.4.3"
  }
}
