feat(run): tool-aware model picker and run panel labels for codex lanes

Model dropdown now shows curated Claude vs Codex models per lane's tool,
and the run panel title/subtitle/binary-missing text switch between
"Chạy Claude"/"Chạy Codex" accordingly.
This commit is contained in:
2026-08-27 13:33:55 +07:00
parent ccf2fdb8eb
commit b1734a492f
8 changed files with 47 additions and 32 deletions
+4 -4
View File
@@ -20,7 +20,7 @@
},
"binary": {
"found": "Using {{path}}",
"missing": "The `claude` CLI isn't on your PATH. Install Claude Code or set PATH so the dashboard can spawn it."
"missing": "The `{{cli}}` CLI isn't on your PATH. Install {{tool}} or set PATH so the dashboard can spawn it."
},
"concurrency": {
"active_one": "{{count}} run already in flight",
@@ -69,7 +69,7 @@
"effort": "Thinking effort",
"model": "Model",
"modelCustom": "Custom…",
"modelCustomPlaceholder": "model id (e.g. claude-opus-4-7-20260101)",
"modelCustomPlaceholder": "model id (e.g. claude-opus-5)",
"modelInheritLabel": "Inherit from settings",
"permissionAcceptEdits": "acceptEdits (recommended)",
"permissionBypass": "bypassPermissions (DANGER - allows everything without asking)",
@@ -153,8 +153,8 @@
"permissionMode": "Mode",
"session": "Session"
},
"subtitle": "Spin up a Claude Code session right inside the dashboard. Live streaming output, multi-turn conversation, and the same hooks-driven analytics as your terminal sessions.",
"title": "Run Claude",
"subtitle": "Spin up a {{tool}} session right inside the dashboard. Live streaming output, multi-turn conversation, and the same hooks-driven analytics as your terminal sessions.",
"title": "Run {{tool}}",
"tokens": {
"cacheRead": "Cache hit",
"cost": "Cost",
+4 -4
View File
@@ -20,7 +20,7 @@
},
"binary": {
"found": "Đang dùng {{path}}",
"missing": "Không thấy CLI `claude` trong PATH. Cài đặt Claude Code hoặc đặt PATH."
"missing": "Không thấy CLI `{{cli}}` trong PATH. Cài đặt {{tool}} hoặc đặt PATH."
},
"concurrency": {
"active_other": "Có {{count}} run đang chạy",
@@ -68,7 +68,7 @@
"effort": "Mức độ suy nghĩ",
"model": "Model",
"modelCustom": "Tuỳ chỉnh…",
"modelCustomPlaceholder": "model id (vd: claude-opus-4-7-20260101)",
"modelCustomPlaceholder": "model id (vd: claude-opus-5)",
"modelInheritLabel": "Kế thừa từ settings",
"permissionAcceptEdits": "acceptEdits (khuyên dùng)",
"permissionBypass": "bypassPermissions (NGUY HIỂM - cho phép tất cả mà không hỏi)",
@@ -152,8 +152,8 @@
"permissionMode": "Mode",
"session": "Session"
},
"subtitle": "Khởi chạy một phiên Claude Code ngay trong dashboard. Stream output trực tiếp, hội thoại đa lượt, và chia sẻ cùng pipeline hooks/analytics với phiên ở terminal.",
"title": "Chạy Claude",
"subtitle": "Khởi chạy một phiên {{tool}} ngay trong dashboard. Stream output trực tiếp, hội thoại đa lượt, và chia sẻ cùng pipeline hooks/analytics với phiên ở terminal.",
"title": "Chạy {{tool}}",
"tokens": {
"cacheRead": "Cache hit",
"cost": "Chi phí",