pleumrouter 0.5.8 → 0.5.10
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/package.json +1 -1
- package/src/locales/es.mjs +2 -0
- package/src/locales/ja.mjs +2 -0
- package/src/locales/ko.mjs +2 -0
- package/src/locales/zh.mjs +2 -0
- package/src/recipes.mjs +20 -0
package/package.json
CHANGED
package/src/locales/es.mjs
CHANGED
|
@@ -60,6 +60,8 @@ export const ES = {
|
|
|
60
60
|
"Pick the model after it starts with the `hermes model` command.": "Elige el modelo después de iniciar con el comando `hermes model`.",
|
|
61
61
|
"Needs GitHub Copilot CLI 2026-04 or later for BYOK provider routing support.":
|
|
62
62
|
"Necesita GitHub Copilot CLI 2026-04 o posterior para el enrutamiento de proveedores BYOK.",
|
|
63
|
+
"Gemini CLI speaks Google's native generateContent format — set the model after launch with `/model google/<id>`.":
|
|
64
|
+
"Gemini CLI usa el formato nativo generateContent de Google — establece el modelo tras el inicio con `/model google/<id>`.",
|
|
63
65
|
"Gateway": "Gateway",
|
|
64
66
|
"Gateway connection failed: {error}": "Error de conexión al gateway: {error}",
|
|
65
67
|
"Gateway connectivity · login status": "Conectividad del gateway · estado de la sesión",
|
package/src/locales/ja.mjs
CHANGED
|
@@ -60,6 +60,8 @@ export const JA = {
|
|
|
60
60
|
"Pick the model after it starts with the `hermes model` command.": "起動後に `hermes model` コマンドでモデルを選択してください。",
|
|
61
61
|
"Needs GitHub Copilot CLI 2026-04 or later for BYOK provider routing support.":
|
|
62
62
|
"BYOK プロバイダールーティングに対応した 2026-04 以降の GitHub Copilot CLI が必要です。",
|
|
63
|
+
"Gemini CLI speaks Google's native generateContent format — set the model after launch with `/model google/<id>`.":
|
|
64
|
+
"Gemini CLI は Google のネイティブ generateContent 形式を使用します — 起動後に `/model google/<id>` でモデルを設定してください。",
|
|
63
65
|
"Gateway": "ゲートウェイ",
|
|
64
66
|
"Gateway connection failed: {error}": "ゲートウェイ接続に失敗しました: {error}",
|
|
65
67
|
"Gateway connectivity · login status": "ゲートウェイ接続 · ログイン状態",
|
package/src/locales/ko.mjs
CHANGED
|
@@ -50,6 +50,8 @@ export const KO = {
|
|
|
50
50
|
"Pick the model after it starts with the `hermes model` command.": "실행 후 `hermes model` 명령으로 모델을 선택하세요.",
|
|
51
51
|
"Needs GitHub Copilot CLI 2026-04 or later for BYOK provider routing support.":
|
|
52
52
|
"BYOK provider 라우팅을 지원하는 2026-04 이후 버전의 GitHub Copilot CLI가 필요합니다.",
|
|
53
|
+
"Gemini CLI speaks Google's native generateContent format — set the model after launch with `/model google/<id>`.":
|
|
54
|
+
"Gemini CLI는 Google의 네이티브 generateContent 포맷을 사용합니다 — 실행 후 `/model google/<id>`로 모델을 설정하세요.",
|
|
53
55
|
|
|
54
56
|
// completion.mjs
|
|
55
57
|
"Usage: pleum completion <zsh|bash>": "사용법: pleum completion <zsh|bash>",
|
package/src/locales/zh.mjs
CHANGED
|
@@ -60,6 +60,8 @@ export const ZH = {
|
|
|
60
60
|
"Pick the model after it starts with the `hermes model` command.": "启动后使用 `hermes model` 命令选择模型。",
|
|
61
61
|
"Needs GitHub Copilot CLI 2026-04 or later for BYOK provider routing support.":
|
|
62
62
|
"需要 2026-04 或更新版本的 GitHub Copilot CLI 才支持 BYOK provider 路由。",
|
|
63
|
+
"Gemini CLI speaks Google's native generateContent format — set the model after launch with `/model google/<id>`.":
|
|
64
|
+
"Gemini CLI speaks Google's native generateContent format — set the model after launch with `/model google/<id>`.",
|
|
63
65
|
"Gateway": "网关",
|
|
64
66
|
"Gateway connection failed: {error}": "网关连接失败:{error}",
|
|
65
67
|
"Gateway connectivity · login status": "网关连通性 · 登录状态",
|
package/src/recipes.mjs
CHANGED
|
@@ -165,6 +165,26 @@ export const RECIPES = {
|
|
|
165
165
|
}),
|
|
166
166
|
args: () => [],
|
|
167
167
|
},
|
|
168
|
+
gemini: {
|
|
169
|
+
label: "Gemini CLI",
|
|
170
|
+
bin: "gemini",
|
|
171
|
+
type: "env",
|
|
172
|
+
install: "npm install -g @google/gemini-cli",
|
|
173
|
+
// 함정: GOOGLE_GEMINI_BASE_URL은 반드시 루트(/v1beta 없이) — Gemini CLI가
|
|
174
|
+
// /v1beta/models/{model}:generateContent 를 스스로 붙인다. /v1beta를 넣으면
|
|
175
|
+
// /v1beta/v1beta/models/... 가 되어 실패한다.
|
|
176
|
+
note: "Gemini CLI speaks Google's native generateContent format — set the model after launch with `/model google/<id>`.",
|
|
177
|
+
attribution: {
|
|
178
|
+
title: "Gemini CLI",
|
|
179
|
+
referer: "https://github.com/google-gemini/gemini-cli",
|
|
180
|
+
},
|
|
181
|
+
env: (key) => ({
|
|
182
|
+
GOOGLE_GEMINI_BASE_URL: ROOT,
|
|
183
|
+
GEMINI_API_KEY: key,
|
|
184
|
+
GOOGLE_API_KEY: key,
|
|
185
|
+
}),
|
|
186
|
+
args: (m) => (m ? ["--model", `google/${m}`] : []),
|
|
187
|
+
},
|
|
168
188
|
};
|
|
169
189
|
|
|
170
190
|
// Codex는 Chat Completions가 제거돼 Responses API(wire_api="responses")만 지원.
|