@rigstate/mcp 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1055,7 +1055,7 @@ async function getLatestDecisions(supabase, userId, projectId, limit = 5) {
1055
1055
  id: s.id,
1056
1056
  projectId: s.project_id,
1057
1057
  recruitedAgents: s.recruited_agents || [],
1058
- feedbackSummary: (s.feedback_summary || []).map((f) => ({
1058
+ feedbackSummary: (Array.isArray(s.feedback_summary) ? s.feedback_summary : []).map((f) => ({
1059
1059
  agentName: f.agentName || f.agent?.name || "Unknown",
1060
1060
  emoji: f.emoji || f.agent?.emoji || "\u{1F916}",
1061
1061
  critiques: f.critiques || [],