wikkd/dsh-remote-access-web--packages-remote-access-remote-access ↗★ 3

@froststarinquire/dsh-remote-access

远程访问宿主插件:维护到设备 Web 服务的出站反向隧道并保持存活。 适合需为设备 Web 服务建立反向隧道的部署者,需配置 frpc 路径与参数。

套件
@froststarinquire/dsh-remote-access
相容性
待驗證
Harness 依賴範圍
^0.1.0-rc.6
Cordis 依賴範圍
^4.0.1
版本
0.1.0-rc.6
授權
MIT
最近更新
2026年8月14日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Configuration

export interface Config {
  provider: 'none' | 'frp'        // 'none' keeps the plugin inert
  frpcPath?: string               // absolute path to frpc (or compatible); required when provider is 'frp'
  frpArgs?: string                // frp fast-start value for -f, i.e. :
  cwd?: string                    // working directory for the tunnel child; defaults to the process cwd
  graceMs: number                 // grace period (ms) for terminate escalation; defaults to 5000
  publicUrl?: string              // public URL surfaced once the tunnel is up
}

When provider is frp but frpcPath/frpArgs are absent, the plugin refuses to activate loud rather than silently running without a tunnel. Deployment-varying values (the frpc path, fast-start secret, public URL) are passed through Config — never hardcoded — so they are changeable from cordis.patch.yml or env.