feat(webui): improve slash command actions

This commit is contained in:
Xubin Ren
2026-05-24 21:24:54 +08:00
parent 3f0098839e
commit 92915ea424
14 changed files with 576 additions and 52 deletions
+18
View File
@@ -534,6 +534,16 @@
"navigateHint": "↑↓ Navigate",
"selectHint": "Enter/Tab Select",
"closeHint": "Esc Close",
"badges": {
"current": "Current",
"recent": "Recent"
},
"details": {
"goalActive": "Goal is running",
"goalReady": "Start a sustained objective",
"history": "Show recent messages",
"stopRunning": "Running now"
},
"commands": {
"new": {
"title": "New chat",
@@ -551,6 +561,10 @@
"title": "Show status",
"description": "Display runtime, provider, and channel status."
},
"model": {
"title": "Model",
"description": "Show or switch the active model preset."
},
"history": {
"title": "Show conversation history",
"description": "Print the last N persisted conversation messages."
@@ -574,6 +588,10 @@
"help": {
"title": "Show help",
"description": "List available slash commands."
},
"pairing": {
"title": "Pairing",
"description": "Manage pairing requests."
}
}
},
+18
View File
@@ -551,6 +551,10 @@
"title": "Mostrar estado",
"description": "Muestra el estado del runtime, provider y channels."
},
"model": {
"title": "Modelo",
"description": "Muestra o cambia el preset de modelo activo."
},
"history": {
"title": "Mostrar historial",
"description": "Imprime los últimos N mensajes persistidos de la conversación."
@@ -574,7 +578,21 @@
"help": {
"title": "Mostrar ayuda",
"description": "Lista los comandos slash disponibles."
},
"pairing": {
"title": "Emparejamiento",
"description": "Gestiona solicitudes de emparejamiento."
}
},
"badges": {
"current": "Actual",
"recent": "Reciente"
},
"details": {
"goalActive": "El objetivo está en curso",
"goalReady": "Iniciar un objetivo sostenido",
"history": "Mostrar mensajes recientes",
"stopRunning": "En ejecución"
}
},
"encoding": "Procesando…",
+18
View File
@@ -551,6 +551,10 @@
"title": "Afficher l’état",
"description": "Afficher l’état du runtime, du provider et des channels."
},
"model": {
"title": "Modèle",
"description": "Afficher ou changer le préréglage de modèle actif."
},
"history": {
"title": "Afficher lhistorique",
"description": "Afficher les N derniers messages persistés de la conversation."
@@ -574,7 +578,21 @@
"help": {
"title": "Afficher laide",
"description": "Lister les commandes slash disponibles."
},
"pairing": {
"title": "Appairage",
"description": "Gérer les demandes dappairage."
}
},
"badges": {
"current": "Actuel",
"recent": "Récent"
},
"details": {
"goalActive": "Lobjectif est en cours",
"goalReady": "Démarrer un objectif durable",
"history": "Afficher les messages récents",
"stopRunning": "En cours"
}
},
"encoding": "Traitement…",
+18
View File
@@ -551,6 +551,10 @@
"title": "Tampilkan status",
"description": "Tampilkan status runtime, provider, dan channel."
},
"model": {
"title": "Model",
"description": "Tampilkan atau ganti preset model aktif."
},
"history": {
"title": "Tampilkan riwayat",
"description": "Cetak N pesan percakapan tersimpan terbaru."
@@ -574,7 +578,21 @@
"help": {
"title": "Tampilkan bantuan",
"description": "Daftar perintah slash yang tersedia."
},
"pairing": {
"title": "Pemasangan",
"description": "Kelola permintaan pemasangan."
}
},
"badges": {
"current": "Saat ini",
"recent": "Terbaru"
},
"details": {
"goalActive": "Tujuan sedang berjalan",
"goalReady": "Mulai tujuan berkelanjutan",
"history": "Tampilkan pesan terbaru",
"stopRunning": "Sedang berjalan"
}
},
"encoding": "Memproses…",
+18
View File
@@ -551,6 +551,10 @@
"title": "ステータスを表示",
"description": "ランタイム、provider、channel の状態を表示します。"
},
"model": {
"title": "モデル",
"description": "有効なモデルプリセットを表示または切り替えます。"
},
"history": {
"title": "会話履歴を表示",
"description": "保存済みの直近 N 件の会話メッセージを表示します。"
@@ -574,7 +578,21 @@
"help": {
"title": "ヘルプを表示",
"description": "利用可能なスラッシュコマンドを一覧表示します。"
},
"pairing": {
"title": "ペアリング",
"description": "ペアリングリクエストを管理します。"
}
},
"badges": {
"current": "現在",
"recent": "最近"
},
"details": {
"goalActive": "目標が実行中",
"goalReady": "継続的な目標を開始",
"history": "最近のメッセージを表示",
"stopRunning": "実行中"
}
},
"encoding": "処理中…",
+18
View File
@@ -551,6 +551,10 @@
"title": "상태 보기",
"description": "런타임, provider, channel 상태를 표시합니다."
},
"model": {
"title": "모델",
"description": "활성 모델 프리셋을 보거나 전환합니다."
},
"history": {
"title": "대화 기록 보기",
"description": "저장된 최근 N개의 대화 메시지를 출력합니다."
@@ -574,7 +578,21 @@
"help": {
"title": "도움말 보기",
"description": "사용 가능한 슬래시 명령을 나열합니다."
},
"pairing": {
"title": "페어링",
"description": "페어링 요청을 관리합니다."
}
},
"badges": {
"current": "현재",
"recent": "최근"
},
"details": {
"goalActive": "목표 실행 중",
"goalReady": "지속 목표 시작",
"history": "최근 메시지 보기",
"stopRunning": "실행 중"
}
},
"encoding": "처리 중…",
+18
View File
@@ -551,6 +551,10 @@
"title": "Hiển thị trạng thái",
"description": "Hiển thị trạng thái runtime, provider và channel."
},
"model": {
"title": "Mô hình",
"description": "Hiển thị hoặc chuyển preset mô hình đang hoạt động."
},
"history": {
"title": "Hiển thị lịch sử",
"description": "In N tin nhắn hội thoại đã lưu gần nhất."
@@ -574,7 +578,21 @@
"help": {
"title": "Hiển thị trợ giúp",
"description": "Liệt kê các lệnh slash có sẵn."
},
"pairing": {
"title": "Ghép nối",
"description": "Quản lý yêu cầu ghép nối."
}
},
"badges": {
"current": "Hiện tại",
"recent": "Gần đây"
},
"details": {
"goalActive": "Mục tiêu đang chạy",
"goalReady": "Bắt đầu mục tiêu duy trì",
"history": "Hiển thị tin nhắn gần đây",
"stopRunning": "Đang chạy"
}
},
"encoding": "Đang xử lý…",
+18
View File
@@ -533,6 +533,16 @@
"navigateHint": "↑↓ 选择",
"selectHint": "Enter/Tab 填入",
"closeHint": "Esc 关闭",
"badges": {
"current": "当前",
"recent": "最近"
},
"details": {
"goalActive": "目标正在运行",
"goalReady": "开始一个持续目标",
"history": "查看最近消息",
"stopRunning": "正在运行"
},
"commands": {
"new": {
"title": "新建对话",
@@ -550,6 +560,10 @@
"title": "查看状态",
"description": "显示运行时、服务商和通道状态。"
},
"model": {
"title": "模型",
"description": "查看或切换当前模型预设。"
},
"history": {
"title": "查看对话历史",
"description": "打印最近 N 条已持久化的对话消息。"
@@ -573,6 +587,10 @@
"help": {
"title": "查看帮助",
"description": "列出可用的斜杠命令。"
},
"pairing": {
"title": "配对",
"description": "管理配对请求。"
}
}
},
+18
View File
@@ -551,6 +551,10 @@
"title": "查看狀態",
"description": "顯示執行環境、provider 和 channel 狀態。"
},
"model": {
"title": "模型",
"description": "查看或切換目前模型預設。"
},
"history": {
"title": "查看對話歷史",
"description": "列印最近 N 則已持久化的對話訊息。"
@@ -574,7 +578,21 @@
"help": {
"title": "查看說明",
"description": "列出可用的斜線命令。"
},
"pairing": {
"title": "配對",
"description": "管理配對請求。"
}
},
"badges": {
"current": "目前",
"recent": "最近"
},
"details": {
"goalActive": "目標正在執行",
"goalReady": "開始一個持續目標",
"history": "查看最近訊息",
"stopRunning": "正在執行"
}
},
"encoding": "處理中…",