{
  "name": "feihong-code",
  "version": "8.13.8",
  "description": "fhcode（飞虹 Code）— 终端 AI 编程智能体：多模型路由（DeepSeek/通义/Ollama/OpenAI）、企业级 RBAC 审计、全自动 SWE Agent、支持离线私有化。源代码 Apache-2.0 开源自托管，企业版增值能力（激活码、完全私有化部署与商业支持）采用商业授权双轨模式。",
  "bin": {
    "fhcode": "dist/cli/index.js"
  },
  "main": "electron/main.js",
  "files": [
    "agent-team",
    "dist",
    "skills",
    "templates/skills",
    "README.md",
    "CHANGELOG.md",
    "AGENT-GUIDE.md",
    "tool-schema.json",
    "docs",
    ".github"
  ],
  "scripts": {
    "build": "tsc && node scripts/copy-web.cjs",
    "start": "node dist/cli/index.js",
    "dev": "tsx src/cli/index.ts",
    "typecheck": "tsc --noEmit",
    "verify:m4": "node scripts/verify-m4.mjs",
    "verify:m6": "node scripts/verify-m6.mjs",
    "verify:m7": "node scripts/verify-m7.mjs",
    "verify:m8": "node scripts/verify-m8.mjs",
    "verify:m9": "node scripts/verify-m9.mjs",
    "verify:routines": "node scripts/verify-routines.mjs",
    "verify:policy": "node scripts/verify-policy.mjs",
    "check:version": "node scripts/check-version.mjs",
    "check:catalog": "tsx scripts/verify-tool-catalog.ts",
    "check:cross": "node scripts/check-cross-platform.mjs",
    "check:compliance": "node scripts/check-compliance-claims.mjs",
    "bump": "node scripts/bump-version.mjs",
    "eval": "node scripts/eval.mjs",
    "test": "node --test-force-exit --import tsx --import ./tests/helpers/force-offline.mjs --test tests/unit/*.test.ts",
    "test:integration": "node --import tsx --import ./tests/helpers/force-offline.mjs --test tests/integration/*.test.ts",
    "verify": "npm run typecheck && npm run check:version && npm run check:catalog && npm run build && npm run verify:m4 && npm run verify:m6 && npm run verify:m7 && npm run verify:m8 && npm run verify:m9 && npm run verify:routines && npm run verify:policy",
    "prepublishOnly": "npm run build",
    "electron": "electron .",
    "electron:dev": "electron .",
    "electron:build": "npm run build && electron-builder --win --x64",
    "electron:dist": "npm run build && electron-builder --win --x64 --publish never",
    "electron:pack": "npm run build && electron-builder --dir",
    "security": "node scripts/_security-check.cjs",
    "secret-scan": "node scripts/_secret-scan.cjs",
    "secret-scan:ci": "node scripts/_secret-scan.cjs"
  },
  "keywords": [
    "ai",
    "agent",
    "ai-agent",
    "coding",
    "cli",
    "llm",
    "large-language-model",
    "muse-code",
    "autonomous-agent",
    "swe-agent",
    "software-engineering",
    "deepseek",
    "ollama",
    "openai",
    "typescript",
    "rbac",
    "enterprise",
    "multi-tenant",
    "code-generation",
    "test-generation",
    "terminal",
    "developer-tools",
    "productivity",
    "agentic",
    "vibe-coding",
    "code-review",
    "refactor",
    "automation",
    "mcp",
    "tool-use",
    "self-evolving",
    "self-healing",
    "swebench",
    "offline-ai",
    "multi-model",
    "production-ready",
    "enterprise-grade",
    "code-assistant",
    "agentic-ai",
    "prompt-template"
  ],
  "author": "吴赐虹 (晋江市飞虹智科技企业管理有限公司) <wch887292@gmail.com>",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/wch887292/feihong-code.git"
  },
  "homepage": "https://www.klai.top",
  "bugs": {
    "url": "https://github.com/wch887292/feihong-code/issues"
  },
  "engines": {
    "node": ">=22.5.0"
  },
  "funding": {
    "type": "company",
    "url": "https://www.klai.top"
  },
  "devDependencies": {
    "@capacitor/android": "^8.5.0",
    "@capacitor/cli": "^8.5.0",
    "@types/express": "^5.0.6",
    "@types/node": "^26.5.0",
    "electron": "^44.3.0",
    "electron-builder": "^26.15.3",
    "tsx": "^4.23.12",
    "typescript": "^5.6.3",
    "typescript-language-server": "^6.0.0"
  },
  "dependencies": {
    "@capacitor/core": "^8.5.0",
    "@esbuild/win32-x64": "^0.28.2",
    "express": "^4.21.2",
    "monaco-editor": "^0.56.0",
    "playwright-core": "^1.62.1",
    "ws": "^8.22.0",
    "zod": "^4.4.3"
  },
  "optionalDependencies": {
    "@opentelemetry/sdk-node": "^0.213.0",
    "@opentelemetry/exporter-trace-otlp-http": "^0.213.0",
    "@opentelemetry/exporter-logs-otlp-http": "^0.213.0",
    "@opentelemetry/exporter-metrics-otlp-http": "^0.213.0",
    "@opentelemetry/resources": "^2.6.0",
    "@opentelemetry/semantic-conventions": "^1.32.0",
    "@opentelemetry/api": "^1.9.0",
    "@opentelemetry/api-logs": "^0.213.0"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "build": {
    "appId": "com.feihong.code",
    "productName": "飞虹 Code",
    "copyright": "Copyright © 2026 晋江市飞虹智科技企业管理有限公司",
    "directories": {
      "output": "release"
    },
    "files": [
      "electron/**/*",
      "dist/**/*",
      "node_modules/**/*",
      "package.json",
      "!**/*.ts",
      "!**/*.map",
      "!tests/**",
      "!docs/**",
      "!scripts/**",
      "!src/**"
    ],
    "win": {
      "target": [
        {
          "target": "nsis",
          "arch": [
            "x64"
          ]
        },
        {
          "target": "portable",
          "arch": [
            "x64"
          ]
        }
      ],
      "icon": "electron/icon.png"
    },
    "nsis": {
      "oneClick": false,
      "allowToChangeInstallationDirectory": true,
      "createDesktopShortcut": true,
      "createStartMenuShortcut": true,
      "shortcutName": "飞虹 Code"
    },
    "portable": {
      "artifactName": "飞虹Code-Portable-${version}.exe"
    },
    "linux": {
      "target": [
        {
          "target": "AppImage",
          "arch": [
            "x64"
          ]
        },
        {
          "target": "deb",
          "arch": [
            "x64"
          ]
        }
      ],
      "icon": "electron/icon.png",
      "category": "Development",
      "maintainer": "晋江市飞虹智科技企业管理有限公司",
      "synopsis": "飞虹 Code 智能开发平台"
    },
    "mac": {
      "target": [
        {
          "target": "zip",
          "arch": [
            "x64"
          ]
        },
        {
          "target": "dmg",
          "arch": [
            "x64"
          ]
        }
      ],
      "icon": "electron/icon.png",
      "category": "public.app-category.developer-tools"
    }
  },
  "overrides": {
    "dompurify": ">=3.4.13",
    "qs": "6.16.0",
    "uuid": "11.1.1",
    "js-yaml": "4.3.2"
  }
}
