{
  "name": "@ciqtek/xigua",
  "version": "0.1.18",
  "license": "MIT",
  "type": "module",
  "description": "CLI-first local knowledge workbench agent with a reusable runtime core.",
  "main": "./dist/core/index.js",
  "types": "./dist/core/index.d.ts",
  "bin": {
    "xigua": "dist/cli/index.js"
  },
  "files": [
    "dist/cli/",
    "dist/core/",
    "dist/gateway/",
    "dist/plugins/",
    "dist/skills/",
    "dist/web/",
    "README.md",
    "LICENSE"
  ],
  "engines": {
    "node": ">=20"
  },
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/ciqtek-aitea/xigua-agent.git"
  },
  "bugs": {
    "url": "https://github.com/ciqtek-aitea/xigua-agent/issues"
  },
  "homepage": "https://github.com/ciqtek-aitea/xigua-agent#readme",
  "publishConfig": {
    "registry": "https://registry.npmjs.org/",
    "access": "public"
  },
  "scripts": {
    "dev": "node --max-old-space-size=8192 --import tsx apps/cli/src/index.tsx",
    "build:ink": "pnpm --filter @xigua/ink build",
    "build:core": "tsup packages/core/src/index.ts --format esm --dts --out-dir dist/core --clean",
    "build:cli": "tsup --config tsup.cli.config.ts",
    "build:gateway": "tsup apps/gateway/src/index.ts --format esm --platform node --out-dir dist/gateway --clean",
    "build:bridge-plugin": "tsup plugins/soul-bridge-plugin/src/runtime.ts --format esm --platform node --out-dir dist/plugins/soul-bridge-plugin --clean",
    "build:web": "tsup apps/web/src/index.ts --format esm --platform node --out-dir dist/web --clean && tsx scripts/copyWebAssets.ts",
    "build:skills": "tsx scripts/copyBundledSkills.ts",
    "build": "pnpm build:ink && pnpm build:core && pnpm build:cli && pnpm build:gateway && pnpm build:bridge-plugin && pnpm build:web && pnpm build:skills",
    "prepack": "pnpm build",
    "prepublishOnly": "pnpm test",
    "typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
    "test": "vitest run",
    "test:slow": "XIGUA_INCLUDE_SLOW_TESTS=1 vitest run packages/core/test/room-agent047-e2e-benchmark.test.ts",
    "test:watch": "vitest",
    "mcp:fake-test-server": "tsx scripts/mcp/fake-test-server.ts",
    "mcp:install-test-config": "tsx scripts/mcp/install-test-config.ts",
    "mcp:smoke-test": "tsx scripts/mcp/smoke-test.ts",
    "room:benchmark": "tsx scripts/roomBenchmark.ts",
    "doctor": "tsx apps/cli/src/index.tsx doctor",
    "gateway": "tsx apps/gateway/src/index.ts",
    "web": "tsx apps/web/src/index.ts",
    "dev:all": "concurrently \"pnpm gateway\" \"pnpm web\"",
    "tui:snapshot": "tsx scripts/tui/snapshot-scenarios.ts",
    "benchmark": "tsx scripts/internalBenchmark.ts"
  },
  "dependencies": {
    "@highlightjs/cdn-assets": "^11.11.1",
    "@modelcontextprotocol/sdk": "^1.18.0",
    "@mozilla/readability": "^0.6.0",
    "fast-glob": "^3.3.3",
    "gray-matter": "^4.0.3",
    "highlight.js": "^11.11.1",
    "ink-spinner": "^5.0.0",
    "ink-text-input": "^6.0.0",
    "jsdom": "^26.1.0",
    "markdown-it": "^14.2.0",
    "minimatch": "^10.0.3",
    "openai": "^4.104.0",
    "react": "^19.2.5",
    "react-dom": "^19.2.5",
    "react-reconciler": "^0.33.0",
    "stack-utils": "^2.0.6",
    "string-width": "^8.2.1",
    "vue": "^3.5.34",
    "ws": "^8.18.3",
    "zod": "^3.24.4"
  },
  "devDependencies": {
    "@types/jsdom": "^21.1.7",
    "@types/node": "^24.0.0",
    "@types/react": "^19.0.0",
    "@types/stack-utils": "^2.0.3",
    "@types/ws": "^8.5.13",
    "@xigua/ink": "workspace:*",
    "concurrently": "^9.2.1",
    "tsup": "^8.5.0",
    "tsx": "^4.20.3",
    "typescript": "^5.8.3",
    "vitest": "^3.1.4"
  },
  "pnpm": {
    "overrides": {
      "fast-uri": "3.1.2",
      "form-data": "4.0.6",
      "hono": "4.12.25",
      "react": "^19.2.5",
      "react-dom": "^19.2.5",
      "react-reconciler": "^0.33.0",
      "ws": "8.21.0"
    },
    "onlyBuiltDependencies": [
      "esbuild",
      "electron"
    ]
  }
}
