{
  "name": "dsh-metaontic-newapi-lite",
  "version": "0.0.4",
  "description": "MetaOntic AI 统一 AI 接口网关，聚合多家大模型服务，兼容 OpenAI、Anthropic 与 Gemini 协议，降低接入与切换成本。支持账号、分组与令牌多层额度管理，个人与团队配额隔离，以及按用途配置密钥权限、限额和有效期；调用用量、消耗与请求记录集中可查。",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/wxsimon2022/dsh-metaontic-newapi-lite.git"
  },
  "homepage": "https://github.com/wxsimon2022/dsh-metaontic-newapi-lite#readme",
  "bugs": {
    "url": "https://github.com/wxsimon2022/dsh-metaontic-newapi-lite/issues"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "keywords": [
    "deepseek-harness",
    "dsh",
    "dsh-plugin",
    "deepseek",
    "metaontic-ai",
    "metaontic",
    "new-api",
    "newapi",
    "model-aggregation",
    "model-gateway",
    "openai-compatible",
    "llm-gateway",
    "model-relay",
    "model-plaza",
    "model-catalog",
    "access-token-login",
    "api-key-management",
    "api-key-group",
    "subscription-management",
    "recharge-payment",
    "account-dashboard",
    "balance-query",
    "usage-query",
    "ai-management",
    "plugin-market",
    "gitee"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./client": "./dist/client.js",
    "./locale/*.json": "./locale/*.json",
    "./icon": "./icon.svg",
    "./package.json": "./package.json"
  },
  "files": [
    "dist/index.js",
    "dist/index.d.ts",
    "dist/index.js.map",
    "dist/host/**/*.js",
    "dist/host/**/*.d.ts",
    "dist/host/**/*.js.map",
    "dist/client.js",
    "dist/client.js.map",
    "cordis.patch.yml",
    "locale/*.json",
    "icon.svg",
    "LICENSE",
    "llms.txt"
  ],
  "engines": {
    "node": ">=20"
  },
  "dsh": {
    "bundle": {
      "patch": "./cordis.patch.yml"
    },
    "client": {
      "platform": "web",
      "inject": [
        "@deepseek-ai/dsh-api-remotes",
        "@deepseek-ai/dsh-client-locale"
      ]
    }
  },
  "scripts": {
    "build": "npm run build:host && npm run build:client",
    "build:host": "tsc -p tsconfig.build.json",
    "build:client": "esbuild src/client.ts --bundle --format=iife --platform=browser --target=es2022 --loader:.png=dataurl --outfile=dist/client.js --sourcemap --log-level=warning",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "check": "npm run typecheck && node --check tests/query.test.mjs",
    "test": "npm run build && node --test tests/*.test.mjs",
    "pack:check": "npm pack --dry-run",
    "pack:plugin": "node scripts/pack-plugin.mjs",
    "release:gitee": "node scripts/publish-gitee.mjs",
    "prepack": "npm run build"
  },
  "devDependencies": {
    "@types/node": "^20.19.43",
    "esbuild": "^0.28.2",
    "typescript": "^5.9.3"
  }
}
