17 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
f8be756906 Integrate saved user workspace changes with reviewed dev updates 2026-10-07 20:37:55 +08:00
Bingxi Zhao (Frank)
f07029cfcf release: v1.6.13
Ship the reading, listening, question-bank, parsing, and provider updates
summarized in assets/releases/ver1-6-13.md.

Make speech timeouts configurable, report actionable synthesis failures,
and keep chat attachments discoverable in their selected workspace while
preserving earlier uploads and URLs. Keep reply playback cancellation and
single-audio ownership intact.

Sync README prose and all eleven translations, update the stable install
note, and archive release notes older than one week. Repair stale reading
test fixtures and spawned test imports, and clear the Partner type error.

Validation: 9252 Python tests and 8 subtests passed (28 skipped); 518 web
unit tests, 1253 Node tests, and 62 browser audits passed. Pre-commit, ruff,
typecheck, contracts, architecture, i18n, production build, route budgets,
and the docs build passed.
2026-10-04 21:35:00 +08:00
Bingxi Zhao (Frank)
a3c76c9d27 fix(voice): preserve math and isolate reply playback lifecycle 2026-10-04 15:13:14 +08:00
Bingxi Zhao (Frank)
b83592a107 Merge dev into PR #1557 and preserve integrated behavior 2026-10-04 15:09:24 +08:00
Bingxi Zhao (Frank)
2757302fee fix(voice): explain browser STT conversion failures (#1554) 2026-09-27 04:52:21 +08:00
Bingxi Zhao
06a5a8443b Merge pull request #1563 from wumajiehechuan-lab/fix/dashscope-stt-realtime-model
fix(voice): use realtime DashScope STT model ids
2026-09-27 03:22:03 +08:00
Bingxi Zhao (Frank)
7adef0b607 fix(voice): hide unsupported DashScope 8k STT option 2026-09-27 02:58:17 +08:00
wumajiehechuan-lab
cdc36c31d3 fix(voice): use realtime DashScope STT model ids
The native DashScope STT adapter talks to the Paraformer real-time WebSocket
endpoint (`/api-ws/v1/inference`, `task_group=audio`, `function=recognition`),
which only accepts `paraformer-realtime-*` model ids. `paraformer-v2` is a
batch-transcription id, so the pre-filled default made every DashScope STT test
fail the handshake:

    [failed] DashScope STT failed to start: Model not found (paraformer-v2)!

Point the provider default and the curated voice options at
`paraformer-realtime-v2` (and offer the 8 kHz variant), and update the tests
that pinned the old id.

Verified against the live endpoint with the real adapter: `paraformer-v2`
answers `task-failed/ModelNotFound`, `paraformer-realtime-v2` answers
`task-started` and returns a transcript.
2026-09-22 21:21:22 -07:00
Bingxi Zhao (Frank)
55e96e429e style: satisfy repository lint and format gates 2026-09-23 11:28:41 +08:00
Bingxi Zhao (Frank)
46cd815392 Fix TTS math prose handling around Windows paths 2026-09-23 10:41:33 +08:00
Anthony
4b1bcba8a9 fix(voice): stop speaking asterisks and drop the play-aloud auto-play prompt
Unwrap bold, italic, and strike before TTS so leftover asterisks are not spoken. Play aloud only plays that reply; auto-play stays a Settings preference. Failed synthesis shows an error toast, and stop cancels an in-flight request.
2026-09-22 19:41:20 -07:00
Anthony
044c0e7598 feat(voice): verbalize LaTeX in TTS with a Math speak setting
Always strip dollar-sign math delimiters so the voice model never says dollar. When Math speak is on (default), also convert fractions, powers, Greek, and common operators into spoken words. Settings > Voice exposes the toggle; the server applies it on every /tts call.
2026-09-20 11:57:05 -07:00
Bingxi Zhao (Frank)
da856ad670 release: v1.6.9
Ship folder-based workspaces and data migration, daily practice, redesigned
provider and model settings, and streaming conversation improvements.
Synchronize README translations and document the archive/permanent-delete
upgrade behavior in assets/releases/ver1-6-9.md.

Reduce initial JavaScript by deduplicating English resources and loading
animation features after hydration. Keep the existing route size budgets.
Update regression fixtures and browser audits for scoped URLs and the new
settings and learning interfaces.
2026-09-21 02:30:40 +08:00
XZH
d9538192d2 feat(media): add DashScope providers (#1016) 2026-08-27 10:25:41 -07:00
ZQR1101
ac25a5c868 fix(voice): strip MediaRecorder codec params from STT uploads (#948)
* fix(voice): strip MediaRecorder codec params from STT uploads

Chrome sends audio/webm;codecs=opus; OpenAI-compatible transcription APIs reject that as an unknown format.

Fixes #945

* refactor(voice): normalize the STT MIME once, at the wire boundary

The codec-parameter strip was applied at four layers: the recorder hook, the
route, the `transcribe_audio` facade, and `_post_multipart`. Only the last of
those decides what actually goes on the wire, and `openai_compat` is the sole
registered STT adapter, so the two middle copies were pure duplication —
and they made the route's contract ambiguous about who owns the value.

Keep the client-side strip (it sets the Blob type, which is what the browser
puts in the multipart part) and the adapter strip; drop the route and facade
copies along with the now-unused facade re-export. The adapter-level test
already pins the wire contract; the route test now asserts what the route
actually promises — verbatim forwarding.

---------

Co-authored-by: ZQR1101 <278034003+ZQR1101@users.noreply.github.com>
Co-authored-by: Frank <bingxizhao@novix.science>
2026-08-24 16:51:49 +08:00
Bingxi Zhao (Frank)
1bf11d13e7 prepare 1.4.7 2026-06-18 00:22:48 +08:00
Bingxi Zhao (Frank)
c9d387e2b6 super super great great update 2026-06-17 00:56:27 +08:00