opencode-puter-auth 1.0.52 → 1.0.53

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.
Files changed (2) hide show
  1. package/README.md +37 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -5,6 +5,24 @@
5
5
  [![codecov](https://codecov.io/gh/Mihai-Codes/opencode-puter-auth/graph/badge.svg)](https://codecov.io/gh/Mihai-Codes/opencode-puter-auth)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
7
 
8
+ ## Current Status: API Access Blocked
9
+
10
+ > **Important:** As of January 2026, direct REST API access to Puter's `/drivers/call` endpoint returns HTTP 403 Forbidden. This affects all external integrations, not just this plugin. I'm actively working with the Puter team to resolve this.
11
+
12
+ **What works:**
13
+ - OAuth authentication (login/logout)
14
+ - Account management (multiple accounts, rotation)
15
+ - Token storage and retrieval
16
+
17
+ **What doesn't work yet:**
18
+ - AI model calls (Claude, GPT, Gemini, etc.) - blocked at infrastructure level
19
+
20
+ **Root cause:** Puter's API appears designed for their browser-based Puter.js SDK, which handles app context, origin validation, and their "User-Pays" consent flow. Direct REST API calls from CLI tools bypass this flow and are blocked.
21
+
22
+ **Next steps:** I'm in contact with the Puter team to discuss developer API access options. This README documents the intended functionality once API access is enabled.
23
+
24
+ ---
25
+
8
26
  > Access Claude Opus 4.5, Sonnet 4.5, GPT-5, Gemini, DeepSeek, and 500+ AI models through Puter.com OAuth. Includes 400+ FREE OpenRouter models. No API keys needed - free tier available with undocumented limits.
9
27
 
10
28
  Enable OpenCode to authenticate with [Puter.com](https://puter.com) via OAuth, giving you access to premium AI models through your Puter account. Ideal for app developers using the "User-Pays" model where each user covers their own AI costs.
@@ -688,6 +706,18 @@ The new standalone provider offers:
688
706
 
689
707
  ## Troubleshooting
690
708
 
709
+ ### HTTP 403 Forbidden on all AI requests
710
+
711
+ This is a known issue affecting all users. See [Current Status](#current-status-api-access-blocked) at the top of this README.
712
+
713
+ **Technical details:**
714
+ - Authentication works (`/whoami` returns your user)
715
+ - AI calls fail (`/drivers/call` returns 403)
716
+ - This is NOT geographic - tested from US and EU with same result
717
+ - This is NOT account-specific - affects all accounts
718
+
719
+ I'm working with the Puter team to resolve this. In the meantime, consider using [Antigravity](https://github.com/NoeFabris/opencode-antigravity-auth) or direct API keys for AI access.
720
+
691
721
  ### "usage-limited-chat: Permission denied" or "You have reached your AI usage limit"
692
722
 
693
723
  This means your Puter account has exhausted its free tier credits. Despite Puter's "Free Unlimited" marketing, limits do exist.
@@ -747,10 +777,16 @@ We welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guid
747
777
 
748
778
  Before your first PR can be merged, you'll need to sign our simple Contributor License Agreement (CLA) - just reply to the bot's comment.
749
779
 
780
+ ### Core Maintainer
781
+
782
+ | | |
783
+ |---|---|
784
+ | <a href="https://github.com/chindris-mihai-alexandru"><img src="https://avatars.githubusercontent.com/u/12643176?v=4" width="100px;" alt="Mihai Chindris"/></a> | **[Mihai Chindris](https://github.com/chindris-mihai-alexandru)**<br/>Creator & Lead Maintainer |
785
+
750
786
  ### Contributors
751
787
 
752
788
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
753
- [![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors)
789
+ [![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors)
754
790
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
755
791
 
756
792
  Thanks to these wonderful people:
@@ -761,7 +797,6 @@ Thanks to these wonderful people:
761
797
  <table>
762
798
  <tbody>
763
799
  <tr>
764
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/chindris-mihai-alexandru"><img src="https://avatars.githubusercontent.com/u/12643176?v=4?s=100" width="100px;" alt="Mihai Chindris"/><br /><sub><b>Mihai Chindris</b></sub></a><br /><a href="#code-chindris-mihai-alexandru" title="Code">💻</a> <a href="#doc-chindris-mihai-alexandru" title="Documentation">📖</a> <a href="#maintenance-chindris-mihai-alexandru" title="Maintenance">🚧</a></td>
765
800
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/EldoDebug"><img src="https://avatars.githubusercontent.com/u/75922660?v=4?s=100" width="100px;" alt="EldoDebug"/><br /><sub><b>EldoDebug</b></sub></a><br /><a href="#ideas-EldoDebug" title="Ideas & Feedback">🤔</a></td>
766
801
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/icytz"><img src="https://avatars.githubusercontent.com/u/30925199?v=4?s=100" width="100px;" alt="icytz"/><br /><sub><b>icytz</b></sub></a><br /><a href="#ideas-icytz" title="Ideas & Feedback">🤔</a></td>
767
802
  </tr>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-puter-auth",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "description": "Puter.com OAuth plugin for OpenCode - Easy access to Claude, GPT, Gemini & 500+ AI models. No API keys needed, credit-based usage.",
5
5
  "bin": {
6
6
  "puter-auth": "dist/cli.js"
@@ -75,12 +75,12 @@
75
75
  "typescript": "^5"
76
76
  },
77
77
  "devDependencies": {
78
- "@opencode-ai/plugin": "^1.1.20",
79
- "@types/node": "^25.0.8",
78
+ "@opencode-ai/plugin": "^1.1.28",
79
+ "@types/node": "^25.0.9",
80
80
  "@vitest/coverage-v8": "^4.0.0",
81
81
  "@vitest/ui": "^4.0.0",
82
82
  "msw": "^2.12.7",
83
- "opencode-antigravity-auth": "^1.3.0",
83
+ "opencode-antigravity-auth": "^1.3.1-beta.0",
84
84
  "typescript": "^5.0.0",
85
85
  "vitest": "^4.0.0"
86
86
  },
@@ -88,7 +88,7 @@
88
88
  "@ai-sdk/provider": "^3.0.3",
89
89
  "@ai-sdk/provider-utils": "^4.0.7",
90
90
  "@heyputer/puter.js": "^2.2.5",
91
- "ai": "^6.0.39",
91
+ "ai": "^6.0.43",
92
92
  "open": "^11.0.0",
93
93
  "xdg-basedir": "^5.1.0",
94
94
  "zod": "^4.3.5"