better-ccflare 1.2.31 → 1.2.32

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 CHANGED
@@ -79,9 +79,9 @@ Download the appropriate binary for your platform from [GitHub Releases](https:/
79
79
 
80
80
  #### Linux x86_64
81
81
  ```bash
82
- wget https://github.com/tombii/better-ccflare/releases/latest/download/better-ccflare-linux-x64
83
- chmod +x better-ccflare-linux-x64
84
- ./better-ccflare-linux-x64
82
+ wget https://github.com/tombii/better-ccflare/releases/latest/download/better-ccflare-linux-amd64
83
+ chmod +x better-ccflare-linux-amd64
84
+ ./better-ccflare-linux-amd64
85
85
  ```
86
86
 
87
87
  #### Linux ARM64 (Raspberry Pi 3/4/5, Oracle Cloud ARM, AWS Graviton)
@@ -93,9 +93,9 @@ chmod +x better-ccflare-linux-arm64
93
93
 
94
94
  #### macOS Intel
95
95
  ```bash
96
- curl -L -o better-ccflare-macos-x64 https://github.com/tombii/better-ccflare/releases/latest/download/better-ccflare-macos-x64
97
- chmod +x better-ccflare-macos-x64
98
- ./better-ccflare-macos-x64
96
+ curl -L -o better-ccflare-macos-x86_64 https://github.com/tombii/better-ccflare/releases/latest/download/better-ccflare-macos-x86_64
97
+ chmod +x better-ccflare-macos-x86_64
98
+ ./better-ccflare-macos-x86_64
99
99
  ```
100
100
 
101
101
  #### macOS Apple Silicon
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-ccflare",
3
- "version": "1.2.31",
3
+ "version": "1.2.32",
4
4
  "description": "Load balancer proxy for Claude API with intelligent distribution across multiple OAuth accounts to avoid rate limiting",
5
5
  "author": "snipeship",
6
6
  "license": "MIT",
@@ -20,9 +20,9 @@
20
20
  "dev": "bun run src/main.ts",
21
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
22
  "build:multi": "bun run build-multi-arch.ts",
23
- "build:linux-x64": "bun run build && bun build src/main.ts --compile --outfile dist/better-ccflare-linux-x64 --target=bun-linux-x64 --minify",
23
+ "build:linux-amd64": "bun run build && bun build src/main.ts --compile --outfile dist/better-ccflare-linux-amd64 --target=bun-linux-amd64 --minify",
24
24
  "build:linux-arm64": "bun run build && bun build src/main.ts --compile --outfile dist/better-ccflare-linux-arm64 --target=bun-linux-arm64 --minify",
25
- "build:macos-x64": "bun run build && bun build src/main.ts --compile --outfile dist/better-ccflare-macos-x64 --target=bun-darwin-x64 --minify",
25
+ "build:macos-x86_64": "bun run build && bun build src/main.ts --compile --outfile dist/better-ccflare-macos-x86_64 --target=bun-darwin-x64 --minify",
26
26
  "build:macos-arm64": "bun run build && bun build src/main.ts --compile --outfile dist/better-ccflare-macos-arm64 --target=bun-darwin-arm64 --minify",
27
27
  "build:windows-x64": "bun run build && bun build src/main.ts --compile --outfile dist/better-ccflare-windows-x64.exe --target=bun-windows-x64 --minify",
28
28
  "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",