Commit Graph

783 Commits

Author SHA1 Message Date
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
Bingxi Zhao (Frank)
453b06063b Merge PR #1344 Ukrainian locale after conflict resolution 2026-09-23 10:38:18 +08:00
Bingxi Zhao (Frank)
83121eecea fix(web): restore notebook tooltip import and tool hint locale fallback 2026-09-23 10:35:30 +08:00
Bingxi Zhao (Frank)
d6825cb695 Merge PR #1344: add Ukrainian language support 2026-09-23 10:34:40 +08:00
Bingxi Zhao (Frank)
dadb762744 Merge pull request #1360 from fetw882/feat/grok-cli-connector
feat: add Grok CLI subagent connector
2026-09-23 10:34:26 +08:00
Bingxi Zhao (Frank)
7d330f043c Merge remote-tracking branch 'origin/pr-1503' into codex/merge-pr-1503
# Conflicts:
#	deeptutor/services/session/turns/executor.py
2026-09-23 10:32:28 +08:00
Bingxi Zhao
921160d3f8 Merge pull request #1335 from TaoufikMejri/feat/add-french-translation
feat: add french as supported language
2026-09-23 10:26:44 +08:00
Bingxi Zhao
c4cf5a69a5 Merge pull request #1532 from antmikinka/feat/tts-math-speak
feat(voice): verbalize LaTeX in TTS with a Math speak setting
2026-09-23 10:26:23 +08:00
Bingxi Zhao
44e7da44db Merge pull request #1494 from wumajiehechuan-lab/feat/lightrag-llm-timeout
feat(rag): expose LightRAG llm_timeout so extraction LLM timeouts are tunable
2026-09-23 10:25:50 +08:00
Bingxi Zhao
e8a204f80e Merge pull request #1469 from wumajiehechuan-lab/fix/pdfjs-legacy-bundle
fix(web): 加载带 polyfill 的 PDF.js 构建,让旧版引擎也能渲染
2026-09-23 10:25:39 +08:00
Bingxi Zhao
b05ccdba58 Merge pull request #1408 from AoHanBei/feat/1405-chatgpt-import
feat(imports): add ChatGPT conversation export support
2026-09-23 10:23:40 +08:00
Bingxi Zhao
d44bd8e934 Merge pull request #1339 from evan188199-tech/codex/feat/notebook-edit-discoverability
feat(notebook): expose direct record editing
2026-09-23 10:23:01 +08:00
Bingxi Zhao (Frank)
eabc17d79f release: v1.6.10
Native LightRAG role models: extraction, keyword, query and vision each
resolve their own model, vision indexing pins a vision-capable model
instead of silently degrading, and a knowledge base records which models
and which embedding built it. A published index refuses queries after its
embedding identity changes rather than searching a foreign vector space,
and a rebuild is confirmed against the configuration it will actually
use — a stale confirmation is rejected instead of quietly rebuilding
something else. A failed publication is withdrawn, not left half-written.

PDF attachments follow the parsing engine configured for the workspace,
report the stage they are in, and a truncated answer says it was
truncated with the counters that prove it. Providers are no longer
filtered out of the embedding picker on an unverifiable capability guess:
configure the model and test it. Visualize's temperature and token budget
are settings rather than literals. Notebook evidence no longer depends on
the chat session that produced it.

See assets/releases/ver1-6-10.md for the full notes, and the README
translations for the propagated prose.
2026-09-22 21:36:27 +08:00
Bingxi Zhao (Frank)
ee24f44fa7 fix(ui): unify accessible tooltips (#1526) 2026-09-21 14:51:29 +08:00
Bingxi Zhao (Frank)
9083d5fe3c fix(attachments): surface PDF processing stages (#1523) 2026-09-21 14:50:37 +08:00
Bingxi Zhao (Frank)
1fe74df0ed fix(notebook): decouple evidence from chat sessions (#1519) 2026-09-21 14:50:02 +08:00
Bingxi Zhao (Frank)
3800028fa8 merge: integrate LightRAG roles with embedding compatibility 2026-09-21 13:36:18 +08:00
Bingxi Zhao
9ea95ef0dd Merge pull request #1281 from NoxsMedia/codex/nox-35-standalone-embedding
fix: enforce native LightRAG embedding compatibility
2026-09-21 13:15:09 +08:00
Bingxi Zhao
9cba3bdfaf Merge pull request #1157 from NoxsMedia/fix/codex-luna-none-reasoning
fix(codex): expose Luna none reasoning effort
2026-09-21 13:14:39 +08:00
NoxsMedia
b66bc5743c style(web): retain existing provenance component formatting 2026-09-21 03:42:26 +00:00
NoxsMedia
26a63c76bc fix(lightrag): withdraw failed rebuild publication and align provenance 2026-09-21 03:39:22 +00:00
NoxsMedia
8d2c452ef5 fix: display the bound LightRAG version in index provenance 2026-09-21 03:10:48 +00:00
NoxsMedia
0ce3f5a713 fix: display the bound version alongside pinned LightRAG roles 2026-09-21 03:10:48 +00:00
NoxsMedia
1c8a29d257 fix: retain bound index provenance and embedding-only controls 2026-09-21 03:04:13 +00:00
NoxsMedia
ac8cc4a97d fix: preserve selected embeddings in confirmed LightRAG rebuilds 2026-09-21 02:57:39 +00:00
NoxsMedia
73e062c594 fix: preserve LightRAG compatibility with per-KB embedding bindings 2026-09-21 02:45:23 +00:00
Gao-Chenkai
33fa74b5b6 fix(mastery): keep learning evidence bound to objective identity
Replace no longer reuses positional IDs for unrelated waypoints, invalid
questions can be voided or re-keyed, and defer advances the route without
faking mastery.

Fixes #1527

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-21 10:23:53 +08: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
Bingxi Zhao (Frank)
367195b7cf Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	deeptutor/api/routers/reading_extensions.py
#	tests/reading/test_extension_router.py
#	web/locales/en/app.json
#	web/locales/zh/app.json
2026-09-19 16:41:12 +08:00
Bingxi Zhao (Frank)
c74915ab8b style(reading): retain the frontend quotation and semicolon conventions 2026-09-19 16:19:26 +08:00
Bingxi Zhao (Frank)
fe482d64eb fix(assessment): persist reading answers reliably across learning surfaces 2026-09-19 16:16:39 +08:00
Bingxi Zhao (Frank)
20d2596f44 Merge branch 'codex/question-pr-1475' into codex/question-pr-1504 2026-09-19 16:13:22 +08:00
Bingxi Zhao (Frank)
a37605b3a0 Merge branch 'codex/question-pr-1341' into codex/question-pr-1504
# Conflicts:
#	deeptutor/services/session/sqlite_store.py
#	web/locales/en/app.json
#	web/locales/zh/app.json
2026-09-19 16:13:22 +08:00
Bingxi Zhao (Frank)
6c72de5185 fix(question-bank): validate source filters against accepted sources 2026-09-19 16:12:43 +08:00
Bingxi Zhao (Frank)
715e5de592 Merge remote-tracking branch 'origin/dev' into codex/question-pr-1341 2026-09-19 16:11:05 +08:00
Gao-Chenkai
3eb831d108 feat(learning): persist cross-surface Focus-Check in Question Bank
Route Mastery, Book, and Immersive Reading attempts through one review record so reading quizzes are server-graded, retryable, and show the learner's pick next to the reference answer.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 21:21:15 +08:00
flower-moon
f43c4ec49e fix(web): keep the reader's figure captions off the monospace rule
reading-display-preferences.test.ts asserts the reader view contains no
font-mono, guarding against the silent monospace readouts that used to sit
beside the display controls. A fallback picture's caption is not one of those
— it is a small muted label — so it keeps the muted styling without the
monospace family and the web test suite stays green.
2026-09-17 18:48:43 +08:00
flower-moon
93c210f4ab feat(reading): inline embedded pictures at their original position
The marker lines the extractor embeds ([图片 N: image-NN.png]) rendered
as literal text in the body with the pictures collected in a separate
strip below the article, each captioned with its filename. Render the
picture itself at the marker's position instead — the marker text stays
in the DOM under the same HiddenMark pattern every other collapsed
marker uses, so Recogito's char-level selectors still resolve against
the exact text an annotation was saved against. A picture whose media
row is missing keeps its literal marker, and anything the inline
renderer cannot claim falls back to the strip.

Also accept catalog-minted rm_ material ids in the reader's wire
validators (turn state, references, location history, citation
anchors), matching the id shape the store already accepts.
2026-09-17 18:46:28 +08:00
flower-moon
e1b4954a23 feat(documents): Office/PDF 嵌入图片全链路支持 — 提取、显示、喂视觉模型
- 新增 utils/document_images.py:docx(OOXML单遍扫描)/pptx(python-pptx+OOXML兜底)/pdf(pymupdf, xref去重)
  嵌入图片提取,统一 [图片 N: name] 正文标记 + ImageBudget 预算(单文档12张/12MB,单回合16张/12MB)
- 聊天附件:extract_documents_from_records 产出嵌入图片 image 记录(embedded 标记),
  turn_runtime 托管附件库后经现有多模态注入管道发给视觉模型,UI 零改动渲染图片附件
- 阅读区:Extraction.media + 标记→locator 映射,入库 media/ + media.json,
  新增 GET /materials/{id}/media(/{name}) API,TextUnitView 图片条(article 外侧,不动逐字锚定),
  immersive_reading 回合注入当前页图片(≤4张),read_material 结果附图片清单
- docx 富提取顺带补齐 python-docx 一直丢掉的表格文本;EMF/WMF 矢量图计数尾注不静默丢弃
- MaterialManifest 新增 media_count(向后兼容);media_path 索引校验防路径穿越
- tests: test_document_images.py 8 用例;utils 51 + 阅读区全套 + session 209 通过

详细文档: docs/文档图片支持_提取显示与视觉模型_2026-09-07.md (gitignored)
2026-09-17 18:46:28 +08:00
wumajiehechuan-lab
cf61846076 feat(rag): expose LightRAG llm_timeout so extraction LLM timeouts are tunable
- add llm_timeout (default 240, clamp 60-3600) to lightrag runtime settings
- pass it through constructor_kwargs_from_settings() as default_llm_timeout
- accept llm_timeout in the LightRAG pipeline config API
- update generated openapi/api.ts contracts
- extend settings + wiring tests
2026-09-16 18:34:57 -07:00
Gao-Chenkai
96b6cb89d3 Merge origin/dev into feat/issue-1471-adaptive-srs-mvp 2026-09-15 21:32:25 +08:00
Gao-Chenkai
a448e8743c fix: keep adaptive SRS UI compatible with base tests 2026-09-15 21:31:20 +08:00
Gao-Chenkai
21cd2bb23f feat: complete adaptive SRS persistence and review UI 2026-09-15 21:00:01 +08:00
Bingxi Zhao (Frank)
c547a5a31c fix: resolve verified learning, ingestion and delivery regressions
Bind mastery drafts before their opening turn and preserve stored session modes.
Track chat duration from submission through terminal completion. Run async reading
extensions on their event loop and allow retries after cancellable timeouts.
Allow first uploads into empty LlamaIndex knowledge bases, preserve Telegram
thread routing, parse embedding Retry-After dates, and enforce robots rules and
host pacing during documentation crawls, including redirects.

Fixes #1461
Fixes #1458
Fixes #1451
Fixes #1448
Fixes #1392
Fixes #1429
Refs #1435, #1412

Reuses contributions from PRs #1462, #1452 and #1403.

Co-authored-by: sjagadee <srini.jagadeesh@gmail.com>
Co-authored-by: AoHanBei <dongaohan21@gmail.com>
Co-authored-by: Gao-Chenkai <DevChenkai@outlook.com>
2026-09-15 20:06:57 +08:00
Bingxi Zhao (Frank)
debf8a1858 Merge branch 'dev' into worktree-chat-engine-interleaved 2026-09-15 13:25:51 +08:00
Bingxi Zhao (Frank)
42d793839b Merge branch 'dev' into worktree-chat-engine-interleaved 2026-09-15 13:25:06 +08:00
wumajiehechuan-lab
172cae8aa2 fix(web): load the polyfilled PDF.js build so older engines can render
pdfjs-dist ships two builds. The default one is neither transpiled nor
polyfilled: it targets the newest engines and calls recent ECMAScript methods
such as `Map.prototype.getOrInsertComputed` (ES2026; Chrome/Edge 145+,
Firefox 144+) straight off the platform. On any slightly older engine --
including a browser or embedded webview only a few months behind -- the worker
throws

  this._requestsByChunk.getOrInsertComputed is not a function

and the document never renders, silently, because the failure happens inside
the worker where the main thread cannot see it.

Take both the library and its worker from the `legacy` bundle, which carries
core-js and patches those methods in. The two must come from the same bundle,
or PDF.js aborts with an API/Worker version mismatch. The extra weight is paid
only by users who actually open a PDF, since this module loads dynamically.
Pin the choice with a test so it is not "optimised" back.
2026-09-14 20:25:39 -07:00
NoxsMedia
e742628e77 chore: sync PR #1157 with current dev 2026-09-14 11:51:33 +00:00
NoxsMedia
82d4d7d7a3 chore: sync PR #1281 with current dev 2026-09-14 11:51:32 +00:00