You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--dry-run`| No | Validate and lint without persisting. The response is identical to the committed write of the same body, so a caller can inspect `lint` and then re-send the request for real. Nothing is written, no audit entry is recorded, and collaborators are not notified. |
5015
+
|`--dry-run`| No | Validate and lint without writing, auditing, or notifying collaborators. Returns the same validation, preparation warnings, lint findings, and ID-ownership conflicts (`409`) as a committed write. `needsRedeployment` describes the pre-write state. For semantic operations, `mintedBlockIds` is empty; `previewBlockIds` contains provisional IDs with a warning, since committing mints new IDs. |
5016
5016
|`--no-dry-run`| No | Send --dry-run as false. |
5017
5017
|`--operations <json\|@file>`| Yes | Edits to apply, in a single batch, keyed by operation_type: [{"operation_type":"add","block_id":"my-fn","params":{"type":"function","name":"My Fn","inputs":{"code":"return {ok:true}"}}},{"operation_type":"edit","block_id":"<uuid>","params":{"name":"Renamed","connections":{"success":"my-fn"}}},{"operation_type":"delete","block_id":"<uuid>"}]. Also extract_from_subflow, whose params carry {"subflowId":"<loop-id>"}, and insert_into_subflow, which creates a block and so takes an add’s params plus that subflowId (JSON, or @path / @- to read a file or stdin). |
5018
5018
|`--atomic`| No | Fail the whole batch when any operation is declined or any block input would be dropped. The default applies what it can and reports the rest in `skipped` and `inputValidationErrors`; `true` writes nothing and answers `409` instead. |
@@ -5659,7 +5659,7 @@ sim workflows state replace <workflowId> [options]
5659
5659
5660
5660
| Option | Required | Description |
5661
5661
| --- | --- | --- |
5662
-
|`--dry-run`| No | Validate and lint without persisting. The response is identical to the committed write of the same body, so a caller can inspect `lint` and then re-send the request for real. Nothing is written, no audit entry is recorded, and collaborators are not notified. |
5662
+
|`--dry-run`| No | Validate and lint without writing, auditing, or notifying collaborators. Returns the same validation, preparation warnings, lint findings, and ID-ownership conflicts (`409`) as a committed write. `needsRedeployment` describes the pre-write state. For semantic operations, `mintedBlockIds` is empty; `previewBlockIds` contains provisional IDs with a warning, since committing mints new IDs. |
5663
5663
|`--no-dry-run`| No | Send --dry-run as false. |
5664
5664
|`--blocks <json\|@file>`| Yes | Blocks keyed by block id. (JSON, or @path / @- to read a file or stdin). |
5665
5665
|`--edges <json\|@file>`| Yes | Directed connections between blocks. (JSON, or @path / @- to read a file or stdin). |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/cli/workflows.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ Apply Workflow Operations (OAuth login or personal API key required)
62
62
63
63
| Option | Required | Description |
64
64
| --- | --- | --- |
65
-
|`--dry-run`| No | Validate and lint without persisting. The response is identical to the committed write of the same body, so a caller can inspect `lint` and then re-send the request for real. Nothing is written, no audit entry is recorded, and collaborators are not notified. |
65
+
|`--dry-run`| No | Validate and lint without writing, auditing, or notifying collaborators. Returns the same validation, preparation warnings, lint findings, and ID-ownership conflicts (`409`) as a committed write. `needsRedeployment` describes the pre-write state. For semantic operations, `mintedBlockIds` is empty; `previewBlockIds` contains provisional IDs with a warning, since committing mints new IDs. |
66
66
|`--no-dry-run`| No | Send --dry-run as false. |
67
67
|`--operations <json\|@file>`| Yes | Edits to apply, in a single batch, keyed by operation_type: [{"operation_type":"add","block_id":"my-fn","params":{"type":"function","name":"My Fn","inputs":{"code":"return {ok:true}"}}},{"operation_type":"edit","block_id":"<uuid>","params":{"name":"Renamed","connections":{"success":"my-fn"}}},{"operation_type":"delete","block_id":"<uuid>"}]. Also extract_from_subflow, whose params carry {"subflowId":"<loop-id>"}, and insert_into_subflow, which creates a block and so takes an add’s params plus that subflowId (JSON, or @path / @- to read a file or stdin). |
68
68
|`--atomic`| No | Fail the whole batch when any operation is declined or any block input would be dropped. The default applies what it can and reports the rest in `skipped` and `inputValidationErrors`; `true` writes nothing and answers `409` instead. |
@@ -677,7 +677,7 @@ Replace Workflow State (OAuth login or personal API key required)
677
677
678
678
| Option | Required | Description |
679
679
| --- | --- | --- |
680
-
|`--dry-run`| No | Validate and lint without persisting. The response is identical to the committed write of the same body, so a caller can inspect `lint` and then re-send the request for real. Nothing is written, no audit entry is recorded, and collaborators are not notified. |
680
+
|`--dry-run`| No | Validate and lint without writing, auditing, or notifying collaborators. Returns the same validation, preparation warnings, lint findings, and ID-ownership conflicts (`409`) as a committed write. `needsRedeployment` describes the pre-write state. For semantic operations, `mintedBlockIds` is empty; `previewBlockIds` contains provisional IDs with a warning, since committing mints new IDs. |
681
681
|`--no-dry-run`| No | Send --dry-run as false. |
682
682
|`--blocks <json\|@file>`| Yes | Blocks keyed by block id. (JSON, or @path / @- to read a file or stdin). |
683
683
|`--edges <json\|@file>`| Yes | Directed connections between blocks. (JSON, or @path / @- to read a file or stdin). |
0 commit comments