7 Commits

Author SHA1 Message Date
向阳乔木
1cc567197d Interface hot updates, signed remote config, release handbook
- ota.rs: the interface (dist/) updates without an app release. Signed manifest (updater key), exact app-version
  match, applies on next launch, staged -> booting -> committed with a 15 s ready check and permanent blacklist of
  failed builds, no downgrades, staged rollout by install, rollback directive. The release build now serves the
  interface itself (replaces tauri-plugin-localhost) so it can serve a hot update.
- scripts/ui-release.sh: builds, signs and publishes a hot update; refuses when src-tauri/ changed since the tag.
- Remote config (signed): YouTube API client versions can be changed without a release.
- docs/RELEASING.md and AGENTS.md: which channel to use and how, for people and agents.
- Verified end to end on the release app: stage, apply, ready; a broken bundle is dropped after 15 s and the last
  good one reloads; rollback returns to the built-in interface; a tampered manifest is refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 19:25:21 -08:00
向阳乔木
703f79c6a6 0.2.1: YouTube playback fallback, Chinese subtitles first, in-show search, Windows runtime
- Video fallback: yt-dlp prepared when a video page opens, progress shown, 3-minute cap, Open on YouTube;
  accurate error wording (only 101/150 mean the owner disallows embedding)
- yt-dlp from our mirror first (SHA-256 checked), GitHub second; server sync script
- Direct stream: HLS where the WebView plays it natively (macOS), progressive MP4 elsewhere
  (YouTube HLS has no CORS header, so hls.js failed on Windows)
- Subtitles: Chinese videos no longer open in English when English subtitles are also uploaded; the
  publisher's Chinese subtitles become the Chinese line; subtitle language picker; translation starts
  whichever tab is open
- Search inside a show: titles and their Chinese, show notes, subtitles; subtitle hits play from that line
- Windows: static C runtime in subcast.exe, app-local VC++ runtime for CrispASR, embedded WebView2
  bootstrapper, CI check of PE imports; Ctrl+ labels instead of ⌘ off macOS

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 18:37:01 -08:00
向阳乔木
0b74fd312c server/deploy: backups through docker exec; English summary matches the deployment
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 11:16:54 -08:00
向阳乔木
7aab0c17dc server/deploy: correct backup command
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 11:15:10 -08:00
向阳乔木
3039c674ac server/deploy: document the Docker Compose deployment
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 11:14:52 -08:00
向阳乔木
8a4bf37939 release.sh: survive notarytool output and the signer's key check; API runs with Docker Compose
- notarize(): capture notarytool output before matching; piping into grep -q killed tee with SIGPIPE
  and set -e aborted after Apple had accepted
- updater signing: drop the exported key env so tauri signer accepts -f
- server/deploy/docker-compose.yml: the API as deployed on myvps (node:22-alpine, data on the host)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 11:14:27 -08:00
向阳乔木
7c3020c356 i18n, offline downloads, updater, shared subtitles, YouTube promotion, chat actions
- Four interface languages (zh-CN, zh-TW, en, ja) with a strict dictionary check
- Offline downloads with a Storage page in Settings (sizes, open folder, clean up) and a menu on the downloaded tick
- Auto-update: background download by default, restart banner, update dot on the settings button
- Shared subtitles client (lookup before transcribing, upload after) and its API server under server/
- 词元之外: YouTube video version, red subscribe buttons, Discover banner, first-launch pick, About card; episode link opens YouTube at the current time
- Q&A: copy with or without timestamps or as Markdown with YouTube links, retry, edit, delete, new chat with history, follow-only-at-bottom
- Full show notes for rss.qiaomu.ai channels (YouTube description or 小宇宙 shownotes) with clickable chapters and links
- Rewritten guide prompt: specific points, whole-episode coverage, speakers, parts worth hearing first, timestamp self-check
- Middle column keeps a minimum width; player controls adapt and dock to the bottom when scrolled away
- Model settings ordered key, use, test, advanced; OpenCode session header

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:24:40 -08:00