Run tasks on Codex beside Claude; drop turn caps and mid-turn snapshots
This commit is contained in:
@@ -63,7 +63,7 @@ func New(dataDir string, portFirst int, spa fs.FS) (*Server, error) {
|
||||
return nil, fmt.Errorf("start push notifier: %w", err)
|
||||
}
|
||||
|
||||
s.agents = agents.New(s.store, agents.DefaultLimits, filepath.Join(dataDir, "worktrees"), filepath.Join(dataDir, "leads"))
|
||||
s.agents = agents.New(s.store, filepath.Join(dataDir, "worktrees"), filepath.Join(dataDir, "leads"), filepath.Join(dataDir, "codex"))
|
||||
err = s.agents.Recover(context.Background())
|
||||
if err != nil {
|
||||
s.notifier.Close()
|
||||
@@ -486,8 +486,6 @@ func (s *Server) GetStatus(w http.ResponseWriter, r *http.Request) {
|
||||
SseClients: s.hub.count(),
|
||||
LiveAgents: s.agents.LiveCount(),
|
||||
RunningTurns: usage.Running,
|
||||
QueuedTurns: usage.Queued,
|
||||
Caps: usage.Caps,
|
||||
RateLimits: usage.RateLimits,
|
||||
|
||||
AgentProcesses: health.Processes,
|
||||
|
||||
Reference in New Issue
Block a user