Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

feat(settings): compact remote-hosts inventory and experimental rows

vastsacd8570ac6c41
diff --git a/apps/desktop/src/components/settings/RemoteHostsPage.tsx b/apps/desktop/src/components/settings/RemoteHostsPage.tsx
index d7ee5a395..f6c63097d 100644
--- a/apps/desktop/src/components/settings/RemoteHostsPage.tsx
+++ b/apps/desktop/src/components/settings/RemoteHostsPage.tsx
@@ -2,14 +2,10 @@
* Settings destination for paired remote `pi-host` machines (R2b pairing UX,
* ADR 0286 §Registry).
*
- * List every host stored in `<dataDir>/remote-hosts.json`, show its live
- * connection state, and offer a compact form to pair a new one with a URL +
- * pairing token issued by the target `pi-host`. The renderer never sees a
- * device token — pairing exchange and encrypted persistence stay inside
- * Electron main.
- *
- * Cards run from the common path to the advanced one: install over SSH first,
- * pairing a URL + token by hand last. A password typed into the SSH form lives
+ * Inventory of `<dataDir>/remote-hosts.json` plus one Add form: SSH install
+ * first, URL + pairing token second. Instructional copy stays out of the
+ * renderer. Unscheduled capabilities render as Experimental rows that toast
+ * unavailability and never call IPC. A password typed into the SSH form lives
* in this component's state only; it is never persisted or logged here.
*/
import { useCallback, useEffect, useState } from "react";
@@ -20,6 +16,8 @@ import { useAppStore } from "../../stores/app-store";
import { Badge, Button, Field, Input, PasswordInput, cx } from "../ui";
import { SettingsCard, SettingsRow } from "../../features/settings/primitives";
+type AddMode = "ssh" | "pair";
+
type PairForm = {
url: string;
pairingToken: string;
@@ -48,6 +46,14 @@ const EMPTY_SSH_FORM: SshForm = {
password: "",
};
+const EXPERIMENTAL_FEATURES = [
+ { id: "lan", titleKey: "settings.remoteHosts.experimentalLan" },
+ { id: "gateway", titleKey: "settings.remoteHosts.experimentalGateway" },
+ { id: "messaging", titleKey: "settings.remoteHosts.experimentalMessaging" },
+ { id: "wsl", titleKey: "settings.remoteHosts.experimentalWsl" },
+ { id: "expose", titleKey: "settings.remoteHosts.experimentalExpose" },
+] as const;
+
export function RemoteHostsPage() {
const { t } = useTranslation();
const showToast = useAppStore((state) => state.showToast);
@@ -58,6 +64,7 @@ export function RemoteHostsPage() {
const [removing, setRemoving] = useState<string | null>(null);
const [sshForm, setSshForm] = useState<SshForm>(EMPTY_SSH_FORM);
const [installing, setInstalling] = useState(false);
+ const [addMode, setAddMode] = useState<AddMode>("ssh");
const refresh = useCallback(async () => {
try {
@@ -171,317 +178,329 @@ export function RemoteHostsPage() {
[sshForm, refresh, showToast, t],
);
+ const onExperimental = useCallback(() => {
+ showToast(t("settings.remoteHosts.experimentalUnavailable"), { variant: "info" });
+ }, [showToast, t]);
+
+ const busy = installing || pairing;
const sshSubmitDisabled =
installing ||
!sshForm.host.trim() ||
!sshForm.label.trim() ||
(sshForm.auth === "password" && sshForm.password === "");
+ const pairSubmitDisabled =
+ pairing || !form.url.trim() || !form.pairingToken.trim() || !form.label.trim();
return (
<div className="settings-stack">
- <SettingsCard title={t("settings.remoteHosts.listTitle")}>
- <div className="settings-row-copy" role="note">
- <div className="settings-row-desc">
- {t("settings.remoteHosts.overview")}
- </div>
- </div>
+ <div
+ className="settings-remote-host-list"
+ role="list"
+ aria-busy={hosts === null || removing !== null}
+ >
{error ? (
- <SettingsRow title={t("settings.remoteHosts.listError")}>
- <span className="text-text-muted">{error}</span>
- </SettingsRow>
- ) : null}
- {hosts === null ? (
- <SettingsRow title={t("settings.remoteHosts.loading")}>
- <span aria-hidden="true">…</span>
- </SettingsRow>
+ <div className="settings-remote-host-empty" role="alert">
+ {t("settings.remoteHosts.listError")}
+ <span className="settings-remote-host-empty-detail">{error}</span>
+ </div>
+ ) : hosts === null ? (
+ <div className="settings-remote-host-empty" role="status">
+ {t("settings.remoteHosts.loading")}
+ </div>
) : hosts.length === 0 ? (
- <SettingsRow title={t("settings.remoteHosts.emptyTitle")}>
- <span className="text-text-muted">{t("settings.remoteHosts.emptyBody")}</span>
- </SettingsRow>
+ <div className="settings-remote-host-empty" role="status">
+ {t("settings.remoteHosts.empty")}
+ </div>
) : (
hosts.map((host) => (
- <SettingsRow
- key={host.hostKey}
- title={host.label}
- description={
- <span className="font-mono text-xs-plus text-text-muted">
- {host.transport === "ssh"
- ? `${t("settings.remoteHosts.transportSsh")} · `
- : ""}
- {host.url}
- </span>
- }
- >
+ <article key={host.hostKey} className="settings-remote-host-card" role="listitem">
<span
- className="settings-remote-host-status"
- role="status"
- aria-live="polite"
- >
+ className={cx(
+ "settings-remote-host-pulse",
+ host.connected && "is-online",
+ )}
+ aria-hidden="true"
+ />
+ <div className="settings-remote-host-copy">
+ <div className="settings-remote-host-name">{host.label}</div>
+ <div className="settings-remote-host-meta">
+ {host.transport === "ssh"
+ ? `${t("settings.remoteHosts.transportSsh")} · ${host.url}`
+ : host.url}
+ </div>
+ </div>
+ <span className="settings-remote-host-card-actions">
<Badge tone={host.connected ? "success" : "neutral"}>
{host.connected
? t("settings.remoteHosts.statusOnline")
: t("settings.remoteHosts.statusOffline")}
</Badge>
+ <Button
+ variant="ghost"
+ type="button"
+ disabled={removing === host.hostKey}
+ onClick={() => void remove(host)}
+ >
+ {removing === host.hostKey
+ ? t("settings.remoteHosts.removing")
+ : t("settings.remoteHosts.remove")}
+ </Button>
</span>
- <Button
- variant="ghost"
- type="button"
- disabled={removing === host.hostKey}
- onClick={() => void remove(host)}
- >
- {removing === host.hostKey
- ? t("settings.remoteHosts.removing")
- : t("settings.remoteHosts.remove")}
- </Button>
- </SettingsRow>
+ </article>
))
)}
- </SettingsCard>
+ </div>
- <SettingsCard title={t("settings.remoteHosts.sshTitle")}>
- <div className="settings-row-copy" role="note">
- <div className="settings-row-desc">{t("settings.remoteHosts.sshBody")}</div>
- </div>
- <form onSubmit={submitSsh} className="settings-remote-host-form">
- <div className="settings-remote-host-form-row">
- <Field
- label={t("settings.remoteHosts.fieldLabel")}
- hint={t("settings.remoteHosts.fieldLabelDesc")}
- >
- <Input
- value={sshForm.label}
- onChange={(event) =>
- setSshForm((prev) => ({ ...prev, label: event.target.value }))
- }
- placeholder={t("settings.remoteHosts.fieldLabelPlaceholder")}
- aria-label={t("settings.remoteHosts.fieldLabel")}
- autoComplete="off"
- spellCheck={false}
- disabled={installing}
- />
- </Field>
- <Field
- label={t("settings.remoteHosts.sshHost")}
- hint={t("settings.remoteHosts.sshHostDesc")}
- >
- <Input
- value={sshForm.host}
- onChange={(event) =>
- setSshForm((prev) => ({ ...prev, host: event.target.value }))
- }
- placeholder={t("settings.remoteHosts.sshHostPlaceholder")}
- aria-label={t("settings.remoteHosts.sshHost")}
- autoComplete="off"
- autoCapitalize="off"
- spellCheck={false}
- disabled={installing}
- />
- </Field>
+ <section className="settings-card-block">
+ <div className="settings-card-heading-row settings-remote-host-add-heading">
+ <h3 className="settings-card-heading">{t("settings.remoteHosts.addTitle")}</h3>
+ <div
+ className="settings-segment"
+ role="tablist"
+ aria-label={t("settings.remoteHosts.addTitle")}
+ >
+ {(["ssh", "pair"] as const).map((mode) => (
+ <button
+ key={mode}
+ type="button"
+ role="tab"
+ id={`remote-host-add-${mode}`}
+ aria-selected={addMode === mode}
+ aria-controls={`remote-host-add-panel-${mode}`}
+ className={cx("settings-segment-item", addMode === mode && "active")}
+ disabled={busy}
+ onClick={() => setAddMode(mode)}
+ >
+ {mode === "ssh"
+ ? t("settings.remoteHosts.addSsh")
+ : t("settings.remoteHosts.addPair")}
+ </button>
+ ))}
</div>
+ </div>
+ <div className="settings-panel">
+ <form
+ id="remote-host-add-panel-ssh"
+ role="tabpanel"
+ aria-labelledby="remote-host-add-ssh"
+ hidden={addMode !== "ssh"}
+ className="settings-remote-host-form settings-remote-host-add-panel"
+ onSubmit={submitSsh}
+ >
+ <div className="settings-remote-host-form-row">
+ <Field label={t("settings.remoteHosts.fieldLabel")}>
+ <Input
+ value={sshForm.label}
+ onChange={(event) =>
+ setSshForm((prev) => ({ ...prev, label: event.target.value }))
+ }
+ placeholder={t("settings.remoteHosts.fieldLabelPlaceholder")}
+ aria-label={t("settings.remoteHosts.fieldLabel")}
+ autoComplete="off"
+ spellCheck={false}
+ disabled={installing}
+ />
+ </Field>
+ <Field label={t("settings.remoteHosts.sshHost")}>
+ <Input
+ value={sshForm.host}
+ onChange={(event) =>
+ setSshForm((prev) => ({ ...prev, host: event.target.value }))
+ }
+ placeholder={t("settings.remoteHosts.sshHostPlaceholder")}
+ aria-label={t("settings.remoteHosts.sshHost")}
+ autoComplete="off"
+ autoCapitalize="off"
+ spellCheck={false}
+ disabled={installing}
+ />
+ </Field>
+ </div>
- <div className="settings-remote-host-form-row is-narrow-port">
- <Field
- label={t("settings.remoteHosts.sshUser")}
- hint={t("settings.remoteHosts.sshUserDesc")}
- >
- <Input
- value={sshForm.user}
- onChange={(event) =>
- setSshForm((prev) => ({ ...prev, user: event.target.value }))
- }
- aria-label={t("settings.remoteHosts.sshUser")}
- autoComplete="off"
- autoCapitalize="off"
- spellCheck={false}
- disabled={installing}
- />
- </Field>
- <Field
- label={t("settings.remoteHosts.sshPort")}
- hint={t("settings.remoteHosts.sshPortDesc")}
- >
- <Input
- value={sshForm.port}
- onChange={(event) =>
- setSshForm((prev) => ({ ...prev, port: event.target.value }))
- }
- aria-label={t("settings.remoteHosts.sshPort")}
- inputMode="numeric"
- autoComplete="off"
- spellCheck={false}
- disabled={installing}
- />
- </Field>
- </div>
+ <div className="settings-remote-host-form-row is-narrow-port">
+ <Field label={t("settings.remoteHosts.sshUser")}>
+ <Input
+ value={sshForm.user}
+ onChange={(event) =>
+ setSshForm((prev) => ({ ...prev, user: event.target.value }))
+ }
+ aria-label={t("settings.remoteHosts.sshUser")}
+ autoComplete="off"
+ autoCapitalize="off"
+ spellCheck={false}
+ disabled={installing}
+ />
+ </Field>
+ <Field label={t("settings.remoteHosts.sshPort")}>
+ <Input
+ value={sshForm.port}
+ onChange={(event) =>
+ setSshForm((prev) => ({ ...prev, port: event.target.value }))
+ }
+ aria-label={t("settings.remoteHosts.sshPort")}
+ inputMode="numeric"
+ autoComplete="off"
+ spellCheck={false}
+ disabled={installing}
+ />
+ </Field>
+ </div>
- <div className="settings-remote-host-form-auth">
- <div
- className="text-sm text-text-secondary"
- id="settings-remote-host-auth-label"
- >
- {t("settings.remoteHosts.sshAuthMode")}
+ <div className="settings-remote-host-form-auth">
+ <div
+ className="text-sm text-text-secondary"
+ id="settings-remote-host-auth-label"
+ >
+ {t("settings.remoteHosts.sshAuthMode")}
+ </div>
+ <div
+ className="settings-segment"
+ role="radiogroup"
+ aria-labelledby="settings-remote-host-auth-label"
+ >
+ {(["key", "password"] as const).map((auth) => (
+ <button
+ key={auth}
+ type="button"
+ role="radio"
+ className={cx(
+ "settings-segment-item",
+ sshForm.auth === auth && "active",
+ )}
+ aria-checked={sshForm.auth === auth}
+ aria-pressed={sshForm.auth === auth}
+ disabled={installing}
+ onClick={() => selectSshAuth(auth)}
+ >
+ {auth === "key"
+ ? t("settings.remoteHosts.sshAuthKey")
+ : t("settings.remoteHosts.sshAuthPassword")}
+ </button>
+ ))}
+ </div>
</div>
- <div
- className="settings-segment"
- role="radiogroup"
- aria-labelledby="settings-remote-host-auth-label"
- aria-describedby="settings-remote-host-auth-desc"
- >
- {(["key", "password"] as const).map((auth) => (
- <button
- key={auth}
- type="button"
- role="radio"
- className={cx(
- "settings-segment-item",
- sshForm.auth === auth && "active",
- )}
- aria-checked={sshForm.auth === auth}
- aria-pressed={sshForm.auth === auth}
+
+ {sshForm.auth === "key" ? (
+ <Field label={t("settings.remoteHosts.sshIdentityFile")}>
+ <Input
+ value={sshForm.identityFile}
+ onChange={(event) =>
+ setSshForm((prev) => ({ ...prev, identityFile: event.target.value }))
+ }
+ aria-label={t("settings.remoteHosts.sshIdentityFile")}
+ autoComplete="off"
+ autoCapitalize="off"
+ spellCheck={false}
disabled={installing}
- onClick={() => selectSshAuth(auth)}
- >
- {auth === "key"
- ? t("settings.remoteHosts.sshAuthKey")
- : t("settings.remoteHosts.sshAuthPassword")}
- </button>
- ))}
- </div>
- <div
- className="text-xs text-text-muted"
- id="settings-remote-host-auth-desc"
- >
- {t("settings.remoteHosts.sshAuthModeDesc")}
+ />
+ </Field>
+ ) : (
+ <Field label={t("settings.remoteHosts.sshPassword")}>
+ <PasswordInput
+ value={sshForm.password}
+ onChange={(event) =>
+ setSshForm((prev) => ({ ...prev, password: event.target.value }))
+ }
+ placeholder={t("settings.remoteHosts.sshPasswordPlaceholder")}
+ aria-label={t("settings.remoteHosts.sshPassword")}
+ autoComplete="off"
+ spellCheck={false}
+ disabled={installing}
+ showLabel={t("settings.remoteHosts.sshShowPassword")}
+ hideLabel={t("settings.remoteHosts.sshHidePassword")}
+ />
+ </Field>
+ )}
+
+ <div className="settings-remote-host-form-actions">
+ <Button type="submit" variant="primary" disabled={sshSubmitDisabled}>
+ {installing
+ ? t("settings.remoteHosts.sshRunning")
+ : t("settings.remoteHosts.sshAction")}
+ </Button>
</div>
- </div>
+ </form>
- {sshForm.auth === "key" ? (
- <Field
- label={t("settings.remoteHosts.sshIdentityFile")}
- hint={t("settings.remoteHosts.sshIdentityFileDesc")}
- >
+ <form
+ id="remote-host-add-panel-pair"
+ role="tabpanel"
+ aria-labelledby="remote-host-add-pair"
+ hidden={addMode !== "pair"}
+ className="settings-remote-host-form settings-remote-host-add-panel"
+ onSubmit={submit}
+ >
+ <div className="settings-remote-host-form-row">
+ <Field label={t("settings.remoteHosts.fieldLabel")}>
+ <Input
+ value={form.label}
+ onChange={(event) =>
+ setForm((prev) => ({ ...prev, label: event.target.value }))
+ }
+ placeholder={t("settings.remoteHosts.fieldLabelPlaceholder")}
+ aria-label={t("settings.remoteHosts.fieldLabel")}
+ autoComplete="off"
+ spellCheck={false}
+ disabled={pairing}
+ />
+ </Field>
+ <Field label={t("settings.remoteHosts.fieldUrl")}>
+ <Input
+ value={form.url}
+ onChange={(event) =>
+ setForm((prev) => ({ ...prev, url: event.target.value }))
+ }
+ placeholder={t("settings.remoteHosts.fieldUrlPlaceholder")}
+ aria-label={t("settings.remoteHosts.fieldUrl")}
+ inputMode="url"
+ autoComplete="off"
+ autoCapitalize="off"
+ spellCheck={false}
+ disabled={pairing}
+ />
+ </Field>
+ </div>
+ <Field label={t("settings.remoteHosts.fieldPairingToken")}>
<Input
- value={sshForm.identityFile}
+ value={form.pairingToken}
onChange={(event) =>
- setSshForm((prev) => ({ ...prev, identityFile: event.target.value }))
+ setForm((prev) => ({ ...prev, pairingToken: event.target.value }))
}
- aria-label={t("settings.remoteHosts.sshIdentityFile")}
+ placeholder={t("settings.remoteHosts.fieldPairingTokenPlaceholder")}
+ aria-label={t("settings.remoteHosts.fieldPairingToken")}
autoComplete="off"
autoCapitalize="off"
spellCheck={false}
- disabled={installing}
- />
- </Field>
- ) : (
- <Field
- label={t("settings.remoteHosts.sshPassword")}
- hint={`${t("settings.remoteHosts.sshPasswordDesc")} ${t(
- "settings.remoteHosts.sshPasswordStored",
- )}`}
- >
- <PasswordInput
- value={sshForm.password}
- onChange={(event) =>
- setSshForm((prev) => ({ ...prev, password: event.target.value }))
- }
- placeholder={t("settings.remoteHosts.sshPasswordPlaceholder")}
- aria-label={t("settings.remoteHosts.sshPassword")}
- autoComplete="off"
- spellCheck={false}
- disabled={installing}
- showLabel={t("settings.remoteHosts.sshShowPassword")}
- hideLabel={t("settings.remoteHosts.sshHidePassword")}
+ type="password"
+ disabled={pairing}
/>
</Field>
- )}
-
- <div className="settings-remote-host-form-actions">
- <span className="text-xs text-text-muted">
- {t("settings.remoteHosts.sshActionHint")}
- </span>
- <Button type="submit" variant="primary" disabled={sshSubmitDisabled}>
- {installing
- ? t("settings.remoteHosts.sshRunning")
- : t("settings.remoteHosts.sshAction")}
- </Button>
- </div>
- </form>
- </SettingsCard>
-
- <SettingsCard title={t("settings.remoteHosts.pairTitle")}>
- <div className="settings-row-copy" role="note">
- <div className="settings-row-desc">{t("settings.remoteHosts.pairBody")}</div>
+ <div className="settings-remote-host-form-actions">
+ <Button type="submit" variant="primary" disabled={pairSubmitDisabled}>
+ {pairing
+ ? t("settings.remoteHosts.pairing")
+ : t("settings.remoteHosts.pair")}
+ </Button>
+ </div>
+ </form>
</div>
- <form onSubmit={submit}>
- <SettingsRow
- title={t("settings.remoteHosts.fieldLabel")}
- description={t("settings.remoteHosts.fieldLabelDesc")}
- >
- <Input
- value={form.label}
- onChange={(event) =>
- setForm((prev) => ({ ...prev, label: event.target.value }))
- }
- placeholder={t("settings.remoteHosts.fieldLabelPlaceholder")}
- aria-label={t("settings.remoteHosts.fieldLabel")}
- autoComplete="off"
- spellCheck={false}
- disabled={pairing}
- />
- </SettingsRow>
- <SettingsRow
- title={t("settings.remoteHosts.fieldUrl")}
- description={t("settings.remoteHosts.fieldUrlDesc")}
- >
- <Input
- value={form.url}
- onChange={(event) =>
- setForm((prev) => ({ ...prev, url: event.target.value }))
- }
- placeholder="ws://127.0.0.1:9443/racp"
- aria-label={t("settings.remoteHosts.fieldUrl")}
- inputMode="url"
- autoComplete="off"
- autoCapitalize="off"
- spellCheck={false}
- disabled={pairing}
- />
- </SettingsRow>
- <SettingsRow
- title={t("settings.remoteHosts.fieldPairingToken")}
- description={t("settings.remoteHosts.fieldPairingTokenDesc")}
- >
- <Input
- value={form.pairingToken}
- onChange={(event) =>
- setForm((prev) => ({ ...prev, pairingToken: event.target.value }))
- }
- placeholder="ppt1.…"
- aria-label={t("settings.remoteHosts.fieldPairingToken")}
- autoComplete="off"
- autoCapitalize="off"
- spellCheck={false}
- type="password"
- disabled={pairing}
- />
- </SettingsRow>
- <SettingsRow title={t("settings.remoteHosts.pairAction")}>
- <Button
- type="submit"
- variant="primary"
- disabled={
- pairing ||
- !form.url.trim() ||
- !form.pairingToken.trim() ||
- !form.label.trim()
- }
+ </section>
+
+ <SettingsCard title={t("settings.remoteHosts.experimentalTitle")}>
+ {EXPERIMENTAL_FEATURES.map((feature) => (
+ <SettingsRow key={feature.id} title={t(feature.titleKey)}>
+ <button
+ type="button"
+ className="settings-toggle"
+ role="switch"
+ aria-checked={false}
+ aria-disabled="true"
+ aria-label={t(feature.titleKey)}
+ onClick={onExperimental}
>
- {pairing
- ? t("settings.remoteHosts.pairing")
- : t("settings.remoteHosts.pair")}
- </Button>
+ <span className="settings-toggle-thumb" />
+ </button>
</SettingsRow>
- </form>
+ ))}
</SettingsCard>
</div>
);
diff --git a/apps/desktop/src/lib/settings-search.ts b/apps/desktop/src/lib/settings-search.ts
index b694b7999..479c08229 100644
--- a/apps/desktop/src/lib/settings-search.ts
+++ b/apps/desktop/src/lib/settings-search.ts
@@ -235,16 +235,23 @@ export const SETTINGS_NAV: SettingsNavEntry[] = [
group: "system",
keywordKeys: [
"settings.remoteHosts.title",
- "settings.remoteHosts.pairTitle",
+ "settings.remoteHosts.addTitle",
+ "settings.remoteHosts.addSsh",
+ "settings.remoteHosts.addPair",
"settings.remoteHosts.pair",
"settings.remoteHosts.fieldUrl",
"settings.remoteHosts.fieldPairingToken",
- "settings.remoteHosts.sshTitle",
"settings.remoteHosts.sshHost",
"settings.remoteHosts.sshAuthMode",
"settings.remoteHosts.sshPassword",
"settings.remoteHosts.statusOnline",
"settings.remoteHosts.statusOffline",
+ "settings.remoteHosts.experimentalTitle",
+ "settings.remoteHosts.experimentalLan",
+ "settings.remoteHosts.experimentalGateway",
+ "settings.remoteHosts.experimentalMessaging",
+ "settings.remoteHosts.experimentalWsl",
+ "settings.remoteHosts.experimentalExpose",
],
},
{
diff --git a/apps/desktop/src/styles/settings.css b/apps/desktop/src/styles/settings.css
index 10596d15b..5c96dc709 100644
--- a/apps/desktop/src/styles/settings.css
+++ b/apps/desktop/src/styles/settings.css
@@ -442,18 +442,110 @@
}
/*
- Remote hosts: the SSH install is a real form (label + field cells), not a row
- list, so it keeps the rhythm of `.settings-form-grid` and lays its fields out
- in a two-column grid instead of five stacked full-width rows.
+ Remote hosts: inventory tiles, one Add form with SSH/Pair tabs, and
+ Experimental rows. The form keeps a two-column grid; host cards are
+ inventory rows rather than settings-copy + control.
*/
+.settings-remote-host-list {
+ display: grid;
+ gap: 6px;
+}
+
+.settings-remote-host-card {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ min-height: 56px;
+ padding: 12px 16px;
+ border-radius: var(--radius-md-plus);
+ background: var(--ds-tile);
+}
+
+.settings-remote-host-empty {
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ gap: 12px;
+ min-height: 56px;
+ padding: 12px 16px;
+ border-radius: var(--radius-md-plus);
+ background: var(--ds-tile);
+ color: var(--ds-text-muted);
+ font-size: var(--text-md);
+ line-height: var(--leading-compact);
+}
+
+.settings-remote-host-empty-detail {
+ flex: 1 1 100%;
+ color: var(--ds-text-secondary);
+ font-family: var(--font-mono);
+ font-size: var(--text-xs-plus);
+}
+
+.settings-remote-host-pulse {
+ width: 8px;
+ height: 8px;
+ flex: 0 0 auto;
+ border-radius: var(--radius-full);
+ background: var(--ds-text-muted);
+}
+
+.settings-remote-host-pulse.is-online {
+ background: var(--ds-success);
+ box-shadow: 0 0 0 4px color-mix(in oklab, var(--ds-success) 22%, transparent);
+}
+
+.settings-remote-host-copy {
+ min-width: 0;
+ flex: 1;
+}
+
+.settings-remote-host-name {
+ overflow: hidden;
+ color: var(--ds-text-primary);
+ font-size: var(--text-md-plus);
+ font-weight: var(--font-weight-medium);
+ line-height: var(--leading-compact);
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.settings-remote-host-meta {
+ margin-top: 2px;
+ overflow: hidden;
+ color: var(--ds-text-muted);
+ font-family: var(--font-mono);
+ font-size: var(--text-xs-plus);
+ line-height: var(--leading-compact);
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.settings-remote-host-card-actions {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ flex: 0 0 auto;
+}
+
+.settings-card-heading-row.settings-remote-host-add-heading {
+ align-items: center;
+}
+
+.settings-card-heading-row.settings-remote-host-add-heading .settings-card-heading {
+ margin-bottom: 0;
+}
+
.settings-remote-host-form {
display: grid;
gap: 12px;
padding: 12px 14px 14px;
}
-/* Label + host. The port only needs room for five digits, so the user row
- trades its second column for a narrow one. */
+.settings-remote-host-add-panel[hidden] {
+ display: none;
+}
+
.settings-remote-host-form-row {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -464,42 +556,33 @@
grid-template-columns: minmax(0, 1fr) minmax(120px, 0.4fr);
}
-/* Authentication mode: label, the shared segmented control, and its note.
- The segment keeps its paint from `.settings-segment` and only takes its
- position from here. */
.settings-remote-host-form-auth {
display: grid;
gap: 6px;
justify-items: start;
}
-/* The install action sits right; its hint stays with it on the left. */
.settings-remote-host-form-actions {
display: flex;
align-items: center;
justify-content: flex-end;
- flex-wrap: wrap;
gap: 12px;
}
-/* Paired-host row: the status pill and the remove action need a gap, which the
- row's control column does not have by default. */
-.settings-row-control:has(> .settings-remote-host-status) {
- gap: 10px;
-}
-
-.settings-remote-host-status {
- display: inline-flex;
- align-items: center;
-}
-
-/* Same breakpoint as the other two-column grid in this sheet
- (`.plugin-scenic-theme-grid`): one field per row before the columns pinch. */
@media (max-width: 720px) {
.settings-remote-host-form-row,
.settings-remote-host-form-row.is-narrow-port {
grid-template-columns: minmax(0, 1fr);
}
+
+ .settings-remote-host-card {
+ flex-wrap: wrap;
+ }
+
+ .settings-remote-host-card-actions {
+ width: 100%;
+ justify-content: flex-end;
+ }
}
.settings-row {
@@ -847,14 +930,17 @@
/*
A disabled switch still reads as a switch: dimmed, not restyled, and the
- cursor says why clicking does nothing.
+ cursor says why clicking does nothing. `aria-disabled` covers Experimental
+ rows that must stay focusable so a click can announce unavailability.
*/
-.settings-toggle:disabled {
+.settings-toggle:disabled,
+.settings-toggle[aria-disabled="true"] {
opacity: 0.5;
cursor: not-allowed;
}
-.settings-toggle:disabled:hover {
+.settings-toggle:disabled:hover,
+.settings-toggle[aria-disabled="true"]:hover {
background: var(--ds-switch-track-off);
}
diff --git a/apps/desktop/test/settings-remote-hosts.test.mjs b/apps/desktop/test/settings-remote-hosts.test.mjs
new file mode 100644
index 000000000..72cfe94ad
--- /dev/null
+++ b/apps/desktop/test/settings-remote-hosts.test.mjs
@@ -0,0 +1,63 @@
+/**
+ * Settings ▸ Remote Hosts page contract.
+ *
+ * Guards the compact inventory + Add (SSH/Pair) + Experimental layout: no
+ * instructional copy, both add modes stay mounted behind `hidden`, and the
+ * unscheduled rows toast unavailability without calling IPC.
+ */
+import { readFileSync } from "node:fs";
+import assert from "node:assert/strict";
+import test from "node:test";
+import { loadStylesSync } from "./helpers/styles.mjs";
+
+const page = readFileSync(
+ new URL("../src/components/settings/RemoteHostsPage.tsx", import.meta.url),
+ "utf8",
+);
+const styles = loadStylesSync();
+
+function cssRule(selector) {
+ const from = styles.indexOf(`\n${selector} {`);
+ assert.ok(from >= 0, `${selector} rule missing`);
+ return styles.slice(from, styles.indexOf("}", from));
+}
+
+test("remote hosts is an inventory plus one SSH/Pair add form", () => {
+ assert.match(page, /role="tablist"/);
+ assert.match(page, /aria-controls={`remote-host-add-panel-\$\{mode\}`}/);
+ assert.match(page, /id={`remote-host-add-panel-\$\{mode\}`}|id="remote-host-add-panel-ssh"/);
+ assert.match(page, /hidden=\{addMode !== "ssh"\}/);
+ assert.match(page, /hidden=\{addMode !== "pair"\}/);
+ assert.match(page, /api\.bootstrapRemoteHost\(/);
+ assert.match(page, /api\.pairRemoteHost\(/);
+ assert.match(page, /api\.listRemoteHosts\(/);
+ assert.match(page, /api\.removeRemoteHost\(/);
+
+ assert.match(cssRule(".settings-remote-host-add-panel[hidden]"), /display:\s*none/);
+ assert.match(cssRule(".settings-remote-host-card"), /background:\s*var\(--ds-tile\)/);
+ assert.match(cssRule(".settings-remote-host-name"), /font-size:\s*var\(--text-md-plus\)/);
+});
+
+test("remote hosts omits instructional copy", () => {
+ assert.doesNotMatch(page, /role="note"/);
+ assert.doesNotMatch(page, /settings-row-desc/);
+ assert.doesNotMatch(page, /hint=\{/);
+ assert.doesNotMatch(page, /settings\.remoteHosts\.(overview|sshBody|pairBody|emptyBody)/);
+ assert.doesNotMatch(page, /<SettingsCard title=\{t\("settings\.remoteHosts\.listTitle"\)\}/);
+});
+
+test("experimental remote-host rows stay local and unavailable", () => {
+ assert.match(page, /EXPERIMENTAL_FEATURES/);
+ assert.match(page, /settings\.remoteHosts\.experimentalLan/);
+ assert.match(page, /settings\.remoteHosts\.experimentalGateway/);
+ assert.match(page, /settings\.remoteHosts\.experimentalMessaging/);
+ assert.match(page, /settings\.remoteHosts\.experimentalWsl/);
+ assert.match(page, /settings\.remoteHosts\.experimentalExpose/);
+ assert.match(page, /aria-disabled="true"/);
+ assert.match(page, /experimentalUnavailable/);
+ assert.doesNotMatch(page, /api\.\w*[Ee]xperimental/);
+ assert.match(
+ cssRule('.settings-toggle[aria-disabled="true"]'),
+ /cursor:\s*not-allowed/,
+ );
+});
diff --git a/docs/spec/06-delivery/04-e2e-test-plan.md b/docs/spec/06-delivery/04-e2e-test-plan.md
index fc445ae9a..1880c7567 100644
--- a/docs/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/spec/06-delivery/04-e2e-test-plan.md
@@ -11938,7 +11938,7 @@ browser milestones are scheduled.
only reachable with a password; the user's local SSH agent holds no usable key
for it. A GitHub Releases fixture serves the `pi-host` bundle for that platform
at the desktop's version. A second machine accepts the user's key only.
-- **Steps**: 1) In Settings → Remote Hosts, install over SSH with key
+- **Steps**: 1) In Settings → Remote Hosts, open the Add form's SSH tab and install over SSH with key
authentication and confirm the form shows the identity-file field.
2) Switch the authentication mode to password, confirm the identity-file field
is replaced by a masked password field, and reveal it once.
@@ -11974,6 +11974,29 @@ browser milestones are scheduled.
required. The credential seam itself is covered offline by
`apps/desktop/test/remote-host-ssh-password.test.mjs`.
+
+#### E2E-REMOTE-HOST-settings-compact-inventory
+
+- **Preconditions**: The desktop Settings window can open. No paired remote
+ host is required.
+- **Steps**: 1) Open Settings → Remote Hosts. 2) Confirm the destination is a
+ host inventory, one Add form with SSH and Pair tabs, and an Experimental
+ section — not three stacked cards of instructional copy. 3) Switch Add to
+ Pair and back to SSH; confirm both forms stay filled. 4) Click an
+ Experimental switch (LAN discovery, browser access, messaging, WSL, or
+ share this machine).
+- **Expected**: Field labels and placeholders remain; overview, body, and
+ hint copy are absent. SSH stays the default Add tab. Experimental switches
+ stay off, remain focusable, toast that the capability is not available yet,
+ and issue no IPC. Pairing and SSH bootstrap keep their existing success and
+ failure toasts.
+- **Specs linked**: `06-delivery/07-remote-control-rollout.md` §2 R2,
+ `02-architecture/05-remote-agent-control.md` §5.2
+- **Acceptance**: D (surfaces), Quality
+- **Milestone**: Post-MVP (rollout R2b)
+- **Status**: Draft; covered offline by
+ `apps/desktop/test/settings-remote-hosts.test.mjs`.
+
#### E2E-232: The outbound messaging integration relays events and commands
- **Preconditions**: A Host runs with the integration adapter configured
diff --git a/docs/spec/06-delivery/07-remote-control-rollout.md b/docs/spec/06-delivery/07-remote-control-rollout.md
index 73f26429a..e5407e36e 100644
--- a/docs/spec/06-delivery/07-remote-control-rollout.md
+++ b/docs/spec/06-delivery/07-remote-control-rollout.md
@@ -138,10 +138,15 @@ Deliverables:
- the remote session ownership split of architecture §6.3;
- the reverse tool relay: `tools/advertise` and the `tool/execute` server
request, so desktop MCP servers and workspace-free plugin tools run on the
- desktop for a remote session; and
+ desktop for a remote session;
- the terminal: `terminal/open`, `terminal/input`, `terminal/resize`,
`terminal/close`, `terminal.output`, and a bounded replay ring, running on
- the remote machine.
+ the remote machine; and
+- the Settings → Remote Hosts destination: a compact host inventory, one Add
+ form with SSH and Pair tabs and no instructional copy, and Experimental
+ rows for unscheduled capabilities (LAN discovery, browser access,
+ messaging, WSL, share this machine) that toast unavailability and do not
+ call IPC.
Design decisions (D375, recorded 2026-09-10):
diff --git a/docs/zh-CN/spec/06-delivery/07-remote-control-rollout.md b/docs/zh-CN/spec/06-delivery/07-remote-control-rollout.md
index bcd30ce23..72c0bd9b8 100644
--- a/docs/zh-CN/spec/06-delivery/07-remote-control-rollout.md
+++ b/docs/zh-CN/spec/06-delivery/07-remote-control-rollout.md
@@ -49,7 +49,7 @@ Linux 或 WSL 机器上的项目,即 SSH 隧道远端 Host 拓扑;#100 要
`workspace/list`、`workspace/read`、`workspace/diff`);以及远程会话归属划分;反向工具中继(`tools/advertise` 与 `tool/execute` 服务端
请求,让桌面 MCP 服务器和不需工作区的插件工具在远程会话中于桌面执行);终端
(`terminal/open`、`terminal/input`、`terminal/resize`、`terminal/close`、
- `terminal.output` 与有界回放环,在远端机器运行)。
+ `terminal.output` 与有界回放环,在远端机器运行);设置 → 远程主机为紧凑主机清单加一个 SSH/配对添加表单、不含说明性文案,并以实验性行展示未排期能力(局域网发现、浏览器访问、消息通知、WSL、共享本机),点击只提示暂不可用、不发起 IPC。
- R3:出站消息集成(#100)。Host 进程内的又一个模块调用方,无传输、无入站
监听:订阅 Host 范围与会话事件,把 `turn.completed`、`turn.failed`、
`approval.requested`、`input.requested` 的脱敏摘要转发到出站渠道(先 Webhook,
diff --git a/packages/i18n/src/locales/de/index.ts b/packages/i18n/src/locales/de/index.ts
index 3bba4d4fe..0d302d9cf 100644
--- a/packages/i18n/src/locales/de/index.ts
+++ b/packages/i18n/src/locales/de/index.ts
@@ -810,59 +810,52 @@ sklm: {
"projectArchive": "Projektarchiv",
"remoteHosts": {
"title": "Remote-Hosts",
- "overview": "Gekoppelte pi-host-Rechner, die Sie von diesem Desktop steuern können. Sitzungen auf einem gekoppelten Host werden wie lokale angezeigt; die Verbindung bleibt im Hauptprozess, und kein Gerätetoken erreicht diese Seite.",
- "listTitle": "Gekoppelte Remote-Hosts",
"listError": "Hosts konnten nicht geladen werden",
"loading": "Wird geladen…",
- "emptyTitle": "Noch keine Hosts gekoppelt",
- "emptyBody": "Koppeln Sie unten einen Rechner, um dort eine Sitzung zu starten.",
+ "empty": "Keine Hosts",
"statusOnline": "Online",
"statusOffline": "Offline",
"remove": "Entfernen",
"removing": "Wird entfernt…",
"removed": "{{label}} entfernt.",
"removeFailed": "Entfernen fehlgeschlagen: {{message}}",
- "pairTitle": "Neuen Host koppeln",
- "pairBody": "Für einen pi-host, den Sie selbst betreiben: RACP-URL und den Kopplungstoken aus seiner Startausgabe einfügen.",
+ "addTitle": "Hinzufügen",
+ "addSsh": "SSH",
+ "addPair": "Koppeln",
"pair": "Koppeln",
"pairing": "Koppelt…",
- "pairAction": "Hinzufügen",
"pairSucceeded": "{{label}} gekoppelt.",
"pairFailed": "Kopplung fehlgeschlagen: {{message}}",
"fieldLabel": "Bezeichnung",
- "fieldLabelDesc": "Wird in der Liste angezeigt und auf dem gekoppelten Host gespeichert.",
"fieldLabelPlaceholder": "Heim-Linux",
- "fieldUrl": "RACP-URL",
- "fieldUrlDesc": "Der Loopback-Endpunkt von pi-host, z. B. ws://127.0.0.1:9443/v1/racp/ws (über SSH weitergeleitet). Für einen Host, den Sie selbst gestartet haben; die SSH-Installation unten erledigt das für Sie.",
- "fieldPairingToken": "Kopplungstoken",
- "fieldPairingTokenDesc": "Einmaliger ppt1.*-Token aus der pi-host-Bootstrap-Ausgabe. Wird beim Koppeln verbraucht.",
- "sshTitle": "Installation auf einem Server (SSH)",
- "sshBody": "PI-Desktop installiert pi-host auf einem Rechner, den Sie bereits per ssh erreichen, und hält einen Loopback-Tunnel dorthin. Ihre eigene ssh-Konfiguration und Ihr Agent gelten; statt eines Schlüssels kann auch ein Anmeldepasswort verwendet werden.",
- "sshHost": "SSH-Host",
- "sshHostDesc": "Hostname oder Adresse, genau so, wie ssh sie erhält.",
+ "fieldUrl": "URL",
+ "fieldUrlPlaceholder": "ws://127.0.0.1:9443/racp",
+ "fieldPairingToken": "Token",
+ "fieldPairingTokenPlaceholder": "ppt1.…",
+ "sshHost": "Host",
"sshHostPlaceholder": "build-box.local",
"sshUser": "Benutzer",
- "sshUserDesc": "Anmeldebenutzer; leer lassen, um Ihren lokalen Benutzernamen zu verwenden.",
- "sshPort": "SSH-Port",
- "sshPortDesc": "Leer lassen für den ssh-Standard (22).",
+ "sshPort": "Port",
"sshIdentityFile": "Identitätsdatei",
- "sshIdentityFileDesc": "Pfad zum privaten Schlüssel; leer lassen, damit der Agent und ~/.ssh/config entscheiden.",
- "sshAuthMode": "Authentifizierung",
- "sshAuthModeDesc": "Verwenden Sie Ihren eigenen SSH-Schlüssel oder Agent — oder authentifizieren Sie sich mit einem Passwort.",
- "sshAuthKey": "SSH-Schlüssel",
+ "sshAuthMode": "Auth",
+ "sshAuthKey": "Schlüssel",
"sshAuthPassword": "Passwort",
"sshPassword": "Passwort",
- "sshPasswordDesc": "Wird dem ssh-Client über einen askpass-Helfer übergeben, nie auf der Kommandozeile.",
- "sshPasswordPlaceholder": "Ihr Anmeldepasswort",
+ "sshPasswordPlaceholder": "Passwort",
"sshShowPassword": "Passwort anzeigen",
"sshHidePassword": "Passwort verbergen",
- "sshPasswordStored": "Im Schlüsselbund des Betriebssystems gespeichert, damit sich dieser Host nach einem Neustart wieder verbindet.",
- "sshAction": "Installieren und koppeln",
- "sshActionHint": "Installiert pi-host auf dem Host und koppelt ihn mit diesem Desktop.",
+ "sshAction": "Installieren",
"sshRunning": "Wird installiert…",
- "sshSucceeded": "{{label}} installiert und gekoppelt.",
+ "sshSucceeded": "{{label}} installiert.",
"sshFailed": "Installation fehlgeschlagen: {{message}}",
- "transportSsh": "SSH"
+ "transportSsh": "SSH",
+ "experimentalTitle": "Experimentell",
+ "experimentalUnavailable": "Noch nicht verfügbar",
+ "experimentalLan": "LAN-Erkennung",
+ "experimentalGateway": "Browserzugriff",
+ "experimentalMessaging": "Nachrichten",
+ "experimentalWsl": "WSL",
+ "experimentalExpose": "Diesen Rechner teilen"
},
"importTitle": "Import aus anderen Tools",
"importScan": "Scannen",
diff --git a/packages/i18n/src/locales/en/index.ts b/packages/i18n/src/locales/en/index.ts
index 55b9672c3..4bac83a44 100644
--- a/packages/i18n/src/locales/en/index.ts
+++ b/packages/i18n/src/locales/en/index.ts
@@ -817,64 +817,52 @@ sklm: {
projectArchive: "Project archive",
remoteHosts: {
title: "Remote hosts",
- overview:
- "Paired pi-host machines you can drive from this desktop. Sessions on a paired host render like local ones; the connection stays inside main and no device token reaches this page.",
- listTitle: "Paired remote hosts",
listError: "Failed to load hosts",
loading: "Loading…",
- emptyTitle: "No hosts paired yet",
- emptyBody: "Pair a machine below to start a session on it.",
+ empty: "No hosts",
statusOnline: "Online",
statusOffline: "Offline",
remove: "Remove",
removing: "Removing…",
removed: "{{label}} removed.",
removeFailed: "Failed to remove: {{message}}",
- pairTitle: "Pair a new host",
- pairBody: "For a pi-host you already run yourself: paste its RACP URL and the pairing token from its startup output.",
+ addTitle: "Add",
+ addSsh: "SSH",
+ addPair: "Pair",
pair: "Pair",
pairing: "Pairing…",
- pairAction: "Add",
pairSucceeded: "{{label}} paired.",
pairFailed: "Pairing failed: {{message}}",
fieldLabel: "Label",
- fieldLabelDesc: "Shown in this list and recorded on the paired host.",
fieldLabelPlaceholder: "Home Linux",
- fieldUrl: "RACP URL",
- fieldUrlDesc:
- "The pi-host loopback endpoint, e.g. ws://127.0.0.1:9443/v1/racp/ws (forwarded over SSH). For a host you started yourself; the SSH install below does this for you.",
- fieldPairingToken: "Pairing token",
- fieldPairingTokenDesc:
- "Single-use ppt1.* token from the pi-host bootstrap output. Consumed on pair.",
- sshTitle: "Install on a server (SSH)",
- sshBody:
- "PI-Desktop installs pi-host on a machine you already reach with ssh and keeps a loopback tunnel to it. Your own ssh configuration and agent apply; a login password can be used instead of a key.",
- sshHost: "SSH host",
- sshHostDesc: "Host name or address, exactly as ssh receives it.",
+ fieldUrl: "URL",
+ fieldUrlPlaceholder: "ws://127.0.0.1:9443/racp",
+ fieldPairingToken: "Token",
+ fieldPairingTokenPlaceholder: "ppt1.…",
+ sshHost: "Host",
sshHostPlaceholder: "build-box.local",
sshUser: "User",
- sshUserDesc: "Login user; leave empty to use your local user name.",
- sshPort: "SSH port",
- sshPortDesc: "Leave empty for the ssh default (22).",
+ sshPort: "Port",
sshIdentityFile: "Identity file",
- sshIdentityFileDesc:
- "Private key path; leave empty to let the agent and ~/.ssh/config decide.",
- sshAuthMode: "Authentication",
- sshAuthModeDesc: "Use your own SSH key or agent, or authenticate with a password.",
- sshAuthKey: "SSH key",
+ sshAuthMode: "Auth",
+ sshAuthKey: "Key",
sshAuthPassword: "Password",
sshPassword: "Password",
- sshPasswordDesc: "Sent to the ssh client through an askpass helper, never on the command line.",
- sshPasswordPlaceholder: "Your login password",
+ sshPasswordPlaceholder: "Password",
sshShowPassword: "Show password",
sshHidePassword: "Hide password",
- sshPasswordStored: "Saved in the OS keychain so this host reconnects after a restart.",
- sshAction: "Install and pair",
- sshActionHint: "Installs pi-host on the host and pairs it with this desktop.",
+ sshAction: "Install",
sshRunning: "Installing…",
- sshSucceeded: "{{label}} installed and paired.",
+ sshSucceeded: "{{label}} installed.",
sshFailed: "Install failed: {{message}}",
transportSsh: "SSH",
+ experimentalTitle: "Experimental",
+ experimentalUnavailable: "Not available yet",
+ experimentalLan: "LAN discovery",
+ experimentalGateway: "Browser access",
+ experimentalMessaging: "Messaging",
+ experimentalWsl: "WSL",
+ experimentalExpose: "Share this machine",
},
importTitle: "Import from other tools",
importScan: "Scan",
diff --git a/packages/i18n/src/locales/es/index.ts b/packages/i18n/src/locales/es/index.ts
index 217e6e25a..c6ba73806 100644
--- a/packages/i18n/src/locales/es/index.ts
+++ b/packages/i18n/src/locales/es/index.ts
@@ -810,59 +810,52 @@ sklm: {
"projectArchive": "Archivo de proyecto",
"remoteHosts": {
"title": "Hosts remotos",
- "overview": "Máquinas pi-host emparejadas que puede controlar desde este escritorio. Las sesiones en un host emparejado se muestran como locales; la conexión permanece en el proceso principal y ningún token de dispositivo llega a esta página.",
- "listTitle": "Hosts remotos emparejados",
"listError": "No se pudieron cargar los hosts",
"loading": "Cargando…",
- "emptyTitle": "Aún no hay hosts emparejados",
- "emptyBody": "Empareje una máquina a continuación para iniciar una sesión en ella.",
+ "empty": "Sin hosts",
"statusOnline": "En línea",
- "statusOffline": "Desconectado",
- "remove": "Eliminar",
- "removing": "Eliminando…",
- "removed": "{{label}} eliminado.",
- "removeFailed": "Error al eliminar: {{message}}",
- "pairTitle": "Emparejar un nuevo host",
- "pairBody": "Para un pi-host que ya ejecuta usted mismo: pegue su URL de RACP y el token de emparejamiento de su salida de inicio.",
+ "statusOffline": "Sin conexión",
+ "remove": "Quitar",
+ "removing": "Quitando…",
+ "removed": "{{label}} quitado.",
+ "removeFailed": "Error al quitar: {{message}}",
+ "addTitle": "Añadir",
+ "addSsh": "SSH",
+ "addPair": "Emparejar",
"pair": "Emparejar",
"pairing": "Emparejando…",
- "pairAction": "Añadir",
"pairSucceeded": "{{label}} emparejado.",
"pairFailed": "Error de emparejamiento: {{message}}",
"fieldLabel": "Etiqueta",
- "fieldLabelDesc": "Se muestra en la lista y se registra en el host emparejado.",
"fieldLabelPlaceholder": "Linux de casa",
- "fieldUrl": "URL de RACP",
- "fieldUrlDesc": "Punto final de bucle de retorno de pi-host, p. ej. ws://127.0.0.1:9443/v1/racp/ws (reenviado por SSH). Para un host que usted mismo inició; la instalación SSH de abajo lo hace por usted.",
- "fieldPairingToken": "Token de emparejamiento",
- "fieldPairingTokenDesc": "Token ppt1.* de un solo uso del inicio de pi-host. Se consume al emparejar.",
- "sshTitle": "Instalar en un servidor (SSH)",
- "sshBody": "PI-Desktop instala pi-host en una máquina a la que ya accede por ssh y mantiene un túnel de bucle de retorno hacia ella. Se aplican su propia configuración de ssh y su agente; también puede usar una contraseña de inicio de sesión en lugar de una clave.",
- "sshHost": "Host SSH",
- "sshHostDesc": "Nombre de host o dirección, exactamente como lo recibe ssh.",
+ "fieldUrl": "URL",
+ "fieldUrlPlaceholder": "ws://127.0.0.1:9443/racp",
+ "fieldPairingToken": "Token",
+ "fieldPairingTokenPlaceholder": "ppt1.…",
+ "sshHost": "Host",
"sshHostPlaceholder": "build-box.local",
"sshUser": "Usuario",
- "sshUserDesc": "Usuario de inicio de sesión; déjelo vacío para usar su nombre de usuario local.",
- "sshPort": "Puerto SSH",
- "sshPortDesc": "Déjelo vacío para el valor predeterminado de ssh (22).",
+ "sshPort": "Puerto",
"sshIdentityFile": "Archivo de identidad",
- "sshIdentityFileDesc": "Ruta de la clave privada; déjela vacía para que lo decidan el agente y ~/.ssh/config.",
- "sshAuthMode": "Autenticación",
- "sshAuthModeDesc": "Use su propia clave SSH o agente, o autentíquese con una contraseña.",
- "sshAuthKey": "Clave SSH",
+ "sshAuthMode": "Auth",
+ "sshAuthKey": "Clave",
"sshAuthPassword": "Contraseña",
"sshPassword": "Contraseña",
- "sshPasswordDesc": "Se entrega al cliente ssh mediante un ayudante askpass, nunca en la línea de comandos.",
- "sshPasswordPlaceholder": "Su contraseña de inicio de sesión",
+ "sshPasswordPlaceholder": "Contraseña",
"sshShowPassword": "Mostrar contraseña",
"sshHidePassword": "Ocultar contraseña",
- "sshPasswordStored": "Se guarda en el llavero del sistema para que este host se reconecte tras un reinicio.",
- "sshAction": "Instalar y emparejar",
- "sshActionHint": "Instala pi-host en el host y lo empareja con este escritorio.",
+ "sshAction": "Instalar",
"sshRunning": "Instalando…",
- "sshSucceeded": "{{label}} instalado y emparejado.",
+ "sshSucceeded": "{{label}} instalado.",
"sshFailed": "Error de instalación: {{message}}",
- "transportSsh": "SSH"
+ "transportSsh": "SSH",
+ "experimentalTitle": "Experimental",
+ "experimentalUnavailable": "Aún no disponible",
+ "experimentalLan": "Descubrimiento LAN",
+ "experimentalGateway": "Acceso del navegador",
+ "experimentalMessaging": "Mensajería",
+ "experimentalWsl": "WSL",
+ "experimentalExpose": "Compartir este equipo"
},
"importTitle": "Importar desde otras herramientas",
"importScan": "Escanear",
diff --git a/packages/i18n/src/locales/fr/index.ts b/packages/i18n/src/locales/fr/index.ts
index 7512fd016..3b8fc5d27 100644
--- a/packages/i18n/src/locales/fr/index.ts
+++ b/packages/i18n/src/locales/fr/index.ts
@@ -810,59 +810,52 @@ sklm: {
"projectArchive": "Archive du projet",
"remoteHosts": {
"title": "Hôtes distants",
- "overview": "Machines pi-host appariées que vous pouvez piloter depuis ce bureau. Les sessions sur un hôte apparié s'affichent comme locales ; la connexion reste dans le processus principal et aucun jeton d'appareil n'atteint cette page.",
- "listTitle": "Hôtes distants appariés",
"listError": "Impossible de charger les hôtes",
"loading": "Chargement…",
- "emptyTitle": "Aucun hôte apparié pour l'instant",
- "emptyBody": "Appariez une machine ci-dessous pour y démarrer une session.",
+ "empty": "Aucun hôte",
"statusOnline": "En ligne",
"statusOffline": "Hors ligne",
- "remove": "Supprimer",
- "removing": "Suppression…",
- "removed": "{{label}} supprimé.",
- "removeFailed": "Échec de la suppression : {{message}}",
- "pairTitle": "Apparier un nouvel hôte",
- "pairBody": "Pour un pi-host que vous exécutez vous-même : collez son URL RACP et le jeton d'appariement de sa sortie de démarrage.",
+ "remove": "Retirer",
+ "removing": "Retrait…",
+ "removed": "{{label}} retiré.",
+ "removeFailed": "Échec du retrait : {{message}}",
+ "addTitle": "Ajouter",
+ "addSsh": "SSH",
+ "addPair": "Apparier",
"pair": "Apparier",
"pairing": "Appariement…",
- "pairAction": "Ajouter",
"pairSucceeded": "{{label}} apparié.",
"pairFailed": "Échec de l'appariement : {{message}}",
- "fieldLabel": "Étiquette",
- "fieldLabelDesc": "Affichée dans la liste et enregistrée sur l'hôte apparié.",
- "fieldLabelPlaceholder": "Linux à la maison",
- "fieldUrl": "URL RACP",
- "fieldUrlDesc": "Point d'accès en boucle locale de pi-host, ex. ws://127.0.0.1:9443/v1/racp/ws (transmis via SSH). Pour un hôte que vous avez démarré vous-même ; l'installation SSH ci-dessous s'en charge pour vous.",
- "fieldPairingToken": "Jeton d'appariement",
- "fieldPairingTokenDesc": "Jeton ppt1.* à usage unique de la sortie de démarrage de pi-host. Consommé à l'appariement.",
- "sshTitle": "Installation sur un serveur (SSH)",
- "sshBody": "PI-Desktop installe pi-host sur une machine à laquelle vous accédez déjà par ssh et maintient un tunnel en boucle locale vers elle. Votre propre configuration ssh et votre agent s'appliquent ; un mot de passe de connexion peut remplacer une clé.",
- "sshHost": "Hôte SSH",
- "sshHostDesc": "Nom d'hôte ou adresse, exactement tel que ssh le reçoit.",
+ "fieldLabel": "Libellé",
+ "fieldLabelPlaceholder": "Linux maison",
+ "fieldUrl": "URL",
+ "fieldUrlPlaceholder": "ws://127.0.0.1:9443/racp",
+ "fieldPairingToken": "Jeton",
+ "fieldPairingTokenPlaceholder": "ppt1.…",
+ "sshHost": "Hôte",
"sshHostPlaceholder": "build-box.local",
"sshUser": "Utilisateur",
- "sshUserDesc": "Utilisateur de connexion ; laissez vide pour utiliser votre nom d'utilisateur local.",
- "sshPort": "Port SSH",
- "sshPortDesc": "Laissez vide pour la valeur par défaut de ssh (22).",
+ "sshPort": "Port",
"sshIdentityFile": "Fichier d'identité",
- "sshIdentityFileDesc": "Chemin de la clé privée ; laissez vide pour que l'agent et ~/.ssh/config décident.",
- "sshAuthMode": "Authentification",
- "sshAuthModeDesc": "Utilisez votre propre clé SSH ou agent, ou authentifiez-vous par mot de passe.",
- "sshAuthKey": "Clé SSH",
+ "sshAuthMode": "Auth",
+ "sshAuthKey": "Clé",
"sshAuthPassword": "Mot de passe",
"sshPassword": "Mot de passe",
- "sshPasswordDesc": "Transmis au client ssh par un assistant askpass, jamais sur la ligne de commande.",
- "sshPasswordPlaceholder": "Votre mot de passe de connexion",
+ "sshPasswordPlaceholder": "Mot de passe",
"sshShowPassword": "Afficher le mot de passe",
"sshHidePassword": "Masquer le mot de passe",
- "sshPasswordStored": "Enregistré dans le trousseau du système pour que cet hôte se reconnecte après un redémarrage.",
- "sshAction": "Installer et apparier",
- "sshActionHint": "Installe pi-host sur l'hôte et l'apparie à ce bureau.",
+ "sshAction": "Installer",
"sshRunning": "Installation…",
- "sshSucceeded": "{{label}} installé et apparié.",
+ "sshSucceeded": "{{label}} installé.",
"sshFailed": "Échec de l'installation : {{message}}",
- "transportSsh": "SSH"
+ "transportSsh": "SSH",
+ "experimentalTitle": "Expérimental",
+ "experimentalUnavailable": "Pas encore disponible",
+ "experimentalLan": "Découverte LAN",
+ "experimentalGateway": "Accès navigateur",
+ "experimentalMessaging": "Messagerie",
+ "experimentalWsl": "WSL",
+ "experimentalExpose": "Partager cette machine"
},
"importTitle": "Importer à partir d'autres outils",
"importScan": "Scanner",
diff --git a/packages/i18n/src/locales/ko/index.ts b/packages/i18n/src/locales/ko/index.ts
index 26188bc65..94e03131f 100644
--- a/packages/i18n/src/locales/ko/index.ts
+++ b/packages/i18n/src/locales/ko/index.ts
@@ -818,63 +818,52 @@ sklm: {
projectArchive: "프로젝트 보관함",
remoteHosts: {
title: "원격 호스트",
- overview:
- "이 데스크톱에서 조작할 수 있는 페어링된 pi-host 머신입니다. 페어링된 호스트의 세션은 로컬처럼 렌더링되며, 연결은 메인 프로세스에 남고 디바이스 토큰은 이 페이지에 도달하지 않습니다.",
- listTitle: "페어링된 원격 호스트",
listError: "호스트를 불러오지 못했습니다",
loading: "로드 중…",
- emptyTitle: "페어링된 호스트가 아직 없습니다",
- emptyBody: "아래에서 머신을 페어링하여 세션을 시작하세요.",
+ empty: "호스트 없음",
statusOnline: "온라인",
statusOffline: "오프라인",
remove: "제거",
removing: "제거 중…",
removed: "{{label}} 제거됨.",
removeFailed: "제거 실패: {{message}}",
- pairTitle: "새 호스트 페어링",
- pairBody: "직접 실행 중인 pi-host라면: RACP URL과 시작 출력의 페어링 토큰을 붙여 넣으세요.",
+ addTitle: "추가",
+ addSsh: "SSH",
+ addPair: "페어링",
pair: "페어링",
pairing: "페어링 중…",
- pairAction: "추가",
pairSucceeded: "{{label}} 페어링됨.",
pairFailed: "페어링 실패: {{message}}",
- fieldLabel: "라벨",
- fieldLabelDesc: "목록에 표시되고 페어링된 호스트에 기록됩니다.",
+ fieldLabel: "이름",
fieldLabelPlaceholder: "집 Linux",
- fieldUrl: "RACP URL",
- fieldUrlDesc:
- "pi-host의 루프백 엔드포인트, 예: ws://127.0.0.1:9443/v1/racp/ws (SSH로 포워딩). 직접 시작한 호스트용이며, 아래 SSH 설치가 대신 처리합니다.",
- fieldPairingToken: "페어링 토큰",
- fieldPairingTokenDesc:
- "pi-host 부트스트랩 출력의 일회용 ppt1.* 토큰. 페어링 시 소비됩니다.",
- sshTitle: "서버에 설치(SSH)",
- sshBody:
- "PI-Desktop은 이미 ssh로 접속할 수 있는 머신에 pi-host를 설치하고 루프백 터널을 유지합니다. 직접 가진 ssh 설정과 에이전트가 그대로 적용되며, 키 대신 로그인 비밀번호를 사용할 수도 있습니다.",
- sshHost: "SSH 호스트",
- sshHostDesc: "ssh가 받는 그대로의 호스트 이름 또는 주소입니다.",
+ fieldUrl: "주소",
+ fieldUrlPlaceholder: "ws://127.0.0.1:9443/racp",
+ fieldPairingToken: "토큰",
+ fieldPairingTokenPlaceholder: "ppt1.…",
+ sshHost: "호스트",
sshHostPlaceholder: "build-box.local",
sshUser: "사용자",
- sshUserDesc: "로그인 사용자입니다. 비워 두면 로컬 사용자 이름을 사용합니다.",
- sshPort: "SSH 포트",
- sshPortDesc: "비워 두면 ssh 기본값(22)을 사용합니다.",
- sshIdentityFile: "ID 파일",
- sshIdentityFileDesc: "개인 키 경로입니다. 비워 두면 에이전트와 ~/.ssh/config가 결정합니다.",
+ sshPort: "포트",
+ sshIdentityFile: "개인 키",
sshAuthMode: "인증",
- sshAuthModeDesc: "직접 가진 SSH 키나 에이전트를 사용하거나 비밀번호로 인증합니다.",
- sshAuthKey: "SSH 키",
+ sshAuthKey: "키",
sshAuthPassword: "비밀번호",
sshPassword: "비밀번호",
- sshPasswordDesc: "askpass 도우미를 통해 ssh 클라이언트로 전달되며 명령줄에는 나타나지 않습니다.",
- sshPasswordPlaceholder: "로그인 비밀번호",
+ sshPasswordPlaceholder: "비밀번호",
sshShowPassword: "비밀번호 표시",
sshHidePassword: "비밀번호 숨기기",
- sshPasswordStored: "OS 키체인에 저장되어 다시 시작한 뒤에도 이 호스트가 다시 연결됩니다.",
- sshAction: "설치 및 페어링",
- sshActionHint: "호스트에 pi-host를 설치하고 이 데스크톱과 페어링합니다.",
+ sshAction: "설치",
sshRunning: "설치 중…",
- sshSucceeded: "{{label}} 설치 및 페어링됨.",
+ sshSucceeded: "{{label}} 설치됨.",
sshFailed: "설치 실패: {{message}}",
transportSsh: "SSH",
+ experimentalTitle: "실험적",
+ experimentalUnavailable: "아직 사용할 수 없음",
+ experimentalLan: "LAN 검색",
+ experimentalGateway: "브라우저 접근",
+ experimentalMessaging: "메시징",
+ experimentalWsl: "WSL",
+ experimentalExpose: "이 기기 공유",
},
importTitle: "다른 도구에서 가져오기",
importScan: "스캔",
diff --git a/packages/i18n/src/locales/tr/index.ts b/packages/i18n/src/locales/tr/index.ts
index 4cf39eb7d..2a8009c5f 100644
--- a/packages/i18n/src/locales/tr/index.ts
+++ b/packages/i18n/src/locales/tr/index.ts
@@ -818,63 +818,52 @@ sklm: {
projectArchive: "Proje arşivi",
remoteHosts: {
title: "Uzak ana bilgisayarlar",
- overview:
- "Bu masaüstünden yönetebileceğiniz eşleşmiş pi-host makineler. Eşleşmiş bir ana bilgisayardaki oturumlar yerel gibi görünür; bağlantı ana süreç içinde kalır ve hiçbir cihaz belirteci bu sayfaya ulaşmaz.",
- listTitle: "Eşleşmiş uzak ana bilgisayarlar",
listError: "Ana bilgisayarlar yüklenemedi",
loading: "Yükleniyor…",
- emptyTitle: "Henüz eşleşmiş ana bilgisayar yok",
- emptyBody: "Aşağıdan bir makineyi eşleştirerek üzerinde oturum başlatın.",
+ empty: "Ana bilgisayar yok",
statusOnline: "Çevrimiçi",
statusOffline: "Çevrimdışı",
remove: "Kaldır",
removing: "Kaldırılıyor…",
removed: "{{label}} kaldırıldı.",
- removeFailed: "Kaldırma başarısız: {{message}}",
- pairTitle: "Yeni ana bilgisayar eşle",
- pairBody: "Kendinizin çalıştırdığı bir pi-host için: RACP URL'sini ve başlangıç çıktısındaki eşleşme belirtecini yapıştırın.",
+ removeFailed: "Kaldırılamadı: {{message}}",
+ addTitle: "Ekle",
+ addSsh: "SSH",
+ addPair: "Eşle",
pair: "Eşle",
- pairing: "Eşleşiyor…",
- pairAction: "Ekle",
+ pairing: "Eşleniyor…",
pairSucceeded: "{{label}} eşlendi.",
pairFailed: "Eşleme başarısız: {{message}}",
- fieldLabel: "Etiket",
- fieldLabelDesc: "Listede görünür ve eşleşmiş ana bilgisayara kaydedilir.",
- fieldLabelPlaceholder: "Evdeki Linux",
- fieldUrl: "RACP URL",
- fieldUrlDesc:
- "pi-host geri döngü uç noktası, örn. ws://127.0.0.1:9443/v1/racp/ws (SSH üzerinden yönlendirilir). Kendiniz başlattığınız bir ana bilgisayar içindir; aşağıdaki SSH kurulumu bunu sizin için yapar.",
- fieldPairingToken: "Eşleşme belirteci",
- fieldPairingTokenDesc:
- "pi-host önyükleme çıktısından tek kullanımlık ppt1.* belirteci. Eşleşme sırasında tüketilir.",
- sshTitle: "Bir sunucuya kurun (SSH)",
- sshBody:
- "PI-Desktop, ssh ile zaten erişebildiğiniz bir makineye pi-host kurar ve ona geri döngü tüneli tutar. Kendi ssh yapılandırmanız ve aracınız geçerlidir; anahtar yerine oturum açma parolası da kullanılabilir.",
- sshHost: "SSH ana bilgisayarı",
- sshHostDesc: "Ana bilgisayar adı veya adresi, ssh'in aldığı haliyle.",
+ fieldLabel: "Ad",
+ fieldLabelPlaceholder: "Ev Linux",
+ fieldUrl: "Adres",
+ fieldUrlPlaceholder: "ws://127.0.0.1:9443/racp",
+ fieldPairingToken: "Belirteç",
+ fieldPairingTokenPlaceholder: "ppt1.…",
+ sshHost: "Ana bilgisayar",
sshHostPlaceholder: "build-box.local",
sshUser: "Kullanıcı",
- sshUserDesc: "Oturum açma kullanıcısı; yerel kullanıcı adınızı kullanmak için boş bırakın.",
- sshPort: "SSH bağlantı noktası",
- sshPortDesc: "ssh varsayılanı (22) için boş bırakın.",
+ sshPort: "Bağlantı noktası",
sshIdentityFile: "Kimlik dosyası",
- sshIdentityFileDesc: "Özel anahtar yolu; aracı ve ~/.ssh/config karar versin diye boş bırakın.",
sshAuthMode: "Kimlik doğrulama",
- sshAuthModeDesc: "Kendi SSH anahtarınızı veya aracınızı kullanın ya da parolayla kimlik doğrulayın.",
- sshAuthKey: "SSH anahtarı",
+ sshAuthKey: "Anahtar",
sshAuthPassword: "Parola",
sshPassword: "Parola",
- sshPasswordDesc: "ssh istemcisine askpass yardımcısı üzerinden verilir, komut satırında asla görünmez.",
- sshPasswordPlaceholder: "Oturum açma parolanız",
+ sshPasswordPlaceholder: "Parola",
sshShowPassword: "Parolayı göster",
sshHidePassword: "Parolayı gizle",
- sshPasswordStored: "Yeniden başlatmadan sonra bu ana bilgisayarın yeniden bağlanabilmesi için işletim sistemi anahtarlığında saklanır.",
- sshAction: "Kur ve eşle",
- sshActionHint: "pi-host'u ana bilgisayara kurar ve bu masaüstüyle eşler.",
+ sshAction: "Kur",
sshRunning: "Kuruluyor…",
- sshSucceeded: "{{label}} kuruldu ve eşlendi.",
+ sshSucceeded: "{{label}} kuruldu.",
sshFailed: "Kurulum başarısız: {{message}}",
transportSsh: "SSH",
+ experimentalTitle: "Deneysel",
+ experimentalUnavailable: "Henüz kullanılamıyor",
+ experimentalLan: "LAN keşfi",
+ experimentalGateway: "Tarayıcı erişimi",
+ experimentalMessaging: "Mesajlaşma",
+ experimentalWsl: "WSL",
+ experimentalExpose: "Bu makineyi paylaş",
},
importTitle: "Diğer araçlardan içe aktar",
importScan: "Tara",
diff --git a/packages/i18n/src/locales/zh-CN/index.ts b/packages/i18n/src/locales/zh-CN/index.ts
index 3cfb0a84b..cd06e7988 100644
--- a/packages/i18n/src/locales/zh-CN/index.ts
+++ b/packages/i18n/src/locales/zh-CN/index.ts
@@ -807,63 +807,52 @@ sklm: {
projectArchive: "项目归档",
remoteHosts: {
title: "远程主机",
- overview:
- "已配对的 pi-host 机器;桌面能像本地一样驱动其上的会话,连接留在主进程内,设备令牌不会到达此页面。",
- listTitle: "已配对的远程主机",
- listError: "加载主机列表失败",
+ listError: "加载失败",
loading: "加载中…",
- emptyTitle: "还没有配对主机",
- emptyBody: "在下方配对一台机器以开始远程会话。",
+ empty: "暂无主机",
statusOnline: "在线",
statusOffline: "离线",
remove: "移除",
removing: "移除中…",
removed: "已移除 {{label}}。",
removeFailed: "移除失败:{{message}}",
- pairTitle: "配对新主机",
- pairBody: "如果你已自行运行 pi-host:粘贴它的 RACP 地址和启动输出中的配对令牌。",
+ addTitle: "添加",
+ addSsh: "SSH",
+ addPair: "配对",
pair: "配对",
pairing: "配对中…",
- pairAction: "添加",
pairSucceeded: "已配对 {{label}}。",
pairFailed: "配对失败:{{message}}",
- fieldLabel: "标签",
- fieldLabelDesc: "在列表中显示,也记录到已配对主机上。",
+ fieldLabel: "名称",
fieldLabelPlaceholder: "家里的 Linux",
- fieldUrl: "RACP 地址",
- fieldUrlDesc:
- "pi-host 的回环端点,例如 ws://127.0.0.1:9443/v1/racp/ws(经 SSH 转发)。适用于你自己启动的主机;下面的 SSH 安装会替你完成这一步。",
- fieldPairingToken: "配对令牌",
- fieldPairingTokenDesc:
- "来自 pi-host 引导输出的一次性 ppt1.* 令牌,配对后即消耗。",
- sshTitle: "在服务器上安装(SSH)",
- sshBody:
- "PI-Desktop 会在你已能用 ssh 登录的机器上安装 pi-host,并保持一条回环隧道。认证沿用你自己的 ssh 配置与 agent;也可以用登录密码代替密钥。",
- sshHost: "SSH 主机",
- sshHostDesc: "主机名或地址,按 ssh 的原样传入。",
+ fieldUrl: "地址",
+ fieldUrlPlaceholder: "ws://127.0.0.1:9443/racp",
+ fieldPairingToken: "令牌",
+ fieldPairingTokenPlaceholder: "ppt1.…",
+ sshHost: "主机",
sshHostPlaceholder: "build-box.local",
sshUser: "用户",
- sshUserDesc: "登录用户;留空则使用本机用户名。",
- sshPort: "SSH 端口",
- sshPortDesc: "留空使用 ssh 默认值(22)。",
- sshIdentityFile: "私钥文件",
- sshIdentityFileDesc: "私钥路径;留空则由 agent 与 ~/.ssh/config 决定。",
- sshAuthMode: "认证方式",
- sshAuthModeDesc: "使用你自己的 SSH 密钥或 agent,也可以改用密码认证。",
- sshAuthKey: "SSH 密钥",
+ sshPort: "端口",
+ sshIdentityFile: "私钥",
+ sshAuthMode: "认证",
+ sshAuthKey: "密钥",
sshAuthPassword: "密码",
sshPassword: "密码",
- sshPasswordDesc: "通过 askpass 助手交给 ssh 客户端,不会出现在命令行上。",
- sshPasswordPlaceholder: "你的登录密码",
+ sshPasswordPlaceholder: "密码",
sshShowPassword: "显示密码",
sshHidePassword: "隐藏密码",
- sshPasswordStored: "保存在系统钥匙串中,主机在重启后也能重新连接。",
- sshAction: "安装并配对",
- sshActionHint: "在目标主机上安装 pi-host,并与本桌面配对。",
+ sshAction: "安装",
sshRunning: "安装中…",
- sshSucceeded: "已安装并配对 {{label}}。",
+ sshSucceeded: "已安装 {{label}}。",
sshFailed: "安装失败:{{message}}",
transportSsh: "SSH",
+ experimentalTitle: "实验性",
+ experimentalUnavailable: "暂时不可用",
+ experimentalLan: "局域网发现",
+ experimentalGateway: "浏览器访问",
+ experimentalMessaging: "消息通知",
+ experimentalWsl: "WSL",
+ experimentalExpose: "共享本机",
},
importTitle: "从其他工具导入",
importScan: "扫描",
diff --git a/packages/i18n/src/locales/zh-TW/index.ts b/packages/i18n/src/locales/zh-TW/index.ts
index 7257efe3f..3cfbae215 100644
--- a/packages/i18n/src/locales/zh-TW/index.ts
+++ b/packages/i18n/src/locales/zh-TW/index.ts
@@ -807,63 +807,52 @@ sklm: {
projectArchive: "專案歸檔",
remoteHosts: {
title: "遠端主機",
- overview:
- "已配對的 pi-host 機器;桌面能像本地一樣驅動其上的工作階段,連線留在主行程內,裝置權杖不會到達此頁面。",
- listTitle: "已配對的遠端主機",
- listError: "載入主機清單失敗",
+ listError: "載入失敗",
loading: "載入中…",
- emptyTitle: "尚未配對主機",
- emptyBody: "於下方配對一台機器以開始遠端工作階段。",
+ empty: "尚無主機",
statusOnline: "在線",
statusOffline: "離線",
remove: "移除",
removing: "移除中…",
removed: "已移除 {{label}}。",
removeFailed: "移除失敗:{{message}}",
- pairTitle: "配對新主機",
- pairBody: "如果你已自行執行 pi-host:貼上它的 RACP 位址與啟動輸出中的配對權杖。",
+ addTitle: "新增",
+ addSsh: "SSH",
+ addPair: "配對",
pair: "配對",
pairing: "配對中…",
- pairAction: "新增",
pairSucceeded: "已配對 {{label}}。",
pairFailed: "配對失敗:{{message}}",
- fieldLabel: "標籤",
- fieldLabelDesc: "顯示於清單,並記錄到已配對主機上。",
+ fieldLabel: "名稱",
fieldLabelPlaceholder: "家裡的 Linux",
- fieldUrl: "RACP 位址",
- fieldUrlDesc:
- "pi-host 的迴環端點,例如 ws://127.0.0.1:9443/v1/racp/ws(經 SSH 轉發)。適用於你自己啟動的主機;下方的 SSH 安裝會替你完成這一步。",
- fieldPairingToken: "配對權杖",
- fieldPairingTokenDesc:
- "來自 pi-host 引導輸出的一次性 ppt1.* 權杖,配對後即消耗。",
- sshTitle: "在伺服器上安裝(SSH)",
- sshBody:
- "PI-Desktop 會在你已能用 ssh 登入的機器上安裝 pi-host,並保持一條迴環通道。認證沿用你自己的 ssh 設定與 agent;也可以用登入密碼代替金鑰。",
- sshHost: "SSH 主機",
- sshHostDesc: "主機名稱或位址,與 ssh 收到的原樣相同。",
+ fieldUrl: "位址",
+ fieldUrlPlaceholder: "ws://127.0.0.1:9443/racp",
+ fieldPairingToken: "權杖",
+ fieldPairingTokenPlaceholder: "ppt1.…",
+ sshHost: "主機",
sshHostPlaceholder: "build-box.local",
sshUser: "使用者",
- sshUserDesc: "登入使用者;留空則使用本機使用者名稱。",
- sshPort: "SSH 連接埠",
- sshPortDesc: "留空使用 ssh 預設值(22)。",
- sshIdentityFile: "私密金鑰檔案",
- sshIdentityFileDesc: "私密金鑰路徑;留空則由 agent 與 ~/.ssh/config 決定。",
- sshAuthMode: "認證方式",
- sshAuthModeDesc: "使用你自己的 SSH 金鑰或 agent,也可以改用密碼認證。",
- sshAuthKey: "SSH 金鑰",
+ sshPort: "連接埠",
+ sshIdentityFile: "私密金鑰",
+ sshAuthMode: "認證",
+ sshAuthKey: "金鑰",
sshAuthPassword: "密碼",
sshPassword: "密碼",
- sshPasswordDesc: "透過 askpass 輔助程式交給 ssh 用戶端,不會出現在命令列上。",
- sshPasswordPlaceholder: "你的登入密碼",
+ sshPasswordPlaceholder: "密碼",
sshShowPassword: "顯示密碼",
sshHidePassword: "隱藏密碼",
- sshPasswordStored: "儲存在系統鑰匙圈中,主機在重新啟動後也能重新連線。",
- sshAction: "安裝並配對",
- sshActionHint: "在目標主機上安裝 pi-host,並與本桌面配對。",
+ sshAction: "安裝",
sshRunning: "安裝中…",
- sshSucceeded: "已安裝並配對 {{label}}。",
+ sshSucceeded: "已安裝 {{label}}。",
sshFailed: "安裝失敗:{{message}}",
transportSsh: "SSH",
+ experimentalTitle: "實驗性",
+ experimentalUnavailable: "暫時無法使用",
+ experimentalLan: "區域網路探索",
+ experimentalGateway: "瀏覽器存取",
+ experimentalMessaging: "訊息通知",
+ experimentalWsl: "WSL",
+ experimentalExpose: "共享本機",
},
importTitle: "從其他工具匯入",
importScan: "掃描",