Commit Graph

985 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
232f720e90 Merge dev into PR #1671 and preserve integrated behavior 2026-10-04 14:55:52 +08:00
Bingxi Zhao (Frank)
f44db74f9c fix(i18n): complete image description model settings copy 2026-10-04 14:43:50 +08:00
Bingxi Zhao (Frank)
2700105923 Merge dev into PR #1664 and preserve integrated behavior 2026-10-04 14:41:40 +08:00
Bingxi Zhao (Frank)
6327c41d55 fix(settings): match GLM reasoning choices to the model contract 2026-10-04 14:37:31 +08:00
Bingxi Zhao
6a734e356c Merge pull request #1653 from yizhang-dream/feat/glm-reasoning-effort
feat(web): offer reasoning effort levels for GLM models under openai binding
2026-10-04 14:35:20 +08:00
Bingxi Zhao (Frank)
5cff0b3e90 fix(chat): compute continuation depths without recursion 2026-10-04 14:35:08 +08:00
Bingxi Zhao
440eed2dac Merge pull request #1619 from evan188199-tech/codex/fix/chat-long-session-branching
fix(chat): preserve long-session branch path (#1614)
2026-10-04 14:33:49 +08:00
Bingxi Zhao (Frank)
5532b90107 test(partners): verify exports after switching discussions 2026-10-04 14:33:37 +08:00
Bingxi Zhao
df724000ca Merge pull request #1558 from AoHanBei/feat/1512-group-chat-export
feat(partners): export group conversations as Markdown
2026-10-04 14:32:22 +08:00
Bingxi Zhao (Frank)
95e3c7749a fix(practice): return library practice to its scoped collection 2026-10-04 14:32:11 +08:00
Bingxi Zhao
63e27afff3 Merge pull request #1620 from Chanson4/feature/practice-from-question-bank
feat: allow practice from the question bank
2026-10-04 14:30:35 +08:00
Bingxi Zhao (Frank)
7268378088 test(chat): cover persistent question picker selections 2026-10-04 14:30:22 +08:00
Bingxi Zhao
6ed3b0c1a0 Merge pull request #1618 from Chanson4/feature/chat-question-bank-bulk-select
feat: bulk select question bank entries in chat
2026-10-04 14:28:21 +08:00
Bingxi Zhao
ab52f95cc3 Merge pull request #1640 from evan188199-tech/codex/co-writer-model-selection
feat(co-writer): support model selection for edits (#661)
2026-10-04 14:27:08 +08:00
Bingxi Zhao (Frank)
c160ad5cf7 Merge dev into PR #1645 and preserve integrated behavior 2026-10-04 14:26:07 +08:00
Bingxi Zhao (Frank)
6d2d9ee7bd fix(i18n): translate reading quiz stars in French 2026-10-04 14:25:03 +08:00
Bingxi Zhao (Frank)
dfeb2fb4f3 Merge dev into PR #1657 and preserve integrated behavior 2026-10-04 14:22:45 +08:00
Bingxi Zhao
891493b7b1 Merge pull request #1686 from evan188199-tech/codex/fix/epub-toc-anchors
fix(reading): preserve EPUB outline anchors (#1673)
2026-10-04 14:20:41 +08:00
Bingxi Zhao
1ae435ef87 Merge pull request #1688 from ZyPulse-zy/fix/pdf-resize-reading-position
fix(reading): preserve PDF reading position across resizes
2026-10-04 14:19:54 +08:00
Bingxi Zhao
f56dfb476e Merge pull request #1599 from dxhome/codex/fix-knowledge-list-proxy
fix: knowledge base listing through proxy
2026-10-04 14:13:31 +08:00
Bingxi Zhao (Frank)
0378bc7810 fix(chat): retry history searches and scope archived restores 2026-10-04 14:13:19 +08:00
Bingxi Zhao
952fbf28d8 Merge pull request #1668 from evan188199-tech/fix/ask-user-submit-retry-budget
fix(web): keep submits alive across the full reconnect ladder (#1648)
2026-10-04 14:09:36 +08:00
Bingxi Zhao
cc015d3eaf Merge pull request #1627 from maximilianfeix/fix/multiline-display-math-fences
fix(web): render display math whose $$ hug a multi-line formula
2026-10-04 14:08:06 +08:00
Bingxi Zhao
befbf68c78 Merge pull request #1666 from evan188199-tech/fix/chat-kb-ref-labels
fix(chat): label sent-message knowledge-base references with catalog names
2026-10-04 14:06:25 +08:00
Bingxi Zhao
ef7b700261 Merge pull request #1621 from MohammadHijjawi97/fix/reading-save-to-notebook-route
fix: post reading workspace "Save to notebook" to the backend route
2026-10-04 14:05:02 +08:00
Bingxi Zhao
a26bd95d7e Merge pull request #1636 from evan188199-tech/test/mastery-review-trail-scroll-cap
test(mastery): guard the review trail scroll cap (#1566)
2026-10-04 14:04:03 +08:00
Bingxi Zhao
bb1fcdb8e7 Merge pull request #1634 from evan188199-tech/codex/test/subagent-settings-draft
test(settings): persist restored subagent drafts (#1630)
2026-10-04 14:03:15 +08:00
Bingxi Zhao
0cad9ee116 Merge pull request #1663 from larryluozhang/fix/http-random-uuid
fix(learning): mint quiz submission ids via randomUuid on plain HTTP
2026-10-04 14:02:31 +08:00
Bingxi Zhao
8535d86689 Merge pull request #1683 from evan188199-tech/codex/fix/chat-history-search
fix(history): search full conversation transcripts (#1678)
2026-10-04 14:01:26 +08:00
ZyPulse
c0a51ce90e fix(reading): preserve PDF reading position across resizes 2026-10-02 14:44:13 +08:00
XZH
95e913a787 fix(reading): preserve EPUB outline anchors 2026-10-01 17:26:44 -07:00
XZH
885f0a91d9 test(history): cover stale search cancellation 2026-10-01 07:52:30 -07:00
XZH
356c60c3ec fix(history): search full conversation transcripts 2026-10-01 07:42:37 -07:00
ZyPulse
e702f9c72e perf(rag): add opt-in bounded image-description batches 2026-09-30 09:56:33 +08:00
XZH
80921f24ae fix(web): keep submits alive across the full reconnect ladder (#1648)
The outbound submit gates waited only 10 x 200ms (2s) for the WebSocket
to connect, while the transport reconnect ladder waits up to 8s per
rung. A Submit clicked mid-reconnect therefore gave up before the
socket could come back and reported a false server-side expiry while
the parked turn still held the session lease.

Move the shared budget into web/lib/send-retry.ts (60 x 200ms = 12s,
above the 8s rung cap plus jitter) and use it at all four gates:
QuizFollowupContext, ChatStateAdapter, BookChatPanel and the whisper
page. A guard test pins the budget above the worst-case reconnect
rung, and the failed-submission recovery spec now derives its fake
timer budget from the same constants.

Co-authored-by: multica-agent <github@multica.ai>
2026-09-29 14:41:54 -07:00
XZH
8079dd8def fix(chat): label sent-message KB references with catalog names
The reference chips under a sent message printed the stored
request-snapshot entry verbatim, so workspace-owned knowledge bases
showed their qualified ref (workspace:<id>:kb:<name>) instead of the
readable name the composer shows for the same selection.

Thread the catalogs' ref-to-name resolution into ChatMessageList/
UserMessage and use it for the Knowledge chip label, keeping the
qualified ref as identity and fallback. Wired from the chat workspace
catalog and Mastery study topic sources, with a regression test for
both the resolved label and the fallback.

Fixes #1647

Co-authored-by: multica-agent <github@multica.ai>
2026-09-29 11:14:09 -07:00
ZyPulse
cbb742a141 feat(parsing): select an independent image description model 2026-09-30 00:01:29 +08:00
larryluozhang
c764de69ed fix(learning): mint quiz submission ids via randomUuid on plain HTTP
Two quiz submit paths still called crypto.randomUUID() directly, which
exists only in secure contexts. Over plain HTTP (LAN box, VPS without
TLS) the call throws inside the click handler before the request is
staged — the save silently never happens. PracticeSession already mints
ids via lib/random-uuid for exactly this reason; switch the two
remaining call sites to the same helper:

- BooksRoute recordQuizAttempt (book page quiz blocks)
- ReadingExtensionBar submitReadingQuizAnswers (reading quiz answers)
2026-09-29 23:27:49 +08:00
XZH
0125acbfd6 test(web): stabilize learning library async assertions 2026-09-29 07:42:31 -07:00
XZH
f18bc4ebed fix(reading): complete quiz star locales 2026-09-29 06:31:39 -07:00
XZH
cd474bc824 feat(reading): add server-owned quiz star rewards (#1656) 2026-09-29 06:17:54 -07:00
flower-moon
d610f4f4d1 feat(web): offer reasoning effort levels for GLM models under openai binding
GLM models served via an OpenAI-compatible binding fell through the
model-family allowlist in tableReasoningEffortOptions, so the Reasoning
Effort selector stayed hidden for them. Recognize "glm" in the
OPENAI_PROVIDERS branch and offer minimal/low/medium/high.

"none" is deliberately excluded: it maps to "omit the parameter", and
GLM's endpoint keeps server-side thinking fully on when the parameter
is omitted - minimal is the actual lightest level. All four levels were
verified against the Zhipu coding endpoint (reasoning output length
increases monotonically minimal -> high).
2026-09-29 17:24:41 +08:00
AoHanBei
75cb0edf25 Merge remote-tracking branch 'origin/dev' into feat/1512-group-chat-export
# Conflicts:
#	web/app/(workspace)/partners/groups/[groupId]/page.tsx
#	web/components/partners/group/PartnerGroupChat.tsx
2026-09-29 12:29:49 +08:00
XZH
7e45ab851e feat(video-learning): add timestamped watching marks
Co-authored-by: multica-agent <github@multica.ai>
2026-09-28 21:27:04 -07:00
XZH
0541549ef3 feat(co-writer): support model selection for edits 2026-09-28 19:02:48 -07:00
XZH
71265554b6 test(mastery): guard the review trail scroll cap (#1566)
Co-authored-by: multica-agent <github@multica.ai>
2026-09-28 15:35:54 -07:00
XZH
0e260130be feat(web-source): add bilingual source pairing (#902)
Add bilingual page pairing and language variant alignment for web sources:
- Detect page language variants via hreflang alternate links and URL language prefix patterns.
- Record pairing relations in durable SQLite repository and KB web-source metadata.
- Expose pairing relations via GET /api/knowledge-bases/{kb_name}/web-source/{source_id}/pairings and WebSourceInfo.
- Display bilingual pairing indicator in the KB web sources section with localization across en, zh, de, fr, uk.
- Add targeted tests for pairing detection, repository persistence, and API exposure.

Co-authored-by: multica-agent <github@multica.ai>
2026-09-28 14:58:51 -07:00
XZH
fc8ef2f360 test(settings): persist restored subagent drafts 2026-09-28 14:57:07 -07:00
Maxi
a2eb9acd36 fix(web): render display math whose $$ hug a multi-line formula (#1623)
processMarkdownContent only moved $$ onto their own lines when the whole
block fit on one line. $$a \\\\ ... $$ spread over several lines kept its
fences glued to the formula and remark-math left it as text. Now a line
that opens with a lone $$ is matched to the next line ending in $$ and both
fences are put on their own lines; blank lines stop the search.
2026-09-28 17:28:22 +02:00
Mohammad Hijjawi
151a7292fe fix: post reading workspace "Save to notebook" to the backend route
sendReadingToNotebook posted to /api/reading/workspaces/{id}/notebooks,
but the backend only registers POST /api/reading/workspaces/{id}/notebook
(capture_reading_to_notebook), so saving a reading workspace to a notebook
always failed with 404 Not Found. Point the client at the real route and add
a test that checks the path against the generated OpenAPI contract.
2026-09-28 13:50:05 +01:00