{
  "name": "opencode-copilot-account-switcher",
  "version": "1.0.0",
  "description": "GitHub Copilot account switcher plugin for OpenCode",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./internal": {
      "types": "./dist/internal.d.ts",
      "default": "./dist/internal.js"
    }
  },
  "type": "module",
  "license": "MPL-2.0",
  "author": "jiwangyihao",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jiwangyihao/opencode-copilot-account-switcher.git"
  },
  "homepage": "https://github.com/jiwangyihao/opencode-copilot-account-switcher#readme",
  "bugs": {
    "url": "https://github.com/jiwangyihao/opencode-copilot-account-switcher/issues"
  },
  "keywords": [
    "opencode",
    "github",
    "copilot",
    "plugin",
    "auth"
  ],
  "engines": {
    "node": ">=24.0.0"
  },
  "files": [
    "dist/",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "prebuild": "node scripts/clean-dist.mjs",
    "build": "tsc -p tsconfig.build.json",
    "sync:copilot-snapshot": "node scripts/sync-copilot-upstream.mjs --output src/upstream/copilot-plugin.snapshot.ts",
    "check:copilot-sync": "node scripts/sync-copilot-upstream.mjs --output src/upstream/copilot-plugin.snapshot.ts --check",
    "test:serial:plugin": "node --test --test-concurrency=1 test/plugin.test.js",
    "test:parallel:shard": "node --test test/active-account-quota.test.js test/common-settings-actions.test.js test/common-settings-store.test.js test/copilot-network-retry.test.js test/copilot-sync.test.js test/index-exports.test.js test/menu-runtime.test.js test/menu.test.js test/model-account-map.test.js test/root-package-boundary.test.js test/routing-state.test.js test/select.test.js test/session-control-command.test.js test/status-command.test.js test/store.test.js",
    "test": "npm run build && npm run test:serial:plugin && npm run test:parallel:shard",
    "typecheck": "tsc --noEmit",
    "prepublishOnly": "npm run build"
  },
  "peerDependencies": {
    "typescript": "^5"
  },
  "devDependencies": {
    "@types/node": "^24.10.1",
    "typescript": "^5.0.0"
  },
  "dependencies": {
    "@opencode-ai/plugin": "^1.2.26",
    "@opencode-ai/sdk": "^1.2.26",
    "xdg-basedir": "^5.1.0"
  }
}
