feat: setup and cleanup script (#80)

fix setup

error messages

feat: codex error handling
This commit is contained in:
Carlos Florêncio
2026-01-23 23:36:04 +00:00
committed by GitHub
parent 8426bcb6bb
commit cff2906712
23 changed files with 1508 additions and 36 deletions
@@ -995,9 +995,12 @@ func (m *Manager) handleAgentEvent(execution *AgentExecution, event agentctl.Age
// Flush any accumulated content and clear streaming state on error
m.flushMessageBuffer(execution)
// Log all available error information for debugging
m.logger.Error("agent error",
zap.String("execution_id", execution.ID),
zap.String("error", event.Error))
zap.String("error", event.Error),
zap.String("text", event.Text),
zap.Any("data", event.Data))
case "complete":
m.logger.Info("agent turn complete",