@smartkomm/plexus-cli 0.1.188 → 0.1.190

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.
@@ -1 +1 @@
1
- 05c2e0da139625d4b08ca3795381cb7caf13d5f4502acd9482f8001b2035797e
1
+ 7a9ef65e3086691195618b6d1fe33c902e3c888b86f3b10798f50d487444d01f
@@ -2243,6 +2243,8 @@ Create or change one optional action (spawnTasks) of a decision node; validate b
2243
2243
  | `--repeatable` | A finished round may run again (--no-repeatable: once) |
2244
2244
  | `--when <value>` | Offer condition: one expression over $env, e.g. "$env.stage.key == 'early-years-3'" |
2245
2245
  | `--clear-when` | Remove --when (always offered) |
2246
+ | `--input <value>` | Task (one of --tasks, a record result) the presser answers in the trigger dialog |
2247
+ | `--clear-input` | Remove --input (the press asks nothing) |
2246
2248
 
2247
2249
  ### `offer workflow node reads`
2248
2250
 
@@ -48,6 +48,19 @@ plexus-cli offer workflow node optional-action set --dir <dir> --node aufnahme -
48
48
  plexus-cli offer validate --dir <dir>
49
49
  ```
50
50
 
51
+ **Ask the presser something at the press** (`--input`): name one of the action's
52
+ `--tasks` as its input. Whoever presses fills it in the trigger dialog and it is done in
53
+ the same step; the round's other tasks read its values. Publish refuses an input that is
54
+ not a `record` task of the `--trigger` team, carries `blocks` / `when` / `optional` /
55
+ `appointment` / `feedback`, or is the action's only task that holds the step
56
+ (`[optionalAction/input]`).
57
+
58
+ ```bash
59
+ plexus-cli offer workflow node optional-action set --dir <dir> --node aufnahme --key einschaetzung \
60
+ --input gfEingabe
61
+ # remove it again: --clear-input
62
+ ```
63
+
51
64
  The group named by `--team` must hold `aufgaben.*` rights, or its members cannot open the
52
65
  task (`tenant_admin` usually holds none). A rights failure blocks nothing at publish; it
53
66
  only shows up in the cockpit.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartkomm/plexus-cli",
3
- "version": "0.1.188",
3
+ "version": "0.1.190",
4
4
  "description": "Unified Plexus admin + admission-offer config CLI (Convex backend).",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",