@adhdev/mesh-shared 1.0.82-rc.37 → 1.0.82-rc.39

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.
@@ -142,6 +142,22 @@ export interface MeshNodeFactsProviderQuota {
142
142
  * is not evidence about a running session's sign-in.
143
143
  */
144
144
  collectorScope?: string;
145
+ /**
146
+ * DISPLAY-ONLY copy of the last numbers this node measured when it can
147
+ * no longer prove they belong to the CURRENT account (lineage unknown,
148
+ * or the failure left no confirmed match). Never read by routing, gates
149
+ * or ranking: those keep treating the entry as unknown. Dashboards show
150
+ * it marked "account unconfirmed" with its age. Never set across a
151
+ * CONFIRMED account switch (both accounts known and different).
152
+ */
153
+ unconfirmedReading?: {
154
+ /** Unix ms the numbers were measured. */
155
+ measuredAt: number;
156
+ session?: MeshNodeFactsQuotaWindow | null;
157
+ weekly?: MeshNodeFactsQuotaWindow | null;
158
+ monthly?: MeshNodeFactsQuotaWindow | null;
159
+ buckets?: MeshNodeFactsProviderQuota['buckets'];
160
+ };
145
161
  [extra: string]: unknown;
146
162
  };
147
163
  [extra: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/mesh-shared",
3
- "version": "1.0.82-rc.37",
3
+ "version": "1.0.82-rc.39",
4
4
  "description": "ADHDev mesh-shared — pure mesh/git status normalizers shared by daemon-core and web-core",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/node-facts.ts CHANGED
@@ -145,6 +145,22 @@ export interface MeshNodeFactsProviderQuota {
145
145
  * is not evidence about a running session's sign-in.
146
146
  */
147
147
  collectorScope?: string
148
+ /**
149
+ * DISPLAY-ONLY copy of the last numbers this node measured when it can
150
+ * no longer prove they belong to the CURRENT account (lineage unknown,
151
+ * or the failure left no confirmed match). Never read by routing, gates
152
+ * or ranking: those keep treating the entry as unknown. Dashboards show
153
+ * it marked "account unconfirmed" with its age. Never set across a
154
+ * CONFIRMED account switch (both accounts known and different).
155
+ */
156
+ unconfirmedReading?: {
157
+ /** Unix ms the numbers were measured. */
158
+ measuredAt: number
159
+ session?: MeshNodeFactsQuotaWindow | null
160
+ weekly?: MeshNodeFactsQuotaWindow | null
161
+ monthly?: MeshNodeFactsQuotaWindow | null
162
+ buckets?: MeshNodeFactsProviderQuota['buckets']
163
+ }
148
164
  [extra: string]: unknown
149
165
  }
150
166
  [extra: string]: unknown