Skip to content

v1.20.0

Choose a tag to compare

@yeahhe365 yeahhe365 released this 09 Sep 15:23
· 244 commits to main since this release

AMC-WebUI v1.20.0

🚀 Highlights & Features

🌐 Official Bilingual Documentation Site (官方双语文档站)

  • Astro Starlight Documentation Site: Built a brand-new official documentation site (docs-site) featuring full bilingual support (English & Simplified Chinese), interactive app preview, fast tracks, environment variable generator (EnvConfigGenerator), and slash command finder (SlashCommandFinder).
  • Deployment & Architecture: Documented comprehensive deployment guides (Static + API, Docker compose, Cloudflare Pages), private network security, and pricing calculators.
  • CI / CD Pipeline: Automated docs building, linting, and Cloudflare Pages deployment workflows with fallback handling.

📊 Live Artifacts & Interactive Visualizations (动态工件与丰富可视化)

  • Apache ECharts Integration: First-class support for interactive data charts in Live Artifacts, featuring sandboxed iframe rendering, automatic light/dark theme adaptation, and responsive resizing.
  • Offline Script Injection & SVG Snapshot Hydration: Pre-bundled ECharts scripts for fully offline operation and synchronous SVG snapshot capture for instant history restoring.
  • Graphviz Improvements: CJK node width compensation and enforced high-contrast font colors for clear diagram readability across all themes.

🎬 Media Navigation System & Library Manager (多媒体导航与素材库管理)

  • Media Navigation: Seamlessly navigate audio, video, images, and documents directly from AI citations with timestamp seeking, loop control, and playback rate adjustments.
  • Interactive PDF & Image Locating: Visual bounding-box overlays and PDF viewer page jumps with coordinate highlighting.
  • Library Picker Modal: Comprehensive library item picker (LibraryPickerModal) with category tabs (Images, Documents, Audio, Video), source filtering (Uploaded / AI Generated), sorting options, and quick-add actions.

☁️ Gemini Cloud Files Manager (云端文件与配额管理)

  • Files API Integration: Manage active Gemini cloud files with detailed metadata (MIME type, creation date, expiration timestamp, size).
  • Quota Tracking & Batch Actions: Visual 20GB storage quota bar, multi-select batch deletion, and automatic 403 error retry with backoff.

⚡ Model & Provider Ecosystem (模型与服务商生态)

  • Gemini 3.8 Flash as Default: Promoted gemini-3.8-flash to the default model across new sessions and presets.
  • Provider Management: Added batch model management toolbar, health check status indicators, catalog reconcile, and third-party provider backup import/export.
  • OpenAI Responses API: Native client support for OpenAI Responses endpoint alongside standard Chat Completions.
  • Scenario Presets: Expanded built-in scenario templates with 5-category taxonomy, emojis, and academic/media presets.

🎨 Modern UI & Architecture Refactoring (现代化界面与架构重构)

  • Radix UI Primitives: Standardized modals and overlays using @radix-ui primitives (Dialog, AlertDialog, Popover, DropdownMenu).
  • Code Block UX: Sticky code block toolbar header that remains docked at the top during long code scrolling.
  • Global Command Palette: Enhanced command search, shortcut hints, and theme transitions.
  • CI Optimization: Parallelized Vitest with 3-shard execution, decoupled build pipelines, and zero-vulnerability dependency security compliance.

📦 Commits since v1.19.0 (48)

  • 8fb338cc chore(release): bump version to 1.20.0
  • f8cd7440 fix(ci): resolve pnpm audit vulnerabilities, test flakiness, and docs deploy error handling
  • ccf40ee6 docs: align documentation with codebase implementation and update desktop screenshot
  • 68257ca3 style(docs): eliminate redundant logos and center hero layout
  • 5491ff9c ci: use direct npx wrangler pages deploy in deploy-docs workflow
  • ea7411c1 ci: map CLOUDFLARE_API_TOKEN to job env for condition check
  • 5f7ca658 ci: fix secrets check for cloudflare pages deployment in deploy-docs workflow
  • 165ea639 docs: upgrade docs-site homepage layout with interactive preview and fast tracks
  • 08318b44 fix(docs): use official project logos and favicon with light and dark mode adaptation
  • 0f80d2d8 feat(docs): polish visual details, hero assets, and interactive component UX
  • 81aed094 ci: add Cloudflare Pages deploy script and GitHub Actions workflow
  • a07977d7 chore(docs): configure linter, typecheck and prettier boundaries for docs-site
  • 77ead7b4 feat(docs): build official bilingual documentation site with Astro Starlight
  • ed9e103b docs: add Astro Starlight documentation site implementation plan
  • bd46c90f docs: add Astro Starlight documentation site design spec
  • e1a9d7d0 fix(graphviz): compensate CJK node widths and enforce high-contrast fontcolor
  • 0f48e3fb docs: mark all tasks complete in live artifacts echarts visualization plan
  • a3a6963b feat(viz): update live artifacts system prompt for echarts and visual guardrails
  • 939dd7e8 feat(viz): support offline script injection and synchronous svg snapshot hydration
  • 6738b0ab feat(viz): implement sandboxed echarts renderer with theme adaptation
  • 538a9879 feat(viz): configure vite static copy and vendor chunk for echarts
  • 72ae2822 docs: add implementation plan for Live Artifacts ECharts integration
  • caf47665 docs: add design spec for Live Artifacts ECharts integration
  • b64f5202 feat: enhance provider management with batch model toolbar, health check, and catalog reconcile
  • d0091751 chore(cleanup): remove dead code, obsolete styles, unused i18n keys and audit docs
  • fc87522c fix(test): strip bare double-dash separator in run-vitest wrapper for CLI flags like --shard
  • 8939ea9b ci: optimize workflow with vitest sharding and decoupled parallel build
  • edb0f270 test(e2e): update sidebar session menu expectation for Radix DropdownMenu
  • 1a89aa17 fix(ci): resolve format, eslint, knip and dependency audit failures
  • c31c5d03 feat(ui): add Radix primitives, rich file previewers, command palette, and modal enhancements
  • bdb0f3f9 fix(code-block): allow header to stick during scroll by removing root overflow-hidden
  • 8f581313 feat(code-block): make code header toolbar always visible
  • 56456fe7 docs: add code block sticky header implementation plan
  • 7c9650ba docs: add code block sticky header design spec
  • 951bd305 feat(cloud-files): add Gemini cloud files manager, 20GB quota tracking, batch deletion, and UI error handling
  • b2a21a35 feat(settings): add third-party provider backup import/export and video player control enhancements
  • bc8f284f refactor(media-storage): unify media classification, audio format parsing, and persistent scroll storage
  • 2c61a358 refactor(encoding): consolidate binary data conversion, URL normalization, and export utils
  • 25bad8ec refactor(media): extract probeMediaDuration, headless useAudioPlayback hook, and copyTextToClipboard
  • 6cc4b44b refactor(storage): centralize storage keys, safe persistent storage, and API model settings
  • 573a0202 refactor(error-handling): standardize error message extraction and safe JSON parsing
  • b082ef3b refactor(utils): unify platform detection, keyboard modifiers, and clock time formatting
  • 15c1d8cb feat: add media navigation system, file library manager, and OpenAI Responses API support
  • 952185e5 feat: auto-retry on 403 Files API errors, revamp system prompt modal, and add video moderation scenario
  • d6d5c701 feat: expand built-in scenarios with emojis, academic/media presets, and 5-category taxonomy
  • b4b1948e feat: remove Gemini 3.7 Flash from default displayed models while retaining manual entry support
  • a90d563b feat: wait for file upload completion before sending and sync upload states across sessions
  • 89b7bd00 feat: set default model to Gemini 3.8 Flash