Use Claude Code, Codex, VSCode, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)
Python
Align integration titles and remove redundant status badges (#1764)
Ali Khokhar33458bd251e1
diff --git a/e2e/test_admin_integrations.py b/e2e/test_admin_integrations.pyindex 0cef05ab..f5033768 100644--- a/e2e/test_admin_integrations.py+++ b/e2e/test_admin_integrations.py@@ -7,7 +7,7 @@ from playwright.sync_api import expectfrom free_claude_code.cli import vscode[email protected]("width", [1280, 390])[email protected]("width", [1280, 1200, 390])def test_codex_connect_disconnect_and_modal_paths(page, admin_base_url, tmp_path, width):@@ -17,13 +17,20 @@ def test_codex_connect_disconnect_and_modal_paths(expect(page.locator("#messageArea")).to_have_text("")cards = page.locator("#view-integrations > article")expect(cards).to_have_count(2)+ expect(page.locator("#claudeIntegrationStatus")).not_to_be_visible()+ expect(page.locator("#openCodexIntegration")).to_be_enabled()+ expect(page.locator("#codexIntegrationStatus")).not_to_be_visible()expect(cards.nth(1)).to_contain_text("Use FCC's models in the Codex VS Code extension and desktop app.")bounds = [card.bounding_box() for card in cards.all()]- if width == 1280:+ if width >= 1200:assert bounds[0]["y"] == bounds[1]["y"]assert bounds[1]["x"] > bounds[0]["x"]+ descriptions = [+ card.locator(".section-heading p").bounding_box() for card in cards.all()+ ]+ assert descriptions[0]["y"] == descriptions[1]["y"]else:assert bounds[1]["y"] > bounds[0]["y"]opener = page.locator("#openCodexIntegration")@@ -60,7 +67,7 @@ def test_codex_connect_disconnect_and_modal_paths(expect(opener).to_have_text("Disconnect")expect(page.locator("#codexIntegrationStatus")).not_to_be_visible()expect(opener).to_have_css("color", "rgb(239, 68, 68)")- if width == 1280:+ if width >= 1200:buttons = [button.bounding_box()for button in page.locator(".integration-card > button").all()@@ -85,6 +92,7 @@ def test_codex_connect_disconnect_and_modal_paths(page.locator("#confirmCodexIntegration").click()expect(opener).to_have_text("Connect")expect(opener).to_have_css("color", "rgb(6, 16, 11)")+ expect(page.locator("#codexIntegrationStatus")).not_to_be_visible()assert tomllib.loads(path.read_text()) == {"model": "my-choice"}assert not (tmp_path / "vscode" / "settings.json").exists()assert not (tmp_path / ".claude.json").exists()@@ -155,6 +163,7 @@ def test_connect_disconnect_and_modal_dismissal(page, admin_base_url, tmp_path):action.click()expect(card_button).to_have_text("Connect")expect(card_button).to_have_css("color", "rgb(6, 16, 11)")+ expect(page.locator("#claudeIntegrationStatus")).not_to_be_visible()assert json.loads(path.read_text()) == {}assert json.loads(state_path.read_text())["hasCompletedOnboarding"] is Truediff --git a/pyproject.toml b/pyproject.tomlindex b26c1c23..d5e631e1 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "hatchling.build"[project]name = "free-claude-code"-version = "6.2.11"+version = "6.2.12"description = "Local proxy connecting coding agents to OpenAI-compatible AI providers"readme = "README.md"requires-python = ">=3.14.0"diff --git a/src/free_claude_code/api/admin_static/admin.css b/src/free_claude_code/api/admin_static/admin.cssindex 13e29fad..ec3aa1d3 100644--- a/src/free_claude_code/api/admin_static/admin.css+++ b/src/free_claude_code/api/admin_static/admin.css@@ -271,6 +271,7 @@ textarea:focus-visible,padding: 6px 14px;font-size: 13px;}+.integration-card h3 { min-height: 2lh; }.integration-dialog {width: min(480px, calc(100vw - 32px));max-height: calc(100vh - 32px);diff --git a/src/free_claude_code/api/admin_static/admin.js b/src/free_claude_code/api/admin_static/admin.jsindex 2e82d3f3..6259de3b 100644--- a/src/free_claude_code/api/admin_static/admin.js+++ b/src/free_claude_code/api/admin_static/admin.js@@ -1268,11 +1268,8 @@ function renderClaudeIntegration() {byId("openClaudeIntegration").className = connected ? "danger-button" : "primary-button";byId("confirmClaudeIntegration").className = connected ? "danger-button" : "primary-button";const status = byId("claudeIntegrationStatus");- status.hidden = connected === true;- status.textContent = connected === null- ? (busy ? "Checking settings…" : "Could not check settings")- : (connected ? "Connected" : "Not connected");- status.className = `status-pill ${connected ? "ok" : "neutral"}`;+ status.hidden = connected !== null;+ status.textContent = busy ? "Checking settings…" : "Could not check settings";byId("claudeIntegrationDescription").textContent = connected? "Remove FCC's VS Code settings. Claude onboarding stays completed.": "Will set FCC's URL and token, enable model discovery, skip VS Code login, and complete Claude onboarding.";@@ -1361,11 +1358,8 @@ function renderCodexIntegration() {byId("openCodexIntegration").className = connected ? "danger-button" : "primary-button";byId("confirmCodexIntegration").className = connected ? "danger-button" : "primary-button";const status = byId("codexIntegrationStatus");- status.hidden = connected === true;- status.textContent = connected === null- ? (busy ? "Checking settings…" : "Could not check settings")- : (connected ? "Connected" : "Not connected");- status.className = `status-pill ${connected ? "ok" : "neutral"}`;+ status.hidden = connected !== null;+ status.textContent = busy ? "Checking settings…" : "Could not check settings";byId("codexIntegrationDescription").textContent = connected? "Remove FCC's Codex configuration. Other settings stay unchanged.": "Configure Codex to use FCC. Your selected model stays unchanged.";diff --git a/uv.lock b/uv.lockindex 421acaee..2b2b43a7 100644--- a/uv.lock+++ b/uv.lock@@ -598,7 +598,7 @@ wheels = [[[package]]name = "free-claude-code"-version = "6.2.11"+version = "6.2.12"source = { editable = "." }dependencies = [{ name = "aiohttp" },