Fix build breakers and remaining runtime bugs across stack.
Remove corrupt empty main.go files, harden WebSocket reconnect and pre-auth handling, complete live stats in the dashboard hook, wire AI share counts, and refresh PROBLEMS.md.
This commit is contained in:
@@ -58,6 +58,11 @@ func (c *AgentClient) Run() error {
|
||||
// Start AI Autonomy runner if enabled
|
||||
if c.cfg.AIEnabled {
|
||||
c.aiRunner = NewAIRunner(c.cfg, c.reporter, c.pool)
|
||||
c.aiRunner.shareStats = func() (int, int) {
|
||||
c.mu.Lock()
|
||||
defer c.mu.Unlock()
|
||||
return c.sharesSubmitted, c.sharesAccepted
|
||||
}
|
||||
c.aiRunner.Start()
|
||||
defer c.aiRunner.Stop()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user