@kamel-ahmed/proxy-claude 1.0.1 → 1.0.2

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@kamel-ahmed/proxy-claude",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Proxy server to use Antigravity's Claude models with Claude Code CLI - run 'proxy-claude' to start",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/cli/setup.js CHANGED
@@ -65,7 +65,7 @@ async function createProxyLauncher() {
65
65
  # proxy-claude - Full CLI for Antigravity Claude Proxy
66
66
  # This script provides complete control over the proxy and Claude Code.
67
67
 
68
- VERSION="1.0.1"
68
+ VERSION="1.0.2"
69
69
  PORT=\${PORT:-${DEFAULT_PORT || 8080}}
70
70
  PROXY_PID=""
71
71
 
package/src/server.js CHANGED
@@ -638,7 +638,7 @@ app.post('/refresh-token', async (req, res) => {
638
638
  app.get('/v1/models', async (req, res) => {
639
639
  try {
640
640
  await ensureInitialized();
641
- const account = accountManager.pickNext();
641
+ const { account } = accountManager.selectAccount();
642
642
  if (!account) {
643
643
  return res.status(503).json({
644
644
  type: 'error',