ljnljn2005/dsh-octopus-launch ↗★ 0
dsh-octopus-launch
DSH plugin: launch a background process (e.g. octopus LLM gateway) automatically when dsh starts. Idempotent: skips if already running.
AI Analysis
在 DSH 启动时自动幂等拉起指定的后台可执行程序。适合需要将 DSH 与自定义网关、代理或其他本地后台服务绑定运行、实现一键同步启动的用户。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗配置项
| 字段 | 类型 | 默认 | 说明 |
|---|---|---|---|
binaryPath | string | 必填 | 要拉起的可执行文件绝对路径(按自己环境填) |
args | string[] | ["start"] | 启动参数 |
detectCommand | string | pgrep -x | 检测进程是否已运行的命令 |
logFile | string | /.dsh.log | 启动日志输出文件 |
autoStart | boolean | true | 是否在 dsh 启动时自动拉起 |
confirmDelayMs | number | 1500 | 启动后等待确认的毫秒数;0 = 不确认 |
recheckDelayMs | number | 300 | 启动前二次检测间隔(毫秒) |