@elaraai/e3-cloud-claude-plugin 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.
@@ -1,4 +1,4 @@
1
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/host.js
1
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/host.js
2
2
  import { existsSync } from "node:fs";
3
3
  import { fileURLToPath } from "node:url";
4
4
  var isCodex = existsSync(fileURLToPath(new URL("../../.codex-plugin/plugin.json", import.meta.url)));
@@ -6,7 +6,7 @@ function hostText(text) {
6
6
  return isCodex ? text.replaceAll("mcp__plugin_east_east__", "").replaceAll("/east:", "$east-codex-plugin:").replaceAll("Claude Code", "Codex") : text;
7
7
  }
8
8
 
9
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/hook-io.js
9
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/hook-io.js
10
10
  async function readHookInput() {
11
11
  let input = "";
12
12
  for await (const chunk of process.stdin) {
@@ -34,10 +34,10 @@ function writeHookDecision(hookEventName, decision, reason) {
34
34
  process.stdout.write(JSON.stringify(output));
35
35
  }
36
36
 
37
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/transcript.js
37
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/transcript.js
38
38
  var SEARCH_TOOLS = ["mcp__plugin_east_east__search_east_examples", "mcp__plugin_east_east__get_east_example", "mcp__east__search_east_examples", "mcp__east__get_east_example"];
39
39
 
40
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-guidance.js
40
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-guidance.js
41
41
  var EAST_GUIDANCE = {
42
42
  searchTool: "mcp__plugin_east_east__search_east_examples",
43
43
  getTool: "mcp__plugin_east_east__get_east_example",
@@ -79,7 +79,7 @@ var GATE_TEXT = gateText(EAST_GUIDANCE);
79
79
  var READ_TEXT = readText(EAST_GUIDANCE);
80
80
  var isExampleCorpusRead = corpusReadFor(EAST_GUIDANCE.scope);
81
81
 
82
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-hooks.js
82
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-hooks.js
83
83
  function preReadReminder(event, options) {
84
84
  return options.isCorpusRead(event.tool_name ?? "", event.tool_input ?? {}) ? { decision: "context", text: options.readText } : null;
85
85
  }
@@ -1,10 +1,10 @@
1
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-hooks.js
1
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-hooks.js
2
2
  import { readFile as readFile2 } from "node:fs/promises";
3
3
  import { existsSync as existsSync2, writeFileSync } from "node:fs";
4
4
  import { tmpdir } from "node:os";
5
5
  import { join } from "node:path";
6
6
 
7
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/host.js
7
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/host.js
8
8
  import { existsSync } from "node:fs";
9
9
  import { fileURLToPath } from "node:url";
10
10
  var isCodex = existsSync(fileURLToPath(new URL("../../.codex-plugin/plugin.json", import.meta.url)));
@@ -12,7 +12,7 @@ function hostText(text) {
12
12
  return isCodex ? text.replaceAll("mcp__plugin_east_east__", "").replaceAll("/east:", "$east-codex-plugin:").replaceAll("Claude Code", "Codex") : text;
13
13
  }
14
14
 
15
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/hook-io.js
15
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/hook-io.js
16
16
  async function readHookInput() {
17
17
  let input = "";
18
18
  for await (const chunk of process.stdin) {
@@ -40,7 +40,7 @@ function writeHookDecision(hookEventName, decision, reason) {
40
40
  process.stdout.write(JSON.stringify(output));
41
41
  }
42
42
 
43
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/transcript.js
43
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/transcript.js
44
44
  import { readFile } from "node:fs/promises";
45
45
  var SEARCH_TOOLS = ["mcp__plugin_east_east__search_east_examples", "mcp__plugin_east_east__get_east_example", "mcp__east__search_east_examples", "mcp__east__get_east_example"];
46
46
  async function searchedInTranscript(transcriptPath, tools = SEARCH_TOOLS) {
@@ -53,7 +53,7 @@ async function searchedInTranscript(transcriptPath, tools = SEARCH_TOOLS) {
53
53
  return tools.some((tool) => raw.includes(`"name":"${tool}"`) || raw.includes(`"name": "${tool}"`));
54
54
  }
55
55
 
56
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-guidance.js
56
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-guidance.js
57
57
  var EAST_GUIDANCE = {
58
58
  searchTool: "mcp__plugin_east_east__search_east_examples",
59
59
  getTool: "mcp__plugin_east_east__get_east_example",
@@ -95,7 +95,7 @@ var GATE_TEXT = gateText(EAST_GUIDANCE);
95
95
  var READ_TEXT = readText(EAST_GUIDANCE);
96
96
  var isExampleCorpusRead = corpusReadFor(EAST_GUIDANCE.scope);
97
97
 
98
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-hooks.js
98
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-hooks.js
99
99
  async function preWriteGate(event, options) {
100
100
  const cwd = event.cwd || process.cwd();
101
101
  const filePath = event.tool_input?.file_path;
@@ -21556,7 +21556,7 @@ var StdioServerTransport = class {
21556
21556
  }
21557
21557
  };
21558
21558
 
21559
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search.js
21559
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search.js
21560
21560
  import { readFile } from "node:fs/promises";
21561
21561
 
21562
21562
  // ../../node_modules/.pnpm/minisearch@7.2.0/node_modules/minisearch/dist/es/index.js
@@ -23369,7 +23369,7 @@ var objectToNumericMapAsync = async (object3) => {
23369
23369
  var wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
23370
23370
  var SPACE_OR_PUNCTUATION = /[\n\r\p{Z}\p{P}]+/u;
23371
23371
 
23372
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-guidance.js
23372
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search-guidance.js
23373
23373
  var EAST_GUIDANCE = {
23374
23374
  searchTool: "mcp__plugin_east_east__search_east_examples",
23375
23375
  getTool: "mcp__plugin_east_east__get_east_example",
@@ -23411,7 +23411,7 @@ var GATE_TEXT = gateText(EAST_GUIDANCE);
23411
23411
  var READ_TEXT = readText(EAST_GUIDANCE);
23412
23412
  var isExampleCorpusRead = corpusReadFor(EAST_GUIDANCE.scope);
23413
23413
 
23414
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search.js
23414
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/search.js
23415
23415
  var MIN_SCORE = 5;
23416
23416
  async function loadIndexes(indexPaths) {
23417
23417
  const entries = [];
@@ -23537,7 +23537,7 @@ function getEntry(index, id) {
23537
23537
  return stored === void 0 ? null : stored;
23538
23538
  }
23539
23539
 
23540
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/mcp/example-tools.js
23540
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/mcp/example-tools.js
23541
23541
  var EAST_PACKAGES = ["east", "east-node-std", "east-node-io", "east-py-datascience", "east-ui", "e3-ui", "e3", "e3-ui-cli", "e3-create"];
23542
23542
  function isLoaded(index) {
23543
23543
  return typeof index.then === "function";
@@ -23610,7 +23610,7 @@ function registerExampleTools(server2, options) {
23610
23610
  import { fileURLToPath } from "node:url";
23611
23611
  var E3_CLOUD_INDEX_PATH = fileURLToPath(new URL("../../index.json", import.meta.url));
23612
23612
 
23613
- // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.119_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/transcript.js
23613
+ // ../../node_modules/.pnpm/@elaraai+east-plugin@1.0.121_typescript@5.9.3/node_modules/@elaraai/east-plugin/dist/lib/transcript.js
23614
23614
  var SEARCH_TOOLS = ["mcp__plugin_east_east__search_east_examples", "mcp__plugin_east_east__get_east_example", "mcp__east__search_east_examples", "mcp__east__get_east_example"];
23615
23615
 
23616
23616
  // ../e3-cloud-plugin/dist/lib/names.js
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "e3-cloud",
3
- "version": "1.1.19",
3
+ "version": "1.1.21",
4
4
  "description": "e3 cloud - apps for hosted e3 workspaces with @elaraai/e3-cloud-ui, files from buckets as inputs with @elaraai/e3-cloud-files, the e3-cloud CLI and @elaraai/e3-cloud-client: skills, example search and the search-first hooks",
5
5
  "author": {
6
6
  "name": "Elara AI",
package/index.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "version": 2,
3
3
  "stats": {
4
- "totalEntries": 48,
4
+ "totalEntries": 49,
5
5
  "totalFiles": 3,
6
6
  "packages": {
7
7
  "e3-cloud-ui": 13,
8
8
  "e3-cloud-files": 14,
9
- "e3-cloud-cli": 15,
9
+ "e3-cloud-cli": 16,
10
10
  "e3-cloud-client": 6
11
11
  }
12
12
  },
@@ -874,10 +874,15 @@
874
874
  "package": "e3-cloud-cli",
875
875
  "file": "static",
876
876
  "suite": "e3-cloud app --for-platform",
877
- "test": "Before a platform upgrade: stage each app's bundle built with the next e3, which the platform deploy switches live",
877
+ "test": "Before a platform upgrade: deploy each app built with the next e3 as always; it is prepared by itself, its own package held for the move where the repository lacks it, and nothing is removed",
878
878
  "keywords": [
879
879
  "for-platform",
880
880
  "stage",
881
+ "prepare",
882
+ "prepared build",
883
+ "hold",
884
+ "held package",
885
+ "remove-prepared",
881
886
  "platform upgrade",
882
887
  "e3 version",
883
888
  "list-all",
@@ -885,7 +890,7 @@
885
890
  "builtWith"
886
891
  ],
887
892
  "imports": [],
888
- "source": "e3-cloud app list-all https://e3.example.com # admin: every app, and which needs a bundle built with the platform's e3\n# after upgrading the project's @elaraai packages to the next release (1.0.88, say):\ne3-cloud app deploy https://e3.example.com/repos/acme production dist/ops.app --for-platform 1.0.88\n# staged beside the live version; the platform deploy that moves to 1.0.88 refuses while an app has none staged",
893
+ "source": "# At a version change of e3 (nothing is removed):\n# 1. bump the project's @elaraai dependencies to the next release (1.0.88, say)\n# 2. if an app has a page reading a record through indexes, give the package a new version in its source\n# 3. deploy each app as always: a build of a newer e3 than the platform runs is prepared by itself\ne3-cloud app deploy https://e3.example.com/repos/acme staging --from-source src/apps/ops.tsx\n# This platform runs e3 1.0.87, and ops is built with e3 1.0.88: preparing it for the platform's move to e3 1.0.88 on staging. …\n# where the repository lacks the package it was built against (acme@1.6.0, say), the platform holds it for the move:\n# Holding acme@1.6.0 (exported with e3 1.0.88) in acme for the platform's move to e3 1.0.88: the move imports it and deploys it to staging\n# the same version exported to other bytes: prepared on the workspace's package when the app fits it; else refused, saying to give it a new version\n# 4. release staging to production\ne3-cloud release https://e3.example.com/repos/acme staging production # carries the prepared builds to production\ne3-cloud app list https://e3.example.com/repos/acme staging # … · build for 1.0.88 prepared, with acme@1.6.0\ne3-cloud app remove-prepared https://e3.example.com/repos/acme staging ops # removes a prepared build; the live version stays\ne3-cloud app list-all https://e3.example.com # admin: every app, and which needs a build for the platform's e3\n# a changed package under an unchanged version is refused: a version names one package once in use, and the move imports exactly what was checked",
889
894
  "languages": [
890
895
  "typescript"
891
896
  ]
@@ -1200,6 +1205,35 @@
1200
1205
  "typescript"
1201
1206
  ]
1202
1207
  },
1208
+ {
1209
+ "id": "e3-cloud-cli:static:deliveries-admin",
1210
+ "skill": "e3-cloud-cli",
1211
+ "package": "e3-cloud-cli",
1212
+ "file": "static",
1213
+ "suite": "e3-cloud admin deliveries",
1214
+ "test": "A repository's encrypted deliveries (Files.deliveries()), for server admins: the area, its OpenPGP keys' fingerprints, a key rotated or retired, and a probe of one delivered file: whether a sync would take it, its plaintext's size and the key it was encrypted to, or the sync's refusal in the sync's words, without taking it",
1215
+ "keywords": [
1216
+ "admin",
1217
+ "deliveries",
1218
+ "Files.deliveries",
1219
+ "OpenPGP",
1220
+ "key",
1221
+ "fingerprint",
1222
+ "--rotate-key",
1223
+ "--retire-key",
1224
+ "--retire-from",
1225
+ "--probe",
1226
+ "probe",
1227
+ "refused",
1228
+ "encrypted",
1229
+ "e3-cloud"
1230
+ ],
1231
+ "imports": [],
1232
+ "source": "e3-cloud admin deliveries https://e3.example.com acme # the area, whether it is encrypted, every key's fingerprint (the public key only on a terminal)\ne3-cloud admin deliveries https://e3.example.com acme --rotate-key # a new current key; every earlier key kept and still decrypts\ne3-cloud admin deliveries https://e3.example.com acme --retire-key ABCD1234… # an earlier key closed to files written from now\n# Whether a sync would take one delivered file (its key relative to the deliveries folder), without taking it:\ne3-cloud admin deliveries https://e3.example.com acme --probe in/prices.csv\n# in/prices.csv would be taken: 23 bytes of plaintext, encrypted to the key with fingerprint 5EE4… (the current key)\n# or: in/prices.csv would be refused, in the words a sync gives:\n# in/prices.csv is not encrypted: deliveries take only OpenPGP messages to the deliveries key\n# exits 0 taken, 2 refused, 3 not found, 1 any other error; --probe goes alone",
1233
+ "languages": [
1234
+ "typescript"
1235
+ ]
1236
+ },
1203
1237
  {
1204
1238
  "id": "e3-cloud-client:static:basics",
1205
1239
  "skill": "e3-cloud-client",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elaraai/e3-cloud-claude-plugin",
3
- "version": "1.1.19",
3
+ "version": "1.1.21",
4
4
  "description": "e3 cloud - apps for hosted e3 workspaces with @elaraai/e3-cloud-ui, files from buckets as inputs with @elaraai/e3-cloud-files, the e3-cloud CLI and @elaraai/e3-cloud-client: skills, example search and the search-first hooks",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "type": "module",
@@ -143,19 +143,23 @@ e3-cloud app versions URL staging ops
143
143
  ### 4. Change the package
144
144
 
145
145
  ```bash
146
- e3 workspace deploy URL staging --from-source src/package.ts --inputs keep-edited --plan
147
- e3 workspace deploy URL staging --from-source src/package.ts --inputs keep-edited
146
+ e3 workspace deploy URL staging --from-source src/package.ts --plan
147
+ e3 workspace deploy URL staging --from-source src/package.ts
148
148
  e3 dataflow run URL staging
149
149
  ```
150
150
 
151
151
  - `--plan` says what the deploy does to each record, index and input, and
152
- writes nothing. `--inputs keep-edited` keeps the inputs people set while
153
- their type is unchanged; the default resets every input to the package's.
152
+ writes nothing. A deploy keeps the inputs people set while their type is
153
+ unchanged (`--inputs keep-edited`, the default since e3 1.0.120);
154
+ `--inputs reset` gives every input the package's value.
154
155
  - A deploy that would break an app of the workspace is refused, naming each
155
156
  app's problems: rebuild the apps against the new package and deploy them
156
157
  with it (`e3-cloud app deploy … --from-source`, which deploys the package
157
158
  first).
158
- - A deploy runs nothing: the next run recomputes the tasks. Files
159
+ - A deploy runs nothing, but sets each task's output its execution cache
160
+ still serves (for at most 30 s, never failing the deploy; a deploy that
161
+ stops short says so among its warnings): the next run computes only the
162
+ tasks whose inputs changed, and what the deploy left. Files
159
163
  declarations that no longer fit the package make a sync refuse until
160
164
  they're deployed again (6).
161
165
 
@@ -320,22 +324,57 @@ e3-cloud feedback close URL/workspaces/production 12
320
324
 
321
325
  ```bash
322
326
  e3-cloud app list-all https://e3.example.com # admins: which apps need a bundle
323
- e3-cloud app deploy URL staging --from-source src/apps/ops.tsx --for-platform 1.0.93
327
+ e3-cloud app deploy URL staging --from-source src/apps/ops.tsx # built with the next e3: prepared by itself
324
328
  e3-cloud release URL staging production
325
329
  ```
326
330
 
331
+ At a version change of e3, step by step (nothing is removed):
332
+
333
+ 1. Bump the project's `@elaraai` dependencies to the release built with the next e3.
334
+ 2. If an app has a page that reads a record through indexes, give the package a new version in its source.
335
+ 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.
336
+ 4. Release staging to production: `e3-cloud release URL staging production`.
337
+
338
+ 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:
339
+ - **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.
340
+ - **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.
341
+ - 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.
342
+ - A page that reads through indexes, or a fit the checks refuse, is refused the same way.
343
+
344
+ `--against-workspace`, given explicitly, binds as it always has, saying what differs.
345
+
327
346
  - Build with the e3 cloud release built with the next e3 (its packages pin
328
- it) and stage the bundle beside the live app: it goes live when the
329
- platform moves to that e3. A release
330
- carries staging's staged bundles, so production gets them through its
331
- staging.
347
+ it) and prepare a build of each app beside its live version: it goes live
348
+ when the platform moves to that e3. A release carries staging's prepared
349
+ builds, so production gets them through its staging.
350
+ - A build may bring a package of its own, one the repository lacks: the
351
+ platform holds it until the move ("Holding acme@1.6.0 (exported with e3
352
+ 1.0.93) in acme for the platform's move to e3 1.0.93: …"), and the move
353
+ deploys it to each workspace a build is prepared on with it, keeping the
354
+ inputs people set and migrating records, with no run (each such workspace
355
+ then usually needs one: the deploy keeps only the outputs of tasks it
356
+ leaves unchanged, and the next e3's export usually changes every task).
357
+ The CLI checks the build against that package first, by the project's
358
+ checks, and holds nothing when it does not fit; a platform
359
+ on an older e3 may not read the package, and then checks the build only
360
+ at the move, before it deploys. `--dry-run` with a package not held yet is
361
+ answered by those checks alone. After preparing, the CLI names the
362
+ workspace's apps still without a build. A deployment gains this only once
363
+ it runs a release that has it: an older one says so, naming its release,
364
+ and offers `--against-workspace`.
365
+ - `app list` shows `· build for 1.0.93 prepared, with acme@1.6.0`; `app
366
+ remove-prepared URL staging ops` removes a prepared build, the live
367
+ version staying. Another build of a held version is refused: give the
368
+ package a new version (an admin alone may `--replace` the zip held, while
369
+ no build is prepared on it).
332
370
  - Refused `package_version_conflict` (the next e3 exports the package to
333
371
  other bytes, a Python-authored function's code say)? Build against the
334
372
  package staging runs: `e3-cloud app deploy URL staging --from-source
335
373
  src/apps/ops.tsx --against-workspace --for-platform 1.0.93`. The bundle
336
374
  names that package and carries none. It needs nothing of the platform's
337
375
  release. It is refused for a source of another version, for an app with a
338
- page reading a record through indexes (remove it across the move instead),
376
+ page reading a record through indexes (prepare it with a package of its own
377
+ instead, above),
339
378
  and when its pages bind what staging's package declares otherwise (in the
340
379
  platform's checks' words); a bundle carrying no package deploys only onto
341
380
  exactly its package, as read seconds before the deploy (a workspace deploy
@@ -360,7 +399,9 @@ e3-cloud release URL staging production --remove-apps
360
399
  when the repository lacks it, checks every app against it, and deploys: at
361
400
  once when the workspace runs that package (UI only); else the package deploys
362
401
  first, keeping the inputs people set, and the apps go live as it completes
363
- (the CLI waits). `--dry-run` checks and changes nothing; `--from-source`
402
+ (the CLI waits). `--dry-run` checks and changes nothing a person, a deploy
403
+ or a listing can see: no package is imported or held, and the build it
404
+ sends to be checked is dropped, its object never written; `--from-source`
364
405
  builds sources instead of bundles; several apps deploy together or not at all.
365
406
  - An app is developed in the cloud, not locally: deploy it to a workspace
366
407
  of your own (`--from-source` after each change, `--dry-run` to check
@@ -369,9 +410,11 @@ e3-cloud release URL staging production --remove-apps
369
410
  - `app deploy` and `app remove` to a protected workspace are refused, naming
370
411
  its staging; an admin alone forces one with `--force`, which warns first and
371
412
  which the workspace's history records as forced.
372
- - `app deploy … --for-platform <version>` stages a bundle built with the
373
- platform's next e3; `app list-all` (admins) lists every app and which needs
374
- one.
413
+ - `app deploy … --for-platform <version>` prepares a build made with the
414
+ platform's next e3, holding its own package for the move where the
415
+ repository lacks it (`--replace`, an admin's, replaces a zip held); `app
416
+ remove-prepared` removes one; `app list-all` (admins) lists every app and
417
+ which needs one.
375
418
  - `--against-workspace` (`app build <source> --against-workspace
376
419
  <workspace-url>`, or `app deploy … --from-source … --against-workspace`)
377
420
  builds against the package the workspace runs, as the repository holds it,
@@ -460,6 +503,14 @@ path or a repository URL:
460
503
  - `files status <repo> <ws>`: the declarations, where each source's files
461
504
  are (`own storage upload/`, or a bucket's URL), what each mapping holds,
462
505
  the last sync.
506
+ - `admin deliveries <server> <repo>` (server admins): a repository's
507
+ deliveries (`Files.deliveries()`, files a client sends, encrypted to the
508
+ deployment's OpenPGP key): where they are, every key's fingerprint,
509
+ `--rotate-key`, `--retire-key <fingerprint>`; and `--probe <key>`, whether
510
+ a sync would take one delivered file (its key relative to the deliveries
511
+ folder) without taking it: its plaintext's size and the key it was
512
+ encrypted to, or the sync's refusal in the sync's words. It exits 0 when
513
+ taken, 2 when refused, 3 when there is no such file, 1 otherwise.
463
514
 
464
515
  ## Traps
465
516
 
@@ -114,7 +114,7 @@ What do you need?
114
114
  │ ├─ Undo a release → e3-cloud rollback <url> <production> (declarations go back with the package)
115
115
  │ ├─ An emergency change → e3-cloud files deploy … --force (an admin's; history records it; the next release undoes it)
116
116
  │ └─ Rehearse on production's files → e3-cloud staging add … (a copy: values kept, own storage empty), then bind ../production/upload/
117
- ├─ Keep synced inputs across a package deploy → e3 workspace deploy … --inputs keep-edited
117
+ ├─ Keep synced inputs across a package deploy → e3 workspace deploy … (keep-edited, the default; --inputs reset resets them)
118
118
  └─ Drive it from code
119
119
  ├─ The checks → @elaraai/e3-cloud-files/check: checkFiles, checkBindings, readPackageSurface
120
120
  ├─ The sync over your own ports → @elaraai/e3-cloud-files/sync: syncFiles (FilesReader, FilesWriter, FilesLedger), planPush
@@ -282,9 +282,9 @@ keeps only each folder's n greatest keys.
282
282
  So is a file the sync can't read (archived, under a key it may not use,
283
283
  changed while it read it): the sync goes on, and the next tries it again.
284
284
  - Deploying a new package can make the declarations no longer fit: a sync then
285
- refuses until they're deployed again. A package deploy also resets synced
286
- inputs unless it keeps them (`--inputs keep-edited`); the next sync takes
287
- them again whole.
285
+ refuses until they're deployed again. A package deploy keeps synced inputs
286
+ as they are (`--inputs keep-edited`, the default); one asked to reset them
287
+ (`--inputs reset`) empties them, and the next sync takes them again whole.
288
288
  - A changed declaration has its targets taken again whole at the next sync;
289
289
  so does a source bound elsewhere, for the targets that took files where it
290
290
  was (`files bind` names them).