@celigo/api-specs 0.2.187 → 0.2.188

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/flow.yml CHANGED
@@ -5561,16 +5561,24 @@ components:
5561
5561
  schedule_not_supported` when its runs would be less than a minute apart — which
5562
5562
  is also what free text such as `every 5 minutes` produces.
5563
5563
 
5564
- A save can store a later minute than it was sent. A minute field that is 0, 15,
5565
- 30 or 45, a list made only of those minutes, a range that starts at minute 0, or a
5566
- `*/N` step with N above 5 is stored 5 minutes later: `? 0 6 ? * *` as
5567
- `? 5 6 ? * *`, `? 0,15,30,45 * ? * *` as `? 5,20,35,50 * ? * *`, `? 0-10 * ? * *`
5568
- as `? 5-15 * ? * *`, and `? */15 * ? * *` as `? 5-59/15 * ? * *`. Any other minute
5569
- field is kept as sent, including `? */5 * * * *` and lists that mix in other
5570
- minutes (`? 0,10,20,30,40,50 * ? * *`), and the other fields never change. POST,
5571
- PUT and PATCH all store it this way, the response and later reads return the
5572
- stored value, and scheduled runs start at the stored minutes, so a flow saved for
5573
- 06:00 runs at 06:05 (live-verified 2026-10-22).
5564
+ Celigo spreads scheduled starts across the platform so that every flow starts
5565
+ promptly: you choose the cadence — every N minutes, hourly, daily, twice daily,
5566
+ weekly, or any cron pattern — Celigo assigns the exact start minute within it
5567
+ (kept as written or moved, as below), and scheduled runs start at the stored
5568
+ minute, as soon as possible after it when the platform is busy. Today a
5569
+ minute field of 0, 15, 30 or 45, a list made only of those minutes, a range that
5570
+ starts at minute 0, or a `*/N` step with N above 5 is stored 5 minutes later —
5571
+ `? 0 6 ? * *` as `? 5 6 ? * *`, `? 0,15,30,45 * ? * *` as `? 5,20,35,50 * ? * *`,
5572
+ `? 0-10 * ? * *` as `? 5-15 * ? * *`, and `? */15 * ? * *` as
5573
+ `? 5-59/15 * ? * *` — while other minute fields (`? */5 * * * *`) are kept as sent
5574
+ and the other fields never change (live-verified 2026-10-22). The assigned minute
5575
+ is the platform's current policy, not a contract — Celigo may assign different
5576
+ minutes as it rebalances start times — so the stored `schedule`, what POST, PUT
5577
+ and PATCH return and later reads show, is the only source of the minute a flow
5578
+ runs at: a flow saved for 06:00 runs at the stored 06:05. For a run that must
5579
+ begin at a particular minute, your own scheduler POSTs `/v1/flows/{_id}/run` at
5580
+ that minute: the call queues an on-demand run, accepts no start time in its body,
5581
+ and answers `409 job_already_queued` while another instance is queued or running.
5574
5582
  x-celigo-ai-guidance:
5575
5583
  - |-
5576
5584
  Build `schedule` as a Celigo 6-field cron:
@@ -5592,15 +5600,33 @@ components:
5592
5600
  schedule (`? * * ? * *`) with 422 `invalid_value`. Fix or clear the schedule
5593
5601
  instead of disabling the flow to get past the error.
5594
5602
  - |-
5595
- When AUTHORING a schedule, read `schedule` back after the save and give
5596
- the user the stored times, not the requested ones: a schedule written
5597
- for minute 0, 15, 30 or 45 can be stored, and run, 5 minutes later (see
5598
- the description), and an explicit list is moved the same way as a step
5599
- form. Hourly or longer: minute `5` with an explicit hour list
5600
- (`? 5 0,4,8,12,16,20 ? * *` = every 4 hours;
5601
- `? 5 9 ? * 1,2,3,4,5` = weekdays 9:05 AM; `? 5 0 ? * *` = daily at
5602
- 00:05); sub-hourly: an explicit minute list with hour `*`
5603
- (`? 5,20,35,50 * ? * *` = every 15 minutes) or a step form.
5603
+ When AUTHORING a schedule, write the cadence in the shape the platform
5604
+ keeps today — hourly or longer, minute `5` with an explicit hour list
5605
+ (`? 5 0,4,8,12,16,20 ? * *` = every 4 hours; `? 5 9 ? * 1,2,3,4,5` =
5606
+ weekdays 9:05 AM; `? 5 0 ? * *` = daily at 00:05); sub-hourly, an
5607
+ explicit minute list with hour `*` (`? 5,20,35,50 * ? * *` = every 15
5608
+ minutes) or a step form — and tell the user the start minute the platform
5609
+ assigned: the requested minute when it is kept as sent (9:05 stays 9:05),
5610
+ the shifted one when it is not — a schedule written for minute 0, 15, 30
5611
+ or 45 is stored, and runs, 5 minutes later today (see the description),
5612
+ and an explicit list is moved the same way as a step form. After a direct
5613
+ save, read `schedule` back and report what was stored; when the write is
5614
+ staged for approval instead of saved, state the minute the current rule
5615
+ assigns rather than waiting to read it back. Never present `? 0 5 ? * *`
5616
+ as a 5:00 run.
5617
+ - |-
5618
+ When a user asks for a flow to start at an exact minute (5:00 sharp, on
5619
+ the hour), lead with what the platform does for them — starts are spread
5620
+ across the platform so every flow starts promptly, and each run starts at
5621
+ its stored minute, as soon as possible after it when the platform is busy
5622
+ — then say the cadence is
5623
+ theirs to choose and the start minute is Celigo's to assign, and offer the
5624
+ nearest assigned minutes (today 4:50 or 5:05 around 5:00) or a run the
5625
+ user's own scheduler requests at that minute with
5626
+ `POST /v1/flows/{_id}/run`, which queues an on-demand run (409
5627
+ `job_already_queued` while an instance is already queued or running). Do
5628
+ not assemble a minute list or another expression shape to force a
5629
+ particular minute.
5604
5630
  - |-
5605
5631
  Wildcard/step/range forms (`? */5 * * * *`, `? 10-59/30 * * * *`) are
5606
5632
  valid and the scheduler runs them — never claim an existing schedule's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.187",
3
+ "version": "0.2.188",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [
package/schemas.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "a032b028",
4
+ "iasCommit": "a6978822",
5
5
  "generatedAt": "2026-10-23"
6
6
  },
7
7
  "roots": {