feat(webui): complete remote pairing and connection recovery

This commit is contained in:
Xubin Ren committed 2026-10-02 11:36:34 +08:00
1 parent 11889c018e
commit 192ca6e49e
52 files changed
+7313 -675

No files matched your search

+121 -18
View File
@@ -1,5 +1,96 @@
{
"remote": {
"activeForgetWarning": "Semua tab yang memakai koneksi ini akan terputus. Pekerjaan yang belum disimpan dapat hilang.",
"saved": "Tersimpan",
"pair": {
"expiringDevice": "Otorisasi berakhir pada {{date}}.",
"expiredDevice": "Otorisasi telah berakhir. Pasangkan ulang server ini sebelum menyambungkan kembali.",
"introHint": "Jalankan satu perintah di terminal server untuk terhubung.",
"copiedTitle": "Perintah disalin",
"afterCopyHint": "Tempel dan jalankan di terminal server. Setelah memberi izin, buka tautan yang muncul di komputer ini.",
"copyAgain": "Salin lagi",
"otherWays": "Cara lain",
"helpTitle": "Syarat & bantuan",
"validityHint": "Perintah berlaku selama 10 menit. Periksa akses sebelum memberi izin.",
"linkDescription": "Jalankan perintah di server, lalu kembali melalui tautan di terminal.",
"preparing": "Menyiapkan koneksi…",
"linkRunHint": "Tempel perintah di terminal cloud dan izinkan komputer ini. Perintah berlaku selama 10 menit.",
"showCommand": "Lihat perintah",
"checkingLink": "Memeriksa tautan koneksi…",
"returnTitle": "2. Kembali ke nanobot",
"returnHint": "Setelah mengizinkan, buka tautan terminal di komputer ini. Detail koneksi akan diisi otomatis.",
"pasteInstead": "Gunakan kode koneksi",
"confirmLinkDescription": "Lanjutkan hanya jika tautan atau kode berasal dari terminal server tepercaya milik Anda.",
"route": "Rute jaringan…",
"direct": "Koneksi langsung",
"savedRoute": "Rute jaringan tersimpan",
"routeDescription": "Untuk VPN atau rute SSH khusus yang sudah ada.",
"routeHint": "Gunakan rute jaringan koneksi SSH tersimpan ke server yang sama, tanpa menyalin kunci atau kredensialnya.",
"title": "Hubungkan tanpa menyiapkan SSH",
"description": "Jalankan satu perintah di konsol server, lalu tempelkan kode koneksi di sini.",
"steps": {
"run": "Salin perintah pemasangan ke terminal server.",
"paste": "Tempel kode yang diberikan server.",
"connect": "Konfirmasi server dan buka nanobot."
},
"requirements": "Untuk server Linux dengan nanobot terpasang. SSH harus bisa dijangkau; tidak perlu relai atau WebUI publik.",
"useSSH": "Gunakan pengaturan SSH",
"start": "Dapatkan perintah",
"runTitle": "1. Jalankan di server",
"runHint": "Buka terminal konsol cloud, tempel perintah, lalu ikuti petunjuknya. Server juga memerlukan versi nanobot yang mendukung fitur ini.",
"command": "Perintah pemasangan",
"copy": "Salin perintah",
"copied": "Disalin",
"copyFailed": "Gagal menyalin. Pilih dan salin perintah di atas.",
"code": "Kode koneksi",
"codeHint": "Gunakan kode berawalan nbpc1. dari terminal. Kode hanya berlaku untuk permintaan lokal ini.",
"expired": "Permintaan kedaluwarsa. Buat perintah baru. Jika sudah diizinkan di server, gunakan perintah pencabutan yang ditampilkan di sana.",
"restart": "Buat perintah baru",
"review": "Tinjau koneksi",
"confirmTitle": "Buka nanobot ini?",
"confirmDescription": "Lanjutkan hanya dengan kode dari terminal server Anda sendiri yang tepercaya.",
"access": "Komputer ini akan memiliki akses penuh ke obrolan, pengaturan, dan alat aktif nanobot ini.",
"expiry": "Izin perangkat berakhir pada {{date}}. Pengaturan keterbukaan port SSH dan nanobot tidak berubah.",
"security": "Detail dan pencabutan izin",
"fingerprint": "Server SSH harus cocok dengan sidik jari dari konsol server ini:",
"revoke": "Untuk mencabut koneksi baru, jalankan ini di server dan tutup sesi jarak jauh yang terbuka:",
"retryHint": "Pemasangan tersimpan. Coba lagi tanpa menjalankan ulang perintah server. Pemasangan tidak dapat melewati pemblokiran SSH oleh jaringan atau VPN.",
"forgetHint": "Melupakan hanya menghapus koneksi dari daftar, bukan izin server. Untuk mencabutnya, jalankan di server:"
},
"setup": {
"progress": "Pengaturan koneksi",
"server": "Server",
"nanobot": "nanobot",
"signedIn": "SSH terhubung",
"changeServer": "Ubah",
"chooseNanobot": "nanobot mana yang ingin dibuka?",
"yourNanobot": "nanobot Anda",
"serviceAccount": "Berjalan sebagai {{user}}. Menggunakan izin sudo yang sudah ada untuk akun ini.",
"notFound": "Konfigurasi nanobot tidak ditemukan",
"notFoundHint": "Pastikan nanobot terpasang dan berjalan. Untuk Docker atau instalasi khusus, minta jalur konfigurasi dan akun layanan kepada pengelola.",
"limitedSearch": "Konfigurasi Anda dan layanan sistem nanobot telah diperiksa. Instalasi lain mungkin memerlukan jalur.",
"manualLocation": "Tentukan lokasi lain",
"keyHint": "Jalur berkas kunci privat SSH di komputer ini, bukan isinya atau kunci API. Login SSH hanya dengan kata sandi belum didukung.",
"locationHint": "Jalur dan akun pada server. Tidak ada instalasi atau perubahan izin.",
"sshSettings": "Pengaturan login SSH",
"checking": "Masuk dan mencari nanobot…",
"opening": "Membuka nanobot yang ada…",
"openNanobot": "Buka nanobot",
"chooseFile": "Pilih file: {{field}}",
"pickingFile": "Pilih file di dialog sistem…"
},
"searchHosts": "Cari host…",
"noMatchingHosts": "Tidak ada host yang cocok",
"commandHint": "Masukkan pengguna@server atau pilih host SSH. Kami akan masuk dengan pengaturan yang ada, lalu mencari nanobot.",
"commandImported": "Opsi SSH telah diisi. Periksa di Opsi koneksi.",
"hostPlaceholder": "Host alias or user@server",
"addressHint": "Your existing SSH username, key and port are used automatically.",
"manualAddress": "No matching alias. You can connect with the address above.",
"connectionOptions": "Connection options",
"editDescription": "Save your changes here, then connect when you’re ready.",
"save": "Save changes",
"saving": "Saving…",
"connect": "Connect",
"localShort": "Local",
"disconnectTitle": "Disconnect from {{name}}?",
"disconnectDescription": "This closes the server view and shared SSH connection. Unsaved work may be lost, and other tabs using this connection will disconnect. nanobot keeps running on the server.",
@@ -11,19 +102,11 @@
"cancelSwitch": "Cancel switch",
"localEnvironment": "Local · {{name}}",
"sshHosts": "From your SSH config",
"sshHostsHint": "Choose a saved SSH host. Its username, key and port are inherited; no servers are contacted until you connect.",
"refreshHosts": "Refresh SSH hosts",
"searchHosts": "Search SSH hosts",
"useHost": "Use {{host}}",
"loadingHosts": "Reading SSH config…",
"noHosts": "No named hosts found. You can enter an SSH address below.",
"noMatchingHosts": "No matching hosts.",
"partialHosts": "Some entries couldn't be listed. You can still enter an alias or address manually.",
"otherConfig": "Use another SSH config file",
"configToRead": "SSH config file to read",
"readConfig": "Read hosts",
"discoveryError": "Couldn't read SSH hosts. Retry or enter an address manually.",
"portPlaceholder": "Use SSH config (normally 22)",
"portPlaceholder": "From SSH config",
"loading": "Loading connections…",
"retry": "Retry",
"unavailable": "Open this page from a locally running nanobot to connect to servers over SSH.",
@@ -39,20 +122,17 @@
"current": "Currently using",
"remote": "Remote",
"returnLocal": "Back to local nanobot",
"add": "Connect to remote nanobot…",
"addTitle": "Connect to remote nanobot",
"addDescription": "Connect to a nanobot that's already running on your server.",
"add": "Add server",
"addTitle": "Connect to a server",
"addDescription": "Connect to an existing nanobot. Chats and settings stay on the server.",
"host": "SSH address",
"name": "Name (optional)",
"namePlaceholder": "Team server",
"keyHint": "Uses your system's SSH keys. Model keys and conversations stay on the server.",
"advanced": "Advanced",
"sshPort": "SSH port",
"ssh_config": "SSH config file (optional)",
"identity_file": "Private key path (optional)",
"config_path": "Server's nanobot config path",
"runtime_user": "nanobot service account (optional)",
"saveConnect": "Save & connect",
"connecting": "Connecting…",
"opening": "Opening your server…",
"frameTitle": "nanobot on {{name}}",
@@ -65,6 +145,28 @@
"forgetTitle": "Forget {{name}}?",
"forgetDescription": "Only this saved connection will be removed. nanobot, its keys and conversations on the server will stay untouched.",
"errors": {
"disconnected": "Koneksi bersama ini telah ditutup. Sambungkan kembali saat Anda siap.",
"instance_changed": "Koneksi server ini berubah. Menyambungkan kembali akan memuat ulang tampilan; draf yang belum dikirim dapat hilang.",
"pair_authorization_rejected": "Server tidak lagi menerima kunci perangkat ini. Otorisasinya mungkin dicabut atau kedaluwarsa. Pasangkan kembali melalui konsol server.",
"pair_route_mismatch": "Choose an SSH connection that resolves to this same server.",
"pair_route_unsupported": "This saved route uses a jump host. Use the existing SSH connection instead.",
"pair_invalid": "This code is invalid or belongs to another request. Copy it again from your server terminal.",
"pair_expired": "This pairing request expired. Generate a new command.",
"pair_authorization_expired": "This device authorization expired. Pair the server again.",
"pair_used": "This request was already used. Generate a new one.",
"pair_limit": "Close unused pairing windows and try again.",
"pair_managed": "Pair again to change the server or credentials.",
"ssh_connection_closed": "Koneksi SSH ditutup saat penyiapan. Ini belum membuktikan masalah kunci. Periksa VPN/proksi atau gunakan pengaturan SSH yang berfungsi di terminal.",
"ssh_refused": "Server menolak SSH. Periksa port dan layanan SSH.",
"ssh_host_not_found": "Nama server tidak dapat ditemukan. Periksa alamat atau pilih host dari konfigurasi SSH.",
"ssh_too_many_keys": "SSH mencoba terlalu banyak kunci. Tentukan kunci yang benar dengan IdentitiesOnly yes pada konfigurasi SSH.",
"duplicate_instance": "Nanobot ini sudah terhubung melalui alamat SSH lain. Gunakan koneksi yang ada di menu Ganti host.",
"ssh_agent_refused": "Agen SSH menolak penggunaan kunci. Buka kunci atau setujui di pengelola kunci, lalu coba lagi. Jika hanya terminal yang bisa terhubung, mulai ulang nanobot dari terminal tersebut.",
"ssh_key_permissions": "SSH menolak izin berkas kunci privat. Batasi akses hanya untuk akun Anda, lalu coba lagi.",
"ssh_config_invalid": "OpenSSH tidak dapat membaca pengaturan koneksi ini. Periksa konfigurasi SSH yang dipilih di terminal.",
"ssh_forwarding_denied": "SSH berhasil masuk, tetapi server memblokir penerusan port. Minta administrator mengizinkan penerusan ke port loopback nanobot.",
"probe_failed": "SSH berhasil masuk, tetapi pemeriksaan nanobot tidak dapat dijalankan. Pastikan akun ini dapat menjalankan perintah Python noninteraktif.",
"invalid_ssh_command": "Gunakan alias host, pengguna@server, atau ssh dengan -p, -i, -F, dan -l. Apit jalur yang berisi spasi dengan tanda kutip. Masukkan opsi lain ke konfigurasi SSH; perintah jarak jauh tidak didukung.",
"view_limit": "Three server views are already kept open. Disconnect one in Manage connections before opening another.",
"view_load_failed": "The server view is taking too long to load. Retry; your current view is unchanged.",
"same_instance": "This is the nanobot you are already using. No remote connection is needed.",
@@ -79,10 +181,11 @@
"host_key_unknown": "This server hasn't been verified by SSH on this machine yet. Verify its host fingerprint with your administrator before connecting.",
"host_key_changed": "The server's SSH identity has changed. Connection blocked. Confirm this change with your administrator; don't bypass the warning.",
"local_file_not_found": "The SSH config or private key file couldn't be found on this machine.",
"file_picker_unavailable": "Pemilih file tidak dapat dibuka. Tempel jalur file lokal sebagai gantinya.",
"runtime_user_denied": "SSH signed in, but cannot read as that service account without a password. Check the account with your server administrator.",
"python_unavailable": "The server needs python3 to locate its existing nanobot configuration.",
"config_not_found": "nanobot's config wasn't found. Set its server-side path in Advanced.",
"config_permission": "This SSH user can't read nanobot's config. Set the nanobot service account in Advanced.",
"config_not_found": "nanobot's config wasn't found. Set its server-side path in Connection options.",
"config_permission": "This SSH user can't read nanobot's config. Set the nanobot service account in Connection options.",
"config_invalid": "Couldn't read the server's nanobot configuration.",
"webui_disabled": "The server's WebUI is disabled. Enable it on the server first.",
"webui_auth_required": "The server needs a WebUI login secret in its config. No model key is needed here.",
@@ -92,7 +195,7 @@
"webui_unavailable": "The gateway is running, but its WebUI isn't installed.",
"remote_unreachable": "SSH connected, but the nanobot WebUI isn't responding. Check that it's running.",
"profile_store_invalid": "Saved connections couldn't be read. They haven't been overwritten.",
"invalid_profile": "Check the address, port and Advanced fields.",
"invalid_profile": "Check the address, port and Connection options fields.",
"profile_not_found": "This saved server no longer exists. Refresh the list.",
"profile_limit": "You can save up to 20 servers.",
"connection_limit": "Disconnect an existing server before opening another connection.",