@elaraai/e3-cloud-cli 1.1.19 → 1.1.21

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 CHANGED
@@ -343,7 +343,9 @@ e3-cloud app build src/apps/ops.tsx -o dist/ops.app
343
343
  # Deploy (owner or admin): the bundle's package is imported first when the
344
344
  # repository lacks its version; then the app is checked against it and, when
345
345
  # the workspace runs it, is live at once. A refusal prints every problem and
346
- # exits non-zero; --dry-run checks and changes nothing
346
+ # exits non-zero; --dry-run checks and changes nothing a person, a deploy or a
347
+ # listing can see: it imports and holds no package, and the build it sends to
348
+ # be checked is dropped, its object never written
347
349
  e3-cloud app deploy https://e3.example.com/repos/my-repo staging dist/ops.app --dry-run
348
350
  e3-cloud app deploy https://e3.example.com/repos/my-repo staging dist/ops.app
349
351
 
@@ -351,8 +353,11 @@ e3-cloud app deploy https://e3.example.com/repos/my-repo staging dist/ops.app
351
353
  e3-cloud app deploy https://e3.example.com/repos/my-repo staging dist/ops.app dist/exec.app
352
354
  e3-cloud app deploy https://e3.example.com/repos/my-repo staging --from-source src/apps/ops.tsx
353
355
 
354
- # Stage a bundle built with the platform's next e3, for the platform deploy that moves to it
355
- e3-cloud app deploy https://e3.example.com/repos/my-repo production dist/ops.app --for-platform 1.0.86
356
+ # Prepare a build made with the platform's next e3, for the platform deploy that moves to it;
357
+ # a package of its own the repository lacks is held for the move, which deploys it
358
+ e3-cloud app deploy https://e3.example.com/repos/my-repo staging dist/ops.app --for-platform 1.0.86
359
+ # Remove a prepared build, the live version staying (owner or admin)
360
+ e3-cloud app remove-prepared https://e3.example.com/repos/my-repo staging ops
356
361
 
357
362
  # Built against the package the workspace runs, as the repository holds it, not the package
358
363
  # its source exports again: the bundle names that package and carries none (--against-workspace)
@@ -384,6 +389,41 @@ A deploy whose package the workspace does not run deploys the package first,
384
389
  as a deploy job that keeps the inputs people set and starts no run; the
385
390
  CLI waits for the job, and the apps go live as it completes.
386
391
 
392
+ At a version change of e3, step by step (nothing is removed):
393
+
394
+ 1. Bump the project's `@elaraai` dependencies to the release built with the next e3.
395
+ 2. If an app has a page that reads a record through indexes, give the package a new version in its source.
396
+ 3. Deploy each app as always: `e3-cloud app deploy URL staging --from-source src/apps/ops.tsx`. A build made with a newer e3 than the platform runs is prepared for the platform's move by itself.
397
+ 4. Release staging to production: `e3-cloud release URL staging production`.
398
+
399
+ A version names one package once it is in use (two workspaces, a staging or a protected workspace, or a build prepared on it), and the move must import exactly the package each build was checked against. So when a build's package is the version the workspace runs at other bytes, `app deploy` (with no flag) tells the two cases apart by what differs:
400
+ - **Code alone** (a function's compiled code with its signature unchanged; a task whose object differs, which includes its inputs and its runner as well as its code; a record's programs: its mutations', indexes' or migrations' code), which the next e3's export also changes: the build is prepared on the package the workspace runs if the app fits it, and the CLI says so first: "This prepares ops on the package production runs, acme@1.5.0, not on the package built here: a change you made to the package's code is not deployed. To send it with the app, give acme a new version in its source and deploy again". A change to a function's body or a task's logic is code alone, so it is not deployed this way.
401
+ - **Anything e3 shows** (a dataset, a type, a function's signature, an initial value, a file source): that is your change to the package, and it is refused before anything is sent, naming what differs, with the step: give the package a new version (it is X now). Where an input's file source differs, the workspace's Files declarations must fit the new version too: until they do, its deploy is refused `package_files_differ`, which says how.
402
+ - Which case a difference is is decided where the comparison finds it, never from its words. Two packages whose hashes differ where the comparison reads nothing different (a part it does not read) are said so on a line of their own, and refused as a change shown, never bound as code alone.
403
+ - A page that reads through indexes, or a fit the checks refuse, is refused the same way.
404
+
405
+ `--against-workspace`, given explicitly, binds as it always has, saying what differs.
406
+
407
+ **A build for the next e3 with a package of its own.** With `--for-platform`,
408
+ a build whose package the repository lacks hands the platform the package to
409
+ hold until its move: the e3 the platform runs would refuse to import a
410
+ package the next e3 exported. The move deploys it to each workspace a build
411
+ is prepared on with it, keeping the inputs people set and migrating records,
412
+ with no run, and puts the builds live. The deploy keeps only the outputs of
413
+ tasks it leaves unchanged, and the next e3's export usually changes every
414
+ task, so each such workspace usually needs a run. The CLI checks the build
415
+ against that package first, by the project's checks (this CLI's for a bundle
416
+ file), and holds nothing when it does not fit; a platform on an older e3 may not read
417
+ the package, and then checks the build only at the move, before it deploys.
418
+ A `--dry-run` with a package not held yet is answered by those checks alone,
419
+ exit 0 when the build fits. After preparing, the CLI names the workspace's
420
+ apps still without a build for that e3. Another build of a held version is
421
+ refused: give the package a new version, or, an admin alone, `--replace` the
422
+ zip held while no build is prepared on it. `app remove-prepared` removes a
423
+ prepared build. A deployment gains this only once it runs a release that has
424
+ it: an older one is refused in words naming its release, offering
425
+ `--against-workspace`.
426
+
387
427
  **Against the package the workspace runs.** `app build` exports the app's
388
428
  package again from its source, with the e3 installed. A next e3 may export the
389
429
  same source to other bytes (a Python-authored function's code, say): the
@@ -495,7 +535,11 @@ starts. A refused plan prints its problems and exits 1, changing nothing; the
495
535
  plan names any change an admin forced onto the target since its last release,
496
536
  which the release undoes. A rollback releases an entry of the history again,
497
537
  its package and apps exactly; a record migrated forward may refuse to go back,
498
- and the plan says so. A rollback stays open on a protected workspace.
538
+ and the plan says so. A rollback stays open on a protected workspace. A
539
+ release or rollback of more than ten apps switches them ten at a time: if one
540
+ does not switch, those switched before it stay live, and the job's failure
541
+ names the apps that did not and the way out (release, or roll back to the same
542
+ entry, again).
499
543
 
500
544
  #### Files
501
545
 
@@ -525,12 +569,15 @@ e3-cloud files bind ./repo dev upload s3://partner-drop/orders/ --profile partne
525
569
 
526
570
  # A deployed workspace's source reads its own storage, <source>/, until bound elsewhere: a path
527
571
  # relative to the workspace (./ its own folder, ../production/upload/ production's files, which a
528
- # push through it puts into too), or a bucket of your own the deployment grants; no location binds
529
- # it to its own folder again. A source moved has the targets that took files where it was taken
530
- # again whole by the next sync, which the bind names
572
+ # push through it puts into too); no location binds it to its own folder again. An s3:// location
573
+ # is refused for a repository URL: files from outside arrive as Files.deliveries(). A source moved
574
+ # has the targets that took files where it was taken again whole by the next sync, which the bind names
531
575
  e3-cloud files bind https://e3.example.com/repos/acme staging upload ../production/upload/
532
576
  e3-cloud files bind https://e3.example.com/repos/acme staging upload
533
- e3-cloud files bind https://e3.example.com/repos/acme production partner s3://partner-drop/acme/
577
+
578
+ # A local repository's deliveries: <repo>/.e3-cloud/files/deliveries/ (plaintext, which a push to a
579
+ # deliveries mapping fills), or a bucket of your own read with your own credentials
580
+ e3-cloud files bind ./repo dev --deliveries s3://my-test-drop/in/ --profile partner
534
581
 
535
582
  # Bring in what changed: only files whose ETag or size changed are read, only targets whose
536
583
  # files changed are written; --dry-run lists what it would take, --target syncs only those
@@ -552,13 +599,74 @@ e3-cloud files push ./repo dev ./data/prices.beast2 --as prices --dry-run
552
599
  e3-cloud files push https://e3.example.com/repos/acme dev dataset:dev.customers --from ./archive
553
600
 
554
601
  # Each mapping, its type, the file it holds and the commit it made (or pending), where each
555
- # source's files are (own storage upload/, or a bucket's URL), and the last sync
602
+ # source's files are (own storage upload/, or a bucket's URL locally), where the deliveries are
603
+ # (encrypted, external or not configured: never a bucket), and the last sync
556
604
  e3-cloud files status ./repo dev
557
605
 
558
606
  # A sync doesn't run the dataflow
559
607
  e3 dataflow run ./repo dev
560
608
  ```
561
609
 
610
+ A push into a deliveries mapping of a deployed workspace is refused: the
611
+ client writes the deliveries. A sync of a deployment's encrypted deliveries
612
+ decrypts each file first and refuses, by its reason, one with no integrity
613
+ check, to a passphrase or another key, under a cipher other than AES, or
614
+ altered (`@elaraai/e3-cloud-files`' README, The deliveries).
615
+
616
+ #### Deliveries (server admins)
617
+
618
+ ```bash
619
+ # A repository's deliveries area: its location and region, whether it is encrypted, its current
620
+ # key's fingerprint and expiry, and every key it holds (made when and by whom, retired when and by
621
+ # whom). The armored public key follows only when standard output is a terminal; under a pipe the
622
+ # line "the public key is printed only to a terminal: read it in the console" stands in its place
623
+ e3-cloud admin deliveries https://e3.example.com acme
624
+
625
+ # A new current key; every earlier key is kept and still decrypts. May be repeated
626
+ e3-cloud admin deliveries https://e3.example.com acme --rotate-key
627
+
628
+ # An earlier key closed to new deliveries, from now or a later moment: a file written after,
629
+ # encrypted only to it, is refused naming the current fingerprint; one written before decrypts
630
+ e3-cloud admin deliveries https://e3.example.com acme --retire-key 'ABCD 1234 …'
631
+ e3-cloud admin deliveries https://e3.example.com acme --retire-key ABCD1234… --retire-from 2027-01-31T00:00:00Z
632
+
633
+ # Whether a sync would take one file of the encrypted deliveries folder (its key relative to the
634
+ # folder), without taking it: run where a sync's round runs, waited for (16 minutes at most)
635
+ e3-cloud admin deliveries https://e3.example.com acme --probe in/prices.csv
636
+ # in/prices.csv would be taken: 23 bytes of plaintext, encrypted to the key with fingerprint 5EE4… (the current key)
637
+ e3-cloud admin deliveries https://e3.example.com acme --probe in/plain.csv
638
+ # in/plain.csv would be refused, in the words a sync gives:
639
+ # in/plain.csv is not encrypted: deliveries take only OpenPGP messages to the deliveries key
640
+ ```
641
+
642
+ `--probe` prints one line, or two: the plaintext's size and the key the file
643
+ was encrypted to (the current key, an earlier one, or one retired after the
644
+ file was written), or the refusal a sync gives the same file in the same
645
+ words, or that there is no such file. It exits 0 when the file would be
646
+ taken, 2 when a sync would refuse it (or not finish it within a round), 3
647
+ when there is no such file, and 1 on any other error: a key with a `..` or
648
+ `.` part, an empty part, a leading `/`, a URL or a trailing `/` (refused in
649
+ fixed words before anything is read), a probe that failed, or the wait's
650
+ limit passed (it says so; the probe runs on), or another probe of the
651
+ repository still running (one runs at a time; it names the running one). It
652
+ goes alone: not with
653
+ `--rotate-key`, `--retire-key` or `--retire-from`. Nothing of the plaintext
654
+ is printed, recorded or logged, and the probe changes no input, ledger or
655
+ file.
656
+
657
+ A refusal (the current key, a key retired already, a past moment, a key the
658
+ keyring does not hold, a keyring full) is printed in its words and the
659
+ command exits 1. No key is ever deleted, so each rotation spends one of the
660
+ keyring's 11 places for good: rotate deliberately (the cdk README's Files).
661
+ Rotate, and hand the client the new key, before `expires`: a key is valid
662
+ for two years from its making. Text a client or an administrator
663
+ chose (a file's name, a refusal quoting one) is printed with control
664
+ characters escaped.
665
+
666
+ There is no command to make a key: the deploy makes it. The client's upload
667
+ key is never printed: the owner reads it in the secret store (the cdk
668
+ README's Files).
669
+
562
670
  A sync is safe to repeat and to stop: each target is remembered once it is
563
671
  written. A file over 1 GiB less 64 KiB (or 64 MiB less 64 KiB in a folder),
564
672
  a typed file of another type or no beast2 (refused by its header), or one
@@ -47,10 +47,32 @@ export declare function bindToWorkspacePackage(bundle: AppBundle, running: Packa
47
47
  export declare function newerRelease(release: string, than: string): boolean;
48
48
  /** The checks' problems that are of an app's fit to a package, as against its own form or its e3. */
49
49
  export declare const FIT_PROBLEMS: ReadonlySet<AppProblem['type']>;
50
+ /**
51
+ * What the CLI says of a build for the platform's next e3 with a package of
52
+ * its own, on a deployment that holds that package for its move: the
53
+ * way across the move for an app that can't be built against the package its
54
+ * workspace runs, rather than removing it before the move.
55
+ */
56
+ export declare const HOLDS_FOR_THE_MOVE = "the platform holds that package for its move and deploys it then";
57
+ /**
58
+ * Whether the deployment holds a build's own package for its move: true,
59
+ * false (it answered that it serves no hold: a release from before it), or
60
+ * the error that kept it from being asked, in words: then no way across the
61
+ * move is advised, since either may be wrong.
62
+ */
63
+ export type Holds = boolean | {
64
+ readonly unknown: string;
65
+ };
66
+ /** What a refusal says of the way across the move when whether the platform holds packages could not be read. */
67
+ export declare function holdsUnknownWords(holds: {
68
+ readonly unknown: string;
69
+ }): string;
50
70
  /**
51
71
  * What follows the problems of a refused deploy for the apps of it built
52
72
  * against a package their repository holds: for an app the package does not
53
- * fit, that it cannot as its source declares it; for one built with a newer
73
+ * fit, that it cannot as its source declares it, and how it crosses the
74
+ * platform's move (with a package of its own, where the platform holds one
75
+ * for the move; else only by its removal); for one built with a newer
54
76
  * e3 than the platform runs, that a bundle for the platform's next e3 is
55
77
  * staged with `--for-platform`. Nothing for any other problem.
56
78
  *
@@ -59,9 +81,12 @@ export declare const FIT_PROBLEMS: ReadonlySet<AppProblem['type']>;
59
81
  * @param pkg - That package, as `name@version`
60
82
  * @param which - Which package it is, in words: `which production runs`
61
83
  * @param staging - The e3 the deploy stages for (`--for-platform`), or null
84
+ * @param holds - Whether the platform holds a build's own package for its
85
+ * move: then an app that cannot fit is prepared with it, and is
86
+ * never removed across the move
62
87
  * @returns The lines
63
88
  */
64
- export declare function boundRefusalLines(refused: readonly AppProblems[], bound: ReadonlySet<string>, pkg: string, which: string, staging: string | null): string[];
89
+ export declare function boundRefusalLines(refused: readonly AppProblems[], bound: ReadonlySet<string>, pkg: string, which: string, staging: string | null, holds?: Holds): string[];
65
90
  /**
66
91
  * Whether a bundle carries its package's zip: one built against a package
67
92
  * its repository holds carries none.
@@ -111,6 +136,15 @@ export interface BindingChecks {
111
136
  * @returns The checks, where they come from, and their release
112
137
  */
113
138
  export declare function bindingChecks(source: string): Promise<BindingChecks>;
139
+ /**
140
+ * The checks a build is checked with here: the project's, as {@link
141
+ * bindingChecks} finds them, for a build from source; this CLI's own for a
142
+ * bundle read from a file, which names no project.
143
+ *
144
+ * @param source - The app's source, or null for a bundle file
145
+ * @returns The checks, where they come from, and their release
146
+ */
147
+ export declare function checksFor(source: string | null): Promise<BindingChecks>;
114
148
  /**
115
149
  * The checks' problems as lines: each kind this CLI knows in its words
116
150
  * (`appProblemLines`); one it doesn't (from a newer project's checks) as it
@@ -135,9 +169,12 @@ export declare function problemLines(problems: readonly AppProblem[], names: {
135
169
  * @param which - Which workspace runs it, e.g. `which production runs`
136
170
  * @param problems - The checks' problems against the held package
137
171
  * @param checks - Where the checks came from, and their release
172
+ * @param holds - Whether the platform holds a build's own package for its
173
+ * move: then the way across the move is that package, never the
174
+ * app's removal
138
175
  * @returns The lines; none for no problems
139
176
  */
140
- export declare function bindingRefusalLines(app: string, held: string, which: string, problems: readonly AppProblem[], checks: Pick<BindingChecks, 'from' | 'version' | 'fallback'>): string[];
177
+ export declare function bindingRefusalLines(app: string, held: string, which: string, problems: readonly AppProblem[], checks: Pick<BindingChecks, 'from' | 'version' | 'fallback'>, holds?: Holds): string[];
141
178
  /**
142
179
  * The lines a deploy of bundles carrying no package prints when the platform
143
180
  * answers it with a deploy of their package: the workspace moved in the
@@ -1 +1 @@
1
- {"version":3,"file":"app-source.d.ts","sourceRoot":"","sources":["../../src/app-source.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAyBH,OAAO,EAAmC,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE7G,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAUnD;;;;;;;;GAQG;AACH,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAQzE;AAED,uFAAuF;AACvF,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAOD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,GAAG,SAAS,CAO3G;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAMnE;AAED,qGAAqG;AACrG,eAAO,MAAM,YAAY,EAAE,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,CAKvD,CAAC;AAEH;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,SAAS,WAAW,EAAE,EAAE,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,EAAE,CAe3J;AAED;;;;;;GAMG;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AS,UAAU,EAAE,EAAE,KAAK,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,EAAE,CAa/G;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,UAAU,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC,EAAE,KAAK,GAAE,KAAa,GAAG,MAAM,EAAE,CAyB3M;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,EAAE,CAQ3J"}
@@ -95,10 +95,23 @@ export const FIT_PROBLEMS = new Set([
95
95
  'record_missing', 'record_type', 'mutation_missing', 'mutation_signature', 'index_missing', 'index_type',
96
96
  'task_missing', 'task_not_ui',
97
97
  ]);
98
+ /**
99
+ * What the CLI says of a build for the platform's next e3 with a package of
100
+ * its own, on a deployment that holds that package for its move: the
101
+ * way across the move for an app that can't be built against the package its
102
+ * workspace runs, rather than removing it before the move.
103
+ */
104
+ export const HOLDS_FOR_THE_MOVE = 'the platform holds that package for its move and deploys it then';
105
+ /** What a refusal says of the way across the move when whether the platform holds packages could not be read. */
106
+ export function holdsUnknownWords(holds) {
107
+ return `Whether this deployment holds a package for the platform's move could not be read (${holds.unknown}): run it again to be told the way across the move`;
108
+ }
98
109
  /**
99
110
  * What follows the problems of a refused deploy for the apps of it built
100
111
  * against a package their repository holds: for an app the package does not
101
- * fit, that it cannot as its source declares it; for one built with a newer
112
+ * fit, that it cannot as its source declares it, and how it crosses the
113
+ * platform's move (with a package of its own, where the platform holds one
114
+ * for the move; else only by its removal); for one built with a newer
102
115
  * e3 than the platform runs, that a bundle for the platform's next e3 is
103
116
  * staged with `--for-platform`. Nothing for any other problem.
104
117
  *
@@ -107,15 +120,20 @@ export const FIT_PROBLEMS = new Set([
107
120
  * @param pkg - That package, as `name@version`
108
121
  * @param which - Which package it is, in words: `which production runs`
109
122
  * @param staging - The e3 the deploy stages for (`--for-platform`), or null
123
+ * @param holds - Whether the platform holds a build's own package for its
124
+ * move: then an app that cannot fit is prepared with it, and is
125
+ * never removed across the move
110
126
  * @returns The lines
111
127
  */
112
- export function boundRefusalLines(refused, bound, pkg, which, staging) {
128
+ export function boundRefusalLines(refused, bound, pkg, which, staging, holds = false) {
113
129
  const lines = [];
114
130
  for (const entry of refused) {
115
131
  if (!bound.has(entry.app))
116
132
  continue;
117
133
  if (entry.problems.some((problem) => FIT_PROBLEMS.has(problem.type))) {
118
- lines.push(`${entry.app} was built against ${pkg}, ${which}, and doesn't fit it: its source declares other types or names than that package. Build it from the source ${pkg} was exported from. A bundle for the next e3 that cannot fit is staged only by removing the app before the platform moves and deploying it after.`);
134
+ lines.push(`${entry.app} was built against ${pkg}, ${which}, and doesn't fit it: its source declares other types or names than that package. Build it from the source ${pkg} was exported from. ${holds === true
135
+ ? `Or deploy it with a package of its own, without --against-workspace, giving the package a new version in its source: ${HOLDS_FOR_THE_MOVE}.`
136
+ : holds === false ? 'A bundle for the next e3 that cannot fit is staged only by removing the app before the platform moves and deploying it after.' : `${holdsUnknownWords(holds)}.`}`);
119
137
  }
120
138
  const other = entry.problems.find((problem) => problem.type === 'e3_version');
121
139
  // Staged only for a move to a newer e3 than the platform runs
@@ -202,6 +220,22 @@ export async function bindingChecks(source) {
202
220
  }
203
221
  return { checks, from: 'project', fallback: null, version: releaseOf(entryPath, '@elaraai/e3-cloud-ui') };
204
222
  }
223
+ /**
224
+ * The checks a build is checked with here: the project's, as {@link
225
+ * bindingChecks} finds them, for a build from source; this CLI's own for a
226
+ * bundle read from a file, which names no project.
227
+ *
228
+ * @param source - The app's source, or null for a bundle file
229
+ * @returns The checks, where they come from, and their release
230
+ */
231
+ export async function checksFor(source) {
232
+ if (source !== null)
233
+ return bindingChecks(source);
234
+ return {
235
+ checks: ownChecks, from: 'cli', fallback: 'a bundle file names no project',
236
+ version: releaseOf(createRequire(import.meta.url).resolve('@elaraai/e3-cloud-ui/check'), '@elaraai/e3-cloud-ui'),
237
+ };
238
+ }
205
239
  /**
206
240
  * The checks' problems as lines: each kind this CLI knows in its words
207
241
  * (`appProblemLines`); one it doesn't (from a newer project's checks) as it
@@ -236,15 +270,20 @@ export function problemLines(problems, names) {
236
270
  * @param which - Which workspace runs it, e.g. `which production runs`
237
271
  * @param problems - The checks' problems against the held package
238
272
  * @param checks - Where the checks came from, and their release
273
+ * @param holds - Whether the platform holds a build's own package for its
274
+ * move: then the way across the move is that package, never the
275
+ * app's removal
239
276
  * @returns The lines; none for no problems
240
277
  */
241
- export function bindingRefusalLines(app, held, which, problems, checks) {
278
+ export function bindingRefusalLines(app, held, which, problems, checks, holds = false) {
242
279
  const fit = problems.filter((problem) => FIT_PROBLEMS.has(problem.type));
243
280
  const other = problems.filter((problem) => !FIT_PROBLEMS.has(problem.type));
244
281
  const lines = [];
245
282
  const names = { app, package: held };
246
283
  if (fit.length > 0) {
247
- lines.push(`${app} can't be built against ${held}, ${which}: its pages bind what that package declares otherwise, which the platform's checks refuse`, ...problemLines(fit, names), `Its source declares them otherwise, in its own code or because this release of e3 or east-ui defines a type otherwise than the one that exported ${held}. Build it from the source and the e3 ${held} was exported with; or, to carry it across the platform's move, remove ${app} before the move and deploy it after`);
284
+ lines.push(`${app} can't be built against ${held}, ${which}: its pages bind what that package declares otherwise, which the platform's checks refuse`, ...problemLines(fit, names), `Its source declares them otherwise, in its own code or because this release of e3 or east-ui defines a type otherwise than the one that exported ${held}. Build it from the source and the e3 ${held} was exported with${holds === true
285
+ ? `; or deploy ${app} with a package of its own, without --against-workspace, giving the package a new version in its source: ${HOLDS_FOR_THE_MOVE}`
286
+ : holds === false ? `; or, to carry it across the platform's move, remove ${app} before the move and deploy it after` : `. ${holdsUnknownWords(holds)}`}`);
248
287
  }
249
288
  if (other.length > 0) {
250
289
  const release = checks.version === null ? '' : ` ${checks.version}`;
@@ -1 +1 @@
1
- {"version":3,"file":"app-source.js","sourceRoot":"","sources":["../../src/app-source.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAqC,MAAM,yBAAyB,CAAC;AAC7G,OAAO,KAAK,SAAS,MAAM,4BAA4B,CAAC;AAGxD,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAErF,MAAM,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;AAOxC;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,IAAY;IACnD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,aAAa,CAAC,IAAI,EAAE,sBAAsB,EAAE,iBAAiB,CAAC,CAAC;IAC3F,MAAM,QAAQ,GAAG,MAAM,mBAAmB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACvD,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,IAAI,IAAK,QAA+B,CAAC,I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I,SAAS,oCAAoC,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,OAAO,GAAG,uBAAuB,GAAG,IAAI,SAAS,qGAAqG;QACvS,0IAA0I,IAAI,wEAAwE,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,kCAAkC;KACrR,CAAC;AACJ,CAAC"}
package/dist/src/cli.js CHANGED
@@ -6,6 +6,7 @@
6
6
  /**
7
7
  * e3-cloud CLI - cloud management for e3.
8
8
  */
9
+ import { adminCommand } from './commands/admin.js';
9
10
  import { createRequire } from 'node:module';
10
11
  import { Command } from 'commander';
11
12
  import { whoamiCommand } from './commands/whoami.js';
@@ -52,6 +53,20 @@ program
52
53
  .command('whoami [server]')
53
54
  .description('Show your identity and admin status, the e3 cloud release and e3 the deployment runs (and any next e3 apps are staged for), and this CLI\'s')
54
55
  .action(whoamiCommand);
56
+ // e3-cloud admin <subcommand>
57
+ const admin = program
58
+ .command('admin')
59
+ .description('Deployment administration (server admins)');
60
+ admin
61
+ .command('deliveries')
62
+ .description('Show a repository\'s deliveries area, its encryption, its current key\'s fingerprint and expiry, and every key it holds; the public key follows only on a terminal (admin)')
63
+ .argument('<serverUrl>', 'Server URL')
64
+ .argument('<repo>', 'Repository name')
65
+ .option('--rotate-key', 'Make a new current key; every earlier key is kept and still decrypts')
66
+ .option('--retire-key <fingerprint>', 'Close an earlier key to new deliveries: a file written after, encrypted only to it, is refused; it is kept')
67
+ .option('--retire-from <when>', 'With --retire-key: from a later moment (ISO date and time), not now')
68
+ .option('--probe <key>', 'Whether a sync would take one file of the encrypted deliveries folder (its key relative to the folder), without taking it: the plaintext\'s size and the key that opened it, or the sync\'s refusal. Exits 0 taken, 2 refused, 3 not found, 1 on any other error')
69
+ .action((serverUrl, repo, options) => adminCommand.deliveries(serverUrl, repo, options));
55
70
  // e3-cloud user <subcommand>
56
71
  const user = program
57
72
  .command('user')
@@ -401,15 +416,16 @@ app
401
416
  .action(appCommand.build);
402
417
  app
403
418
  .command('deploy')
404
- .description('Deploy apps to a workspace: their package is imported if the repository lacks it, then they are checked against it and switch together (owner or admin)')
419
+ .description('Deploy apps to a workspace: checked against their package, then switched together; a build of a newer e3 than the platform runs is prepared for its move, its own package held for it, and otherwise a package the repository lacks is imported (owner or admin)')
405
420
  .argument('<url>', 'Repository URL (e.g., https://server/repos/my-repo)')
406
421
  .argument('<workspace>', 'Workspace name')
407
422
  .argument('[bundles...]', 'Bundles e3-cloud app build wrote')
408
423
  .option('--from-source <source...>', 'Build these sources and deploy them, instead of bundles')
409
424
  .option('--against-workspace', 'Build the sources against the package the workspace runs, as the repository holds it, instead of the package they export again')
410
425
  .option('--dry-run', 'Check the apps, and change nothing')
411
- .option('--for-platform <version>', 'Stage the apps, built with this next e3 release, for the platform deploy that moves to it')
426
+ .option('--for-platform <version>', 'Prepare a build of the apps, built with this next e3 release, for the platform deploy that moves to it (a deploy does so by itself when they are built with a newer e3 than the platform runs); a package of their own the repository lacks is held for the move, which deploys it')
412
427
  .option('--force', 'Deploy past the workspace\'s protection, if it has a staging: admins only, recorded in its history as forced')
428
+ .option('--replace', 'Replace a zip held for the platform\'s move at the package\'s version under another hash: admins only, refused while a build is prepared on it')
413
429
  .action(appCommand.deploy);
414
430
  app
415
431
  .command('list')
@@ -429,6 +445,14 @@ app
429
445
  .argument('<workspace>', 'Workspace name')
430
446
  .argument('<app>', 'App name')
431
447
  .action(appCommand.versions);
448
+ app
449
+ .command('remove-prepared')
450
+ .description('Remove an app\'s build prepared for the platform\'s next e3, leaving its live version as it is (owner or admin)')
451
+ .argument('<url>', 'Repository URL')
452
+ .argument('<workspace>', 'Workspace name')
453
+ .argument('<app>', 'App name')
454
+ .option('--force', 'Remove it past the workspace\'s protection, if it has a staging: admins only, recorded in its history as forced')
455
+ .action(appCommand.removePrepared);
432
456
  app
433
457
  .command('remove')
434
458
  .description('Remove an app and its versions from a workspace (owner or admin)')
@@ -456,11 +480,12 @@ files
456
480
  .description('Bind a source to where its files are, for a workspace (owner or admin): its own, which a release never changes, and may be bound before any declaration reads it. A deployed workspace\'s source bound to nothing reads the workspace\'s own storage under its name')
457
481
  .argument(...filesRepo)
458
482
  .argument('<workspace>', 'Workspace name')
459
- .argument('<source>', 'The source, as Files.source names it')
460
- .argument('[location]', 'Where its files are: a path in a deployed workspace\'s own storage, relative to the workspace (default <source>/; ./ the workspace\'s folder; ../<workspace>/<folder>/ another workspace\'s), or s3://bucket/prefix/ for a bucket of your own')
483
+ .argument('[source]', 'The source, as Files.source names it; none with --deliveries')
484
+ .argument('[location]', 'Where its files are: on a deployed workspace, a path in its own storage, relative to the workspace (default <source>/; ./ the workspace\'s folder; ../<workspace>/<folder>/ another workspace\'s); on a local repository, s3://bucket/prefix/')
461
485
  .option('--region <region>', 'An s3:// bucket\'s region, when it isn\'t the one your cloud configuration names')
462
486
  .option('--profile <profile>', 'A local repository only: the profile to read the bucket with (one of ~/.aws/config\'s)')
463
487
  .option('--latest <n>', 'A local repository only: take only the n greatest keys of each folder')
488
+ .option('--deliveries <url>', 'A local repository only: read its deliveries (Files.deliveries()) from an existing bucket, s3://bucket/prefix/, with your own credentials; stand-in reads the stand-in folder again')
464
489
  .action(filesCommand.bind);
465
490
  files
466
491
  .command('sync')
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":";AAEA;;;GAGG;AAEH;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,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SAAS,CAAC;KAClB,WAAW,CAAC,qQAAqQ,CAAC;KAClR,QAAQ,CAAC,OAAO,EAAE,qDAAqD,CAAC;KACxE,QAAQ,CAAC,QAAQ,EAAE,wCAAwC,CAAC;KAC5D,QAAQ,CAAC,MAAM,EAAE,8CAA8C,CAAC;KAChE,MAAM,CAAC,QAAQ,EAAE,mCAAmC,CAAC;KACrD,MAAM,CAAC,mBAAmB,EAAE,oIAAoI,CAAC;KACjK,MAAM,CAAC,eAAe,EAAE,4CAA4C,CAAC;KACrE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;AAElC,OAAO;KACJ,OAAO,CAAC,UAAU,CAAC;KACnB,WAAW,CAAC,8IAA8I,CAAC;KAC3J,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC;KACnC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAAC;KACzC,QAAQ,CAAC,cAAc,EAAE,0GAA0G,CAAC;KACpI,MAAM,CAAC,QAAQ,EAAE,mCAAmC,CAAC;KACrD,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;AAEnC,OAAO;KACJ,OAAO,CAAC,SAAS,CAAC;KAClB,WAAW,CAAC,iNAAiN,CAAC;KAC9N,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC;KACnC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAAC;KACzC,MAAM,CAAC,aAAa,EAAE,4CAA4C,CAAC;KACnE,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;AAElC,OAAO,CAAC,KAAK,EAAE,CAAC"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Copyright (c) 2025 Elara AI Pty Ltd
3
+ * Licensed under BSL 1.1. See LICENSE for details.
4
+ */
5
+ import { type FilesDeliveriesAction, type FilesDeliveriesAdmin, type FilesDeliveriesProbe } from '@elaraai/e3-cloud-types';
6
+ /** The line printed in place of the public key when standard output is no terminal. */
7
+ export declare const PUBLIC_KEY_TTY_ONLY = "the public key is printed only to a terminal: read it in the console";
8
+ /**
9
+ * A repository's deliveries as the command prints them.
10
+ *
11
+ * @param deliveries - What the admin route answered
12
+ * @param terminal - Whether standard output is a terminal: the armored public key follows only then
13
+ * @returns The lines
14
+ */
15
+ export declare function deliveriesText(deliveries: FilesDeliveriesAdmin, terminal: boolean): string;
16
+ /** The command's options. */
17
+ export interface DeliveriesOptions {
18
+ rotateKey?: boolean;
19
+ retireKey?: string;
20
+ retireFrom?: string;
21
+ probe?: string;
22
+ }
23
+ /** What `--probe` exits with, by what the probe found; any other error exits 1. */
24
+ export declare const PROBE_EXIT: {
25
+ readonly taken: 0;
26
+ readonly refused: 2;
27
+ readonly missing: 3;
28
+ };
29
+ /**
30
+ * The exit code of a probe that ended: {@link PROBE_EXIT}, or 1 for one that failed.
31
+ *
32
+ * @param probe - The probe, no longer running
33
+ * @returns The code
34
+ */
35
+ export declare function probeExitCode(probe: FilesDeliveriesProbe): number;
36
+ /** What the command was asked: read alone, rotate, or retire a key. */
37
+ export declare function deliveriesAction(options: DeliveriesOptions): FilesDeliveriesAction | null;
38
+ export declare const adminCommand: {
39
+ /** e3-cloud admin deliveries <serverUrl> <repo> [--rotate-key | --retire-key <fingerprint> [--retire-from <when>] | --probe <key>] */
40
+ deliveries(serverUrl: string, repo: string, options: DeliveriesOptions, waitOptions?: {
41
+ deadlineMs?: number;
42
+ }): Promise<void>;
43
+ };
44
+ //# sourceMappingURL=admin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/commands/admin.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA2BH,OAAO,EAA6B,KAAK,qBAAqB,EAAE,KAAK,oBAAoB,EAAE,KAAK,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAItJ,uFAAuF;AACvF,eAAO,MAAM,mBAAmB,yEAAyE,CAAC;AAK1G;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAAE,oBAAoB,EAAE,QAAQ,EAAE,OAAO,GAAG,MAAM,CAqB1F;AAED,6BAA6B;AAC7B,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,mFAAmF;AACnF,eAAO,MAAM,UAAU;;;;CAAgD,CAAC;AAExE;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,oBAAoB,GAAG,MAAM,CAQjE;AAED,uEAAuE;AACvE,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,iBAAiB,GAAG,qBAAqB,GAAG,IAAI,CAWzF;AAED,eAAO,MAAM,YAAY;IACvB,sIAAsI;0BAC1G,MAAM,QAAQ,MAAM,WAAW,iBAAiB,gBAAe;QAAE,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,GAAQ,OAAO,CAAC,IAAI,CAAC;CAoBxI,CAAC"}