@jcanizalez7/clauxy 0.2.8 → 0.2.10
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/dist/cli.js +13 -16
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -296,11 +296,10 @@ class CopilotProvider {
|
|
|
296
296
|
return this.models;
|
|
297
297
|
}
|
|
298
298
|
async authenticate() {
|
|
299
|
-
console.log(
|
|
300
|
-
|
|
301
|
-
console.log("
|
|
302
|
-
console.log(
|
|
303
|
-
`);
|
|
299
|
+
console.log("");
|
|
300
|
+
console.log(" GitHub Copilot - Device Authorization");
|
|
301
|
+
console.log(" " + "-".repeat(41));
|
|
302
|
+
console.log("");
|
|
304
303
|
try {
|
|
305
304
|
const deviceResponse = await fetch("https://github.com/login/device/code", {
|
|
306
305
|
method: "POST",
|
|
@@ -604,11 +603,10 @@ class ChatGPTProvider {
|
|
|
604
603
|
return this.models;
|
|
605
604
|
}
|
|
606
605
|
async authenticate() {
|
|
607
|
-
console.log(
|
|
608
|
-
|
|
609
|
-
console.log("
|
|
610
|
-
console.log(
|
|
611
|
-
`);
|
|
606
|
+
console.log("");
|
|
607
|
+
console.log(" ChatGPT Plus/Pro - OAuth Authentication");
|
|
608
|
+
console.log(" " + "-".repeat(41));
|
|
609
|
+
console.log("");
|
|
612
610
|
try {
|
|
613
611
|
const pkce = generatePKCE();
|
|
614
612
|
const state = createState();
|
|
@@ -847,11 +845,10 @@ class GoogleProvider {
|
|
|
847
845
|
return this.models;
|
|
848
846
|
}
|
|
849
847
|
async authenticate() {
|
|
850
|
-
console.log(
|
|
851
|
-
|
|
852
|
-
console.log("
|
|
853
|
-
console.log(
|
|
854
|
-
`);
|
|
848
|
+
console.log("");
|
|
849
|
+
console.log(" Google Gemini - OAuth Authentication");
|
|
850
|
+
console.log(" " + "-".repeat(38));
|
|
851
|
+
console.log("");
|
|
855
852
|
try {
|
|
856
853
|
const pkce = generatePKCE2();
|
|
857
854
|
const state = Buffer.from(JSON.stringify({ verifier: pkce.verifier })).toString("base64url");
|
|
@@ -2827,7 +2824,7 @@ Models configured:`);
|
|
|
2827
2824
|
// package.json
|
|
2828
2825
|
var package_default = {
|
|
2829
2826
|
name: "@jcanizalez7/clauxy",
|
|
2830
|
-
version: "0.2.
|
|
2827
|
+
version: "0.2.10",
|
|
2831
2828
|
description: "Multi-provider AI proxy for Claude Code (GitHub Copilot, ChatGPT Plus, Google Gemini)",
|
|
2832
2829
|
type: "module",
|
|
2833
2830
|
bin: {
|