@smartkomm/plexus-cli 0.1.223 → 0.1.225
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/dist/cli.mjs +218 -309
- package/dist/skill/.managed-by-plexus-cli +1 -1
- package/dist/skill/SKILL.md +0 -1
- package/dist/skill/references/commands.md +0 -6
- package/dist/skill/references/notifications/trace-a-login.md +1 -1
- package/dist/skill/references/offer/node-tasks.md +1 -1
- package/package.json +1 -1
- package/dist/skill/references/offer/appointment-task.md +0 -84
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
dfa396eefc3da3706f7e3bf5d74f54ecc0268f55d2955511da2aabbec177213c
|
package/dist/skill/SKILL.md
CHANGED
|
@@ -196,7 +196,6 @@ 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). |
|
|
200
199
|
| [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`). |
|
|
201
200
|
| [offer/attach-form-to-workflow.md](references/offer/attach-form-to-workflow.md) | Mandant | Bind an existing or new SmartForm to a form node. |
|
|
202
201
|
| [offer/author-form-scenarios.md](references/offer/author-form-scenarios.md) | Mandant | Add a form's test scenarios and $env variables. |
|
|
@@ -2521,9 +2521,6 @@ 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) |
|
|
2527
2524
|
|
|
2528
2525
|
### `offer workflow node task delete`
|
|
2529
2526
|
|
|
@@ -2592,9 +2589,6 @@ Change the given fields of one composed task; validate before write
|
|
|
2592
2589
|
| `--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) |
|
|
2593
2590
|
| `--optional-en <value>` | English words of the skip button |
|
|
2594
2591
|
| `--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) |
|
|
2598
2592
|
|
|
2599
2593
|
### `offer workflow restamp-exports`
|
|
2600
2594
|
|
|
@@ -23,7 +23,7 @@ plexus-cli --env prod platform notifications list --template account.loginLink -
|
|
|
23
23
|
| Line | Means |
|
|
24
24
|
| --- | --- |
|
|
25
25
|
| `abgelehnt: <reason> — Anmeldeseite` / `— Portal <slug>` | a sign-in link was asked for and no mail went out, on the login page or that school's portal. `unknownAddress`: no account holds the address — usually a **typo**; look the person's real address up and compare. Login page only: `platformAdmin`, `unprovenAddress`, `noSchoolWithOption`. Portal only: `noSchoolAccess` (the account has no active access to that school). The page answered „Link gesendet" every time — it never says which |
|
|
26
|
-
| `
|
|
26
|
+
| `Benachrichtigung account.loginLink: sent — Relay: 250 … queued as <id>` | our relay accepted the mail; the queue id finds it in the relay's log |
|
|
27
27
|
| `Sitzung von <ip> — <browser>` | a sign-in happened. A session seconds after the letter from a foreign network is a **mail scanner** (Exchange Safe Links), not the person |
|
|
28
28
|
| `Passwort gesetzt (zuletzt)` | the credential was last changed then — compare with the failed attempts |
|
|
29
29
|
|
|
@@ -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
|
|
166
|
+
forwarded) — and no `completableIf`, `--locks-evidence` 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
|
|
package/package.json
CHANGED
|
@@ -1,84 +0,0 @@
|
|
|
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)
|