diff --git a/internal/gui/assets/app.js b/internal/gui/assets/app.js index cacde1f76..fc8dd3daf 100644 --- a/internal/gui/assets/app.js +++ b/internal/gui/assets/app.js @@ -21104,6 +21104,19 @@ function renderSettings() { (v) => savePrefs({ ...keep, noWSLAgents: v === "off" }))); renderSessionTerminal(s, keep); renderBarIcon(); + // what each row does, kept in its tooltip, the row saying its name + // alone as Settings › General does (#2120); Open at login's says where + // the Mac lists it: a launch agent, under App Background Activity + for (const [row, en] of [ + ["#codexTitlesRow", "Names each thread in a hidden request of its own; at Codex’s own, it goes as Codex sends it, through its ChatGPT sign-in"], + ["#codexDescriptionsRow", "Writes each thread’s short description in a hidden request of its own; at Codex’s own, it goes as Codex sends it, through its ChatGPT sign-in"], + ["#codexPredictionsRow", "Guesses your next message for the composer, reading the whole conversation again each time; at Codex’s own, it goes on the thread’s model through its ChatGPT sign-in"], + ["#codexAutoReviewRow", "Decides an approval in your place when Codex’s approvals are on auto-review; Codex’s own pick is codex-auto-review, else the conversation’s model at low effort"], + ["#codexMemoriesRow", "Writes Codex’s memories of past threads, in the background; Codex’s own: gpt-5.6-terra, with gpt-5.6-luna summing up each thread"], + ["#loginRow", document.body.classList.contains("mac") + ? "Opens in the menu bar with no window. System Settings › General › Login Items lists it under App Background Activity, not Open at Login" + : "Opens in the tray with no window"], + ]) $(row + " .who").title = t(en); // the system's record, set on its own, not with the other choices $("#loginSegs").replaceChildren(segs([["off", t("Off")], ["on", t("On")]], s.login ? "on" : "off", (v) => writingPrefs(api("settings/login", { on: v === "on" })).then((ns) => { prefs = ns; renderSettings(); }).catch((e) => { status(t(e.message), "err"); renderSettings(); }))); diff --git a/internal/gui/assets/i18n.js b/internal/gui/assets/i18n.js index 0db952d99..33cc48c67 100644 --- a/internal/gui/assets/i18n.js +++ b/internal/gui/assets/i18n.js @@ -776,7 +776,14 @@ const I18N = { "Now on: magpie web was started with --gateway": "当前开启:magpie web 以 --gateway 启动", "Now on: no agents on this computer": "当前开启:本机没有 Agent", "Now off: agents found on this computer": "当前关闭:本机找到了 Agent", - "A closed panel or window frees about 100 MB after a minute; opening it loads it again": "面板或窗口关闭一分钟后释放约 100 MB,再次打开时重新加载", + "A closed window frees about 100 MB after a minute; the gateway and tasks keep running, only the page reloads": "窗口关闭一分钟后释放约 100 MB;网关和后台任务照常运行,只重新加载页面", + "Names each thread in a hidden request of its own; at Codex’s own, it goes as Codex sends it, through its ChatGPT sign-in": "为每个会话起标题,是 Codex 单独发出的隐藏请求;选 Codex 自带时按 Codex 原样发送,经它的 ChatGPT 登录", + "Writes each thread’s short description in a hidden request of its own; at Codex’s own, it goes as Codex sends it, through its ChatGPT sign-in": "为每个会话写简短描述,是 Codex 单独发出的隐藏请求;选 Codex 自带时按 Codex 原样发送,经它的 ChatGPT 登录", + "Guesses your next message for the composer, reading the whole conversation again each time; at Codex’s own, it goes on the thread’s model through its ChatGPT sign-in": "为输入框猜测你的下一条消息,每次都把整段对话重读一遍;选 Codex 自带时用该会话的模型,经它的 ChatGPT 登录", + "Decides an approval in your place when Codex’s approvals are on auto-review; Codex’s own pick is codex-auto-review, else the conversation’s model at low effort": "Codex 的审批设为自动审批时,代你决定是否批准;由 Codex 决定时用 codex-auto-review,没有则用当前对话的模型(低推理)", + "Writes Codex’s memories of past threads, in the background; Codex’s own: gpt-5.6-terra, with gpt-5.6-luna summing up each thread": "在后台把过去的会话整理成 Codex 的记忆;Codex 自带的:整理用 gpt-5.6-terra,总结对话用 gpt-5.6-luna", + "Opens in the menu bar with no window. System Settings › General › Login Items lists it under App Background Activity, not Open at Login": "登录后在菜单栏打开,不弹出窗口。系统设置 › 通用 › 登录项 里,它列在「App后台活动」下,而不是「登录时打开」", + "Opens in the tray with no window": "登录后在托盘打开,不弹出窗口", "With window": "跟随窗口", "Proxy": "代理", "Proxy address": "代理地址", @@ -4973,7 +4980,14 @@ const I18N = { "Now on: magpie web was started with --gateway": "目前開啟:magpie web 以 --gateway 啟動", "Now on: no agents on this computer": "目前開啟:本機沒有 Agent", "Now off: agents found on this computer": "目前關閉:本機找到了 Agent", - "A closed panel or window frees about 100 MB after a minute; opening it loads it again": "面板或視窗關閉一分鐘後釋放約 100 MB,再次開啟時重新載入", + "A closed window frees about 100 MB after a minute; the gateway and tasks keep running, only the page reloads": "視窗關閉一分鐘後釋放約 100 MB;閘道與背景作業照常執行,只重新載入頁面", + "Names each thread in a hidden request of its own; at Codex’s own, it goes as Codex sends it, through its ChatGPT sign-in": "為每個會話起標題,是 Codex 單獨發出的隱藏請求;選 Codex 自帶時按 Codex 原樣發送,經它的 ChatGPT 登入", + "Writes each thread’s short description in a hidden request of its own; at Codex’s own, it goes as Codex sends it, through its ChatGPT sign-in": "為每個會話寫簡短描述,是 Codex 單獨發出的隱藏請求;選 Codex 自帶時按 Codex 原樣發送,經它的 ChatGPT 登入", + "Guesses your next message for the composer, reading the whole conversation again each time; at Codex’s own, it goes on the thread’s model through its ChatGPT sign-in": "為輸入框猜測你的下一則訊息,每次都把整段對話重讀一遍;選 Codex 自帶時用該會話的模型,經它的 ChatGPT 登入", + "Decides an approval in your place when Codex’s approvals are on auto-review; Codex’s own pick is codex-auto-review, else the conversation’s model at low effort": "Codex 的審批設為自動審批時,代你決定是否批准;由 Codex 決定時用 codex-auto-review,沒有則用目前對話的模型(低推理)", + "Writes Codex’s memories of past threads, in the background; Codex’s own: gpt-5.6-terra, with gpt-5.6-luna summing up each thread": "在背景把過去的會話整理成 Codex 的記憶;Codex 自帶的:整理用 gpt-5.6-terra,總結對話用 gpt-5.6-luna", + "Opens in the menu bar with no window. System Settings › General › Login Items lists it under App Background Activity, not Open at Login": "登入後在選單列開啟,不彈出視窗。系統設定 › 一般 › 登入項目 裡,它列在「App背景活動」下,而不是「在登入時打開」", + "Opens in the tray with no window": "登入後在系統匣開啟,不彈出視窗", "With window": "跟隨視窗", "Proxy": "代理", "Proxy address": "代理位址", @@ -9136,7 +9150,14 @@ const I18N = { "Now on: magpie web was started with --gateway": "現在オン:magpie web が --gateway で起動されています", "Now on: no agents on this computer": "現在オン:このコンピューターにエージェントがありません", "Now off: agents found on this computer": "現在オフ:このコンピューターにエージェントがあります", - "A closed panel or window frees about 100 MB after a minute; opening it loads it again": "閉じたパネルやウィンドウは 1 分後に約 100 MB を解放し、開くと読み込み直します", + "A closed window frees about 100 MB after a minute; the gateway and tasks keep running, only the page reloads": "閉じたウィンドウは 1 分後に約 100 MB を解放。ゲートウェイと処理は動き続け、ページだけ読み込み直します", + "Names each thread in a hidden request of its own; at Codex’s own, it goes as Codex sends it, through its ChatGPT sign-in": "各スレッドに題名を付ける、Codex 独自の隠れたリクエスト。Codex 自身なら Codex が送るとおり、その ChatGPT サインインで送られます", + "Writes each thread’s short description in a hidden request of its own; at Codex’s own, it goes as Codex sends it, through its ChatGPT sign-in": "各スレッドの短い説明を書く、Codex 独自の隠れたリクエスト。Codex 自身なら Codex が送るとおり、その ChatGPT サインインで送られます", + "Guesses your next message for the composer, reading the whole conversation again each time; at Codex’s own, it goes on the thread’s model through its ChatGPT sign-in": "入力欄に次のメッセージを予測し、そのたびに会話全体を読み直します。Codex 自身ならスレッドのモデルで、その ChatGPT サインインで送られます", + "Decides an approval in your place when Codex’s approvals are on auto-review; Codex’s own pick is codex-auto-review, else the conversation’s model at low effort": "Codex の承認が自動レビューのとき、あなたの代わりに承認を判断します。Codex に任せると codex-auto-review、なければ会話のモデル(低い推論)", + "Writes Codex’s memories of past threads, in the background; Codex’s own: gpt-5.6-terra, with gpt-5.6-luna summing up each thread": "過去のスレッドを Codex のメモリにバックグラウンドでまとめます。Codex の初期設定:整理は gpt-5.6-terra、スレッドの要約は gpt-5.6-luna", + "Opens in the menu bar with no window. System Settings › General › Login Items lists it under App Background Activity, not Open at Login": "ログイン後、ウィンドウなしでメニューバーに開きます。システム設定 › 一般 › ログイン項目では「ログイン時に開く」ではなく「アプリのバックグラウンドでのアクティビティ」に表示されます", + "Opens in the tray with no window": "ログイン後、ウィンドウなしでトレイに開きます", "With window": "ウィンドウと連動", "Proxy": "プロキシ", "Proxy address": "プロキシアドレス", @@ -13317,7 +13338,14 @@ const I18N = { "Now on: magpie web was started with --gateway": "Jetzt an: magpie web wurde mit --gateway gestartet", "Now on: no agents on this computer": "Jetzt an: keine Agenten auf diesem Computer", "Now off: agents found on this computer": "Jetzt aus: Agenten auf diesem Computer gefunden", - "A closed panel or window frees about 100 MB after a minute; opening it loads it again": "Ein geschlossenes Panel oder Fenster gibt nach einer Minute etwa 100 MB frei und lädt beim Öffnen neu", + "A closed window frees about 100 MB after a minute; the gateway and tasks keep running, only the page reloads": "Ein geschlossenes Fenster gibt nach einer Minute etwa 100 MB frei; Gateway und Aufgaben laufen weiter", + "Names each thread in a hidden request of its own; at Codex’s own, it goes as Codex sends it, through its ChatGPT sign-in": "Benennt jeden Thread in einer eigenen versteckten Anfrage; bei „Eigene von Codex“ geht sie, wie Codex sie sendet, über seine ChatGPT-Anmeldung", + "Writes each thread’s short description in a hidden request of its own; at Codex’s own, it goes as Codex sends it, through its ChatGPT sign-in": "Schreibt die Kurzbeschreibung jedes Threads in einer eigenen versteckten Anfrage; bei „Eigene von Codex“ geht sie, wie Codex sie sendet, über seine ChatGPT-Anmeldung", + "Guesses your next message for the composer, reading the whole conversation again each time; at Codex’s own, it goes on the thread’s model through its ChatGPT sign-in": "Errät Ihre nächste Nachricht fürs Eingabefeld und liest dafür jedes Mal das ganze Gespräch neu; bei „Eigene von Codex“ mit dem Modell des Threads über seine ChatGPT-Anmeldung", + "Decides an approval in your place when Codex’s approvals are on auto-review; Codex’s own pick is codex-auto-review, else the conversation’s model at low effort": "Entscheidet eine Freigabe an Ihrer Stelle, wenn Codex’ Freigaben auf Auto-Review stehen; „Wie Codex es wählt“ ist codex-auto-review, sonst das Modell des Gesprächs mit wenig Reasoning", + "Writes Codex’s memories of past threads, in the background; Codex’s own: gpt-5.6-terra, with gpt-5.6-luna summing up each thread": "Schreibt im Hintergrund Codex’ Erinnerungen an frühere Threads; Codex’ eigenes: gpt-5.6-terra, Threads zusammengefasst mit gpt-5.6-luna", + "Opens in the menu bar with no window. System Settings › General › Login Items lists it under App Background Activity, not Open at Login": "Öffnet sich in der Menüleiste, ohne Fenster. Systemeinstellungen › Allgemein › Anmeldeobjekte führt es unter „App-Hintergrundaktivitäten“, nicht unter „Bei der Anmeldung öffnen“", + "Opens in the tray with no window": "Öffnet sich im Infobereich, ohne Fenster", "With window": "Mit Fenster", "Proxy": "Proxy", "Proxy address": "Proxy-Adresse", diff --git a/internal/gui/assets/index.html b/internal/gui/assets/index.html index 58628a912..0a787d2e3 100644 --- a/internal/gui/assets/index.html +++ b/internal/gui/assets/index.html @@ -338,7 +338,7 @@
Codex memories model
-
+
Open at login
@@ -347,7 +347,7 @@
diff --git a/internal/gui/tests/lightweight.test.cjs b/internal/gui/tests/lightweight.test.cjs index 2f2517a00..376f13d5f 100644 --- a/internal/gui/tests/lightweight.test.cjs +++ b/internal/gui/tests/lightweight.test.cjs @@ -13,8 +13,8 @@ const { watchSettingsReads, settingsDrawn } = require("./reader.cjs"); const assets = path.resolve(__dirname, "../assets"); const words = { - en: { name: "Lightweight mode", sub: "A closed panel or window frees about 100 MB after a minute; opening it loads it again", on: "On", off: "Off" }, - zh: { name: "轻量模式", sub: "面板或窗口关闭一分钟后释放约 100 MB,再次打开时重新加载", on: "开启", off: "关闭" }, + en: { name: "Lightweight mode", sub: "A closed window frees about 100 MB after a minute; the gateway and tasks keep running, only the page reloads", on: "On", off: "Off" }, + zh: { name: "轻量模式", sub: "窗口关闭一分钟后释放约 100 MB;网关和后台任务照常运行,只重新加载页面", on: "开启", off: "关闭" }, }; function serve(lang, web, posted, st) {