@alhassanaraouf/paseo-remote-editor

中文文档
0.2.1发布于 2026/09/24MIT零依赖近 30 天下载 1861

Composer pill to open a workspace in VS Code or Zed over SSH, desktop only.

原始使用文档
文档目录4 节
  1. Install
  2. Settings (Remote Editor)
  3. How it works
  4. Limitations

Remote Editor

Adds an Editor affordance you can put either in each agent's composer ("Editor" pill on the track bar) or on the workspace header ("Open in editor" button on the right side of the header, where Paseo's own editor button lives). The header button opens the default editor directly; the composer pill keeps the picker so you fall back to it when no default editor is set. Both open the relevant path directly in VS Code, Cursor, or Zed — over SSH when the Paseo daemon runs on another machine, or as a local folder when it runs on yours. The composer pill opens the agent's working directory; the header button opens the workspace's directory.

Both surfaces only appear on desktop (not iOS/Android), since opening a local editor via a deep link only makes sense from a desktop OS.

Install

paseo plugin install npm:@alhassanaraouf/paseo-remote-editor

Or paste npm:@alhassanaraouf/paseo-remote-editor into Settings → Plugins → Plugin source and select Install plugin.

Settings (Remote Editor)

  • Open in — default editor (VS Code, Cursor, Zed, or a custom editor).
  • Show button in — where to surface the affordance: Composer (one pill per agent, default, matches the original behaviour), Workspace header (one button per workspace, placed before the built-in actions on the header's right side), or Both. The change applies immediately on the client where you make it; other clients of the same host pick it up after an app reload.
  • SSH host / user — blank falls back to what the daemon reports (os.hostname() / os.userInfo().username). Set these when the daemon's hostname doesn't resolve locally: a Tailscale name, LAN name, or an ~/.ssh/config alias.
  • SSH port — appended as :port in Zed and custom URIs. VS Code-style URIs carry no port, so a non-standard port there needs an ~/.ssh/config alias entered as the SSH host instead.
  • Open local paths directly — enable when the daemon runs on this machine, so the editor opens the folder (vscode://file/..., zed://file://...) instead of SSH.
  • Custom editors — add your own via URI templates using {user}, {host}, {port}, and {path}.

How it works

  • VS Code / Cursor: vscode://vscode-remote/ssh-remote+<user>@<host>/<path> (or vscode://file/<path> in local mode)
  • Zed: zed://ssh/<user>@<host>[:<port>]/<path> (or zed://file://<path> in local mode)

<path> is the agent's working directory (composer pill) or the workspace's directory (header button), percent-encoded per segment so spaces and special characters survive the deep link.

Limitations

  • Requires the editor's remote/SSH support to already be set up, including a working ssh <user>@<host> connection from your machine.
  • Not shown on iOS or Android.

版本与发布记录

@alhassanaraouf/paseo-remote-editor 共发布 4 个版本,首次发布于 2026/09/23;过去 12 个月发布了 4 个版本。

版本发布日期距今
0.2.1latest2026/09/241 个月前
0.2.02026/09/241 个月前
0.1.22026/09/241 个月前
0.1.12026/09/231 个月前

关于 @alhassanaraouf/paseo-remote-editor 的常见问题

@alhassanaraouf/paseo-remote-editor 是什么?

Composer pill to open a workspace in VS Code or Zed over SSH, desktop only.

如何安装 @alhassanaraouf/paseo-remote-editor?

在项目目录运行 npm install @alhassanaraouf/paseo-remote-editor,或使用 pnpm add / yarn add / bun add。

@alhassanaraouf/paseo-remote-editor 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/alhassanaraouf__paseo-remote-editor 是否存在。

@alhassanaraouf/paseo-remote-editor 可以商用吗?

@alhassanaraouf/paseo-remote-editor 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@alhassanaraouf/paseo-remote-editor 的下载量有多少?

根据 npm 官方下载统计,@alhassanaraouf/paseo-remote-editor 在 2026/10/06 – 2026/11/04 这 30 天内被下载 1,861 次,日均约 62 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@alhassanaraouf/paseo-remote-editor 还在维护吗?

最新版本 0.2.1 发布于 2026/09/24(1 个月前);至今共发布 4 个版本,其中过去 12 个月发布了 4 个;首次发布于 2026/09/23。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。