Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
export const remoteEn = {
projectHost: "Host", noConnectedHosts: "Add a remote host in Settings first.",
projectFolder: "Remote folder", chooseFolder: "Choose a folder or enter its path",
browseFolders: "Browse folders", useFolder: "Use this folder",
folderPickerTitle: "Choose a folder", folderPath: "Folder path", goToFolder: "Go",
openFolder: "Open {{name}}", emptyFolders: "No subfolders in this directory.",
older: "Load older messages", thinking: "Thinking",
newer: "Load newer messages", latest: "Return to latest",
newProject: "New project",
reconnect: "Reconnect",
refresh: "Refresh",
close: "Close",
loading: "Working…",
offlineHost: "{{label}} (offline)", reconnectOnUse: "This host is offline. Browsing or opening the project will reconnect it.",
pathUnavailable: "The remote directory is unavailable. Check the path and try again.",
pathForbidden: "This path is outside the allowed remote workspace.",
upgradeRequired: "Upgrade the remote Host to a matching Desktop release.",
authenticationRequired: "Authentication failed. Check SSH access or pair the Host again.",
connectionUnavailable: "The remote Host is unavailable. Check the connection and try again.",
hostBootstrapFailed: "Installing or starting the remote Host over SSH failed. Check connectivity, credentials, and that the remote machine meets the Host's requirements, then try again.",
hostPlatformUnsupported: "Remote Host bundles are currently available for Linux x64 and arm64 only. macOS remote Hosts are not supported by this release.",
operationFailed: "The remote operation failed. Check the Host connection and try again.",
mutationUncertain: "The connection was interrupted; the remote change may have completed. Check the files before retrying.",
empty: "No remote conversations yet.",
project: "Remote project",
selectProject: "Select a remote project",
path: "Or register an absolute remote path",
pathPlaceholder: "/home/user/project",
title: "Conversation title (optional)",
create: "Create remote conversation",
defaultModel: "New conversations use the remote host’s default model. Sync a model first if needed. Agent mode, Ask permissions.",
sync: "Sync models",
syncWarning: "Selected model configurations and their API credentials will be copied to {{host}}. Only continue if you trust this SSH host. OAuth, plugin, CLI and local-only providers are not supported.",
consent: "I agree to copy the selected configurations and credentials to this host.",
setDefault: "Set the remote default (prefer the selected local default model)",
noProviders: "No eligible network model configurations.",
syncResult: "Imported: {{imported}} · Skipped: {{skipped}} · Remote default set: {{defaultSet}}",
yes: "Yes", no: "No",
identity: "Remote · {{host}} · {{workspace}}",
remote: "Remote",
workspace: "Remote workspace",
readOnly: "Read-only remote Files & Review. Local tools, attachments and model selection are unavailable.",
files: "Files",
review: "Review",
parent: "Parent directory",
emptyFiles: "This directory is empty.",
binary: "Binary file preview is unavailable.",
truncated: "Preview truncated by the host.",
noChanges: "No workspace changes.",
prompt: "Message the remote agent",
send: "Send",
stop: "Stop",
pending: "The remote agent is working. Stop or wait before sending another message.",
sendFailed: "The message was not accepted. Refresh or reconnect before trying again; nothing is resent automatically.",
user: "You", assistant: "Assistant", system: "System", tool: "Tool",
allow: "Allow once", deny: "Deny", approval: "Remote approval required",
hostSettings: "Remote host settings",
REMOTE_ABSOLUTE_PATH_REQUIRED: "Enter an absolute path on the remote host.",
REMOTE_PROJECT_REQUIRED: "Select a remote project or enter an absolute remote path.",
REMOTE_SYNC_CONSENT_REQUIRED: "Select eligible configurations and explicitly consent before syncing to an SSH host.",
};
export const remoteZh: typeof remoteEn = {
projectHost: "主机", noConnectedHosts: "请先在设置中添加远程主机。",
projectFolder: "远程文件夹", chooseFolder: "选择文件夹或输入路径",
browseFolders: "浏览文件夹", useFolder: "使用此文件夹",
folderPickerTitle: "选择文件夹", folderPath: "文件夹路径", goToFolder: "前往",
openFolder: "打开 {{name}}", emptyFolders: "此目录下没有子文件夹。",
older: "加载更早消息", thinking: "思考",
newer: "加载较新消息", latest: "返回最新消息",
newProject: "新建项目", reconnect: "重新连接", refresh: "刷新", close: "关闭", loading: "处理中…",
offlineHost: "{{label}}(离线)", reconnectOnUse: "主机已离线。浏览或打开项目时会尝试重新连接。",
pathUnavailable: "远程目录不可用,请检查路径后重试。", pathForbidden: "此路径超出允许的远程工作区。",
upgradeRequired: "请将远程 Host 升级到与 Desktop 匹配的版本。",
authenticationRequired: "认证失败,请检查 SSH 登录或重新配对主机。",
connectionUnavailable: "远程主机不可用,请检查连接后重试。",
hostBootstrapFailed: "通过 SSH 安装或启动远程 Host 失败,请检查网络连通性、登录凭据以及远程机器是否满足 Host 的运行要求后重试。",
hostPlatformUnsupported: "当前版本只提供 Linux x64 和 arm64 远程 Host 安装包,尚不支持 macOS 远程 Host。",
operationFailed: "远程操作失败,请检查主机连接后重试。",
mutationUncertain: "连接已中断,远程修改可能已完成。请先检查文件,不要直接重试。",
empty: "暂无远程会话。", project: "远程项目", selectProject: "选择远程项目",
path: "或注册远程绝对路径", pathPlaceholder: "/home/user/project", title: "会话标题(可选)",
create: "创建远程会话", defaultModel: "新会话使用远程主机的默认模型,需要时请先同步模型。使用 Agent 模式并逐次询问权限。",
sync: "同步模型", syncWarning: "所选模型配置及其 API 凭据将复制到 {{host}}。请仅向可信的 SSH 主机同步。不支持 OAuth、插件、CLI 和仅限本机的服务。",
consent: "我同意将所选配置和凭据复制到此主机。", setDefault: "设置远程默认模型(优先使用所选配置中的本机默认模型)",
noProviders: "没有可同步的网络模型配置。", syncResult: "已导入:{{imported}} · 已跳过:{{skipped}} · 已设置远程默认模型:{{defaultSet}}",
yes: "是", no: "否", identity: "远程 · {{host}} · {{workspace}}", remote: "远程", workspace: "远程工作区",
readOnly: "远程文件和审查仅供查看。本机工具、附件和模型选择不可用。",
files: "文件", review: "审查", parent: "上级目录", emptyFiles: "目录为空。", binary: "不支持预览二进制文件。",
truncated: "预览内容已被主机截断。", noChanges: "工作区没有变更。", prompt: "向远程智能体发送消息",
send: "发送", stop: "停止", pending: "远程智能体正在工作,请等待完成或先停止。",
sendFailed: "消息未被接受。请刷新或重连后再尝试;系统不会自动重发。",
user: "你", assistant: "助手", system: "系统", tool: "工具", allow: "允许一次", deny: "拒绝", approval: "远程操作需要授权",
hostSettings: "远程主机设置", REMOTE_ABSOLUTE_PATH_REQUIRED: "请输入远程主机上的绝对路径。",
REMOTE_PROJECT_REQUIRED: "请选择远程项目或输入远程绝对路径。",
REMOTE_SYNC_CONSENT_REQUIRED: "请先选择可同步的配置,并明确同意向 SSH 主机复制凭据。",
};