harness.go 613 B

1234567891011121314151617
  1. package main
  2. // The harness daemon feature will supervise the DeepSeek Harness web server:
  3. // start `npx @deepseek-ai/dsh web` hidden at login, health-check it,
  4. // reopen the browser UI on demand, and restart it on crash. It plugs into the
  5. // same Feature interface as balance (see balance.go) and registers in app.go.
  6. // harnessConfig carries the harness feature's configuration slice. It is
  7. // resolved by LoadConfig (see config.go) and consumed by the harness feature
  8. // in a later step.
  9. type harnessConfig struct {
  10. Enabled bool
  11. Command string
  12. URL string
  13. StartDelay int
  14. LogFile string
  15. }