feat(codex): align ccsxp with native cliproxy shortcut

This commit is contained in:
Tam Nhu Tran
2026-04-26 11:09:54 -04:00
parent 74285ca9ec
commit 82c92aa940
12 changed files with 189 additions and 43 deletions
@@ -114,13 +114,19 @@ export function CodexDocsTab({ diagnostics }: CodexDocsTabProps) {
<div className="space-y-1.5">
<p>
{/* TODO i18n: missing key codex.builtInLabel */}
<strong>Built-in:</strong> Use <code>ccsxp</code> for the CCS provider shortcut.
<strong>Built-in:</strong> Use <code>ccsxp</code> for native Codex with the{' '}
<code>cliproxy</code> provider shortcut.
</p>
<p>
{/* TODO i18n: missing key codex.nativeLabelRecipe */}
<strong>Native:</strong> Configure the recipe below to use CLIProxy directly with{' '}
<code>codex</code>.
</p>
<p>
{/* TODO i18n: missing key codex.managedBridgeLabel */}
<strong>Managed bridge:</strong> Use <code>ccs codex --target codex</code> when you
want the stricter CCS-managed route explicitly.
</p>
</div>
<pre className="overflow-x-auto rounded-md border bg-muted/20 p-3 text-xs text-foreground">
{CLIPROXY_NATIVE_CODEX_RECIPE}
@@ -361,9 +361,7 @@ export function CodexOverviewTab({ diagnostics }: CodexOverviewTabProps) {
<code>ccs codex --target codex</code>
</li>
</ul>
<Badge variant="secondary" className="mt-4 w-fit justify-center font-normal">
{t('codex.usesTransientOverrides')}
</Badge>
<p className="mt-4 text-muted-foreground">{t('codex.transientOverridesDesc')}</p>
</>
) : (
<p className="mt-2 text-muted-foreground">{t('codex.unavailableNoConfig')}</p>