feat(ai-doctor): add dynamic endpoint placeholders and optional API key hint for Ollama and LM Studio

This commit is contained in:
Dushnilin
2026-08-11 22:11:48 +03:00
parent 40e185c143
commit 5db8ed7889
6 changed files with 148 additions and 114 deletions
+46 -39
View File
@@ -74,7 +74,7 @@
"call": "⚙ Advanced Settings",
"key": "⚙ Advanced Settings",
"places": [
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1183"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1189"
]
},
{
@@ -352,7 +352,7 @@
"key": "AI API Key",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1302",
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:891"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:893"
]
},
{
@@ -391,7 +391,7 @@
"key": "AI Doctor Language",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1289",
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:858"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:860"
]
},
{
@@ -655,7 +655,7 @@
"key": "Auto-detects blocked domains from logs and adds them to the first section where they work via proxy.",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1449",
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1040"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1046"
]
},
{
@@ -1248,10 +1248,10 @@
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:10221",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/server.js:1717",
"src/partials/modal/renderModal.ts:263",
"src/tachyon/tabs/diagnostic/initController.ts:1194",
"src/tachyon/tabs/dashboard/initController.ts:1085",
"src/tachyon/tabs/monitoring/initController.ts:884",
"src/tachyon/tabs/monitoring/initController.ts:934",
"src/tachyon/tabs/diagnostic/initController.ts:1194"
"src/tachyon/tabs/monitoring/initController.ts:934"
]
},
{
@@ -1388,8 +1388,8 @@
"key": "Conflict",
"places": [
"src/tachyon/methods/custom/getDashboardSections.ts:1569",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:583",
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:141"
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:141",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:583"
]
},
{
@@ -1507,7 +1507,7 @@
"key": "Custom API Endpoint URL",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1313",
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:909"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:911"
]
},
{
@@ -1621,7 +1621,7 @@
"call": "Device IPs (one per line):",
"key": "Device IPs (one per line):",
"places": [
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1113"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1119"
]
},
{
@@ -1642,7 +1642,7 @@
"call": "Devices listed here are always routed through the assigned section, regardless of global rules.",
"key": "Devices listed here are always routed through the assigned section, regardless of global rules.",
"places": [
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1151"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1157"
]
},
{
@@ -2342,7 +2342,7 @@
"key": "Enable Smart Detect",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1448",
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1057"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1063"
]
},
{
@@ -2647,12 +2647,12 @@
"call": "Failed to execute",
"key": "Failed to execute",
"places": [
"src/tachyon/methods/shell/index.ts:171",
"src/tachyon/methods/shell/index.ts:178",
"src/tachyon/tabs/updates/initController.ts:545",
"src/tachyon/tabs/updates/initController.ts:546",
"src/tachyon/tabs/updates/initController.ts:608",
"src/tachyon/tabs/updates/initController.ts:774",
"src/tachyon/methods/shell/index.ts:171",
"src/tachyon/methods/shell/index.ts:178"
"src/tachyon/tabs/updates/initController.ts:774"
]
},
{
@@ -4358,7 +4358,7 @@
"call": "Loading…",
"key": "Loading…",
"places": [
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1161"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1167"
]
},
{
@@ -4547,14 +4547,14 @@
"call": "Move down",
"key": "Move down",
"places": [
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:991"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:997"
]
},
{
"call": "Move up",
"key": "Move up",
"places": [
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:980"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:986"
]
},
{
@@ -4710,7 +4710,7 @@
"key": "No active routing sections found.",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:389",
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1099"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1105"
]
},
{
@@ -4840,9 +4840,9 @@
"key": "Not configured",
"places": [
"src/tachyon/methods/custom/getDashboardSections.ts:1572",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:586",
"src/tachyon/tabs/diagnostic/checks/runInboundsCheck.ts:46",
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:152"
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:152",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:586"
]
},
{
@@ -5115,6 +5115,13 @@
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8604"
]
},
{
"call": "Optional for local LLM",
"key": "Optional for local LLM",
"places": [
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:898"
]
},
{
"call": "Optional tls-auth or tls-crypt key",
"key": "Optional tls-auth or tls-crypt key",
@@ -5292,8 +5299,8 @@
"call": "Per-Device Routing",
"key": "Per-Device Routing",
"places": [
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1093",
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1146"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1099",
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1152"
]
},
{
@@ -6019,8 +6026,8 @@
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1568",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1569",
"src/tachyon/methods/custom/getDashboardSections.ts:1567",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:581",
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:135"
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:135",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:581"
]
},
{
@@ -6035,21 +6042,21 @@
"key": "Save",
"places": [
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:3660",
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1138"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1144"
]
},
{
"call": "Save AI Watchdog Settings",
"key": "Save AI Watchdog Settings",
"places": [
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:940"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:946"
]
},
{
"call": "Save Smart Detect Settings",
"key": "Save Smart Detect Settings",
"places": [
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1078"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1084"
]
},
{
@@ -6057,9 +6064,9 @@
"key": "Saving…",
"places": [
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:502",
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:938",
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1078",
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1138"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:944",
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1084",
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1144"
]
},
{
@@ -6129,7 +6136,7 @@
"call": "Section test order (checked = active, drag rows with △▽):",
"key": "Section test order (checked = active, drag rows with △▽):",
"places": [
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1065"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1071"
]
},
{
@@ -6502,9 +6509,9 @@
"call": "Service action failed",
"key": "Service action failed",
"places": [
"src/tachyon/tabs/diagnostic/initController.ts:603",
"src/tachyon/methods/shell/index.ts:401",
"src/tachyon/methods/shell/index.ts:422"
"src/tachyon/methods/shell/index.ts:422",
"src/tachyon/tabs/diagnostic/initController.ts:603"
]
},
{
@@ -6703,7 +6710,7 @@
"call": "Smart Detect",
"key": "Smart Detect",
"places": [
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1035"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1041"
]
},
{
@@ -6896,7 +6903,7 @@
"call": "Start Watchdog first",
"key": "Start Watchdog first",
"places": [
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:941"
"src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:947"
]
},
{
@@ -6950,8 +6957,8 @@
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:307",
"../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1574",
"src/tachyon/methods/custom/getDashboardSections.ts:1571",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:585",
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:147"
"src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:147",
"src/tachyon/tabs/dashboard/partials/renderSections.ts:585"
]
},
{
@@ -7783,7 +7790,6 @@
"call": "unknown",
"key": "unknown",
"places": [
"src/tachyon/helpers/singBoxVariant.ts:37",
"src/tachyon/services/systemInfo.service.ts:10",
"src/tachyon/services/systemInfo.service.ts:12",
"src/tachyon/services/systemInfo.service.ts:13",
@@ -7793,6 +7799,7 @@
"src/tachyon/services/systemInfo.service.ts:25",
"src/tachyon/services/systemInfo.service.ts:28",
"src/tachyon/services/systemInfo.service.ts:29",
"src/tachyon/helpers/singBoxVariant.ts:37",
"src/tachyon/tabs/updates/initController.ts:337",
"src/tachyon/tabs/diagnostic/checks/runInboundsCheck.ts:25"
]
+38 -34
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: TACHYON\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-11 19:00+0300\n"
"PO-Revision-Date: 2026-08-11 19:00+0300\n"
"POT-Creation-Date: 2026-08-11 19:11+0300\n"
"PO-Revision-Date: 2026-08-11 19:11+0300\n"
"Last-Translator: Dushnilin <dushnilin@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
@@ -60,7 +60,7 @@ msgstr ""
msgid "▶ Start"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1183
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1189
msgid "⚙ Advanced Settings"
msgstr ""
@@ -224,7 +224,7 @@ msgid "AI Agent REST API Bearer Token"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1302
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:891
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:893
msgid "AI API Key"
msgstr ""
@@ -248,7 +248,7 @@ msgid "AI Doctor failed"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1289
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:858
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:860
msgid "AI Doctor Language"
msgstr ""
@@ -401,7 +401,7 @@ msgid "Auto-detected Domains"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1449
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1040
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1046
msgid "Auto-detects blocked domains from logs and adds them to the first section where they work via proxy."
msgstr ""
@@ -757,10 +757,10 @@ msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:10221
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/server.js:1717
#: src/partials/modal/renderModal.ts:263
#: src/tachyon/tabs/diagnostic/initController.ts:1194
#: src/tachyon/tabs/dashboard/initController.ts:1085
#: src/tachyon/tabs/monitoring/initController.ts:884
#: src/tachyon/tabs/monitoring/initController.ts:934
#: src/tachyon/tabs/diagnostic/initController.ts:1194
msgid "Close"
msgstr ""
@@ -840,8 +840,8 @@ msgid "Configure User-Agent in the item settings"
msgstr ""
#: src/tachyon/methods/custom/getDashboardSections.ts:1569
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:583
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:141
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:583
msgid "Conflict"
msgstr ""
@@ -911,7 +911,7 @@ msgid "Currently unavailable"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1313
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:909
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:911
msgid "Custom API Endpoint URL"
msgstr ""
@@ -977,7 +977,7 @@ msgstr ""
msgid "Device filter"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1113
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1119
msgid "Device IPs (one per line):"
msgstr ""
@@ -989,7 +989,7 @@ msgstr ""
msgid "Device or IP"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1151
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1157
msgid "Devices listed here are always routed through the assigned section, regardless of global rules."
msgstr ""
@@ -1398,7 +1398,7 @@ msgid "Enable Smart Cooldowns"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1448
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1057
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1063
msgid "Enable Smart Detect"
msgstr ""
@@ -1583,12 +1583,12 @@ msgstr ""
msgid "Failed to copy!"
msgstr ""
#: src/tachyon/methods/shell/index.ts:171
#: src/tachyon/methods/shell/index.ts:178
#: src/tachyon/tabs/updates/initController.ts:545
#: src/tachyon/tabs/updates/initController.ts:546
#: src/tachyon/tabs/updates/initController.ts:608
#: src/tachyon/tabs/updates/initController.ts:774
#: src/tachyon/methods/shell/index.ts:171
#: src/tachyon/methods/shell/index.ts:178
msgid "Failed to execute"
msgstr ""
@@ -2586,7 +2586,7 @@ msgstr ""
msgid "Loading..."
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1161
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1167
msgid "Loading…"
msgstr ""
@@ -2694,11 +2694,11 @@ msgstr ""
msgid "Monitors sing-box reconnect frequency. Alerts if too many reconnects per hour."
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:991
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:997
msgid "Move down"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:980
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:986
msgid "Move up"
msgstr ""
@@ -2791,7 +2791,7 @@ msgid "No active connections"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:389
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1099
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1105
msgid "No active routing sections found."
msgstr ""
@@ -2867,9 +2867,9 @@ msgid "None"
msgstr ""
#: src/tachyon/methods/custom/getDashboardSections.ts:1572
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:586
#: src/tachyon/tabs/diagnostic/checks/runInboundsCheck.ts:46
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:152
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:586
msgid "Not configured"
msgstr ""
@@ -3035,6 +3035,10 @@ msgstr ""
msgid "Optional — leave empty for default"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:898
msgid "Optional for local LLM"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8734
msgid "Optional tls-auth or tls-crypt key"
msgstr ""
@@ -3136,8 +3140,8 @@ msgstr ""
msgid "Pending"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1093
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1146
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1099
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1152
msgid "Per-Device Routing"
msgstr ""
@@ -3563,8 +3567,8 @@ msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1568
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1569
#: src/tachyon/methods/custom/getDashboardSections.ts:1567
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:581
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:135
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:581
msgid "Running"
msgstr ""
@@ -3573,22 +3577,22 @@ msgid "Russia (ru)"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:3660
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1138
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1144
msgid "Save"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:940
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:946
msgid "Save AI Watchdog Settings"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1078
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1084
msgid "Save Smart Detect Settings"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:502
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:938
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1078
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1138
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:944
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1084
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1144
msgid "Saving…"
msgstr ""
@@ -3628,7 +3632,7 @@ msgstr ""
msgid "Section Rules Content"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1065
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1071
msgid "Section test order (checked = active, drag rows with △▽):"
msgstr ""
@@ -3848,9 +3852,9 @@ msgstr ""
msgid "Servers on dashboard"
msgstr ""
#: src/tachyon/tabs/diagnostic/initController.ts:603
#: src/tachyon/methods/shell/index.ts:401
#: src/tachyon/methods/shell/index.ts:422
#: src/tachyon/tabs/diagnostic/initController.ts:603
msgid "Service action failed"
msgstr ""
@@ -3965,7 +3969,7 @@ msgstr ""
msgid "Skipped loopback:"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1035
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1041
msgid "Smart Detect"
msgstr ""
@@ -4077,7 +4081,7 @@ msgstr ""
msgid "Start Tachyon"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:941
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:947
msgid "Start Watchdog first"
msgstr ""
@@ -4110,8 +4114,8 @@ msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:307
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1574
#: src/tachyon/methods/custom/getDashboardSections.ts:1571
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:585
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:147
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:585
msgid "Stopped"
msgstr ""
@@ -4598,7 +4602,6 @@ msgstr ""
msgid "United States (us)"
msgstr ""
#: src/tachyon/helpers/singBoxVariant.ts:37
#: src/tachyon/services/systemInfo.service.ts:10
#: src/tachyon/services/systemInfo.service.ts:12
#: src/tachyon/services/systemInfo.service.ts:13
@@ -4608,6 +4611,7 @@ msgstr ""
#: src/tachyon/services/systemInfo.service.ts:25
#: src/tachyon/services/systemInfo.service.ts:28
#: src/tachyon/services/systemInfo.service.ts:29
#: src/tachyon/helpers/singBoxVariant.ts:37
#: src/tachyon/tabs/updates/initController.ts:337
#: src/tachyon/tabs/diagnostic/checks/runInboundsCheck.ts:25
msgid "unknown"
+5 -2
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: TACHYON\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-11 22:00+0300\n"
"PO-Revision-Date: 2026-08-11 22:00+0300\n"
"POT-Creation-Date: 2026-08-11 22:11+0300\n"
"PO-Revision-Date: 2026-08-11 22:11+0300\n"
"Last-Translator: Dushnilin\n"
"Language-Team: none\n"
"Language: ru\n"
@@ -2114,6 +2114,9 @@ msgstr "Параметр \"%s\" содержит недопустимое зна
msgid "Optional — leave empty for default"
msgstr "Опционально — оставьте пустым для значения по умолчанию"
msgid "Optional for local LLM"
msgstr ""
msgid "Optional tls-auth or tls-crypt key"
msgstr "Опциональный ключ tls-auth или tls-crypt"
@@ -843,6 +843,8 @@ function renderAiWatchdogSection(state: AdvancedSettingsState) {
openai: 'gpt-4o-mini',
anthropic: 'claude-3-5-haiku-20241022',
deepseek: 'deepseek-chat',
ollama: 'llama3:latest',
lmstudio: 'local-model',
}[state.aiDoctorProvider] ?? 'gpt-4o-mini',
style: 'width: 100%;',
onchange: (e: Event) => {
@@ -893,7 +895,11 @@ function renderAiWatchdogSection(state: AdvancedSettingsState) {
type: 'password',
class: 'cbi-input-text',
value: state.aiDoctorApiKey,
placeholder: 'sk-...',
placeholder: ['ollama', 'lmstudio'].includes(
state.aiDoctorProvider,
)
? _('Optional for local LLM')
: 'sk-...',
style: 'width: 100%;',
onchange: (e: Event) => {
const val = (e.target as HTMLInputElement).value;
@@ -901,7 +907,7 @@ function renderAiWatchdogSection(state: AdvancedSettingsState) {
},
}),
]),
state.aiDoctorProvider === 'custom'
['custom', 'ollama', 'lmstudio'].includes(state.aiDoctorProvider)
? E('div', { class: 'tachyon_adv__row' }, [
E(
'label',
@@ -913,7 +919,14 @@ function renderAiWatchdogSection(state: AdvancedSettingsState) {
class: 'cbi-input-text',
value: state.aiDoctorCustomUrl,
placeholder:
'https://openrouter.ai/api/v1/chat/completions',
{
ollama:
'http://192.168.1.100:11434/v1/chat/completions',
lmstudio:
'http://192.168.1.100:1234/v1/chat/completions',
custom: 'https://openrouter.ai/api/v1/chat/completions',
}[state.aiDoctorProvider] ??
'http://192.168.1.100:11434/v1/chat/completions',
style: 'width: 100%;',
onchange: (e: Event) => {
const val = (e.target as HTMLInputElement).value;
+5 -2
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: TACHYON\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-11 22:00+0300\n"
"PO-Revision-Date: 2026-08-11 22:00+0300\n"
"POT-Creation-Date: 2026-08-11 22:11+0300\n"
"PO-Revision-Date: 2026-08-11 22:11+0300\n"
"Last-Translator: Dushnilin\n"
"Language-Team: none\n"
"Language: ru\n"
@@ -2114,6 +2114,9 @@ msgstr "Параметр \"%s\" содержит недопустимое зна
msgid "Optional — leave empty for default"
msgstr "Опционально — оставьте пустым для значения по умолчанию"
msgid "Optional for local LLM"
msgstr ""
msgid "Optional tls-auth or tls-crypt key"
msgstr "Опциональный ключ tls-auth или tls-crypt"
+38 -34
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: TACHYON\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-11 19:00+0300\n"
"PO-Revision-Date: 2026-08-11 19:00+0300\n"
"POT-Creation-Date: 2026-08-11 19:11+0300\n"
"PO-Revision-Date: 2026-08-11 19:11+0300\n"
"Last-Translator: Dushnilin <dushnilin@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
@@ -60,7 +60,7 @@ msgstr ""
msgid "▶ Start"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1183
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1189
msgid "⚙ Advanced Settings"
msgstr ""
@@ -224,7 +224,7 @@ msgid "AI Agent REST API Bearer Token"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1302
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:891
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:893
msgid "AI API Key"
msgstr ""
@@ -248,7 +248,7 @@ msgid "AI Doctor failed"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1289
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:858
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:860
msgid "AI Doctor Language"
msgstr ""
@@ -401,7 +401,7 @@ msgid "Auto-detected Domains"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1449
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1040
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1046
msgid "Auto-detects blocked domains from logs and adds them to the first section where they work via proxy."
msgstr ""
@@ -757,10 +757,10 @@ msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:10221
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/server.js:1717
#: src/partials/modal/renderModal.ts:263
#: src/tachyon/tabs/diagnostic/initController.ts:1194
#: src/tachyon/tabs/dashboard/initController.ts:1085
#: src/tachyon/tabs/monitoring/initController.ts:884
#: src/tachyon/tabs/monitoring/initController.ts:934
#: src/tachyon/tabs/diagnostic/initController.ts:1194
msgid "Close"
msgstr ""
@@ -840,8 +840,8 @@ msgid "Configure User-Agent in the item settings"
msgstr ""
#: src/tachyon/methods/custom/getDashboardSections.ts:1569
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:583
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:141
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:583
msgid "Conflict"
msgstr ""
@@ -911,7 +911,7 @@ msgid "Currently unavailable"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1313
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:909
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:911
msgid "Custom API Endpoint URL"
msgstr ""
@@ -977,7 +977,7 @@ msgstr ""
msgid "Device filter"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1113
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1119
msgid "Device IPs (one per line):"
msgstr ""
@@ -989,7 +989,7 @@ msgstr ""
msgid "Device or IP"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1151
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1157
msgid "Devices listed here are always routed through the assigned section, regardless of global rules."
msgstr ""
@@ -1398,7 +1398,7 @@ msgid "Enable Smart Cooldowns"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1448
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1057
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1063
msgid "Enable Smart Detect"
msgstr ""
@@ -1583,12 +1583,12 @@ msgstr ""
msgid "Failed to copy!"
msgstr ""
#: src/tachyon/methods/shell/index.ts:171
#: src/tachyon/methods/shell/index.ts:178
#: src/tachyon/tabs/updates/initController.ts:545
#: src/tachyon/tabs/updates/initController.ts:546
#: src/tachyon/tabs/updates/initController.ts:608
#: src/tachyon/tabs/updates/initController.ts:774
#: src/tachyon/methods/shell/index.ts:171
#: src/tachyon/methods/shell/index.ts:178
msgid "Failed to execute"
msgstr ""
@@ -2586,7 +2586,7 @@ msgstr ""
msgid "Loading..."
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1161
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1167
msgid "Loading…"
msgstr ""
@@ -2694,11 +2694,11 @@ msgstr ""
msgid "Monitors sing-box reconnect frequency. Alerts if too many reconnects per hour."
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:991
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:997
msgid "Move down"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:980
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:986
msgid "Move up"
msgstr ""
@@ -2791,7 +2791,7 @@ msgid "No active connections"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:389
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1099
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1105
msgid "No active routing sections found."
msgstr ""
@@ -2867,9 +2867,9 @@ msgid "None"
msgstr ""
#: src/tachyon/methods/custom/getDashboardSections.ts:1572
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:586
#: src/tachyon/tabs/diagnostic/checks/runInboundsCheck.ts:46
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:152
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:586
msgid "Not configured"
msgstr ""
@@ -3035,6 +3035,10 @@ msgstr ""
msgid "Optional — leave empty for default"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:898
msgid "Optional for local LLM"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:8734
msgid "Optional tls-auth or tls-crypt key"
msgstr ""
@@ -3136,8 +3140,8 @@ msgstr ""
msgid "Pending"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1093
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1146
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1099
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1152
msgid "Per-Device Routing"
msgstr ""
@@ -3563,8 +3567,8 @@ msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1568
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1569
#: src/tachyon/methods/custom/getDashboardSections.ts:1567
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:581
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:135
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:581
msgid "Running"
msgstr ""
@@ -3573,22 +3577,22 @@ msgid "Russia (ru)"
msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/section.js:3660
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1138
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1144
msgid "Save"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:940
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:946
msgid "Save AI Watchdog Settings"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1078
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1084
msgid "Save Smart Detect Settings"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:502
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:938
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1078
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1138
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:944
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1084
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1144
msgid "Saving…"
msgstr ""
@@ -3628,7 +3632,7 @@ msgstr ""
msgid "Section Rules Content"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1065
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1071
msgid "Section test order (checked = active, drag rows with △▽):"
msgstr ""
@@ -3848,9 +3852,9 @@ msgstr ""
msgid "Servers on dashboard"
msgstr ""
#: src/tachyon/tabs/diagnostic/initController.ts:603
#: src/tachyon/methods/shell/index.ts:401
#: src/tachyon/methods/shell/index.ts:422
#: src/tachyon/tabs/diagnostic/initController.ts:603
msgid "Service action failed"
msgstr ""
@@ -3965,7 +3969,7 @@ msgstr ""
msgid "Skipped loopback:"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1035
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:1041
msgid "Smart Detect"
msgstr ""
@@ -4077,7 +4081,7 @@ msgstr ""
msgid "Start Tachyon"
msgstr ""
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:941
#: src/tachyon/tabs/dashboard/partials/renderAdvancedSettings.ts:947
msgid "Start Watchdog first"
msgstr ""
@@ -4110,8 +4114,8 @@ msgstr ""
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:307
#: ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon/settings.js:1574
#: src/tachyon/methods/custom/getDashboardSections.ts:1571
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:585
#: src/tachyon/tabs/diagnostic/checks/runSectionsCheck.ts:147
#: src/tachyon/tabs/dashboard/partials/renderSections.ts:585
msgid "Stopped"
msgstr ""
@@ -4598,7 +4602,6 @@ msgstr ""
msgid "United States (us)"
msgstr ""
#: src/tachyon/helpers/singBoxVariant.ts:37
#: src/tachyon/services/systemInfo.service.ts:10
#: src/tachyon/services/systemInfo.service.ts:12
#: src/tachyon/services/systemInfo.service.ts:13
@@ -4608,6 +4611,7 @@ msgstr ""
#: src/tachyon/services/systemInfo.service.ts:25
#: src/tachyon/services/systemInfo.service.ts:28
#: src/tachyon/services/systemInfo.service.ts:29
#: src/tachyon/helpers/singBoxVariant.ts:37
#: src/tachyon/tabs/updates/initController.ts:337
#: src/tachyon/tabs/diagnostic/checks/runInboundsCheck.ts:25
msgid "unknown"