docs: deprecate inbox and document remote dashboard
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -192,6 +192,20 @@ func cmdDoctor() error {
|
||||
}
|
||||
cfgPath := config.DefaultPath()
|
||||
fmt.Printf(" config=%s\n", cfgPath)
|
||||
cfg, err := config.LoadDefault()
|
||||
if err != nil {
|
||||
fmt.Printf("✗ config load failed: %v\n", err)
|
||||
} else if cfg.Remote.Enabled {
|
||||
if cfg.Remote.URL == "" {
|
||||
fmt.Println("✗ remote.enabled but remote.url is empty — set url to your agent-notify server (e.g. http://host:8080)")
|
||||
}
|
||||
if cfg.Remote.Token == "" {
|
||||
fmt.Println("✗ remote.enabled but remote.token is empty — must match AGENT_NOTIFY_TOKEN on agent-notify server")
|
||||
}
|
||||
if cfg.Remote.URL != "" && cfg.Remote.Token != "" {
|
||||
fmt.Printf("✓ remote dashboard configured (%s)\n", cfg.Remote.URL)
|
||||
}
|
||||
}
|
||||
fmt.Printf(" hook_log=%s\n", logx.Path())
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user