@gonovus-ai/spec-flow-cli 1.3.0 → 1.3.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 +2 -2
- package/guides/boards.md +25 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ seven-day Better Auth CLI Session. It supports the Node.js 24 runtime line;
|
|
|
39
39
|
Node.js 22 and unverified future major versions are intentionally unsupported.
|
|
40
40
|
|
|
41
41
|
```bash
|
|
42
|
-
npm install --global @gonovus-ai/spec-flow-cli@1.3.
|
|
42
|
+
npm install --global @gonovus-ai/spec-flow-cli@1.3.1
|
|
43
43
|
specflow auth login
|
|
44
44
|
specflow auth status
|
|
45
45
|
specflow auth logout
|
|
@@ -88,7 +88,7 @@ review in the Web application, and publishing waits until then (`REVIEW_PENDING`
|
|
|
88
88
|
specflow version --json --skill-version 0.8.0 --compatible-cli "^1.2.0"
|
|
89
89
|
specflow upgrade
|
|
90
90
|
specflow upgrade --yes
|
|
91
|
-
specflow upgrade --to 1.3.
|
|
91
|
+
specflow upgrade --to 1.3.1
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
`version` shows the installed CLI and public advice from the selected origin.
|
package/guides/boards.md
CHANGED
|
@@ -84,12 +84,28 @@ specflow board import --workspace-id WORKSPACE --document-id PAY-D3 --file topol
|
|
|
84
84
|
|
|
85
85
|
Run the replace write only after the User agrees to lose the existing layout.
|
|
86
86
|
`--file` is a Mermaid flowchart (`.mmd`: `flowchart LR`, `subgraph`, node shapes
|
|
87
|
-
`[box]`, `(round)`, `{decision}`, `[(database)]`, edges
|
|
88
|
-
|
|
87
|
+
`[box]`, `(round)`, `{decision}`, `[(database)]`, edges `-->`, `-.->` dashed, `==>`
|
|
88
|
+
thick with `|label|`, plus `classDef`, `class`, `:::class`, `style`, and `linkStyle`)
|
|
89
|
+
or topology JSON (`.json`, also a `board read` result). `new` adds a board, `append`
|
|
89
90
|
lays new nodes beside an existing board and may connect them to its node IDs,
|
|
90
91
|
`replace` keeps the board's ID and title and lays it out anew (the old picture stays
|
|
91
92
|
in earlier Revisions).
|
|
92
93
|
|
|
94
|
+
## Colors and styles
|
|
95
|
+
|
|
96
|
+
Colors align directly with the Web board (Excalidraw) palette so light and dark themes
|
|
97
|
+
match manual drawings:
|
|
98
|
+
|
|
99
|
+
- Built-in `color` presets: `gray`, `bronze`, `cyan`, `blue`, `violet`, `grape`, `pink`,
|
|
100
|
+
`green`, `teal`, `yellow`, `orange`, `red`. Pass `null` in `board edit` to reset to
|
|
101
|
+
the default board color.
|
|
102
|
+
- Exact passthrough fields for custom Web pairings: `strokeColor` and `backgroundColor`
|
|
103
|
+
(`#rrggbb`, `black`, `white`, or `transparent`), `fillStyle` (`solid`, `hachure`,
|
|
104
|
+
`cross-hatch`) on nodes and groups, `strokeStyle` (`solid`, `dashed`, `dotted`) on
|
|
105
|
+
edges, and `strokeWidth` (`1`, `2`, `4`) on nodes, groups, and edges.
|
|
106
|
+
- In Mermaid `.mmd`, external Hex colors in `classDef` / `style` / `linkStyle` map to
|
|
107
|
+
the nearest Excalidraw palette swatch and report the mapping in `warnings`.
|
|
108
|
+
|
|
93
109
|
## Edit
|
|
94
110
|
|
|
95
111
|
```sh
|
|
@@ -98,10 +114,13 @@ specflow board edit --workspace-id WORKSPACE --document-id PAY-D3 --board-id BOA
|
|
|
98
114
|
```
|
|
99
115
|
|
|
100
116
|
`--ops` is a JSON array (or `{"operations": [...]}`) applied in order, all or
|
|
101
|
-
nothing: `setNodeLabel`, `setNodeShape`, `removeNode` (also removes
|
|
102
|
-
`addEdge` (between existing nodes
|
|
103
|
-
`
|
|
104
|
-
`
|
|
117
|
+
nothing: `setNodeLabel`, `setNodeShape`, `setNodeColor`, `removeNode` (also removes
|
|
118
|
+
its edges), `addEdge` (between existing nodes; accepts optional `color`, `strokeColor`,
|
|
119
|
+
`strokeStyle`, `strokeWidth`), `removeEdge`, `setEdgeLabel`, `setEdgeStyle`,
|
|
120
|
+
`moveNodeToGroup`, `removeNodeFromGroup`, `setGroupLabel`, `setGroupColor`,
|
|
121
|
+
`renameBoard`, `deleteBoard`. For example:
|
|
122
|
+
`[{"op": "setNodeColor", "nodeId": "api", "color": "blue"}, {"op": "setEdgeStyle", "edgeId": "e1", "color": "red", "strokeStyle": "dashed"}]`.
|
|
123
|
+
Style operations preserve existing coordinates and routing. A refused operation
|
|
105
124
|
is named in the error; nothing is applied. Ask the User before `deleteBoard`.
|
|
106
125
|
|
|
107
126
|
## Dry runs, keys and versions
|