@cloud-cli/on 1.60.4 → 1.61.1

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/README.md CHANGED
@@ -98,7 +98,7 @@ steps:
98
98
  npx --yes semantic-release@24 -b main --no-ci
99
99
  ```
100
100
 
101
- Store the YAML as a draft and publish it through the authenticated API. Only published revisions can receive webhooks or scheduled runs:
101
+ Store the YAML as a draft and publish it through the authenticated API. Only published revisions can receive webhooks or scheduled runs. For an immediate test from the editor, save the draft and use **Run now**; this queues the latest saved draft revision without changing the schedule or publishing it:
102
102
 
103
103
  ```bash
104
104
  curl -u admin:"$RUNNER_ADMIN_SECRET" -X POST http://localhost:11235/api/workflows/validate \
@@ -296,6 +296,7 @@ The Ingress Gateway listens for incoming HTTP requests and serves the live web U
296
296
  | **`POST`** | `/api/workflows/validate` | Authenticated YAML validation without persistence. |
297
297
  | **`GET`, `PUT`, `DELETE`** | `/api/workflows/:id` | Authenticated revisioned workflow read, draft save, and deletion. |
298
298
  | **`POST`** | `/api/workflows/:id/publish` | Authenticated publication of the latest draft revision. |
299
+ | **`POST`** | `/api/workflows/:id/run` | Authenticated immediate run of the latest saved draft revision. |
299
300
  | **`GET`, `PUT`, `DELETE`** | `/api/secrets`, `/api/secrets/:name` | Authenticated encrypted secret-name and write-only value management. |
300
301
 
301
302
  ### Dashboard Features
package/dist/on.js CHANGED
@@ -102,9 +102,9 @@ async function m() {
102
102
  let [{ QueueManager: n }, { SecretStore: r }, { WebhookServer: i }, { startWorkers: a }, { WorkflowRepository: o }, { WorkflowScheduler: s }] = await Promise.all([
103
103
  import("./queue-DhXXzxm3.js"),
104
104
  import("./secrets-DhkqmawU.js"),
105
- import("./server-Bfa31cV3.js"),
106
- import("./worker-riimPLUr.js"),
107
- import("./workflows-BF2K4GpM.js"),
105
+ import("./server-Bgx7PJEV.js"),
106
+ import("./worker-BwNyfSpp.js"),
107
+ import("./workflows-DQQIVH7c.js"),
108
108
  import("./scheduler-2d1UPcxM.js")
109
109
  ]), c = new r(), l = new n(process.env.WORKER_NAME || "cli");
110
110
  switch (t) {