opencode-aicodewith-auth 0.1.47 → 0.1.48

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/dist/index.js +3 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -970,6 +970,9 @@ function transformClaudeResponse(response) {
970
970
  if (!response.body) {
971
971
  return response;
972
972
  }
973
+ if (!response.ok) {
974
+ return response;
975
+ }
973
976
  const reader = response.body.getReader();
974
977
  const decoder = new TextDecoder;
975
978
  const encoder = new TextEncoder;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-aicodewith-auth",
3
- "version": "0.1.47",
3
+ "version": "0.1.48",
4
4
  "description": "OpenCode plugin for AICodewith authentication - Access GPT-5.3 Codex, GPT-5.2, Claude, and Gemini models through AICodewith API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",