DeepSeek Harness 插件

PonChunhui/dsh-gostc

Star 数 ★ 0 分类 远程与移动端 收录于 2026-11-27

管理 gostc 内网穿透的客户端、隧道与 P2P 连接;可复用已有后端,或按操作系统与处理器架构自动下载、拉起并守护命令版客户端,支持安装为 Windows 服务。

安装

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:PonChunhui/dsh-gostc

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

该插件的 README 只有英文版本。

A DeepSeek Harness plugin that brings the gostc intranet-penetration client into the Harness web client.

gostc (SianHH/gostc-open, Apache-2.0) is an frp-based intranet-penetration management platform. This plugin adds a global Gostc panel to the Harness sidebar and lets the plugin provision and run the gostc command-line client for you.

Features

  • Management panel for gostc client connections, private tunnels and P2P links: create / edit / delete / start / stop, plus runtime logs.
  • Automatic client provisioning: detects the host OS and CPU architecture (Windows / Linux / macOS / FreeBSD, Windows WoW64 aware) and downloads the matching command-line installer from your own gostc platform's public download API, validating the executable magic (PE / ELF / Mach-O) before an atomic write.
  • Process lifecycle: reuses an already-healthy backend, otherwise launches a plugin-managed child process with bounded auto-restart; a Backend tab offers start / stop / restart, client download / update, and Windows-service install / uninstall (UAC).
  • Same-origin proxy: the Host half forwards gostc webui API calls server-side, so no CORS support or rebuild of gostc is required.

The actual tunneling is performed by the gostc process; this plugin manages it through the gostc webui HTTP API and controls the process lifecycle. The gostc binary is downloaded at runtime from your platform — it is not bundled.

Install

From the Harness plugin market, or:

dsh plugin add dsh-gostc

Configuration

Edit the plugin row's config (Plugins config page or cordis.patch.yml):

Key Default Meaning
backend http://127.0.0.1:18080 gostc webui backend to probe / proxy.
username / password `` Optional backend HTTP Basic auth.
platformUrl `` Your gostc platform base URL used to download the CLI installer. Empty disables auto-download.
clientPackage `` Exact installer filename; empty auto-picks the package matching your OS/arch.
dataDir `` Install / data directory; empty defaults to %LOCALAPPDATA%/dsh-gostc.
webAddr 127.0.0.1:18080 webui listen address used when launching the client.
webUser / webPwd `` Optional webui Basic auth set on the launched client.
autoStart true Auto-provision and launch on host activation (or reuse a healthy backend).

See docs/DETAIL.md for the provisioning flow and full details.

Screenshots

Screenshots are declared in screenshots.json (see screenshots.example.json).

License

MIT — see LICENSE. gostc itself is Apache-2.0 (see NOTICE); this plugin does not include gostc's code.

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。