@clickraft/cli 0.7.2 → 0.7.3

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/CHANGELOG.md CHANGED
@@ -1,9 +1,21 @@
1
- ## [0.7.2](https://github.com/clickraft/cli/compare/v0.7.1...v0.7.2) (2026-05-26)
1
+ ## [0.7.3](https://github.com/clickraft/cli/compare/v0.7.2...v0.7.3) (2026-05-26)
2
2
 
3
3
  ### Bug Fixes
4
4
 
5
- * **workflows:** split comma-separated values in --tags for create and apply ([c3dedc5](https://github.com/clickraft/cli/commit/c3dedc530e5aaf607d3958597787934f5103b4ea))
5
+ * **docs:** correct workflow examples — previous docs taught fictional node types ([bc45a97](https://github.com/clickraft/cli/commit/bc45a975c216120d753bea8fb92dbed14646cbc0))
6
6
 
7
7
  # Changelog
8
8
 
9
9
  All notable changes to the Clickraft CLI are documented here.
10
+
11
+ ## Unreleased
12
+
13
+ ### Fixed
14
+
15
+ - **Workflow docs taught fictional node types and port names.** All examples in
16
+ `docs/workflows.md` and `README.md` now use real node types from the server
17
+ registry (`textPrompt`, `imageGeneration`, `assistant`, etc.) and kebab-case
18
+ handle IDs (`text-output`, `prompt-input`, `image-output`, `image-input`).
19
+ Users who were following the old examples with `generate`/`upload` node types
20
+ or `image`/`file` port names will need to switch to the canonical values
21
+ listed in the new reference table in `docs/workflows.md`.
package/README.md CHANGED
@@ -60,7 +60,7 @@ clickraft workflow apply <workflow-id> --auto-rev --from-file ops.json
60
60
 
61
61
  # Or inline a single operation
62
62
  clickraft workflow apply <workflow-id> --auto-rev \
63
- --op '{"op":"add_node","node":{"id":"n1","type":"generate","config":{}}}'
63
+ --op '{"op":"add_node","node":{"id":"gen-1","type":"imageGeneration","config":{}}}'
64
64
  ```
65
65
 
66
66
  The `--auto-rev` flag is recommended for agent use — it fetches the current `canvas_rev` before mutating and retries once if a conflict occurs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickraft/cli",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "The Clickraft CLI — generate images, manage assets, and author visual workflows.",
5
5
  "homepage": "https://clickraft.ai",
6
6
  "bugs": "https://github.com/clickraft/cli/issues",