@smartkomm/plexus-cli 0.1.142 → 0.1.144

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
- 178ae2b0520d26940390b34988c39c3027728a35e35545330c0e3d818ec88b91
1
+ 4a0f0029198cee4028548be293fe92da340f93d6a9a1e7fa6fb84ee5118bb322
@@ -38,7 +38,7 @@ plexus-cli $E applications store <applicationId> --json
38
38
  - `absent` — none is coming: the writing task is not owed (its condition is false), or the
39
39
  application has no applicant account (`$env.applicant.language`).
40
40
  - **Refs are resolved live:** `form` → instance and its state; `document` → the slot and its
41
- newest file; `contract` → contract id, current revision (`revisionNumber`) and
41
+ newest file; `contract` → contract id, current snapshot (`snapshotNumber`) and
42
42
  `contractStatus` (`signed` / `inSignature` / `withdrawn` / `draft` / `active`, derived in that precedence).
43
43
 
44
44
  ## Verify
@@ -618,7 +618,7 @@ Replace an applied grant from the 1st of a month: the old one ends the day befor
618
618
 
619
619
  ### `generator list`
620
620
 
621
- List generator identities and their revisions.
621
+ List generator identities and their versions.
622
622
 
623
623
  - **Right:** school token — a module permission inside one school (the school's own administrator runs it)
624
624
  - **Effect:** read — changes nothing on the deployment
@@ -641,16 +641,16 @@ Archive a contract package — it creates no new contracts; its key stays taken
641
641
  - **Right:** school token — a module permission inside one school (the school's own administrator runs it)
642
642
  - **Effect:** write — needs `--env`; on production also `--allow-prod`
643
643
 
644
- ### `generator package clone <source-revision-id>`
644
+ ### `generator package clone <source-version-id>`
645
645
 
646
- Start a new draft from a package revision (parts, mask, code and scenarios copied)
646
+ Start a new draft from a package version (parts, mask, code and scenarios copied)
647
647
 
648
648
  - **Right:** school token — a module permission inside one school (the school's own administrator runs it)
649
649
  - **Effect:** write — needs `--env`; on production also `--allow-prod`
650
650
 
651
651
  ### `generator package create`
652
652
 
653
- Create an empty contract package (identity + draft revision 1)
653
+ Create an empty contract package (identity + draft version 1)
654
654
 
655
655
  - **Right:** school token — a module permission inside one school (the school's own administrator runs it)
656
656
  - **Effect:** write — needs `--env`; on production also `--allow-prod`
@@ -663,7 +663,7 @@ Create an empty contract package (identity + draft revision 1)
663
663
  | `--description <value>` | German description (with --description-en, or neither) |
664
664
  | `--description-en <value>` | English description |
665
665
 
666
- ### `generator package delete-draft <revision-id>`
666
+ ### `generator package delete-draft <version-id>`
667
667
 
668
668
  Discard a package draft (sealed revisions stay) — irreversible, plan unless --confirm
669
669
 
@@ -677,7 +677,7 @@ Discard a package draft (sealed revisions stay) — irreversible, plan unless --
677
677
 
678
678
  ### `generator package list`
679
679
 
680
- List the tenant's contract packages with their current and draft revision
680
+ List the tenant's contract packages with their current and draft version
681
681
 
682
682
  - **Right:** school token — a module permission inside one school (the school's own administrator runs it)
683
683
  - **Effect:** read — changes nothing on the deployment
@@ -693,9 +693,9 @@ Compare a package file with the environment: create, same or revise (no write)
693
693
  |---|---|
694
694
  | `--file <value>` (required) | The package file (JSON) |
695
695
 
696
- ### `generator package seal <revision-id>`
696
+ ### `generator package seal <version-id>`
697
697
 
698
- Seal a package draft — it becomes the current revision new contracts are created from
698
+ Seal a package draft — it becomes the current version new contracts are created from
699
699
 
700
700
  - **Right:** school token — a module permission inside one school (the school's own administrator runs it)
701
701
  - **Effect:** write — needs `--env`; on production also `--allow-prod`
@@ -704,16 +704,16 @@ Seal a package draft — it becomes the current revision new contracts are creat
704
704
  |---|---|
705
705
  | `--source-revision <value>` (required) | The draft's current source-revision counter |
706
706
 
707
- ### `generator package show <revision-id>`
707
+ ### `generator package show <version-id>`
708
708
 
709
- Show one package revision: input mask, parts, scenarios and its source-revision counter
709
+ Show one package version: input mask, parts, scenarios and its source-revision counter
710
710
 
711
711
  - **Right:** school token — a module permission inside one school (the school's own administrator runs it)
712
712
  - **Effect:** read — changes nothing on the deployment
713
713
 
714
- ### `generator package test <revision-id>`
714
+ ### `generator package test <version-id>`
715
715
 
716
- Resolve a package revision for one input file without creating anything (the scenario output)
716
+ Resolve a package version for one input file without creating anything (the scenario output)
717
717
 
718
718
  - **Right:** school token — a module permission inside one school (the school's own administrator runs it)
719
719
  - **Effect:** read — changes nothing on the deployment
@@ -53,12 +53,12 @@ Single steps, when the file is not the right tool:
53
53
 
54
54
  ```bash
55
55
  plexus-cli --env <env> --tenant <slug> generator package list
56
- plexus-cli --env <env> --tenant <slug> generator package show <revision-id>
56
+ plexus-cli --env <env> --tenant <slug> generator package show <version-id>
57
57
  plexus-cli --env <env> --tenant <slug> generator package create --key <key> --name "<de>" --name-en "<en>"
58
- plexus-cli --env <env> --tenant <slug> generator package clone <sealed-revision-id>
59
- plexus-cli --env <env> --tenant <slug> generator package test <revision-id> --input <scratch>/input.json
60
- plexus-cli --env <env> --tenant <slug> generator package seal <revision-id> --source-revision <n>
61
- plexus-cli --env <env> --tenant <slug> generator package delete-draft <revision-id> --source-revision <n> --confirm # without --confirm: plan only
58
+ plexus-cli --env <env> --tenant <slug> generator package clone <sealed-version-id>
59
+ plexus-cli --env <env> --tenant <slug> generator package test <version-id> --input <scratch>/input.json
60
+ plexus-cli --env <env> --tenant <slug> generator package seal <version-id> --source-revision <n>
61
+ plexus-cli --env <env> --tenant <slug> generator package delete-draft <version-id> --source-revision <n> --confirm # without --confirm: plan only
62
62
  plexus-cli --env <env> --tenant <slug> generator package archive <package-id>
63
63
  ```
64
64
 
@@ -96,7 +96,7 @@ means anyway.
96
96
  - `signing show` → `status`, per-signer `status`/`signedAt`, artefact URLs, the
97
97
  provider webhook `receipt …` rows recorded for the request (evidence, not business
98
98
  events — the contract's history is `contract_events`).
99
- - `plexus-cli call contractSnapshots:listRevisions '{"client":"test","contractId":"…"}'`
99
+ - `plexus-cli call contractSnapshots:listSnapshots '{"client":"test","contractId":"…"}'`
100
100
  → `signerCount` / `signedAt` reflect the written `signatures`.
101
101
 
102
102
  ## Gotchas