heibaiapi 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,68 +1,68 @@
1
- {
2
- "name": "heibaiapi",
3
- "version": "0.6.1",
4
- "description": "Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!",
5
- "keywords": [
6
- "proxy",
7
- "github-copilot",
8
- "openai-compatible"
9
- ],
10
- "homepage": "https://github.com/ericc-ch/copilot-api",
11
- "bugs": "https://github.com/ericc-ch/copilot-api/issues",
12
- "repository": {
13
- "type": "git",
14
- "url": "git+https://github.com/ericc-ch/copilot-api.git"
15
- },
16
- "author": "Erick Christian <erickchristian48@gmail.com>",
17
- "type": "module",
18
- "bin": {
19
- "heibaiapi": "./dist/main.js"
20
- },
21
- "files": [
22
- "dist"
23
- ],
24
- "scripts": {
25
- "build": "tsdown",
26
- "dev": "bun run --watch ./src/main.ts",
27
- "knip": "knip-bun",
28
- "lint": "eslint --cache",
29
- "lint:all": "eslint --cache .",
30
- "prepack": "bun run build",
31
- "prepare": "simple-git-hooks",
32
- "release": "bumpp && bun publish --access public",
33
- "start": "NODE_ENV=production bun run ./src/main.ts",
34
- "typecheck": "tsc"
35
- },
36
- "simple-git-hooks": {
37
- "pre-commit": "bunx lint-staged"
38
- },
39
- "lint-staged": {
40
- "*": "bun run lint --fix"
41
- },
42
- "dependencies": {
43
- "citty": "^0.1.6",
44
- "clipboardy": "^5.0.0",
45
- "consola": "^3.4.2",
46
- "fetch-event-stream": "^0.1.5",
47
- "gpt-tokenizer": "^3.0.1",
48
- "hono": "^4.9.9",
49
- "proxy-from-env": "^1.1.0",
50
- "srvx": "^0.8.9",
51
- "tiny-invariant": "^1.3.3",
52
- "undici": "^7.16.0",
53
- "zod": "^4.1.11"
54
- },
55
- "devDependencies": {
56
- "@echristian/eslint-config": "^0.0.54",
57
- "@types/bun": "^1.2.23",
58
- "@types/proxy-from-env": "^1.0.4",
59
- "bumpp": "^10.2.3",
60
- "eslint": "^9.37.0",
61
- "knip": "^5.64.1",
62
- "lint-staged": "^16.2.3",
63
- "prettier-plugin-packagejson": "^2.5.19",
64
- "simple-git-hooks": "^2.13.1",
65
- "tsdown": "^0.15.6",
66
- "typescript": "^5.9.3"
67
- }
68
- }
1
+ {
2
+ "name": "heibaiapi",
3
+ "version": "0.7.0",
4
+ "description": "Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!",
5
+ "keywords": [
6
+ "proxy",
7
+ "github-copilot",
8
+ "openai-compatible"
9
+ ],
10
+ "homepage": "https://github.com/ericc-ch/copilot-api",
11
+ "bugs": "https://github.com/ericc-ch/copilot-api/issues",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/ericc-ch/copilot-api.git"
15
+ },
16
+ "author": "Erick Christian <erickchristian48@gmail.com>",
17
+ "type": "module",
18
+ "bin": {
19
+ "copilot-api": "./dist/main.js"
20
+ },
21
+ "files": [
22
+ "dist"
23
+ ],
24
+ "scripts": {
25
+ "build": "tsdown",
26
+ "dev": "bun run --watch ./src/main.ts",
27
+ "knip": "knip-bun",
28
+ "lint": "eslint --cache",
29
+ "lint:all": "eslint --cache .",
30
+ "prepack": "bun run build",
31
+ "prepare": "simple-git-hooks",
32
+ "release": "bumpp && bun publish --access public",
33
+ "start": "NODE_ENV=production bun run ./src/main.ts",
34
+ "typecheck": "tsc"
35
+ },
36
+ "simple-git-hooks": {
37
+ "pre-commit": "bunx lint-staged"
38
+ },
39
+ "lint-staged": {
40
+ "*": "bun run lint --fix"
41
+ },
42
+ "dependencies": {
43
+ "citty": "^0.1.6",
44
+ "clipboardy": "^5.0.0",
45
+ "consola": "^3.4.2",
46
+ "fetch-event-stream": "^0.1.5",
47
+ "gpt-tokenizer": "^3.0.1",
48
+ "hono": "^4.9.9",
49
+ "proxy-from-env": "^1.1.0",
50
+ "srvx": "^0.8.9",
51
+ "tiny-invariant": "^1.3.3",
52
+ "undici": "^7.16.0",
53
+ "zod": "^4.1.11"
54
+ },
55
+ "devDependencies": {
56
+ "@echristian/eslint-config": "^0.0.54",
57
+ "@types/bun": "^1.2.23",
58
+ "@types/proxy-from-env": "^1.0.4",
59
+ "bumpp": "^10.2.3",
60
+ "eslint": "^9.37.0",
61
+ "knip": "^5.64.1",
62
+ "lint-staged": "^16.2.3",
63
+ "prettier-plugin-packagejson": "^2.5.19",
64
+ "simple-git-hooks": "^2.13.1",
65
+ "tsdown": "^0.15.6",
66
+ "typescript": "^5.9.3"
67
+ }
68
+ }