clauderipple 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/README.ko.md +19 -7
- package/README.md +22 -8
- package/dist/cli/src/codex.js +26 -2
- package/dist/cli/src/index.js +14 -7
- package/dist/router/src/admin.js +74 -4
- package/dist/router/src/index.js +9 -2
- package/dist/router/src/ingress/server.js +77 -3
- package/dist/router/src/locked-file.js +80 -0
- package/dist/router/src/providers/anthropic-accounts.js +9 -74
- package/dist/router/src/providers/chatgpt/accounts.js +438 -0
- package/dist/router/src/providers/chatgpt/auth.js +43 -87
- package/dist/router/src/providers/chatgpt/index.js +483 -84
- package/dist/router/src/proxy.js +36 -6
- package/dist/router/src/version.js +1 -1
- package/dist/ui/app.js +128 -5
- package/dist/ui/i18n.js +4 -4
- package/dist/ui/style.css +4 -0
- package/docs/ARCHITECTURE.md +54 -3
- package/package.json +1 -1
package/dist/router/src/proxy.js
CHANGED
|
@@ -225,12 +225,43 @@ export class Proxy {
|
|
|
225
225
|
out[name] = a.adapter.describeAuth();
|
|
226
226
|
return out;
|
|
227
227
|
}
|
|
228
|
+
/** Every configured chatgpt provider's accounts: rotation state and last known quota, no tokens. */
|
|
229
|
+
chatgptAccounts() {
|
|
230
|
+
const out = {};
|
|
231
|
+
for (const [name, p] of Object.entries(this.deps.config().providers)) {
|
|
232
|
+
if (p.type === "chatgpt")
|
|
233
|
+
out[name] = this.chatgpt(name, p).accountStatus();
|
|
234
|
+
}
|
|
235
|
+
return out;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* The accounts Codex's own GPT traffic goes out on: the named chatgpt provider, else the first
|
|
239
|
+
* one configured, else Codex's own login alone — so pointing Codex here works before anyone has
|
|
240
|
+
* set a ChatGPT provider up, and shares the pool (cooldowns included) once someone has.
|
|
241
|
+
*/
|
|
242
|
+
chatgptForCodex(name) {
|
|
243
|
+
const providers = this.deps.config().providers;
|
|
244
|
+
const named = name ? providers[name] : undefined;
|
|
245
|
+
if (named?.type === "chatgpt")
|
|
246
|
+
return this.chatgpt(name, named);
|
|
247
|
+
const first = Object.entries(providers).find(([, p]) => p.type === "chatgpt");
|
|
248
|
+
if (first && first[1].type === "chatgpt")
|
|
249
|
+
return this.chatgpt(first[0], first[1]);
|
|
250
|
+
return this.chatgpt("codex-login", { type: "chatgpt", auth: "borrow-codex" });
|
|
251
|
+
}
|
|
252
|
+
/** Dashboard action: put one resting ChatGPT account back into rotation now. */
|
|
253
|
+
chatgptClearCooldown(ownerId) {
|
|
254
|
+
for (const [name, p] of Object.entries(this.deps.config().providers)) {
|
|
255
|
+
if (p.type === "chatgpt")
|
|
256
|
+
this.chatgpt(name, p).clearCooldown(ownerId);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
228
259
|
chatgpt(name, cfg) {
|
|
229
260
|
const key = JSON.stringify(cfg);
|
|
230
261
|
const cur = this.chatgptAdapters.get(name);
|
|
231
262
|
if (cur && cur.key === key)
|
|
232
263
|
return cur.adapter;
|
|
233
|
-
const adapter = new ChatGptAdapter(name, cfg, this.deps.home, this.deps.log);
|
|
264
|
+
const adapter = new ChatGptAdapter(name, cfg, this.deps.home, this.deps.log, this.pool);
|
|
234
265
|
this.chatgptAdapters.set(name, { key, adapter });
|
|
235
266
|
return adapter;
|
|
236
267
|
}
|
|
@@ -650,15 +681,12 @@ export class Proxy {
|
|
|
650
681
|
record.effort = routeEffort;
|
|
651
682
|
tag = `CHATGPT ${route.tag} effort=${routeEffort ?? "-"}`;
|
|
652
683
|
try {
|
|
684
|
+
// The adapter reports each account's outcome to the shared pool itself, so a slot pointing
|
|
685
|
+
// here fails over once every account is out (chooseTarget asks the adapter).
|
|
653
686
|
const o = await this.chatgpt(route.provider, provider).handle(req, res, path, json, route.model, effortOf(json));
|
|
654
|
-
// Without this the pool never hears about this provider, so it always looks healthy and a
|
|
655
|
-
// slot pointing at it can never fail over — which is most of the point on a subscription
|
|
656
|
-
// that runs out. The credential here is the adapter's own OAuth, so there is one of it.
|
|
657
|
-
this.recordOutcome(route.provider, o.status);
|
|
658
687
|
finish(String(o.status), o.bytes, o.note, o.status >= 400, { ...(o.usage ? { usage: o.usage } : {}), ...(o.stopReason ? { stopReason: o.stopReason } : {}) });
|
|
659
688
|
}
|
|
660
689
|
catch (e) {
|
|
661
|
-
this.recordOutcome(route.provider, 0);
|
|
662
690
|
finish("-", 0, `chatgpt error ${e.code ?? ""} ${e.message}`);
|
|
663
691
|
if (!res.headersSent)
|
|
664
692
|
res.writeHead(502, { "content-type": "application/json" }).end(JSON.stringify({ type: "error", error: { type: "api_error", message: e.message } }));
|
|
@@ -1262,6 +1290,8 @@ export class Proxy {
|
|
|
1262
1290
|
const accounts = this.claudeAccounts.peekCredentials();
|
|
1263
1291
|
return accounts.length > 0 && this.pool.hasUsable(name, accounts);
|
|
1264
1292
|
}
|
|
1293
|
+
if (provider.type === "chatgpt")
|
|
1294
|
+
return this.chatgpt(name, provider).hasUsable();
|
|
1265
1295
|
return this.pool.hasUsable(name, this.credentialsOf(name, provider));
|
|
1266
1296
|
};
|
|
1267
1297
|
if (usable(resolved.provider))
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
// from the manifests. Until 0.1.1 the router and the CLI each carried their own literal, and both
|
|
6
6
|
// still said "0.1.0" in the 0.1.1 release: after an update nobody could tell which router was
|
|
7
7
|
// running, and the tray app had nothing to compare (2026-09-15, reported from a Windows install).
|
|
8
|
-
export const VERSION = "0.
|
|
8
|
+
export const VERSION = "0.4.0";
|
package/dist/ui/app.js
CHANGED
|
@@ -249,10 +249,14 @@ function chatgptLoginButton(onChange) {
|
|
|
249
249
|
button.addEventListener("click", () => void startChatgptLogin(onChange));
|
|
250
250
|
return button;
|
|
251
251
|
}
|
|
252
|
-
|
|
252
|
+
/**
|
|
253
|
+
* Runs the browser sign-in, which adds an account (or signs one in again). Finished is the sign-in
|
|
254
|
+
* process ending, not "signed in": with an account already there, "signed in" is true from the start.
|
|
255
|
+
*/
|
|
256
|
+
async function startChatgptLogin(onChange, adding) {
|
|
253
257
|
if (chatgptLoginBusy) return;
|
|
254
258
|
chatgptLoginBusy = true;
|
|
255
|
-
chatgptLoginMessage = t("providers.chatgptLoginWaiting");
|
|
259
|
+
chatgptLoginMessage = adding ? t("providers.chatgptAddWaiting") : t("providers.chatgptLoginWaiting");
|
|
256
260
|
onChange && onChange();
|
|
257
261
|
try {
|
|
258
262
|
await api("/api/chatgpt-login", { method: "POST" });
|
|
@@ -260,8 +264,8 @@ async function startChatgptLogin(onChange) {
|
|
|
260
264
|
while (Date.now() < deadline) {
|
|
261
265
|
await new Promise((resolve) => setTimeout(resolve, 2000));
|
|
262
266
|
const login = await api("/api/chatgpt-login");
|
|
263
|
-
if (login.
|
|
264
|
-
toast(t("providers.chatgptLoginDone"));
|
|
267
|
+
if (login.running === false && login.ok === true) {
|
|
268
|
+
toast(adding ? t("providers.chatgptAdded") : t("providers.chatgptLoginDone"));
|
|
265
269
|
await refreshHealth();
|
|
266
270
|
return;
|
|
267
271
|
}
|
|
@@ -933,7 +937,7 @@ async function removeProvider(name, provider) {
|
|
|
933
937
|
|
|
934
938
|
function providerTabs(name, provider) {
|
|
935
939
|
const tabs = [{ id: "overview", label: t("providers.overview") }];
|
|
936
|
-
if (provider.type === "anthropic" && provider.auth === "claude-code") tabs.push({ id: "accounts", label: t("providers.accounts") });
|
|
940
|
+
if ((provider.type === "anthropic" && provider.auth === "claude-code") || provider.type === "chatgpt") tabs.push({ id: "accounts", label: t("providers.accounts") });
|
|
937
941
|
tabs.push({ id: "models", label: t("providers.modelsTab") });
|
|
938
942
|
return el("div", { class: "provider-tabs", role: "tablist" }, tabs.map((tab) => {
|
|
939
943
|
const button = el("button", { class: providerDetailTab === tab.id ? "active" : "", type: "button", role: "tab", "aria-selected": String(providerDetailTab === tab.id), text: tab.label });
|
|
@@ -1073,6 +1077,124 @@ function anthropicAccountsPanel(name, provider) {
|
|
|
1073
1077
|
return panel;
|
|
1074
1078
|
}
|
|
1075
1079
|
|
|
1080
|
+
/** "5h 42%", "weekly 100% · resets 14:05" — the reset only matters once a window is full. */
|
|
1081
|
+
function chatgptQuotaText(quota) {
|
|
1082
|
+
const limits = quota && quota.rate_limits;
|
|
1083
|
+
if (!limits) return "";
|
|
1084
|
+
const windowName = (w) => {
|
|
1085
|
+
const minutes = w.window_minutes;
|
|
1086
|
+
if (!minutes) return "";
|
|
1087
|
+
if (minutes >= 7 * 24 * 60) return t("quota.windowWeek");
|
|
1088
|
+
if (minutes === 300) return t("quota.window5h");
|
|
1089
|
+
return t("quota.windowHours", { hours: Math.round(minutes / 60) });
|
|
1090
|
+
};
|
|
1091
|
+
return [limits.primary, limits.secondary].filter((w) => w && typeof w.used_percent === "number").map((w) => {
|
|
1092
|
+
const line = t("quota.line", { window: windowName(w), percent: Math.round(w.used_percent) }).trim();
|
|
1093
|
+
if (w.used_percent < 100) return line;
|
|
1094
|
+
const at = typeof w.reset_after_seconds === "number" ? Date.now() + w.reset_after_seconds * 1000 : typeof w.reset_at === "number" ? w.reset_at * 1000 : null;
|
|
1095
|
+
return at ? `${line} · ${t("quota.resetAt", { time: new Date(at).toLocaleString([], { month: "numeric", day: "numeric", hour: "2-digit", minute: "2-digit" }) })}` : line;
|
|
1096
|
+
}).join(" · ");
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
/** A wait people read at a glance: "1시간 29분", "12분", "40초". */
|
|
1100
|
+
function durationText(seconds) {
|
|
1101
|
+
const s = Math.max(0, Math.round(seconds || 0));
|
|
1102
|
+
if (s >= 3600) return t("time.hoursMinutes", { h: Math.floor(s / 3600), m: Math.floor((s % 3600) / 60) });
|
|
1103
|
+
if (s >= 60) return t("time.minutes", { m: Math.ceil(s / 60) });
|
|
1104
|
+
return t("time.seconds", { s });
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
function chatgptStateBadge(account) {
|
|
1108
|
+
if (account.state === "paused") return el("span", { class: "badge", text: t("providers.chatgptPaused") });
|
|
1109
|
+
if (account.state === "needs-login" || account.state === "quarantined") return el("span", { class: "badge bad", text: t("providers.anthropicReauth") });
|
|
1110
|
+
if (account.state === "cooling") return el("span", { class: "badge warn", text: t("pool.coolingFor", { duration: durationText(account.cooldownSeconds) }) });
|
|
1111
|
+
return el("span", { class: "badge ok", text: account.active ? t("providers.chatgptInUse") : t("providers.chatgptStandby") });
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
async function patchChatgptAccount(name, id, change) {
|
|
1115
|
+
try {
|
|
1116
|
+
await api(`/api/chatgpt-accounts/${encodeURIComponent(id)}`, { method: "PATCH", headers: { "content-type": "application/json" }, body: JSON.stringify(change) });
|
|
1117
|
+
await refreshChatgptAccountPanel(name);
|
|
1118
|
+
} catch (error) { toast(t("common.actionFailed"), true, error.message); }
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
function renderChatgptAccountRows(target, data, name, generation) {
|
|
1122
|
+
if (generation !== providerDetailGeneration) return;
|
|
1123
|
+
const accounts = Array.isArray(data.accounts) ? data.accounts : [];
|
|
1124
|
+
const rows = accounts.map((account) => {
|
|
1125
|
+
const own = account.source !== "codex";
|
|
1126
|
+
const actions = [];
|
|
1127
|
+
if (account.state === "needs-login" || account.state === "quarantined") {
|
|
1128
|
+
const reauth = el("button", { class: "btn secondary compact", type: "button", text: t("providers.reauthAction") });
|
|
1129
|
+
reauth.addEventListener("click", () => void startChatgptLogin(() => void refreshChatgptAccountPanel(name), true));
|
|
1130
|
+
if (own) actions.push(reauth);
|
|
1131
|
+
}
|
|
1132
|
+
if (account.state === "cooling") {
|
|
1133
|
+
const now = el("button", { class: "btn secondary compact", type: "button", text: t("providers.chatgptClearCooldown") });
|
|
1134
|
+
now.addEventListener("click", () => void patchChatgptAccount(name, account.id, { clearCooldown: true }));
|
|
1135
|
+
actions.push(now);
|
|
1136
|
+
}
|
|
1137
|
+
if (own) {
|
|
1138
|
+
const pause = el("button", { class: "btn secondary compact", type: "button", text: account.paused ? t("providers.chatgptResume") : t("providers.chatgptPause") });
|
|
1139
|
+
pause.addEventListener("click", () => void patchChatgptAccount(name, account.id, { paused: !account.paused }));
|
|
1140
|
+
const rename = el("button", { class: "btn secondary compact", type: "button", text: t("common.edit") });
|
|
1141
|
+
rename.addEventListener("click", () => {
|
|
1142
|
+
const label = prompt(t("providers.anthropicRenamePrompt"), account.label);
|
|
1143
|
+
if (!label || !label.trim() || label.trim() === account.label) return;
|
|
1144
|
+
void patchChatgptAccount(name, account.id, { label });
|
|
1145
|
+
});
|
|
1146
|
+
const remove = el("button", { class: "btn danger compact", type: "button", text: t("common.remove") });
|
|
1147
|
+
remove.addEventListener("click", async () => {
|
|
1148
|
+
if (!confirm(t("providers.chatgptRemoveConfirm", { name: account.label }))) return;
|
|
1149
|
+
try { await api(`/api/chatgpt-accounts/${encodeURIComponent(account.id)}`, { method: "DELETE" }); await refreshChatgptAccountPanel(name); }
|
|
1150
|
+
catch (error) { toast(t("common.actionFailed"), true, error.message); }
|
|
1151
|
+
});
|
|
1152
|
+
actions.push(pause, rename, remove);
|
|
1153
|
+
}
|
|
1154
|
+
const quota = chatgptQuotaText(account.quota);
|
|
1155
|
+
const detail = [account.email && account.email !== account.label ? account.email : null, account.planType || null].filter(Boolean).join(" · ");
|
|
1156
|
+
const help = account.state === "needs-login" || account.state === "quarantined" ? t("providers.chatgptReauthHelp") : own ? t("providers.chatgptOwnHelp") : t("providers.chatgptCodexHelp");
|
|
1157
|
+
return el("article", { class: `account-card stacked${account.active ? " current" : ""}` }, [
|
|
1158
|
+
el("div", { class: "account-card-copy" }, [
|
|
1159
|
+
el("strong", { text: account.label }),
|
|
1160
|
+
detail ? el("span", { class: "small", text: detail }) : null,
|
|
1161
|
+
quota ? el("p", { class: "small account-quota", text: quota }) : null,
|
|
1162
|
+
hint(help),
|
|
1163
|
+
].filter(Boolean)),
|
|
1164
|
+
chatgptStateBadge(account),
|
|
1165
|
+
actions.length ? el("div", { class: "account-card-actions" }, actions) : null,
|
|
1166
|
+
].filter(Boolean));
|
|
1167
|
+
});
|
|
1168
|
+
target.replaceChildren(...(rows.length ? rows : [el("div", { class: "empty-card", text: t("providers.chatgptNoAccounts") })]));
|
|
1169
|
+
const countNode = $("#chatgpt-account-count");
|
|
1170
|
+
if (countNode) countNode.textContent = t("providers.chatgptAccountCount", { count: accounts.length });
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
async function refreshChatgptAccountPanel(name) {
|
|
1174
|
+
const target = $("#chatgpt-account-rows");
|
|
1175
|
+
if (!target || selectedProviderName !== name || providerDetailTab !== "accounts") return;
|
|
1176
|
+
const generation = providerDetailGeneration;
|
|
1177
|
+
try { renderChatgptAccountRows(target, await api(`/api/chatgpt-accounts?provider=${encodeURIComponent(name)}`), name, generation); }
|
|
1178
|
+
catch (error) { if (generation === providerDetailGeneration) target.replaceChildren(el("div", { class: "bad-text small", text: error.message })); }
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
function chatgptAccountsPanel(name) {
|
|
1182
|
+
const add = el("button", { class: "btn", type: "button", text: t("providers.addChatgptAccount") });
|
|
1183
|
+
add.disabled = chatgptLoginBusy;
|
|
1184
|
+
const waiting = el("p", { class: "small", text: chatgptLoginBusy ? t("providers.chatgptAddWaiting") : "" });
|
|
1185
|
+
add.addEventListener("click", () => void startChatgptLogin(() => { renderProviderDetail(); void refreshChatgptAccountPanel(name); }, true));
|
|
1186
|
+
const rows = el("div", { id: "chatgpt-account-rows", class: "account-card-list" }, [el("div", { class: "small", text: t("providers.checking") })]);
|
|
1187
|
+
const panel = el("div", { class: "provider-panel" }, [
|
|
1188
|
+
el("section", { class: "detail-section account-summary" }, [
|
|
1189
|
+
el("div", { class: "section-heading" }, [el("div", {}, [el("h3", { text: t("providers.chatgptAccountsTitle") }), el("p", { id: "chatgpt-account-count", class: "account-count", text: t("providers.chatgptAccountCount", { count: 0 }) }), hint(t("providers.chatgptAccountsSubtitle"))]), add]),
|
|
1190
|
+
waiting,
|
|
1191
|
+
]),
|
|
1192
|
+
el("section", { class: "detail-section" }, [rows]),
|
|
1193
|
+
]);
|
|
1194
|
+
queueMicrotask(() => void refreshChatgptAccountPanel(name));
|
|
1195
|
+
return panel;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1076
1198
|
function renderProviderDetail() {
|
|
1077
1199
|
const detail = $("#provider-detail");
|
|
1078
1200
|
providerDetailGeneration += 1;
|
|
@@ -1092,6 +1214,7 @@ function renderProviderDetail() {
|
|
|
1092
1214
|
]);
|
|
1093
1215
|
let content;
|
|
1094
1216
|
if (providerDetailTab === "accounts" && provider.type === "anthropic" && provider.auth === "claude-code") content = anthropicAccountsPanel(name, provider);
|
|
1217
|
+
else if (providerDetailTab === "accounts" && provider.type === "chatgpt") content = chatgptAccountsPanel(name);
|
|
1095
1218
|
else if (providerDetailTab === "models") content = providerModelsPanel(name, provider);
|
|
1096
1219
|
else { providerDetailTab = "overview"; content = providerOverview(name, provider); }
|
|
1097
1220
|
detail.replaceChildren(header, providerTabs(name, provider), content);
|
package/dist/ui/i18n.js
CHANGED
|
@@ -9,9 +9,9 @@ const I18N = {
|
|
|
9
9
|
"health.title": "상태", "health.subtitle": "Claude Desktop 연결, 프로바이더, 모델 피커 상태를 5초마다 확인합니다.", "health.desktop": "Claude Desktop 연결", "health.connection": "연결 상태", "health.connected": "연결됨", "health.notConnected": "연결 안 됨", "health.disconnected": "연결 안 됨", "health.connectedHelp": "Claude Desktop의 Code 탭 요청이 ClaudeRipple을 거쳐 나갑니다.", "health.notConnectedHelp": "Claude Desktop이 ClaudeRipple을 거치지 않습니다. 메뉴 막대 앱에서 라우터를 시작하거나 터미널에서 clauderipple install을 실행하세요.", "health.requests": "요청 (라우터 시작 후)", "health.requestCount": "요청 수", "health.requestsFmt": "완료 {completed} · 실패 {failed} · 진행 중 {inFlight}", "health.providers": "프로바이더", "health.noProviders": "연결한 프로바이더가 없습니다. 프로바이더 메뉴에서 추가하세요.", "health.quota": "사용량 {percent}%{reset}", "health.resetsIn": " · {hours}시간 뒤 초기화", "health.details": "자세히", "health.version": "버전", "health.runtime": "라우터 실행 파일 · 시작 시각", "health.routes": "매핑 수", "health.cli": "Claude Code 버전",
|
|
10
10
|
"picker.title": "모델 피커", "picker.statusHelp": "켜면 Claude Desktop의 모델 피커에 프로바이더 모델이 실제 이름으로 나타납니다. 끄면 모델 매핑대로 Claude 이름 뒤에서 답합니다.", "picker.state": "상태", "picker.on": "켜짐", "picker.off": "꺼짐", "picker.turnOn": "피커 켜기", "picker.turnOff": "피커 끄기", "picker.last": "최근에 모델 {count}개를 표시했습니다.", "picker.restartHelp": "켠 뒤 Claude Desktop을 완전히 껐다 다시 여세요.", "picker.confirmOn": "인증서 신뢰를 위해 운영체제가 확인 창을 띄웁니다(macOS는 로그인 암호, Windows는 인증서 확인). ClaudeRipple은 암호를 보지 않습니다. 계속할까요?", "picker.working": "처리 중입니다.", "picker.doneOn": "켜졌습니다. Claude Desktop을 완전히 껐다 다시 여세요.", "picker.doneOff": "꺼졌습니다. Claude Desktop을 완전히 껐다 다시 여세요.",
|
|
11
11
|
"slots.title": "모델 매핑", "slots.subtitle": "Claude 앱에서 고른 모델의 요청을 실제로 어떤 모델이 답할지 정합니다. 바꾸면 자동으로 저장됩니다.", "slots.pickerHelp": "켜면 Claude Desktop의 모델 피커에 프로바이더 모델이 실제 이름으로 나타납니다. 끄면 위의 매핑대로 Claude 이름 뒤에서 답합니다.", "slots.pickerModels": "피커에 넣을 모델", "slots.pickerModelsHelp": "체크한 모델이 Claude Desktop 피커에 나타나고, 고르면 그 모델이 바로 답합니다. 새로 넣은 모델은 새 세션부터 고를 수 있습니다(진행 중인 세션은 시작할 때의 목록을 씁니다).", "slots.add": "+ 매핑 추가", "slots.th.claude": "Claude 앱에서 고른 모델", "slots.th.target": "실제로 답하는 모델", "slots.th.effort": "추론 강도 (effort)", "slots.passthrough": "그대로 Claude가 답함", "slots.noProviderModels": "먼저 프로바이더를 연결하고 쓸 모델을 고르세요.", "slots.noChanges": "바꾸는 매핑이 없습니다. 모든 모델이 Claude 그대로 답합니다.", "slots.duplicate": "같은 Claude 모델을 두 번 매핑할 수 없습니다.", "slots.effortHint": "앱에서 고른 강도가 모델이 지원하지 않으면 가장 가까운 단계로 바꿔 보냅니다. (예: xhigh → high)", "slots.noEffort": "이 모델은 추론 강도를 받지 않습니다", "pool.ready": "사용 중", "pool.cooling": "{seconds}초 뒤 복귀", "pool.quarantined": "거부됨 — 키 확인 필요", "slots.modelSlots": "Claude Code 자체 모델 슬롯", "slots.modelSlotsHelp": "Claude Code가 요청을 만들기 전에 스스로 정하는 자리라, 매핑으로는 닿지 않습니다. 비워 두면 Claude가 답하고 Claude 한도를 씁니다. 특히 웹검색이 '작고 빠른 모델'에서 돌기 때문에, 그걸 옮기지 않으면 라우팅한 세션도 검색만은 Claude 한도를 씁니다. 바꾸면 설치 시 settings.json에 반영됩니다.", "slots.noWebSearch": "이 슬롯에선 웹검색 불가", "slots.noWebSearchWarn": "저장했습니다. 다만 여기서는 웹서치가 실패합니다 — ClaudeRipple이 이 모델로 검색을 돌릴 수 없습니다. (모델 자체가 검색을 못 하는 게 아닐 수도 있습니다. 기본값으로 두면 Claude가 검색합니다.)", "slots.slotDefault": "기본값 (Claude)", "slots.slot.smallFast": "작고 빠른 모델", "slots.slot.subagent": "서브에이전트", "slots.slot.main": "세션 기본 모델", "slots.slotHelp.smallFast": "웹검색·제목·분류", "slots.slotHelp.subagent": "모델을 따로 지정하지 않은 서브에이전트", "slots.slotHelp.main": "세션이 시작할 때의 모델", "slots.slotSaved": "모델 슬롯을 저장했습니다. 새 세션부터 적용됩니다.", "slots.windowGlobal": "기본값", "slots.windowHelp": "이 모델의 컨텍스트 창(토큰). 모델마다 다르므로 각각 적습니다. 비워 두면 프로바이더가 알려준 값을, 그것도 없으면 전체 기본값을 씁니다. 압축 시점이 아니라 모델의 실제 용량을 적으세요.",
|
|
12
|
-
"providers.title": "프로바이더", "providers.subtitle": "연결된 서비스와 계정을 한곳에서 관리합니다. 프로바이더를 고르면 설정과 계정이 오른쪽에 열립니다.", "providers.search": "프로바이더 검색…", "providers.overview": "개요", "providers.accounts": "계정", "providers.settings": "설정", "providers.modelsTab": "모델", "providers.selectedModels": "선택한 모델", "providers.modelsCountShort": "모델 {count}개", "providers.noSelection": "왼쪽에서 프로바이더를 선택하세요.", "providers.rotationOn": "자동 전환 켜짐", "providers.rotationOff": "자동 전환 꺼짐", "providers.rotationSaving": "자동 전환 저장 중…", "providers.rotationSaved": "자동 전환 설정을 저장했습니다.", "providers.accountCount": "연결된 계정 {count}개", "providers.accountCountHelp": "현재 Claude 로그인과 ClaudeRipple에 추가한 계정의 합계입니다.", "providers.accountPoolTitle": "Claude 계정", "providers.accountPoolSubtitle": "대화는 한 계정에 고정됩니다. 응답 시작 전 한도·인증 문제가 생길 때만 다음 계정으로 전환합니다.", "providers.addClaudeAccount": "+ Claude 계정 추가", "providers.currentAccountHelp": "Claude Code 또는 Claude Desktop이 현재 쓰는 외부 로그인입니다. ClaudeRipple에서는 삭제할 수 없습니다.", "providers.addedAccountHelp": "ClaudeRipple이 이 컴퓨터의 사용자 전용 파일에 OAuth 로그인을 저장하고 자동 갱신합니다.", "providers.reauthAction": "다시 로그인", "providers.dangerZone": "추가 계정 관리", "providers.saveSettings": "설정 저장", "providers.connection": "연결", "providers.authentication": "인증 방식", "providers.rotationRequired": "계정을 여러 개 추가해도 자동 전환을 켜야 Claude 앱·Claude Code 요청에 사용됩니다.", "providers.anthropic": "Claude (Anthropic)", "providers.anthropicHelp": "Claude 구독 계정을 자동 전환하거나, Claude 모델을 Codex 등 OpenAI 방식 도구에 제공합니다.", "providers.anthropicIngressOnly": "자동 전환을 끄면 여기서 고른 모델은 Codex 같은 OpenAI 방식 도구에만 제공되고 Claude 앱의 모델 매핑에는 나타나지 않습니다.", "providers.anthropicPoolRouting": "자동 전환을 켜면 Claude 앱·Claude Code 요청을 대화별로 한 계정에 고정하고, 한도 응답 전까지 프롬프트 캐시를 유지합니다. 429 또는 인증 거부가 응답 전에 오면 다음 계정으로 전환합니다. 여러 구독 계정 사용은 Anthropic 약관과 계정 제한 대상이 될 수 있으므로 본인 계정과 허용된 용도로만 쓰세요.", "providers.anthropicLoginReuse": "로그인 재사용", "providers.anthropicPoolOn": "계정 자동 전환", "providers.anthropicPool": "Claude 계정 자동 전환", "providers.anthropicPoolHelp": "현재 Claude 로그인과 아래 추가 계정을 함께 씁니다. 대화 중에는 같은 계정을 유지하고, 한도 또는 인증 문제일 때만 바꿉니다.", "providers.anthropicCurrent": "현재 로그인", "providers.anthropicReauth": "재로그인 필요", "providers.anthropicNoAccounts": "ClaudeRipple에 추가한 계정이 없습니다.", "providers.anthropicRenamePrompt": "이 계정의 표시 이름", "providers.anthropicRemoveConfirm": "Claude 계정 {name}을(를) ClaudeRipple에서 지울까요?", "providers.anthropicLogoutAll": "추가 계정 모두 삭제", "providers.anthropicLogoutAllConfirm": "ClaudeRipple에 추가한 Claude 계정을 모두 지울까요? Claude Code와 Claude Desktop의 현재 로그인은 그대로입니다.", "providers.anthropicAuthClaudeCode": "Claude Code 로그인 재사용 (자동)", "providers.anthropicAuthApiKey": "API 키", "providers.anthropicCredentialsHelp": "Claude Code 로그인 또는 Anthropic API 키 중 사용할 방식을 고르세요.", "providers.anthropicSourceObserved": "Claude Desktop 세션에서 감지됨", "providers.anthropicSourceClaudeCode": "터미널 claude 로그인", "providers.anthropicSourceTokenFile": "ClaudeRipple 토큰", "providers.anthropicSourceMissing": "없음 — 아래 버튼으로 연결", "providers.anthropicLogin": "+ Claude 계정 추가", "providers.anthropicOAuthTitle": "Claude 계정 추가", "providers.anthropicOAuthWarning": "Claude 구독 OAuth를 타사 프록시에서 사용하는 방식은 Anthropic이 지원하는 통합이 아니며, 약관 또는 계정 제한 대상이 될 수 있습니다. 본인 계정과 허용된 용도로만 사용하세요.", "providers.anthropicOAuthAccept": "위험을 이해했으며 OAuth로 계속 진행합니다.", "providers.anthropicOAuthContinue": "OAuth로 계속", "providers.anthropicLogout": "연결 해제", "providers.anthropicLoginDone": "Claude 구독을 연결했습니다.", "providers.anthropicSignInBrowser": "브라우저에서 Claude에 로그인하세요. 창이 열리지 않았으면 아래 링크를 여세요.", "providers.anthropicSignInLink": "로그인 페이지 열기", "providers.anthropicSignInPaste": "브라우저에서 로그인한 뒤 표시되는 코드를 여기에 붙여넣으세요.", "providers.anthropicSignInSubmit": "코드 제출", "providers.anthropicSignInManual": "코드 붙여넣기로 다시 시도", "providers.anthropicSignInWaiting": "브라우저 승인을 기다리는 중… (최대 5분)", "providers.anthropicSignInFailed": "로그인에 실패했습니다", "providers.anthropicSignedInActive": "ClaudeRipple 로그인을 씁니다.", "providers.anthropicSignedInStandby": "ClaudeRipple 로그인도 저장돼 있습니다. 위 출처가 사라지면 이것을 씁니다.", "providers.add": "+ 프로바이더 추가", "providers.refresh": "모두 연결 확인", "providers.check": "연결 확인", "providers.checking": "확인 중", "providers.empty": "아직 연결한 프로바이더가 없습니다. 위의 버튼으로 추가하세요.", "providers.modelsCount": "쓰는 모델 {count}개: {names}", "providers.noModels": "고른 모델이 없습니다. 수정에서 골라 주세요.", "providers.removeConfirm": "프로바이더 {name}을(를) 지울까요? 이 프로바이더를 쓰는 모델 매핑도 함께 지워집니다.", "providers.choose": "프로바이더 추가", "providers.chooseHelp": "연결할 서비스를 하나 고르세요.", "providers.chatgpt": "ChatGPT 구독", "providers.chatgptHelp": "ChatGPT Plus/Pro 구독으로 GPT 모델을 씁니다. API 키 없이 로그인만 하면 됩니다.", "providers.presetHelp": "API 키만 붙여 넣으면 됩니다.", "providers.openaiGroup": "OpenAI 호환", "providers.openaiGroupHelp": "요청은 ClaudeRipple이 OpenAI API 형식으로 번역해 보냅니다.", "providers.verified": "공식 문서로 확인됨", "providers.custom": "직접 입력", "providers.customName": "새 프로바이더", "providers.customHelp": "목록에 없는 Anthropic 호환 API를 주소와 키로 직접 연결합니다.", "providers.addTitle": "프로바이더 추가", "providers.edit": "프로바이더 수정", "providers.name": "이름", "providers.nameHelp": "목록과 매핑에서 이 프로바이더를 부르는 이름입니다.", "providers.nameRequired": "이름을 입력하세요.", "providers.apiKey": "API 키", "providers.keyHelp": "프로바이더 사이트에서 발급한 API 키입니다. 이 컴퓨터의 설정 파일에만 저장됩니다.", "providers.keyPlaceholder": "API 키를 붙여 넣으세요", "providers.keySaved": "저장된 키를 그대로 씁니다. 바꾸려면 새 키를 붙여 넣으세요.", "providers.url": "API 주소 (URL)", "providers.urlHelp": "Anthropic 호환 엔드포인트의 기본 주소입니다. 서비스 문서와 다를 때만 바꾸세요.", "providers.openaiUrlHelp": "OpenAI 호환 API의 기본 주소입니다. 요청은 이 주소의 Chat Completions 또는 Responses endpoint로 번역됩니다.", "providers.wire": "API 형식 (wire)", "providers.wireHelp": "대부분 Chat Completions를 씁니다. 공급자가 stateless Responses API를 지원할 때만 Responses를 고르세요.", "providers.urlRequired": "올바른 URL을 입력하세요.", "providers.keyType": "인증 헤더", "providers.keyTypeHelp": "대부분 x-api-key입니다. 서비스 문서가 Authorization: Bearer를 쓰라고 하면 그것을 고르세요.", "providers.extraHeaders": "추가 HTTP 헤더", "providers.extraHeadersHelp": "서비스가 따로 요구하는 헤더만 '이름: 값' 형식으로 한 줄씩.", "providers.models": "쓸 모델", "providers.modelsHelp": "체크한 모델이 모델 매핑의 선택 목록에 나타납니다.", "providers.modelsFound": "프로바이더가 알려 준 모델 목록입니다.", "providers.modelsFallback": "목록을 받아오지 못해 알려진 기본 모델을 보여 줍니다.", "measure.running": "모델 능력 검사 중… ({done}/{total})", "measure.help": "각 모델이 실제로 어느 방식으로 답하는지, 어떤 추론 강도를 받는지 직접 물어서 확인합니다.", "measure.done": "모델 능력을 확인했습니다: {summary}", "measure.nothing": "확인된 것이 없습니다. 모델이 응답하지 않았습니다.", "measure.notEntitled": "{models}: 이 프로바이더의 자체 앱 안에서만 쓸 수 있는 모델입니다. 여기서는 고르셔도 쓰이지 않습니다.", "measure.failed": "모델 능력을 확인하지 못했습니다.", "measure.authFailed": "API 키가 거부돼 모델 능력을 확인하지 못했습니다.", "providers.probeNotEntitled": "키는 통과했지만 요금제가 거부했습니다.", "providerStatus.notEntitled": "요금제 제한", "providers.probeOk": "연결됐습니다.", "providers.probeFailed": "연결하지 못했습니다.", "providers.apiSoon": "잠시 후 다시 확인하세요.", "providers.showInPicker": "Claude 앱 피커에도 실제 이름으로 표시", "providers.pickerOffHint": "지금은 피커 모드가 꺼져 있어 체크해도 피커에 나타나지 않습니다. 저장할 때 켤지 물어봅니다.", "providers.pickerOffPrompt": "피커 모드가 꺼져 있어 이 모델들은 아직 Claude Desktop 피커에 나타나지 않습니다. 지금 켤까요? 인증서 신뢰를 위해 운영체제가 확인 창을 띄웁니다.", "providers.credentials": "로그인 방식", "providers.credentialsHelp": "ChatGPT 계정 토큰을 어디서 가져올지 정합니다.", "providers.authAuto": "자동 (직접 로그인이 있으면 그것, 없으면 Codex CLI 것)", "providers.authOwn": "ClaudeRipple에서 직접 로그인", "providers.authBorrow": "Codex CLI 로그인 재사용 (~/.codex/auth.json)", "providers.login": "ChatGPT 로그인 방법", "providers.loginHelp": "메뉴 막대 앱의 'ChatGPT 로그인…' 또는 터미널의 clauderipple login이 브라우저 로그인 창을 엽니다. 토큰은 이 컴퓨터에만 저장됩니다.", "providers.loginHint": "메뉴 막대 앱에서 'ChatGPT 로그인…'을 누르거나 터미널에서 clauderipple login을 실행하세요.", "providers.chatgptLogin": "ChatGPT 로그인", "providers.chatgptLoginWaiting": "브라우저에서 로그인을 마치세요. 완료되면 여기가 갱신됩니다.", "providers.chatgptLoginDone": "ChatGPT 로그인을 완료했습니다.", "providers.effortLevels": "추론 강도: {levels}", "providers.effortNone": "받지 않음", "providers.modelEffort": "강도 조절", "providers.modelNoEffort": "강도 없음", "providers.defaultEffort": "기본 추론 강도 (effort)", "providers.defaultEffortHelp": "매핑이나 앱에서 강도를 따로 정하지 않은 요청에 쓰는 값입니다.", "providers.identity": "모델에게 자기 정체 알리기 (identity)", "providers.append": "시스템 프롬프트 추가 문구", "providers.appendHelp": "모든 요청의 시스템 프롬프트 끝에 붙는 고정 문구입니다. 자주 바꾸면 프롬프트 캐시가 깨져 비용이 늘어납니다.",
|
|
12
|
+
"providers.title": "프로바이더", "providers.subtitle": "연결된 서비스와 계정을 한곳에서 관리합니다. 프로바이더를 고르면 설정과 계정이 오른쪽에 열립니다.", "providers.search": "프로바이더 검색…", "providers.overview": "개요", "providers.accounts": "계정", "providers.settings": "설정", "providers.modelsTab": "모델", "providers.selectedModels": "선택한 모델", "providers.modelsCountShort": "모델 {count}개", "providers.noSelection": "왼쪽에서 프로바이더를 선택하세요.", "providers.rotationOn": "자동 전환 켜짐", "providers.rotationOff": "자동 전환 꺼짐", "providers.rotationSaving": "자동 전환 저장 중…", "providers.rotationSaved": "자동 전환 설정을 저장했습니다.", "providers.accountCount": "연결된 계정 {count}개", "providers.accountCountHelp": "현재 Claude 로그인과 ClaudeRipple에 추가한 계정의 합계입니다.", "providers.accountPoolTitle": "Claude 계정", "providers.accountPoolSubtitle": "대화는 한 계정에 고정됩니다. 응답 시작 전 한도·인증 문제가 생길 때만 다음 계정으로 전환합니다.", "providers.addClaudeAccount": "+ Claude 계정 추가", "providers.currentAccountHelp": "Claude Code 또는 Claude Desktop이 현재 쓰는 외부 로그인입니다. ClaudeRipple에서는 삭제할 수 없습니다.", "providers.addedAccountHelp": "ClaudeRipple이 이 컴퓨터의 사용자 전용 파일에 OAuth 로그인을 저장하고 자동 갱신합니다.", "providers.reauthAction": "다시 로그인", "providers.dangerZone": "추가 계정 관리", "providers.saveSettings": "설정 저장", "providers.connection": "연결", "providers.authentication": "인증 방식", "providers.rotationRequired": "계정을 여러 개 추가해도 자동 전환을 켜야 Claude 앱·Claude Code 요청에 사용됩니다.", "providers.anthropic": "Claude (Anthropic)", "providers.anthropicHelp": "Claude 구독 계정을 자동 전환하거나, Claude 모델을 Codex 등 OpenAI 방식 도구에 제공합니다.", "providers.anthropicIngressOnly": "자동 전환을 끄면 여기서 고른 모델은 Codex 같은 OpenAI 방식 도구에만 제공되고 Claude 앱의 모델 매핑에는 나타나지 않습니다.", "providers.anthropicPoolRouting": "자동 전환을 켜면 Claude 앱·Claude Code 요청을 대화별로 한 계정에 고정하고, 한도 응답 전까지 프롬프트 캐시를 유지합니다. 429 또는 인증 거부가 응답 전에 오면 다음 계정으로 전환합니다. 여러 구독 계정 사용은 Anthropic 약관과 계정 제한 대상이 될 수 있으므로 본인 계정과 허용된 용도로만 쓰세요.", "providers.anthropicLoginReuse": "로그인 재사용", "providers.anthropicPoolOn": "계정 자동 전환", "providers.anthropicPool": "Claude 계정 자동 전환", "providers.anthropicPoolHelp": "현재 Claude 로그인과 아래 추가 계정을 함께 씁니다. 대화 중에는 같은 계정을 유지하고, 한도 또는 인증 문제일 때만 바꿉니다.", "providers.anthropicCurrent": "현재 로그인", "providers.anthropicReauth": "재로그인 필요", "providers.anthropicNoAccounts": "ClaudeRipple에 추가한 계정이 없습니다.", "providers.anthropicRenamePrompt": "이 계정의 표시 이름", "providers.anthropicRemoveConfirm": "Claude 계정 {name}을(를) ClaudeRipple에서 지울까요?", "providers.anthropicLogoutAll": "추가 계정 모두 삭제", "providers.anthropicLogoutAllConfirm": "ClaudeRipple에 추가한 Claude 계정을 모두 지울까요? Claude Code와 Claude Desktop의 현재 로그인은 그대로입니다.", "providers.anthropicAuthClaudeCode": "Claude Code 로그인 재사용 (자동)", "providers.anthropicAuthApiKey": "API 키", "providers.anthropicCredentialsHelp": "Claude Code 로그인 또는 Anthropic API 키 중 사용할 방식을 고르세요.", "providers.anthropicSourceObserved": "Claude Desktop 세션에서 감지됨", "providers.anthropicSourceClaudeCode": "터미널 claude 로그인", "providers.anthropicSourceTokenFile": "ClaudeRipple 토큰", "providers.anthropicSourceMissing": "없음 — 아래 버튼으로 연결", "providers.anthropicLogin": "+ Claude 계정 추가", "providers.anthropicOAuthTitle": "Claude 계정 추가", "providers.anthropicOAuthWarning": "Claude 구독 OAuth를 타사 프록시에서 사용하는 방식은 Anthropic이 지원하는 통합이 아니며, 약관 또는 계정 제한 대상이 될 수 있습니다. 본인 계정과 허용된 용도로만 사용하세요.", "providers.anthropicOAuthAccept": "위험을 이해했으며 OAuth로 계속 진행합니다.", "providers.anthropicOAuthContinue": "OAuth로 계속", "providers.anthropicLogout": "연결 해제", "providers.anthropicLoginDone": "Claude 구독을 연결했습니다.", "providers.anthropicSignInBrowser": "브라우저에서 Claude에 로그인하세요. 창이 열리지 않았으면 아래 링크를 여세요.", "providers.anthropicSignInLink": "로그인 페이지 열기", "providers.anthropicSignInPaste": "브라우저에서 로그인한 뒤 표시되는 코드를 여기에 붙여넣으세요.", "providers.anthropicSignInSubmit": "코드 제출", "providers.anthropicSignInManual": "코드 붙여넣기로 다시 시도", "providers.anthropicSignInWaiting": "브라우저 승인을 기다리는 중… (최대 5분)", "providers.anthropicSignInFailed": "로그인에 실패했습니다", "providers.anthropicSignedInActive": "ClaudeRipple 로그인을 씁니다.", "providers.anthropicSignedInStandby": "ClaudeRipple 로그인도 저장돼 있습니다. 위 출처가 사라지면 이것을 씁니다.", "providers.add": "+ 프로바이더 추가", "providers.refresh": "모두 연결 확인", "providers.check": "연결 확인", "providers.checking": "확인 중", "providers.empty": "아직 연결한 프로바이더가 없습니다. 위의 버튼으로 추가하세요.", "providers.modelsCount": "쓰는 모델 {count}개: {names}", "providers.noModels": "고른 모델이 없습니다. 수정에서 골라 주세요.", "providers.removeConfirm": "프로바이더 {name}을(를) 지울까요? 이 프로바이더를 쓰는 모델 매핑도 함께 지워집니다.", "providers.choose": "프로바이더 추가", "providers.chooseHelp": "연결할 서비스를 하나 고르세요.", "providers.chatgpt": "ChatGPT 구독", "providers.chatgptHelp": "ChatGPT Plus/Pro 구독으로 GPT 모델을 씁니다. API 키 없이 로그인만 하면 됩니다.", "providers.presetHelp": "API 키만 붙여 넣으면 됩니다.", "providers.openaiGroup": "OpenAI 호환", "providers.openaiGroupHelp": "요청은 ClaudeRipple이 OpenAI API 형식으로 번역해 보냅니다.", "providers.verified": "공식 문서로 확인됨", "providers.custom": "직접 입력", "providers.customName": "새 프로바이더", "providers.customHelp": "목록에 없는 Anthropic 호환 API를 주소와 키로 직접 연결합니다.", "providers.addTitle": "프로바이더 추가", "providers.edit": "프로바이더 수정", "providers.name": "이름", "providers.nameHelp": "목록과 매핑에서 이 프로바이더를 부르는 이름입니다.", "providers.nameRequired": "이름을 입력하세요.", "providers.apiKey": "API 키", "providers.keyHelp": "프로바이더 사이트에서 발급한 API 키입니다. 이 컴퓨터의 설정 파일에만 저장됩니다.", "providers.keyPlaceholder": "API 키를 붙여 넣으세요", "providers.keySaved": "저장된 키를 그대로 씁니다. 바꾸려면 새 키를 붙여 넣으세요.", "providers.url": "API 주소 (URL)", "providers.urlHelp": "Anthropic 호환 엔드포인트의 기본 주소입니다. 서비스 문서와 다를 때만 바꾸세요.", "providers.openaiUrlHelp": "OpenAI 호환 API의 기본 주소입니다. 요청은 이 주소의 Chat Completions 또는 Responses endpoint로 번역됩니다.", "providers.wire": "API 형식 (wire)", "providers.wireHelp": "대부분 Chat Completions를 씁니다. 공급자가 stateless Responses API를 지원할 때만 Responses를 고르세요.", "providers.urlRequired": "올바른 URL을 입력하세요.", "providers.keyType": "인증 헤더", "providers.keyTypeHelp": "대부분 x-api-key입니다. 서비스 문서가 Authorization: Bearer를 쓰라고 하면 그것을 고르세요.", "providers.extraHeaders": "추가 HTTP 헤더", "providers.extraHeadersHelp": "서비스가 따로 요구하는 헤더만 '이름: 값' 형식으로 한 줄씩.", "providers.models": "쓸 모델", "providers.modelsHelp": "체크한 모델이 모델 매핑의 선택 목록에 나타납니다.", "providers.modelsFound": "프로바이더가 알려 준 모델 목록입니다.", "providers.modelsFallback": "목록을 받아오지 못해 알려진 기본 모델을 보여 줍니다.", "measure.running": "모델 능력 검사 중… ({done}/{total})", "measure.help": "각 모델이 실제로 어느 방식으로 답하는지, 어떤 추론 강도를 받는지 직접 물어서 확인합니다.", "measure.done": "모델 능력을 확인했습니다: {summary}", "measure.nothing": "확인된 것이 없습니다. 모델이 응답하지 않았습니다.", "measure.notEntitled": "{models}: 이 프로바이더의 자체 앱 안에서만 쓸 수 있는 모델입니다. 여기서는 고르셔도 쓰이지 않습니다.", "measure.failed": "모델 능력을 확인하지 못했습니다.", "measure.authFailed": "API 키가 거부돼 모델 능력을 확인하지 못했습니다.", "providers.probeNotEntitled": "키는 통과했지만 요금제가 거부했습니다.", "providerStatus.notEntitled": "요금제 제한", "providers.probeOk": "연결됐습니다.", "providers.probeFailed": "연결하지 못했습니다.", "providers.apiSoon": "잠시 후 다시 확인하세요.", "providers.showInPicker": "Claude 앱 피커에도 실제 이름으로 표시", "providers.pickerOffHint": "지금은 피커 모드가 꺼져 있어 체크해도 피커에 나타나지 않습니다. 저장할 때 켤지 물어봅니다.", "providers.pickerOffPrompt": "피커 모드가 꺼져 있어 이 모델들은 아직 Claude Desktop 피커에 나타나지 않습니다. 지금 켤까요? 인증서 신뢰를 위해 운영체제가 확인 창을 띄웁니다.", "providers.credentials": "로그인 방식", "providers.credentialsHelp": "ChatGPT 계정 토큰을 어디서 가져올지 정합니다.", "providers.authAuto": "자동 (직접 로그인이 있으면 그것, 없으면 Codex CLI 것)", "providers.authOwn": "ClaudeRipple에서 직접 로그인", "providers.authBorrow": "Codex CLI 로그인 재사용 (~/.codex/auth.json)", "providers.login": "ChatGPT 로그인 방법", "providers.loginHelp": "메뉴 막대 앱의 'ChatGPT 로그인…' 또는 터미널의 clauderipple login이 브라우저 로그인 창을 엽니다. 토큰은 이 컴퓨터에만 저장됩니다.", "providers.loginHint": "메뉴 막대 앱에서 'ChatGPT 로그인…'을 누르거나 터미널에서 clauderipple login을 실행하세요.", "providers.chatgptLogin": "ChatGPT 로그인", "providers.chatgptLoginWaiting": "브라우저에서 로그인을 마치세요. 완료되면 여기가 갱신됩니다.", "providers.chatgptLoginDone": "ChatGPT 로그인을 완료했습니다.", "providers.chatgptAccountsTitle": "ChatGPT 계정", "providers.chatgptAccountsSubtitle": "계정을 여러 개 추가하면 한 계정이 한도에 걸릴 때 다음 계정이 같은 요청을 이어받습니다. 대화는 답한 계정에 고정되어 캐시를 지킵니다. 순서는 목록 순서입니다.", "providers.addChatgptAccount": "+ ChatGPT 계정 추가", "providers.chatgptAddWaiting": "브라우저에서 추가할 계정으로 로그인하세요. 로그인 화면에 이미 로그인된 계정이 보이면 다른 계정을 고르세요.", "providers.chatgptAdded": "ChatGPT 계정을 추가했습니다.", "providers.chatgptNoAccounts": "로그인한 ChatGPT 계정이 없습니다.", "providers.chatgptAccountCount": "계정 {count}개", "providers.chatgptCodexHelp": "Codex CLI의 로그인입니다. ClaudeRipple은 읽기만 하고 갱신하지 않으며, 순서는 맨 뒤입니다.", "providers.chatgptOwnHelp": "ClaudeRipple이 이 컴퓨터의 사용자 전용 파일에 저장하고 자동 갱신합니다.", "providers.chatgptInUse": "지금 사용 중", "providers.chatgptStandby": "대기", "providers.chatgptPause": "일시정지", "providers.chatgptResume": "다시 사용", "providers.chatgptPaused": "일시정지됨", "providers.chatgptClearCooldown": "지금 복귀", "providers.chatgptRemoveConfirm": "ChatGPT 계정 {name}을(를) ClaudeRipple에서 지울까요?", "providers.chatgptReauthHelp": "로그인이 만료되었거나 거부되었습니다. 같은 계정으로 다시 로그인하면 이 자리에 복구됩니다.", "pool.coolingFor": "{duration} 뒤 복귀", "time.hoursMinutes": "{h}시간 {m}분", "time.minutes": "{m}분", "time.seconds": "{s}초", "quota.window5h": "5시간", "quota.windowWeek": "주간", "quota.windowHours": "{hours}시간", "quota.line": "{window} {percent}%", "quota.resetAt": "{time} 초기화", "providers.effortLevels": "추론 강도: {levels}", "providers.effortNone": "받지 않음", "providers.modelEffort": "강도 조절", "providers.modelNoEffort": "강도 없음", "providers.defaultEffort": "기본 추론 강도 (effort)", "providers.defaultEffortHelp": "매핑이나 앱에서 강도를 따로 정하지 않은 요청에 쓰는 값입니다.", "providers.identity": "모델에게 자기 정체 알리기 (identity)", "providers.append": "시스템 프롬프트 추가 문구", "providers.appendHelp": "모든 요청의 시스템 프롬프트 끝에 붙는 고정 문구입니다. 자주 바꾸면 프롬프트 캐시가 깨져 비용이 늘어납니다.",
|
|
13
13
|
"providerStatus.connected": "연결됨", "providerStatus.keyNeeded": "키 확인 필요", "providerStatus.loginNeeded": "로그인 필요", "providerStatus.disconnected": "연결 안 됨", "providerStatus.checking": "확인 중",
|
|
14
|
-
"clients.title": "클라이언트", "clients.subtitle": "ClaudeRipple을 쓰는 앱을 설정합니다.", "clients.desktop.title": "Claude Desktop", "clients.desktop.help": "모델 피커에 프로바이더 모델을 실제 이름으로 표시할지 정합니다.", "clients.codex.title": "Codex (앱·CLI)", "clients.codex.help": "Codex 설정(~/.codex/config.toml)에 ClaudeRipple 프로바이더를 추가합니다. 터미널은 `codex --profile clauderipple -m <모델>`, Codex 앱은 설정에서 프로바이더 clauderipple을 기본으로 고르면 됩니다.", "clients.codex.note": "ChatGPT
|
|
14
|
+
"clients.title": "클라이언트", "clients.subtitle": "ClaudeRipple을 쓰는 앱을 설정합니다.", "clients.desktop.title": "Claude Desktop", "clients.desktop.help": "모델 피커에 프로바이더 모델을 실제 이름으로 표시할지 정합니다.", "clients.codex.title": "Codex (앱·CLI)", "clients.codex.help": "Codex 설정(~/.codex/config.toml)에 ClaudeRipple 프로바이더를 추가합니다. 터미널은 `codex --profile clauderipple -m <모델>`, Codex 앱은 설정에서 프로바이더 clauderipple을 기본으로 고르면 됩니다.", "clients.codex.note": "켜면 Codex의 GPT 요청도 ClaudeRipple을 거칩니다. Codex는 로그인을 그대로 유지하고, ChatGPT 계정을 여러 개 추가해 두면 한 계정이 한도에 걸릴 때 로그아웃 없이 다음 계정이 이어받습니다. 아래 목록은 Codex에 추가로 보이는 Claude·Anthropic 호환 모델입니다.", "clients.codex.turnOn": "Codex에서 ClaudeRipple 사용", "clients.codex.turnOff": "Codex 연결 해제", "clients.claudeCode.title": "터미널 Claude Code", "clients.claudeCode.help": "터미널 `claude`도 같은 라우터를 씁니다. `/model <이름>`으로 고르세요.",
|
|
15
15
|
"logs.title": "로그", "logs.requests": "요청", "logs.raw": "원본 로그", "logs.lastHour": "최근 1시간", "logs.autoscroll": "자동 스크롤", "logs.polling": "3초마다 갱신", "logs.rawPolling": "3초마다 갱신 · 최근 200줄", "logs.provider": "프로바이더", "logs.all": "전체", "logs.showCountTokens": "토큰 수 계산 표시", "logs.empty": "아직 요청이 없습니다.", "logs.summary.requests": "요청 수", "logs.summary.success": "성공 / 실패", "logs.summary.input": "입력 토큰", "logs.summary.output": "출력 토큰", "logs.summary.duration": "평균 응답 시간", "logs.cacheHit": "캐시 {percent}%", "logs.th.time": "시간", "logs.th.models": "모델", "logs.th.effort": "effort", "logs.th.input": "입력", "logs.th.output": "출력", "logs.th.duration": "소요", "logs.th.status": "상태", "logs.status.ok": "성공", "logs.status.error": "오류", "logs.detail.id": "요청 ID", "logs.detail.kind": "종류", "logs.detail.stop": "종료 사유", "logs.detail.uncached": "새로 계산한 입력", "logs.detail.cacheRead": "캐시 읽기", "logs.detail.cacheWrite": "캐시 기록", "logs.detail.note": "메모", "logs.none": "없음", "logs.seconds": "{value}초",
|
|
16
16
|
"about.title": "정보", "about.body": "ClaudeRipple은 독립 오픈소스 프로젝트이며 Anthropic·OpenAI와 제휴·보증·후원 관계가 없습니다. Claude와 Claude Code는 Anthropic, PBC의 상표입니다.", "about.license": "라이선스: GPL-3.0",
|
|
17
17
|
"providers.identityHelp": "시스템 프롬프트 맨 앞에 '너는 <모델명>이고 Claude Code를 통해 답한다'를 넣습니다. 끄면 모델이 자신을 Claude라고 착각할 수 있습니다.",
|
|
@@ -42,9 +42,9 @@ const I18N = {
|
|
|
42
42
|
"health.title": "Status", "health.subtitle": "Claude Desktop connection, providers and the model picker, refreshed every 5s.", "health.desktop": "Claude Desktop connection", "health.connection": "Connection", "health.connected": "Connected", "health.notConnected": "Not connected", "health.disconnected": "Not connected", "health.connectedHelp": "Claude Desktop's Code tab requests go through ClaudeRipple.", "health.notConnectedHelp": "Claude Desktop is not going through ClaudeRipple. Start the router from the menu-bar app or run clauderipple install.", "health.requests": "Requests (since router start)", "health.requestCount": "Request count", "health.requestsFmt": "{completed} done · {failed} failed · {inFlight} in progress", "health.providers": "Providers", "health.noProviders": "No providers connected. Add one under Providers.", "health.quota": "{percent}% used{reset}", "health.resetsIn": " · resets in {hours}h", "health.details": "Details", "health.version": "Version", "health.runtime": "Router files · started", "health.routes": "Mappings", "health.cli": "Claude Code version",
|
|
43
43
|
"picker.title": "Model picker", "picker.statusHelp": "On: provider models appear under their real names in the Claude Desktop picker. Off: they answer behind Claude names per the mapping.", "picker.state": "State", "picker.on": "On", "picker.off": "Off", "picker.turnOn": "Turn picker on", "picker.turnOff": "Turn picker off", "picker.last": "Most recently showed {count} models.", "picker.restartHelp": "After turning it on, quit Claude Desktop completely and open it again.", "picker.confirmOn": "Your operating system will ask you to confirm trusting the certificate (macOS asks for your login password, Windows shows a certificate dialog). ClaudeRipple never sees your password. Continue?", "picker.working": "Working.", "picker.doneOn": "Turned on. Quit Claude Desktop completely and open it again.", "picker.doneOff": "Turned off. Quit Claude Desktop completely and open it again.",
|
|
44
44
|
"slots.title": "Model mapping", "slots.subtitle": "Decide which model actually answers when you pick a Claude model in the app. Changes save automatically.", "slots.pickerHelp": "On: provider models appear under their real names in the Claude Desktop picker. Off: they answer behind Claude names per the mapping above.", "slots.pickerModels": "Models to put in the picker", "slots.pickerModelsHelp": "Checked models appear in the Claude Desktop picker; picking one makes it answer directly. Newly added models are selectable from the next session (a running session keeps the list it started with).", "slots.add": "+ Add mapping", "slots.th.claude": "Picked in the Claude app", "slots.th.target": "Actually answered by", "slots.th.effort": "Reasoning effort", "slots.passthrough": "Claude answers as usual", "slots.noProviderModels": "Connect a provider and choose its models first.", "slots.noChanges": "No mappings. Every model answers as Claude.", "slots.duplicate": "A Claude model can be mapped only once.", "slots.effortHint": "If the effort chosen in the app is unsupported by the model, ClaudeRipple sends the nearest level instead. (For example: xhigh → high)", "slots.noEffort": "This model does not take a reasoning effort", "pool.ready": "in use", "pool.cooling": "back in {seconds}s", "pool.quarantined": "rejected — check the key", "slots.modelSlots": "Claude Code's own model slots", "slots.modelSlotsHelp": "Claude Code chooses these before a request exists, so a mapping cannot reach them. Left empty, Claude answers them and they cost Claude quota. Web search in particular runs on the small, fast model, so a routed session still searches on Claude quota until that one is moved. Changes are written to settings.json on install.", "slots.noWebSearch": "no web search here", "slots.noWebSearchWarn": "Saved, but web search will fail on this model — ClaudeRipple cannot run a search through it. The model itself may be able to; leaving this on the default lets Claude search.", "slots.slotDefault": "default (Claude)", "slots.slot.smallFast": "Small, fast model", "slots.slot.subagent": "Subagents", "slots.slot.main": "Session default", "slots.slotHelp.smallFast": "web search, titles, classifiers", "slots.slotHelp.subagent": "a subagent that names no model of its own", "slots.slotHelp.main": "what a session starts on", "slots.slotSaved": "Model slots saved. They take effect in a new session.", "slots.windowGlobal": "default", "slots.windowHelp": "This model's context window, in tokens. Routed models do not share one, so each carries its own. Left blank it takes what the provider reported, and otherwise the global default. Enter the model's real window, not a compaction point.",
|
|
45
|
-
"providers.title": "Providers", "providers.subtitle": "Manage connected services and accounts in one place. Pick a provider to open its settings and accounts.", "providers.search": "Search providers…", "providers.overview": "Overview", "providers.accounts": "Accounts", "providers.settings": "Settings", "providers.modelsTab": "Models", "providers.selectedModels": "Selected models", "providers.modelsCountShort": "{count} models", "providers.noSelection": "Select a provider on the left.", "providers.rotationOn": "Rotation on", "providers.rotationOff": "Rotation off", "providers.rotationSaving": "Saving rotation…", "providers.rotationSaved": "Account rotation saved.", "providers.accountCount": "{count} connected accounts", "providers.accountCountHelp": "Includes the current Claude login and accounts added to ClaudeRipple.", "providers.accountPoolTitle": "Claude accounts", "providers.accountPoolSubtitle": "A conversation stays on one account. ClaudeRipple switches only when quota or authentication fails before output starts.", "providers.addClaudeAccount": "+ Add Claude account", "providers.currentAccountHelp": "The external sign-in currently used by Claude Code or Claude Desktop. ClaudeRipple cannot remove it.", "providers.addedAccountHelp": "ClaudeRipple stores this OAuth grant on this computer and refreshes it automatically.", "providers.reauthAction": "Sign in again", "providers.dangerZone": "Added account management", "providers.saveSettings": "Save settings", "providers.connection": "Connection", "providers.authentication": "Authentication", "providers.rotationRequired": "Added accounts are used for Claude app and Claude Code requests only when account rotation is on.", "providers.anthropic": "Claude (Anthropic)", "providers.anthropicHelp": "Rotate Claude subscription accounts, or serve Claude models to OpenAI-style tools such as Codex.", "providers.anthropicIngressOnly": "With account rotation off, the models chosen here are served only to OpenAI-style tools such as Codex and do not appear in Claude app mappings.", "providers.anthropicPoolRouting": "With account rotation on, Claude app and Claude Code requests stay on one account per conversation to preserve the prompt cache. A 429 or authentication refusal before the response starts moves the request to the next account. Using multiple subscriptions may be subject to Anthropic's terms and account restrictions; use only your own authorized accounts.", "providers.anthropicLoginReuse": "Reuse sign-in", "providers.anthropicPoolOn": "Account rotation", "providers.anthropicPool": "Rotate Claude accounts automatically", "providers.anthropicPoolHelp": "Uses the current Claude login plus the additional accounts below. A conversation stays on its account unless quota or authentication fails.", "providers.anthropicCurrent": "Current login", "providers.anthropicReauth": "Sign in again", "providers.anthropicNoAccounts": "No accounts have been added to ClaudeRipple.", "providers.anthropicRenamePrompt": "Display name for this account", "providers.anthropicRemoveConfirm": "Remove Claude account {name} from ClaudeRipple?", "providers.anthropicLogoutAll": "Remove all added accounts", "providers.anthropicLogoutAllConfirm": "Remove every Claude account added to ClaudeRipple? The current Claude Code and Claude Desktop login is not changed.", "providers.anthropicAuthClaudeCode": "Reuse Claude Code sign-in (automatic)", "providers.anthropicAuthApiKey": "API key", "providers.anthropicCredentialsHelp": "Choose your Claude Code sign-in or an Anthropic API key.", "providers.anthropicSourceObserved": "Detected from a Claude Desktop session", "providers.anthropicSourceClaudeCode": "Terminal Claude sign-in", "providers.anthropicSourceTokenFile": "ClaudeRipple token", "providers.anthropicSourceMissing": "None — connect below", "providers.anthropicLogin": "+ Add Claude account", "providers.anthropicOAuthTitle": "Add Claude account", "providers.anthropicOAuthWarning": "Using Claude subscription OAuth through a third-party proxy is not an Anthropic-supported integration and may be subject to terms or account restrictions. Use only your own accounts for authorized purposes.", "providers.anthropicOAuthAccept": "I understand the risk and want to continue with OAuth.", "providers.anthropicOAuthContinue": "Continue with OAuth", "providers.anthropicLogout": "Disconnect", "providers.anthropicLoginDone": "Claude subscription connected.", "providers.anthropicSignInBrowser": "Sign in to Claude in your browser. If no window opened, use the link below.", "providers.anthropicSignInLink": "Open the sign-in page", "providers.anthropicSignInPaste": "After signing in, paste the code the page shows here.", "providers.anthropicSignInSubmit": "Submit code", "providers.anthropicSignInManual": "Try again by pasting a code", "providers.anthropicSignInWaiting": "Waiting for the browser… (up to 5 minutes)", "providers.anthropicSignInFailed": "Sign-in failed", "providers.anthropicSignedInActive": "Using the ClaudeRipple sign-in.", "providers.anthropicSignedInStandby": "A ClaudeRipple sign-in is stored too, and takes over if the source above goes away.", "providers.add": "+ Add provider", "providers.refresh": "Test all", "providers.check": "Test connection", "providers.checking": "Checking", "providers.empty": "No providers connected yet. Add one with the button above.", "providers.modelsCount": "{count} models in use: {names}", "providers.noModels": "No models chosen. Pick some under Edit.", "providers.removeConfirm": "Remove provider {name}? Model mappings that use it are removed too.", "providers.choose": "Add provider", "providers.chooseHelp": "Pick the service to connect.", "providers.chatgpt": "ChatGPT subscription", "providers.chatgptHelp": "Use GPT models through a ChatGPT Plus/Pro subscription. Sign-in only, no API key.", "providers.presetHelp": "Paste an API key and you are done.", "providers.openaiGroup": "OpenAI-compatible", "providers.openaiGroupHelp": "ClaudeRipple translates requests into the OpenAI API format.", "providers.verified": "Verified against official docs", "providers.custom": "Enter manually", "providers.customName": "New provider", "providers.customHelp": "Connect any Anthropic-compatible API by URL and key.", "providers.addTitle": "Add provider", "providers.edit": "Edit provider", "providers.name": "Name", "providers.nameHelp": "How this provider is called in lists and mappings.", "providers.nameRequired": "Enter a name.", "providers.apiKey": "API key", "providers.keyHelp": "The API key issued on the provider's site. Stored only in this computer's config file.", "providers.keyPlaceholder": "Paste your API key", "providers.keySaved": "The saved key stays in use. Paste a new key to replace it.", "providers.url": "API base URL", "providers.urlHelp": "Base URL of the Anthropic-compatible endpoint. Change only if the service docs differ.", "providers.openaiUrlHelp": "Base URL of the OpenAI-compatible API. Requests are translated to its Chat Completions or Responses endpoint.", "providers.wire": "API wire format", "providers.wireHelp": "Use Chat Completions for most providers. Select Responses only when the provider supports the stateless Responses API.", "providers.urlRequired": "Enter a valid URL.", "providers.keyType": "Auth header", "providers.keyTypeHelp": "Usually x-api-key. Pick Authorization: Bearer only if the service docs say so.", "providers.extraHeaders": "Extra HTTP headers", "providers.extraHeadersHelp": "Only headers the service requires, one 'name: value' per line.", "providers.models": "Models to use", "providers.modelsHelp": "Checked models appear in the Model mapping list.", "providers.modelsFound": "Model list reported by the provider.", "providers.modelsFallback": "Could not fetch the list; showing known default models.", "measure.running": "Measuring model capabilities… ({done}/{total})", "measure.help": "Asks each model which wire it answers on and which reasoning efforts it takes.", "measure.done": "Measured: {summary}", "measure.nothing": "Nothing was measured: no model answered.", "measure.notEntitled": "{models}: usable only from the provider\u2019s own app. Ticking it here will not make it work.", "measure.failed": "Could not measure model capabilities.", "measure.authFailed": "The API key was refused, so nothing could be measured.", "providers.probeNotEntitled": "The key was accepted; the plan refused.", "providerStatus.notEntitled": "Plan refused", "providers.probeOk": "Connected.", "providers.probeFailed": "Could not connect.", "providers.apiSoon": "Please try again shortly.", "providers.showInPicker": "Also show by real name in the Claude app picker", "providers.pickerOffHint": "Picker mode is off right now, so ticking this does not show them yet. You will be asked to turn it on when you save.", "providers.pickerOffPrompt": "Picker mode is off, so these models will not appear in the Claude Desktop picker yet. Turn it on now? Your operating system will ask you to confirm trusting the certificate.", "providers.credentials": "Sign-in source", "providers.credentialsHelp": "Where the ChatGPT account token comes from.", "providers.authAuto": "Auto (own sign-in if present, else Codex CLI's)", "providers.authOwn": "Sign in with ClaudeRipple", "providers.authBorrow": "Reuse Codex CLI sign-in (~/.codex/auth.json)", "providers.login": "How to sign in", "providers.loginHelp": "'Sign in to ChatGPT…' in the menu-bar app or clauderipple login in a terminal opens the browser sign-in. Tokens stay on this computer.", "providers.loginHint": "Use 'Sign in to ChatGPT…' in the menu-bar app or run clauderipple login in a terminal.", "providers.chatgptLogin": "Sign in to ChatGPT", "providers.chatgptLoginWaiting": "Finish signing in in your browser. This will update when it is done.", "providers.chatgptLoginDone": "ChatGPT sign-in complete.", "providers.effortLevels": "Reasoning effort: {levels}", "providers.effortNone": "Does not take reasoning effort", "providers.modelEffort": "effort", "providers.modelNoEffort": "no effort", "providers.defaultEffort": "Default reasoning effort", "providers.defaultEffortHelp": "Used when neither the mapping nor the app sets an effort.", "providers.identity": "Tell the model what it is (identity)", "providers.append": "System prompt addendum", "providers.appendHelp": "Fixed text appended to every request's system prompt. Changing it often breaks the prompt cache and raises cost.",
|
|
45
|
+
"providers.title": "Providers", "providers.subtitle": "Manage connected services and accounts in one place. Pick a provider to open its settings and accounts.", "providers.search": "Search providers…", "providers.overview": "Overview", "providers.accounts": "Accounts", "providers.settings": "Settings", "providers.modelsTab": "Models", "providers.selectedModels": "Selected models", "providers.modelsCountShort": "{count} models", "providers.noSelection": "Select a provider on the left.", "providers.rotationOn": "Rotation on", "providers.rotationOff": "Rotation off", "providers.rotationSaving": "Saving rotation…", "providers.rotationSaved": "Account rotation saved.", "providers.accountCount": "{count} connected accounts", "providers.accountCountHelp": "Includes the current Claude login and accounts added to ClaudeRipple.", "providers.accountPoolTitle": "Claude accounts", "providers.accountPoolSubtitle": "A conversation stays on one account. ClaudeRipple switches only when quota or authentication fails before output starts.", "providers.addClaudeAccount": "+ Add Claude account", "providers.currentAccountHelp": "The external sign-in currently used by Claude Code or Claude Desktop. ClaudeRipple cannot remove it.", "providers.addedAccountHelp": "ClaudeRipple stores this OAuth grant on this computer and refreshes it automatically.", "providers.reauthAction": "Sign in again", "providers.dangerZone": "Added account management", "providers.saveSettings": "Save settings", "providers.connection": "Connection", "providers.authentication": "Authentication", "providers.rotationRequired": "Added accounts are used for Claude app and Claude Code requests only when account rotation is on.", "providers.anthropic": "Claude (Anthropic)", "providers.anthropicHelp": "Rotate Claude subscription accounts, or serve Claude models to OpenAI-style tools such as Codex.", "providers.anthropicIngressOnly": "With account rotation off, the models chosen here are served only to OpenAI-style tools such as Codex and do not appear in Claude app mappings.", "providers.anthropicPoolRouting": "With account rotation on, Claude app and Claude Code requests stay on one account per conversation to preserve the prompt cache. A 429 or authentication refusal before the response starts moves the request to the next account. Using multiple subscriptions may be subject to Anthropic's terms and account restrictions; use only your own authorized accounts.", "providers.anthropicLoginReuse": "Reuse sign-in", "providers.anthropicPoolOn": "Account rotation", "providers.anthropicPool": "Rotate Claude accounts automatically", "providers.anthropicPoolHelp": "Uses the current Claude login plus the additional accounts below. A conversation stays on its account unless quota or authentication fails.", "providers.anthropicCurrent": "Current login", "providers.anthropicReauth": "Sign in again", "providers.anthropicNoAccounts": "No accounts have been added to ClaudeRipple.", "providers.anthropicRenamePrompt": "Display name for this account", "providers.anthropicRemoveConfirm": "Remove Claude account {name} from ClaudeRipple?", "providers.anthropicLogoutAll": "Remove all added accounts", "providers.anthropicLogoutAllConfirm": "Remove every Claude account added to ClaudeRipple? The current Claude Code and Claude Desktop login is not changed.", "providers.anthropicAuthClaudeCode": "Reuse Claude Code sign-in (automatic)", "providers.anthropicAuthApiKey": "API key", "providers.anthropicCredentialsHelp": "Choose your Claude Code sign-in or an Anthropic API key.", "providers.anthropicSourceObserved": "Detected from a Claude Desktop session", "providers.anthropicSourceClaudeCode": "Terminal Claude sign-in", "providers.anthropicSourceTokenFile": "ClaudeRipple token", "providers.anthropicSourceMissing": "None — connect below", "providers.anthropicLogin": "+ Add Claude account", "providers.anthropicOAuthTitle": "Add Claude account", "providers.anthropicOAuthWarning": "Using Claude subscription OAuth through a third-party proxy is not an Anthropic-supported integration and may be subject to terms or account restrictions. Use only your own accounts for authorized purposes.", "providers.anthropicOAuthAccept": "I understand the risk and want to continue with OAuth.", "providers.anthropicOAuthContinue": "Continue with OAuth", "providers.anthropicLogout": "Disconnect", "providers.anthropicLoginDone": "Claude subscription connected.", "providers.anthropicSignInBrowser": "Sign in to Claude in your browser. If no window opened, use the link below.", "providers.anthropicSignInLink": "Open the sign-in page", "providers.anthropicSignInPaste": "After signing in, paste the code the page shows here.", "providers.anthropicSignInSubmit": "Submit code", "providers.anthropicSignInManual": "Try again by pasting a code", "providers.anthropicSignInWaiting": "Waiting for the browser… (up to 5 minutes)", "providers.anthropicSignInFailed": "Sign-in failed", "providers.anthropicSignedInActive": "Using the ClaudeRipple sign-in.", "providers.anthropicSignedInStandby": "A ClaudeRipple sign-in is stored too, and takes over if the source above goes away.", "providers.add": "+ Add provider", "providers.refresh": "Test all", "providers.check": "Test connection", "providers.checking": "Checking", "providers.empty": "No providers connected yet. Add one with the button above.", "providers.modelsCount": "{count} models in use: {names}", "providers.noModels": "No models chosen. Pick some under Edit.", "providers.removeConfirm": "Remove provider {name}? Model mappings that use it are removed too.", "providers.choose": "Add provider", "providers.chooseHelp": "Pick the service to connect.", "providers.chatgpt": "ChatGPT subscription", "providers.chatgptHelp": "Use GPT models through a ChatGPT Plus/Pro subscription. Sign-in only, no API key.", "providers.presetHelp": "Paste an API key and you are done.", "providers.openaiGroup": "OpenAI-compatible", "providers.openaiGroupHelp": "ClaudeRipple translates requests into the OpenAI API format.", "providers.verified": "Verified against official docs", "providers.custom": "Enter manually", "providers.customName": "New provider", "providers.customHelp": "Connect any Anthropic-compatible API by URL and key.", "providers.addTitle": "Add provider", "providers.edit": "Edit provider", "providers.name": "Name", "providers.nameHelp": "How this provider is called in lists and mappings.", "providers.nameRequired": "Enter a name.", "providers.apiKey": "API key", "providers.keyHelp": "The API key issued on the provider's site. Stored only in this computer's config file.", "providers.keyPlaceholder": "Paste your API key", "providers.keySaved": "The saved key stays in use. Paste a new key to replace it.", "providers.url": "API base URL", "providers.urlHelp": "Base URL of the Anthropic-compatible endpoint. Change only if the service docs differ.", "providers.openaiUrlHelp": "Base URL of the OpenAI-compatible API. Requests are translated to its Chat Completions or Responses endpoint.", "providers.wire": "API wire format", "providers.wireHelp": "Use Chat Completions for most providers. Select Responses only when the provider supports the stateless Responses API.", "providers.urlRequired": "Enter a valid URL.", "providers.keyType": "Auth header", "providers.keyTypeHelp": "Usually x-api-key. Pick Authorization: Bearer only if the service docs say so.", "providers.extraHeaders": "Extra HTTP headers", "providers.extraHeadersHelp": "Only headers the service requires, one 'name: value' per line.", "providers.models": "Models to use", "providers.modelsHelp": "Checked models appear in the Model mapping list.", "providers.modelsFound": "Model list reported by the provider.", "providers.modelsFallback": "Could not fetch the list; showing known default models.", "measure.running": "Measuring model capabilities… ({done}/{total})", "measure.help": "Asks each model which wire it answers on and which reasoning efforts it takes.", "measure.done": "Measured: {summary}", "measure.nothing": "Nothing was measured: no model answered.", "measure.notEntitled": "{models}: usable only from the provider\u2019s own app. Ticking it here will not make it work.", "measure.failed": "Could not measure model capabilities.", "measure.authFailed": "The API key was refused, so nothing could be measured.", "providers.probeNotEntitled": "The key was accepted; the plan refused.", "providerStatus.notEntitled": "Plan refused", "providers.probeOk": "Connected.", "providers.probeFailed": "Could not connect.", "providers.apiSoon": "Please try again shortly.", "providers.showInPicker": "Also show by real name in the Claude app picker", "providers.pickerOffHint": "Picker mode is off right now, so ticking this does not show them yet. You will be asked to turn it on when you save.", "providers.pickerOffPrompt": "Picker mode is off, so these models will not appear in the Claude Desktop picker yet. Turn it on now? Your operating system will ask you to confirm trusting the certificate.", "providers.credentials": "Sign-in source", "providers.credentialsHelp": "Where the ChatGPT account token comes from.", "providers.authAuto": "Auto (own sign-in if present, else Codex CLI's)", "providers.authOwn": "Sign in with ClaudeRipple", "providers.authBorrow": "Reuse Codex CLI sign-in (~/.codex/auth.json)", "providers.login": "How to sign in", "providers.loginHelp": "'Sign in to ChatGPT…' in the menu-bar app or clauderipple login in a terminal opens the browser sign-in. Tokens stay on this computer.", "providers.loginHint": "Use 'Sign in to ChatGPT…' in the menu-bar app or run clauderipple login in a terminal.", "providers.chatgptLogin": "Sign in to ChatGPT", "providers.chatgptLoginWaiting": "Finish signing in in your browser. This will update when it is done.", "providers.chatgptLoginDone": "ChatGPT sign-in complete.", "providers.chatgptAccountsTitle": "ChatGPT accounts", "providers.chatgptAccountsSubtitle": "With several accounts, when one hits its limit the next one takes over the same request. A conversation stays on the account that answered, to keep its cache. Accounts are used in list order.", "providers.addChatgptAccount": "+ Add ChatGPT account", "providers.chatgptAddWaiting": "Sign in with the account to add in your browser. If it shows an account you already added, pick another.", "providers.chatgptAdded": "ChatGPT account added.", "providers.chatgptNoAccounts": "No ChatGPT account is signed in.", "providers.chatgptAccountCount": "{count} accounts", "providers.chatgptCodexHelp": "The Codex CLI's own login. ClaudeRipple only reads it, never refreshes it, and uses it last.", "providers.chatgptOwnHelp": "ClaudeRipple stores this login in a file only your user can read and refreshes it automatically.", "providers.chatgptInUse": "in use now", "providers.chatgptStandby": "standby", "providers.chatgptPause": "Pause", "providers.chatgptResume": "Resume", "providers.chatgptPaused": "paused", "providers.chatgptClearCooldown": "Use now", "providers.chatgptRemoveConfirm": "Remove ChatGPT account {name} from ClaudeRipple?", "providers.chatgptReauthHelp": "This login expired or was refused. Signing in again with the same account restores it in place.", "pool.coolingFor": "back in {duration}", "time.hoursMinutes": "{h}h {m}m", "time.minutes": "{m}m", "time.seconds": "{s}s", "quota.window5h": "5h", "quota.windowWeek": "weekly", "quota.windowHours": "{hours}h", "quota.line": "{window} {percent}%", "quota.resetAt": "resets {time}", "providers.effortLevels": "Reasoning effort: {levels}", "providers.effortNone": "Does not take reasoning effort", "providers.modelEffort": "effort", "providers.modelNoEffort": "no effort", "providers.defaultEffort": "Default reasoning effort", "providers.defaultEffortHelp": "Used when neither the mapping nor the app sets an effort.", "providers.identity": "Tell the model what it is (identity)", "providers.append": "System prompt addendum", "providers.appendHelp": "Fixed text appended to every request's system prompt. Changing it often breaks the prompt cache and raises cost.",
|
|
46
46
|
"providerStatus.connected": "Connected", "providerStatus.keyNeeded": "Key needed", "providerStatus.loginNeeded": "Sign-in needed", "providerStatus.disconnected": "Not connected", "providerStatus.checking": "Checking",
|
|
47
|
-
"clients.title": "Clients", "clients.subtitle": "Set up the apps that use ClaudeRipple.", "clients.desktop.title": "Claude Desktop", "clients.desktop.help": "Choose whether provider models appear by real name in the model picker.", "clients.codex.title": "Codex (app and CLI)", "clients.codex.help": "Adds ClaudeRipple as a provider to Codex's config (~/.codex/config.toml). Terminal: `codex --profile clauderipple -m <model>`; Codex app: make clauderipple the default provider in that config.", "clients.codex.note": "
|
|
47
|
+
"clients.title": "Clients", "clients.subtitle": "Set up the apps that use ClaudeRipple.", "clients.desktop.title": "Claude Desktop", "clients.desktop.help": "Choose whether provider models appear by real name in the model picker.", "clients.codex.title": "Codex (app and CLI)", "clients.codex.help": "Adds ClaudeRipple as a provider to Codex's config (~/.codex/config.toml). Terminal: `codex --profile clauderipple -m <model>`; Codex app: make clauderipple the default provider in that config.", "clients.codex.note": "When on, Codex's GPT requests go through ClaudeRipple too. Codex keeps its own sign-in, and with several ChatGPT accounts added, the next one takes over when one hits its limit — no sign-out. The list below is the Claude and Anthropic-compatible models Codex gains.", "clients.codex.turnOn": "Use ClaudeRipple in Codex", "clients.codex.turnOff": "Disconnect Codex", "clients.claudeCode.title": "Terminal Claude Code", "clients.claudeCode.help": "Terminal `claude` uses the same router. Choose with `/model <name>`.",
|
|
48
48
|
"logs.title": "Logs", "logs.requests": "Requests", "logs.raw": "Raw logs", "logs.lastHour": "Last hour", "logs.autoscroll": "Auto-scroll", "logs.polling": "Updates every 3s", "logs.rawPolling": "Updates every 3s · last 200 lines", "logs.provider": "Provider", "logs.all": "All", "logs.showCountTokens": "Show token counts", "logs.empty": "No requests yet.", "logs.summary.requests": "Requests", "logs.summary.success": "Succeeded / failed", "logs.summary.input": "Input tokens", "logs.summary.output": "Output tokens", "logs.summary.duration": "Average response", "logs.cacheHit": "Cache {percent}%", "logs.th.time": "Time", "logs.th.models": "Model", "logs.th.effort": "effort", "logs.th.input": "Input", "logs.th.output": "Output", "logs.th.duration": "Duration", "logs.th.status": "Status", "logs.status.ok": "ok", "logs.status.error": "error", "logs.detail.id": "Request ID", "logs.detail.kind": "Kind", "logs.detail.stop": "Stop reason", "logs.detail.uncached": "Uncached input", "logs.detail.cacheRead": "Cache read", "logs.detail.cacheWrite": "Cache write", "logs.detail.note": "Note", "logs.none": "None", "logs.seconds": "{value}s",
|
|
49
49
|
"about.title": "About", "about.body": "ClaudeRipple is an independent open-source project, not affiliated with Anthropic or OpenAI. Claude and Claude Code are trademarks of Anthropic, PBC.", "about.license": "License: GPL-3.0",
|
|
50
50
|
"providers.identityHelp": "Prepends 'You are <model>, answering through Claude Code' to the system prompt. Off, the model may believe it is Claude.",
|
package/dist/ui/style.css
CHANGED
|
@@ -341,6 +341,10 @@ label.check input { width: auto; }
|
|
|
341
341
|
.account-card-copy strong, .account-card-copy > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
342
342
|
.account-card-copy .hint { margin: 1px 0 0; }
|
|
343
343
|
.account-card-actions { display: flex; gap: 6px; }
|
|
344
|
+
/* Cards with more actions than fit beside the text keep them on their own row at every width. */
|
|
345
|
+
.account-card.stacked { grid-template-columns: minmax(0, 1fr) auto; }
|
|
346
|
+
.account-card.stacked .account-card-actions { grid-column: 1 / -1; flex-wrap: wrap; }
|
|
347
|
+
.account-quota { margin: 0; }
|
|
344
348
|
.danger-section { border-color: color-mix(in srgb, var(--bad) 30%, var(--border)); }
|
|
345
349
|
.danger-section .btn { margin-top: 12px; }
|
|
346
350
|
.oauth-consent .notice { margin: 14px 0; }
|
package/docs/ARCHITECTURE.md
CHANGED
|
@@ -260,6 +260,34 @@ chat is out of reach for every approach, ours included.
|
|
|
260
260
|
old or on `?refresh=1`, shares one in-flight lookup, and marks the answer
|
|
261
261
|
`stale: true` with a reason when the lookup fails rather than hiding the old
|
|
262
262
|
value. Once at startup too, after `listen()`, never awaited.
|
|
263
|
+
- **Several accounts (2026-09-24, `chatgpt/accounts.ts`).** Behaviour taken
|
|
264
|
+
as a spec from opencodex's Codex account pool (no code). `clauderipple
|
|
265
|
+
login` adds an account; the authorize URL carries `prompt=login` and
|
|
266
|
+
`id_token_add_organizations=true`, since without `prompt=login` the browser's
|
|
267
|
+
existing ChatGPT session is reused and "add another" returns the one already
|
|
268
|
+
added. Identity is `chatgpt_account_id` + email (one person can be in several
|
|
269
|
+
workspaces with separate limits; several people can share a workspace);
|
|
270
|
+
the same pair signing in again replaces its entry. Store:
|
|
271
|
+
`<home>/chatgpt-accounts.json`, 0600, cross-process lock, atomic write; the
|
|
272
|
+
pre-pool `chatgpt-auth.json` is read as account `legacy` and retired on the
|
|
273
|
+
first durable write. The Codex CLI's `~/.codex/auth.json` login joins last
|
|
274
|
+
(mode `auto`), read-only, never refreshed. Refresh is per account,
|
|
275
|
+
single-flight per token generation, five minutes ahead; only a structured
|
|
276
|
+
`invalid_grant` / `refresh_token_invalidated|expired|reused` code marks an
|
|
277
|
+
account for sign-in (prose only when no code, only on 400/401) — a 5xx
|
|
278
|
+
mentioning "revoked" must not retire a working account. Per turn: the
|
|
279
|
+
conversation's account while usable (the shared CredentialPool, keyed by
|
|
280
|
+
owner so a refreshed token keeps it); before any byte reaches the client,
|
|
281
|
+
429/402 rests that account until `retry-after`, else the latest reset among
|
|
282
|
+
its full `x-codex-*` windows, else primary reset-after; 401 (or a 403 that
|
|
283
|
+
reads as auth) gets one refresh and a replay, and a fresh token refused again
|
|
284
|
+
marks it for sign-in; 5xx/no connection rests it briefly; other 4xx are the
|
|
285
|
+
request's fault and go no further. A 200 whose headers report a window at
|
|
286
|
+
100% rests the account before the next turn can fail. `x-codex-turn-state`
|
|
287
|
+
is kept per (account, conversation). `/api/status` keeps `chatgpt.quota` as
|
|
288
|
+
one snapshot (the account that answers next — the tray and other readers
|
|
289
|
+
want one number) and adds `chatgpt.accounts` per account; `/wham/usage` is
|
|
290
|
+
asked for every account.
|
|
263
291
|
- **The prompt cache is keyed on the conversation's identity, not on
|
|
264
292
|
`prompt_cache_key` (since mid-September 2026).** Five turns with byte-identical
|
|
265
293
|
instructions, tools and input prefix, 3–6s apart under one key, all came back
|
|
@@ -556,9 +584,32 @@ chat is out of reach for every approach, ours included.
|
|
|
556
584
|
It provides `POST /v1/responses`, `POST /v1/chat/completions`, and
|
|
557
585
|
`GET /v1/models`.
|
|
558
586
|
- Both POST endpoints resolve their requested `model` with the same
|
|
559
|
-
`routes`/`aliases`/`direct` logic as the proxy.
|
|
560
|
-
`
|
|
561
|
-
|
|
587
|
+
`routes`/`aliases`/`direct` logic as the proxy. Targets are
|
|
588
|
+
`anthropic-compatible`, native `anthropic`, and (Responses only) `chatgpt`;
|
|
589
|
+
`openai-compatible` is rejected.
|
|
590
|
+
- **Codex's own GPT traffic (2026-09-24).** This listener used to reject
|
|
591
|
+
`chatgpt` targets because "Codex already has a native path" (decided
|
|
592
|
+
2026-09-13). That left Codex's GPT turns outside the account pool, so an
|
|
593
|
+
opencodex user who rotates ChatGPT accounts in Codex could not switch — the
|
|
594
|
+
superset goal (OPENCODEX.md) overrules it. `clauderipple codex on` now also
|
|
595
|
+
writes a marked root `openai_base_url = "http://127.0.0.1:<openaiPort>/v1"`
|
|
596
|
+
(never over a user's own), which points Codex's built-in `openai` provider
|
|
597
|
+
here while Codex keeps its ChatGPT sign-in (behaviour of opencodex's loopback
|
|
598
|
+
injection, observed in its docs). A `/v1/responses*` request whose model is
|
|
599
|
+
routed to a `chatgpt` provider, or is unrouted and GPT-named
|
|
600
|
+
(`gpt-`/`codex-`/`o<digit>` or in a chatgpt provider's list), is **passed
|
|
601
|
+
through unchanged** to `{base}/codex/responses[/compact]`: body bytes as sent,
|
|
602
|
+
an allowlist of Codex's protocol headers (session, window, turn state/metadata,
|
|
603
|
+
beta features, installation id, originator), and the account's
|
|
604
|
+
`authorization` + `chatgpt-account-id` laid over them. The answer is relayed
|
|
605
|
+
byte for byte with its `x-codex-*` headers. `GET /v1/models?client_version=`
|
|
606
|
+
(Codex refreshing its catalogue) goes to `{base}/codex/models`. Account choice,
|
|
607
|
+
rotation and cooldowns are the provider's pool (§4, ChatGPT accounts); a turn
|
|
608
|
+
token Codex echoes is dropped when the conversation has moved to another
|
|
609
|
+
account. Out of accounts (none, all resting, or the last one hit its limit on
|
|
610
|
+
this turn), the caller's own `Authorization`/`chatgpt-account-id` is used
|
|
611
|
+
once as sent — pointing Codex here never leaves it worse off. A WebSocket
|
|
612
|
+
upgrade is answered 426 so Codex falls back to SSE.
|
|
562
613
|
- Configure a native API-key target as
|
|
563
614
|
`{ "type":"anthropic", "auth":"api-key", "apiKey":"…" }` (or set
|
|
564
615
|
`ANTHROPIC_API_KEY`). Configure a compatible target as today, for example an
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clauderipple",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Use GPT and 400+ other models inside the Claude Desktop app while staying signed in to your Claude subscription — no third-party gateway mode.",
|
|
5
5
|
"license": "GPL-3.0-only",
|
|
6
6
|
"workspaces": [
|