zai-org / zai-org/feedback

[建议 / Feature] 支持通过 zcode:// 深层链接一键打开远程 SSH 工作区

Open
#719 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: P2 status: 待评估 type: 功能建议
Dominant language
No language data
Stars
22
Forks
1
PR merge metrics
No merged PRs in 30d

Description

提交前确认 · Pre-submission checklist
  • 我已搜索过现有 issue,确认这不是重复提议 / I searched existing issues and confirmed this isn't a duplicate.
  • 我已阅读 CONTRIBUTING.md / I've read CONTRIBUTING.md.
问题类别 · Category

其他 / 不确定 · Other / Not sure

涉及的 Agent 框架 · Agent framework

不涉及框架 · Not framework-specific

使用场景 · Use case

我日常使用 CNB 等云原生开发平台,经常需要从平台页面一键打开远程开发环境。VSCode 和 CodeBuddy 都支持通过 URL / 深层链接直接打开远程工作区,我也在自建或适配的入口中兼容了类似 https://mkscript.zhenxijs.com/ 的跳转方式。

ZCode 目前没有类似的远程链接打开能力,导致它无法融入我现有的云端开发工作流。

建议方案 · Proposal

希望 ZCode 支持注册并解析用于远程工作区的深层链接,例如:

  • zcode://ssh-remote+<host>/<path>
  • zcode://remote?type=ssh&host=<host>&port=<port>&user=<user>&path=<path>
  • 或基于已保存连接:zcode://ssh-remote+<connection-id>/<path>

点击链接后,ZCode 应自动打开,并创建 / 连接对应远程工作区,进入指定目录。

出于安全考虑,不一定需要在 URL 中传递密码或私钥。可以优先支持:

  1. 使用已保存的连接配置 ID;
  2. 从系统钥匙串 / 凭据管理器读取;
  3. 首次打开时弹出确认并保存连接。
预期价值 · Expected value

每次远程链接可节省人工20秒。一天4-5次。一周大约节省11分钟

你认为的优先级 · Your perceived priority

中 · Medium

你使用的 ZCode 版本 / 环境 · ZCode version / environment

No response

补充材料 · Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with CONTRIBUTING.md and compare the proposed zcode:// URI forms, including saved connections, SSH parameters, and confirmation or credential handling. Done means a supported link launches ZCode, connects to the requested SSH workspace, and opens the specified path safely.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.