better-ccflare 1.2.19 → 1.2.20
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/README.md +4 -0
- package/dist/better-ccflare +0 -0
- package/package.json +55 -55
package/README.md
CHANGED
|
@@ -201,6 +201,10 @@ Full documentation available in [`docs/`](docs/):
|
|
|
201
201
|
|
|
202
202
|
Inspired by [snipeship/ccflare](https://github.com/snipeship/ccflare) - thanks for the original idea and implementation!
|
|
203
203
|
|
|
204
|
+
**Special thanks to our contributors:**
|
|
205
|
+
- [@anonym-uz](https://github.com/anonym-uz) - Critical auto-pause bug fix, analytics performance optimizations, request body truncation, and incremental vacuum implementation
|
|
206
|
+
- [@makhweeb](https://github.com/makhweeb) - Enhanced request handling and analytics improvements
|
|
207
|
+
|
|
204
208
|
## Contributing
|
|
205
209
|
|
|
206
210
|
We welcome contributions! See [CONTRIBUTING.md](docs/contributing.md) for guidelines.
|
package/dist/better-ccflare
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
2
|
+
"name": "better-ccflare",
|
|
3
|
+
"version": "1.2.20",
|
|
4
|
+
"description": "Load balancer proxy for Claude API with intelligent distribution across multiple OAuth accounts to avoid rate limiting",
|
|
5
|
+
"author": "snipeship",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/tombii/better-ccflare.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/tombii/better-ccflare#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/tombii/better-ccflare/issues"
|
|
14
|
+
},
|
|
15
|
+
"bin": {
|
|
16
|
+
"better-ccflare": "dist/better-ccflare"
|
|
17
|
+
},
|
|
18
|
+
"type": "module",
|
|
19
|
+
"scripts": {
|
|
20
|
+
"dev": "bun run src/main.ts",
|
|
21
|
+
"build": "mkdir -p dist && BETTER_CCFLARE_VERSION=$(node -p \"require('./package.json').version\") bun build ../../packages/proxy/src/post-processor.worker.ts --outfile dist/post-processor.worker.js --target=bun --minify && bun -e \"const fs=require('fs'); const code=fs.readFileSync('dist/post-processor.worker.js','utf8'); const encoded=Buffer.from(code).toString('base64'); fs.writeFileSync('../../packages/proxy/src/inline-worker.ts', 'export const EMBEDDED_WORKER_CODE = \\\"' + encoded + '\\\";');\" && bun build src/main.ts --compile --outfile dist/better-ccflare --target=bun --minify --define process.env.BETTER_CCFLARE_VERSION='\"'$BETTER_CCFLARE_VERSION'\"' && rm -f dist/post-processor.worker.js",
|
|
22
|
+
"prepublishOnly": "cp ../../README.md . && bun run build && jq 'del(.devDependencies[\"@better-ccflare/tui-core\", \"@better-ccflare/ui-common\", \"@better-ccflare/database\", \"@better-ccflare/core-di\", \"@better-ccflare/config\", \"@better-ccflare/logger\", \"@better-ccflare/server\"])' package.json > package.json.tmp && mv package.json.tmp package.json",
|
|
23
|
+
"postpublish": "chmod +x dist/better-ccflare"
|
|
24
|
+
},
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=18.0.0"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"ink": "^6.0.0",
|
|
30
|
+
"ink-select-input": "^6.0.0",
|
|
31
|
+
"ink-spinner": "^5.0.0",
|
|
32
|
+
"ink-text-input": "^6.0.0",
|
|
33
|
+
"react": "^19.0.0",
|
|
34
|
+
"@types/react": "^19.0.0",
|
|
35
|
+
"@types/node": "^20.0.0"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist/better-ccflare",
|
|
39
|
+
"README.md"
|
|
40
|
+
],
|
|
41
|
+
"keywords": [
|
|
42
|
+
"claude",
|
|
43
|
+
"anthropic",
|
|
44
|
+
"api",
|
|
45
|
+
"proxy",
|
|
46
|
+
"load-balancer",
|
|
47
|
+
"rate-limiting",
|
|
48
|
+
"oauth",
|
|
49
|
+
"cli",
|
|
50
|
+
"tui",
|
|
51
|
+
"analytics",
|
|
52
|
+
"monitoring"
|
|
53
|
+
],
|
|
54
|
+
"publishConfig": {
|
|
55
|
+
"access": "public"
|
|
56
|
+
}
|
|
57
57
|
}
|