Skip to content

Add support for public patch API proxy - #9

Merged
Mikola Lysenko (mikolalysenko) merged 2 commits into
mainfrom
feature/public-patch-proxy-support
Dec 10, 2025
Merged

Mikola Lysenko (mikolalysenko) merged 2 commits into
mainfrom
feature/public-patch-proxy-support

Conversation

@mikolalysenko

Copy link
Copy Markdown
Collaborator

When SOCKET_API_TOKEN is not set, the CLI now automatically uses the public patch API proxy (patch-api.socket.dev) to access free patches without authentication.

Changes:

  • APIClient now supports optional authentication for public proxy mode
  • getAPIClientFromEnv() returns { client, usePublicProxy } tuple
  • --org is now optional when using the public proxy
  • Updated examples to show no-auth usage first

🤖 Generated with Claude Code

When SOCKET_API_TOKEN is not set, the CLI now automatically uses
the public patch API proxy (patch-api.socket.dev) to access free
patches without authentication.

Changes:
- APIClient now supports optional authentication for public proxy mode
- getAPIClientFromEnv() returns { client, usePublicProxy } tuple
- --org is now optional when using the public proxy
- Updated examples to show no-auth usage first

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@mikolalysenko
Mikola Lysenko (mikolalysenko) merged commit a5b65c1 into main Dec 10, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant