61 lines
1.7 KiB
JSON
61 lines
1.7 KiB
JSON
{
|
|
"name": "qwen-gate",
|
|
"version": "0.4.0",
|
|
"description": "OpenAI-compatible API gateway for Qwen models — drop-in replacement for /v1/chat/completions with multi-account rotation, tool calling, streaming SSE, and web dashboard",
|
|
"main": "index.js",
|
|
"bin": {
|
|
"qg": "./bin/qg",
|
|
"qwengate": "./bin/qg",
|
|
"qwen-gate": "./bin/qg"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "node scripts/setup.js || exit 0",
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"start": "node --import tsx src/index.tsx",
|
|
"start:prod": "node dist/index.js",
|
|
"dev": "node --import tsx src/index.tsx",
|
|
"start:firefox": "node --import tsx src/index.tsx --browser=firefox",
|
|
"start:chrome": "node --import tsx src/index.tsx --browser=chrome",
|
|
"start:edge": "node --import tsx src/index.tsx --browser=edge",
|
|
"setup": "node scripts/setup.js",
|
|
"test": "tsx --test src/**/*.test.ts",
|
|
"test:coverage": "node --experimental-test-coverage --import tsx src/**/*.test.ts",
|
|
"husky-init": "npx husky init",
|
|
"qg": "tsx src/cli.ts",
|
|
"qg:restart": "tsx src/cli.ts restart"
|
|
},
|
|
"keywords": [
|
|
"qwen",
|
|
"api-gateway",
|
|
"openai-compatible",
|
|
"playwright",
|
|
"hono",
|
|
"typescript",
|
|
"sse",
|
|
"tool-calling",
|
|
"multi-account",
|
|
"browser-automation",
|
|
"proxy",
|
|
"llm-gateway",
|
|
"openai-proxy",
|
|
"qwen-ai",
|
|
"chat-completions",
|
|
"function-calling"
|
|
],
|
|
"author": "Youssef Adel",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@hono/node-server": "^2.0.3",
|
|
"cloakbrowser": "^0.3.31",
|
|
"dotenv": "^16.6.1",
|
|
"hono": "^4.12.21",
|
|
"playwright": "^1.60.0",
|
|
"tsx": "^4.22.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.9.1",
|
|
"typescript": "^6.0.3"
|
|
},
|
|
"type": "module"
|
|
}
|