Repository navigation
🖼️ Image Model Lineup (图像模型阵容)
- Nano Banana 2.1 (
gemini-nano-banana-2.1): Google's current default for new projects is now a first-class selectable model. It is the first image id withoutimagein its name, so the capability gate now recognises thenano-bananaprefix. Its 14 documented aspect ratios, 1K/2K/4K output andminimal | medium (default) | highthinking levels are all wired through. - PDF & video references on image models:
gemini-3.1-flash-image,gemini-3.1-flash-lite-imageandgemini-nano-banana-2.1accept text, image, video and PDF input per their model cards. The attachment gate previously allowed images only (plus PDF for one shut-down preview id), so those modalities never surfaced.gemini-3-pro-imagestays image + text only. - Dead preview ids dropped:
gemini-3-pro-image-previewandgemini-3.1-flash-image-previewshut down on 2026-06-25. They are no longer treated as live models anywhere.
🤖 Model Catalog Corrections (模型目录校正)
- Saved model ids are kept verbatim: settings hydration used to rewrite retired ids through a migration table (
gemini-2.0-flash→gemini-3.6-flash, and so on), silently switching you to a model you never picked. The table is gone; a saved id now reaches the provider unchanged, and if the model is gone the provider's own error surfaces. - Gemini 2.x shutdown dates corrected: 2.5 Pro and 2.5 Flash shut down 2026-12-01 (not earlier) and still answer until then, after which the API auto-routes them to
gemini-3.8-flashandgemini-3.5-flash-lite.gemini-2.5-flash-litehas no shutdown date. Onlygemini-2.0-flash(2026-06-01) was removed. - Gemini 3.8 Flash-Lite TTS (
gemini-3.8-flash-lite-tts) is now selectable. It was fully described in the catalog but missing from the registry, so it existed as metadata only. - Pricing fallback re-anchored: the generic Flash rate table used to read
gemini-3.6-flashdirectly, which would have left every unlisted Flash variant unpriced once that model retires. It now anchors ongemini-3.8-flash(identical rates, no computed cost changes).
🔒 Security & Data Integrity (安全与数据完整性)
- Deployment password no longer overwrites provider keys:
ACCESS_PASSWORDwas being sent asAuthorization: Bearer <password>alongside provider auth, replacing your API key on every third-party call. It now travels only onx-access-token, and the hand-written requests that bypass the SDK (resumable upload, subtitle REST fallbacks, PDF image proxy, clipboard, WebSocket upgrade) carry it too. - Settings export redacts every credential:
serverAccessPassword,liveApiKey,tokenCalculatorApiKey,embeddingApiKeyandlockedApiKeywere previously exported in plain text. A compile-time guard now fails the build if a credential-looking field is added without being listed. - MCP servers require approval: add / update / toggle / import now ask for confirmation, and a newly added server starts disabled, so the settings assistant cannot install a server pointing at an attacker-controlled URL and have it discovered on the next turn.
- Session mirror could lose data permanently: orphan file GC judged existence from
session_metadataalone, so one drifted row deleted a whole session's blobs and embeddings in a single unrecoverable transaction.getAllSessionMetadataalso backfilled only when the mirror was completely empty, hiding the rest of your history for good. Both now reconcile against the authoritative store.api_usagegained a retention policy (a year or 50k records). - Settings import keeps every field: 15 fields were missing from the zod schema, so importing a settings file silently reset image/PDF/video/audio navigation presets, transcription options, and vision / task-suggestion modes. A compile-time guard keeps the shape in sync.
🐛 Reliability Fixes (可靠性修复)
- Continue mode no longer wipes the reply: stopping or hitting an error mid-continue assigned the increment over the prefilled text and persisted immediately — and continue is excluded from the stream journal, so there was no server-side fallback. Abort, upstream error and the empty-reply fallback now all append.
- Stream idle watchdog 60s → 180s: inline video sent through the AI Studio proxy can take 50–80s before the first SSE event, so healthy streams were being aborted mid-request.
- Attachment extraction is cached: every send used to re-parse the whole history (PDFs via pdf.js, docx re-unzipped, text re-read), so sessions got slower the more attachments they accumulated. A process-wide LRU keyed by file identity or content hash caches the in-flight promise too. PDF truncation is now disclosed in the prompt (
[Pages 1-50 of 200 extracted]) instead of happening silently.
⚡ Startup Payload (启动体积)
- 157 unreachable model-icon SVGs deleted (2.12 MiB), after re-deriving the icon reachability rules per tier.
- ECharts loads lazily inside chart hydration, keeping ~1.1 MB off the startup graph and skipping the import entirely for documents without charts.
- The icon and chart vendor chunks are excluded from
modulepreloadand the service-worker precache.
🎛️ Interface Polish (界面打磨)
- Turn navigation now matches the deepseek-harness behaviour: immediate active state on click, cancellation on wheel / touch / key, smooth scroll settling.
- Collapsed sidebar rail drops the brand mark in favour of a standard toggle button.
- Chat width handles sit below message actions so action buttons win the click, and use
aria-labelinstead of a native tooltip. - Model menus stay above chat actions.
- The original home welcome screen is restored.
🧪 CI & Dependencies (工程与依赖)
- CI is green again for the first time since 2026-09-28. Four stale unit expectations were realigned with the current UI, and two e2e specs were fixed — one asserted on the settings header instead of the scroll container, the other pressed the mouse before Virtuoso had settled its virtual rows, so
dragstartnever fired. - Six dependency bumps: vite 7.3.7,
@types/node26.6,@testing-library/jest-dom7.0,vite-plugin-static-copy4.1, astro 7.3.3 anddocker/login-actionv4. vite 7.3.7 pullses-module-lexer3.x, whoseparse()renamed{ n, d }to{ specifier, type }— the startup report had been silently matching zero static imports as a result. - Dependency security floors raised so
pnpm audit --prodpasses.
Full Changelog: v1.23.0...v1.24.0