From 5a9a94ce677d36290c1551d29ec397fc05497334 Mon Sep 17 00:00:00 2001 From: minhn4 Date: Tue, 25 Aug 2026 18:02:54 +0700 Subject: [PATCH 1/2] feat(const): point the hub at another codev-backend with CODEV_BACKEND_URL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Testing a codev-backend change end-to-end meant editing the baked BACKEND_URL and remembering to put it back — and a localhost URL that slips into a commit points every user's hub at their own machine, which is a silent, total sign-in outage. Unset, the baked URL is what ships, so this is inert in every real install. SSO is deliberately not overridable: a locally-run backend still verifies tokens against the real provider, so the login flow has to mint a real one. Only the exchange moves. --- src/lib/const.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/const.ts b/src/lib/const.ts index eb750d6..a68e987 100644 --- a/src/lib/const.ts +++ b/src/lib/const.ts @@ -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`; From ef62b90206d380447bc9341c281e6cee78b6bd46 Mon Sep 17 00:00:00 2001 From: Quickbeard Date: Wed, 26 Aug 2026 17:22:18 +0700 Subject: [PATCH 2/2] chore: bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2ea0d8f..ba4d28d 100644 --- a/package.json +++ b/package.json @@ -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",