kagurazakayashi/dsh-startup-command ↗★ 0
@kagurazakayashi/dsh-startup-command
A DeepSeek Harness Web plugin that runs a user-defined command after the web profile has started successfully.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kagurazakayashi/dsh-startup-command说明文档
阅读完整 README ↗Configuration
The configuration lives in the dsh-startup-command namespace of settings.yaml. The plugin registers this namespace through the settings service at startup; the schema defaults apply when nothing is configured:
dsh-startup-command:
enabled: true
command: '"C:\Program Files\Google\Chrome\Application\chrome.exe" --app={url}'
shell: false
Supported fields:
command(string | string[]) — a single command as a string, or multiple commands as an array run in order (the next one starts only after the previous one exits); each entry is split into argv honoring quotes, so wrap paths containing spaces in double quotesenabled(boolean, defaulttrue) — set tofalseto disable temporarilyshell(boolean, defaultfalse) — set totrueto run through the system shell
command supports these placeholders, all replaced before execution:
{url}— the actual GUI address (the?token=-authenticated URL on newer dsh web){home}— the current user folder (os.homedir()){browser}— the auto-detected Chromium-family browser executable. Detection rule: if the system default browser is Chromium / Chrome / Edge, the default browser wins; otherwise the first installed browser inChromium > Chrome > Edgepriority is used
The Add example command button on the web settings card opens a dialog explaining the example, then appends a ready-made command using {browser}, {home}, and {url}. If no Chromium / Chrome / Edge browser was found when dsh started, it shows a "cannot generate example command" message with the reason instead.