copilot-proxy-api
Version:
Self-hosted GitHub Copilot bridge for Claude Code and Codex CLI with OpenAI Responses, Anthropic Messages, streaming resilience, and context management.
76 lines (75 loc) • 2.14 kB
JSON
{
"name": "copilot-proxy-api",
"version": "0.10.28",
"description": "Self-hosted GitHub Copilot bridge for Claude Code and Codex CLI with OpenAI Responses, Anthropic Messages, streaming resilience, and context management.",
"keywords": [
"proxy",
"github-copilot",
"openai-compatible",
"anthropic-compatible",
"codex",
"claude-code"
],
"homepage": "https://github.com/voidsteed/copilot-proxy-api",
"bugs": "https://github.com/voidsteed/copilot-proxy-api/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/voidsteed/copilot-proxy-api.git"
},
"author": "Yujun Liu <dreamzack@gmail.com>",
"type": "module",
"bin": {
"copilot-proxy-api": "./dist/main.mjs"
},
"files": [
"dist"
],
"scripts": {
"build": "tsdown",
"dev": "bun run --watch ./src/main.ts",
"knip": "knip-bun",
"lint": "eslint --cache",
"lint:all": "eslint --cache .",
"prepack": "bun run build",
"prepare": "bunx simple-git-hooks",
"release": "bun run verify && bumpp && bun publish --access public",
"start": "NODE_ENV=production bun run ./src/main.ts",
"test": "bun test tests/",
"typecheck": "tsc",
"verify": "bun run typecheck && bun run lint && bun test tests/"
},
"simple-git-hooks": {
"pre-commit": "bunx lint-staged"
},
"lint-staged": {
"*": "bun run lint --fix"
},
"dependencies": {
"citty": "^0.2.2",
"clipboardy": "^5.3.1",
"consola": "^3.4.2",
"fetch-event-stream": "^0.1.6",
"gpt-tokenizer": "^3.4.0",
"hono": "^4.12.12",
"pdf-parse": "^2.4.5",
"proxy-from-env": "^2.1.0",
"srvx": "^0.8.9",
"tiny-invariant": "^1.3.3",
"undici": "^7.16.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@echristian/eslint-config": "^0.0.54",
"@types/bun": "^1.3.11",
"@types/pdf-parse": "^1.1.5",
"@types/proxy-from-env": "^1.0.4",
"bumpp": "^11.0.1",
"eslint": "9",
"knip": "^6.3.0",
"lint-staged": "^16.4.0",
"prettier-plugin-packagejson": "^2.5.19",
"simple-git-hooks": "^2.13.1",
"tsdown": "^0.21.7",
"typescript": "^5.9.3"
}
}