@cronicorn/mcp-server 1.18.2 → 1.19.0

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
@@ -14386,10 +14386,10 @@ var DashboardStatsResponseBaseSchema = external_exports.object({
14386
14386
  }))
14387
14387
  });
14388
14388
  var DashboardStatsQueryBaseSchema = external_exports.object({
14389
- days: external_exports.coerce.number().int().positive().max(30).optional().default(7),
14390
14389
  jobId: external_exports.string().optional(),
14391
14390
  source: external_exports.string().optional(),
14392
- timeRange: external_exports.enum(["24h", "7d", "30d", "all"]).optional(),
14391
+ startDate: external_exports.coerce.date(),
14392
+ endDate: external_exports.coerce.date(),
14393
14393
  endpointLimit: external_exports.coerce.number().int().positive().max(100).optional().default(20)
14394
14394
  });
14395
14395
 
@@ -14580,10 +14580,6 @@ var DashboardStatsResponseSchema = external_exports.object({
14580
14580
  description: "Aggregated dashboard statistics for the authenticated user"
14581
14581
  });
14582
14582
  var DashboardStatsQuerySchema = external_exports.object({
14583
- days: external_exports.coerce.number().int().positive().max(30).optional().default(7).openapi({
14584
- description: "Number of days for time-series data (max 30)",
14585
- example: 7
14586
- }),
14587
14583
  jobId: external_exports.string().optional().openapi({
14588
14584
  description: "Filter by job ID (optional)",
14589
14585
  example: "job_123abc"
@@ -14592,9 +14588,13 @@ var DashboardStatsQuerySchema = external_exports.object({
14592
14588
  description: "Filter by scheduling source (baseline-cron, baseline-interval, ai-interval, ai-oneshot, clamped-min, clamped-max, etc.)",
14593
14589
  example: "ai-interval"
14594
14590
  }),
14595
- timeRange: external_exports.enum(["24h", "7d", "30d", "all"]).optional().openapi({
14596
- description: "Time range filter for runs (optional, overrides 'days' for certain queries)",
14597
- example: "7d"
14591
+ startDate: external_exports.coerce.date().openapi({
14592
+ description: "Start date for filtering runs (ISO 8601 format). Required.",
14593
+ example: "2025-01-01T00:00:00.000Z"
14594
+ }),
14595
+ endDate: external_exports.coerce.date().openapi({
14596
+ description: "End date for filtering runs (ISO 8601 format). Required.",
14597
+ example: "2025-01-08T00:00:00.000Z"
14598
14598
  }),
14599
14599
  endpointLimit: external_exports.coerce.number().int().positive().max(100).optional().default(20).openapi({
14600
14600
  description: "Maximum number of endpoints to include in time-series data (sorted by run count DESC). Max 100, default 20.",
@@ -14657,9 +14657,17 @@ var ActivityEventSchema = external_exports.object({
14657
14657
  description: "An activity event (run or AI session)"
14658
14658
  });
14659
14659
  var JobActivityTimelineQuerySchema = external_exports.object({
14660
- timeRange: external_exports.enum(["24h", "7d", "30d"]).optional().default("7d").openapi({
14661
- description: "Time range filter for activity events",
14662
- example: "7d"
14660
+ startDate: external_exports.coerce.date().openapi({
14661
+ description: "Start date for filtering activity events (ISO 8601 format). Required.",
14662
+ example: "2025-01-01T00:00:00.000Z"
14663
+ }),
14664
+ endDate: external_exports.coerce.date().openapi({
14665
+ description: "End date for filtering activity events (ISO 8601 format). Required.",
14666
+ example: "2025-01-08T00:00:00.000Z"
14667
+ }),
14668
+ eventType: external_exports.enum(["all", "runs", "sessions"]).optional().default("all").openapi({
14669
+ description: "Filter by event type: 'all' (default), 'runs' (only run executions), or 'sessions' (only AI sessions)",
14670
+ example: "all"
14663
14671
  }),
14664
14672
  limit: external_exports.coerce.number().int().positive().max(100).optional().default(50).openapi({
14665
14673
  description: "Maximum number of events to return",