fix(codex): resolve PR review contract and i18n drift

This commit is contained in:
Tam Nhu Tran
2026-04-26 11:24:08 -04:00
parent 82c92aa940
commit 8911906e9f
3 changed files with 30 additions and 25 deletions
@@ -113,19 +113,13 @@ export function CodexDocsTab({ diagnostics }: CodexDocsTabProps) {
<CardContent className="space-y-3 text-sm text-muted-foreground">
<div className="space-y-1.5">
<p>
{/* TODO i18n: missing key codex.builtInLabel */}
<strong>Built-in:</strong> Use <code>ccsxp</code> for native Codex with the{' '}
<code>cliproxy</code> provider shortcut.
<strong>{t('codex.builtInLabel')}</strong> {t('codex.builtInCcsxpDesc')}
</p>
<p>
{/* TODO i18n: missing key codex.nativeLabelRecipe */}
<strong>Native:</strong> Configure the recipe below to use CLIProxy directly with{' '}
<code>codex</code>.
<strong>{t('codex.nativeRecipeLabel')}</strong> {t('codex.nativeRecipeDesc')}
</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.
<strong>{t('codex.managedBridgeLabel')}</strong> {t('codex.managedBridgeDesc')}
</p>
</div>
<pre className="overflow-x-auto rounded-md border bg-muted/20 p-3 text-xs text-foreground">
+23 -12
View File
@@ -1943,6 +1943,9 @@ const resources = {
cliproxyNativeCodex: 'CLIProxy-backed native Codex',
builtInLabel: 'Built-in:',
builtInCcsxpDesc: 'Use ccsxp for native Codex with the cliproxy provider shortcut.',
managedBridgeLabel: 'Managed bridge:',
managedBridgeDesc:
'Use ccs codex --target codex when you want the stricter CCS-managed route explicitly.',
nativeRecipeLabel: 'Native:',
nativeRecipeDesc: 'Configure the recipe below to use CLIProxy directly with codex.',
saveProviderNamedCliproxy:
@@ -4366,7 +4369,7 @@ const resources = {
overview: '概览',
docs: '文档',
nativeCodexRuntime: '原生 Codex 运行时',
ccsCodexProvider: 'CCS Codex 提供商 / 桥接',
ccsCodexProvider: 'Cliproxy 快捷方式 / 托管桥接',
codexDocs: 'Codex 文档',
supportedFlows: '支持的工作流',
twoSupportedPaths: '两种支持路径:',
@@ -4379,8 +4382,8 @@ const resources = {
officialChannels: '官方渠道',
codexCli: 'Codex CLI',
openNativeCodex: '打开原生 Codex',
runBuiltInCodex: '在 Codex 上运行内置命令',
runBuiltInCodexExplicit: '在 Codex 上运行内置命令(显式)',
runBuiltInCodex: '通过 cliproxy 快捷方式运行原生 Codex',
runBuiltInCodexExplicit: '显式运行 CCS 托管 Codex 桥接',
openCodexDashboard: '打开 Codex Dashboard',
status: '状态',
profiles: '配置',
@@ -4472,13 +4475,15 @@ const resources = {
installDirectory: '安装目录',
versionLabel: '版本',
nativeAliases: '原生别名',
ccsProviderShortcut: 'CCS 提供商快捷方式',
ccsProviderShortcut: 'Cliproxy 快捷方式',
configOverrideSupport: '--config 覆盖支持',
available: '可用',
missing: '缺失',
cliproxyNativeCodex: '由 CLIProxy 支持的原生 Codex',
builtInLabel: '内置:',
builtInCcsxpDesc: '使用 ccsxp 通过 cliproxy provider 快捷方式启动原生 Codex。',
managedBridgeLabel: '托管桥接:',
managedBridgeDesc: '如果你想显式走更严格的 CCS 托管路由,请使用 ccs codex --target codex。',
nativeRecipeLabel: '原生:',
nativeRecipeDesc: '按下面的配方配置,即可让 codex 直接走 CLIProxy。',
saveProviderNamedCliproxy:
@@ -6899,7 +6904,7 @@ const resources = {
overview: 'Tổng quan',
docs: 'Tài liệu',
nativeCodexRuntime: 'Codex Runtime gốc',
ccsCodexProvider: 'CCS Codex provider / bridge',
ccsCodexProvider: 'Lối tắt cliproxy / cầu nối được quản lý',
codexDocs: 'Tài liệu Codex',
supportedFlows: 'Các luồng được hỗ trợ',
twoSupportedPaths: 'Hai đường dẫn được hỗ trợ:',
@@ -6912,8 +6917,8 @@ const resources = {
officialChannels: 'Kênh chính thức',
codexCli: 'Codex CLI',
openNativeCodex: 'Mở Codex gốc',
runBuiltInCodex: 'Chạy Codex tích hợp trên Codex',
runBuiltInCodexExplicit: 'Chạy Codex tích hợp trên Codex (rõ ràng)',
runBuiltInCodex: 'Chạy Codex gốc với lối tắt cliproxy',
runBuiltInCodexExplicit: 'Chạy rõ ràng cầu nối Codex do CCS quản lý',
openCodexDashboard: 'Mở dashboard Codex',
status: 'Trạng thái',
profiles: 'Hồ sơ',
@@ -7006,13 +7011,16 @@ const resources = {
installDirectory: 'Thư mục cài đặt',
versionLabel: 'Phiên bản',
nativeAliases: 'Bí danh gốc',
ccsProviderShortcut: 'Lối tắt nhà cung cấp CCS',
ccsProviderShortcut: 'Lối tắt cliproxy',
configOverrideSupport: 'Hỗ trợ ghi đè --config',
available: 'Có sẵn',
missing: 'Thiếu',
cliproxyNativeCodex: 'Codex gốc dùng CLIProxy',
builtInLabel: 'Tích hợp:',
builtInCcsxpDesc: 'Dùng ccsxp để chạy Codex gốc với lối tắt provider cliproxy.',
managedBridgeLabel: 'Cầu nối được quản lý:',
managedBridgeDesc:
'Dùng ccs codex --target codex khi bạn muốn tuyến CCS được quản lý chặt hơn một cách tường minh.',
nativeRecipeLabel: 'Gốc:',
nativeRecipeDesc: 'Cấu hình công thức bên dưới để dùng CLIProxy trực tiếp với codex.',
saveProviderNamedCliproxy: 'Lưu một provider tên cliproxy với base URL và env key ở trên.',
@@ -9193,7 +9201,7 @@ const resources = {
overview: '概要',
docs: 'ドキュメント',
nativeCodexRuntime: 'ネイティブ Codex ランタイム',
ccsCodexProvider: 'CCS Codex プロバイダー / ブリッジ',
ccsCodexProvider: 'cliproxy ショートカット / 管理ブリッジ',
codexDocs: 'Codex ドキュメント',
supportedFlows: '対応フロー',
twoSupportedPaths: '2つのサポートパス:',
@@ -9206,8 +9214,8 @@ const resources = {
officialChannels: '公式チャンネル',
codexCli: 'Codex CLI',
openNativeCodex: 'ネイティブ Codex を開く',
runBuiltInCodex: '内蔵 Codex で Codex を実行',
runBuiltInCodexExplicit: '内蔵 Codex で Codex を実行(明示)',
runBuiltInCodex: 'cliproxy ショートカット付きでネイティブ Codex を実行',
runBuiltInCodexExplicit: 'CCS 管理 Codex ブリッジを明示的に実行',
openCodexDashboard: 'Codex ダッシュボードを開く',
status: 'ステータス',
profiles: 'プロファイル',
@@ -9300,7 +9308,7 @@ const resources = {
installDirectory: 'インストール先',
versionLabel: 'バージョン',
nativeAliases: 'ネイティブ別名',
ccsProviderShortcut: 'CCS プロバイダーショートカット',
ccsProviderShortcut: 'cliproxy ショートカット',
configOverrideSupport: '--config オーバーライド対応',
available: '利用可能',
missing: '不足',
@@ -9308,6 +9316,9 @@ const resources = {
builtInLabel: '内蔵:',
builtInCcsxpDesc:
'ccsxp を使うと、cliproxy プロバイダーショートカット付きでネイティブ Codex を起動します。',
managedBridgeLabel: '管理ブリッジ:',
managedBridgeDesc:
'より厳格な CCS 管理ルートを明示的に使いたい場合は ccs codex --target codex を使います。',
nativeRecipeLabel: 'ネイティブ:',
nativeRecipeDesc: '下のレシピを設定すると codex を直接 CLIProxy 経由で利用できます。',
saveProviderNamedCliproxy:
+4 -4
View File
@@ -72,7 +72,7 @@ const BASE_SUPPORT_NOTICES: SupportNotice[] = [
'Use ccs-codex or ccsx for native Codex runs.',
'Use ccsxp for native Codex with the cliproxy provider shortcut.',
'Use ccs codex --target codex when you want the explicit CCS-managed Codex bridge.',
'Saved default targets for API profiles and variants can now be claude, droid, or codex.',
'Codex remains runtime-only for saved defaults; use runtime aliases or --target codex at launch time.',
],
actions: [
{
@@ -91,8 +91,8 @@ const BASE_SUPPORT_NOTICES: SupportNotice[] = [
},
{
id: 'copy-codex-provider-command-explicit',
label: 'Run built-in Codex on Codex (explicit)',
description: 'Use the explicit built-in Codex provider route on native Codex.',
label: 'Run the managed Codex bridge explicitly',
description: 'Use the explicit CCS-managed Codex bridge on native Codex.',
type: 'command',
command: 'ccs codex --target codex "your prompt"',
},
@@ -258,7 +258,7 @@ const BASE_CLI_SUPPORT_ENTRIES: CliSupportEntry[] = [
routes: [{ label: 'Codex CLI', path: '/codex' }],
commands: ['ccs-codex', 'ccsx', 'ccs codex --target codex', 'ccs codex-api --target codex'],
notes:
'Saved default targets for API profiles and CLIProxy variants can now be claude, droid, or codex.',
'Codex is still runtime-only for saved defaults; use --target codex or the runtime aliases at launch time.',
},
{
id: 'codex-cliproxy',