@astryxdesign/cli 0.7.12-canary.4043d65 → 0.7.12-canary.42f1a76

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.
Files changed (78) hide show
  1. package/api/build/blocks/blocks.d.mts +41 -0
  2. package/api/build/blocks/blocks.mjs +118 -68
  3. package/api/component/__fixtures__/resolutions/modules.txt +3 -3
  4. package/api/doctor/doctor.d.mts +4 -4
  5. package/api/doctor/doctor.mjs +248 -78
  6. package/api/icon/_authoring.mjs +8 -1
  7. package/api/icon/add/add.mjs +45 -5
  8. package/api/icon/icon.type.d.mts +24 -0
  9. package/api/icon/icon.type.mjs +6 -0
  10. package/api/icon/iconAdd.doc.mjs +1 -1
  11. package/api/icon/map/map.mjs +11 -4
  12. package/api/integration/add-helpers.d.mts +5 -1
  13. package/api/integration/add-helpers.mjs +1 -1
  14. package/api/render/render.doc.mjs +1 -1
  15. package/api/render/render.type.d.mts +1 -1
  16. package/api/render/render.type.mjs +1 -1
  17. package/api/search/ORDERING.md +3 -0
  18. package/api/search/_adapter.d.mts +10 -2
  19. package/api/search/_adapter.mjs +13 -2
  20. package/api/search/_fit-order.d.mts +47 -0
  21. package/api/search/_fit-order.mjs +257 -0
  22. package/api/search/_main-searcher.mjs +15 -5
  23. package/api/template/skeleton/skeleton.mjs +1 -1
  24. package/api/template/template.mjs +1 -0
  25. package/assets/codemods/transforms/v0.1.0/drop-xds-prefix-imports.mjs +1 -1
  26. package/assets/codemods/transforms/v0.1.0/index.mjs +1 -1
  27. package/assets/discover/official-packages.json +16 -0
  28. package/assets/docs/styling-overview.doc.mjs +3 -3
  29. package/assets/docs/tree/icon-sets.doc.mjs +4 -4
  30. package/assets/docs/tree/render-pages.doc.mjs +1 -1
  31. package/assets/docs/tree/tailwind.doc.mjs +41 -1
  32. package/assets/docs/tree/type-scale.doc.mjs +19 -2
  33. package/assets/templates/blocks/components/Hooks/useInteractiveRoleHookUsage.doc.mjs +14 -0
  34. package/assets/templates/blocks/components/Hooks/useInteractiveRoleHookUsage.tsx +56 -0
  35. package/assets/templates/blocks/components/Hooks/useStreamingTextHookUsage.doc.mjs +2 -2
  36. package/assets/templates/blocks/components/Hooks/useStreamingTextHookUsage.tsx +66 -10
  37. package/assets/templates/blocks/components/Link/useLinkifyHookUsage.doc.mjs +14 -0
  38. package/assets/templates/blocks/components/Link/useLinkifyHookUsage.tsx +39 -0
  39. package/assets/templates/blocks/components/PowerSearch/usePowerSearchConfigHookUsage.doc.mjs +14 -0
  40. package/assets/templates/blocks/components/PowerSearch/usePowerSearchConfigHookUsage.tsx +83 -0
  41. package/assets/templates/blocks/components/Table/RowsVirtualizationHookUsage.doc.mjs +14 -0
  42. package/assets/templates/blocks/components/Table/RowsVirtualizationHookUsage.tsx +41 -0
  43. package/assets/templates/blocks/components/Table/useTableColumnSettingsStateHookUsage.doc.mjs +14 -0
  44. package/assets/templates/blocks/components/Table/useTableColumnSettingsStateHookUsage.tsx +97 -0
  45. package/assets/templates/pages/table-grouped/page.tsx +30 -30
  46. package/assets/templates/themes/butter/butterTheme.ts +1 -2
  47. package/assets/templates/themes/gothic/gothicTheme.ts +16 -0
  48. package/assets/templates/themes/matcha/matchaTheme.ts +1 -1
  49. package/assets/templates/themes/neutral/neutralTheme.ts +6 -0
  50. package/assets/templates/themes/y2k/y2kPaletteRefs.generated.ts +1 -1
  51. package/assets/templates/themes/y2k/y2kTheme.ts +1 -1
  52. package/clients/cli/commands/experimental/icon.mjs +25 -4
  53. package/clients/cli/commands/experimental-render.doc.mjs +1 -1
  54. package/clients/cli/commands/template.mjs +204 -181
  55. package/clients/cli/lib/resolve-theme.mjs +16 -7
  56. package/foundation/discovery/component-discovery.mjs +1 -1
  57. package/foundation/discovery/hook-discovery.mjs +31 -8
  58. package/foundation/discovery/icon-set-writer.d.mts +21 -5
  59. package/foundation/discovery/icon-set-writer.mjs +114 -13
  60. package/foundation/discovery/template-adapter.mjs +2 -2
  61. package/foundation/doc-compiler/import.d.mts +5 -1
  62. package/foundation/doc-compiler/import.mjs +40 -6
  63. package/foundation/fs/import-url.d.mts +20 -0
  64. package/foundation/fs/import-url.mjs +22 -0
  65. package/foundation/fs/module-loader.d.mts +24 -3
  66. package/foundation/fs/module-loader.mjs +69 -47
  67. package/foundation/render/page-host.d.mts +4 -0
  68. package/foundation/render/page-host.mjs +45 -0
  69. package/foundation/render/page-worker.mjs +11 -5
  70. package/foundation/render/render-page.d.mts +11 -6
  71. package/foundation/render/render-page.mjs +138 -44
  72. package/foundation/response/error-codes.doc.mjs +1 -1
  73. package/foundation/text/levenshtein.d.mts +6 -1
  74. package/foundation/text/levenshtein.mjs +25 -9
  75. package/foundation/text/suggest-order.d.mts +8 -1
  76. package/foundation/text/suggest-order.mjs +72 -6
  77. package/foundation/xle/registry-core.mjs +1 -1
  78. package/package.json +6 -6
@@ -22,6 +22,47 @@ export function wordsOf(text: string): string[];
22
22
  * @returns {string[]}
23
23
  */
24
24
  export function termsOf(text: string): string[];
25
+ /**
26
+ * A text's docs side for `matchOf`: its word vector and that vector through
27
+ * the doc matrix. Search scores its entries' own docs with it.
28
+ * @param {string} text
29
+ * @param {BlockPickerWeights} weights
30
+ * @returns {{vector: Map<number, number>, projected: Float64Array}}
31
+ */
32
+ export function docSideOf(text: string, weights: BlockPickerWeights): {
33
+ vector: Map<number, number>;
34
+ projected: Float64Array;
35
+ };
36
+ /**
37
+ * A request's side for `matchOf`: its word vector and that vector through the
38
+ * request matrix.
39
+ * @param {string} request
40
+ * @param {BlockPickerWeights} weights
41
+ * @returns {{vector: Map<number, number>, projected: Float64Array}}
42
+ */
43
+ export function requestSideOf(request: string, weights: BlockPickerWeights): {
44
+ vector: Map<number, number>;
45
+ projected: Float64Array;
46
+ };
47
+ /**
48
+ * The picker's match of a request to a docs text: their projections' dot
49
+ * product plus the lexical weight times their plain overlap (the cosine of
50
+ * their word vectors). Build's ranking also reads the overlap alone.
51
+ * @param {{vector: Map<number, number>, projected: Float64Array}} request
52
+ * @param {{vector: Map<number, number>, projected: Float64Array}} doc
53
+ * @param {BlockPickerWeights} weights
54
+ * @returns {{match: number, overlap: number}}
55
+ */
56
+ export function matchOf(request: {
57
+ vector: Map<number, number>;
58
+ projected: Float64Array;
59
+ }, doc: {
60
+ vector: Map<number, number>;
61
+ projected: Float64Array;
62
+ }, weights: BlockPickerWeights): {
63
+ match: number;
64
+ overlap: number;
65
+ };
25
66
  /**
26
67
  * The blocks build names for a request, ranked by the picker.
27
68
  * @param {string} request
@@ -163,34 +163,10 @@ export function termsOf(text) {
163
163
  return out;
164
164
  }
165
165
 
166
- /**
167
- * The weights, decoded once per weights object.
168
- * @type {WeakMap<BlockPickerWeights, {index: Map<string, number>, idf: Float64Array, request: Int8Array, doc: Int8Array}>}
169
- */
170
- const decoded = new WeakMap();
171
-
172
- /** @param {BlockPickerWeights} weights */
173
- function decode(weights) {
174
- let d = decoded.get(weights);
175
- if (!d) {
176
- // Each byte is a signed weight stored offset by 128.
177
- const bytes = (/** @type {string} */ s) =>
178
- Int8Array.from(Buffer.from(s, 'base64'), b => b - 128);
179
- d = {
180
- index: new Map(weights.vocab.map((w, i) => [w, i])),
181
- idf: Float64Array.from(weights.idf, x => x / 1024),
182
- request: bytes(weights.request),
183
- doc: bytes(weights.doc),
184
- };
185
- decoded.set(weights, d);
186
- }
187
- return d;
188
- }
189
-
190
166
  /**
191
167
  * A text's sparse unit vector over the vocabulary: (1 + ln count) x idf.
192
168
  * @param {string[]} terms
193
- * @param {ReturnType<typeof decode>} d
169
+ * @param {{index: Map<string, number>, idf: Float64Array}} d
194
170
  * @returns {Map<number, number>}
195
171
  */
196
172
  function vectorOf(terms, d) {
@@ -214,20 +190,116 @@ function vectorOf(terms, d) {
214
190
  }
215
191
 
216
192
  /**
217
- * A sparse vector through a signed byte matrix.
218
- * @param {Map<number, number>} v
219
- * @param {Int8Array} m
193
+ * The vocabulary index and idf, read once per weights object, and each matrix
194
+ * row decoded when a side first uses it.
195
+ * @type {WeakMap<BlockPickerWeights, {index: Map<string, number>, idf: Float64Array, rows: Map<string, Int8Array>}>}
196
+ */
197
+ const vocabularies = new WeakMap();
198
+
199
+ /** @param {BlockPickerWeights} weights */
200
+ function vocabularyOf(weights) {
201
+ let v = vocabularies.get(weights);
202
+ if (!v) {
203
+ v = {
204
+ index: new Map(weights.vocab.map((w, i) => [w, i])),
205
+ idf: Float64Array.from(weights.idf, x => x / 1024),
206
+ rows: new Map(),
207
+ };
208
+ vocabularies.set(weights, v);
209
+ }
210
+ return v;
211
+ }
212
+
213
+ /**
214
+ * One row of a byte matrix, decoded from the base64 text alone: four
215
+ * characters hold three bytes, so the row's bytes sit inside the characters
216
+ * from its first byte's group to its last byte's group.
217
+ * @param {BlockPickerWeights} weights
218
+ * @param {'request' | 'doc'} matrix
219
+ * @param {number} i
220
+ * @returns {Int8Array}
221
+ */
222
+ function rowOf(weights, matrix, i) {
223
+ const {rows} = vocabularyOf(weights);
224
+ const key = `${matrix}:${i}`;
225
+ let row = rows.get(key);
226
+ if (!row) {
227
+ const {dims} = weights;
228
+ const first = Math.floor((i * dims) / 3);
229
+ const last = Math.ceil(((i + 1) * dims) / 3);
230
+ const bytes = Buffer.from(
231
+ weights[matrix].slice(first * 4, last * 4),
232
+ 'base64',
233
+ ).subarray(i * dims - first * 3, i * dims - first * 3 + dims);
234
+ // Each byte is a signed weight stored offset by 128.
235
+ row = Int8Array.from(bytes, b => b - 128);
236
+ rows.set(key, row);
237
+ }
238
+ return row;
239
+ }
240
+
241
+ /**
242
+ * A text's side for `matchOf` through one matrix: its word vector, and that
243
+ * vector times the matrix rows its words use, scaled.
244
+ * @param {string} text
245
+ * @param {BlockPickerWeights} weights
246
+ * @param {'request' | 'doc'} matrix
220
247
  * @param {number} scale
221
- * @param {number} dims
248
+ * @returns {{vector: Map<number, number>, projected: Float64Array}}
222
249
  */
223
- function project(v, m, scale, dims) {
224
- const out = new Float64Array(dims);
225
- for (const [i, x] of v) {
226
- const row = i * dims;
227
- for (let k = 0; k < dims; k++) out[k] += x * m[row + k];
250
+ function sideOf(text, weights, matrix, scale) {
251
+ const vector = vectorOf(termsOf(text), vocabularyOf(weights));
252
+ const {dims} = weights;
253
+ const projected = new Float64Array(dims);
254
+ for (const [i, x] of vector) {
255
+ const row = rowOf(weights, matrix, i);
256
+ for (let k = 0; k < dims; k++) projected[k] += x * row[k];
228
257
  }
229
- for (let k = 0; k < dims; k++) out[k] *= scale;
230
- return out;
258
+ for (let k = 0; k < dims; k++) projected[k] *= scale;
259
+ return {vector, projected};
260
+ }
261
+
262
+ /**
263
+ * A text's docs side for `matchOf`: its word vector and that vector through
264
+ * the doc matrix. Search scores its entries' own docs with it.
265
+ * @param {string} text
266
+ * @param {BlockPickerWeights} weights
267
+ * @returns {{vector: Map<number, number>, projected: Float64Array}}
268
+ */
269
+ export function docSideOf(text, weights) {
270
+ return sideOf(text, weights, 'doc', weights.docScale);
271
+ }
272
+
273
+ /**
274
+ * A request's side for `matchOf`: its word vector and that vector through the
275
+ * request matrix.
276
+ * @param {string} request
277
+ * @param {BlockPickerWeights} weights
278
+ * @returns {{vector: Map<number, number>, projected: Float64Array}}
279
+ */
280
+ export function requestSideOf(request, weights) {
281
+ return sideOf(request, weights, 'request', weights.requestScale);
282
+ }
283
+
284
+ /**
285
+ * The picker's match of a request to a docs text: their projections' dot
286
+ * product plus the lexical weight times their plain overlap (the cosine of
287
+ * their word vectors). Build's ranking also reads the overlap alone.
288
+ * @param {{vector: Map<number, number>, projected: Float64Array}} request
289
+ * @param {{vector: Map<number, number>, projected: Float64Array}} doc
290
+ * @param {BlockPickerWeights} weights
291
+ * @returns {{match: number, overlap: number}}
292
+ */
293
+ export function matchOf(request, doc, weights) {
294
+ let s = 0;
295
+ for (let k = 0; k < weights.dims; k++)
296
+ s += request.projected[k] * doc.projected[k];
297
+ let overlap = 0;
298
+ for (const [i, x] of request.vector) {
299
+ const y = doc.vector.get(i);
300
+ if (y !== undefined) overlap += x * y;
301
+ }
302
+ return {match: s + weights.lexical * overlap, overlap};
231
303
  }
232
304
 
233
305
  /**
@@ -261,7 +333,6 @@ function readCatalog(catalog, components, weights) {
261
333
  ]);
262
334
  const cached = catalogs.get(weights);
263
335
  if (cached && cached.key === key) return cached;
264
- const d = decode(weights);
265
336
  const names = components.map(c => c.name).sort((a, b) => b.length - a.length);
266
337
  const keywords = new Map(components.map(c => [c.name, c.keywords ?? []]));
267
338
  /** @type {Map<string, {component: string, vector: Map<number, number>, projected: Float64Array}>} */
@@ -276,12 +347,7 @@ function readCatalog(catalog, components, weights) {
276
347
  wordsOf(component).join(' '),
277
348
  (keywords.get(component) ?? []).join(' '),
278
349
  ].join(' ');
279
- const vector = vectorOf(termsOf(text), d);
280
- blocks.set(b.name, {
281
- component,
282
- vector,
283
- projected: project(vector, d.doc, weights.docScale, weights.dims),
284
- });
350
+ blocks.set(b.name, {component, ...docSideOf(text, weights)});
285
351
  }
286
352
  // A component is named by its own words, or by a keyword at most three
287
353
  // components share (weighted by how few share it).
@@ -378,26 +444,12 @@ export function pickBlocks(request, signals, weights) {
378
444
  /** @type {Map<string, SearchResultEntry>} */
379
445
  const entries = new Map();
380
446
  if (own.length === 0) return {names: [], entries};
381
- const d = decode(weights);
382
447
  const cat = readCatalog(signals.catalog, signals.components, weights);
383
- const q = vectorOf(termsOf(request), d);
384
- const eq = project(q, d.request, weights.requestScale, weights.dims);
385
- const dot = (/** @type {Map<number, number>} */ v) => {
386
- let s = 0;
387
- for (const [i, x] of q) {
388
- const y = v.get(i);
389
- if (y !== undefined) s += x * y;
390
- }
391
- return s;
392
- };
448
+ const side = requestSideOf(request, weights);
393
449
  /** @type {Map<string, {match: number, overlap: number}>} */
394
450
  const scored = new Map();
395
- for (const [name, b] of cat.blocks) {
396
- let s = 0;
397
- for (let k = 0; k < weights.dims; k++) s += eq[k] * b.projected[k];
398
- const overlap = dot(b.vector);
399
- scored.set(name, {match: s + weights.lexical * overlap, overlap});
400
- }
451
+ for (const [name, b] of cat.blocks)
452
+ scored.set(name, matchOf(side, b, weights));
401
453
  const get = (/** @type {string} */ b) =>
402
454
  scored.get(b) ?? {match: -Infinity, overlap: 0};
403
455
  const ranked = [...scored.keys()].sort((a, b) => get(b).match - get(a).match);
@@ -480,7 +532,7 @@ export function pickBlocks(request, signals, weights) {
480
532
  name,
481
533
  package: block.package ?? '',
482
534
  score: Math.max(1, Math.round(100 * Math.exp(x.score - max))),
483
- reason: reasonFor(request, cat.blocks.get(name), d, weights),
535
+ reason: reasonFor(request, side, cat.blocks.get(name), weights),
484
536
  description: block.description ?? '',
485
537
  displayName: block.displayName,
486
538
  kind: 'block',
@@ -493,11 +545,11 @@ export function pickBlocks(request, signals, weights) {
493
545
  /**
494
546
  * Why a block fits: the request words that tie it to its docs most.
495
547
  * @param {string} request
548
+ * @param {{vector: Map<number, number>, projected: Float64Array}} side the request's side
496
549
  * @param {{vector: Map<number, number>, projected: Float64Array} | undefined} block
497
- * @param {ReturnType<typeof decode>} d
498
550
  * @param {BlockPickerWeights} weights
499
551
  */
500
- function reasonFor(request, block, d, weights) {
552
+ function reasonFor(request, side, block, weights) {
501
553
  if (!block) return 'fits by meaning';
502
554
  const raw =
503
555
  String(request)
@@ -507,16 +559,14 @@ function reasonFor(request, block, d, weights) {
507
559
  const wordOf = new Map();
508
560
  for (const w of raw)
509
561
  if (!STOP.has(w) && !wordOf.has(stemOf(w))) wordOf.set(stemOf(w), w);
510
- const q = vectorOf(termsOf(request), d);
511
562
  /** @type {[string, number][]} */
512
563
  const parts = [];
513
- for (const [i, x] of q) {
564
+ for (const [i, x] of side.vector) {
514
565
  const term = weights.vocab[i];
515
566
  if (term.includes('_')) continue;
567
+ const row = rowOf(weights, 'request', i);
516
568
  let s = 0;
517
- const row = i * weights.dims;
518
- for (let k = 0; k < weights.dims; k++)
519
- s += d.request[row + k] * block.projected[k];
569
+ for (let k = 0; k < weights.dims; k++) s += row[k] * block.projected[k];
520
570
  s =
521
571
  x * s * weights.requestScale +
522
572
  weights.lexical * x * (block.vector.get(i) ?? 0);
@@ -271,7 +271,7 @@ useIsomorphicLayoutEffect useIsomorphicLayoutEffect hooks/useAnimatedLayout.doc.
271
271
  useLayerDismissal useLayerDismissal Layer/Layer.doc.mjs Layer/useLayerDismissal.ts
272
272
  useLightbox useLightbox Lightbox/useLightbox.doc.mjs Lightbox/useLightbox.tsx
273
273
  useLinkComponent useLinkComponent Link/useLinkComponent.doc.mjs Link/useLinkComponent.ts
274
- useLinkify useLinkify Link/Link.doc.mjs Link/useLinkify.tsx
274
+ useLinkify useLinkify Link/useLinkify.doc.mjs Link/useLinkify.tsx
275
275
  useListFormatter useListFormatter i18n/InternationalizationProvider.doc.mjs i18n/useListFormatter.ts
276
276
  useMenuDrillIn useMenuDrillIn DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/useMenuDrillIn.tsx
277
277
  useMenuHover useMenuHover hooks/useAnimatedLayout.doc.mjs hooks/useMenuHover.ts
@@ -282,7 +282,7 @@ useOverlay useOverlay Overlay/useOverlay.doc.mjs Overlay/useOverlay.tsx
282
282
  useOwnScrollGesture useOwnScrollGesture DateInput/DateInput.doc.mjs DateInput/useOwnScrollGesture.ts
283
283
  usePager usePager hooks/useAnimatedLayout.doc.mjs hooks/usePager.ts
284
284
  usePointerDragScroll usePointerDragScroll DateInput/DateInput.doc.mjs DateInput/usePointerDragScroll.ts
285
- usePowerSearchConfig usePowerSearchConfig PowerSearch/PowerSearch.doc.mjs PowerSearch/usePowerSearchConfig.ts
285
+ usePowerSearchConfig usePowerSearchConfig PowerSearch/usePowerSearchConfig.doc.mjs PowerSearch/usePowerSearchConfig.ts
286
286
  usePowerSearchSource usePowerSearchSource PowerSearch/PowerSearch.doc.mjs PowerSearch/usePowerSearchSource.ts
287
287
  useRenamedProp useRenamedProp hooks/useAnimatedLayout.doc.mjs hooks/useRenamedProp.ts
288
288
  useResolvedRequired useResolvedRequired hooks/useAnimatedLayout.doc.mjs hooks/useResolvedRequired.ts
@@ -298,7 +298,7 @@ useSpeechRecognition useSpeechRecognition Chat/Chat.doc.mjs Chat/useSpeechRecogn
298
298
  useSwipeAction useSwipeAction Item/Item.doc.mjs Item/useSwipeAction.ts
299
299
  useSwitchTouch useSwitchTouch Switch/Switch.doc.mjs Switch/useSwitchTouch.ts
300
300
  useTableCellStyles useTableCellStyles Table/Table.doc.mjs Table/useTableCellStyles.ts
301
- useTableColumnSettingsState useTableColumnSettingsState Table/Table.doc.mjs Table/plugins/columnSettings/useTableColumnSettingsState.tsx
301
+ useTableColumnSettingsState useTableColumnSettingsState Table/plugins/columnSettings/useTableColumnSettingsState.doc.mjs Table/plugins/columnSettings/useTableColumnSettingsState.tsx
302
302
  useTableSortableState useTableSortableState Table/plugins/sortable/useTableSortableState.doc.mjs Table/plugins/sortable/useTableSortableState.tsx
303
303
  useToastGesture useToastGesture Toast/Toast.doc.mjs Toast/useToastGesture.ts
304
304
  useTouchTrigger useTouchTrigger Layer/Layer.doc.mjs Layer/useTouchTrigger.ts
@@ -196,14 +196,14 @@ export function checkCliCommand(ctx: DoctorContext): DoctorCheck;
196
196
  * @property {{cli: string, core: string | null, copy: string}} answeredBy
197
197
  * @property {string | null} latest the newest release known, or null
198
198
  * @property {Array<{path: string, state: import('../../foundation/agent-docs/computer-agent-text.mjs').ComputerAgentTextState}>} [agentText]
199
- * each file of the computer-level agent text against this release's rendering
199
+ * each file of the computer-level agent text against this release's rendering
200
200
  * @property {import('../../foundation/env/user-settings.mjs').ComputerAgentTextSettings} [agentTextSettings]
201
201
  * the person's choices about the computer-level agent text
202
202
  * @property {string | null} [agentTextCommand] the command the skill file
203
203
  * tells agents to run, or null
204
204
  * @property {string | null} [agentTextInstall] the install step the skill
205
205
  * file records for when that command is not found, or null
206
- * @property {string} [cwd] the folder doctor runs in, for the printed fix
206
+ * @property {string} [cwd] the folder doctor runs in, for the printed fix
207
207
  * @property {import('../../foundation/release/notices.mjs').GlobalBehind | null} [globalBehind]
208
208
  * the CLI installed for the computer, when it is older than the newest
209
209
  * release (outside a project)
@@ -215,7 +215,7 @@ export function checkCliCommand(ctx: DoctorContext): DoctorCheck;
215
215
  * the newest update notice that did not print, and why (diagnostic only)
216
216
  * @property {{pid: number | null, host: string | null, since: number} | null} [stateLock]
217
217
  * who holds the state file's lock now (diagnostic only)
218
- * @property {Array<import('../../foundation/env/search-path.mjs').SearchPathCommand & {upgrade?: string | null, runner?: boolean}>} [searchPathCommands]
218
+ * @property {Array<import('../../foundation/env/search-path.mjs').SearchPathCommand & {upgrade?: string | null, runner?: boolean}>} [searchPathCommands]
219
219
  * every `astryx` on the search path, with the command that upgrades it
220
220
  * the `astryx` commands on the search path, in order
221
221
  * @property {import('../../foundation/integrations/computer-integrations.mjs').ComputerIntegrationCandidate[]} [computerIntegrations]
@@ -281,7 +281,7 @@ export function checkComputerIntegrations(ctx: ComputerContext): DoctorCheck;
281
281
  * fix points at the project's folder
282
282
  * @returns {DoctorCheck}
283
283
  */
284
- export function checkComputerIntegrationsAvailable({ installed, candidates, install, elsewhere }: {
284
+ export function checkComputerIntegrationsAvailable({ installed, candidates, install, elsewhere, }: {
285
285
  installed: Set<string>;
286
286
  candidates: import("../../foundation/integrations/computer-integrations.mjs").ComputerIntegrationCandidate[];
287
287
  install: ((name: string) => string) | null;