opencode-qwen-cli-auth 1.0.1 → 1.0.3

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 +0 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -161,15 +161,6 @@ export const QwenAuthPlugin = async (_input) => {
161
161
  },
162
162
  ],
163
163
  },
164
- /**
165
- * Them header X-DashScope-AuthType cho Portal API (OAuth)
166
- * CLI goc gui header nay de server nhan biet auth method
167
- */
168
- "chat.headers": async (input, output) => {
169
- if (input.provider?.info?.id === PROVIDER_ID) {
170
- output.headers["X-DashScope-AuthType"] = "qwen-oauth";
171
- }
172
- },
173
164
  };
174
165
  };
175
166
  export default QwenAuthPlugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-qwen-cli-auth",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Alibaba Qwen OAuth authentication plugin for opencode - use your Qwen account instead of API keys",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",