Skip to content

chore(deps): upgrade the Gemini client libraries - #131

Draft
leoafarias wants to merge 1 commit into
mainfrom
chore/ai-stack-upgrades
Draft

leoafarias wants to merge 1 commit into
mainfrom
chore/ai-stack-upgrades

Conversation

@leoafarias

@leoafarias leoafarias commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Intent

Stack 7/7, based on #132. It is the top of the stack because it waits on the live smoke run. This PR upgrades the libraries on the Wizard's Gemini request path.

Draft until the live smoke run passes. AGENTS.md requires the live 10-slide generation test for changes on this path, and it needs the repo-root .env with GOOGLE_AI_API_KEY, which isn't available where this was prepared:

cd packages/playground
fvm flutter test test_live/ai_generation/ai_generation_smoke_test.dart \
  --dart-define=LIVE_FIXTURE=superdeck_demo_10 \
  --dart-define-from-file=../../.env --reporter expanded

Target: 20 s, maximum 30 s, with the saved validation, render and quality artifacts reviewed.

Changes (playground)

Package From → to
googleai_dart 9.0.0 → 13.0.0
google_cloud_ai_generativelanguage_v1beta 0.5.2 → 0.5.6
json_schema_builder 0.1.5 → 0.1.7

GoogleGenerationModelClient uses googleai_dart only as transport: the request and response are converted through JSON, and the thinking level is set in generationConfig. No code changes were needed. What the live run should confirm is googleai_dart 12.0's lossless Part handling, where parts now carry thought/thoughtSignature and unknown parts decode to UnknownPart, as it passes through that JSON round trip.

Held back (they don't resolve with this workspace)

  • genui 0.10.3 → it pulls in a2ui_core, which needs preact_signals ^1.9.4 and conflicts with signals 7 in superdeck and the playground.
  • dartantic_ai 3.4.2 → it requires googleai_dart ^8.0.0, which conflicts with both the current 9 and 13.

Commands run

  • fvm dart analyze --fatal-infos in playground, including test_live: no issues.
  • fvm flutter test in playground: 371 passing, including generation_model_client_test.dart (request/response conversion).
  • Deterministic checkpoint (LIVE_FAKE_CHECKPOINT=true): passing.
  • Live 10-slide smoke: not run (see above).

@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 87564a4):

https://superdeck-dev--pr131-chore-ai-stack-upgra-o1i9d52k.web.app

(expires Fri, 23 Oct 2026 04:32:00 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bd68fc230762285849207e7e120aaf87cd4ca2f9

@leoafarias
leoafarias force-pushed the chore/ai-stack-upgrades branch from 1657700 to a8f5bda Compare September 23, 2026 04:03
@leoafarias
leoafarias changed the base branch from chore/ack-1-6 to build/melos-8 September 23, 2026 04:03
@leoafarias
leoafarias added this pull request to stack #128 September 23, 2026 04:07
Base automatically changed from build/melos-8 to main September 23, 2026 04:26
googleai_dart 9.0.0 to 13.0.0, google_cloud_ai_generativelanguage_v1beta 0.5.2 to 0.5.6, and json_schema_builder 0.1.5 to 0.1.7. The playground uses googleai_dart only as transport and converts through JSON, so the API is unchanged. genui 0.10 and dartantic_ai 3.4 do not resolve with this workspace and stay put.
@leoafarias
leoafarias force-pushed the chore/ai-stack-upgrades branch from a8f5bda to 87564a4 Compare September 23, 2026 04:26

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant