22 lines
2.6 KiB
TypeScript
22 lines
2.6 KiB
TypeScript
import type { Dict } from "../index.ts";
|
||
|
||
// PEP-189: the watchdog keeps the platform's port and domains to itself.
|
||
export const domainGuard: Dict = {
|
||
"порт {port}": "port {port}",
|
||
"адрес {host}": "address {host}",
|
||
"неизвестно чей": "owner unknown",
|
||
"🛡 Контейнер {name} ({who}) занял {what} платформы — остановлен, не удалён. {agents}": "🛡 Container {name} ({who}) took the platform's {what} — stopped, not removed. {agents}",
|
||
"Агенту сказано перенести его на другой порт.": "The agent was told to move it to another port.",
|
||
"Живого агента не нашли.": "No live agent found.",
|
||
"🛡 {url} отвечает не FORGE — адрес перехвачен. Ответ: {why}": "🛡 {url} is not answered by FORGE — the address is taken over. Answer: {why}",
|
||
"✅ {url} снова отвечает FORGE.": "✅ {url} is answered by FORGE again.",
|
||
// PEP-245: the way in from outside.
|
||
"✅ {url} снова открывается снаружи. Простой — {min} мин.": "✅ {url} opens from outside again. Downtime — {min} min.",
|
||
"🌐 {url} не открывается снаружи, хотя FORGE на сервере работает: {reason}. Ответ: {what}": "🌐 {url} does not open from outside, though FORGE on the server works: {reason}. Answer: {what}",
|
||
"🌐 {url} всё ещё не открывается снаружи — {min} мин: {reason}. Ответ: {what}": "🌐 {url} still does not open from outside — {min} min: {reason}. Answer: {what}",
|
||
"туннель адресов на сервере (peppa-cloudflared) не на связи с Cloudflare": "the address tunnel on the server (peppa-cloudflared) is not connected to Cloudflare",
|
||
"нет связи Mac → сервер — адреса пока идут через Mac (туннель launchd quest.telecom.peppa.tunnel)": "no connection Mac → server — addresses still go through the Mac (launchd tunnel quest.telecom.peppa.tunnel)",
|
||
// PEP-287: low free space on the server.
|
||
"💾 На диске сервера свободно {pct}% ({free} из {total} ГБ) — меньше порога {limit}%. Папки агентов и кэш сборки FORGE убирает сама; посмотрите, что ещё занимает место.": "💾 The server's disk has {pct}% free ({free} of {total} GB) — below the {limit}% threshold. FORGE cleans agents' folders and the build cache itself; check what else takes the space.",
|
||
};
|