feat(webui): connect to existing remote nanobot instances (NAN-157)

This commit is contained in:
Xubin Ren committed 2026-10-02 11:36:34 +08:00
1 parent 6ecb74aea9
commit 11889c018e
34 files changed
+4074 -14

No files matched your search

+102
View File
@@ -1,4 +1,106 @@
{
"remote": {
"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.",
"hostBar": "Current connection",
"switchHost": "Switch host",
"manageConnections": "Manage connections…",
"ready": "Ready",
"preparing": "Connecting to {{name}}…",
"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)",
"loading": "Loading connections…",
"retry": "Retry",
"unavailable": "Open this page from a locally running nanobot to connect to servers over SSH.",
"back": "Back",
"disconnect": "Disconnect",
"verifyTitle": "Verify this server",
"verifyDescription": "Before connecting for the first time, compare this SSH fingerprint with your server console or administrator.",
"verifyHint": "Continue only if it matches. Only this server's public key is saved; your system SSH config is unchanged.",
"verifyConnect": "Fingerprint matches · Connect",
"title": "Remote connections",
"description": "Connect to nanobot on a server. Chats and settings stay there.",
"local": "Local nanobot",
"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.",
"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}}",
"offline": "Server connection lost",
"noFallback": "You're still using remote nanobot. Nothing is sent to local nanobot.",
"reconnect": "Reconnect",
"manage": "Manage {{name}}",
"edit": "Edit connection",
"forget": "Forget server",
"forgetTitle": "Forget {{name}}?",
"forgetDescription": "Only this saved connection will be removed. nanobot, its keys and conversations on the server will stay untouched.",
"errors": {
"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.",
"ssh_config_unreadable": "This SSH config could not be read. Check its path, permissions and format.",
"local_port_in_use": "This connection's local port is in use. Close the conflicting application, or forget and add this server again.",
"host_key_scan_failed": "Couldn't retrieve this server's fingerprint. For jump hosts, verify it through your existing SSH configuration.",
"unknown": "Couldn't connect. Check the server and try again.",
"directory_unavailable": "Couldn't read your saved servers. Please try again.",
"ssh_unavailable": "Install the OpenSSH client on this machine to connect.",
"ssh_auth_failed": "SSH couldn't sign in. Check the username and key, and unlock your key in the system SSH agent if needed.",
"ssh_unreachable": "Can't reach SSH on this server. Check the address, port and network.",
"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.",
"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_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.",
"public_ws_unsupported": "This server uses a public WebSocket URL. This first version supports a loopback WebUI over SSH.",
"remote_auth_failed": "The server rejected its saved WebUI credential. Check its running configuration.",
"incompatible_gateway": "This endpoint isn't a compatible nanobot gateway. Update the server or check its configuration.",
"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.",
"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.",
"disconnect_before_edit": "Disconnect this server before editing it.",
"local_io_error": "Couldn't save or open the connection. Check local file permissions.",
"invalid_remote_url": "The connection returned an unexpected address. It was blocked."
}
},
"previewTabs": {
"title": "Vista previa",
"closeTab": "Cerrar {{name}}",