cito-mcp 0.3.15 → 0.3.16

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.
@@ -323,7 +323,12 @@ export function normalizeMatch(game, row, forcedStatus) {
323
323
  team1 = team1 ?? nestedSide(r.teams[0], game);
324
324
  team2 = team2 ?? nestedSide(r.teams[1], game);
325
325
  }
326
- const startTime = pickString(r.startTime, r.scheduledAt, r.startsAt, r.date, r.startDate, r.beginAt, asRecord(r.event)?.startsAt, asRecord(r.event)?.startTime, asRecord(r.event)?.date) ?? null;
326
+ const startTime = pickString(r.startTime, r.scheduledAt,
327
+ // Tennis emits scheduled_at; startTime was the API's only camelCase key
328
+ // and was removed. Without this the upcoming board loses its clock.
329
+ r.scheduled_at,
330
+ // A live row reports when it went in-play, not when it was scheduled.
331
+ r.started_at, r.startsAt, r.date, r.startDate, r.beginAt, asRecord(r.event)?.startsAt, asRecord(r.event)?.startTime, asRecord(r.event)?.date) ?? null;
327
332
  // Tennis archive rows carry the state as outcome (COMPLETED / RETIREMENT /
328
333
  // WALKOVER); read it, or every finished match reported status unknown.
329
334
  const statusRaw = pickString(r.status, r.state, r.matchStatus, r.boutStatus, r.outcome)?.toLowerCase() ?? '';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cito-mcp",
3
- "version": "0.3.15",
4
- "description": "Standalone MCP server for the Cito esports API \u2014 15 curated outcome tools for agents (live, schedule, profiles, standings, previews, event cards).",
3
+ "version": "0.3.16",
4
+ "description": "Standalone MCP server for the Cito esports API 15 curated outcome tools for agents (live, schedule, profiles, standings, previews, event cards).",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "cito-mcp": "dist/index.js"