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