@jcanizalez7/clauxy 0.2.9 → 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 -25
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -296,14 +296,10 @@ class CopilotProvider {
|
|
|
296
296
|
return this.models;
|
|
297
297
|
}
|
|
298
298
|
async authenticate() {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
console.log(
|
|
303
|
-
${TOP}`);
|
|
304
|
-
console.log(`${SIDE} GitHub Copilot - Device Authorization ${SIDE}`);
|
|
305
|
-
console.log(`${BOT}
|
|
306
|
-
`);
|
|
299
|
+
console.log("");
|
|
300
|
+
console.log(" GitHub Copilot - Device Authorization");
|
|
301
|
+
console.log(" " + "-".repeat(41));
|
|
302
|
+
console.log("");
|
|
307
303
|
try {
|
|
308
304
|
const deviceResponse = await fetch("https://github.com/login/device/code", {
|
|
309
305
|
method: "POST",
|
|
@@ -607,14 +603,10 @@ class ChatGPTProvider {
|
|
|
607
603
|
return this.models;
|
|
608
604
|
}
|
|
609
605
|
async authenticate() {
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
console.log(
|
|
614
|
-
${TOP}`);
|
|
615
|
-
console.log(`${SIDE} ChatGPT Plus/Pro - OAuth Authentication ${SIDE}`);
|
|
616
|
-
console.log(`${BOT}
|
|
617
|
-
`);
|
|
606
|
+
console.log("");
|
|
607
|
+
console.log(" ChatGPT Plus/Pro - OAuth Authentication");
|
|
608
|
+
console.log(" " + "-".repeat(41));
|
|
609
|
+
console.log("");
|
|
618
610
|
try {
|
|
619
611
|
const pkce = generatePKCE();
|
|
620
612
|
const state = createState();
|
|
@@ -853,14 +845,10 @@ class GoogleProvider {
|
|
|
853
845
|
return this.models;
|
|
854
846
|
}
|
|
855
847
|
async authenticate() {
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
console.log(
|
|
860
|
-
${TOP}`);
|
|
861
|
-
console.log(`${SIDE} Google Gemini - OAuth Authentication ${SIDE}`);
|
|
862
|
-
console.log(`${BOT}
|
|
863
|
-
`);
|
|
848
|
+
console.log("");
|
|
849
|
+
console.log(" Google Gemini - OAuth Authentication");
|
|
850
|
+
console.log(" " + "-".repeat(38));
|
|
851
|
+
console.log("");
|
|
864
852
|
try {
|
|
865
853
|
const pkce = generatePKCE2();
|
|
866
854
|
const state = Buffer.from(JSON.stringify({ verifier: pkce.verifier })).toString("base64url");
|
|
@@ -2836,7 +2824,7 @@ Models configured:`);
|
|
|
2836
2824
|
// package.json
|
|
2837
2825
|
var package_default = {
|
|
2838
2826
|
name: "@jcanizalez7/clauxy",
|
|
2839
|
-
version: "0.2.
|
|
2827
|
+
version: "0.2.10",
|
|
2840
2828
|
description: "Multi-provider AI proxy for Claude Code (GitHub Copilot, ChatGPT Plus, Google Gemini)",
|
|
2841
2829
|
type: "module",
|
|
2842
2830
|
bin: {
|