github zhouxiaoka/autoclip v1.6.7
AutoClip Desktop v1.6.7

2 hours ago

AutoClip Desktop v1.6.7

English · 中文

English

Highlights

  • Fixed Sign in with ChatGPT (Beta) connection tests, settings save readiness, and Studio generation failures (#771, #773, #772, #759): repaired SSE UTF-8 decoding, JOSEError token verification, accurate upstream error classification (network_error / stream_interrupted / 403 / 404), OAuth save persistence, and live account model discovery in Settings
  • Hardened Google Gemini 404 & 503 resilience: official Gemini text, vision, and connection tests now automatically fall back across gemini-2.5-*, gemini-3.*, and gemini-3-flash-preview on retired-model 404s and active clip-job 503 overload spikes (including chained 404 → 503 fallback to gemini-3.5-flash-lite)
  • Fixed Ollama local 404/400 failures & cover_frame vision storms: classified Ollama's model '...' not found 404 as MODEL_NOT_FOUND (unlocking automatic fallback to pulled local models), stripped top-level reasoning_effort and retried local HTTP 400 non-stream, capped local cover_frame thumbnails, added a cover_frame circuit breaker, and auto-substituted vision-unsupported 400 preset models (e.g. APIMart deepseek-v4-flash)
  • Integrated community fixes for Final Cut Pro FCPXML 1.10 schema order (#770, thanks @Deeeeex), macOS Heiti SC Chinese subtitle rendering hang (#778, fixes #777, thanks @pedroberaldo87), Korean Hangul full-width caption wrapping (#776, thanks @jasonkim9068), and DashScope ASR /v1 URL normalization

Fixes & Improvements

  • Sign in with ChatGPT (SIWC) Transport, Save Readiness & Live Models (#771, #773, #772, #759): Switched openai_responses_transport.py SSE parsing to explicit UTF-8 byte decoding (iter_lines(decode_unicode=False)) with budget_watch and cancellation checkpoints, handled response.done, object delta, output_text.done, and failed/incomplete terminal events, caught JOSEError in verify_id_token, kept freshly refreshed access tokens usable during transient JWKS outages, mapped all SIWC transport error codes away from unknown, recognized connected oauth_status in connectionReady/persistableConnection, and enabled live chatgpt_subscription model discovery with a Refresh action in ProviderDetail.
  • Clip-Finder Window Splitting, Retries, 5xx/Transport Classification, Proxy Parity & Atomic Reload: Automatically bisected oversized (HTTP 413 / context-length 400) or output-truncated (finish_reason=length/max_tokens) clip-finder windows and skipped safety-blocked windows in multi-window runs; separated transport retries (up to 3 exponential-backoff retries) from format repairs (2 attempts) and let multi-window transient exhaustion drop only the failed window while preserving surviving clips; classified all HTTP 5xx (including Cloudflare 520–524 HTML and 529 JSON), HTML 200 proxy pages (bad_endpoint), Gemini safety/empty-candidate responses (ModelResponseInvalid), and real transport/socket exceptions (httpx.TransportError, requests.RequestException, OSError, [WinError 10054], malformed SSE) accurately; added production direct-without-proxy retry matching validation; made LLMManager hot-reload atomic, exposed init_error_type to distinguish provider initialization errors from missing API keys, allowed unclassified unknown probe warnings without hard-blocking generation, and unified local concurrency (workers() == 1) via is_local_model for LAN/IPv6 Ollama.
  • Gemini 404 & 503 Resilience: Added shared bounded gemini_fallback_candidates() across GeminiProvider.call(), Studio vision_call(), and provider_validation._validate_resolved() covering gemini-2.5-*, gemini-3.*, and gemini-3-* (gemini-3-flash-preview) 404s, active clip-job 503 overloads, chained 404 → 503 recovery, and in-session remembering of 404 fallback models so subsequent chunks skip repeated 404 probes.
  • Ollama 404/400 & Vision Cover-Frame Hardening: Matched model ... not found HTTP 404 as UpstreamErrorType.MODEL_NOT_FOUND in upstream_errors.py; stripped top-level reasoning_effort and added single non-stream 400 fallback for local URLs in OpenAIProvider.call() and intelligence.vision_call(); classified vision HTTP 400 rejections as vision_unsupported with preset auto-substitution; capped local cover_frame candidates to 3×256px thumbnails and added a 10-minute (base_url, model) circuit breaker in cover_design.py.
  • Job Orchestration, Visual/Timeline Resilience, Render & Updater Hardening: Relaxed the legacy 4-step timeline min_clip_sec floor when strict filtering drops all candidates; dropped individual out-of-bounds visual highlights instead of discarding the whole batch and kept scan highlights when dense refine times out; capped LLM boundary refinement to AUTO_RENDER_LIMIT, obeyed local concurrency, and degraded to sentence bounds on step timeout; prevented transient progress-write lock errors from aborting healthy renders; moved confirm_project preflight checks outside store.lock; auto-retried transient render failures (e.g. Windows WinError 32 file locks) once before settling as partial; recognized transcribed metadata/*.srt on resume (and cleared it on fresh redo); degraded subtitle translation 300s step timeouts to original captions; reported timeline_empty instead of completed when manual content slicing yields zero drafts; added bundled NotoSansSC-Medium.ttf font fallback, ffprobe video-stream tail clamping, full HTML overlay exception downgrade to classic, overlong hook ellipsis truncation, preflight duration fallback, unified retryable atomic renames, safe temp-dir cleanup, working Whisper HF_HUB_DOWNLOAD_TIMEOUT / HF_HUB_ETAG_TIMEOUT, and desktop updater deferral while generation/render jobs are active.
  • DashScope Cloud ASR URL Normalization: Normalized custom DashScope URLs ending in /v1 before appending /api/v1 in cloud_transcription.py to prevent /v1/api/v1 HTTP 404s.
  • FCPXML 1.10 DTD Compliance (PR #770, thanks @Deeeeex): Reordered <asset-clip> children in backend/services/studio/nle_export.py to match the FCPXML 1.10 schema (<adjust-transform> before <marker> and <title>).
  • macOS Heiti SC Subtitle Fallback, Redesigned Drag-to-Applications DMG & Smoke Verification (PR #778, fixes #777, thanks @pedroberaldo87): Replaced the nonexistent STHeiti font family with Heiti SC in macOS subtitle fallback configuration, enabled real CJK subtitle rendering (subtitles=True) in scripts/verify_macos_bundle.py, and redesigned the macOS DMG installer with a Calm Premium Retina (@2x) drag-to-Applications layout, custom volume icon, and deterministic .DS_Store icon alignment.
  • Korean Hangul Caption Layout Width (PR #776, thanks @jasonkim9068): Counted precomposed Hangul syllables as full-width cells in caption_layout.py so Korean and mixed Korean/Latin lines wrap within the line limit.
  • Release Tooling Guardrail: Extended scripts/bump_version.py to keep server.json, mcpb/manifest.json, and mcpb/pyproject.toml synchronized and verified in --check.

Download & Install

Platform File First Launch
macOS 15+ (Apple Silicon) AutoClip.Desktop_1.6.7_aarch64.dmg Double-click once. If blocked: System Settings → Privacy & Security → Open Anyway (Apple)
Older macOS (Apple Silicon) Same as above Unsigned / unnotarized: right-click app → Open
Windows 10/11 x64 AutoClip.Desktop_1.6.7_x64-setup.exe Unsigned: SmartScreen → More info → Run anyway
CLI / MCP (Python 3.11+) autoclip-1.6.7-cli-mcp.zip / autoclip_mcp-1.6.7-py3-none-any.whl Setup & model config included in ZIP; requires FFmpeg
  • Zero runtime prerequisites: Both desktop installers bundle portable Python and static FFmpeg. The Windows installer is per-user (no admin rights required) and downloads WebView2 automatically if missing.
  • Intel Mac / Linux: No desktop installer is provided; use Docker (DOCKER.md), uvx autoclip-mcp, or install the CLI from source (python -m pip install --no-deps .).
  • Quick CLI / MCP & Skill install: Run uvx autoclip-mcp to install and start the MCP server, and npx skills add zhouxiaoka/autoclip to install the skill.
  • Verification & code signing: Installers are not yet code-signed / notarized (#119) and are built publicly via GitHub Actions Desktop Build. Verify SHA-256 hashes against the attached build-provenance.json before running (Windows: Get-FileHash AutoClip.Desktop_1.6.7_x64-setup.exe -Algorithm SHA256; macOS: shasum -a 256 AutoClip.Desktop_1.6.7_aarch64.dmg). If a listed file is missing, that platform's build failed for this tag — check the Desktop Build workflow run.
  • First run & transcription: If your project list is empty, click Try Sample Project on the home screen (bundled offline, no API key required). Videos without subtitles download the local transcription component on first use (~220 MB, up to ~15 min on slow networks); if slow or blocked, switch to cloud transcription in Settings → Default Models → Speech to Subtitles.

Feedback


中文

更新要点

  • 修复 ChatGPT 订阅登录(Beta)连接测试、设置保存与成片失败(#771、#773、#772、#759):修复 SSE 流 UTF-8 解码与事件解析、JOSEError 令牌校验、network_error/stream_interrupted/403/404 错误精准归类、OAuth 连接保存就绪判定,并支持在设置页直接刷新展示账号可用模型列表
  • 全面加固 Google Gemini 404 与 503 自动回退:官方 Gemini 文本、视觉与连接测试现已覆盖 gemini-2.5-*、gemini-3.* 与 gemini-3-flash-preview 下线 404 及剪辑任务期间 503 过载回退(支持 404 → 503 链式继续回退至 gemini-3.5-flash-lite)
  • 修复 Ollama 本地 404/400 失败与 cover_frame 视觉重复刷错:修复 Ollama model '...' not found 404 误报为 bad_base_url 的问题(解锁连接测试自动切换本机已拉取模型);剥离顶层 reasoning_effort 并对本地 400 增加非流式重试;为 cover_frame 增加 (base_url, model) 熔断器与本机候选图上限,并在预设模型视觉 400 不支持时自动切换同服务商视觉模型(解决 APIMart deepseek-v4-flash 高频 400)
  • 合入社区修复:Final Cut Pro FCPXML 1.10 子元素顺序(PR #770,感谢 @Deeeeex)、macOS 中文字幕 STHeiti → Heiti SC 卡死修复(PR #778,修复 #777,感谢 @pedroberaldo87)、韩文音节全角字幕换行宽度(PR #776,感谢 @jasonkim9068),以及 DashScope 云端转写 /v1 地址规范化

修复与改进

  • ChatGPT 订阅登录(SIWC)流式传输、保存就绪与实时模型列表(#771、#773、#772、#759):将 openai_responses_transport.py 改为显式 UTF-8 字节流解码并接入 budget_watch 与取消检查点,补全 response.done、对象 delta、output_text.done 及 failed/incomplete 终态处理;在 verify_id_token 中捕获 JOSEError 且在 JWKS 短暂不可达时不阻断已刷新令牌;全量映射 SIWC 传输错误码避免落入 unknown;在前端 connectionReady/persistableConnection 中识别已连接 OAuth 状态;并在设置页接入实时模型发现与刷新按钮。
  • 挑片窗口二分、重试、5xx/传输异常分类、代理直连一致与热重载原子性:在挑片遇到上下文超限(413/超长 400)或输出截断(finish_reason=length/max_tokens)时自动将窗口二分续跑,多窗口遇到内容拦截跳过单窗保留其余片段;将挑片传输重试(最多 3 次指数退避)与格式修复(2 次)解耦计数,多窗口瞬时失败只丢该窗口保留其余成功片段;精准归类全部 5xx(含 Cloudflare 520–524 HTML 与 529 JSON)、HTML 200 错页(bad_endpoint)、Gemini 内容拦截/空候选(ModelResponseInvalid)及真实传输/断流异常;为生产 OpenAI/Gemini 请求补齐坏代理直连回退;将 LLMManager 热重载改为先建后换,暴露 init_error_type 区分初始化异常与缺密钥,未分类 unknown 探测告警不再永久阻断生成,并统一用 is_local_model 判定本地并发(内网/IPv6 Ollama 并发=1)。
  • Gemini 404 与 503 自动回退:在 GeminiProvider.call()、Studio vision_call() 与 provider_validation._validate_resolved() 中接入统一的 gemini_fallback_candidates() 回退策略,覆盖 gemini-2.5-*、gemini-3.*、gemini-3-flash-preview 404、剪辑任务 503 过载、404 → 503 链式回退,并记住 404 回退成功后的模型避免后续分片重复踩 404。
  • Ollama 404/400 与 cover_frame 视觉保护:在 upstream_errors.py 中将 model ... not found 404 识别为 MODEL_NOT_FOUND;剥离顶层 reasoning_effort 并对本地地址 400 补齐一次非流式重试;将模型视觉 400 拒收归类为 vision_unsupported 并对预设模型自动替换同服务商视觉模型;在 cover_design.py 中对本地模型限缩至 3 张 256px 缩略图并加入 10 分钟 (base_url, model) 熔断器。
  • 任务编排、视觉/时间线兜底、渲染与自动更新防中断加固:旧版 4 步时间线全被过滤时自动放宽最短时长下限;视觉高光按条剔除越界候选并在精扫超时时保留粗扫结果;边界精修按 AUTO_RENDER_LIMIT 收敛、遵守本地并发并在步骤超时后降级为句界对齐;渲染进度写入遇锁超时不再中断健康成片;confirm_project 释放全局锁后再做外部探测;渲染遇到瞬时文件锁(WinError 32 等)在结算为 partial 前自动重试一次;断点续跑同时识别转写写入 metadata/*.srt 的字幕并在“从头重做”时清理;渲染期翻译 300s 步骤超时降级保留原字幕;手动内容切片零草稿准确报错 timeline_empty;补齐内置 NotoSansSC-Medium.ttf 字体兜底、ffprobe 视频流尾部裁切、HTML 覆盖层全量异常降级经典渲染、超长开头文案自动截断省略号、preflight 时长探测兜底、产物改名重试、临时目录安全清理、Whisper HF_HUB_DOWNLOAD_TIMEOUT / HF_HUB_ETAG_TIMEOUT 生效修复,以及存在制作中项目时延迟弹出桌面自动更新并禁用一键重启。
  • DashScope 云端转写 URL 规范化:在 cloud_transcription.py 中去除末尾 /v1 后再拼接 /api/v1,避免拼出 /v1/api/v1 404。
  • FCPXML 1.10 节点顺序修复(PR #770,感谢 @Deeeeex):按 FCPXML 1.10 DTD 规范调整 nle_export.py 中 <asset-clip> 子元素顺序(<adjust-transform> 位于 <marker> 与 <title> 之前)。
  • macOS Heiti SC 字幕字体回退、全新 Retina 拖入安装 DMG 与冒烟验证(PR #778,修复 #777,感谢 @pedroberaldo87):将 macOS 字幕默认回退字体从不存在的 STHeiti 替换为系统内置 Heiti SC,在 scripts/verify_macos_bundle.py 中开启真实中文字幕渲染验证,并全新设计了 macOS DMG 安装界面(@2x Retina 引导背景、精排左右卡片与箭头动线、Applications 快捷入口与自定义卷标图标)。
  • 韩文全角字幕换行宽度修复(PR #776,感谢 @jasonkim9068):在 caption_layout.py 中将预组合韩文音节按全角宽度计算,修复韩文及韩英混排字幕超宽溢出。
  • 发版版本号同步防呆:扩展 scripts/bump_version.py,同步更新并校验 server.json、mcpb/manifest.json 与 mcpb/pyproject.toml。

下载与安装

平台 文件 首次打开
macOS 15 及以上(Apple Silicon) AutoClip.Desktop_1.6.7_aarch64.dmg 双击一次。若被拦截:系统设置 → 隐私与安全性 → 仍要打开(Apple)
较旧的 macOS(Apple Silicon) 同上 未公证:右键应用 → 打开
Windows 10/11 x64 AutoClip.Desktop_1.6.7_x64-setup.exe 未签名:SmartScreen → 更多信息 → 仍要运行
CLI / MCP(Python 3.11+) autoclip-1.6.7-cli-mcp.zip / autoclip_mcp-1.6.7-py3-none-any.whl ZIP 内含安装与模型配置说明,需 FFmpeg
  • 开箱即用:两个桌面包均内置便携 Python 与静态 FFmpeg,无需预装环境;Windows 安装包按用户安装,不需要管理员权限,缺 WebView2 会自动下载。
  • Intel Mac / Linux:目前没有桌面安装包,请使用 Docker(DOCKER.md)、uvx autoclip-mcp,或从源码安装(在仓库根目录执行 python -m pip install --no-deps .)。
  • 快捷安装 MCP / Skill:不下载 ZIP 时,可执行 uvx autoclip-mcp 安装并启动 MCP,npx skills add zhouxiaoka/autoclip 安装 skill。
  • 校验与签名说明:桌面包目前未购置代码签名 / Apple 公证(#119),均由公开 GitHub Actions Desktop Build 构建;运行前可在附件 build-provenance.json 核对安装包 SHA-256(Windows:Get-FileHash AutoClip.Desktop_1.6.7_x64-setup.exe -Algorithm SHA256;macOS:shasum -a 256 AutoClip.Desktop_1.6.7_aarch64.dmg)。
  • 首次体验与转写:安装后若项目列表为空,可点首页「用示例项目看看效果」(内置离线示例,无需 API Key)。没有字幕的视频首次会下载本地转写组件(约 220 MB,国内网络约 15 分钟);装不上或太慢时,可在「设置 → 默认模型 → 语音转字幕」改用百炼云端转写(音频会上传到云端),导入被拦住时可直接点「改用云端转写」。

反馈

Don't miss a new autoclip release

NewReleases is sending notifications on new releases.