Compare commits

...
Author SHA1 Message Date
arafatkatze 1d9d96e1e5 locally running debug stuff 2025-07-16 12:00:41 -07:00
3 changed files with 20 additions and 19 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ export class ClineHandler implements ApiHandler {
private _authService: AuthService private _authService: AuthService
private client: OpenAI | undefined private client: OpenAI | undefined
// TODO: replace this with a global API Host // TODO: replace this with a global API Host
private readonly _baseUrl = "https://api.cline.bot" private readonly _baseUrl = "http://localhost:7777"
// private readonly _baseUrl = "https://core-api.staging.int.cline.bot" // private readonly _baseUrl = "https://core-api.staging.int.cline.bot"
// private readonly _baseUrl = "http://localhost:7777" // private readonly _baseUrl = "http://localhost:7777"
lastGenerationId?: string lastGenerationId?: string
+1 -1
View File
@@ -13,7 +13,7 @@ export class ClineAccountService {
private static instance: ClineAccountService private static instance: ClineAccountService
private _authService: AuthService private _authService: AuthService
// TODO: replace this with a global API Host // TODO: replace this with a global API Host
private readonly _baseUrl = "https://api.cline.bot" private readonly _baseUrl = "http://localhost:7777"
// private readonly _baseUrl = "https://core-api.staging.int.cline.bot" // private readonly _baseUrl = "https://core-api.staging.int.cline.bot"
// private readonly _baseUrl = "http://localhost:7777" // private readonly _baseUrl = "http://localhost:7777"
+18 -17
View File
@@ -6,7 +6,7 @@ import { FirebaseAuthProvider } from "./providers/FirebaseAuthProvider"
import { Controller } from "@/core/controller" import { Controller } from "@/core/controller"
import { storeSecret } from "@/core/storage/state" import { storeSecret } from "@/core/storage/state"
const DefaultClineAccountURI = "https://app.cline.bot/auth" const DefaultClineAccountURI = "http://localhost:3000/auth"
// const DefaultClineAccountURI = "https://staging-app.cline.bot/auth" // const DefaultClineAccountURI = "https://staging-app.cline.bot/auth"
// const DefaultClineAccountURI = "http://localhost:3000/auth" // const DefaultClineAccountURI = "http://localhost:3000/auth"
let authProviders: any[] = [] let authProviders: any[] = []
@@ -70,14 +70,14 @@ export class AuthService {
const authProvidersConfigs = [ const authProvidersConfigs = [
{ {
name: "firebase", name: "firebase",
config: { // config: {
apiKey: "AIzaSyC5rx59Xt8UgwdU3PCfzUF7vCwmp9-K2vk", // apiKey: "AIzaSyC5rx59Xt8UgwdU3PCfzUF7vCwmp9-K2vk",
authDomain: "cline-prod.firebaseapp.com", // authDomain: "cline-prod.firebaseapp.com",
projectId: "cline-prod", // projectId: "cline-prod",
storageBucket: "cline-prod.firebasestorage.app", // storageBucket: "cline-prod.firebasestorage.app",
messagingSenderId: "941048379330", // messagingSenderId: "941048379330",
appId: "1:941048379330:web:45058eedeefc5cdfcc485b", // appId: "1:941048379330:web:45058eedeefc5cdfcc485b",
}, // },
// Uncomment for staging environment // Uncomment for staging environment
// config: { // config: {
// apiKey: "AIzaSyASSwkwX1kSO8vddjZkE5N19QU9cVQ0CIk", // apiKey: "AIzaSyASSwkwX1kSO8vddjZkE5N19QU9cVQ0CIk",
@@ -88,14 +88,15 @@ export class AuthService {
// appId: "1:853479478430:web:2de0dba1c63c3262d4578f", // appId: "1:853479478430:web:2de0dba1c63c3262d4578f",
// }, // },
// Uncomment for local development environment // Uncomment for local development environment
// config: { config: {
// apiKey: "AIzaSyASSwkwX1kSO8vddjZkE5N19QU9cVQ0CIk", apiKey: "AIzaSyD8wtkd1I-EICuAg6xgAQpRdwYTvwxZG2w",
// authDomain: "cline-staging.firebaseapp.com", authDomain: "cline-preview.firebaseapp.com",
// projectId: "cline-staging", projectId: "cline-preview",
// storageBucket: "cline-staging.firebasestorage.app", storageBucket: "cline-preview.firebasestorage.app",
// messagingSenderId: "853479478430", messagingSenderId: "654681443338",
// appId: "1:853479478430:web:2de0dba1c63c3262d4578f", appId: "1:654681443338:web:93bfe710626a573d9123f3",
// }, measurementId: "G-QL8CKK5TNJ",
},
// config: { // config: {
// apiKey: "AIzaSyD8wtkd1I-EICuAg6xgAQpRdwYTvwxZG2w", // apiKey: "AIzaSyD8wtkd1I-EICuAg6xgAQpRdwYTvwxZG2w",
// authDomain: "cline-preview.firebaseapp.com", // authDomain: "cline-preview.firebaseapp.com",