76 Commits

Author SHA1 Message Date
Qiu
506cea9d4f feat(desktop): finish Windows chat file actions (#3051)
Continues #2978 and closes #2887. Includes the original Windows file actions, integrates the changes with dev, and adds an explicit default-app action.

Co-authored-by: Botong Wu <2048400180@qq.com>
2026-11-28 13:09:15 -03:00
Bingxi Zhao (Frank)
af403550ce Merge PR #2639: fix: explain missing LLM access in chat
Retain admission error text and localized model-access guidance; allow explicit retry to revalidate access instead of permanently blocking stored messages. No automatic retry on reload. Backend tests and both manual retry paths passed.
2026-11-14 23:19:09 +08:00
Junlin Li
560a80a17f fix: explain missing LLM access in chat 2026-11-12 16:58:52 +08:00
evan188199-tech
a7df05f739 fix(web): tag assistant prose with the turn's recorded language (#2143)
AssistantMessage derived its lang attribute from the session-wide
language prop, so switching the reply language re-tagged every past
reply (zh->ja gave old Chinese replies Japanese fonts). Derive the
per-message language from the turn's request snapshot, recorded when
the turn was sent, and fall back to the session language only for
legacy messages without one. Add a behavior test covering two replies
with different recorded languages and the legacy fallback.
2026-11-09 14:53:24 +08:00
Bingxi Zhao (Frank)
064b2aa133 Merge #2420 onto the shared speech player 2026-11-06 02:04:52 +08:00
wangkai
475714cadd feat: add per-conversation chat read-aloud speed 2026-11-04 11:08:44 +08:00
FSOTM
70031420a6 feat(voice): read selected passages in chat, mastery and reading 2026-11-01 22:52:30 +08:00
Bingxi Zhao (Frank)
bc75a93a5e Merge commit '0cfbaf738093ab1aa2a3f1b5499acc925baa2b0c' into codex/validate-reviewed-integration 2026-10-31 18:52:54 +08:00
Bingxi Zhao (Frank)
6c4218eb89 Merge commit '584472fb427ac84d739d315885da1525832f913c' into codex/validate-reviewed-integration
# Conflicts:
#	web/features/chat/messages/ChatMessageList.tsx
2026-10-31 18:52:47 +08:00
Bingxi Zhao (Frank)
88b45d524d Integrate account typography with shared reply languages and current settings validation 2026-10-31 17:59:13 +08:00
Bingxi Zhao (Frank)
d002053ab9 Merge dev and refresh the API routing index 2026-10-31 17:26:35 +08:00
Bingxi Zhao (Frank)
0cfbaf7380 fix(chat): hide generated previews only for embedded images 2026-10-31 16:42:56 +08:00
x-labb
72a5a172a8 feat(web): render right-to-left text correctly with per-block dir=auto 2026-10-30 22:27:33 +01:00
x-labb
799714e0f3 fix(web): don't repeat a generated image as a card when the reply embeds it 2026-10-30 22:21:12 +01:00
x-labb
6aee33b228 fix(mastery): show a presented source page at the call that presented it 2026-10-30 21:52:29 +01:00
yuanyyt
14292b808f feat: clear or move a tutor thread's source message
quoted_message_id now follows the create_target rule: the key's presence
is authoritative. A value moves the thread, an explicit null clears it,
and omitting the key leaves the stored anchor untouched. A new selection
moves the thread to the passage just asked about.

The message-level popover gains a detach action that clears the anchor
through the organization PATCH without deleting the conversation, and a
deliberate clear also stops the legacy backfill from re-attaching it.
2026-10-30 13:55:30 +08:00
yuanyyt
43b66ac1ad feat: add a message-level Little Tutor entry
Side chats are filed under the message their quoted passage came from:
the turn carries quoted_message_id, the backend stores it as
tutor_source_message_id, and the chat list shows "Little Tutor x N"
under that message with a popover to open or delete each thread.

Threads are read once per conversation and shared with the viewer, only
side-chat turns refresh the session lists, and a turn that omits the
field leaves the stored anchor untouched.

Refs #2118
2026-10-30 13:55:29 +08:00
hongthana
98cfb501a5 feat(web): add account-scoped learning typography 2026-10-30 07:41:44 +07:00
Bingxi Zhao (Frank)
e495fd6002 Merge origin/dev and reconcile creation contracts and replay tests 2026-10-29 18:13:47 +08:00
Bingxi Zhao (Frank)
01d7c0ed55 feat: add conversational creation drafts and refresh local dev UI 2026-10-29 18:11:52 +08:00
Bingxi Zhao (Frank)
f50ab3afb0 Merge pull request #2050: inspect and clean generated files 2026-10-29 01:10:37 +08:00
0x-IHRR
7748e81a20 feat: manage generated chat output files 2026-10-28 02:44:07 +08:00
Bingxi Zhao (Frank)
2ebc44a47f fix: unlock speech playback with a playable silent WAV 2026-10-27 21:53:08 +08:00
Bingxi Zhao (Frank)
7c25ea96a0 Merge remote-tracking branch 'origin/dev' into HEAD 2026-10-27 21:50:34 +08:00
Bingxi Zhao (Frank)
e347c0c2e0 fix: preserve tutoring replies and stabilize preview runtime
Keep learner-facing explanations visible across finish checks, persistence, and replay. Remove mastery prose heuristics and prioritize learner objections.

Coordinate service shutdown and descendant cleanup, and preserve video lesson identity and playable results across chat completion and reload.
2026-10-27 17:58:46 +08:00
Bingxi Zhao (Frank)
addb783d2f Merge preview and CI fixes into video lesson branch 2026-10-27 01:40:39 +08:00
Bingxi Zhao (Frank)
6bbcc00c55 Merge dev into preview, preserving preview features
Integrate dev fixes with preview's Python/TypeScript schedulers, chat queue, learning navigation, and live turn persistence.
2026-10-27 01:16:58 +08:00
Bingxi Zhao (Frank)
28c11e2ae8 feat: update notes, chat interactions and workspace UI on preview
Remove course pages, APIs and the course_study capability. Add anchored note
threads and reviewed learning-block generation, queued and withdrawable chat
messages, quote attachments, side chats, and the calendar/favorites/navigation
updates.

Keep preview's existing backend architecture. Wire the new features through
its Python application and existing chat engine, retain legacy selected-text
requests, persist mid-turn messages in replay, and restore note context when
regenerating. Leave stored user data intact.

Validate frontend contracts, dependency boundaries, types, 1290 node tests,
840 rendered tests, lint, localization and the production build. Exercise
session/notes/API regressions, 53 chat-engine tests and 20 Python/native
integration tests with isolated runtime data.
2026-10-26 22:13:34 +08:00
XZH
4a49b5b38e fix(chat): unlock iOS reply playback (#2020) 2026-10-22 13:15:27 -07:00
SeleiXi
78877ee2ba feat(web): play video lessons in chat
Adds "Video Lesson" to the capability picker. A video_lesson result is
shown as its player page in an iframe sandboxed to allow-scripts only,
with the summary underneath, a link to open it in a tab, the lesson's
length and the Remotion source behind a disclosure.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:58:03 +08:00
Bingxi Zhao (Frank)
4b9b73a73f perf(chat): load specialized teaching and handoff cards only when present 2026-10-19 01:11:31 +08:00
Bingxi Zhao (Frank)
583bdfc714 Merge PR #1945: fence edited submissions and isolate recovery by account and backend support 2026-10-19 01:03:40 +08:00
Bingxi Zhao (Frank)
9aae961412 Merge PR #1957: separate private source evidence from explicit public presentation 2026-10-19 00:53:44 +08:00
Bingxi Zhao (Frank)
0fd8dc8384 Merge PR #1953: source-bound assessment with portable lexical page lookup 2026-10-19 00:43:33 +08:00
Bingxi Zhao (Frank)
59cdd81170 Merge PR #1943: preserve grouped questions through reviewed outline revisions 2026-10-19 00:40:44 +08:00
Bingxi Zhao (Frank)
399297e7f0 feat: preserve TypeScript engine migration and workspace updates 2026-10-18 23:09:10 +08:00
Mrmo072
adcf7dfa25 fix(chat): resolve browser-local unsent submission recovery 2026-10-15 14:41:46 +08:00
Bingxi Zhao (Frank)
e3a94e60e1 fix(chat): keep ordinary exploration folded around mastery questions 2026-10-15 01:36:07 +08:00
yepyhun
755686264d fix(mastery): separate source inspection from assessment delivery 2026-10-13 13:49:35 +02:00
yepyhun
ccac56eec1 fix(mastery): bind semantic assessment to verified question evidence 2026-10-13 12:21:04 +02:00
yepyhun
f986774b87 fix(chat): durably replace uncertain submissions and isolate recovery owners 2026-10-13 12:07:47 +02:00
yepyhun
9cfa5cb8fd fix(mastery): retain incremental grouped replies and partial feedback 2026-10-13 08:24:38 +02:00
yepyhun
bffd1c8187 fix(chat): allow safe dismissal of unsent message copies 2026-10-12 21:30:10 +02:00
yepyhun
c3301c0055 feat(mastery): support independently graded question groups 2026-10-12 21:03:14 +02:00
yepyhun
c8b9bef873 fix(mastery): keep learner-facing teaching visible across tool work 2026-10-12 11:16:51 +02:00
Bingxi Zhao (Frank)
2350ea2dba feat(mastery): complete source-grounded visual practice and evidence (#1611)
Bind original visual sources and keys to supported tasks; verify accepted model pixels, preserve cues/assistance and canonical attempts, keep uncertainty ungraded, expose challenge/repair, and separate required visual evidence from generic text mastery.
2026-10-08 05:25:05 +08:00
evan188199-tech
d022aa6d04 feat(chat): keep branch navigator visible on forked messages (#1410) (#1723)
Editing an early message forks the transcript and the visible path jumps
to the newest sibling, so the pre-edit history disappears from view. The
only way back — the BranchNavigator under the forked user message — was
gated behind the hover-only action row, so readers who never hovered that
one bubble saw "chat history lost, only the latest few messages remain".

Keep the single action row: the BranchNavigator renders beside Copy/Edit
and stays visible without hovering, while only Copy/Edit keep the
hover/focus reveal. No data was ever lost — rows, read path, and Memory
L1 behaviour are untouched.

Related to #1410

Co-authored-by: XZH <cto@xzh.ai>
2026-10-07 20:29:31 +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