kagurazakayashi/dsh-startup-command0

@kagurazakayashi/dsh-startup-command

A DeepSeek Harness Web plugin that runs a user-defined command after the web profile has started successfully.

包名
@kagurazakayashi/dsh-startup-command
版本
1.0.0
许可证
MIT
最近更新
2026年9月5日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kagurazakayashi/dsh-startup-command

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 quotes
  • enabled (boolean, default true) — set to false to disable temporarily
  • shell (boolean, default false) — set to true to 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 in Chromium > Chrome > Edge priority 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.