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.

包名
@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.