@adhdev/mesh-shared 1.0.49 → 1.0.50-rc.2

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.
package/src/node-facts.ts CHANGED
@@ -155,15 +155,12 @@ export function normalizeMeshNodeFacts(raw: unknown): MeshNodeFacts | undefined
155
155
  * existed as a hand-copied literal in web-core's ProvidersTab; that copy is now
156
156
  * derived from this one.
157
157
  *
158
- * Deliberately NOT the same set as the `QuotaProvider` union in daemon-core's
159
- * quota/types.ts. That union includes `antigravity-cli`, which is *supportable*
160
- * (it authenticates via OAuth) but has no fetcher implemented so it is a
161
- * valid key to carry a snapshot under, and not a provider whose quota anything
162
- * can collect. Support here means "a fetcher exists", nothing weaker.
158
+ * Deliberately NOT necessarily the same set as the `QuotaProvider` union in
159
+ * daemon-core's quota/types.ts: that union is the set of valid keys a snapshot
160
+ * can be carried under, while membership HERE means "a fetcher exists".
163
161
  *
164
162
  * Known non-members and why, so this is not re-litigated per surface:
165
163
  * - cursor-cli — permanently impossible; no personal usage API exists
166
- * - antigravity-cli — possible via OAuth, not implemented
167
164
  * - hermes-cli — no model-axis quota to report
168
165
  *
169
166
  * ★grok-cli WAS listed here as impossible and is not: that verdict came from
@@ -173,10 +170,20 @@ export function normalizeMeshNodeFacts(raw: unknown): MeshNodeFacts | undefined
173
170
  * subscription quota is served by the CLI's own chat proxy — see the endpoint
174
171
  * provenance note in daemon-core `quota/fetchers/grok.ts`.
175
172
  *
173
+ * ★antigravity-cli was likewise twice judged impossible, from reading
174
+ * `agy --help` where the usage view does not appear because it is a TUI view.
175
+ * Its quota comes from the SHARED Gemini Code Assist backend
176
+ * (`cloudcode-pa.googleapis.com/v1internal:retrieveUserQuotaSummary`), and its
177
+ * credential lives in the OS keyring, not the stale on-disk token file — see
178
+ * the provenance note in daemon-core `quota/fetchers/antigravity.ts`. It is
179
+ * macOS-only by design; other platforms report `unsupported` rather than guess
180
+ * at a keyring backend nobody has verified.
181
+ *
176
182
  * ★Adding a provider here without adding its fetcher to REFRESHERS re-creates
177
183
  * exactly the "switch that does nothing" this constant prevents.
178
184
  */
179
185
  export const QUOTA_SUPPORTED_PROVIDERS: readonly string[] = [
186
+ 'antigravity-cli',
180
187
  'claude-cli',
181
188
  'codex-cli',
182
189
  'grok-cli',