@smartkomm/plexus-cli 0.1.119 → 0.1.121

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 CHANGED
@@ -639,10 +639,12 @@ it lowers. A kind change drops what no longer fits and lists it under `dropped`.
639
639
  `node optional-action set|remove --dir <bundle> --node <decision> --key <k>` authors one
640
640
  entry under „Weiteres" (a `spawnTasks` binding): `--label [--label-en]`, `--tasks a,b`
641
641
  (keys of the node's tasks), `--trigger <group>` (who may press it), `--repeatable`,
642
- `--description [--description-en]`, `--clear-trigger`, `--clear-description`. `set`
642
+ `--description [--description-en]`, `--clear-trigger`, `--clear-description`, `--when <condition>` (offered only while that condition
643
+ over `$env` holds), `--clear-when`. `set`
643
644
  creates it when new (`--label` + `--tasks` required); `remove` is refused while
644
645
  `requiresOneOf` names the key. Recipe:
645
- [playbooks/offer/optional-assessment.md](./playbooks/offer/optional-assessment.md).
646
+ [playbooks/offer/optional-assessment.md](./playbooks/offer/optional-assessment.md); with a
647
+ condition: [playbooks/offer/conditional-optional-action.md](./playbooks/offer/conditional-optional-action.md).
646
648
 
647
649
  ### Notifications on a workflow node
648
650
 
@@ -709,7 +711,8 @@ plexus-cli --env <env> offer versions --offer <slug> # offerVersionId for appl
709
711
  pins are read as combined (they produce `contracts`) — is a warning
710
712
  `[resolver/pinNotStamped → offer plan]`, not an error; one under both readings stays an error.
711
713
  - **`set-cockpit-fields`** leaves parameters to the cockpit: each listed parameter's input cell becomes
712
- `{ "kind": "cockpit" }` (generator or Word-template node), the others lose it; the gate checks the names
714
+ `{ "kind": "cockpit" }` (generator or Word-template node), the others lose it; a binding or fixed value
715
+ the parameter held is replaced in the same write and named under `replaced`. The gate checks the names
713
716
  against the stamp (`[inputs/undeclared]`) and refuses a node-type setting such as the reserved Träger
714
717
  (`[inputs/notDeferrable]`). A party field needs no entry — the cockpit is its only source.
715
718
  - **Template parameters** belong to the template record (`catalog` `documentTemplates[].parameters`,