UNPKG

route-claudecode

Version:

Advanced routing and transformation system for Claude Code outputs to multiple AI providers

79 lines (78 loc) 2.26 kB
{ "name": "route-claudecode", "version": "2.8.1", "description": "Advanced routing and transformation system for Claude Code outputs to multiple AI providers", "bin": { "rcc": "./dist/cli.js" }, "main": "./dist/cli.js", "scripts": { "build": "tsc && esbuild src/cli.ts --bundle --platform=node --outfile=dist/cli.js --external:tiktoken --external:@anthropic-ai/sdk --external:@google/genai --banner:js=\"#!/usr/bin/env node\" && esbuild src/cli/dynamic-model-cli.ts --bundle --platform=node --outfile=dist/dynamic-model-cli.js --external:tiktoken --external:@anthropic-ai/sdk --external:@google/genai --banner:js=\"#!/usr/bin/env node\"", "dev": "tsx src/cli.ts", "test": "jest", "test:watch": "jest --watch", "clean": "rm -rf dist/", "prebuild": "npm run clean", "release": "npm run build && npm publish", "migrate": "node migrate-config.js", "dynamic-model": "node dist/dynamic-model-cli.js" }, "keywords": [ "claude", "code", "router", "llm", "anthropic", "codewhisperer", "openai", "multi-provider" ], "author": "Jason Zhang", "license": "MIT", "dependencies": { "@anthropic-ai/sdk": "^0.30.1", "@google/genai": "^1.12.0", "axios": "^1.7.9", "chalk": "^5.3.0", "commander": "^12.1.0", "dotenv": "^16.4.7", "express": "^5.1.0", "fastify": "^5.4.0", "http-proxy-middleware": "^3.0.5", "json5": "^2.2.3", "module-alias": "^2.2.3", "tiktoken": "^1.0.21", "uuid": "^11.1.0" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^20.14.9", "@types/uuid": "^10.0.0", "esbuild": "^0.25.1", "eventsource": "^4.0.0", "jest": "^29.7.0", "ts-jest": "^29.4.0", "tsx": "^4.19.2", "typescript": "^5.8.2" }, "files": [ "dist/", "public/", "README.md", "LICENSE", "config.sample.json", "rcc-daemon.sh", "rcc-daemon.ps1" ], "repository": { "type": "git", "url": "https://github.com/fanzhang16/claude-code-router.git" }, "homepage": "https://github.com/fanzhang16/claude-code-router#readme", "bugs": { "url": "https://github.com/fanzhang16/claude-code-router/issues" }, "engines": { "node": ">=16.0.0" } }