Compare commits

...

1 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 client: OpenAI | undefined
// 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 = "http://localhost:7777"
lastGenerationId?: string
+1 -1
View File
@@ -13,7 +13,7 @@ export class ClineAccountService {
private static instance: ClineAccountService
private _authService: AuthService
// 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 = "http://localhost:7777"
+18 -17
View File
@@ -6,7 +6,7 @@ import { FirebaseAuthProvider } from "./providers/FirebaseAuthProvider"
import { Controller } from "@/core/controller"
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 = "http://localhost:3000/auth"
let authProviders: any[] = []
@@ -70,14 +70,14 @@ export class AuthService {
const authProvidersConfigs = [
{
name: "firebase",
config: {
apiKey: "AIzaSyC5rx59Xt8UgwdU3PCfzUF7vCwmp9-K2vk",
authDomain: "cline-prod.firebaseapp.com",
projectId: "cline-prod",
storageBucket: "cline-prod.firebasestorage.app",
messagingSenderId: "941048379330",
appId: "1:941048379330:web:45058eedeefc5cdfcc485b",
},
// config: {
// apiKey: "AIzaSyC5rx59Xt8UgwdU3PCfzUF7vCwmp9-K2vk",
// authDomain: "cline-prod.firebaseapp.com",
// projectId: "cline-prod",
// storageBucket: "cline-prod.firebasestorage.app",
// messagingSenderId: "941048379330",
// appId: "1:941048379330:web:45058eedeefc5cdfcc485b",
// },
// Uncomment for staging environment
// config: {
// apiKey: "AIzaSyASSwkwX1kSO8vddjZkE5N19QU9cVQ0CIk",
@@ -88,14 +88,15 @@ export class AuthService {
// appId: "1:853479478430:web:2de0dba1c63c3262d4578f",
// },
// Uncomment for local development environment
// config: {
// apiKey: "AIzaSyASSwkwX1kSO8vddjZkE5N19QU9cVQ0CIk",
// authDomain: "cline-staging.firebaseapp.com",
// projectId: "cline-staging",
// storageBucket: "cline-staging.firebasestorage.app",
// messagingSenderId: "853479478430",
// appId: "1:853479478430:web:2de0dba1c63c3262d4578f",
// },
config: {
apiKey: "AIzaSyD8wtkd1I-EICuAg6xgAQpRdwYTvwxZG2w",
authDomain: "cline-preview.firebaseapp.com",
projectId: "cline-preview",
storageBucket: "cline-preview.firebasestorage.app",
messagingSenderId: "654681443338",
appId: "1:654681443338:web:93bfe710626a573d9123f3",
measurementId: "G-QL8CKK5TNJ",
},
// config: {
// apiKey: "AIzaSyD8wtkd1I-EICuAg6xgAQpRdwYTvwxZG2w",
// authDomain: "cline-preview.firebaseapp.com",