@codeam/shared 2.75.2 → 2.75.3

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/dist/index.mjs CHANGED
@@ -322,12 +322,34 @@ var AGENT_REGISTRY = {
322
322
  displayName: "Gemini CLI",
323
323
  binaryName: "gemini",
324
324
  enabled: true,
325
- // OAuth via `gemini auth login` (captured by `codeam link gemini`
326
- // from ~/.gemini/oauth_creds.json) AND GEMINI_API_KEY are both
327
- // accepted by the backend's GeminiProvisioningStrategy and propagated
328
- // into codespace deploys.
329
- supportedAuthKinds: ["oauth_token", "api_key"],
330
- preferredAuthKind: "oauth_token",
325
+ // ⚠️ API KEY ONLY since 2026-06-18, when Google stopped Gemini CLI (and the
326
+ // Gemini Code Assist IDE extensions) serving requests for AI Pro, AI Ultra
327
+ // and free users, in the move to Antigravity CLI. Its announcement is
328
+ // explicit about what survives: "Gemini CLI will remain accessible via paid
329
+ // Gemini and Gemini Enterprise Agent Platform API keys."
330
+ //
331
+ // So the agent stays — `@google/gemini-cli` is NOT deprecated, it still
332
+ // ships weekly — but the OAuth door has to go: it captures a
333
+ // `~/.gemini/oauth_creds.json` from a CONSUMER Google account, which is
334
+ // exactly the tier that no longer serves requests. We used to PREFER that
335
+ // path, so it was the one we recommended first; on 2026-09-15 prod held 63
336
+ // Gemini links, 46 of them OAuth, 19 created after 2026-09-01 and the
337
+ // newest that same day. Three months of sending people through a bricked
338
+ // door — each one landing on `isGeminiIneligibleTier` at first use.
339
+ //
340
+ // ⚠️ Antigravity CLI is NOT a drop-in replacement for us: no official ACP
341
+ // mode (google-antigravity/antigravity-cli#31 open, 192 comments, zero
342
+ // `acp` hits in the repo as of 2026-09-15), and every third-party ACP
343
+ // adapter warns that driving `agy` that way matches what Google's FAQ calls
344
+ // a ToS violation — risking the USER's Google account. Our whole Gemini
345
+ // path is ACP, so adopting it would mean shipping that risk. Revisit only
346
+ // when #31 ships an official mode.
347
+ //
348
+ // Existing OAuth rows are NOT migrated: `supportedAuthMethods` gates the
349
+ // LINK call only, so the 46 stay readable and simply keep failing at the
350
+ // provider, where the ineligible-tier message already explains why.
351
+ supportedAuthKinds: ["api_key"],
352
+ preferredAuthKind: "api_key",
331
353
  // Not listed by `headroom wrap --help` — runs native.
332
354
  headroomWrappable: false,
333
355
  // Native ACP server: `gemini --skip-trust --acp`.
@@ -1585,6 +1607,16 @@ var INTEGRATION_REGISTRY = {
1585
1607
  // tools ourselves via a BUILT-IN MCP (delivery.builtin) against that admin
1586
1608
  // API — see apps/cli/src/integrations/convex-admin-mcp.ts. The user still
1587
1609
  // pastes a deploy key (Dashboard → Project Settings → Deploy Keys).
1610
+ //
1611
+ // ⚠️ That built-in ALSO owns `deploy`, and it is the only way an agent can
1612
+ // push `convex/` changes. Deploying is bundle + push, not a REST call, so
1613
+ // that one tool drives Convex's own CLI with the deploy key injected into
1614
+ // THAT CHILD's env — the agent's shell never sees the credential. Before
1615
+ // it existed the agent had the credential's power through the MCP but no
1616
+ // way to deploy, so it looped on `npx convex dev` (interactive login) and
1617
+ // asked the user to paste the token into the chat; the user ended up
1618
+ // re-entering the SAME key by hand in Environment Variables, after burning
1619
+ // real credits (2026-09-15).
1588
1620
  enabled: true,
1589
1621
  auth: {
1590
1622
  kind: "api_key",