@microteia/console 2.23.0 → 2.24.0

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.
@@ -22,6 +22,10 @@
22
22
  - fix(command): what was broken, and what it did to whoever hit it.
23
23
  -->
24
24
 
25
+ #### [2.24.0] — 2026-10-07
26
+
27
+ - feat(export-catalog): each screen in `installed-catalog.json` now carries its `sourceId`. The snapshot only had the installed key, which may have been disambiguated on install, so an extension that adds a tab to another's record detail (`record:<sourceId>`) could not be checked against the installation. Older snapshots simply lack the field.
28
+
25
29
  #### [2.23.0] — 2026-10-07
26
30
 
27
31
  - fix(provision): `microteia provision` run on its own now probes the deployed stamps itself instead of concluding that nothing changed. It could only compare stamps with the map `deploy` hands it, and running alone — the path of anyone who has just swapped kernels with `unpack` — there was no map: `outdatedByStamp` drew no conclusion, the function stayed out of the queue, and the record said "applied" because it genuinely was running, from the previous package. An office upgraded this way kept serving an extension's old Cloud Function with nothing anywhere saying so; the symptom surfaced in the client, not in the Console. The queue is now everything the installed extensions claim, and `deployFunctionsThatChanged` — the same probe `deploy` uses — decides what actually goes up: one reference function per stamp, and the rest left alone when it comes back unchanged. What the probe skips counts as satisfied, or a complete installation would stay "pending" forever.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Microteia Console 2.23.0
1
+ # Microteia Console 2.24.0
2
2
 
3
3
  Installs and updates Microteia in a Firebase project you own. It has no npm dependencies of its own —
4
4
  what it needs are command-line tools that are already on the machine, listed at the bottom.
@@ -58,6 +58,11 @@ export interface CatalogFieldExport {
58
58
  }
59
59
  export interface CatalogScreenExport {
60
60
  key: string;
61
+ /**
62
+ * O id UNIVERSAL da tela. A chave acima é a instalada, que pode ter sido desambiguada; é pelo
63
+ * `sourceId` que uma extensão endereça a tela de outra (`record:<sourceId>`).
64
+ */
65
+ sourceId?: string;
61
66
  collection?: string;
62
67
  titleSingular: string;
63
68
  titlePlural?: string;
@@ -121,6 +121,7 @@ const screenExport = (document) => {
121
121
  const fields = Array.isArray(data.fields) ? data.fields : [];
122
122
  return {
123
123
  key: document.id,
124
+ ...(text(data.sourceId) === undefined ? {} : { sourceId: text(data.sourceId) }),
124
125
  ...(text(data.dataCollection) === undefined ? {} : { collection: text(data.dataCollection) }),
125
126
  titleSingular: text(data.titleSingular) ?? document.id,
126
127
  ...(text(data.titlePlural) === undefined ? {} : { titlePlural: text(data.titlePlural) }),
@@ -87,4 +87,4 @@ export declare const consoleRoot: string;
87
87
  * de código nunca chegou a quem instala. Este bloco fica sendo o que ele já era antes de crescer: a
88
88
  * política de semver da ferramenta, mais o registro do que motivou as versões até a `2.5.0`.
89
89
  */
90
- export declare const CLI_VERSION = "2.23.0";
90
+ export declare const CLI_VERSION = "2.24.0";
@@ -94,4 +94,4 @@ export const consoleRoot = resolve(here, '..', '..');
94
94
  * de código nunca chegou a quem instala. Este bloco fica sendo o que ele já era antes de crescer: a
95
95
  * política de semver da ferramenta, mais o registro do que motivou as versões até a `2.5.0`.
96
96
  */
97
- export const CLI_VERSION = '2.23.0';
97
+ export const CLI_VERSION = '2.24.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microteia/console",
3
- "version": "2.23.0",
3
+ "version": "2.24.0",
4
4
  "description": "Install and update Microteia in a Firebase project you own.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",