pi-model-manager 0.4.0 → 0.4.1

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/README.en.md CHANGED
@@ -89,11 +89,11 @@ Ctrl+S 保存并启用模型;不切换当前会话模型
89
89
  模型 ID gpt-5.6-sol
90
90
  重新拉取 上游模型列表
91
91
  显示名称 默认 = 模型 ID
92
- ❯ 视觉支持 ← 开启 →
93
- Thinking ← 开启 →
94
- Fast mode ← 关闭 →
95
- 上下文窗口 ← 1050000 →
96
- 最大输出 ← 128000 →
92
+ ❯ 视觉支持 ◀ 开启 ▶
93
+ Thinking ◀ 开启 ▶
94
+ Fast mode ◀ 关闭 ▶
95
+ 上下文窗口 ◀ 1050000 ▶
96
+ 最大输出 ◀ 128000 ▶
97
97
  请求头 跟随接入(Auto→Codex)
98
98
 
99
99
  ↑↓ 选择 ←→ 切换选项 Enter 编辑 Ctrl+S 保存并启用 Esc 返回
@@ -113,7 +113,7 @@ Ctrl+S 保存并启用模型;不切换当前会话模型
113
113
  gpt-5.4-mini
114
114
  gpt-5.5
115
115
  gpt-5.6-luna
116
- ❯ gpt-5.6-sol ← 当前
116
+ ❯ gpt-5.6-sol ● 当前
117
117
  gpt-5.6-terra
118
118
  gpt-image-2
119
119
 
package/README.md CHANGED
@@ -89,11 +89,11 @@ Ctrl+S 保存并启用模型;不切换当前会话模型
89
89
  模型 ID gpt-5.6-sol
90
90
  重新拉取 上游模型列表
91
91
  显示名称 默认 = 模型 ID
92
- ❯ 视觉支持 ← 开启 →
93
- Thinking ← 开启 →
94
- Fast mode ← 关闭 →
95
- 上下文窗口 ← 1050000 →
96
- 最大输出 ← 128000 →
92
+ ❯ 视觉支持 ◀ 开启 ▶
93
+ Thinking ◀ 开启 ▶
94
+ Fast mode ◀ 关闭 ▶
95
+ 上下文窗口 ◀ 1050000 ▶
96
+ 最大输出 ◀ 128000 ▶
97
97
  请求头 跟随接入(Auto→Codex)
98
98
 
99
99
  ↑↓ 选择 ←→ 切换选项 Enter 编辑 Ctrl+S 保存并启用 Esc 返回
@@ -113,7 +113,7 @@ Ctrl+S 保存并启用模型;不切换当前会话模型
113
113
  gpt-5.4-mini
114
114
  gpt-5.5
115
115
  gpt-5.6-luna
116
- ❯ gpt-5.6-sol ← 当前
116
+ ❯ gpt-5.6-sol ● 当前
117
117
  gpt-5.6-terra
118
118
  gpt-image-2
119
119
 
package/i18n.ts CHANGED
@@ -38,7 +38,7 @@ const ENGLISH_MESSAGES = {
38
38
  "搜索": "Search",
39
39
  "无匹配项:{query}": "No matches: {query}",
40
40
  "暂无条目": "No entries",
41
- "← 当前": "← current",
41
+ "● 当前": "● current",
42
42
  "移动": "Move",
43
43
  "选择": "Select",
44
44
  "返回": "Back",
@@ -156,7 +156,7 @@ const ENGLISH_MESSAGES = {
156
156
  "<直接输入搜索>": "<type to search>",
157
157
  "匹配 {matched} / {total} · {page}": "Matches {matched} / {total} · {page}",
158
158
  "没有匹配模型;Backspace 删除搜索词,Esc 返回后可手动输入。": "No matching models. Use Backspace to edit the search, or Esc to enter an ID manually.",
159
- " ← 当前": " ← current",
159
+ " ● 当前": " ● current",
160
160
  "↑↓ 选择 · ←→/PgUp/PgDn 翻页 · 输入搜索 · Backspace 删除 · Enter 确认 · Esc 取消": "↑↓ select · ←→/PgUp/PgDn page · type to search · Backspace delete · Enter confirm · Esc cancel",
161
161
 
162
162
  "OpenAI Responses · 标准 instructions/input wire": "OpenAI Responses · standard instructions/input wire",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-model-manager",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "A TUI model and provider manager for Pi with native models.json persistence, request-header profiles, proxy routing, and protocol compatibility.",
5
5
  "type": "module",
6
6
  "main": "./index.ts",
@@ -253,7 +253,7 @@ export async function pickModelIdFromList(
253
253
  const absoluteIndex = pageStart + rowIndex;
254
254
  const modelId = visibleModelIds[rowIndex]!;
255
255
  const selected = absoluteIndex === selectedIndex;
256
- const currentSuffix = modelId === normalizedCurrentModelId ? theme.fg("dim", t(" ← 当前")) : "";
256
+ const currentSuffix = modelId === normalizedCurrentModelId ? theme.fg("dim", t(" ● 当前")) : "";
257
257
  const prefix = selected ? "❯ " : " ";
258
258
  const rowText = truncateToWidth(`${prefix}${modelId}${currentSuffix}`, width);
259
259
  // [喵喵喵]: 与列表菜单用同一种选中表现(背景色),避免两套选择器手感不一致。
@@ -81,7 +81,7 @@ export function padLabel(label: string, columns: number): string {
81
81
 
82
82
  // [喵喵喵]: 可左右键切换的行值两侧加滑块标记,让能力直接可见
83
83
  export function markAdjustableValue(value: string): string {
84
- return `← ${value} →`;
84
+ return `◀ ${value} ▶`;
85
85
  }
86
86
 
87
87
  function getSearchText(row: MenuRow): string {
@@ -541,7 +541,7 @@ export async function showOptionPicker<TChoice extends { id: string; label: stri
541
541
  "",
542
542
  choices.map((choice) => ({
543
543
  id: choice.id,
544
- label: choice.id === currentId ? `${choice.label} ${t("← 当前")}` : choice.label,
544
+ label: choice.id === currentId ? `${choice.label} ${t("● 当前")}` : choice.label,
545
545
  })),
546
546
  cursor,
547
547
  {