hibays/DSHL--plugins-dshl-pipe3

@dshl/pipe

dshl 管道后端插件:通过控制管道连接运行中的 dshl 启动器并提供其能力集

AI 分析

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

套件
@dshl/pipe
版本
0.1.0
授權
MIT
最近更新
2026年8月23日

安裝

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

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.