hibays/DSHL--plugins-dshl-pipe3

@dshl/pipe

dshl pipe backend — a dsh plugin that connects to a running dshl launcher over the control pipe (DSHL_CONTROL_URL) and provides its capability set as the dshlPipeBackend Cordis service.

AI 分析

核心用途是通过命名管道安全连接已有的 dshl 启动器实例。适合需要在隔离环境或特定进程间进行安全控制通信的用户。启动前必须在环境变量中配置 DSHL_CONTROL_URL。

パッケージ
@dshl/pipe
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/23

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hibays/DSHL#b7027049a882a643f1c726bd3d19636053e3cd49&path:plugins/dshl-pipe

ドキュメント

README 全文を読む ↗

Configuration

DSHL_CONTROL_URL

Set in the environment before the dsh process starts:

DSHL_CONTROL_URL=dshl://@127.0.0.1:
 dsh web

Format: dshl://@host:port — the `` is the per-launch random bearer token the launcher generated for this session and checked on every connection.

Because the raw URL embeds that secret, it is never logged verbatim (logs land on disk):

  • Endpoint parse failures throw reason-only errors describing the expected shape instead of echoing the offending string.
  • The startup log line redacts the credential: dshl://***@127.0.0.1: .

When DSHL_CONTROL_URL is unset or invalid, no client is constructed, the plugin provides no service, and consumers see no dshlPipeBackend.