@smartkomm/plexus-cli 0.1.269 → 0.1.270

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
- ac60d59a37c4310badf469ee31e3339fcfb225ae88ced55fac2eecbe7e5f2ba4
1
+ 394b840043f7b5b3f58779403d43f2680c73a75f9175305ca6494bfead8632d4
@@ -24,7 +24,7 @@ admission:staffStartApplicationForParty` / `workflow:runTestAction` / `admission
24
24
  E="--env staging --tenant test"
25
25
 
26
26
  # 1. Start (always test mode); prints the application id and what test mode offers now.
27
- plexus-cli $E applications start-test --offer grundschule-havelland \
27
+ plexus-cli $E applications start-test --offer gymnasium-havelland \
28
28
  --run <runKey|runId> --stage <stageKey|stageId> --applicant test@example.com
29
29
  # An offer that declares staff inputs needs each one, once:
30
30
  # --staff-input staffApplication=false (see ../offer/staff-input-if-node.md)
@@ -43,8 +43,8 @@ plexus-cli $E applications discard-test <id>
43
43
 
44
44
  Reading verbs (no `--env` needed beyond the usual resolution):
45
45
  ```bash
46
- plexus-cli $E applications list --offer grundschule-havelland [--test-only]
47
- plexus-cli $E applications counts --offer grundschule-havelland
46
+ plexus-cli $E applications list --offer gymnasium-havelland [--test-only]
47
+ plexus-cli $E applications counts --offer gymnasium-havelland
48
48
  ```
49
49
 
50
50
  ## Verify
@@ -57,7 +57,7 @@ plexus-cli $E applications counts --offer grundschule-havelland
57
57
  - `start-test` creates a new application on every call; `discard-test` on a real application
58
58
  is refused by the server.
59
59
  - `--run`/`--stage` match a bundle key or an id only; a display name is refused with the list
60
- of what exists, a stored key (`gs-stufe-klasse-1`) with the bundle key it stands for (`klasse-1`). A closed school year is refused.
60
+ of what exists, a stored key (`demo:gymnasium:main-stufe-klassenstufe-7`) with the bundle key it stands for (`klassenstufe-7`). A closed school year is refused.
61
61
  - Without `--version` the application runs on the offer's live generation (as in the cockpit).
62
62
  `plexus-cli offer versions --offer <slug>` lists every generation (draft, internal, live,
63
63
  archived) with the `offerVersionId` that `--version` takes.
@@ -20,7 +20,7 @@ plexus-cli leads list --env local --tenant <slug> --json
20
20
  ```
21
21
 
22
22
  - `--tenant <slug>`: overrides the config default. The local dev seed's tenant
23
- slug is **`test`** (the committed `test` template); `grundschule-havelland` is
23
+ slug is **`test`** (the committed `test` template); `gymnasium-havelland` is
24
24
  a *unit*, not the tenant.
25
25
  - `--json`: rich shape (`{ lead, personDisplayName, programName, runName,
26
26
  stageName }`); default is a compact table.
@@ -28,9 +28,9 @@ plexus-cli leads list --env local --tenant <slug> --json
28
28
  ## Example output (table)
29
29
 
30
30
  ```
31
- name angebot stufe lauf
32
- Lia Busch Grundschule Klassenstufe 6 Schuljahr 2026/27
33
- Noah Kaiser Grundschule Klassenstufe 5 Schuljahr 2026/27
31
+ name angebot stufe lauf
32
+ Lia Busch Gymnasium Klassenstufe 12 Schuljahr 2026/27
33
+ Noah Kaiser Gymnasium Klassenstufe 11 Schuljahr 2026/27
34
34
  ```
35
35
 
36
36
  ## How it works
@@ -40,7 +40,7 @@ plexus-cli offer workflow node reads --dir <dir> --node contract
40
40
  plexus-cli offer workflow node set-reads --dir <dir> --node contract --address kind.vorname
41
41
  # → --address (reads) "kind.vorname": ein nackter Schlüssel …
42
42
  # An „Vertrag" (contract) lesbar:
43
- # Bewerbung Grundschule Havelland › Anmeldung ($node.form.admission)
43
+ # Bewerbung Gymnasium Havelland › Anmeldung ($node.form.admission)
44
44
  # Prüfung › Schulgeld mit Ermäßigung › Einkommensermäßigung ($task.reducedFee.reducedFee)
45
45
  # …
46
46
 
@@ -22,7 +22,7 @@ plexus-cli offer workflow node add --dir <bundle> \
22
22
  --type form --new-form --form zusatzformular --label "Zusatzangaben" --label-en "Additional details" --after approval
23
23
 
24
24
  # C. CONTINUE the instance an earlier form node created (a second step of the same
25
- # form, e.g. the Grundschule's `formZusage` after the Zusage): no --form; the node
25
+ # form, e.g. the Gymnasium's `formZusage` after the Zusage): no --form; the node
26
26
  # names the instance it continues (single quotes — the shell expands $).
27
27
  plexus-cli offer workflow node add --dir <bundle> \
28
28
  --type form --node formZusage --label "Angaben nach der Zusage" --label-en "Details after the offer" \
@@ -56,5 +56,5 @@ A press that arrives anyway while the condition is false is refused with
56
56
  2. Cockpit, on the decision node: „Weiteres" lists the entry only on the first one.
57
57
  3. Press it there: its tasks appear. Change the stage: the entry goes, the task stays.
58
58
 
59
- Test tenant: Grundschule, „Einschulung klären" on the Freigabe (offered only for Klassenstufe 1,
59
+ Test tenant: Gymnasium, „Übergang klären" on the Freigabe (offered only for Klassenstufe 7,
60
60
  listed in its decision rule: the buttons in front name it only there).
@@ -51,4 +51,4 @@ A press while the rule is already met is refused with `[optionalAction/ruleMet]`
51
51
  shows „Evaluation übersprungen" with the name.
52
52
  3. With a Taster Day running: its open tasks read „entfällt" after the press.
53
53
 
54
- Test tenant: Grundschule, the Freigabe („Berta Freigabe").
54
+ Test tenant: Gymnasium, the Freigabe („Berta Freigabe").
@@ -22,8 +22,8 @@ At most one draft exists per identity. Copying an old sealed revision (in the wo
22
22
  A template staff add to an application („Vertrag hinzufügen" in the cockpit) is offered only on applications of its unit or a unit below it; without a unit it belongs to the whole tenant. The Träger it declares is the one the dialog proposes; a template declaring none proposes none, and the step's Träger is never slipped in. Both are identity settings, by config key, and need no new revision:
23
23
 
24
24
  ```bash
25
- plexus-cli --env <env> --tenant <slug> generator scope --key hortvertrag-musterbunt --unit test_grundschule --traeger test_seminare
26
- plexus-cli --env <env> --tenant <slug> generator scope --key gymnasium-schulvertrag --unit test_gymnasium
25
+ plexus-cli --env <env> --tenant <slug> generator scope --key hortvertrag-musterbunt --unit test_gymnasium --traeger test_seminare
26
+ plexus-cli --env <env> --tenant <slug> generator scope --key grundschule-schulvertrag --unit test_grundschule
27
27
  plexus-cli --env <env> --tenant <slug> generator scope --key hortvertrag-musterbunt --no-traeger # clear
28
28
  ```
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartkomm/plexus-cli",
3
- "version": "0.1.269",
3
+ "version": "0.1.270",
4
4
  "description": "Unified Plexus admin + admission-offer config CLI (Convex backend).",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",