@elaraai/e3-cloud-cli 1.1.18 → 1.1.19

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.
@@ -0,0 +1,403 @@
1
+ /**
2
+ * Copyright (c) 2025 Elara AI Pty Ltd
3
+ * Licensed under BSL 1.1. See LICENSE for details.
4
+ */
5
+ /**
6
+ * Whether an app built from its source may be bound to the package its
7
+ * workspace runs (`--against-workspace`), and what of the two packages
8
+ * differs ({@link bindingDecision}).
9
+ *
10
+ * - **An app with an indexed read is never bound.** A page that reads a
11
+ * record through indexes (`Data.bindPaged(record, { indexes })`, e3-ui's
12
+ * `data_bind_indexed` call) carries the record's index programs from its
13
+ * own source: each index's key function and e3's maintenance programs.
14
+ * Nothing shows they are the workspace's: e3's compiled programs carry
15
+ * where their source was compiled ({@link indexedReads}). The platform's
16
+ * checks don't read such a call, so this is the one guard for it, and it
17
+ * fails closed: east-ui's record Slice over such a read counts as one, and
18
+ * a bind of the workspace (e3-ui's data, record, function and decision
19
+ * families) this module doesn't know refuses too ({@link unknownBinds}).
20
+ * A page-local bind (east-ui's `State.bind`, `Slice.bind`) binds nothing of
21
+ * the workspace and is no matter here.
22
+ * - **What the app's pages bind is held to the held package's names and
23
+ * types** by the checks the platform runs at its deploy: `checkApp` of
24
+ * `@elaraai/e3-cloud-ui/check`, against the held package's view. So the
25
+ * CLI refuses in the platform's words what the platform would refuse.
26
+ * - **Anything else that differs is printed, and allowed**
27
+ * ({@link comparePackages}): a dataset, a record's index or mutation, a
28
+ * function or a task that no page binds, whose type e3 or east-ui itself may
29
+ * have changed between releases (a ui() task's `UIComponentType`, the span
30
+ * index e3 generates beside a nested series index); code; a record's
31
+ * programs; initial values; the inputs taken from files.
32
+ * - **A `Page.task` page whose task's output the two type otherwise is
33
+ * named.** The checks hold a task page to its task and its UI role alone,
34
+ * so it is bound; after the platform's move it shows output computed in the
35
+ * held package's type ({@link BindingDecision.taskPages}).
36
+ *
37
+ * Types are compared by their structure, as the checks compare them, never by
38
+ * the ids an export gave recursive types.
39
+ */
40
+ import { StringType, compareFor, constValueOf, equalFor, isValueOf, variant, walkIR } from '@elaraai/east';
41
+ import { PackageObjectType, decodeFunctionObject, decodeMutationObject, decodePackageObject, decodeRecordIndexObject, decodeRecordObject, decodeTaskObject, pathToString, TreePathType, } from '@elaraai/e3-types';
42
+ import { iterateZipEntries, openZip } from '@elaraai/e3-core';
43
+ import * as ownChecks from '@elaraai/e3-cloud-ui/check';
44
+ import { typeListsEqual, typeValuesEqual } from '@elaraai/e3-cloud-ui/check';
45
+ /** e3-ui's platform function for a record read through indexes (`Data.bindPaged(record, { indexes })`). */
46
+ const DATA_BIND_INDEXED = 'data_bind_indexed';
47
+ /**
48
+ * The calls of an indexed read beside its bind:
49
+ * - e3-ui's on a handle read through indexes (`data_indexed_page`,
50
+ * `data_indexed_seek`, …);
51
+ * - east-ui's record Slice (`Slice.bindRecord`, `slice_bind_record`) and
52
+ * its operations (`slice_record_read`, …). Its source must be
53
+ * `Data.bindPaged(record, { indexes })` (east-ui `platform/slice/record.js`,
54
+ * `bindRecord`): the handle, its maintenance programs and copies among it,
55
+ * is the call's second argument, and its reads go through the record's
56
+ * indexes.
57
+ */
58
+ const INDEXED_CALL = /^data_indexed_|^slice_bind_record$|^slice_record_/;
59
+ /**
60
+ * A bind of the workspace: e3-ui's families of data, records, functions and
61
+ * decisions (`data_bind`, `record_bind`, `function_bind`, `decision_bind`,
62
+ * and any other of theirs naming a bind). east-ui's binds (`state_bind`, a
63
+ * value kept in the browser; `slice_bind`, a narrowing of rows the page
64
+ * already holds) bind nothing of the workspace, so are no part of it.
65
+ */
66
+ const WORKSPACE_BIND = /^(?:data|record|function|decision)_(?:\w+_)?bind(?:_\w+)?$/;
67
+ /**
68
+ * The binds of the workspace whose bindings this CLI knows the platform's
69
+ * checks hold, or that carry no program: `Data.bind`, `Data.bindPaged` with
70
+ * no indexes and pinned, `Func.bind`, `Record.bind` (names and types alone),
71
+ * and `Decision.bind` (resolved through `Data.bind` handles, which are
72
+ * checked).
73
+ */
74
+ const KNOWN_BINDS = new Set(['data_bind', 'data_bind_paged', 'data_bind_paged_pinned', 'function_bind', 'record_bind', 'decision_bind']);
75
+ const sameHash = equalFor(StringType);
76
+ const byName = compareFor(StringType);
77
+ /** The platform calls of a page's IR, by name, each with its arguments. */
78
+ function platformCalls(body, visit) {
79
+ walkIR(body, (node) => {
80
+ if (node.type !== 'Platform')
81
+ return;
82
+ const { name, arguments: args } = node.value;
83
+ visit(name, args);
84
+ });
85
+ }
86
+ /**
87
+ * The pages of an app that read a record through indexes, each with the
88
+ * records it reads so: every `data_bind_indexed` call in a page's IR, whose
89
+ * sixth argument is the record's name (and first its path). A task's page
90
+ * reads what its task's output holds, which is the workspace's own.
91
+ *
92
+ * @param app - The app, as built
93
+ * @returns Its pages with an indexed read, in its order; none for an app without
94
+ */
95
+ export function indexedReads(app) {
96
+ const reads = [];
97
+ for (const page of app.pages) {
98
+ if (page.body.type !== 'east')
99
+ continue;
100
+ const records = new Set();
101
+ platformCalls(page.body.value, (name, args) => {
102
+ if (sameHash(name, DATA_BIND_INDEXED))
103
+ records.add(recordOf(args));
104
+ // A call on an indexed handle, or a record Slice over one, whose bind this walk didn't see: still an indexed read
105
+ else if (INDEXED_CALL.test(name))
106
+ records.add('a record');
107
+ });
108
+ if (records.size > 1)
109
+ records.delete('a record');
110
+ if (records.size > 0)
111
+ reads.push({ page: page.name, records: [...records].sort(byName) });
112
+ }
113
+ return reads;
114
+ }
115
+ /**
116
+ * The pages of an app that call a bind of the workspace this CLI doesn't
117
+ * know: one of e3-ui's data, record, function or decision families naming a
118
+ * bind, other than the known ones and the indexed read; a newer e3-ui's,
119
+ * say. Such a bind may carry programs from its own source, as the indexed
120
+ * read does, which nothing here can show to be the workspace's: it refuses
121
+ * the binding, as an indexed read does. A page-local bind is no part of it.
122
+ *
123
+ * @param app - The app, as built
124
+ * @returns Its pages with such a call, in its order; none for an app without
125
+ */
126
+ export function unknownBinds(app) {
127
+ const found = [];
128
+ for (const page of app.pages) {
129
+ if (page.body.type !== 'east')
130
+ continue;
131
+ const calls = new Set();
132
+ platformCalls(page.body.value, (name) => {
133
+ if (WORKSPACE_BIND.test(name) && !KNOWN_BINDS.has(name) && !sameHash(name, DATA_BIND_INDEXED))
134
+ calls.add(name);
135
+ });
136
+ if (calls.size > 0)
137
+ found.push({ page: page.name, calls: [...calls].sort(byName) });
138
+ }
139
+ return found;
140
+ }
141
+ /** The record an indexed read reads: its name, else its path, else that it is unknown. */
142
+ function recordOf(args) {
143
+ for (const [at, words] of [[5, (v) => (isValueOf(v, StringType) ? v : null)], [0, pathWords]]) {
144
+ try {
145
+ const value = words(constValueOf(args[at]));
146
+ if (value !== null)
147
+ return value;
148
+ }
149
+ catch {
150
+ // not a constant: the next
151
+ }
152
+ }
153
+ return 'a record';
154
+ }
155
+ /** A tree path's constant, in e3's words: `.records.orders`; null for what is no path. */
156
+ function pathWords(value) {
157
+ return isValueOf(value, TreePathType) ? pathToString(value) : null;
158
+ }
159
+ /** Two lists of names, as sets: whether they hold the same names. */
160
+ function sameNameSet(a, b) {
161
+ const x = [...a].sort(byName);
162
+ const y = [...b].sort(byName);
163
+ return x.length === y.length && x.every((name, i) => sameHash(name, y[i]));
164
+ }
165
+ const sameRef = equalFor(PackageObjectType.fields.data.fields.refs.value);
166
+ const sameSource = equalFor(PackageObjectType.fields.sources.value);
167
+ /** Every dataset of a structure, by its path in e3's words (`.inputs.target`), with its type. */
168
+ function datasetsOf(structure, at, into) {
169
+ if (structure.type === 'value') {
170
+ into.set(pathToString(at), structure.value.type);
171
+ return into;
172
+ }
173
+ for (const [name, child] of structure.value)
174
+ datasetsOf(child, [...at, variant('field', name)], into);
175
+ return into;
176
+ }
177
+ /** A ref path in words: `inputs/target` is `.inputs.target`. */
178
+ function refWords(path) {
179
+ return `.${path.split('/').filter((part) => part !== '').join('.')}`;
180
+ }
181
+ /** Each name of either dictionary, sorted. */
182
+ function namesOf(a, b) {
183
+ return [...new Set([...a.keys(), ...b.keys()])].sort(byName);
184
+ }
185
+ /** What differs of one record on both sides, in words: its mutations' and its indexes' names and types. */
186
+ async function recordDifferences(name, x, y, source, held, heldWords) {
187
+ const ours = decodeRecordObject(await source.read(x));
188
+ const theirs = decodeRecordObject(await held.read(y));
189
+ const only = (inSource) => (inSource ? "is only in the source's package" : `is only in ${heldWords}`);
190
+ const found = [];
191
+ for (const mutation of namesOf(ours.mutations, theirs.mutations)) {
192
+ const m = ours.mutations.get(mutation);
193
+ const n = theirs.mutations.get(mutation);
194
+ if (m === undefined || n === undefined) {
195
+ found.push(`record ${name}: its mutation ${mutation} ${only(m !== undefined)}`);
196
+ continue;
197
+ }
198
+ if (sameHash(m, n))
199
+ continue;
200
+ const a = decodeMutationObject(await source.read(m));
201
+ const b = decodeMutationObject(await held.read(n));
202
+ if (!typeListsEqual(a.argTypes, b.argTypes))
203
+ found.push(`record ${name}: its mutation ${mutation} takes other arguments`);
204
+ }
205
+ for (const index of namesOf(ours.indexes, theirs.indexes)) {
206
+ const i = ours.indexes.get(index);
207
+ const j = theirs.indexes.get(index);
208
+ if (i === undefined || j === undefined) {
209
+ found.push(`record ${name}: its index ${index} ${only(i !== undefined)}`);
210
+ continue;
211
+ }
212
+ if (sameHash(i, j))
213
+ continue;
214
+ const a = decodeRecordIndexObject(await source.read(i));
215
+ const b = decodeRecordIndexObject(await held.read(j));
216
+ if (!typeValuesEqual(a.keyType, b.keyType))
217
+ found.push(`record ${name}: its index ${index} has another key type`);
218
+ if (!typeValuesEqual(a.valueType, b.valueType))
219
+ found.push(`record ${name}: its index ${index} has another projection`);
220
+ }
221
+ return found;
222
+ }
223
+ /**
224
+ * Everything that differs between the package an app's source exports and
225
+ * the one its workspace runs, in words, one line each: see the module's
226
+ * documentation. Nothing here refuses: what a page binds is the checks'.
227
+ *
228
+ * @param source - The package the source exports, read from its zip
229
+ * @param held - The package the workspace runs, read from its repository
230
+ * @param heldWords - The held package in words, e.g. `acme@1.5.0, which production runs`
231
+ * @returns The differences; none when the two are one package
232
+ * @throws When an object of either does not read or decode
233
+ */
234
+ export async function comparePackages(source, held, heldWords) {
235
+ const lines = [];
236
+ if (sameHash(source.hash, held.hash))
237
+ return lines;
238
+ const ours = decodePackageObject(await source.read(source.hash));
239
+ const theirs = decodePackageObject(await held.read(held.hash));
240
+ const only = (inSource) => (inSource ? "is only in the source's package" : `is only in ${heldWords}`);
241
+ // The data: every dataset and its type (a record's, and a task's output,
242
+ // among them: a record or a task on one side alone is a dataset on one side
243
+ // alone; and a path's kind, input, output or record, is in the path)
244
+ const a = datasetsOf(ours.data.structure, [], new Map());
245
+ const b = datasetsOf(theirs.data.structure, [], new Map());
246
+ for (const path of namesOf(a, b)) {
247
+ const x = a.get(path);
248
+ const y = b.get(path);
249
+ if (x === undefined || y === undefined)
250
+ lines.push(`dataset ${path} ${only(x !== undefined)}`);
251
+ else if (!typeValuesEqual(x, y))
252
+ lines.push(`dataset ${path} has another type`);
253
+ }
254
+ // Each record on both sides: its mutations' and indexes' names and types, then its programs
255
+ const programs = [];
256
+ for (const name of namesOf(ours.records, theirs.records)) {
257
+ const x = ours.records.get(name);
258
+ const y = theirs.records.get(name);
259
+ if (x === undefined || y === undefined || sameHash(x, y))
260
+ continue;
261
+ const found = await recordDifferences(name, x, y, source, held, heldWords);
262
+ if (found.length > 0)
263
+ lines.push(...found);
264
+ else
265
+ programs.push(name);
266
+ }
267
+ // Each function: its signature, then its code
268
+ const code = [];
269
+ for (const name of namesOf(ours.functions, theirs.functions)) {
270
+ const x = ours.functions.get(name);
271
+ const y = theirs.functions.get(name);
272
+ if (x === undefined || y === undefined) {
273
+ lines.push(`function ${name} ${only(x !== undefined)}`);
274
+ continue;
275
+ }
276
+ if (sameHash(x, y))
277
+ continue;
278
+ const f = decodeFunctionObject(await source.read(x));
279
+ const g = decodeFunctionObject(await held.read(y));
280
+ if (!typeListsEqual(f.argTypes, g.argTypes))
281
+ lines.push(`function ${name} takes other arguments`);
282
+ if (!typeValuesEqual(f.outputType, g.outputType))
283
+ lines.push(`function ${name} gives another result`);
284
+ if (!sameNameSet(f.drafts, g.drafts))
285
+ lines.push(`function ${name}'s calls may pass drafts of other records`);
286
+ if (typeListsEqual(f.argTypes, g.argTypes) && typeValuesEqual(f.outputType, g.outputType) && sameNameSet(f.drafts, g.drafts))
287
+ code.push(`function ${name}`);
288
+ }
289
+ // Each task on both sides whose object differs: its output's type is its
290
+ // dataset's, above, and a page that shows it is held to its role by the checks
291
+ for (const name of namesOf(ours.tasks, theirs.tasks)) {
292
+ const x = ours.tasks.get(name);
293
+ const y = theirs.tasks.get(name);
294
+ if (x !== undefined && y !== undefined && !sameHash(x, y))
295
+ code.push(`task ${name}`);
296
+ }
297
+ if (code.length > 0)
298
+ lines.push(`the compiled code of ${code.join(', ')} (their code, or only where their source was compiled)`);
299
+ if (programs.length > 0)
300
+ lines.push(`the programs of record ${programs.join(', ')} (their mutations', indexes' or migrations' code, or only where it was compiled)`);
301
+ const values = namesOf(ours.data.refs, theirs.data.refs).filter((path) => {
302
+ const x = ours.data.refs.get(path);
303
+ const y = theirs.data.refs.get(path);
304
+ return x === undefined || y === undefined || !sameRef(x, y);
305
+ });
306
+ if (values.length > 0)
307
+ lines.push(`the initial value of ${values.map(refWords).join(', ')}`);
308
+ const files = namesOf(ours.sources, theirs.sources).filter((path) => {
309
+ const x = ours.sources.get(path);
310
+ const y = theirs.sources.get(path);
311
+ return x === undefined || y === undefined || !sameSource(x, y);
312
+ });
313
+ if (files.length > 0)
314
+ lines.push(`the inputs taken from a file on one side, or from another file: ${files.map(refWords).join(', ')}`);
315
+ return lines;
316
+ }
317
+ /**
318
+ * The `Page.task` pages of an app whose task's output the two packages type
319
+ * otherwise. The checks hold such a page to its task and its UI role, never
320
+ * to its output's type: the page is bound, and shows what the held package's
321
+ * task computes, in the held package's type.
322
+ *
323
+ * @param app - The app, as built
324
+ * @param source - The package its source exports
325
+ * @param held - The package the workspace runs
326
+ * @returns Those pages, in the app's order; none when the two are one package
327
+ * @throws When an object of either does not read or decode
328
+ */
329
+ async function taskPagesTypedOtherwise(app, source, held) {
330
+ const shown = app.pages.flatMap((page) => (page.body.type === 'task' ? [{ page: page.name, task: page.body.value }] : []));
331
+ if (shown.length === 0 || sameHash(source.hash, held.hash))
332
+ return [];
333
+ const sides = await Promise.all([source, held].map(async (side) => {
334
+ const pkg = decodePackageObject(await side.read(side.hash));
335
+ return { side, pkg, types: datasetsOf(pkg.data.structure, [], new Map()) };
336
+ }));
337
+ const pages = [];
338
+ for (const entry of shown) {
339
+ const outputs = [];
340
+ for (const { side, pkg, types } of sides) {
341
+ const task = pkg.tasks.get(entry.task);
342
+ const path = task === undefined ? null : pathWords(decodeTaskObject(await side.read(task)).output.path);
343
+ outputs.push(path === null ? undefined : types.get(path));
344
+ }
345
+ const [ours, theirs] = outputs;
346
+ // A task on one side alone is the checks' (task_missing)
347
+ if (ours !== undefined && theirs !== undefined && !typeValuesEqual(ours, theirs))
348
+ pages.push(entry);
349
+ }
350
+ return pages;
351
+ }
352
+ /**
353
+ * Whether an app, built from its source, may be bound to the package its
354
+ * workspace runs: see the module's documentation.
355
+ *
356
+ * @param app - The app, as built (on its source's package)
357
+ * @param source - The package its source exports, read from its zip
358
+ * @param held - The package the workspace runs, read from its repository
359
+ * @param heldRef - That package's name, version and hash
360
+ * @param heldWords - That package in words, e.g. `acme@1.5.0, which production runs`
361
+ * @param checks - The checks to run: the project's, as its build ran them (`@elaraai/e3-cloud-ui/check`
362
+ * resolved from the source); this CLI's own by default
363
+ * @returns Its indexed reads and unknown binds, the checks' problems against the held package, the differences, and its task pages typed otherwise
364
+ * @throws When an object of either does not read or decode
365
+ */
366
+ export async function bindingDecision(app, source, held, heldRef, heldWords, checks = ownChecks) {
367
+ const indexed = indexedReads(app);
368
+ const unknown = unknownBinds(app);
369
+ if (indexed.length > 0 || unknown.length > 0)
370
+ return { indexed, unknown, problems: [], differences: [], taskPages: [] };
371
+ const bound = { ...app, package: { name: heldRef.name, version: heldRef.version, hash: heldRef.hash } };
372
+ const problems = checks.checkApp(bound, await checks.readPackageView(held.read, heldRef), { e3Version: null });
373
+ const differences = await comparePackages(source, held, heldWords);
374
+ const taskPages = problems.length > 0 ? [] : await taskPagesTypedOtherwise(app, source, held);
375
+ return { indexed, unknown, problems, differences, taskPages };
376
+ }
377
+ /**
378
+ * A reader of a package zip's objects, as e3's export lays them out
379
+ * (`objects/<2>/<62>.beast2`), whatever release of e3 exported it.
380
+ *
381
+ * @param zip - The zip's bytes
382
+ * @returns The reader
383
+ * @throws When the zip does not read
384
+ */
385
+ export async function zipObjects(zip) {
386
+ const reader = await openZip({ size: zip.byteLength, read: (offset, length) => Promise.resolve(zip.subarray(offset, offset + length)) });
387
+ const objects = new Map();
388
+ try {
389
+ for await (const entry of iterateZipEntries(reader)) {
390
+ const object = /^objects\/([0-9a-f]{2})\/([0-9a-f]{62})\.beast2$/.exec(entry.fileName);
391
+ if (object !== null)
392
+ objects.set(`${object[1]}${object[2]}`, await entry.getData());
393
+ }
394
+ }
395
+ finally {
396
+ reader.close();
397
+ }
398
+ return (hash) => {
399
+ const bytes = objects.get(hash);
400
+ return bytes === undefined ? Promise.reject(new Error(`the package's zip holds no object ${hash}`)) : Promise.resolve(bytes);
401
+ };
402
+ }
403
+ //# sourceMappingURL=package-compare.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package-compare.js","sourceRoot":"","sources":["../../src/package-compare.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAA+B,MAAM,eAAe,CAAC;AACxI,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ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1
  {
2
2
  "name": "@elaraai/e3-cloud-cli",
3
- "version": "1.1.18",
3
+ "version": "1.1.19",
4
4
  "type": "module",
5
5
  "description": "CLI for e3 cloud management",
6
6
  "license": "BUSL-1.1",
@@ -15,10 +15,10 @@
15
15
  "@elaraai/e3-types": "1.0.119",
16
16
  "commander": "^12.0.0",
17
17
  "esbuild": "^0.27.2",
18
- "@elaraai/e3-cloud-client": "1.1.18",
19
- "@elaraai/e3-cloud-types": "1.1.18",
20
- "@elaraai/e3-cloud-files": "1.1.18",
21
- "@elaraai/e3-cloud-ui": "1.1.18"
18
+ "@elaraai/e3-cloud-client": "1.1.19",
19
+ "@elaraai/e3-cloud-types": "1.1.19",
20
+ "@elaraai/e3-cloud-files": "1.1.19",
21
+ "@elaraai/e3-cloud-ui": "1.1.19"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@elaraai/east": "1.0.119"