@smartkomm/plexus-cli 0.1.167 → 0.1.169
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/dist/cli.mjs +259 -254
- package/dist/skill/.managed-by-plexus-cli +1 -1
- package/dist/skill/references/commands.md +7 -7
- package/dist/skill/references/offer/addresses.md +1 -1
- package/dist/skill/references/offer/form-views.md +10 -5
- package/dist/skill/references/offer/node-tasks.md +1 -1
- package/dist/spec.snapshot.json +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1433d9292f0391af557ec97805d7b59cb5db6bf8028074d30a9cd94156f5b231
|
|
@@ -2299,7 +2299,7 @@ Edit a workflow node (label/assign-decision/form/target/contract/payment/routing
|
|
|
2299
2299
|
| `--node <value>` (required) | Node id to edit |
|
|
2300
2300
|
| `--label <value>` | New node label (German). A node with a real English label needs --label-en too |
|
|
2301
2301
|
| `--label-en <value>` | New node label (English); alone it re-translates the current German |
|
|
2302
|
-
| `--
|
|
2302
|
+
| `--view <value>` | decision only: the view the decision row is worked in, a view address: form:<formNode>#<viewKey>; empty removes it |
|
|
2303
2303
|
| `--assign-decision <value>` | decision only: replace the decision-row group key (this is the whole wiring) |
|
|
2304
2304
|
| `--assign-team <value>` | waitlist only: permission-group key whose members may promote beside the responsible person (actionTeams.promote); "" removes it |
|
|
2305
2305
|
| `--comment-required <value>` | decision only: replace comment-required outcome ids — <id>[,<id>] |
|
|
@@ -2482,10 +2482,10 @@ Add one composed task to a workflow node (result, blocks, condition, description
|
|
|
2482
2482
|
| `--clear-when` | Remove --when and --on-condition-return |
|
|
2483
2483
|
| `--reads <value>` | Evidence: form fields by address — '$node.<formNode>.admission.a,$node.<formNode>.admission.b' (replaces the list) |
|
|
2484
2484
|
| `--clear-reads` | Remove the reads list |
|
|
2485
|
-
| `--documents <value>` | Documents the task points at, shown as links under it: artifact:<
|
|
2485
|
+
| `--documents <value>` | Documents the task points at, shown as links under it: artifact:<slot> (its node's or a node's before it), field:'$node.<formNode>.admission.<docRef field>' (comma-separated; replaces the list) |
|
|
2486
2486
|
| `--clear-documents` | Remove the documents list |
|
|
2487
|
-
| `--
|
|
2488
|
-
| `--clear-
|
|
2487
|
+
| `--view <value>` | The view the task is worked in, a view address: form:<formNode>#<viewKey> (an authored view, or documents / form), artifact:<slot>[#coverLetter\|contract], field:'$node.<form>.admission.<field>' |
|
|
2488
|
+
| `--clear-view` | Remove the view |
|
|
2489
2489
|
| `--locks-evidence` | Once decided, lock the evidence (reads + the fields behind --when) against corrections until the team reopens the task |
|
|
2490
2490
|
| `--clear-locks-evidence` | Remove locksEvidence |
|
|
2491
2491
|
| `--feedback` | A feedback task: free text, answered on a blank page by the mail's link or in the editing view |
|
|
@@ -2553,10 +2553,10 @@ Change the given fields of one composed task; validate before write
|
|
|
2553
2553
|
| `--clear-when` | Remove --when and --on-condition-return |
|
|
2554
2554
|
| `--reads <value>` | Evidence: form fields by address — '$node.<formNode>.admission.a,$node.<formNode>.admission.b' (replaces the list) |
|
|
2555
2555
|
| `--clear-reads` | Remove the reads list |
|
|
2556
|
-
| `--documents <value>` | Documents the task points at, shown as links under it: artifact:<
|
|
2556
|
+
| `--documents <value>` | Documents the task points at, shown as links under it: artifact:<slot> (its node's or a node's before it), field:'$node.<formNode>.admission.<docRef field>' (comma-separated; replaces the list) |
|
|
2557
2557
|
| `--clear-documents` | Remove the documents list |
|
|
2558
|
-
| `--
|
|
2559
|
-
| `--clear-
|
|
2558
|
+
| `--view <value>` | The view the task is worked in, a view address: form:<formNode>#<viewKey> (an authored view, or documents / form), artifact:<slot>[#coverLetter\|contract], field:'$node.<form>.admission.<field>' |
|
|
2559
|
+
| `--clear-view` | Remove the view |
|
|
2560
2560
|
| `--locks-evidence` | Once decided, lock the evidence (reads + the fields behind --when) against corrections until the team reopens the task |
|
|
2561
2561
|
| `--clear-locks-evidence` | Remove locksEvidence |
|
|
2562
2562
|
| `--feedback` | A feedback task: free text, answered on a blank page by the mail's link or in the editing view |
|
|
@@ -70,7 +70,7 @@ Which flag sets which field:
|
|
|
70
70
|
| resolver governedDocument / engagePush / review `form` | `node set --form '<instance address>'` (engagePush and review also at add) |
|
|
71
71
|
| countersign / engagePush `contract`, engagePush `payment` | `node add|set --contract|--payment` |
|
|
72
72
|
| roleAssign / completenessCheck `person` | `node add|set --person` |
|
|
73
|
-
| task `when`, `reads`, `documents` | `node task add|set --when|--reads|--documents` (`field:<address
|
|
73
|
+
| task `when`, `reads`, `documents` | `node task add|set --when|--reads|--documents` (`field:<address>`; a document slot — the node's own or an earlier node's — is `artifact:<key>`, no address) |
|
|
74
74
|
| task family request | `--family-request-fields <addresses>` or `--family-request-from '$node.<form>.admission'` |
|
|
75
75
|
| record field suggestion | `--field '{…,"suggest":{"kind":"form","address":"$node.form.admission.alleinerziehend"}}'` |
|
|
76
76
|
|
|
@@ -40,13 +40,18 @@ and `documents` are the standard views every form has), and
|
|
|
40
40
|
## Bind a task to the view
|
|
41
41
|
Opening the application for that task lands in the view; the reader may switch, and
|
|
42
42
|
the task's own `--documents` still say which fields stay marked in it. The decision
|
|
43
|
-
row is bound on its node, every other task on the task
|
|
43
|
+
row is bound on its node, every other task on the task. `--view` takes a view
|
|
44
|
+
address — a form view, but also a document or one part of it:
|
|
44
45
|
```bash
|
|
45
|
-
plexus-cli offer workflow node set --dir <bundle> --node <decisionNode> --
|
|
46
|
-
plexus-cli offer workflow node task set --dir <bundle> --node <node> --key <task> --
|
|
46
|
+
plexus-cli offer workflow node set --dir <bundle> --node <decisionNode> --view 'form:form#principal'
|
|
47
|
+
plexus-cli offer workflow node task set --dir <bundle> --node <node> --key <task> --view 'form:form#principal'
|
|
48
|
+
plexus-cli offer workflow node task set --dir <bundle> --node <node> --key <task> --view 'artifact:contract#coverLetter'
|
|
47
49
|
```
|
|
48
|
-
`[
|
|
49
|
-
|
|
50
|
+
`[view/unknownView]` refuses a view the form does not have, `[view/unknownForm]` a
|
|
51
|
+
form node that does not exist, `[view/unknownSlot]` a document slot no node
|
|
52
|
+
declares (a slot is the node's `artifacts[].key`, not the node id). Which view
|
|
53
|
+
opens never decides anything: what holds the decision stays `reads`. A bundle
|
|
54
|
+
still carrying `formView: { form, key }` is moved by `offer upgrade`.
|
|
50
55
|
|
|
51
56
|
## Then
|
|
52
57
|
`offer plan`, `offer apply --publish`. An application stays on the form revision it
|
|
@@ -12,7 +12,7 @@ around it).
|
|
|
12
12
|
`--when`, only while that **boolean form export** holds. Everything a task reads names
|
|
13
13
|
its producer by full address (single quotes): `--when` / `--reads`
|
|
14
14
|
(`'$node.<formNode>.admission.<field>'`, one form per task — `[address/mixedForms]`),
|
|
15
|
-
`--documents` (`artifact:<own
|
|
15
|
+
`--documents` (`artifact:<slot>` — the node's own or an earlier node's —, `field:<address>`),
|
|
16
16
|
`--family-request-fields <addresses>` / `--family-request-from '$node.<formNode>.admission'`,
|
|
17
17
|
a record field's `"suggest":{"kind":"form","address":"$node.…"}`. A bare key is refused
|
|
18
18
|
with the addresses visible at the node; the producer must run on every path before it
|