@smartkomm/plexus-cli 0.1.79 → 0.1.81
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 +3 -3
- package/dist/cli.mjs +254 -314
- package/dist/skill/.managed-by-plexus-cli +1 -1
- package/dist/skill/SKILL.md +0 -1
- package/dist/skill/references/commands.md +0 -2
- package/dist/skill/references/offer/appointment-task.md +3 -4
- package/dist/skill/references/offer/optional-assessment.md +4 -8
- package/dist/spec.snapshot.json +1 -1
- package/package.json +1 -1
- package/dist/skill/references/offer/task-result-files.md +0 -52
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
083f8f43389acf5562214396dc63283433b74ab80693a0321a950c23bc495f7f
|
package/dist/skill/SKILL.md
CHANGED
|
@@ -220,7 +220,6 @@ whole is the operator's (ask them; do not try).
|
|
|
220
220
|
| [offer/staff-input-if-node.md](references/offer/staff-input-if-node.md) | Mandant | A staff input plus an if node that branches on it. |
|
|
221
221
|
| [offer/task-appointment-result.md](references/offer/task-appointment-result.md) | Mandant | A task that ends with an appointment (mail with .ics to the family). |
|
|
222
222
|
| [offer/task-family-request.md](references/offer/task-family-request.md) | Mandant | A task asks the family for data and closes itself on the answer. |
|
|
223
|
-
| [offer/task-result-files.md](references/offer/task-result-files.md) | Mandant | A task result with up to 20 files. |
|
|
224
223
|
| [offer/template-document-node.md](references/offer/template-document-node.md) | Mandant | Produce a letter from a Word template with a template node. |
|
|
225
224
|
| [offer/upgrade-bundle.md](references/offer/upgrade-bundle.md) | Mandant | Upgrade a bundle exported in an older format, answering what it will not guess. |
|
|
226
225
|
| [offer/wire-contract-generator.md](references/offer/wire-contract-generator.md) | Mandant + Plattform | Pin a contract generator or package, cockpit fields, export form fields, re-stamp formExports, test the new version. |
|
|
@@ -2439,7 +2439,6 @@ Add one composed task to a workflow node (result, blocks, condition, description
|
|
|
2439
2439
|
| `--item <value>` | pricedItem only: the article it prices — its catalog key (billing_item_definitions.configKey, e.g. tuition) |
|
|
2440
2440
|
| `--result-label <value>` | choice/pricedItem/reduction: the name of the result's value (German; without --result-label-en it stands in for English too) |
|
|
2441
2441
|
| `--result-label-en <value>` | English name of the result's value |
|
|
2442
|
-
| `--files` | freetext/recommendation/choice without --writes: the person may attach files to the result — text and files become one chat message (--no-files removes it) |
|
|
2443
2442
|
| `--optional <value>` | OPTIONAL task: nothing waits for it; its holder may close it without a result with this button (German, e.g. „Keine Einschätzung abgeben“; without --optional-en it stands in for English too) |
|
|
2444
2443
|
| `--optional-en <value>` | English words of the skip button |
|
|
2445
2444
|
| `--clear-optional` | The task is owed again (removes optional) |
|
|
@@ -2508,7 +2507,6 @@ Change the given fields of one composed task; validate before write
|
|
|
2508
2507
|
| `--item <value>` | pricedItem only: the article it prices — its catalog key (billing_item_definitions.configKey, e.g. tuition) |
|
|
2509
2508
|
| `--result-label <value>` | choice/pricedItem/reduction: the name of the result's value (German; without --result-label-en it stands in for English too) |
|
|
2510
2509
|
| `--result-label-en <value>` | English name of the result's value |
|
|
2511
|
-
| `--files` | freetext/recommendation/choice without --writes: the person may attach files to the result — text and files become one chat message (--no-files removes it) |
|
|
2512
2510
|
| `--optional <value>` | OPTIONAL task: nothing waits for it; its holder may close it without a result with this button (German, e.g. „Keine Einschätzung abgeben“; without --optional-en it stands in for English too) |
|
|
2513
2511
|
| `--optional-en <value>` | English words of the skip button |
|
|
2514
2512
|
| `--clear-optional` | The task is owed again (removes optional) |
|
|
@@ -12,7 +12,7 @@ The **Terminaufgabe** is an ordinary task of the same node with
|
|
|
12
12
|
and waits („Wartet auf: <booking task>") until the booking binds it: its holder is the
|
|
13
13
|
appointment's **host** (a person of the task's team, or that team's owner on the
|
|
14
14
|
application), its due day the appointment's end + N. It closes with its result — the
|
|
15
|
-
feedback, a recommendation / choice / free text with
|
|
15
|
+
feedback, a recommendation / choice / free text (with files, like every result) — and holds whatever
|
|
16
16
|
it `blocks` until then.
|
|
17
17
|
|
|
18
18
|
## Prerequisites
|
|
@@ -31,11 +31,11 @@ it `blocks` until then.
|
|
|
31
31
|
```bash
|
|
32
32
|
# 1. The booking task no longer blocks the follow-up — the hold is derived.
|
|
33
33
|
plexus-cli offer workflow node task set --dir $WORK/$S --node decision --key tasterDayTermin --clear-blocks
|
|
34
|
-
# 2. The Terminaufgabe: team, link, due rule, feedback
|
|
34
|
+
# 2. The Terminaufgabe: team, link, due rule, feedback.
|
|
35
35
|
plexus-cli offer workflow node task add --dir $WORK/$S --node decision --key tasterDayDurchfuehren \
|
|
36
36
|
--title 'Taster Day durchführen' --title-en 'Hold the taster day' --team teachers \
|
|
37
37
|
--appointment-of tasterDayTermin --due-days-after-end 2 \
|
|
38
|
-
--result recommendation --chat all
|
|
38
|
+
--result recommendation --chat all
|
|
39
39
|
# 3. If the booking task is part of an optional action, the Terminaufgabe joins it —
|
|
40
40
|
# and the action is repeatable: a cancelled appointment ends the round.
|
|
41
41
|
plexus-cli offer workflow node optional-action set --dir $WORK/$S --node decision --key tasterDay \
|
|
@@ -76,4 +76,3 @@ until every row is `same`.
|
|
|
76
76
|
## Related
|
|
77
77
|
|
|
78
78
|
- [Make a task close with an appointment](./task-appointment-result.md)
|
|
79
|
-
- [Files on a task result](./task-result-files.md)
|
|
@@ -15,11 +15,10 @@ assessment from the „Weiteres" menu — without a letter to the family.
|
|
|
15
15
|
The result must be prose: free text, a recommendation, or a choice without `writes`
|
|
16
16
|
(`[workItems/optionalNeedsProseResult]`). A task of an action listed in `requiresOneOf`
|
|
17
17
|
is never optional (`[workItems/optionalInRequiresOneOf]`).
|
|
18
|
-
- **Files
|
|
18
|
+
- **Files**: every result takes up to 20 files next to its text (no switch).
|
|
19
19
|
Text and files go into the result's chat as one message. Find them later in the cockpit
|
|
20
20
|
under Verlauf/Aktivitäten (tab of the chat the result names), shown only to people who
|
|
21
|
-
read that chat — never under „Dokumente"
|
|
22
|
-
([task-result-files.md](./task-result-files.md)).
|
|
21
|
+
read that chat — never under „Dokumente".
|
|
23
22
|
- **„Einschätzung einholen"** is a `spawnTasks` optional action that references an optional
|
|
24
23
|
task assigned to a role (`--team geschaeftsfuehrung`). Pressing the action spawns that
|
|
25
24
|
task. A triggered optional task does not hold the decision. An internal task never
|
|
@@ -35,13 +34,10 @@ Use a scratch dir for a real tenant
|
|
|
35
34
|
plexus-cli offer workflow node task set --dir <dir> --node aufnahme --key oeaEinschaetzung \
|
|
36
35
|
--clear-blocks --optional "Keine Einschätzung abgeben" --optional-en "No assessment"
|
|
37
36
|
|
|
38
|
-
# 2. The
|
|
39
|
-
plexus-cli offer workflow node task set --dir <dir> --node aufnahme --key schulleitungPruefung --files
|
|
40
|
-
|
|
41
|
-
# 3. The task the action spawns, then the action
|
|
37
|
+
# 2. The task the action spawns, then the action
|
|
42
38
|
plexus-cli offer workflow node task add --dir <dir> --node aufnahme --key gfEinschaetzung \
|
|
43
39
|
--title "Einschätzung Geschäftsführung" --title-en "Management assessment" \
|
|
44
|
-
--team geschaeftsfuehrung --due-in-days 3 --result freetext --chat all
|
|
40
|
+
--team geschaeftsfuehrung --due-in-days 3 --result freetext --chat all \
|
|
45
41
|
--optional "Keine Einschätzung abgeben" --optional-en "No assessment"
|
|
46
42
|
plexus-cli offer workflow node optional-action set --dir <dir> --node aufnahme --key einschaetzung \
|
|
47
43
|
--label "Einschätzung einholen" --label-en "Request an assessment" \
|