feat(webui): complete remote pairing and connection recovery
This commit is contained in:
1 parent
11889c018e
commit
192ca6e49e
52 files changed
+7313
-675
No files matched your search
@@ -1,5 +1,96 @@
|
||||
{
|
||||
"remote": {
|
||||
"activeForgetWarning": "All tabs using this connection will disconnect. Unsaved work may be lost.",
|
||||
"saved": "Saved",
|
||||
"pair": {
|
||||
"expiringDevice": "Authorization expires {{date}}.",
|
||||
"expiredDevice": "Authorization expired. Pair this server again before reconnecting.",
|
||||
"introHint": "Run one command in your server terminal to connect.",
|
||||
"copiedTitle": "Command copied",
|
||||
"afterCopyHint": "Paste it into your server terminal. After authorizing, open the returned link on this computer.",
|
||||
"copyAgain": "Copy again",
|
||||
"otherWays": "Other ways",
|
||||
"helpTitle": "Requirements & help",
|
||||
"validityHint": "Commands expire after 10 minutes. Review access before authorizing.",
|
||||
"linkDescription": "Run a command on your server, then follow its link back here.",
|
||||
"preparing": "Preparing your connection…",
|
||||
"linkRunHint": "Paste the command into your cloud terminal and authorize this computer. It is valid for 10 minutes.",
|
||||
"showCommand": "View command",
|
||||
"checkingLink": "Checking the connection link…",
|
||||
"returnTitle": "2. Return to nanobot",
|
||||
"returnHint": "After authorizing, open the terminal’s link on this computer. We’ll fill in the connection details.",
|
||||
"pasteInstead": "Use a connection code instead",
|
||||
"confirmLinkDescription": "Continue only if this link or code came from your own trusted server terminal.",
|
||||
"route": "Network route…",
|
||||
"direct": "Direct connection",
|
||||
"savedRoute": "Saved network route",
|
||||
"routeDescription": "For an existing VPN or special SSH network route.",
|
||||
"routeHint": "Optionally reuse the network route of a saved SSH connection to this same server. Its login key and credentials are not copied.",
|
||||
"title": "Connect without an SSH setup",
|
||||
"description": "Run one command in your server console, then bring the connection code back here.",
|
||||
"steps": {
|
||||
"run": "Copy a pairing command to your server terminal.",
|
||||
"paste": "Paste the code the server gives you.",
|
||||
"connect": "Confirm the server and open nanobot."
|
||||
},
|
||||
"requirements": "For Linux servers with nanobot installed. SSH must still be reachable; no relay or public WebUI is needed.",
|
||||
"useSSH": "Use existing SSH settings",
|
||||
"start": "Get pairing command",
|
||||
"runTitle": "1. Run on your server",
|
||||
"runHint": "Open the terminal in your cloud console. Paste this command and follow the prompts. The server also needs this version of nanobot.",
|
||||
"command": "Pairing command",
|
||||
"copy": "Copy command",
|
||||
"copied": "Copied",
|
||||
"copyFailed": "Could not copy. Select and copy the command above.",
|
||||
"code": "Connection code",
|
||||
"codeHint": "Use the code starting with nbpc1. from that terminal. It only works with this local pairing request.",
|
||||
"expired": "This request has expired. Generate a new command. If you already authorized it on the server, use the revoke command printed there.",
|
||||
"restart": "Get a new command",
|
||||
"review": "Review connection",
|
||||
"confirmTitle": "Open this nanobot?",
|
||||
"confirmDescription": "Only continue with a code copied from your own trusted server terminal.",
|
||||
"access": "This computer will have full access to this nanobot's chats, settings and enabled tools.",
|
||||
"expiry": "Device authorization expires on {{date}}. Your server's SSH and nanobot ports stay private as configured.",
|
||||
"security": "Connection details & revocation",
|
||||
"fingerprint": "The SSH server must match this fingerprint from the server console:",
|
||||
"revoke": "To revoke new connections, run this on the server and close any open remote sessions:",
|
||||
"retryHint": "Pairing is saved. You can retry without running the server command again. If SSH is blocked by your network or VPN, pairing cannot bypass it.",
|
||||
"forgetHint": "Forgetting removes this connection from the list, not its server authorization. To revoke the device, run this on the server:"
|
||||
},
|
||||
"setup": {
|
||||
"progress": "Connection setup",
|
||||
"server": "Server",
|
||||
"nanobot": "nanobot",
|
||||
"signedIn": "SSH connected",
|
||||
"changeServer": "Change",
|
||||
"chooseNanobot": "Which nanobot would you like to open?",
|
||||
"yourNanobot": "Your nanobot",
|
||||
"serviceAccount": "Runs as {{user}}. Opening uses this account’s existing sudo permissions.",
|
||||
"notFound": "No nanobot configuration found",
|
||||
"notFoundHint": "Check that nanobot is installed and running. For Docker or a custom installation, ask the person who deployed it for the config path and service account.",
|
||||
"limitedSearch": "Checked your config and named nanobot system services. Other installations may need a path below.",
|
||||
"manualLocation": "Specify a different location",
|
||||
"keyHint": "Use the path to your SSH private key on this computer, not its contents or a model API key. Password-only SSH login is not supported yet.",
|
||||
"locationHint": "These are paths and accounts on the server. No installation or permission changes will be made.",
|
||||
"sshSettings": "SSH login settings",
|
||||
"checking": "Signing in and looking for nanobot…",
|
||||
"opening": "Opening the existing nanobot…",
|
||||
"openNanobot": "Open nanobot",
|
||||
"chooseFile": "Choose file: {{field}}",
|
||||
"pickingFile": "Choose a file in the system dialog…"
|
||||
},
|
||||
"searchHosts": "Search hosts…",
|
||||
"noMatchingHosts": "No matching hosts",
|
||||
"commandHint": "Enter user@server or choose a saved SSH host. We’ll sign in using your existing SSH settings, then look for nanobot.",
|
||||
"commandImported": "SSH options filled in. You can review them in Connection options.",
|
||||
"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": "This shared connection was closed. Reconnect when you’re ready.",
|
||||
"instance_changed": "This server connection changed. Reconnecting will reload its view; unsent drafts may be lost.",
|
||||
"pair_authorization_rejected": "The server no longer accepts this device key. Its authorization may have been revoked or expired. Pair again from your server console.",
|
||||
"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": "The SSH connection closed during setup. This does not confirm a key problem. Check your VPN/proxy or use the SSH settings that work in your terminal.",
|
||||
"ssh_refused": "The server refused the SSH connection. Check its SSH port and whether the SSH service is running.",
|
||||
"ssh_host_not_found": "This server name could not be resolved. Check the address or choose a host from your SSH config.",
|
||||
"ssh_too_many_keys": "SSH tried too many keys. Specify the correct key using an SSH config with IdentitiesOnly yes.",
|
||||
"duplicate_instance": "This nanobot is already connected through another SSH address. Use its existing entry in Switch host.",
|
||||
"ssh_agent_refused": "Your SSH agent declined to use the key. Unlock or approve it in your key manager, then retry. If SSH works only in a terminal, restart nanobot from that terminal.",
|
||||
"ssh_key_permissions": "SSH rejected the private key file permissions. Restrict access to your user account, then retry.",
|
||||
"ssh_config_invalid": "OpenSSH could not read these connection settings. Check the selected SSH config in your terminal.",
|
||||
"ssh_forwarding_denied": "SSH signed in, but the server blocked port forwarding. Ask the administrator to allow forwarding to nanobot's loopback port.",
|
||||
"probe_failed": "SSH signed in, but could not run the nanobot check. Check that this account can run non-interactive Python commands.",
|
||||
"invalid_ssh_command": "Use a host alias, user@server, or ssh with -p, -i, -F and -l. Quote paths containing spaces. Put other options in SSH config; remote commands aren't supported.",
|
||||
"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": "The file chooser couldn't open. You can paste a local file path instead.",
|
||||
"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.",
|
||||
|
||||
Reference in new issue
Block a user