@zvada/cr8 0.1.0 → 0.3.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/.claude-plugin/plugin.json +3 -5
- package/.codex-plugin/mcp.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +34 -16
- package/dist/cr8.mjs +460 -171
- package/docs/user/app-store-screenshots.md +0 -2
- package/docs/user/cli.md +48 -42
- package/docs/user/desktop.md +48 -8
- package/docs/user/feedback.md +5 -1
- package/docs/user/install.md +60 -34
- package/docs/user/mcp.md +52 -18
- package/package.json +27 -59
- package/skills/cr8-design/SKILL.md +30 -16
- package/skills/cr8-design/references/build.md +63 -7
- package/skills/cr8-design/references/cli.md +6 -3
- package/skills/cr8-design/references/start.md +5 -1
- package/skills/cr8-design/references/verify.md +16 -0
- package/skills/cr8-flows/SKILL.md +3 -3
- package/skills/cr8-flows/references/results.md +2 -2
- package/skills/cr8-flows/references/run.md +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cr8-flows
|
|
3
3
|
description: Build, run and reuse CR8 Flows, node graphs over image, vector and video models, through its MCP or CLI surfaces. Use when a task needs several generations in sequence or in parallel, a repeatable recipe a person can rerun and edit, a video or vector step, or a chain such as draft, edit, upscale; and when a person asks for variations, a campaign kit, or a pipeline rather than one picture.
|
|
4
|
-
allowed-tools: Bash(cr8:*), Bash(npx @zvada/cr8@0.
|
|
4
|
+
allowed-tools: Bash(cr8:*), Bash(npx @zvada/cr8@0.3.0:*)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# CR8 Flows
|
|
8
8
|
|
|
9
|
-
A flow is a small graph saved in the project's `flows.json`: input steps, model steps and output steps, wired by typed ports. The person sees it as cards on a canvas, watches a run step by step, and can rerun or edit it later. Use a flow when the work is more than one generation, when it should be repeatable, or when it needs video, vector or an edit chain; use `canvas_generate` for one picture straight onto a design. This file is the contract; the files under `references/` hold the detail, read with `
|
|
9
|
+
A flow is a small graph saved in the project's `flows.json`: input steps, model steps and output steps, wired by typed ports. The person sees it as cards on a canvas, watches a run step by step, and can rerun or edit it later. Use a flow when the work is more than one generation, when it should be repeatable, or when it needs video, vector or an edit chain; use `canvas_generate` for one picture straight onto a design. This file is the contract; the files under `references/` hold the detail, read with `read_skill` (`name` and `path`) or `cr8 skills get cr8-flows --path references/<file>`.
|
|
10
10
|
|
|
11
11
|
## Start
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ You mint every id (flow, steps, edges): kebab-case, unique in the project. Steps
|
|
|
20
20
|
|
|
21
21
|
## Run and results
|
|
22
22
|
|
|
23
|
-
`workflow_run` runs the saved revision and answers with every output; `wait: false` answers at once and `workflow_run_status` follows it; `fromNodeId` reruns one step and what is downstream of it, reusing the rest. A failed run answers a `recovery` sentence.
|
|
23
|
+
`workflow_run` runs the saved revision and answers with every output; `wait: false` answers at once and `workflow_run_status` follows it; `fromNodeId` reruns one step and what is downstream of it, reusing the rest. A failed run answers a `recovery` sentence. Generated outputs stay on managed cloud paths, with their last result recorded in `flow-runs.json`. Judge them by looking: `workflow_place_output` copies images or SVGs into the project's immutable assets and inserts them in one scene transaction; `all: true` makes a review board, and without it one output is placed on an artboard. Clips stay in Flows. Detail in `references/run.md` and `references/results.md`.
|
|
24
24
|
|
|
25
25
|
## Account
|
|
26
26
|
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Where outputs land
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Flow outputs stay on their managed cloud `src`, with generation provenance. `flow-runs.json` beside `flows.json` records the last result so the graph can show it again; it does not make the output available offline. An output has `file` only when it already references a local project asset. **Add to Design** / `workflow_place_output` copies and validates image or SVG bytes into the project's immutable `assets/` before inserting an asset and layer in one scene transaction. Clips stay in Flows (`clip_stays_cloud`).
|
|
6
6
|
|
|
7
7
|
## Judge by looking
|
|
8
8
|
|
|
9
|
-
Never judge a run by its status.
|
|
9
|
+
Never judge a run by its status. Inspect each output in Flows, open `file` when present, or make a review board: `workflow_place_output` with `all: true` (CLI `workflow-place ID --all`) puts every output of the last run on one review artboard named after the flow, side by side at equal height, to the right of everything on the design; it answers the board's `artboardId`, its `x`, `y`, `width` and `height`, and `placed`, each output's layer and `file`. Read that artboard (export it with `canvas_export`, or look in the browser). Compose your own artboards clear of the board, since `canvas_doctor` names root artboards that overlap. `canvas_doctor` checks structure and legibility, not the brief.
|
|
10
10
|
|
|
11
11
|
## Place one output on a design
|
|
12
12
|
|
|
@@ -18,4 +18,4 @@ A run refused before any step with `connection_required` or `connection_expired`
|
|
|
18
18
|
|
|
19
19
|
## What a run answers
|
|
20
20
|
|
|
21
|
-
On the CLI, `workflow-run` and `workflow-run-status` answer compactly: each step's status and each output
|
|
21
|
+
On the CLI, `workflow-run` and `workflow-run-status` answer compactly: each step's status and each output's managed `src`; `file` is present only for an existing local project asset. New generated images, SVGs and clips stay on their cloud paths until an explicit download or placement. `--full` adds the provenance and the prompts sent. Over MCP the answer is the whole run: `status`, `nodeResults` (each step's status, artifact and provider ids), `outputs` (each with `outputNodeId`, `sourceNodeId`, the `asset`, and `file` when the project holds a copy), and on failure `failedNodeId` and `recovery`.
|