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