Run tasks on Codex beside Claude; drop turn caps and mid-turn snapshots

This commit is contained in:
Ian Gulliver
2026-10-15 14:55:58 -07:00
parent 17898b0191
commit 74707f6398
53 changed files with 1904 additions and 1295 deletions
+1 -3
View File
@@ -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,