diff --git a/Cargo.lock b/Cargo.lock
index a68427d..f5400ec 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1590,7 +1590,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "scribewatch"
-version = "0.6.5"
+version = "0.6.6"
dependencies = [
"anyhow",
"async-stream",
diff --git a/Cargo.toml b/Cargo.toml
index 8ecff4a..e928502 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "scribewatch"
-version = "0.6.5"
+version = "0.6.6"
edition = "2024"
rust-version = "1.98"
authors = ["GodsQuantum"]
diff --git a/README.fr.md b/README.fr.md
index f37a597..ca386a9 100644
--- a/README.fr.md
+++ b/README.fr.md
@@ -34,23 +34,25 @@ Le cas d’usage naturel est **notes vocales → Obsidian**, mais rien n’est v
-## Download ScribeWatch v0.6.5
+## Download ScribeWatch v0.6.6
-**[Official website](https://scribewatch.arezkichougar.com/)** · **[Latest GitHub release](https://github.com/GodsQuantum/ScribeWatch/releases/latest)** · [SHA-256 checksums](https://github.com/GodsQuantum/ScribeWatch/releases/tag/v0.6.5) · [Source code](https://github.com/GodsQuantum/ScribeWatch)
+**[Official website](https://scribewatch.arezkichougar.com/)** · **[Latest GitHub release](https://github.com/GodsQuantum/ScribeWatch/releases/latest)** · [SHA-256 checksums](https://github.com/GodsQuantum/ScribeWatch/releases/tag/v0.6.6) · [Source code](https://github.com/GodsQuantum/ScribeWatch)
**Start with the complete edition.** It includes the local speech-transcription and structured-writing engines. It downloads their model files the first time you open it; after that, processing with those local models does not require sending your recordings or text to a remote service.
| Operating system | Complete local edition | Installer |
|---|---|---|
-| **Windows 11 x64** | Recommended | [Complete Windows installer](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.5/ScribeWatch-0.6.5-windows-amd64-standalone-setup.exe) |
-| macOS Apple Silicon | Local AI included | [Apple Silicon DMG](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.5/ScribeWatch-0.6.5-darwin-arm64-standalone.dmg) |
-| macOS Intel | Local AI included | [Intel DMG](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.5/ScribeWatch-0.6.5-darwin-amd64-standalone.dmg) |
-| Linux x86-64 | Local AI included | [Full AppImage](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.5/ScribeWatch-0.6.5-x86_64-standalone.AppImage) · [Debian/Ubuntu .deb](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.5/scribewatch_0.6.5_amd64.deb) |
-| Linux ARM64 | Local AI included | [Full AppImage](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.5/ScribeWatch-0.6.5-aarch64-standalone.AppImage) · [Debian/Ubuntu .deb](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.5/scribewatch_0.6.5_arm64.deb) |
+| **Windows 11 x64** | Recommended | [Complete Windows installer](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.6/ScribeWatch-0.6.6-windows-amd64-standalone-setup.exe) |
+| macOS Apple Silicon | Local AI included | [Apple Silicon DMG](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.6/ScribeWatch-0.6.6-darwin-arm64-standalone.dmg) |
+| macOS Intel | Local AI included | [Intel DMG](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.6/ScribeWatch-0.6.6-darwin-amd64-standalone.dmg) |
+| Linux x86-64 | Local AI included | [Full AppImage](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.6/ScribeWatch-0.6.6-x86_64-standalone.AppImage) · [Debian/Ubuntu .deb](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.6/scribewatch_0.6.6_amd64.deb) |
+| Linux ARM64 | Local AI included | [Full AppImage](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.6/ScribeWatch-0.6.6-aarch64-standalone.AppImage) · [Debian/Ubuntu .deb](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.6/scribewatch_0.6.6_arm64.deb) |
**Getting started:** Install ScribeWatch, allow the initial model downloads (several gigabytes), choose a note type, record or import audio, then export PDF, DOCX, ODT, HTML, TXT or Markdown. The complete editions bundle Pandoc 3.14, Typst 0.15.1 and multilingual fonts; you do not need system-wide PDF tools. A modern 64-bit processor works, but a compatible GPU speeds up local processing; **16 GB RAM is recommended for structured reports**, not a certified minimum.
-**For advanced users only:** Lightweight Windows/macOS/Linux builds are also provided in [GitHub releases](https://github.com/GodsQuantum/ScribeWatch/releases/tag/v0.6.5). They **do not install local transcription or writing engines**. Choose them only if you have an existing compatible STT/LLM service.
+**Automatic local port recovery (included in v0.6.6):** On Windows, macOS and Linux, the installed application automatically chooses a free local port if the preferred HTTP port is occupied. Its built-in ASR and LLM engines also fall back to separate free ports; the actual addresses are kept for subsequent launches. This never modifies or stops another application, and externally configured endpoints remain unchanged.
+
+**For advanced users only:** Lightweight Windows/macOS/Linux builds are also provided in [GitHub releases](https://github.com/GodsQuantum/ScribeWatch/releases/tag/v0.6.6). They **do not install local transcription or writing engines**. Choose them only if you have an existing compatible STT/LLM service.
The complete editions install and start on their certified CI runners, but the physical microphone, every GPU and medical-report accuracy are **not independently certified on all possible computers**. Medical drafts require practitioner review. If you configure an optional external provider, its privacy terms apply; do not assume external providers are local. Binaries may be unsigned or non-notarized; compare SHA-256 checksums before running them.
@@ -300,7 +302,7 @@ bash scripts/e2e-v02.sh
## Hardware-aware safe performance starter
-**Downloads:** [All official ScribeWatch v0.6.5 installers](https://github.com/GodsQuantum/ScribeWatch/releases/tag/v0.6.5). Builds may be unsigned or not Apple-notarized. Check SHA256 before trusting a binary.
+**Downloads:** [All official ScribeWatch v0.6.6 installers](https://github.com/GodsQuantum/ScribeWatch/releases/tag/v0.6.6). Builds may be unsigned or not Apple-notarized. Check SHA256 before trusting a binary.
~~~bash
python3 scripts/auto-tune.py # read-only CPU and RAM detection
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 0f9ea90..af0ac51 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -6,27 +6,29 @@
-## ScribeWatch v0.6.5 下载
+## ScribeWatch v0.6.6 下载
-**[官方网站](https://scribewatch.arezkichougar.com/)** · **[最新 GitHub 正式版本](https://github.com/GodsQuantum/ScribeWatch/releases/latest)** · [SHA-256 校验](https://github.com/GodsQuantum/ScribeWatch/releases/tag/v0.6.5) · [源代码](https://github.com/GodsQuantum/ScribeWatch)
+**[官方网站](https://scribewatch.arezkichougar.com/)** · **[最新 GitHub 正式版本](https://github.com/GodsQuantum/ScribeWatch/releases/latest)** · [SHA-256 校验](https://github.com/GodsQuantum/ScribeWatch/releases/tag/v0.6.6) · [源代码](https://github.com/GodsQuantum/ScribeWatch)
**新用户请选择完整版本。** 完整安装包包含本地语音转写和文档整理引擎;首次启动需联网下载模型,此后使用本地模型时无需将录音和文档发送至云端。
| 系统 | 完整本地版本 | 安装包 |
|---|---|---|
-| **Windows 11 x64** | 推荐 | [Windows 完整安装程序](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.5/ScribeWatch-0.6.5-windows-amd64-standalone-setup.exe) |
-| macOS Apple Silicon | 本地模型 | [Apple Silicon DMG](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.5/ScribeWatch-0.6.5-darwin-arm64-standalone.dmg) |
-| macOS Intel | 本地模型 | [Intel DMG](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.5/ScribeWatch-0.6.5-darwin-amd64-standalone.dmg) |
-| Linux x86-64 | 本地模型 | [完整 AppImage](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.5/ScribeWatch-0.6.5-x86_64-standalone.AppImage) · [Debian/Ubuntu .deb](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.5/scribewatch_0.6.5_amd64.deb) |
-| Linux ARM64 | 本地模型 | [完整 AppImage](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.5/ScribeWatch-0.6.5-aarch64-standalone.AppImage) · [Debian/Ubuntu .deb](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.5/scribewatch_0.6.5_arm64.deb) |
+| **Windows 11 x64** | 推荐 | [Windows 完整安装程序](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.6/ScribeWatch-0.6.6-windows-amd64-standalone-setup.exe) |
+| macOS Apple Silicon | 本地模型 | [Apple Silicon DMG](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.6/ScribeWatch-0.6.6-darwin-arm64-standalone.dmg) |
+| macOS Intel | 本地模型 | [Intel DMG](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.6/ScribeWatch-0.6.6-darwin-amd64-standalone.dmg) |
+| Linux x86-64 | 本地模型 | [完整 AppImage](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.6/ScribeWatch-0.6.6-x86_64-standalone.AppImage) · [Debian/Ubuntu .deb](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.6/scribewatch_0.6.6_amd64.deb) |
+| Linux ARM64 | 本地模型 | [完整 AppImage](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.6/ScribeWatch-0.6.6-aarch64-standalone.AppImage) · [Debian/Ubuntu .deb](https://github.com/GodsQuantum/ScribeWatch/releases/download/v0.6.6/scribewatch_0.6.6_arm64.deb) |
**使用方法:** 安装后首次联网下载数 GB 模型,选择文档类型,录音或导入音频,然后导出 PDF、Word、ODT、HTML、TXT 或 Markdown。完整版本内置 Pandoc 3.14、Typst 0.15.1 及字体,无需另行安装。普通 64 位处理器也可使用,兼容显卡会加快速度;**结构化报告建议 16 GB 内存**,这不是所有设备的保证最低配置。
-**高级用户:** [GitHub 正式版本](https://github.com/GodsQuantum/ScribeWatch/releases/tag/v0.6.5) 还提供各平台轻量版。轻量版**不包含本地转写和文档模型**,需要事先配置兼容服务,不适合新用户。
+**自动切换本地端口(已包含在 v0.6.6):** 在 Windows、macOS 和 Linux 上,安装版遇到默认 HTTP 端口被占用时会自动选择空闲的本地端口。内置 ASR 和 LLM 引擎也会分别选择不冲突的端口,并在下次启动时复用实际地址;不会停止其他程序,也不会修改已配置的外部服务。
+
+**高级用户:** [GitHub 正式版本](https://github.com/GodsQuantum/ScribeWatch/releases/tag/v0.6.6) 还提供各平台轻量版。轻量版**不包含本地转写和文档模型**,需要事先配置兼容服务,不适合新用户。
安装程序通过多平台 CI 测试,但不同实体麦克风、显卡以及医疗报告质量仍需要单独验证。医疗内容必须由专业人员审阅。选择外部服务时,适用该服务的隐私政策。安装包可能未经过正式代码签名或 Apple 公证,请核对 SHA-256。
-## v0.6.5 当前界面
+## v0.6.6 当前界面
**首页(Home)**:总览、快速转录、监控文件夹入口。**录音(REC)**:浏览器麦克风录制、断线恢复。**文档(Documents)**:历史任务、文档和导出。**设置(Settings)**:转录和 LLM 服务、模型、报告模板、高级参数。支持英语、法语、简体中文、五种主题及简单/高级模式。
diff --git a/docs/RELEASE_NOTES_0.6.6.md b/docs/RELEASE_NOTES_0.6.6.md
new file mode 100644
index 0000000..92fb0bd
--- /dev/null
+++ b/docs/RELEASE_NOTES_0.6.6.md
@@ -0,0 +1,17 @@
+# ScribeWatch 0.6.6 — 18 November 2026
+
+## Dictation and resilience
+
+- Native global Rust microphone dictation on Windows, macOS and Linux, using the MIT-licensed Handy recorder core. Audio streams to a temporary WAV file, avoiding a fixed duration limit or retaining the entire recording in RAM.
+- Select local or remote ASR provider, model and fallback chain. Configure optional AI structuring with local or remote LLM and document profiles; the raw recognized transcript is preserved if the optional structurer fails. Original browser REC live session, automatic recording recovery, and quick audio-to-text remain available.
+- If the HTTP port preferred by the installed desktop app (default 3052, or SCRIBEWATCH_PORT) is occupied, the application automatically selects a free loopback-only port. The bundled STT (38005) and LLM (38080) follow the same policy. Only healthy ScribeWatch sessions are reused; other applications and custom external providers are never stopped or overwritten.
+- The app stores the actual healthy main port for later launches and dynamically updates ScribeWatch-owned native provider URLs if those ports change.
+- Compatible Windows x64, macOS ARM64/Intel, Linux x86-64/ARM64 and Docker/server binaries are built from a single tagged source tree.
+
+## Verification and boundaries
+
+- Branch PR #52: Linux native Rust unit suite (194 passed, one ignored), first-boot integration (3), real launcher/engine port-collision integration (1), launcher unit (4), and frontend tests (120) passed locally, with strict Clippy and zero Svelte diagnostics.
+- Release GitHub Actions must pass all platform and installer jobs, verify final checksums and only then publish the version as non-draft. Hardware microphone/keyboard, individual GPU models, Apple notarization and Windows Authenticode signing are not universally certified.
+- The full local edition obtains ASR and LLM model weights on first launch; no hidden cloud inference is enabled. Lightweight builds may require external providers. Existing configurations are retained.
+
+See README.md, README.fr.md and README.zh-CN.md for downloads and limitations.
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index 5d51e12..5822422 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "scribewatch-frontend",
- "version": "0.6.5",
+ "version": "0.6.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "scribewatch-frontend",
- "version": "0.6.5",
+ "version": "0.6.6",
"dependencies": {
"pdf-lib": "1.17.1"
},
diff --git a/frontend/package.json b/frontend/package.json
index 90d9aec..98c88ca 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -1,7 +1,7 @@
{
"name": "scribewatch-frontend",
"private": true,
- "version": "0.6.5",
+ "version": "0.6.6",
"type": "module",
"scripts": {
"dev": "vite dev",
diff --git a/frontend/src/lib/api.ts b/frontend/src/lib/api.ts
index 4a9c53d..e26814f 100644
--- a/frontend/src/lib/api.ts
+++ b/frontend/src/lib/api.ts
@@ -1,8 +1,8 @@
import { parseApiResponse } from './api-response.js';
import type {
- EmbeddedRuntimeStatus, Space, SpaceMembership, SpaceKind,
+ DictationResult, DictationSettings, EmbeddedRuntimeStatus, Space, SpaceMembership, SpaceKind,
BrowseResponse, DashboardStats, ExportFormat, Job, LiveUploadManifest, LlmProvider, LlmProviderInput,
- Provider, ProviderInput, QuickOptions, ReportEncounter, SavedReport, StructureProfile, Workflow
+ Provider, ProviderInput, TranscriptionRoute, QuickOptions, ReportEncounter, SavedReport, StructureProfile, Workflow
} from './types';
export class ApiError extends Error {
@@ -163,6 +163,21 @@ export const api = {
retryJob: (id: string) => request