@smartkomm/plexus-cli 0.1.227 → 0.1.229
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 +4 -3
- package/dist/cli.mjs +329 -236
- package/dist/skill/.managed-by-plexus-cli +1 -1
- package/dist/skill/SKILL.md +1 -0
- package/dist/skill/references/commands.md +8 -2
- package/dist/skill/references/offer/appointment-task.md +84 -0
- package/dist/skill/references/offer/node-tasks.md +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
20864805c86700cb50e5112923ce568f9ad584ed8ea917516cfbfb81975a53be
|
package/dist/skill/SKILL.md
CHANGED
|
@@ -196,6 +196,7 @@ whole is the operator's (ask them; do not try).
|
|
|
196
196
|
| [organization/edit-org-structure.md](references/organization/edit-org-structure.md) | Mandant | Show, create, rename, move and delete Träger and units; remove a whole branch children-first. |
|
|
197
197
|
| [offer/add-workflow-node.md](references/offer/add-workflow-node.md) | Mandant | Insert a node (approval, form, contract, collectPayment, end …) into the workflow. |
|
|
198
198
|
| [offer/addresses.md](references/offer/addresses.md) | Mandant | How a node reads by full address ($node…, $task…, $env…), which flag sets which field, and the gate codes. |
|
|
199
|
+
| [offer/appointment-task.md](references/offer/appointment-task.md) | Mandant | Give a booked appointment its appointment task (held by the host, due N days after the end). |
|
|
199
200
|
| [offer/assignment-rule.md](references/offer/assignment-rule.md) | Mandant + Plattform | Change, test and publish who is responsible per slot; replace a person who leaves (`tenant-users groups revoke`). |
|
|
200
201
|
| [offer/attach-form-to-workflow.md](references/offer/attach-form-to-workflow.md) | Mandant | Bind an existing or new SmartForm to a form node. |
|
|
201
202
|
| [offer/author-form-scenarios.md](references/offer/author-form-scenarios.md) | Mandant | Add a form's test scenarios and $env variables. |
|
|
@@ -2521,6 +2521,9 @@ Add one composed task to a workflow node (result, blocks, condition, description
|
|
|
2521
2521
|
| `--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) |
|
|
2522
2522
|
| `--optional-en <value>` | English words of the skip button |
|
|
2523
2523
|
| `--clear-optional` | The task is owed again (removes optional) |
|
|
2524
|
+
| `--appointment-of <value>` | TERMINAUFGABE: the task of this node whose appointment this one is done at (its result is an appointment). The task then waits for the booking, is held by the appointment's host (chosen among --team) and is due --due-days-after-end days after the appointment ends |
|
|
2525
|
+
| `--due-days-after-end <value>` | Terminaufgabe: days after the appointment's END until it is due (0–60; replaces --due-in-days) |
|
|
2526
|
+
| `--clear-appointment` | The task is no Terminaufgabe any more (removes appointment) |
|
|
2524
2527
|
|
|
2525
2528
|
### `offer workflow node task delete`
|
|
2526
2529
|
|
|
@@ -2589,6 +2592,9 @@ Change the given fields of one composed task; validate before write
|
|
|
2589
2592
|
| `--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) |
|
|
2590
2593
|
| `--optional-en <value>` | English words of the skip button |
|
|
2591
2594
|
| `--clear-optional` | The task is owed again (removes optional) |
|
|
2595
|
+
| `--appointment-of <value>` | TERMINAUFGABE: the task of this node whose appointment this one is done at (its result is an appointment). The task then waits for the booking, is held by the appointment's host (chosen among --team) and is due --due-days-after-end days after the appointment ends |
|
|
2596
|
+
| `--due-days-after-end <value>` | Terminaufgabe: days after the appointment's END until it is due (0–60; replaces --due-in-days) |
|
|
2597
|
+
| `--clear-appointment` | The task is no Terminaufgabe any more (removes appointment) |
|
|
2592
2598
|
|
|
2593
2599
|
### `offer workflow restamp-exports`
|
|
2594
2600
|
|
|
@@ -3000,11 +3006,11 @@ Kick off the destructive local reseed and poll its run marker to completion.
|
|
|
3000
3006
|
| `--applicants <value>` | Applicant drive scope (the largest phase of a full seed): none \| minimal \| full (default full). none skips the drive; minimal drives one per engine path. |
|
|
3001
3007
|
| `--add <value>` | Drive ONLY these cases (comma-separated, e.g. vera-klein,dora-vertrag; finance = the finance cases) onto the existing base, without a wipe. Refuses a missing or stale base, a case already there and a demo only the full seed runs. |
|
|
3002
3008
|
| `--only <value>` | Drive ONLY these applicants (comma-separated case names, e.g. vera-klein,eva-abgeschlossen). Overrides --applicants and implies --finance-showcase none; unknown or ambiguous names fail loud server-side. |
|
|
3003
|
-
| `--if-needed` |
|
|
3009
|
+
| `--if-needed` | Wait for the local watcher to push current code, initialize an empty local database, or preserve its completed seed. Failed seeds require an explicit rebuild. |
|
|
3004
3010
|
| `--finance-showcase <value>` | Finance demo: none \| cases (the finance cases on the demo contracts; requires converter) \| full (cases plus the synthetic school year). Default full, or none with --only. |
|
|
3005
3011
|
| `--poll-interval <value>` | Seconds between status polls (default 5). |
|
|
3006
3012
|
| `--timeout <value>` | Max seconds for waiting on a seed slot plus the seed itself, counted from when the functions are pushed (default 1200). |
|
|
3007
|
-
| `--push-timeout <value>` | Max seconds for the functions push
|
|
3013
|
+
| `--push-timeout <value>` | Max seconds --if-needed waits for the local watcher's functions push, before the seed budget starts (default 600; a cold push under VM load took 319–393 s). |
|
|
3008
3014
|
|
|
3009
3015
|
## Organisation (school token)
|
|
3010
3016
|
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Give an appointment its Terminaufgabe („Taster Day durchführen")
|
|
2
|
+
|
|
3
|
+
**When to use:** a „Termin vereinbaren" task books an appointment (see
|
|
4
|
+
[Make a task close with an appointment](./task-appointment-result.md)), and the work
|
|
5
|
+
done AT that appointment — hold the interview, run the taster day, give feedback with
|
|
6
|
+
attachments — belongs to whoever hosts it, due a few days after it ends.
|
|
7
|
+
|
|
8
|
+
## The model in three sentences
|
|
9
|
+
|
|
10
|
+
The **Terminaufgabe** is an ordinary task of the same node with
|
|
11
|
+
`appointment: { of: '<booking task>', dueDaysAfterEnd: N }`. It spawns with its round
|
|
12
|
+
and waits („Wartet auf: <booking task>") until the booking binds it: its holder is the
|
|
13
|
+
appointment's **host** (a person of the task's team, or that team's owner on the
|
|
14
|
+
application), its due day the appointment's end + N. It closes with its result — the
|
|
15
|
+
feedback, a recommendation / choice / free text (with files, like every result) — and holds whatever
|
|
16
|
+
it `blocks` until then.
|
|
17
|
+
|
|
18
|
+
## Prerequisites
|
|
19
|
+
|
|
20
|
+
- The booking task exists with `result.kind: appointment`.
|
|
21
|
+
- The Terminaufgabe's team (`--team`) is the queue the task stays in. The host may be
|
|
22
|
+
any active staff member or team of the school: the host holds the task and answers it,
|
|
23
|
+
inside that team or not. To put a team on top of the participant picker, set
|
|
24
|
+
`result.primaryParticipantTeams` on the booking task (order only; the former name
|
|
25
|
+
`primaryHostTeams` is no longer read and publishes only with a
|
|
26
|
+
`[graph/retiredField]` warning — rename it in the exported bundle, then `offer plan`
|
|
27
|
+
/ `apply --publish`). A host outside the team
|
|
28
|
+
reads the result in a `team:…` chat only as its member — prefer `--chat all`.
|
|
29
|
+
Hosts who should also open the application in the cockpit need
|
|
30
|
+
`bewerbungsmanagement.applications.read`; answering the task needs only the task.
|
|
31
|
+
- The target environment runs a platform version that knows Terminaufgaben (`offer apply`
|
|
32
|
+
publishes against the deployed gate; if publish does not know `appointment`, ask the
|
|
33
|
+
platform operator).
|
|
34
|
+
|
|
35
|
+
## Steps
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# 1. The booking task no longer blocks the follow-up — the hold is derived.
|
|
39
|
+
plexus-cli offer workflow node task set --dir $WORK/$S --node decision --key tasterDayTermin --clear-blocks
|
|
40
|
+
# 2. The Terminaufgabe: team, link, due rule, feedback.
|
|
41
|
+
plexus-cli offer workflow node task add --dir $WORK/$S --node decision --key tasterDayDurchfuehren \
|
|
42
|
+
--title 'Taster Day durchführen' --title-en 'Hold the taster day' --team teachers \
|
|
43
|
+
--appointment-of tasterDayTermin --due-days-after-end 2 \
|
|
44
|
+
--result recommendation --chat all
|
|
45
|
+
# 3. If the booking task is part of an optional action, the Terminaufgabe joins it —
|
|
46
|
+
# and the action is repeatable: a cancelled appointment ends the round.
|
|
47
|
+
plexus-cli offer workflow node optional-action set --dir $WORK/$S --node decision --key tasterDay \
|
|
48
|
+
--tasks tasterDayTermin,tasterDayDurchfuehren --repeatable
|
|
49
|
+
plexus-cli offer validate --dir $WORK/$S
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Then the live path ([Edit a live tenant's offer](./edit-live-tenant-offer.md)):
|
|
53
|
+
`--env prod offer plan` → `--env prod offer apply --allow-prod --publish` → plan again
|
|
54
|
+
until every row is `same`.
|
|
55
|
+
|
|
56
|
+
## Verify
|
|
57
|
+
|
|
58
|
+
- `offer validate` shows no `[workItems/appointment*]` error.
|
|
59
|
+
- In the cockpit: trigger the action → the Terminaufgabe reads „Wartet auf: …";
|
|
60
|
+
book with any staff member as host → the card shows the appointment line
|
|
61
|
+
(„Taster Day · Di., 21.10. 09:00–12:00 · Raum 2 · Gastgeber: …") and the host holds it.
|
|
62
|
+
|
|
63
|
+
## Gotchas
|
|
64
|
+
|
|
65
|
+
- Publish refuses: `of` naming no appointment task of the same node
|
|
66
|
+
(`appointmentOfUnknown`), two Terminaufgaben for one booking task (`appointmentOfTwice`),
|
|
67
|
+
`--due-in-days` beside the end rule or N outside 0–60 (`appointmentTaskDue`), any
|
|
68
|
+
`blocks` aimed at it (`appointmentTaskBlocked`), a different optional action than the
|
|
69
|
+
booking task (`appointmentTaskBinding`), an optional action spawning the booking task
|
|
70
|
+
without `repeatable: true` (`appointmentActionRepeatable` — a cancellation ends the
|
|
71
|
+
round, and without a second one a decision waiting for the action via `requiresOneOf`
|
|
72
|
+
would hang for good), an approval / `when` / `optional` /
|
|
73
|
+
family request / missing result (`appointmentTaskShape`). Warning
|
|
74
|
+
`appointmentChatUnreadable`: the feedback chat is another team's — the host may not
|
|
75
|
+
read it; prefer `all` or the task's own team.
|
|
76
|
+
- Holder and due day have ONE writer, the appointment: „Zuweisen" refuses a bound
|
|
77
|
+
Terminaufgabe, and so does „Wiederöffnen" (edit the feedback text instead).
|
|
78
|
+
- A staff member who hosts an appointment with an open Terminaufgabe cannot be
|
|
79
|
+
withdrawn (`[appointment/hostInUse]`) — change the appointment's host first.
|
|
80
|
+
- Running applications keep their pinned version.
|
|
81
|
+
|
|
82
|
+
## Related
|
|
83
|
+
|
|
84
|
+
- [Make a task close with an appointment](./task-appointment-result.md)
|
|
@@ -163,7 +163,7 @@ older release than your CLI — that needs a platform operator, not a bundle edi
|
|
|
163
163
|
school's header, the task and its answer; in the system the task's dialog offers the same page as its
|
|
164
164
|
„Bearbeitungsansicht". It takes a prose result — `--result freetext`, `recommendation`, or `choice`
|
|
165
165
|
without `--writes` (a value a later step reads would come from a link that may have been
|
|
166
|
-
forwarded) — and no `completableIf`, `--locks-evidence` or family request
|
|
166
|
+
forwarded) — and no `completableIf`, `--locks-evidence`, `--appointment-of` or family request
|
|
167
167
|
(`[workItems/feedback*]`). A recommendation or choice shows its options on the page; the words land in
|
|
168
168
|
the chat like any result. `--clear-feedback` removes it.
|
|
169
169
|
|