From bceeabd93a9ea55c925efe4ecaddd31829c3aa2f Mon Sep 17 00:00:00 2001 From: yetone Date: Sun, 8 Nov 2026 03:29:20 +0800 Subject: [PATCH] gui: a subscription's warm-up, check-in and resets are in its provider's editor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The owner, 11-07: "这些配置难道不是应该在对应的Provider那个弹窗里面吗?为什么会散落在Settings里?" Settings › Allowances no longer holds Codex's auto-use resets and how early before one expires, Codex's and Claude's warm-ups, or the daily check-in of WorkBuddy, Trae CN, MiniMax, Qoder and the plugins that check in themselves. Each is in its own provider's editor (PROV_PREFS: the lists move from a hidden holder into the editor's .prov-prefs box and back). Settings' search still finds them, each a row whose Open goes to the editor. Task-done alerts stay in Settings. "Codex: auto-use resets" and "Codex: how early before one expires" lose their "Codex:" in the editor. In the editor a press inside a part that redraws moved the page: the modal hold moved the dialog, which can't move once it meets the window's edge, and lost a pressed element a redraw replaced. The hold now scrolls the editor's body by what is left, and finds the replacement by its path or by tag, class and text under its id'd ancestor. In a browser the editor's body keeps its bar's room, as the app's already did: WebKit kept the grid's columns from before a bar that came with a grown field, and the editor scrolled 10px sideways. Budget: app.js grew with the editor's parts; paid for by comments cut (curlOf, scrollCloses, unrollSheet, quotaRange, ledGroupSpeed, the Settings tabs, the warm-up and fold notes), no raise. Run at this head (704fd85f3 before this message, on origin/main): - mote: go test -count=1 ./internal/gui/ ok (TestCoreScriptBudget included); go vet ./..., GOOS=windows go vet ./... and GOOS=linux go vet -tags nogui ./... clean. - mote: settings-groups and i18n-keys GUI files. i18n-keys' "a plugin's words are its own" fails the same on origin/main (#5332, #5327, #5482). - WSL, both engines, the files this can reach, mine vs origin/main 8544d5fdb: before the rebase, settings-groups was the one red only here (fixed: it now asserts the pressed field stays under the pointer). The nine files of account, Codex and editor tests rerun at load ~60 fail on both sides with WebKit "access control checks" page errors and measured sizes; the sets differ by which language/width hit the load, none by a cause in this change. editor-advanced-align is red on main too. - Broken by hand: the hold following the pressed element itself (models-fold and names-fold moved +402px), and updating modalHold.y before the cap (provider-remove kept the dialog at 5.89px); both reverted. Not run: the whole GUI suite to the end (stopped after ~4500 tests at load 61 on WSL; mote dropped ssh mid-run). --- internal/gui/assets/app.css | 30 +- internal/gui/assets/app.js | 346 ++++++++++-------- internal/gui/assets/autoresetown.js | 8 +- internal/gui/assets/i18n.js | 96 ++--- internal/gui/assets/index.html | 137 ++++--- internal/gui/core_budget_test.go | 2 +- internal/gui/tests/agent-prefs.test.cjs | 6 +- internal/gui/tests/checkin-account.test.cjs | 44 +-- .../gui/tests/checkin-now-account.test.cjs | 75 ++-- .../gui/tests/checkin-reason-once.test.cjs | 22 +- internal/gui/tests/checkin-reason.test.cjs | 20 +- .../tests/codex-auto-reset-settings.test.cjs | 64 ++-- internal/gui/tests/codex-reset-lead.test.cjs | 42 ++- internal/gui/tests/plugin-checkin.test.cjs | 74 ++-- internal/gui/tests/provider-prefs.test.cjs | 119 ++++++ .../gui/tests/providers-reset-use.test.cjs | 31 +- internal/gui/tests/reader.cjs | 44 ++- internal/gui/tests/routing-js.test.cjs | 3 + internal/gui/tests/segs-press-redraw.test.cjs | 52 +-- internal/gui/tests/settings-groups.test.cjs | 296 ++++++--------- internal/gui/tests/settings-search.test.cjs | 42 ++- internal/gui/tests/settings-sections.test.cjs | 5 +- internal/gui/tests/sidebar-tab-top.test.cjs | 4 +- internal/gui/tests/usage-alert.test.cjs | 11 +- internal/gui/tests/usage-checkin.test.cjs | 53 ++- internal/gui/tests/warm-at-own.test.cjs | 30 +- internal/gui/tests/warm-at-times.test.cjs | 29 +- internal/gui/tests/warm-now.test.cjs | 47 +-- 28 files changed, 938 insertions(+), 794 deletions(-) create mode 100644 internal/gui/tests/provider-prefs.test.cjs diff --git a/internal/gui/assets/app.css b/internal/gui/assets/app.css index d4af3a7d3..aa89607d5 100644 --- a/internal/gui/assets/app.css +++ b/internal/gui/assets/app.css @@ -637,7 +637,9 @@ body.mac .modal .editor.framed > .ebody { overflow-y: scroll; padding-right: 10p (an advanced section, a long error) no longer narrows the body under it */ body:not(.mac):not(.web) .modal .editor.framed > .ebody { overflow-y: scroll; padding-right: 8px; } /* in a browser too: WebKit gave a redrawn body its bar a frame late, so a - row wrapped and a place kept at the bottom moved 48px */ + row wrapped and a place kept at the bottom moved 48px, and kept the grid's + columns as they were before a bar that came with a grown field, so the + editor scrolled 10px sideways */ body.web .modal .editor.framed > .ebody { overflow-y: scroll; } .list { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; flex: none; } body.panel .list { border: 0; border-radius: 10px; box-shadow: var(--card-edge); } @@ -646,7 +648,7 @@ body.window .row { min-height: 48px; padding: 7px 12px 7px 14px; gap: 12px; } .row + .row, .editor + .row, .row + .editor { border-top: 1px solid var(--line-2); } /* Settings' agent-pref link box sits between two rows, empty but for a search: the row after it, and its own first row, still get their line (the owner, 10-22) */ -#agentPrefLinks + .row, .row + #agentPrefLinks > .row:first-child { border-top: 1px solid var(--line-2); } +#agentPrefLinks + .row, .row + :is(#agentPrefLinks, #provPrefLinks) > .row:first-child { border-top: 1px solid var(--line-2); } .row .ic { width: 18px; height: 18px; } body.window .row .ic { width: 22px; height: 22px; } .row .name { font-weight: 500; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } @@ -3663,15 +3665,13 @@ body.window .ag-sk-icon { width: 22px; height: 22px; border-radius: 6px; } /* ---------- settings ---------- */ #view-settings .row-head { margin: 4px 0 6px; padding: 0 2px; } #view-settings .row-head + .list { margin-bottom: 8px; } -/* the warm-ups and check-in: a tab per service where a heading would be, - in the headings' small capitals, the one picked darker on a soft pill, - the picked one's card alone under them */ +/* the parts' tabs: in the headings' small capitals, the one picked darker + on a soft pill */ .warm-tabs { display: flex; align-items: center; gap: 2px; margin-left: -7px; } .warm-tabs button { height: 22px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); transition: color .12s, background-color .12s; } .warm-tabs button:hover:not(.on) { color: var(--fg-2); } .warm-tabs button.on { color: var(--fg); background: var(--pill); } .warm-tabs button[hidden] { display: none; } -.warm-panes { margin-bottom: 8px; } /* the page's parts (#471): a tab each at the top in the same look, a line more when they don't fit across (a narrow window, a larger text size), the part picked alone under them */ @@ -3707,10 +3707,6 @@ body:not(.side-nav) #view-settings .set-head.stuck::before { box-shadow: 0 1px 0 .set-searching .set-tabs { display: none; } .set-searching .set-q { flex: 1 1 100%; width: 100%; margin-left: 0; } .set-searching .set-miss { display: none !important; } -.set-searching .warm-panes > [role="tabpanel"]:not(.set-miss)[hidden] { display: block !important; } -.set-searching .warm-panes { margin-bottom: 0; } -.set-searching .warm-panes > [role="tabpanel"] { margin-bottom: 8px; } -.set-searching .warm-panes > [role="tabpanel"]::before { content: attr(data-agent); display: block; padding: 6px 11px 0; font-size: 11px; font-weight: 600; color: var(--muted); } .set-searching .set-page::before { content: attr(data-part); display: block; margin: 4px 2px 6px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); } .set-none { margin: 18px 2px; font-size: 13px; color: var(--muted); text-align: center; } .set-page > .list:not(:last-child) { margin-bottom: 8px; } @@ -3909,7 +3905,7 @@ input.words.compact-num { flex: none; width: 76px; font-variant-numeric: tabular #view-settings .row.pref:not(.feat-set) { box-sizing: content-box; min-height: 27px; } /* 51 with its padding, a line above it outside */ /* Check in now's result comes under its name and the row grows down, its button held where it was pressed */ - #view-settings .ci-now-row { align-items: flex-start; } + :is(#view-settings, .prov-prefs) .ci-now-row { align-items: flex-start; } } .set-hint { position: fixed; z-index: 60; max-width: min(380px, calc(100vw - 32px)); padding: 8px 11px; border-radius: 9px; background: var(--pop-bg); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); font-size: 12px; line-height: 1.45; color: var(--fg-2); overflow-wrap: anywhere; pointer-events: none; opacity: 0; transform: translateY(-2px); transition: opacity .14s ease, transform .14s ease; } .set-hint.on { opacity: 1; transform: none; } @@ -4942,8 +4938,18 @@ body .row.agent .ag-prefs .row.pref .who { display: block; } :is(.ag-prefs, .agent-prefs) .row.pref { flex-wrap: wrap; row-gap: 8px; } :is(.ag-prefs, .agent-prefs) .row.pref .who { flex: 1 1 240px; min-width: 0; } :is(.ag-prefs, .agent-prefs) .compact-at { flex: 0 1 auto; min-width: 0; flex-wrap: wrap; row-gap: 6px; } +/* a subscription's warm-ups, check-in and resets (PROV_PREFS), in its + provider's editor across both columns from where the fields start, a + card each, their lines wrapped as an agent's are */ +.editor .prov-prefs { grid-column: 1 / -1; margin-left: var(--ed-at, 86px); display: flex; flex-direction: column; gap: 8px; min-width: 0; } +.editor .prov-prefs[hidden] { display: none; } +.prov-prefs .list.prefs { margin: 0; } +.prov-prefs .list.prefs[hidden] { display: none; } +.prov-prefs .row.pref .sub { white-space: normal; } +.prov-prefs .row.pref { flex-wrap: wrap; row-gap: 8px; } +.prov-prefs .row.pref .who { flex: 1 1 240px; min-width: 0; } /* Settings' search finds them; not searching, the links stay out */ -#view-settings:not(.set-searching) #agentPrefLinks { display: none; } +#view-settings:not(.set-searching) :is(#agentPrefLinks, #provPrefLinks) { display: none; } /* a provider's rate windows (#2463): the editor's rows, a day chip each, a span and a rate beside them */ diff --git a/internal/gui/assets/app.js b/internal/gui/assets/app.js index 682b81c3c..8890e6cc6 100644 --- a/internal/gui/assets/app.js +++ b/internal/gui/assets/app.js @@ -6202,6 +6202,8 @@ function renderProviders(quiet) { const onList = $("#providers"), offList = $("#offProviders"); onList.replaceChildren(); offList.replaceChildren(); + homeProvPrefRows(); // an editor's warm-ups and check-in, back in the page + provPrefMount = null; $("#foldOff").title = t(offFolded ? "Show the providers turned off" : "Fold the providers turned off away"); let dialog = null; // the editor, if one is open for (const p of providers.providers) { @@ -8848,6 +8850,33 @@ function modalMark(a) { // a new place to hold lets go of the last one's cap, at the next change if (a !== modalHold.at) modalHold.cap = null; modalHold.at = a; modalHold.y = y; + // its place, its parts' scroll left out + modalHold.screen = modalHold.off + y + modalScrolled(a); + // its way down from its id'd part and from the dialog, for a redraw + const way = (top) => { const p = []; for (let n = a; n !== top; n = n.parentElement) p.unshift([...n.parentElement.children].indexOf(n)); return p; }; + const own = a.parentElement?.closest("[id]"); + modalHold.ways = [...(own && own !== d && d.contains(own) ? [[own.id, way(own)]] : []), ["", way(d)]]; +} +// the copy a redraw put for the pressed element: where it was, alike and +// saying the same (standIn) +function modalStandIn(d) { + const a = modalHold.at, said = a?.textContent.trim(); + for (const [id, p] of modalHold.ways || []) { + const top = id ? d.querySelector("#" + CSS.escape(id)) : d; + const s = top && p.reduce((n, i) => n?.children[i], top); + if (s && a && s.tagName === a.tagName && s.classList[0] === a.classList[0] && s.textContent.trim() === said) return s; + } + // or moved among its own (a time's field gone before Off) + const [id] = modalHold.ways?.[0] || [], top = id && d.querySelector("#" + CSS.escape(id)); + if (!top || !a || !said) return null; // a field, an icon: nothing to tell it by + const same = [...top.getElementsByTagName(a.tagName)].filter((s) => s.classList[0] === a.classList[0] && s.textContent.trim() === said); + return same.length === 1 ? same[0] : null; +} +// how far an element's parts are scrolled +function modalScrolled(a) { + let s = 0; + for (let x = a?.parentElement; x && x.id !== "modal"; x = x.parentElement) s += x.scrollTop; + return s; } const modalCap = () => modalHold.cap == null ? `calc(100% - ${modalHold.off}px)` : `min(calc(100% - ${modalHold.off}px), ${modalHold.cap}px)`; function holdModal(later) { @@ -8855,7 +8884,11 @@ function holdModal(later) { if (m.hidden || !m.classList.contains("held")) return; // what was pressed, or failing that what has the focus (a redraw swaps // the pressed element for its copy, and gives that copy the focus) - let y = modalDepth(modalHold.at, d); + let y = modalDepth(modalHold.at, d), stood = false; + if (y == null && !modalHold.at?.isConnected) { + const s = modalStandIn(d); + if (s) { modalHold.at = s; y = modalDepth(s, d); stood = y != null; } + } if (y == null && d.contains(document.activeElement)) { modalHold.at = document.activeElement; y = modalDepth(modalHold.at, d); } const want = modalHold.off + (y == null ? 0 : modalHold.y - y); const c = getComputedStyle(m), h = d.getBoundingClientRect().height; @@ -8872,6 +8905,7 @@ function holdModal(later) { d.style.maxHeight = "100%"; modalHold.capSet = ""; if (y != null) modalHold.y = modalDepth(modalHold.at, d) ?? y; + modalHold.screen = modalHold.off + modalHold.y + modalScrolled(modalHold.at); return; } // grown to the window's foot it stays, capped there, its fields scrolling; @@ -8884,11 +8918,29 @@ function holdModal(later) { } d.style.top = modalHold.off + "px"; const cap = () => { - if (!m.classList.contains("held") || modalCap() === modalHold.capSet) return; - d.style.maxHeight = modalHold.capSet = modalCap(); + if (m.classList.contains("held") && modalCap() !== modalHold.capSet) d.style.maxHeight = modalHold.capSet = modalCap(); + // at the window's edge, a redrawn copy of the pressed element is held + // by scrolling its part; the element itself pushed down (a fold's + // button) stays. In content terms, so a scroll put back is no move + const at = modalHold.at; + if (y == null || !at?.isConnected) return; + const now = modalDepth(at, d); + if (now == null) return; + const at0 = modalHold.off + now + modalScrolled(at); + if (!stood || modalHold.screen == null) { modalHold.screen = at0; return; } + const by = at0 - modalHold.screen; + if (Math.abs(by) < 0.5) return; + for (let x = at.parentElement; x && x !== m; x = x.parentElement) { + if (x.scrollHeight <= x.clientHeight || !/auto|scroll/.test(getComputedStyle(x).overflowY)) continue; + x.scrollTop += by; + modalHold.y = modalDepth(at, d) ?? modalHold.y; + modalHold.screen = modalHold.off + modalHold.y + modalScrolled(at); + return; + } }; if (later) requestAnimationFrame(cap); else cap(); + // measured once the cap is set, which can move it if (y != null) modalHold.y = modalDepth(modalHold.at, d) ?? y; } { @@ -8944,7 +8996,7 @@ function openModal(content, quiet) { m.classList.remove("held"); d.style.top = d.style.maxHeight = ""; modalHold.off = d.offsetTop - parseFloat(getComputedStyle(m).paddingTop); - modalHold.at = modalHold.cap = null; + modalHold.at = modalHold.cap = modalHold.screen = null; modalHold.touched = false; m.classList.add("held"); d.style.top = modalHold.off + "px"; @@ -9482,6 +9534,7 @@ function drawEditor(p, presetID) { ed.append(...pluginOptionsField(subOf(a.agent), true)); if ((a.logins || []).filter((l) => l.active || l.on).length > 1) ed.append(...renderRouting(p)); if (p.move) ed.append(...renderMove(p)); + ed.append(...provPrefsField(a.agent)); } else { const acct = el("div", "acct"); acct.append(icon(a.agentIcon), el("span", "n", a.user), hideAccounts.eye(a.user, p.id), el("span", "plan", accountPlan(a))); @@ -15124,15 +15177,8 @@ function closeProtoMenu() { protoMenu = null; done?.(); } -// scrollCloses says whether a scroll closes the app menu in box: one of the -// reader's outside it does. A view scrolled by anything else (code, the -// browser bringing what was clicked into sight, a scroll whose event comes -// in the frame after the click) is put back by the click guard, which holds -// the menu's anchor where it was, so the menu stays beside it. So is the -// guard's own scroll that brings the clicked anchor back into sight before -// the menu opens (guardUntil). At phone width a menu low on a page opened -// shut again at once: the Gateway page's Connect address in magpie web, -// whose header takes two rows. +// scrollCloses: only the reader's scroll outside box closes the menu; any +// other is put back by the click guard (guardUntil) function scrollCloses(box, e) { if (box.contains(e.target)) return false; // a box scrolling its own text (a long one goes back to its start as it @@ -15300,16 +15346,9 @@ function respellURL(u, api) { return /\/v\d+[a-z]*$/.test(u) || !/^https?:\/\/[^/]+$/.test(u) ? u : u + "/v1"; } -// curlOf reads a curl command pasted whole, as a vendor's docs show it -// (@mark_li21 on X: 能支持通过curl例子直接导入provider不?), into what a -// provider's editor takes: the API its URL's endpoint names (…/chat/ -// completions OpenAI's chat, …/messages Anthropic's, …/responses OpenAI's -// Responses) and the base URL that API is asked at (respellURL), the key -// from Authorization: Bearer, x-api-key or api-key, and the model of its -// JSON body. Lines may be joined by \ (sh), ^ (cmd) or ` (PowerShell). A -// key that stands for one ($OPENAI_API_KEY, %KEY%, , YOUR_API_KEY) -// is no key: it is given back as placeholder. null for text that isn't a -// curl command. +// curlOf reads a pasted curl command (@mark_li21) into the editor's API, +// base URL, key and model; a stand-in key ($KEY, ) is the +// placeholder; null if it isn't curl function curlOf(text) { let s = String(text || "").trim(); const head = /^curl(?:\.exe)?(?=\s)/i.exec(s); @@ -15682,14 +15721,9 @@ $("#addSheet").addEventListener("click", (e) => { addReturnPick = e.target.closest("[data-pick]")?.dataset.pick || null; }, true); -// unrollSheet opens a sheet just drawn at the foot of a view from nothing to -// its height, what's in it easing down into place, and takes the view down -// with it until the sheet's top is 12px under the view's. The scroll is led -// by the height, frame by frame, from when the sheet reaches the view's foot -// to when it is whole: it scrolls only into room the sheet has made, so it -// never runs ahead to be held back and jump, nor stops short; and it is -// the view's own scrollTop, which WebKit animates where it won't a smooth -// scrollIntoView. The reader scrolling meanwhile has the view from then on. +// unrollSheet grows a new sheet at a view's foot, scrolling the view by +// the room it has made until its top is 12px under the view's; the reader +// scrolling takes over function unrollSheet(view, sheet, e) { const from = view.scrollTop, room = view.scrollHeight - view.clientHeight; const to = Math.max(from, Math.min(from + sheet.getBoundingClientRect().top - view.getBoundingClientRect().top - 12, room)); @@ -16175,11 +16209,8 @@ function keysMore(provider, n) { }; return b; } -// A card of more than ACCTS_FOLD accounts shows the first ACCTS_SHOWN, any -// in full and the one carrying a check-in switch, the rest behind "Show N -// more accounts" at its foot, as a card of keys does; remembered by -// provider (magpie.usageAcctsAll). The tray panel leaves the ones in brief -// out already. +// over ACCTS_FOLD accounts: the first ACCTS_SHOWN, the rest behind "Show N +// more accounts" (magpie.usageAcctsAll) const ACCTS_FOLD = 8, ACCTS_SHOWN = 5; const usageAcctsAll = new Set(kept("usageAcctsAll", [])); function acctsFolded(subs) { @@ -16482,16 +16513,9 @@ function creditDays(daily, named) { return box; } -// What was left of an account's windows over time (#651), from magpie's -// readings of them (and those of the computers sharing usage with it): a -// line a window, the percent left, broken where the window started again; -// a dashed line from the window's start to its reset is an even burn, and -// a thin upright one is now. "2 days" is the last two days; "Cycle" the -// current cycle of the account's longest window, its start to its reset; -// each account can pick an earlier recorded cycle beside its plot. -// "Off" draws none, on the Usage page or on the tray's cards (ARNO on -// Discord: 额度面板变得非常混乱和难以观看了). One pick in the allowances' -// head turns every card, remembered, and the tray panel follows it. +// windows left over time (#651), broken at each restart, dashed even burn; +// "2 days", "Cycle" (or an earlier one per account), or "Off" (ARNO); one +// pick turns every card, remembered, and the tray follows let quotaRange = "cycle"; try { const v = localStorage.getItem("magpie.quotaRange"); if (v === "2d" || v === "off") quotaRange = v; } catch {} const QUOTA_RANGES = [["off", "Off", "No curves on the cards"], ["2d", "2 days", "The last two days"], ["cycle", "Cycle", "The current cycle, from the window's start to its reset"]]; @@ -18030,7 +18054,7 @@ function autoResetButton(q, c) { state.settings = prefs; status(autoResetStatus(q.user, autoResetWhen(q)), "ok"); renderQuotas(); - if ($("#codexAutoResetRow")) renderAutoResetOwn(prefs); // Settings › Usage says the same + if ($("#codexAutoResetRow")) renderAutoResetOwn(prefs); // Codex's editor says the same } catch (err) { b.disabled = false; statusErr(err); @@ -18123,26 +18147,26 @@ const CHECKINS = { "": { pref: "workbuddyCheckin", api: "workbuddy-checkin", say: "WorkBuddy's daily check-in, the same as checking in from WorkBuddy itself", - on: "On: magpie checks each WorkBuddy (China) account in once a day, as Settings' Daily check-in does. Click to turn it off.", - off: "Check each WorkBuddy (China) account in once a day, as Settings' Daily check-in does", + on: "On: magpie checks each WorkBuddy (China) account in once a day, as its provider's Daily check-in does. Click to turn it off.", + off: "Check each WorkBuddy (China) account in once a day, as its provider's Daily check-in does", }, trae: { pref: "traeCheckin", api: "trae-checkin", say: "Trae CN's daily check-in, the same as checking in from Trae itself", - on: "On: magpie checks each Trae CN account in once a day, as Settings' Daily check-in does. Click to turn it off.", - off: "Check each Trae CN account in once a day, as Settings' Daily check-in does", + on: "On: magpie checks each Trae CN account in once a day, as its provider's Daily check-in does. Click to turn it off.", + off: "Check each Trae CN account in once a day, as its provider's Daily check-in does", }, minimax: { pref: "minimaxCheckin", api: "minimax-checkin", say: "MiniMax Code's daily check-in, the same as checking in from MiniMax Code itself", - on: "On: magpie checks each MiniMax Code account in once a day, as Settings' Daily check-in does. Click to turn it off.", - off: "Check each MiniMax Code account in once a day, as Settings' Daily check-in does", + on: "On: magpie checks each MiniMax Code account in once a day, as its provider's Daily check-in does. Click to turn it off.", + off: "Check each MiniMax Code account in once a day, as its provider's Daily check-in does", }, qoder: { pref: "qoderCheckin", api: "qoder-checkin", say: "Qoder's daily credits, as claiming them in Qoder does", - on: "On: magpie claims each Qoder account's daily credits once a day, as Settings' Daily check-in does. Click to turn it off.", - off: "Claim each Qoder account's daily credits once a day, as Settings' Daily check-in does", + on: "On: magpie claims each Qoder account's daily credits once a day, as its provider's Daily check-in does. Click to turn it off.", + off: "Claim each Qoder account's daily credits once a day, as its provider's Daily check-in does", }, }; // pluginCheckin is the check-in of a plugin that presses it itself @@ -18151,8 +18175,8 @@ function pluginCheckin(id, name) { return { plugin: id, api: "plugin-checkin", say: t("{name}'s daily check-in, pressed by its plugin", { name }), - on: t("On: magpie has the {name} plugin check each account in once a day, as Settings' Daily check-in does. Click to turn it off.", { name }), - off: t("Have the {name} plugin check each account in once a day, as Settings' Daily check-in does", { name }), + on: t("On: magpie has the {name} plugin check each account in once a day, as its provider's Daily check-in does. Click to turn it off.", { name }), + off: t("Have the {name} plugin check each account in once a day, as its provider's Daily check-in does", { name }), }; } // the built-in check-in a plugin's provider took over, whose switch it @@ -18799,17 +18823,9 @@ const ledSpeed = (x) => x?.decode_ms > 0 ? (1000 * x.decode_out) / x.decode_ms : // the least the replies of a group that has no first token wrote at // (usage.Totals.Floor, ledFloorSpeed's for each): 0 for none const ledFloor = (x) => x?.floor_ms > 0 ? (1000 * x.floor_out) / x.floor_ms : 0; -// a group's speed as every ranking and the Output speed card say it, by one -// rule (Fallmonkey on Discord): with replies whose speed was measured, their -// speed and how many they are, "125 tok/s · 1 timed reply", not beside "260 -// requests" alone; with replies read from a session file that tell the least -// they wrote at, that floor and how many, "≥100 tok/s · 30 replies"; with -// both, both, the one of more replies first, "≥71 tok/s · 54 replies; 62 -// tok/s · 2 timed replies", as two replies are too few to stand for 56; else -// nothing. Counts are words, not a bare "(2)" only its tooltip explains. The -// Requests tab says each row's alone: "125 tok/s" or "≥100 tok/s". v is the -// figure a speed ranking orders by and bars, the first one's; main is the -// first, other the second ("" with one). +// a group's speed by one rule (Fallmonkey): timed replies "125 tok/s · 1 +// timed reply", session-file floors "≥100 tok/s · 30 replies", both with +// the larger count first; v orders and bars, main/other the two parts function ledGroupSpeed(x) { const v = ledSpeed(x), f = ledFloor(x), kv = x?.decode_n || 0, kf = x?.floor_n || 0; if (!v && !f) return null; @@ -19591,30 +19607,90 @@ const prefsSettled = (since) => !prefsBusy && since === prefsWrites; const GITHUB_SVG = ''; const DISCORD_SVG = ''; -// The Settings page's warm-ups and check-in are one section whose heading -// is a tab per service (Codex, Claude Code, WorkBuddy), the card under it -// showing the picked one's rows. The tab is remembered; WorkBuddy's, there -// only while an account is signed in or the check-in is on, falls back to -// Codex's when it is not. A click on a tab leaves the page where it is, as -// every click does (see "where the reader is"): a shorter card under it at -// the page's end gets room kept at the view's foot. -const WARM_TABS = { codex: "codexWarmList", claude: "claudeWarmList", wb: "wbList", trae: "traeList", minimax: "minimaxList", qoder: "qoderList", plugins: "pluginCheckinList" }; -let warmTab = "codex"; -try { const k = localStorage.getItem("magpie.warmTab"); if (k in WARM_TABS) warmTab = k; } catch {} -function setWarmTab(tab, remember) { - if (remember) { - warmTab = tab; - try { localStorage.setItem("magpie.warmTab", tab); } catch {} +// PROV_PREFS: a subscription's warm-up, check-in and resets, lists kept +// in #provPrefRows, shown in its provider's editor (the owner, 11-07) +const PROV_PREFS = { + codex: ["codexResetList", "codexWarmList"], + claude: ["claudeWarmList"], + workbuddy: ["wbList"], + "trae-cn": ["traeList"], + "minimax-code": ["minimaxList"], "minimax-code-global": ["minimaxList"], + qoder: ["qoderList"], "qoder-cn": ["qoderList"], +}; +let provPrefListEls = null, provPrefMount = null; +// homeProvPrefRows: an editor's lists back in the page +function homeProvPrefRows() { + const box = $("#provPrefRows"), plugins = $("#pluginCheckinList"); + provPrefListEls ||= [...box.children]; + for (const l of provPrefListEls) if (l.parentElement !== box) box.append(l); + for (const g of provPrefMount?.own || []) if (g.classList.contains("ci-plugin") && g.parentElement !== plugins) plugins.append(g); +} +function provPrefsOf(agent) { + const lists = (PROV_PREFS[agent] || []).map((id) => $("#" + id)); + const g = [...$("#pluginCheckinList").children].find((x) => x.dataset.provider === agent); + return g ? [...lists, g] : lists; +} +// mountProvPrefs: the agent's into an editor's box, again after a draw +function mountProvPrefs(box, agent) { + homeProvPrefRows(); + const own = provPrefsOf(agent); + provPrefMount = { box, agent, own }; + box.replaceChildren(...own); + box.hidden = !own.some((x) => !x.hidden); +} +function remountProvPrefs() { + const m = provPrefMount; + if (m?.box.isConnected) return mountProvPrefs(m.box, m.agent); + homeProvPrefRows(); + provPrefMount = null; +} +function provPrefsField(agent) { + if (gatewayMode || !PROV_PREFS[agent] && !(prefs?.checkinPlugins || []).some((x) => x.id === agent) && prefs) return []; + const box = edAligned(el("div", "prov-prefs")); + if (prefs) mountProvPrefs(box, agent); + else { + box.hidden = true; + loadSettings().then(() => box.isConnected && mountProvPrefs(box, agent), () => {}); } - if (!(tab in WARM_TABS) || $("#warmTab-" + tab).hidden) tab = "codex"; - for (const [id, list] of Object.entries(WARM_TABS)) { - const b = $("#warmTab-" + id), on = id === tab; - b.classList.toggle("on", on); - b.setAttribute("aria-selected", String(on)); - b.tabIndex = on ? 0 : -1; - $("#" + list).hidden = !on; + return [box]; +} +// renderProvPrefLinks: Settings' search finds them, a row opening the editor +function renderProvPrefLinks() { + const box = $("#provPrefLinks"); + box.replaceChildren(); + const ids = [...new Set(Object.values(PROV_PREFS).flat())]; + const by = (list) => list.classList.contains("ci-plugin") ? [list.dataset.provider] : Object.keys(PROV_PREFS).filter((k) => PROV_PREFS[k].includes(list.id)); + for (const list of [...ids.map((id) => $("#" + id)), ...$("#pluginCheckinList").children]) { + if (!list || list.hidden) continue; + const agents = by(list); + for (const r of list.querySelectorAll(":scope > .row.pref:not(.ci-acct):not(.ci-now-row):not(.warm-now):not([hidden])")) { + const name = r.querySelector(".who > .name"); + if (!name) continue; + const row = el("div", "row pref agent-pref-link"); + const who = el("div", "who"); + const n = el("div", "name", name.textContent); + n.dataset.en = name.dataset.en || name.textContent; + who.append(n, el("div", "sub", t("In {provider}'s editor, on the Providers page", { provider: subNames(agents.slice(0, 1)) }))); + const sub = r.querySelector(".sub:not(.err)"); + if (sub) { + const says = el("span", "", sub.textContent); + says.hidden = true; + says.dataset.en = sub.dataset.en || sub.textContent; + who.append(says); + } + const go = el("button", "text", t("Open")); + go.type = "button"; + go.onclick = async () => { + if (!await show("providers")) return; + const p = providers?.providers.find((x) => agents.includes(x.account?.agent)); + if (p) openProvider(p.id); + }; + row.append(who, go); + box.append(row); + } } } + // A tab list's keys: the arrows, Home and End move along its shown tabs, // and the tab reached is clicked, so the page is held as for a click function tabKeys(tabs, sel) { @@ -19631,35 +19707,21 @@ function tabKeys(tabs, sel) { b.click(); }; } -{ - const tabs = $("#warmTabs"); - tabs.onclick = (e) => { - const b = e.target.closest("button[data-warm]"); - if (b) setWarmTab(b.dataset.warm, true); - }; - tabKeys(tabs, "button[data-warm]"); -} -// The Settings page is a page per part (#471: one long scroll of some 45 -// rows): a tab for each over them, in the warm-ups' look, its rows alone -// under it. The part is kept in the address (?view=settings&tab=privacy) so -// a reload comes back to it, and remembered for the window opened again. -// A part with no row to show here (every one hidden on this system) has no -// tab. A click on a tab, like every click, leaves the page where it is: the -// tabs at the top stay where they were and the part comes in under them. -// Picked in the sidebar, a part opens at its top (navSubs). +// Settings: a tab per part (#471), kept in the address (?tab=privacy) and +// remembered; a part with no row here has none. A click leaves the page +// where it is; picked in the sidebar, a part opens at its top (navSubs). const SET_TABS = ["general", "usage", "network", "models", "privacy", "otel", "sync", "plugins", "about"]; let setTab = "general"; try { const k = localStorage.getItem("magpie.settingsTab"); if (SET_TABS.includes(k)) setTab = k; } catch {} let setShown = setTab; // the part shown: the one picked, or the first there let setQuery = ""; // the words in Settings' search, lower case: none, the tabs // A part has a tab while a row of it shows: one not hidden itself nor within -// it (a service's card under the warm-ups' tabs counts, picked or not). A -// part not drawn yet, with no rows at all, keeps its tab. +// it. A part not drawn yet, with no rows at all, keeps its tab. const partShows = (page) => { const rows = [...page.querySelectorAll(".row")]; return !rows.length || rows.some((r) => { - for (let n = r; n && n !== page; n = n.parentElement) if (n.hidden && !n.matches('[role="tabpanel"]')) return false; + for (let n = r; n && n !== page; n = n.parentElement) if (n.hidden) return false; return !featureHides(r); }); }; @@ -19710,8 +19772,7 @@ function setSetTab(tab, remember) { // words typed show every part's rows that say them, in the language shown // or in English, each part under its name, and the tabs step aside. A row // matches on its own text, its section's heading and its part's name, so -// "GitHub" or "隐私" brings the whole section or part. The warm-ups' cards -// all show while searching, each one that matches. Cleared, or Escape, the +// "GitHub" or "隐私" brings the whole section or part. Cleared, or Escape, the // part picked comes back as it was. Rows a part draws later are looked // at as they come. const setText = (n) => [n.textContent, ...[...n.querySelectorAll("[data-en]")].map((e) => e.dataset.en)].join(" ").toLowerCase(); @@ -19727,34 +19788,28 @@ function findSettings() { const lit = new Set(); for (const n of page.querySelectorAll(".row-head, .row")) { if (n.matches(".row-head")) { - head = n.matches(".warm-head") ? "" : setText(n); + head = setText(n); continue; } if (n.parentElement.closest(".row")) continue; // a row in a row goes with it - let pane = n.closest('.warm-panes > [role="tabpanel"]'), says = part + " " + head + " " + setText(n); - if (pane) { - pane.dataset.agent = $('[aria-controls="' + pane.id + '"]').textContent; - says += " " + setText($('[aria-controls="' + pane.id + '"]')); - } + const says = part + " " + head + " " + setText(n); const hit = words.every((w) => says.includes(w)); n.classList.toggle("set-miss", !hit); let shows = hit; - for (let a = n; shows && a && a !== page; a = a.parentElement) if (a.hidden && a !== pane) shows = false; - if (shows && pane && $('[aria-controls="' + pane.id + '"]').hidden) shows = false; + for (let a = n; shows && a && a !== page; a = a.parentElement) if (a.hidden) shows = false; if (shows && featureHides(n)) shows = false; // a built-in plugin switched off if (!shows) continue; hits++; lit.add(n.closest(".list") || n.parentElement); - if (pane) lit.add(pane); } // a section's heading and list go when nothing in them is left - for (const box of page.querySelectorAll(".list, .warm-panes > [role=\"tabpanel\"]")) { + for (const box of page.querySelectorAll(".list")) { if (box.parentElement.closest(".row")) continue; // inside a row: it goes with the row box.classList.toggle("set-miss", ![...lit].some((l) => box.contains(l))); } for (const h of page.querySelectorAll(":scope > .row-head")) { const next = h.nextElementSibling; - h.classList.toggle("set-miss", h.matches(".warm-head") || !next || next.classList.contains("set-miss") || (next.matches(".warm-panes") && ![...lit].some((l) => next.contains(l)))); + h.classList.toggle("set-miss", !next || next.classList.contains("set-miss")); } page.dataset.part = tab.textContent; page.hidden = !hits; @@ -19968,7 +20023,7 @@ function renderSettings() { $("#loginSegs").replaceChildren(segs([["off", t("Off")], ["on", t("On")]], s.login ? "on" : "off", (v) => prefWrite(api("settings/login", { on: v === "on" })))); renderLoginAllow(s); - // the warm-ups and check-in, one tab each over one card + homeProvPrefRows(); // A ChatGPT account's next window started as soon as the last resets $("#warmSegs").replaceChildren(segs([["off", t("Off")], ["week", t("Weekly")], ["all", t("Weekly and 5-hour")]], s.codexWarmup || "off", (v) => savePrefs({ ...keep, codexWarmup: v === "off" ? "" : v }))); @@ -19988,26 +20043,23 @@ function renderSettings() { renderAutoResetOwn(s); renderWarmNow("codex", s.codexUsers, "#warmNowRow"); renderWarmNow("claude", s.claudeUsers, "#claudeWarmNowRow"); - // each built-in vendor's daily check-in, its tab shown while one of its + // each built-in vendor's daily check-in, shown while one of its // accounts is signed in (#694, #811): its switch, how each account went, // and under it each account's own (#1902) - $("#warmTabs").setAttribute("aria-label", t("Warm-up and check-in")); for (const [id, k, say, as] of [ ["wb", "workbuddy", t("Claims each signed-in China account's check-in credits once a day"), t("As checking in from WorkBuddy itself does")], ["trae", "trae", t("Claims each signed-in Trae CN account's check-in credits once a day"), t("As checking in from Trae itself does")], ["minimax", "minimax", t("Claims each signed-in MiniMax Code account's check-in credits once a day"), t("As checking in from MiniMax Code itself does")], ["qoder", "qoder", t("Claims each signed-in Qoder account's daily credits once a day"), t("As claiming the daily credits in Qoder does")]]) { const on = k + "Checkin", sub = $(`#${id}CheckinSub`), list = $(`#${id}List`); - $("#warmTab-" + id).hidden = !s[k] && !s[on]; + list.hidden = !s[k] && !s[on]; $(`#${id}CheckinSegs`).replaceChildren(segs([["off", t("Off")], ["on", t("On")]], s[on] ? "on" : "off", (v) => savePrefs({ ...keep, [on]: v === "on" }))); sub.textContent = [say, ...ciLines(s[on + "s"])].filter(Boolean).join(" · "); sub.title = as; list.querySelectorAll(".ci-acct, .ci-now-row").forEach((x) => x.remove()); list.append(...checkinAccountRows(s, id === "wb" ? "" : id), ...checkinNowRow(s, id === "wb" ? "" : id)); } - setWarmTab(warmTab); - // and the plugins that check in themselves, a row each, their tab shown - // while one is signed in + // and the plugins that check in themselves, a group each renderPluginCheckins(s); renderTrayUsage(s, keep); renderProxy(s, keep); @@ -20534,6 +20586,7 @@ function renderTrayUsage(s, keep) { sayNoNamesInSettings(); renderAgentPrefs(); renderAgentPrefLinks(); + renderProvPrefLinks(); const rate = s.fx?.rate; const currencySub = $("#currencySub"); currencySub.textContent = t("What a cost — the Usage page's, the tray panel's, the TUI's and the CLI's — is shown as; a vendor's own balance, already in its own currency, is never converted"); @@ -20895,12 +20948,8 @@ function nextWarmTime(ats) { return at; } -// renderWarmAt draws a daily warm-up's control: Off, or its times of day, -// each in a time field saved as it is changed (#1260: several, each -// starting a window once a day). On picks 06:00 to begin with, + adds a -// time a window after the last, and × beside a time takes it away while -// another is left; the fields are there only while it is on. save gets -// the whole list. via says how the request goes. +// renderWarmAt: Off, or its times of day (#1260), On at 06:00, + a time a +// window after the last, × one away; save gets the list function renderWarmAt(box, sub, ats, onReset, via, save) { // the purpose on the line; the fine print, too long for it, in the // title: what is left be, and how it goes with the warm-up on reset @@ -20950,12 +20999,8 @@ function renderAutoResetOwn(s) { import("./autoresetown.js").then(() => autoResetOwnPaint(s), statusErr); } -// renderWarmAtOwn gives each ChatGPT account its own row under Daily -// warm-up (#957, Evan26Ma): two accounts started at one time run out -// together, one at 06:00 and one at 09:00 take over from one another. An -// account follows the time above, has its own, or none (settings' -// codexWarmAtOf, set on its own); the rows show with two accounts or more, -// or while one has a time of its own. +// renderWarmAtOwn: each ChatGPT account's own daily time (#957, +// codexWarmAtOf), shown with two accounts or one with its own function renderWarmAtOwn(s) { const list = $("#codexWarmList"); list.querySelectorAll(".warm-own").forEach((r) => r.remove()); @@ -22508,15 +22553,10 @@ async function renderUpdate(r, u) { // a Daily check-in row per plugin that checks in itself (auth.checkin) function renderPluginCheckins(s) { - const ps = s.checkinPlugins || [], tab = $("#warmTab-plugins"); - tab.hidden = !ps.length; - // one plugin checking in: its tab is its name, as a built-in's is - tab.dataset.en = ps.length === 1 ? ps[0].name || ps[0].id : "Plugins"; - tab.textContent = t(tab.dataset.en); - setWarmTab(warmTab); + const ps = s.checkinPlugins || []; + homeProvPrefRows(); $("#pluginCheckinList").replaceChildren(...ps.map((p) => { const row = el("div", "row pref"); - row.dataset.provider = p.id; const who = el("div", "who"); const sub = el("div", "sub", [t("Has the {name} plugin check each signed-in account in once a day", { name: p.name || p.id }), ...ciLines(p.checkins)].filter(Boolean).join(" · ")); @@ -22532,8 +22572,16 @@ function renderPluginCheckins(s) { } })); row.append(who, segBox); - return [row, ...checkinAccountRows(s, "plugin:" + p.id), ...checkinNowRow(s, "plugin:" + p.id)]; - }).flat()); + // a group each, shown in its provider's editor (PROV_PREFS) + const g = el("div", "list prefs ci-plugin"); + g.dataset.provider = p.id; + g.dataset.feature = "warmups"; + g.append(row, ...checkinAccountRows(s, "plugin:" + p.id), ...checkinNowRow(s, "plugin:" + p.id)); + return g; + })); + // the replaced groups stay gone + if (provPrefMount) provPrefMount.own = provPrefMount.own.filter((g) => !g.classList.contains("ci-plugin")); + remountProvPrefs(); } // one account's Check in now (xiaowu_95660), drawn by checkinnow.js diff --git a/internal/gui/assets/autoresetown.js b/internal/gui/assets/autoresetown.js index b19e9b816..30df8e533 100644 --- a/internal/gui/assets/autoresetown.js +++ b/internal/gui/assets/autoresetown.js @@ -1,9 +1,9 @@ -// Settings › Usage's Codex auto-use rows: each ChatGPT account's switches +// Codex's auto-use rows, in its provider's editor (PROV_PREFS): each ChatGPT account's switches // and, under them, how early a reset about to expire is used. app.js -// imports this when Settings draws them (renderAutoResetOwn), so it weighs +// imports this when renderSettings draws them (renderAutoResetOwn), so it weighs // nothing on the core. -// renderAutoResetOwn lists each ChatGPT account under Settings › Usage's +// renderAutoResetOwn lists each ChatGPT account under // "Codex: auto-use resets", with its switch, the same say as on the // account's card (settings' codexAutoReset, the CLI's quota auto-reset). // Avalon on Discord: it was only on the accounts' cards, not in the @@ -89,7 +89,7 @@ function renderResetLead(s, hidden) { const b = el("button", "sess-pick reset-lead"); b.type = "button"; b.setAttribute("aria-haspopup", "menu"); - b.setAttribute("aria-label", t("Codex: how early before one expires") + ": " + name(cur)); + b.setAttribute("aria-label", t("How early before one expires") + ": " + name(cur)); // every choice in one cell, the current one seen: the button is as wide // as the widest, so a pick doesn't rewrap the row and move the page const say = el("span", "rl-say"); diff --git a/internal/gui/assets/i18n.js b/internal/gui/assets/i18n.js index 143eebefd..9f597368a 100644 --- a/internal/gui/assets/i18n.js +++ b/internal/gui/assets/i18n.js @@ -1328,6 +1328,7 @@ const I18N = { "Codex subagent model": "Codex 子代理模型", "{agent} settings": "{agent} 设置", "In {agent}'s settings, on the Agents page": "在 Agent 页的 {agent} 设置里", + "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 优先", @@ -1401,8 +1402,8 @@ const I18N = { "WorkBuddy's daily check-in, the same as checking in from WorkBuddy itself": "WorkBuddy 的每日签到,和在 WorkBuddy 里点「签到」一样", "Auto check-in": "自动签到", "{name}'s daily check-in, pressed by its plugin": "{name} 的每日签到,由它的插件来签", - "On: magpie has the {name} plugin check each account in once a day, as Settings' Daily check-in does. Click to turn it off.": "已开启:magpie 每天让 {name} 插件给每个账号签到一次,和设置里的「每日签到」一样。点一下关闭。", - "Have the {name} plugin check each account in once a day, as Settings' Daily check-in does": "让 {name} 插件每天给每个账号签到一次,和设置里的「每日签到」一样", + "On: magpie has the {name} plugin check each account in once a day, as its provider's Daily check-in does. Click to turn it off.": "已开启:magpie 每天让 {name} 插件给每个账号签到一次,和供应商编辑里的「每日签到」一样。点一下关闭。", + "Have the {name} plugin check each account in once a day, as its provider's Daily check-in does": "让 {name} 插件每天给每个账号签到一次,和供应商编辑里的「每日签到」一样", "Asks for a captcha; check in in its own app": "需要验证码,请在它自己的 App 里签到", "{name} only gives check-in credits to its own app; check in in the {name} app": "{name} 只给自己的客户端发签到积分,请在 {name} App 里签到", "{user}: {name} only gives check-in credits to its own app; check in in the {name} app": "{user}:{name} 只给自己的客户端发签到积分,请在 {name} App 里签到", @@ -1410,8 +1411,8 @@ const I18N = { "{user}: Trae CN refused this check-in (9074: too many taking part); check in in the Trae CN app": "{user}:Trae CN 拒绝了这次签到(9074 当前参与用户太多),请在 Trae CN App 里签到", "{user} is asked for a captcha; check in in the app": "{user} 需要验证码,请在 App 里签到", "Has the {name} plugin check each signed-in account in once a day": "每天让 {name} 插件给每个已登录的账号签到一次", - "On: magpie checks each WorkBuddy (China) account in once a day, as Settings' Daily check-in does. Click to turn it off.": "已开启:每天为每个 WorkBuddy 国内版账号签到一次,与设置中的「每日自动签到」为同一开关。点击关闭。", - "Check each WorkBuddy (China) account in once a day, as Settings' Daily check-in does": "每天为每个 WorkBuddy 国内版账号签到一次,与设置中的「每日自动签到」为同一开关", + "On: magpie checks each WorkBuddy (China) account in once a day, as its provider's Daily check-in does. Click to turn it off.": "已开启:每天为每个 WorkBuddy 国内版账号签到一次,与供应商编辑里的「每日自动签到」为同一开关。点击关闭。", + "Check each WorkBuddy (China) account in once a day, as its provider's Daily check-in does": "每天为每个 WorkBuddy 国内版账号签到一次,与供应商编辑里的「每日自动签到」为同一开关", "Daily check-in turned off": "已关闭每日自动签到", "Daily check-in turned on; magpie checks in within a few minutes": "已开启每日自动签到;magpie 几分钟内会签到", "Check in now": "立即签到", @@ -1426,18 +1427,18 @@ const I18N = { "No daily check-in reaches this account": "这个账号没有可用的每日签到", "Check in now for the accounts not checked in today": "现在为今天还没签到的账号点「签到」", "Trae CN's daily check-in, the same as checking in from Trae itself": "Trae CN 的每日签到,和在 Trae 里点「签到」一样", - "On: magpie checks each Trae CN account in once a day, as Settings' Daily check-in does. Click to turn it off.": "已开启:每天为每个 Trae CN 账号签到一次,与设置中的「每日自动签到」为同一开关。点击关闭。", - "Check each Trae CN account in once a day, as Settings' Daily check-in does": "每天为每个 Trae CN 账号签到一次,与设置中的「每日自动签到」为同一开关", + "On: magpie checks each Trae CN account in once a day, as its provider's Daily check-in does. Click to turn it off.": "已开启:每天为每个 Trae CN 账号签到一次,与供应商编辑里的「每日自动签到」为同一开关。点击关闭。", + "Check each Trae CN account in once a day, as its provider's Daily check-in does": "每天为每个 Trae CN 账号签到一次,与供应商编辑里的「每日自动签到」为同一开关", "Claims each signed-in Trae CN account's check-in credits once a day": "每天替每个已登录的 Trae CN 账号领取一次签到积分", "As checking in from Trae itself does": "和在 Trae 里点「签到」一样", "MiniMax Code's daily check-in, the same as checking in from MiniMax Code itself": "MiniMax Code 的每日签到,和在 MiniMax Code 里点「签到」一样", - "On: magpie checks each MiniMax Code account in once a day, as Settings' Daily check-in does. Click to turn it off.": "已开启:magpie 每天替每个 MiniMax Code 账号签到一次,与设置里的「每日自动签到」是同一个开关。点击关闭。", - "Check each MiniMax Code account in once a day, as Settings' Daily check-in does": "每天替每个 MiniMax Code 账号签到一次,与设置里的「每日自动签到」是同一个开关", + "On: magpie checks each MiniMax Code account in once a day, as its provider's Daily check-in does. Click to turn it off.": "已开启:magpie 每天替每个 MiniMax Code 账号签到一次,与供应商编辑里的「每日自动签到」是同一个开关。点击关闭。", + "Check each MiniMax Code account in once a day, as its provider's Daily check-in does": "每天替每个 MiniMax Code 账号签到一次,与供应商编辑里的「每日自动签到」是同一个开关", "Claims each signed-in MiniMax Code account's check-in credits once a day": "每天替每个已登录的 MiniMax Code 账号领取一次签到积分", "As checking in from MiniMax Code itself does": "和在 MiniMax Code 里点「签到」一样", "Qoder's daily credits, as claiming them in Qoder does": "Qoder 的每日赠送积分,和在 Qoder 里领取一样", - "On: magpie claims each Qoder account's daily credits once a day, as Settings' Daily check-in does. Click to turn it off.": "已开启:magpie 每天替每个 Qoder 账号领取一次每日积分,与设置里的「每日自动签到」是同一个开关。点击关闭。", - "Claim each Qoder account's daily credits once a day, as Settings' Daily check-in does": "每天替每个 Qoder 账号领取一次每日积分,与设置里的「每日自动签到」是同一个开关", + "On: magpie claims each Qoder account's daily credits once a day, as its provider's Daily check-in does. Click to turn it off.": "已开启:magpie 每天替每个 Qoder 账号领取一次每日积分,与供应商编辑里的「每日自动签到」是同一个开关。点击关闭。", + "Claim each Qoder account's daily credits once a day, as its provider's Daily check-in does": "每天替每个 Qoder 账号领取一次每日积分,与供应商编辑里的「每日自动签到」是同一个开关", "Claims each signed-in Qoder account's daily credits once a day": "每天替每个已登录的 Qoder 账号领取一次每日积分", "As claiming the daily credits in Qoder does": "和在 Qoder 里领取每日积分一样", "Check-in failed for {n} account(s)": "{n} 个账号签到失败", @@ -2410,8 +2411,7 @@ const I18N = { "{who} no longer uses a reset by itself": "{who} 不再自动使用重置卡", "Auto-use resets": "自动使用重置卡", "Auto-use resets:": "自动使用重置卡:", - "Codex: auto-use resets": "Codex:自动使用重置卡", - "Codex: how early before one expires": "Codex:重置卡提前多久使用", + "How early before one expires": "重置卡提前多久使用", "For every account with \"before one expires\" on: the reset about to run out unused is used this long before it does. Earlier loses what the account's windows have left then; the default is half an hour.": "对所有开启了“重置卡到期前”的账号:快到期还没用的重置卡在到期前这么久自动使用。越早用,账号各窗口当时剩下的额度就越多被作废;默认半小时。", "{lead} before": "提前 {lead}", "Used before it expires": "到期前多久使用", @@ -6075,6 +6075,7 @@ const I18N = { "Codex subagent model": "Codex 子代理模型", "{agent} settings": "{agent} 設定", "In {agent}'s settings, on the Agents page": "在 Agent 頁的 {agent} 設定裡", + "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 優先", @@ -6148,8 +6149,8 @@ const I18N = { "WorkBuddy's daily check-in, the same as checking in from WorkBuddy itself": "WorkBuddy 的每日簽到,和在 WorkBuddy 裡點「簽到」一樣", "Auto check-in": "自動簽到", "{name}'s daily check-in, pressed by its plugin": "{name} 的每日簽到,由它的外掛來籤", - "On: magpie has the {name} plugin check each account in once a day, as Settings' Daily check-in does. Click to turn it off.": "已開啟:magpie 每天讓 {name} 外掛給每個帳號簽到一次,和設定裡的「每日簽到」一樣。點一下關閉。", - "Have the {name} plugin check each account in once a day, as Settings' Daily check-in does": "讓 {name} 外掛每天給每個帳號簽到一次,和設定裡的「每日簽到」一樣", + "On: magpie has the {name} plugin check each account in once a day, as its provider's Daily check-in does. Click to turn it off.": "已開啟:magpie 每天讓 {name} 外掛給每個帳號簽到一次,和供應商編輯裡的「每日簽到」一樣。點一下關閉。", + "Have the {name} plugin check each account in once a day, as its provider's Daily check-in does": "讓 {name} 外掛每天給每個帳號簽到一次,和供應商編輯裡的「每日簽到」一樣", "Asks for a captcha; check in in its own app": "需要驗證碼,請在它自己的 App 裡簽到", "{name} only gives check-in credits to its own app; check in in the {name} app": "{name} 只給自己的客戶端發簽到積分,請在 {name} App 裡簽到", "{user}: {name} only gives check-in credits to its own app; check in in the {name} app": "{user}:{name} 只給自己的客戶端發簽到積分,請在 {name} App 裡簽到", @@ -6157,8 +6158,8 @@ const I18N = { "{user}: Trae CN refused this check-in (9074: too many taking part); check in in the Trae CN app": "{user}:Trae CN 拒絕了這次簽到(9074 當前參與用戶太多),請在 Trae CN App 裡簽到", "{user} is asked for a captcha; check in in the app": "{user} 需要驗證碼,請在 App 裡簽到", "Has the {name} plugin check each signed-in account in once a day": "每天讓 {name} 外掛給每個已登入的帳號簽到一次", - "On: magpie checks each WorkBuddy (China) account in once a day, as Settings' Daily check-in does. Click to turn it off.": "已開啟:每天為每個 WorkBuddy 國內版帳號簽到一次,與設定中的「每日自動簽到」為同一開關。點選關閉。", - "Check each WorkBuddy (China) account in once a day, as Settings' Daily check-in does": "每天為每個 WorkBuddy 國內版帳號簽到一次,與設定中的「每日自動簽到」為同一開關", + "On: magpie checks each WorkBuddy (China) account in once a day, as its provider's Daily check-in does. Click to turn it off.": "已開啟:每天為每個 WorkBuddy 國內版帳號簽到一次,與供應商編輯裡的「每日自動簽到」為同一開關。點選關閉。", + "Check each WorkBuddy (China) account in once a day, as its provider's Daily check-in does": "每天為每個 WorkBuddy 國內版帳號簽到一次,與供應商編輯裡的「每日自動簽到」為同一開關", "Daily check-in turned off": "已關閉每日自動簽到", "Daily check-in turned on; magpie checks in within a few minutes": "已開啟每日自動簽到;magpie 幾分鐘內會簽到", "Check in now": "立即簽到", @@ -6173,18 +6174,18 @@ const I18N = { "No daily check-in reaches this account": "這個帳號沒有可用的每日簽到", "Check in now for the accounts not checked in today": "現在為今天還沒簽到的帳號點「簽到」", "Trae CN's daily check-in, the same as checking in from Trae itself": "Trae CN 的每日簽到,和在 Trae 裡點「簽到」一樣", - "On: magpie checks each Trae CN account in once a day, as Settings' Daily check-in does. Click to turn it off.": "已開啟:每天為每個 Trae CN 帳號簽到一次,與設定中的「每日自動簽到」為同一開關。點選關閉。", - "Check each Trae CN account in once a day, as Settings' Daily check-in does": "每天為每個 Trae CN 帳號簽到一次,與設定中的「每日自動簽到」為同一開關", + "On: magpie checks each Trae CN account in once a day, as its provider's Daily check-in does. Click to turn it off.": "已開啟:每天為每個 Trae CN 帳號簽到一次,與供應商編輯裡的「每日自動簽到」為同一開關。點選關閉。", + "Check each Trae CN account in once a day, as its provider's Daily check-in does": "每天為每個 Trae CN 帳號簽到一次,與供應商編輯裡的「每日自動簽到」為同一開關", "Claims each signed-in Trae CN account's check-in credits once a day": "每天替每個已登入的 Trae CN 帳號領取一次簽到積分", "As checking in from Trae itself does": "和在 Trae 裡點「簽到」一樣", "MiniMax Code's daily check-in, the same as checking in from MiniMax Code itself": "MiniMax Code 的每日簽到,和在 MiniMax Code 裡點「簽到」一樣", - "On: magpie checks each MiniMax Code account in once a day, as Settings' Daily check-in does. Click to turn it off.": "已開啟:magpie 每天替每個 MiniMax Code 帳號簽到一次,與設定裡的「每日自動簽到」是同一個開關。點選關閉。", - "Check each MiniMax Code account in once a day, as Settings' Daily check-in does": "每天替每個 MiniMax Code 帳號簽到一次,與設定裡的「每日自動簽到」是同一個開關", + "On: magpie checks each MiniMax Code account in once a day, as its provider's Daily check-in does. Click to turn it off.": "已開啟:magpie 每天替每個 MiniMax Code 帳號簽到一次,與供應商編輯裡的「每日自動簽到」是同一個開關。點選關閉。", + "Check each MiniMax Code account in once a day, as its provider's Daily check-in does": "每天替每個 MiniMax Code 帳號簽到一次,與供應商編輯裡的「每日自動簽到」是同一個開關", "Claims each signed-in MiniMax Code account's check-in credits once a day": "每天替每個已登入的 MiniMax Code 帳號領取一次簽到積分", "As checking in from MiniMax Code itself does": "和在 MiniMax Code 裡點「簽到」一樣", "Qoder's daily credits, as claiming them in Qoder does": "Qoder 的每日贈送積分,和在 Qoder 裡領取一樣", - "On: magpie claims each Qoder account's daily credits once a day, as Settings' Daily check-in does. Click to turn it off.": "已開啟:magpie 每天替每個 Qoder 帳號領取一次每日積分,與設定裡的「每日自動簽到」是同一個開關。點選關閉。", - "Claim each Qoder account's daily credits once a day, as Settings' Daily check-in does": "每天替每個 Qoder 帳號領取一次每日積分,與設定裡的「每日自動簽到」是同一個開關", + "On: magpie claims each Qoder account's daily credits once a day, as its provider's Daily check-in does. Click to turn it off.": "已開啟:magpie 每天替每個 Qoder 帳號領取一次每日積分,與供應商編輯裡的「每日自動簽到」是同一個開關。點選關閉。", + "Claim each Qoder account's daily credits once a day, as its provider's Daily check-in does": "每天替每個 Qoder 帳號領取一次每日積分,與供應商編輯裡的「每日自動簽到」是同一個開關", "Claims each signed-in Qoder account's daily credits once a day": "每天替每個已登入的 Qoder 帳號領取一次每日積分", "As claiming the daily credits in Qoder does": "和在 Qoder 裡領取每日積分一樣", "Check-in failed for {n} account(s)": "{n} 個帳號簽到失敗", @@ -7150,8 +7151,7 @@ const I18N = { "{who} no longer uses a reset by itself": "{who} 不再自動使用重置卡", "Auto-use resets": "自動使用重置卡", "Auto-use resets:": "自動使用重置卡:", - "Codex: auto-use resets": "Codex:自動使用重置卡", - "Codex: how early before one expires": "Codex:重置卡提前多久使用", + "How early before one expires": "重置卡提前多久使用", "For every account with \"before one expires\" on: the reset about to run out unused is used this long before it does. Earlier loses what the account's windows have left then; the default is half an hour.": "對所有開啟了「重置卡到期前」的帳號:快到期還沒用的重置卡在到期前這麼久自動使用。越早用,帳號各窗口當時剩下的額度就越多被作廢;預設半小時。", "{lead} before": "提前 {lead}", "Used before it expires": "到期前多久使用", @@ -10791,6 +10791,7 @@ const I18N = { "Codex subagent model": "Codex サブエージェントのモデル", "{agent} settings": "{agent} の設定", "In {agent}'s settings, on the Agents page": "エージェントページの {agent} の設定にあります", + "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 が優先されます", @@ -10864,8 +10865,8 @@ const I18N = { "WorkBuddy's daily check-in, the same as checking in from WorkBuddy itself": "WorkBuddy の毎日のチェックイン(WorkBuddy で「签到」を押すのと同じ)", "Auto check-in": "自動チェックイン", "{name}'s daily check-in, pressed by its plugin": "{name} のデイリーチェックイン(プラグインが行います)", - "On: magpie has the {name} plugin check each account in once a day, as Settings' Daily check-in does. Click to turn it off.": "オン:設定のデイリーチェックインと同じく、magpie が {name} プラグインに各アカウントを 1 日 1 回チェックインさせます。クリックでオフにします。", - "Have the {name} plugin check each account in once a day, as Settings' Daily check-in does": "設定のデイリーチェックインと同じく、{name} プラグインに各アカウントを 1 日 1 回チェックインさせる", + "On: magpie has the {name} plugin check each account in once a day, as its provider's Daily check-in does. Click to turn it off.": "オン:プロバイダの編集画面のデイリーチェックインと同じく、magpie が {name} プラグインに各アカウントを 1 日 1 回チェックインさせます。クリックでオフにします。", + "Have the {name} plugin check each account in once a day, as its provider's Daily check-in does": "プロバイダの編集画面のデイリーチェックインと同じく、{name} プラグインに各アカウントを 1 日 1 回チェックインさせる", "Asks for a captcha; check in in its own app": "CAPTCHA が必要です。公式アプリでチェックインしてください", "{name} only gives check-in credits to its own app; check in in the {name} app": "{name} はチェックインのクレジットを自社アプリにしか付与しません。{name} アプリでチェックインしてください", "{user}: {name} only gives check-in credits to its own app; check in in the {name} app": "{user}:{name} はチェックインのクレジットを自社アプリにしか付与しません。{name} アプリでチェックインしてください", @@ -10873,8 +10874,8 @@ const I18N = { "{user}: Trae CN refused this check-in (9074: too many taking part); check in in the Trae CN app": "{user}:Trae CN がこのチェックインを拒否しました(9074:参加ユーザーが多すぎます)。Trae CN アプリでチェックインしてください", "{user} is asked for a captcha; check in in the app": "{user} は CAPTCHA が必要です。アプリでチェックインしてください", "Has the {name} plugin check each signed-in account in once a day": "{name} プラグインがサインイン中の各アカウントを 1 日 1 回チェックインします", - "On: magpie checks each WorkBuddy (China) account in once a day, as Settings' Daily check-in does. Click to turn it off.": "オン:magpie が各 WorkBuddy(中国版)アカウントを 1 日 1 回チェックインします。設定の「毎日のチェックイン」と同じです。クリックでオフにします。", - "Check each WorkBuddy (China) account in once a day, as Settings' Daily check-in does": "各 WorkBuddy(中国版)アカウントを 1 日 1 回チェックインします。設定の「毎日のチェックイン」と同じです", + "On: magpie checks each WorkBuddy (China) account in once a day, as its provider's Daily check-in does. Click to turn it off.": "オン:magpie が各 WorkBuddy(中国版)アカウントを 1 日 1 回チェックインします。プロバイダの編集画面の「毎日のチェックイン」と同じです。クリックでオフにします。", + "Check each WorkBuddy (China) account in once a day, as its provider's Daily check-in does": "各 WorkBuddy(中国版)アカウントを 1 日 1 回チェックインします。プロバイダの編集画面の「毎日のチェックイン」と同じです", "Daily check-in turned off": "毎日のチェックインをオフにしました", "Daily check-in turned on; magpie checks in within a few minutes": "毎日のチェックインをオンにしました。magpie が数分以内にチェックインします", "Check in now": "今すぐチェックイン", @@ -10889,18 +10890,18 @@ const I18N = { "No daily check-in reaches this account": "このアカウントに使える毎日のチェックインはありません", "Check in now for the accounts not checked in today": "今日まだチェックインしていないアカウントで今すぐ「签到」を押します", "Trae CN's daily check-in, the same as checking in from Trae itself": "Trae CN の毎日のチェックイン(Trae で「签到」を押すのと同じ)", - "On: magpie checks each Trae CN account in once a day, as Settings' Daily check-in does. Click to turn it off.": "オン:magpie が各 Trae CN アカウントを 1 日 1 回チェックインします。設定の「毎日のチェックイン」と同じです。クリックでオフにします。", - "Check each Trae CN account in once a day, as Settings' Daily check-in does": "各 Trae CN アカウントを 1 日 1 回チェックインします。設定の「毎日のチェックイン」と同じです", + "On: magpie checks each Trae CN account in once a day, as its provider's Daily check-in does. Click to turn it off.": "オン:magpie が各 Trae CN アカウントを 1 日 1 回チェックインします。プロバイダの編集画面の「毎日のチェックイン」と同じです。クリックでオフにします。", + "Check each Trae CN account in once a day, as its provider's Daily check-in does": "各 Trae CN アカウントを 1 日 1 回チェックインします。プロバイダの編集画面の「毎日のチェックイン」と同じです", "Claims each signed-in Trae CN account's check-in credits once a day": "サインイン済みの各 Trae CN アカウントのチェックインクレジットを 1 日 1 回受け取ります", "As checking in from Trae itself does": "Trae で「签到」を押すのと同じです", "MiniMax Code's daily check-in, the same as checking in from MiniMax Code itself": "MiniMax Code の毎日のチェックイン(MiniMax Code で「签到」を押すのと同じ)", - "On: magpie checks each MiniMax Code account in once a day, as Settings' Daily check-in does. Click to turn it off.": "オン:magpie が各 MiniMax Code アカウントを 1 日 1 回チェックインします。設定の「毎日のチェックイン」と同じです。クリックでオフにします。", - "Check each MiniMax Code account in once a day, as Settings' Daily check-in does": "各 MiniMax Code アカウントを 1 日 1 回チェックインします。設定の「毎日のチェックイン」と同じです", + "On: magpie checks each MiniMax Code account in once a day, as its provider's Daily check-in does. Click to turn it off.": "オン:magpie が各 MiniMax Code アカウントを 1 日 1 回チェックインします。プロバイダの編集画面の「毎日のチェックイン」と同じです。クリックでオフにします。", + "Check each MiniMax Code account in once a day, as its provider's Daily check-in does": "各 MiniMax Code アカウントを 1 日 1 回チェックインします。プロバイダの編集画面の「毎日のチェックイン」と同じです", "Claims each signed-in MiniMax Code account's check-in credits once a day": "サインイン済みの各 MiniMax Code アカウントのチェックインクレジットを 1 日 1 回受け取ります", "As checking in from MiniMax Code itself does": "MiniMax Code で「签到」を押すのと同じです", "Qoder's daily credits, as claiming them in Qoder does": "Qoder の毎日のクレジット(Qoder で受け取るのと同じ)", - "On: magpie claims each Qoder account's daily credits once a day, as Settings' Daily check-in does. Click to turn it off.": "オン:magpie が各 Qoder アカウントの毎日のクレジットを 1 日 1 回受け取ります。設定の「毎日のチェックイン」と同じです。クリックでオフにします。", - "Claim each Qoder account's daily credits once a day, as Settings' Daily check-in does": "各 Qoder アカウントの毎日のクレジットを 1 日 1 回受け取ります。設定の「毎日のチェックイン」と同じです", + "On: magpie claims each Qoder account's daily credits once a day, as its provider's Daily check-in does. Click to turn it off.": "オン:magpie が各 Qoder アカウントの毎日のクレジットを 1 日 1 回受け取ります。プロバイダの編集画面の「毎日のチェックイン」と同じです。クリックでオフにします。", + "Claim each Qoder account's daily credits once a day, as its provider's Daily check-in does": "各 Qoder アカウントの毎日のクレジットを 1 日 1 回受け取ります。プロバイダの編集画面の「毎日のチェックイン」と同じです", "Claims each signed-in Qoder account's daily credits once a day": "サインイン済みの各 Qoder アカウントの毎日のクレジットを 1 日 1 回受け取ります", "As claiming the daily credits in Qoder does": "Qoder で毎日のクレジットを受け取るのと同じです", "Check-in failed for {n} account(s)": "{n} 件のアカウントでチェックインに失敗しました", @@ -11866,8 +11867,7 @@ const I18N = { "{who} no longer uses a reset by itself": "{who} はリセットを自動で使用しなくなりました", "Auto-use resets": "リセットを自動使用", "Auto-use resets:": "リセットを自動使用:", - "Codex: auto-use resets": "Codex:リセットを自動使用", - "Codex: how early before one expires": "Codex:期限切れのどれだけ前に使うか", + "How early before one expires": "期限切れのどれだけ前に使うか", "For every account with \"before one expires\" on: the reset about to run out unused is used this long before it does. Earlier loses what the account's windows have left then; the default is half an hour.": "「期限切れの前」がオンのすべてのアカウントで、未使用のまま期限が近いリセットを、期限のこの時間前に使います。早いほど、その時点で枠に残っている分が失われます。既定は 30 分です。", "{lead} before": "{lead}前", "Used before it expires": "期限切れのどれだけ前に使うか", @@ -15538,6 +15538,7 @@ const I18N = { "Codex subagent model": "Codex-Subagenten-Modell", "{agent} settings": "Einstellungen von {agent}", "In {agent}'s settings, on the Agents page": "In den Einstellungen von {agent}, auf der Seite Agenten", + "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", @@ -15611,8 +15612,8 @@ const I18N = { "WorkBuddy's daily check-in, the same as checking in from WorkBuddy itself": "Täglicher Check-in von WorkBuddy, wie ein Klick auf 签到 in WorkBuddy", "Auto check-in": "Automatischer Check-in", "{name}'s daily check-in, pressed by its plugin": "Täglicher Check-in bei {name}, vom Plugin erledigt", - "On: magpie has the {name} plugin check each account in once a day, as Settings' Daily check-in does. Click to turn it off.": "An: magpie lässt das {name}-Plugin jedes Konto einmal täglich einchecken, wie der tägliche Check-in in den Einstellungen. Klicken zum Ausschalten.", - "Have the {name} plugin check each account in once a day, as Settings' Daily check-in does": "Das {name}-Plugin jedes Konto einmal täglich einchecken lassen, wie der tägliche Check-in in den Einstellungen", + "On: magpie has the {name} plugin check each account in once a day, as its provider's Daily check-in does. Click to turn it off.": "An: magpie lässt das {name}-Plugin jedes Konto einmal täglich einchecken, wie der tägliche Check-in im Editor des Anbieters. Klicken zum Ausschalten.", + "Have the {name} plugin check each account in once a day, as its provider's Daily check-in does": "Das {name}-Plugin jedes Konto einmal täglich einchecken lassen, wie der tägliche Check-in im Editor des Anbieters", "Asks for a captcha; check in in its own app": "Verlangt ein Captcha; in der eigenen App einchecken", "{name} only gives check-in credits to its own app; check in in the {name} app": "{name} vergibt Check-in-Credits nur an die eigene App; bitte in der {name}-App einchecken", "{user}: {name} only gives check-in credits to its own app; check in in the {name} app": "{user}: {name} vergibt Check-in-Credits nur an die eigene App; bitte in der {name}-App einchecken", @@ -15620,8 +15621,8 @@ const I18N = { "{user}: Trae CN refused this check-in (9074: too many taking part); check in in the Trae CN app": "{user}: Trae CN hat diesen Check-in abgelehnt (9074: zu viele Teilnehmende); bitte in der Trae-CN-App einchecken", "{user} is asked for a captcha; check in in the app": "{user} soll ein Captcha lösen; in der App einchecken", "Has the {name} plugin check each signed-in account in once a day": "Lässt das {name}-Plugin jedes angemeldete Konto einmal täglich einchecken", - "On: magpie checks each WorkBuddy (China) account in once a day, as Settings' Daily check-in does. Click to turn it off.": "An: magpie checkt jedes WorkBuddy-Konto (China) einmal täglich ein, wie „Täglicher Check-in“ in den Einstellungen. Zum Ausschalten klicken.", - "Check each WorkBuddy (China) account in once a day, as Settings' Daily check-in does": "Jedes WorkBuddy-Konto (China) einmal täglich einchecken, wie „Täglicher Check-in“ in den Einstellungen", + "On: magpie checks each WorkBuddy (China) account in once a day, as its provider's Daily check-in does. Click to turn it off.": "An: magpie checkt jedes WorkBuddy-Konto (China) einmal täglich ein, wie „Täglicher Check-in“ im Editor des Anbieters. Zum Ausschalten klicken.", + "Check each WorkBuddy (China) account in once a day, as its provider's Daily check-in does": "Jedes WorkBuddy-Konto (China) einmal täglich einchecken, wie „Täglicher Check-in“ im Editor des Anbieters", "Daily check-in turned off": "Täglicher Check-in ausgeschaltet", "Daily check-in turned on; magpie checks in within a few minutes": "Täglicher Check-in eingeschaltet; magpie checkt in wenigen Minuten ein", "Check in now": "Jetzt einchecken", @@ -15636,18 +15637,18 @@ const I18N = { "No daily check-in reaches this account": "Kein täglicher Check-in erreicht dieses Konto", "Check in now for the accounts not checked in today": "Jetzt 签到 für die heute noch nicht eingecheckten Konten drücken", "Trae CN's daily check-in, the same as checking in from Trae itself": "Täglicher Check-in von Trae CN, wie ein Klick auf 签到 in Trae", - "On: magpie checks each Trae CN account in once a day, as Settings' Daily check-in does. Click to turn it off.": "An: magpie checkt jedes Trae-CN-Konto einmal täglich ein, wie „Täglicher Check-in“ in den Einstellungen. Zum Ausschalten klicken.", - "Check each Trae CN account in once a day, as Settings' Daily check-in does": "Jedes Trae-CN-Konto einmal täglich einchecken, wie „Täglicher Check-in“ in den Einstellungen", + "On: magpie checks each Trae CN account in once a day, as its provider's Daily check-in does. Click to turn it off.": "An: magpie checkt jedes Trae-CN-Konto einmal täglich ein, wie „Täglicher Check-in“ im Editor des Anbieters. Zum Ausschalten klicken.", + "Check each Trae CN account in once a day, as its provider's Daily check-in does": "Jedes Trae-CN-Konto einmal täglich einchecken, wie „Täglicher Check-in“ im Editor des Anbieters", "Claims each signed-in Trae CN account's check-in credits once a day": "Holt einmal täglich die Check-in-Credits jedes angemeldeten Trae-CN-Kontos ab", "As checking in from Trae itself does": "Wie ein Klick auf 签到 in Trae", "MiniMax Code's daily check-in, the same as checking in from MiniMax Code itself": "Täglicher Check-in von MiniMax Code, wie ein Klick auf 签到 in MiniMax Code", - "On: magpie checks each MiniMax Code account in once a day, as Settings' Daily check-in does. Click to turn it off.": "An: magpie checkt jedes MiniMax-Code-Konto einmal täglich ein, wie „Täglicher Check-in“ in den Einstellungen. Zum Ausschalten klicken.", - "Check each MiniMax Code account in once a day, as Settings' Daily check-in does": "Jedes MiniMax-Code-Konto einmal täglich einchecken, wie „Täglicher Check-in“ in den Einstellungen", + "On: magpie checks each MiniMax Code account in once a day, as its provider's Daily check-in does. Click to turn it off.": "An: magpie checkt jedes MiniMax-Code-Konto einmal täglich ein, wie „Täglicher Check-in“ im Editor des Anbieters. Zum Ausschalten klicken.", + "Check each MiniMax Code account in once a day, as its provider's Daily check-in does": "Jedes MiniMax-Code-Konto einmal täglich einchecken, wie „Täglicher Check-in“ im Editor des Anbieters", "Claims each signed-in MiniMax Code account's check-in credits once a day": "Holt einmal täglich die Check-in-Credits jedes angemeldeten MiniMax-Code-Kontos ab", "As checking in from MiniMax Code itself does": "Wie ein Klick auf 签到 in MiniMax Code", "Qoder's daily credits, as claiming them in Qoder does": "Die täglichen Credits von Qoder, wie beim Abholen in Qoder", - "On: magpie claims each Qoder account's daily credits once a day, as Settings' Daily check-in does. Click to turn it off.": "An: magpie holt einmal täglich die täglichen Credits jedes Qoder-Kontos ab, wie „Täglicher Check-in“ in den Einstellungen. Zum Ausschalten klicken.", - "Claim each Qoder account's daily credits once a day, as Settings' Daily check-in does": "Einmal täglich die täglichen Credits jedes Qoder-Kontos abholen, wie „Täglicher Check-in“ in den Einstellungen", + "On: magpie claims each Qoder account's daily credits once a day, as its provider's Daily check-in does. Click to turn it off.": "An: magpie holt einmal täglich die täglichen Credits jedes Qoder-Kontos ab, wie „Täglicher Check-in“ im Editor des Anbieters. Zum Ausschalten klicken.", + "Claim each Qoder account's daily credits once a day, as its provider's Daily check-in does": "Einmal täglich die täglichen Credits jedes Qoder-Kontos abholen, wie „Täglicher Check-in“ im Editor des Anbieters", "Claims each signed-in Qoder account's daily credits once a day": "Holt einmal täglich die täglichen Credits jedes angemeldeten Qoder-Kontos ab", "As claiming the daily credits in Qoder does": "Wie das Abholen der täglichen Credits in Qoder", "Check-in failed for {n} account(s)": "Check-in für {n} Konto/Konten fehlgeschlagen", @@ -16613,8 +16614,7 @@ const I18N = { "{who} no longer uses a reset by itself": "{who} löst keinen Reset mehr automatisch ein", "Auto-use resets": "Resets automatisch einlösen", "Auto-use resets:": "Resets automatisch einlösen:", - "Codex: auto-use resets": "Codex: Resets automatisch einlösen", - "Codex: how early before one expires": "Codex: wie früh vor dem Ablauf", + "How early before one expires": "Wie früh vor dem Ablauf", "For every account with \"before one expires\" on: the reset about to run out unused is used this long before it does. Earlier loses what the account's windows have left then; the default is half an hour.": "Für jedes Konto mit „bevor einer abläuft“ an: Der ungenutzt bald ablaufende Reset wird so lange vor Ablauf eingelöst. Früher verfällt, was die Fenster des Kontos dann noch übrig haben; Standard ist eine halbe Stunde.", "{lead} before": "{lead} vorher", "Used before it expires": "Wie lange vor Ablauf eingelöst", diff --git a/internal/gui/assets/index.html b/internal/gui/assets/index.html index 69de58d0a..c501bfe72 100644 --- a/internal/gui/assets/index.html +++ b/internal/gui/assets/index.html @@ -321,81 +321,11 @@
Reset reminder
- -
Task done alert
- -
- - - - - - - -
-
-
-
-
Warm up on reset
-
-
-
-
Daily warm-up
-
-
- -
-
-
-
Warm up on reset
-
-
-
-
Daily warm-up
-
-
- -
-
-
-
Daily check-in
-
-
-
-
-
-
Daily check-in
-
-
-
-
-
-
Daily check-in
-
-
-
-
-
-
Daily check-in
-
-
-
-
+
@@ -499,6 +429,71 @@ + +