From c5b9e448a8bc9bc2a1bf6704e5d8bb3384d084a6 Mon Sep 17 00:00:00 2001 From: yetone Date: Thu, 12 Nov 2026 18:15:20 +0800 Subject: [PATCH] gui: Codex's settings lines say less and say what a choice does (siantgirl on X) siantgirl found the Codex settings block hard to follow when connecting Codex to DeepSeek. Three lines were the cause: Codex subagent model (a paragraph on resumed subagents and the pick rules), Codex subagents on any model (named multi_agent_v2) and Long conversations (a list of which models are and are not capped). Each now says what it does in one sentence: the lead's pick or its own model, pick one here for every subagent; a GPT lead can start subagents on other models, new threads only; compact at 272K or the size typed, magpie's models only. Strings changed in app.js, index.html and en, zh, zh-TW, ja, de, with the same placeholders. No layout change. Run (mica): codex-subagent-model 20 pass 0 fail (its pinned lines are red on the old text), i18n-keys 4/0, gateway-mode 6/0 and the compact, settings-general, agent-details-ready, context-tune and lang files ran; agent-prefs 46 pass 10 fail, the same 10 on origin/main 2e92d71aa (#6139, commented). The Go size-budget test is ok. Not tried: the whole GUI suite, the real Linux app, a screenshot of the new lines. --- internal/gui/assets/app.js | 4 +-- internal/gui/assets/i18n.js | 32 +++++++++---------- internal/gui/assets/index.html | 4 +-- .../gui/tests/codex-subagent-model.test.cjs | 10 +++--- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/internal/gui/assets/app.js b/internal/gui/assets/app.js index 6bb4e67c1..8395ed907 100644 --- a/internal/gui/assets/app.js +++ b/internal/gui/assets/app.js @@ -3941,8 +3941,8 @@ const codexRowed = (a, f) => a.id === "codex" && !gatewayMode && (f.label === SU const CODEX_SUB_LEAD = "lead"; const LEADS_PICK = "Lead's pick"; const SAME_AS_LEAD = "Same as the lead"; -const SUB_MODEL_UNSET = "The lead picks each subagent's model, one of Codex's own too; one it names none for runs on the lead's model ({model}). A resumed subagent stays on the model it started on. Same as the lead, or a model picked here, holds every subagent to it, even when the lead names another."; -const SUB_MODEL_UNSET_PLAIN = "The lead picks each subagent's model, one of Codex's own too; one it names none for runs on the lead's model. A resumed subagent stays on the model it started on. Same as the lead, or a model picked here, holds every subagent to it, even when the lead names another."; +const SUB_MODEL_UNSET = "The lead picks each subagent's model, or the lead's own ({model}) if it names none. Pick one here to use it for every subagent."; +const SUB_MODEL_UNSET_PLAIN = "The lead picks each subagent's model, or the lead's own if it names none. Pick one here to use it for every subagent."; const SUB_MODEL_LEAD = "Every subagent runs on the lead's model ({model}), even when the lead names another. Lead's pick lets the lead choose again."; const SUB_MODEL_LEAD_PLAIN = "Every subagent runs on the lead's model, even when the lead names another. Lead's pick lets the lead choose again."; const SUB_MODEL_SET = "Every subagent runs on this model, even when the lead names another. Lead's pick lets the lead choose again."; diff --git a/internal/gui/assets/i18n.js b/internal/gui/assets/i18n.js index 7ed495679..16c4bafca 100644 --- a/internal/gui/assets/i18n.js +++ b/internal/gui/assets/i18n.js @@ -1467,7 +1467,7 @@ const I18N = { "Codex app": "Codex 应用", "Codex editor extension": "编辑器里的 Codex 扩展", "Codex in WSL": "WSL 里的 Codex", - "Codex, Claude Code and Grok Build compact at 272K (non-Claude [1m] too) or the size typed, on magpie's models only; a subscription's own models keep their own window and compaction; full window: slower, costlier": "Codex、Claude Code 和 Grok Build 在 272K(非 Claude 的 [1m] 模型也是)或这里填的大小时压缩,只作用于 magpie 的模型;订阅自带的模型保留自己的窗口和压缩行为;完整窗口每轮更慢更贵", + "Codex, Claude Code and Grok Build compact at 272K or the size typed; the full window is slower and costlier. magpie's models only: a subscription's own models keep their own.": "Codex、Claude Code 和 Grok Build 在 272K 或填写的大小时压缩;完整窗口更慢更贵。只作用于 magpie 的模型,订阅自带的模型不受影响。", "Compact at {n}": "{n} 时压缩", "Codex thread titles": "Codex 会话标题", "Codex thread descriptions": "Codex 会话描述", @@ -1481,8 +1481,8 @@ const I18N = { "Same as the session": "跟随当前会话", "Codex memories model": "Codex 记忆整理模型", "Same as the lead": "跟主代理一样", - "The lead picks each subagent's model, one of Codex's own too; one it names none for runs on the lead's model ({model}). A resumed subagent stays on the model it started on. Same as the lead, or a model picked here, holds every subagent to it, even when the lead names another.": "主代理为每个子代理选模型,也可能选 Codex 自带的模型;主代理没指定时,子代理用主代理的模型({model})。恢复的子代理仍用它最初的模型。选“跟主代理一样”或在这里选定一个模型,所有子代理都固定用它,主代理指定了别的也一样。", - "The lead picks each subagent's model, one of Codex's own too; one it names none for runs on the lead's model. A resumed subagent stays on the model it started on. Same as the lead, or a model picked here, holds every subagent to it, even when the lead names another.": "主代理为每个子代理选模型,也可能选 Codex 自带的模型;主代理没指定时,子代理用主代理的模型。恢复的子代理仍用它最初的模型。选“跟主代理一样”或在这里选定一个模型,所有子代理都固定用它,主代理指定了别的也一样。", + "The lead picks each subagent's model, or the lead's own ({model}) if it names none. Pick one here to use it for every subagent.": "主代理为每个子代理选模型,没指定时用主代理自己的({model})。在这里选一个,所有子代理都用它。", + "The lead picks each subagent's model, or the lead's own if it names none. Pick one here to use it for every subagent.": "主代理为每个子代理选模型,没指定时用主代理自己的。在这里选一个,所有子代理都用它。", "Every subagent runs on this model, even when the lead names another. Lead's pick lets the lead choose again.": "所有子代理都用这个模型,主代理指定了别的也一样。选“由主代理自选”就让主代理重新选择。", "Every subagent runs on the lead's model ({model}), even when the lead names another. Lead's pick lets the lead choose again.": "所有子代理都用主代理的模型({model}),主代理指定了别的也一样。选“由主代理自选”就让主代理重新选择。", "Every subagent runs on the lead's model, even when the lead names another. Lead's pick lets the lead choose again.": "所有子代理都用主代理的模型,主代理指定了别的也一样。选“由主代理自选”就让主代理重新选择。", @@ -1496,7 +1496,7 @@ const I18N = { "In {provider}'s editor, on the Providers page": "在供应商页的 {provider} 编辑里", "no title, nothing sent": "不生成标题,不发出请求", "no description, nothing sent": "不生成描述,不发出请求", - "A GPT lead spawns subagents on magpie’s other models. New threads only; Codex’s own multi_agent_v2 still wins": "GPT 主代理可在 magpie 的其他模型上开子代理。仅对新会话生效;Codex 自身的 multi_agent_v2 优先", + "A GPT lead can start subagents on magpie’s other models. New threads only.": "GPT 主代理可在 magpie 的其他模型上开子代理。仅对新会话生效。", "Codex's own multi_agent_v2 is on in the config magpie routes, which takes over the multi-agent V1 magpie's models ask for; turn it off in Codex's config to run subagents on magpie's models.": "Codex 自身的 multi_agent_v2 在 magpie 接管的配置里开着,会盖过 magpie 模型所需的 multi-agent V1;请在 Codex 的配置里把它关掉,才能让子代理跑在 magpie 的模型上。", "Codex's multi-agent V1 is on, but magpie couldn't read Codex's config to check its own multi_agent_v2.": "Codex 的 multi-agent V1 已开启,但 magpie 读不到 Codex 的配置,无法确认它自己的 multi_agent_v2。", "$ USD": "$ 美元", @@ -6597,7 +6597,7 @@ const I18N = { "Codex app": "Codex 應用程式", "Codex editor extension": "編輯器裡的 Codex 擴充功能", "Codex in WSL": "WSL 裡的 Codex", - "Codex, Claude Code and Grok Build compact at 272K (non-Claude [1m] too) or the size typed, on magpie's models only; a subscription's own models keep their own window and compaction; full window: slower, costlier": "Codex、Claude Code 和 Grok Build 在 272K(非 Claude 的 [1m] 模型也是)或這裡填的大小時壓縮,只作用於 magpie 的模型;訂閱自帶的模型保留自己的視窗和壓縮行為;完整視窗每輪更慢更貴", + "Codex, Claude Code and Grok Build compact at 272K or the size typed; the full window is slower and costlier. magpie's models only: a subscription's own models keep their own.": "Codex、Claude Code 和 Grok Build 在 272K 或填寫的大小時壓縮;完整視窗更慢更貴。只作用於 magpie 的模型,訂閱自帶的模型不受影響。", "Compact at {n}": "{n} 時壓縮", "Codex thread titles": "Codex 會話標題", "as Codex sends them when the session is on Codex’s own model": "工作階段在 Codex 自帶模型上時按 Codex 原樣傳送", @@ -6607,8 +6607,8 @@ const I18N = { "Same as the session": "跟隨目前工作階段", "Codex memories model": "Codex 記憶整理模型", "Same as the lead": "跟主代理一樣", - "The lead picks each subagent's model, one of Codex's own too; one it names none for runs on the lead's model ({model}). A resumed subagent stays on the model it started on. Same as the lead, or a model picked here, holds every subagent to it, even when the lead names another.": "主代理為每個子代理選模型,也可能選 Codex 自帶的模型;主代理沒指定時,子代理用主代理的模型({model})。恢復的子代理仍用它最初的模型。選「跟主代理一樣」或在這裡選定一個模型,所有子代理都固定用它,主代理指定了別的也一樣。", - "The lead picks each subagent's model, one of Codex's own too; one it names none for runs on the lead's model. A resumed subagent stays on the model it started on. Same as the lead, or a model picked here, holds every subagent to it, even when the lead names another.": "主代理為每個子代理選模型,也可能選 Codex 自帶的模型;主代理沒指定時,子代理用主代理的模型。恢復的子代理仍用它最初的模型。選「跟主代理一樣」或在這裡選定一個模型,所有子代理都固定用它,主代理指定了別的也一樣。", + "The lead picks each subagent's model, or the lead's own ({model}) if it names none. Pick one here to use it for every subagent.": "主代理為每個子代理選模型,沒指定時用主代理自己的({model})。在這裡選一個,所有子代理都用它。", + "The lead picks each subagent's model, or the lead's own if it names none. Pick one here to use it for every subagent.": "主代理為每個子代理選模型,沒指定時用主代理自己的。在這裡選一個,所有子代理都用它。", "Every subagent runs on this model, even when the lead names another. Lead's pick lets the lead choose again.": "所有子代理都用這個模型,主代理指定了別的也一樣。選「由主代理自選」就讓主代理重新選擇。", "Every subagent runs on the lead's model ({model}), even when the lead names another. Lead's pick lets the lead choose again.": "所有子代理都用主代理的模型({model}),主代理指定了別的也一樣。選「由主代理自選」就讓主代理重新選擇。", "Every subagent runs on the lead's model, even when the lead names another. Lead's pick lets the lead choose again.": "所有子代理都用主代理的模型,主代理指定了別的也一樣。選「由主代理自選」就讓主代理重新選擇。", @@ -6622,7 +6622,7 @@ const I18N = { "In {provider}'s editor, on the Providers page": "在供應商頁的 {provider} 編輯裡", "no title, nothing sent": "不生成標題,不發出請求", "no description, nothing sent": "不生成描述,不發出請求", - "A GPT lead spawns subagents on magpie’s other models. New threads only; Codex’s own multi_agent_v2 still wins": "GPT 主代理可在 magpie 的其他模型上開子代理。僅對新會話生效;Codex 自身的 multi_agent_v2 優先", + "A GPT lead can start subagents on magpie’s other models. New threads only.": "GPT 主代理可在 magpie 的其他模型上開子代理。僅對新會話生效。", "Codex's own multi_agent_v2 is on in the config magpie routes, which takes over the multi-agent V1 magpie's models ask for; turn it off in Codex's config to run subagents on magpie's models.": "Codex 自身的 multi_agent_v2 在 magpie 接管的設定裡開著,會蓋過 magpie 模型所需的 multi-agent V1;請在 Codex 的設定裡把它關掉,才能讓子代理跑在 magpie 的模型上。", "Codex's multi-agent V1 is on, but magpie couldn't read Codex's config to check its own multi_agent_v2.": "Codex 的 multi-agent V1 已開啟,但 magpie 讀不到 Codex 的設定,無法確認它自己的 multi_agent_v2。", "$ USD": "$ 美元", @@ -11688,7 +11688,7 @@ const I18N = { "Codex app": "Codex アプリ", "Codex editor extension": "エディタの Codex 拡張機能", "Codex in WSL": "WSL の Codex", - "Codex, Claude Code and Grok Build compact at 272K (non-Claude [1m] too) or the size typed, on magpie's models only; a subscription's own models keep their own window and compaction; full window: slower, costlier": "Codex、Claude Code、Grok Build は 272K(Claude 以外の [1m] モデルも)か入力したサイズで圧縮。対象は magpie のモデルのみで、サブスクリプション自身のモデルはそれぞれのウィンドウと圧縮に従う。ウィンドウ全体は遅く高価", + "Codex, Claude Code and Grok Build compact at 272K or the size typed; the full window is slower and costlier. magpie's models only: a subscription's own models keep their own.": "Codex、Claude Code、Grok Build は 272K か入力したサイズで圧縮します。ウィンドウ全体は遅く高価です。対象は magpie のモデルのみで、サブスクリプション自身のモデルは影響を受けません。", "Compact at {n}": "{n} で圧縮", "Codex thread titles": "Codex のスレッドタイトル", "Codex thread descriptions": "Codex のスレッド説明", @@ -11702,8 +11702,8 @@ const I18N = { "Same as the session": "セッションと同じ", "Codex memories model": "Codex メモリ整理のモデル", "Same as the lead": "リードと同じ", - "The lead picks each subagent's model, one of Codex's own too; one it names none for runs on the lead's model ({model}). A resumed subagent stays on the model it started on. Same as the lead, or a model picked here, holds every subagent to it, even when the lead names another.": "各サブエージェントのモデルはリードが選びます(Codex 自身のモデルも含みます)。指定がなければリードのモデル({model})で動きます。再開したサブエージェントは最初のモデルのままです。「リードと同じ」またはここで選んだモデルにすると、リードが別のモデルを指定しても、すべてのサブエージェントがそのモデルに固定されます。", - "The lead picks each subagent's model, one of Codex's own too; one it names none for runs on the lead's model. A resumed subagent stays on the model it started on. Same as the lead, or a model picked here, holds every subagent to it, even when the lead names another.": "各サブエージェントのモデルはリードが選びます(Codex 自身のモデルも含みます)。指定がなければリードのモデルで動きます。再開したサブエージェントは最初のモデルのままです。「リードと同じ」またはここで選んだモデルにすると、リードが別のモデルを指定しても、すべてのサブエージェントがそのモデルに固定されます。", + "The lead picks each subagent's model, or the lead's own ({model}) if it names none. Pick one here to use it for every subagent.": "各サブエージェントのモデルはリードが選び、指定がなければリード自身のモデル({model})を使います。ここで選ぶと、すべてのサブエージェントがそれを使います。", + "The lead picks each subagent's model, or the lead's own if it names none. Pick one here to use it for every subagent.": "各サブエージェントのモデルはリードが選び、指定がなければリード自身のモデルを使います。ここで選ぶと、すべてのサブエージェントがそれを使います。", "Every subagent runs on this model, even when the lead names another. Lead's pick lets the lead choose again.": "リードが別のモデルを指定しても、すべてのサブエージェントがこのモデルで動きます。「リードが選ぶ」を選ぶと、選択をリードに戻します。", "Every subagent runs on the lead's model ({model}), even when the lead names another. Lead's pick lets the lead choose again.": "リードが別のモデルを指定しても、すべてのサブエージェントがリードのモデル({model})で動きます。「リードが選ぶ」を選ぶと、選択をリードに戻します。", "Every subagent runs on the lead's model, even when the lead names another. Lead's pick lets the lead choose again.": "リードが別のモデルを指定しても、すべてのサブエージェントがリードのモデルで動きます。「リードが選ぶ」を選ぶと、選択をリードに戻します。", @@ -11717,7 +11717,7 @@ const I18N = { "In {provider}'s editor, on the Providers page": "プロバイダページの {provider} の編集画面にあります", "no title, nothing sent": "タイトルなし、送信なし", "no description, nothing sent": "説明なし、送信なし", - "A GPT lead spawns subagents on magpie’s other models. New threads only; Codex’s own multi_agent_v2 still wins": "GPT のリードが magpie の他のモデルでサブエージェントを起動します。新しいスレッドのみ。Codex 自身の multi_agent_v2 が優先されます", + "A GPT lead can start subagents on magpie’s other models. New threads only.": "GPT のリードが magpie の他のモデルでサブエージェントを起動できます。新しいスレッドのみ。", "Codex's own multi_agent_v2 is on in the config magpie routes, which takes over the multi-agent V1 magpie's models ask for; turn it off in Codex's config to run subagents on magpie's models.": "magpie が中継する設定で Codex 自身の multi_agent_v2 がオンになっており、magpie のモデルが必要とする multi-agent V1 を上書きします。magpie のモデルでサブエージェントを動かすには、Codex の設定でオフにしてください。", "Codex's multi-agent V1 is on, but magpie couldn't read Codex's config to check its own multi_agent_v2.": "Codex の multi-agent V1 はオンですが、magpie は Codex の設定を読めなかったため、それ自身の multi_agent_v2 を確認できません。", "$ USD": "$ 米ドル", @@ -16814,7 +16814,7 @@ const I18N = { "Codex app": "Codex-App", "Codex editor extension": "Codex-Erweiterung im Editor", "Codex in WSL": "Codex in WSL", - "Codex, Claude Code and Grok Build compact at 272K (non-Claude [1m] too) or the size typed, on magpie's models only; a subscription's own models keep their own window and compaction; full window: slower, costlier": "Codex/Claude Code/Grok Build komprimieren bei 272K (auch [1m] außer Claude) oder hier, nur für magpie-Modelle; Modelle eines Abos behalten ihr eigenes Fenster und ihre eigene Komprimierung; volles Fenster: teurer", + "Codex, Claude Code and Grok Build compact at 272K or the size typed; the full window is slower and costlier. magpie's models only: a subscription's own models keep their own.": "Codex, Claude Code und Grok Build komprimieren bei 272K oder der eingegebenen Größe; das volle Fenster ist langsamer und teurer. Nur für magpie-Modelle: Modelle eines Abos bleiben unverändert.", "Compact at {n}": "Bei {n} komprimieren", "Codex thread titles": "Codex-Thread-Titel", "Codex thread descriptions": "Codex-Thread-Beschreibungen", @@ -16828,8 +16828,8 @@ const I18N = { "Same as the session": "Wie die Sitzung", "Codex memories model": "Codex-Modell für Erinnerungen", "Same as the lead": "Wie der Haupt-Agent", - "The lead picks each subagent's model, one of Codex's own too; one it names none for runs on the lead's model ({model}). A resumed subagent stays on the model it started on. Same as the lead, or a model picked here, holds every subagent to it, even when the lead names another.": "Der Haupt-Agent wählt das Modell jedes Subagenten, auch eines von Codex selbst; nennt er keins, läuft der Subagent auf dem Modell des Haupt-Agenten ({model}). Ein fortgesetzter Subagent bleibt auf seinem ersten Modell. „Wie der Haupt-Agent“ oder ein hier gewähltes Modell legt alle Subagenten darauf fest, auch wenn der Haupt-Agent ein anderes nennt.", - "The lead picks each subagent's model, one of Codex's own too; one it names none for runs on the lead's model. A resumed subagent stays on the model it started on. Same as the lead, or a model picked here, holds every subagent to it, even when the lead names another.": "Der Haupt-Agent wählt das Modell jedes Subagenten, auch eines von Codex selbst; nennt er keins, läuft der Subagent auf dem Modell des Haupt-Agenten. Ein fortgesetzter Subagent bleibt auf seinem ersten Modell. „Wie der Haupt-Agent“ oder ein hier gewähltes Modell legt alle Subagenten darauf fest, auch wenn der Haupt-Agent ein anderes nennt.", + "The lead picks each subagent's model, or the lead's own ({model}) if it names none. Pick one here to use it for every subagent.": "Der Haupt-Agent wählt das Modell jedes Subagenten, sonst gilt sein eigenes ({model}). Ein hier gewähltes Modell nutzen alle Subagenten.", + "The lead picks each subagent's model, or the lead's own if it names none. Pick one here to use it for every subagent.": "Der Haupt-Agent wählt das Modell jedes Subagenten, sonst gilt sein eigenes. Ein hier gewähltes Modell nutzen alle Subagenten.", "Every subagent runs on this model, even when the lead names another. Lead's pick lets the lead choose again.": "Alle Subagenten laufen auf diesem Modell, auch wenn der Haupt-Agent ein anderes nennt. „Wahl des Haupt-Agenten“ lässt ihn wieder wählen.", "Every subagent runs on the lead's model ({model}), even when the lead names another. Lead's pick lets the lead choose again.": "Alle Subagenten laufen auf dem Modell des Haupt-Agenten ({model}), auch wenn der Haupt-Agent ein anderes nennt. „Wahl des Haupt-Agenten“ lässt ihn wieder wählen.", "Every subagent runs on the lead's model, even when the lead names another. Lead's pick lets the lead choose again.": "Alle Subagenten laufen auf dem Modell des Haupt-Agenten, auch wenn der Haupt-Agent ein anderes nennt. „Wahl des Haupt-Agenten“ lässt ihn wieder wählen.", @@ -16843,7 +16843,7 @@ const I18N = { "In {provider}'s editor, on the Providers page": "Im Editor von {provider}, auf der Seite Anbieter", "no title, nothing sent": "kein Titel, nichts gesendet", "no description, nothing sent": "keine Beschreibung, nichts gesendet", - "A GPT lead spawns subagents on magpie’s other models. New threads only; Codex’s own multi_agent_v2 still wins": "Ein leitendes GPT startet Subagenten auf anderen magpie-Modellen. Nur neue Threads; Codex’ eigenes multi_agent_v2 hat Vorrang", + "A GPT lead can start subagents on magpie’s other models. New threads only.": "Ein leitendes GPT kann Subagenten auf anderen magpie-Modellen starten. Nur neue Threads.", "Codex's own multi_agent_v2 is on in the config magpie routes, which takes over the multi-agent V1 magpie's models ask for; turn it off in Codex's config to run subagents on magpie's models.": "Codex' eigenes multi_agent_v2 ist in der von magpie gerouteten Konfiguration an und überstimmt so das multi-agent V1, das magpie-Modelle brauchen; schalte es in Codex' Konfiguration aus, damit Subagenten auf magpie-Modellen laufen.", "Codex's multi-agent V1 is on, but magpie couldn't read Codex's config to check its own multi_agent_v2.": "Codex' multi-agent V1 ist an, aber magpie konnte Codex' Konfiguration nicht lesen, um dessen eigenes multi_agent_v2 zu prüfen.", "$ USD": "$ USD", diff --git a/internal/gui/assets/index.html b/internal/gui/assets/index.html index d1800fe4d..c1966ba47 100644 --- a/internal/gui/assets/index.html +++ b/internal/gui/assets/index.html @@ -545,7 +545,7 @@