Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "codev-ai",
"version": "0.5.17",
"version": "0.5.18",
"description": "CoDev — AI Coding Agent Hub. Install, configure, and manage multiple AI coding agents.",
"keywords": [
"ai",
Expand Down
8 changes: 7 additions & 1 deletion src/lib/const.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,7 +4,13 @@ import { join } from "node:path";
import pkg from "../../package.json" with { type: "json" };

const BASE_URL = atob("aHR0cHM6Ly9uZXRtaW5kLnZpZXR0ZWwudm4=");
export const BACKEND_URL = `${BASE_URL}/codev-backend`;
// `CODEV_BACKEND_URL` points the hub at a codev-backend running somewhere
// else — `bun dev` in that repo serves http://127.0.0.1:8787. Unset in every
// real install, so the baked URL is what ships. SSO is deliberately NOT
// overridable: a local backend still verifies tokens against the real
// provider, so the login flow has to mint a real one.
export const BACKEND_URL =
process.env.CODEV_BACKEND_URL || `${BASE_URL}/codev-backend`;
export const SSO_URL = `${BASE_URL}/sso-wrapper`;
export const LOGIN_SUCCESS_URL = `${BASE_URL}/codev/oauth/success`;
export const SKILLHUB_URL = `${BASE_URL}/netmindhub`;
Expand Down
Loading