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": "この接続を使用しているすべてのタブが切断されます。未保存の内容が失われる可能性があります。",
"saved": "保存済み",
"pair": {
"expiringDevice": "認証は {{date}} に期限切れになります。",
"expiredDevice": "認証の期限が切れました。再接続する前にペアリングし直してください。",
"introHint": "サーバーのターミナルでコマンドを実行して接続します。",
"copiedTitle": "コマンドをコピーしました",
"afterCopyHint": "サーバーのターミナルに貼り付けて実行します。承認後、表示されたリンクをこのパソコンで開いてください。",
"copyAgain": "もう一度コピー",
"otherWays": "ほかの接続方法",
"helpTitle": "利用条件とヘルプ",
"validityHint": "コマンドは10分間有効です。承認前にアクセス権限を確認してください。",
"linkDescription": "サーバーでコマンドを実行し、端末のリンクからここに戻ります。",
"preparing": "接続を準備しています…",
"linkRunHint": "クラウド端末にコマンドを貼り付け、このコンピューターを承認してください。有効期限は10分です。",
"showCommand": "コマンドを表示",
"checkingLink": "接続リンクを確認しています…",
"returnTitle": "2. nanobot に戻る",
"returnHint": "承認後、このコンピューターで端末のリンクを開くと、接続情報が自動入力されます。",
"pasteInstead": "代わりに接続コードを使う",
"confirmLinkDescription": "自分の信頼できるサーバー端末から取得したリンクまたはコードであることを確認してください。",
"route": "ネットワーク経路…",
"direct": "直接接続",
"savedRoute": "保存済みのネットワーク経路",
"routeDescription": "VPN や既存の特殊な SSH 経路向けの設定です。",
"routeHint": "同じサーバーへの保存済み SSH 接続の経路だけを利用します。認証鍵や認証情報はコピーしません。",
"title": "SSH の設定なしで接続",
"description": "サーバーのコンソールでコマンドを実行し、接続コードをここに貼り付けます。",
"steps": {
"run": "ペアリングコマンドをサーバーの端末で実行します。",
"paste": "サーバーが返したコードを貼り付けます。",
"connect": "サーバーを確認し、nanobot を開きます。"
},
"requirements": "nanobot をインストールした Linux サーバー向けです。SSH 接続は必要ですが、中継サービスや WebUI の公開は不要です。",
"useSSH": "既存の SSH 設定を使用",
"start": "コマンドを取得",
"runTitle": "1. サーバーで実行",
"runHint": "クラウド管理画面の端末にコマンドを貼り付け、案内に従ってください。サーバーにもこの機能に対応した nanobot が必要です。",
"command": "ペアリングコマンド",
"copy": "コマンドをコピー",
"copied": "コピーしました",
"copyFailed": "コピーできませんでした。上のコマンドを選択してコピーしてください。",
"code": "接続コード",
"codeHint": "端末に表示された nbpc1. で始まるコードを使用します。このローカル要求でのみ有効です。",
"expired": "要求が期限切れです。新しいコマンドを取得してください。サーバーで認可済みなら、端末に表示された取消コマンドを実行してください。",
"restart": "新しいコマンドを取得",
"review": "接続情報を確認",
"confirmTitle": "この nanobot を開きますか?",
"confirmDescription": "ご自身の信頼できるサーバー端末からコピーしたコードでのみ続行してください。",
"access": "このコンピューターは、この nanobot のチャット、設定、有効なツールへ完全にアクセスできます。",
"expiry": "認可の有効期限は {{date}} です。SSH と nanobot の既存のポート公開設定は変更しません。",
"security": "接続の詳細と認可の取消",
"fingerprint": "接続先の SSH サーバーは、サーバー端末のこの指紋と一致する必要があります:",
"revoke": "新規接続の認可を取り消すには、サーバーで次を実行し、開いているリモートセッションも閉じてください:",
"retryHint": "ペアリングは保存済みです。サーバーのコマンドを再実行せずに再試行できます。ネットワークや VPN による SSH の遮断は回避できません。",
"forgetHint": "削除するのはローカル一覧の接続だけで、サーバーの認可は残ります。取消にはサーバーで次を実行してください:"
},
"setup": {
"progress": "接続設定",
"server": "サーバー",
"nanobot": "nanobot",
"signedIn": "SSH 接続済み",
"changeServer": "変更",
"chooseNanobot": "どの nanobot を開きますか?",
"yourNanobot": "あなたの nanobot",
"serviceAccount": "実行アカウントは {{user}} です。このアカウントの既存の sudo 権限を使用します。",
"notFound": "nanobot の設定が見つかりません",
"notFoundHint": "nanobot がインストール済みで稼働中か確認してください。Docker や独自構成の場合は、管理者に設定パスとサービスアカウントを確認してください。",
"limitedSearch": "自分の設定と nanobot システムサービスを確認しました。他の構成ではパスの指定が必要です。",
"manualLocation": "別の場所を指定",
"keyHint": "このコンピューター上の SSH 秘密鍵ファイルのパスです。鍵の内容や API キーではありません。パスワードのみの SSH ログインは未対応です。",
"locationHint": "サーバー上のパスとアカウントです。インストールや権限変更は行いません。",
"sshSettings": "SSH ログイン設定",
"checking": "ログインして nanobot を検索中…",
"opening": "既存の nanobot を開いています…",
"openNanobot": "nanobot を開く",
"chooseFile": "ファイルを選択:{{field}}",
"pickingFile": "システムダイアログでファイルを選択してください…"
},
"searchHosts": "ホストを検索…",
"noMatchingHosts": "一致するホストがありません",
"commandHint": "ユーザー名@サーバーを入力するか SSH ホストを選択してください。既存の設定でログインし、nanobot を探します。",
"commandImported": "SSH 設定を入力しました。「接続オプション」で確認できます。",
"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": "この共有接続は閉じられました。必要なときに再接続できます。",
"instance_changed": "このサーバーへの接続が変わりました。再接続すると画面が再読み込みされ、未送信の下書きが失われる場合があります。",
"pair_authorization_rejected": "サーバーがこのデバイスの鍵を受け付けなくなりました。認可が取り消されたか期限切れの可能性があります。サーバーのコンソールから再度ペアリングしてください。",
"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": "接続の確立中に SSH が切断されました。鍵の問題とは限りません。VPN・プロキシを確認するか、端末で接続できる SSH 設定を使用してください。",
"ssh_refused": "サーバーが SSH 接続を拒否しました。ポートと SSH サービスを確認してください。",
"ssh_host_not_found": "サーバー名を解決できません。アドレスを確認するか、SSH 設定からホストを選んでください。",
"ssh_too_many_keys": "SSH が試した鍵が多すぎます。SSH 設定で正しい鍵と IdentitiesOnly yes を指定してください。",
"duplicate_instance": "この nanobot は別の SSH アドレスで接続済みです。ホスト切り替えから既存の接続を選んでください。",
"ssh_agent_refused": "SSH エージェントが鍵の使用を拒否しました。鍵管理アプリで解除・承認して再試行してください。ターミナルでのみ接続できる場合は、そのターミナルから nanobot を再起動してください。",
"ssh_key_permissions": "SSH が秘密鍵ファイルの権限を拒否しました。自分のアカウントだけがアクセスできるようにして再試行してください。",
"ssh_config_invalid": "OpenSSH が接続設定を読み取れませんでした。選択した SSH 設定をターミナルで確認してください。",
"ssh_forwarding_denied": "SSH ログインは成功しましたが、サーバーがポート転送を拒否しました。nanobot のループバックポートへの転送を管理者に許可してもらってください。",
"probe_failed": "SSH ログインは成功しましたが、nanobot の確認を実行できませんでした。このアカウントで非対話型の Python コマンドを実行できるか確認してください。",
"invalid_ssh_command": "ホスト別名、ユーザー@サーバー、または -p、-i、-F、-l を含む ssh コマンドを入力してください。空白を含むパスは引用符で囲んでください。他のオプションは SSH 設定に記述し、リモートコマンドは含めないでください。",
"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": "ファイル選択画面を開けませんでした。ローカルファイルのパスを入力してください。",
"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.",