basant307/AI_Governance_Project
045
1{2 "name": "@qwen-code/qwen-code",3 "version": "0.19.7",4 "engines": {5 "node": ">=22.0.0"6 },7 "type": "module",8 "workspaces": [9 "packages/*",10 "packages/channels/base",11 "packages/channels/telegram",12 "packages/channels/weixin",13 "packages/channels/dingtalk",14 "packages/channels/wecom",15 "packages/channels/feishu",16 "packages/channels/qqbot",17 "packages/channels/plugin-example",18 "!packages/desktop"19 ],20 "repository": {21 "type": "git",22 "url": "git+https://github.com/QwenLM/qwen-code.git"23 },24 "config": {25 "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.19.7"26 },27 "scripts": {28 "start": "node scripts/start.js",29 "dev": "node scripts/dev.js",30 "dev:daemon": "node scripts/daemon-dev.js",31 "debug": "cross-env DEBUG=1 node --inspect-brk scripts/start.js",32 "generate": "node scripts/generate-git-commit-info.js",33 "generate:settings-schema": "node --import tsx/esm scripts/generate-settings-schema.ts",34 "build": "cross-env NODE_OPTIONS=\"--max-old-space-size=3072\" node scripts/build.js",35 "build-and-start": "npm run build && npm run start",36 "build:vscode": "node scripts/build_vscode_companion.js",37 "build:all": "npm run build && npm run build:sandbox && npm run build:vscode",38 "build:packages": "npm run build --workspaces",39 "build:sandbox": "node scripts/build_sandbox.js",40 "bundle": "npm run generate && node esbuild.config.js && node scripts/copy_bundle_assets.js",41 "test": "cross-env NODE_OPTIONS=\"--max-old-space-size=3072\" npm run test --workspaces --if-present --parallel",42 "test:ci": "cross-env NODE_OPTIONS=\"--max-old-space-size=3072\" npm run test:ci --workspaces --if-present --parallel && npm run test:scripts",43 "test:release": "cross-env NODE_OPTIONS=\"--max-old-space-size=3072\" npm run test:ci --workspaces --if-present --parallel -- --coverage.enabled=false && npm run test:scripts",44 "test:scripts": "vitest run --config ./scripts/tests/vitest.config.ts",45 "test:e2e": "cross-env VERBOSE=true KEEP_OUTPUT=true npm run test:integration:sandbox:none",46 "test:integration:all": "npm run test:integration:sandbox:none && npm run test:integration:sandbox:docker && npm run test:integration:sandbox:podman",47 "test:integration:sandbox:none": "cross-env QWEN_SANDBOX=false vitest run --root ./integration-tests",48 "test:integration:sandbox:docker": "cross-env QWEN_SANDBOX=docker npm run build:sandbox && QWEN_SANDBOX=docker vitest run --root ./integration-tests",49 "test:integration:sandbox:podman": "cross-env QWEN_SANDBOX=podman vitest run --root ./integration-tests",50 "test:integration:no-ak:sandbox:none": "cross-env QWEN_SANDBOX=false vitest run --root ./integration-tests ./fake-openai-server.test.ts ./cli/qwen-serve-routes.test.ts ./cli/qwen-serve-streaming.test.ts",51 "test:integration:sdk:sandbox:none": "cross-env QWEN_SANDBOX=false vitest run --root ./integration-tests --poolOptions.threads.maxThreads 2 sdk-typescript",52 "test:integration:sdk:sandbox:docker": "cross-env QWEN_SANDBOX=docker npm run build:sandbox && QWEN_SANDBOX=docker vitest run --root ./integration-tests --poolOptions.threads.maxThreads 2 sdk-typescript",53 "test:sdk:python": "python3 -m pytest -c packages/sdk-python/pyproject.toml packages/sdk-python/tests -q",54 "test:integration:cli:sandbox:none": "cross-env QWEN_SANDBOX=false vitest run --root ./integration-tests cli",55 "test:integration:cli:sandbox:docker": "cross-env QWEN_SANDBOX=docker npm run build:sandbox && QWEN_SANDBOX=docker vitest run --root ./integration-tests cli",56 "test:integration:interactive:sandbox:none": "cross-env QWEN_SANDBOX=false vitest run --root ./integration-tests interactive",57 "test:integration:interactive:sandbox:docker": "cross-env QWEN_SANDBOX=docker npm run build:sandbox && QWEN_SANDBOX=docker vitest run --root ./integration-tests interactive",58 "test:terminal-bench": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --config ./vitest.terminal-bench.config.ts --root ./integration-tests",59 "test:terminal-bench:oracle": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --config ./vitest.terminal-bench.config.ts --root ./integration-tests -t 'oracle'",60 "test:terminal-bench:qwen": "cross-env VERBOSE=true KEEP_OUTPUT=true vitest run --config ./vitest.terminal-bench.config.ts --root ./integration-tests -t 'qwen'",61 "lint": "eslint . --ext .ts,.tsx && eslint integration-tests",62 "lint:fix": "eslint . --fix && eslint integration-tests --fix",63 "lint:ci": "eslint . --ext .ts,.tsx --max-warnings 0 && eslint integration-tests --max-warnings 0",64 "lint:sdk:python": "python3 -m ruff check --config packages/sdk-python/pyproject.toml packages/sdk-python",65 "lint:all": "node scripts/lint.js",66 "audit:runtime:critical": "npm audit --omit=dev --audit-level=critical",67 "format": "prettier --experimental-cli --write .",68 "typecheck": "npm run typecheck --workspaces --if-present",69 "typecheck:sdk:python": "python3 -m mypy --config-file packages/sdk-python/pyproject.toml packages/sdk-python/src",70 "smoke:sdk:python": "python3 packages/sdk-python/scripts/smoke_real.py",71 "build:sdk:python": "python3 -m build packages/sdk-python",72 "check-i18n": "npm run check-i18n --workspace=packages/cli",73 "preflight": "npm run clean && npm ci && npm run format && npm run lint:ci && npm run build && npm run typecheck && npm run test:ci && npm run check:serve-fast-path-bundle",74 "postinstall": "patch-package",75 "prepare": "node scripts/prepare.js",76 "prepare:package": "node scripts/prepare-package.js",77 "package:hosted-installation": "node scripts/build-hosted-installation-assets.js",78 "package:standalone": "node scripts/create-standalone-package.js",79 "package:standalone:release": "node scripts/build-standalone-release.js",80 "verify:installation-release": "node scripts/verify-installation-release.js",81 "release:version": "node scripts/version.js",82 "changelog": "node scripts/generate-changelog.js",83 "telemetry": "node scripts/telemetry.js",84 "check:lockfile": "node scripts/check-lockfile.js",85 "check:desktop-isolation": "node scripts/check-desktop-isolation.js",86 "check:serve-fast-path-bundle": "npm run build -- --cli-only && cross-env DEV=true npm run bundle && node scripts/check-serve-fast-path-bundle.js",87 "desktop-openwork-sync": "bun run scripts/desktop-openwork-sync.ts",88 "clean": "node scripts/clean.js",89 "pre-commit": "node scripts/pre-commit.js"90 },91 "overrides": {92 "ansi-regex": "6.2.2",93 "cliui": {94 "wrap-ansi": "7.0.0"95 },96 "baseline-browser-mapping": "^2.9.19",97 "normalize-package-data": "^7.0.1",98 "react": "^19.2.4",99 "react-dom": "^19.2.4",100 "@types/react": "^19.2.0",101 "@types/react-dom": "^19.2.0"102 },103 "bin": {104 "qwen": "scripts/cli-entry.js"105 },106 "files": [107 "dist/",108 "scripts/cli-entry.js",109 "README.md",110 "LICENSE"111 ],112 "devDependencies": {113 "@types/chrome": "^0.1.32",114 "@types/marked": "^5.0.2",115 "@types/mime-types": "^3.0.1",116 "@types/minimatch": "^5.1.2",117 "@types/mock-fs": "^4.13.4",118 "@types/proper-lockfile": "^4.1.4",119 "@types/shell-quote": "^1.7.5",120 "@types/uuid": "^10.0.0",121 "@vitest/coverage-v8": "^3.1.1",122 "@vitest/eslint-plugin": "^1.3.4",123 "@xterm/headless": "^5.5.0",124 "@xterm/xterm": "^6.0.0",125 "cross-env": "^7.0.3",126 "esbuild": "^0.25.0",127 "esbuild-plugin-wasm": "^1.1.0",128 "eslint": "^9.24.0",129 "eslint-config-prettier": "^10.1.2",130 "eslint-plugin-check-file": "^3.3.1",131 "eslint-plugin-import": "^2.31.0",132 "eslint-plugin-license-header": "^0.8.0",133 "eslint-plugin-react": "^7.37.5",134 "eslint-plugin-react-hooks": "^5.2.0",135 "glob": "^10.5.0",136 "globals": "^16.0.0",137 "husky": "^9.1.7",138 "json": "^11.0.0",139 "lint-staged": "^16.1.6",140 "memfs": "^4.42.0",141 "mnemonist": "^0.40.3",142 "mock-fs": "^5.5.0",143 "msw": "^2.10.4",144 "npm-run-all": "^4.1.5",145 "patch-package": "^8.0.1",146 "prettier": "^3.5.3",147 "react-devtools-core": "^6.1.5",148 "semver": "^7.7.2",149 "strip-ansi": "^7.1.2",150 "tsx": "^4.20.3",151 "typescript-eslint": "^8.30.1",152 "vitest": "^3.2.4",153 "yargs": "^17.7.2"154 },155 "dependencies": {156 "@testing-library/dom": "^10.4.1",157 "ink": "^7.0.3",158 "simple-git": "^3.36.0"159 },160 "optionalDependencies": {161 "@lydell/node-pty": "1.2.0-beta.10",162 "@lydell/node-pty-darwin-arm64": "1.2.0-beta.10",163 "@lydell/node-pty-darwin-x64": "1.2.0-beta.10",164 "@lydell/node-pty-linux-x64": "1.2.0-beta.10",165 "@lydell/node-pty-win32-arm64": "1.2.0-beta.10",166 "@lydell/node-pty-win32-x64": "1.2.0-beta.10"167 },168 "lint-staged": {169 "*.{js,jsx,ts,tsx}": [170 "prettier --write",171 "eslint --fix --max-warnings 0 --no-warn-ignored"172 ],173 "*.{json,md}": [174 "prettier --write"175 ]176 }177}178 