Commit Graph

2047 Commits

Author SHA1 Message Date
NoxsMedia
2073493a46 fix(lightrag): reject legacy model fields on fresh settings 2026-09-06 10:26:37 +00:00
NoxsMedia
8ef011b88a fix(lightrag): preserve native write revisions and explicit role semantics 2026-09-06 10:23:50 +00:00
NoxsMedia
a6437d05c4 fix(lightrag): translate pending index publication status 2026-09-06 10:04:33 +00:00
NoxsMedia
446b3aab7e feat(lightrag): configure independent role models and pinned vision indexing 2026-09-06 09:58:42 +00:00
NoxsMedia
6cfbbe93dc fix(codex): update model catalog compatibility version 2026-09-06 09:00:50 +00:00
XZH
052b82633b docs(web): update overview screenshot for v1.6.5 2026-09-06 01:10:00 -07:00
Amir Fathi
31c8b104c6 fix(partners): register connected KBs instead of copytree-ing a folder that never exists
_copy_knowledge_base assumed every knowledge base has a data/knowledge_bases/<name>/
folder to copytree. Connected/pointer KBs (Obsidian, linked, ...) are registered in
kb_config.json only and never have such a folder by design, so assigning one to a
Partner always raised FileNotFoundError.

Branch on is_connected_kb() and register the same pointer entry in the partner
scope's own kb_config.json instead of copying.
2026-09-06 06:57:41 +00:00
Bingxi Zhao (Frank)
42fab3cf42 merge: reconcile main history before v1.6.5
main carried #1208 (remote Hermes backend) and its revert #1212, which dev
never received — dev re-landed the feature as the hardened #1213 instead.
The two cancel out exactly, so this merge changes no files; it only lets
main fast-forward to dev again.
v1.6.5
2026-09-06 13:58:58 +08:00
Bingxi Zhao (Frank)
04040a2c06 release: v1.6.5
Ship a content workspace you choose, one exec tool for every language,
Mastery Path modes that gate its tools, and Settings that grades
readiness instead of listing faults.

Release notes: assets/releases/ver1-6-5.md
2026-09-06 13:46:29 +08:00
eunwoo song
73b6db8ec5 fix: support Moonshot k3-256k temperature override 2026-09-06 13:59:44 +09:00
wangyuxy9805-web
44ae34f653 fix: persist notebook answer images 2026-09-05 22:27:49 +08:00
XZH
bf4b55e926 fix(learner): restore course access (#1228) 2026-09-04 06:32:36 -07:00
Bingxi Zhao
269f65dede feat(subagents): add hardened remote Hermes backend (#1213) 2026-09-03 16:24:34 +08:00
Bingxi Zhao
4328bc71b0 Revert "feat: add remote Hermes connected agent backend (#1208)" (#1212)
This reverts commit 51b0225a01.
2026-09-03 16:23:53 +08:00
Yuv
51b0225a01 feat: add remote Hermes connected agent backend (#1208)
* feat: add remote Hermes connected agent backend

* fix: prevent bearer forwarding on redirects

* test: split remote backend lifecycle coverage

* fix(ci): restore dev release checks (#1201)

Co-authored-by: XZH <cto@xzh.ai>

* fix: restore remote Hermes session history

* fix(llm): fall back on DeepSeek reasoning-replay 400s from Responses turns (#1195)

DeepSeek V4 thinking models (v4-flash, v4-pro) served through the
Responses API reject continuation requests whose input is missing the
prior assistant turn's reasoning item:

    The reasoning_text in the thinking mode must be passed back to the API.

Histories persisted before reasoning items were stored (or reused after
a provider/model switch) cannot satisfy the replay, and because the
error text matched none of the existing markers in
_should_fallback_from_responses_error, callers received a hard failure
instead of the existing Chat Completions degradation.

Add reasoning_text / reasoning_content / passed back / thinking mode as
recognized fallback markers. The Chat Completions path already sends
`thinking: disabled` for deepseek-v4-flash (#1058), so the fallback is
safe and preserves the turn; the circuit breaker then stops retrying the
Responses path for the probe interval.

Context: #1048, #1175.

* fix(ci): stabilize current dependency and reading gates (#1210)

* fix(video-learning): defer restored material loading (#1169)

Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>

* fix(web): decode unicode escapes in quiz card text (#1162)

Reuse decodeEscapedUnicodeForDisplay when extracting quiz questions so dense \uXXXX runs in stems/options/explanations render as readable text (same family as #973 ask_user cards).

* fix(web): redirect legacy mastery /study URLs to /sessions (#1196)

v1.6.2 bookmarked Mastery Study at /mastery/<id>/study[/<session>]. Current routes live under /sessions, so old links 404. Add permanent Next.js redirects and cover them in the mastery-study-route node test.

* fix: detect source checkout for app updates (#1186)

Co-authored-by: weidongyu <dongyu-will@users.noreply.github.com>

* test(cron): cover cross-platform migration locks (#1197)

* fix(web): keep settings scrolling inside its pane (#1160)

Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>

* feat(search): filter unsafe web-search titles and snippets (#1205)

Extend source_filter beyond URL hygiene with title/snippet heuristics, optional OpenAI Moderation, and an opt-in educational trusted-domains preset (#375 stage 2).

Co-authored-by: ZQR1101 <278034003+ZQR1101@users.noreply.github.com>

* fix: preserve raw content during Chinese Markdown streaming (#1178)

* fix: normalize Chinese Markdown emphasis boundaries

* fix: preserve raw content during markdown streaming

* fix: sort turn executor imports

* feat(video-learning): export timestamped notes as markdown (#1203) (#1204)

Co-authored-by: XZH <cto@xzh.ai>

* feat(video-learning): keep active transcript cues visible (#1164) (#1165)

* feat(video-learning): keep active transcript cues visible (#1164)

* fix(video-learning): pause transcript follow on scrollbar drag

---------

Co-authored-by: XZH <cto@xzh.ai>
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>

* feat(learning): add visual learning board (#1194)

Co-authored-by: XZH <cto@xzh.ai>

* feat(video-learning): connect Invidious accounts (#1192) (#1193)

* feat(video-learning): connect Invidious accounts

* fix(video-learning): harden Invidious authorization state

---------

Co-authored-by: XZH <cto@xzh.ai>
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>

* perf(session): lazily load turn event traces (#1191)

* perf(session): lazily load turn event traces

* fix(session): bound trace previews at the storage layer

---------

Co-authored-by: XZH <cto@xzh.ai>
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>

* feat: pin LightRAG indexing models per knowledge base (#1171)

* feat(lightrag): pin indexing model per knowledge base

* fix(lightrag): close indexing isolation gaps

* fix(lightrag): integrate released dedicated model contract

* fix(lightrag): fingerprint vision capability

* test(rag): update LightRAG policy fixtures and harden redaction

---------

Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>

* feat: add LightRAG indexing model controls and provenance (#1174)

* feat(knowledge): add LightRAG indexing model controls

* fix(knowledge): close NOX-21 review findings

* fix(knowledge): resolve NOX-21 review blockers

* fix(knowledge): identify unpublished LightRAG builds

* style: format LightRAG indexing changes

* fix(knowledge): align indexing controls with LightRAG model

* fix(knowledge): close indexing UI review blockers

* style: format knowledge router

* refactor(video-learning): separate Invidious account adapters (#1211)

* fix(subagents): harden remote Hermes integration

---------

Co-authored-by: evan188199-tech <evan188199@gmail.com>
Co-authored-by: XZH <cto@xzh.ai>
Co-authored-by: Jinguang Gu <simongu@gmail.com>
Co-authored-by: Bingxi Zhao <150592536+pancacake@users.noreply.github.com>
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
Co-authored-by: ZQR1101 <2970159221@qq.com>
Co-authored-by: Dongyu <121479194+dongyu-will@users.noreply.github.com>
Co-authored-by: weidongyu <dongyu-will@users.noreply.github.com>
Co-authored-by: ZQR1101 <278034003+ZQR1101@users.noreply.github.com>
Co-authored-by: Boooobby <bibobu1223@gmail.com>
Co-authored-by: NoxsMedia <155662416+NoxsMedia@users.noreply.github.com>
2026-09-03 16:22:53 +08:00
Bingxi Zhao
c45f0ec58b refactor(video-learning): separate Invidious account adapters (#1211) 2026-09-03 16:04:57 +08:00
NoxsMedia
9cd1912c14 feat: add LightRAG indexing model controls and provenance (#1174)
* feat(knowledge): add LightRAG indexing model controls

* fix(knowledge): close NOX-21 review findings

* fix(knowledge): resolve NOX-21 review blockers

* fix(knowledge): identify unpublished LightRAG builds

* style: format LightRAG indexing changes

* fix(knowledge): align indexing controls with LightRAG model

* fix(knowledge): close indexing UI review blockers

* style: format knowledge router
2026-09-03 15:56:55 +08:00
NoxsMedia
ecc150d960 feat: pin LightRAG indexing models per knowledge base (#1171)
* feat(lightrag): pin indexing model per knowledge base

* fix(lightrag): close indexing isolation gaps

* fix(lightrag): integrate released dedicated model contract

* fix(lightrag): fingerprint vision capability

* test(rag): update LightRAG policy fixtures and harden redaction

---------

Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-09-03 15:55:27 +08:00
evan188199-tech
f9721b61c4 perf(session): lazily load turn event traces (#1191)
* perf(session): lazily load turn event traces

* fix(session): bound trace previews at the storage layer

---------

Co-authored-by: XZH <cto@xzh.ai>
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-09-03 15:46:04 +08:00
evan188199-tech
6cc45698f0 feat(video-learning): connect Invidious accounts (#1192) (#1193)
* feat(video-learning): connect Invidious accounts

* fix(video-learning): harden Invidious authorization state

---------

Co-authored-by: XZH <cto@xzh.ai>
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-09-03 15:38:02 +08:00
evan188199-tech
db24303eb0 feat(learning): add visual learning board (#1194)
Co-authored-by: XZH <cto@xzh.ai>
2026-09-03 15:34:00 +08:00
evan188199-tech
f640f100cc feat(video-learning): keep active transcript cues visible (#1164) (#1165)
* feat(video-learning): keep active transcript cues visible (#1164)

* fix(video-learning): pause transcript follow on scrollbar drag

---------

Co-authored-by: XZH <cto@xzh.ai>
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-09-03 15:33:05 +08:00
evan188199-tech
793c8e24b8 feat(video-learning): export timestamped notes as markdown (#1203) (#1204)
Co-authored-by: XZH <cto@xzh.ai>
2026-09-03 15:30:31 +08:00
Boooobby
4069f900cc fix: preserve raw content during Chinese Markdown streaming (#1178)
* fix: normalize Chinese Markdown emphasis boundaries

* fix: preserve raw content during markdown streaming

* fix: sort turn executor imports
2026-09-03 15:30:26 +08:00
ZQR1101
5e47f0d3de feat(search): filter unsafe web-search titles and snippets (#1205)
Extend source_filter beyond URL hygiene with title/snippet heuristics, optional OpenAI Moderation, and an opt-in educational trusted-domains preset (#375 stage 2).

Co-authored-by: ZQR1101 <278034003+ZQR1101@users.noreply.github.com>
2026-09-03 15:30:21 +08:00
Dongyu
1041b13f53 fix(web): keep settings scrolling inside its pane (#1160)
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-09-03 15:30:11 +08:00
ZQR1101
d3999b7d62 test(cron): cover cross-platform migration locks (#1197) 2026-09-03 15:30:06 +08:00
Dongyu
8ffa08d89e fix: detect source checkout for app updates (#1186)
Co-authored-by: weidongyu <dongyu-will@users.noreply.github.com>
2026-09-03 15:30:00 +08:00
ZQR1101
11d06c8200 fix(web): redirect legacy mastery /study URLs to /sessions (#1196)
v1.6.2 bookmarked Mastery Study at /mastery/<id>/study[/<session>]. Current routes live under /sessions, so old links 404. Add permanent Next.js redirects and cover them in the mastery-study-route node test.
2026-09-03 15:29:55 +08:00
ZQR1101
f71ecf5c90 fix(web): decode unicode escapes in quiz card text (#1162)
Reuse decodeEscapedUnicodeForDisplay when extracting quiz questions so dense \uXXXX runs in stems/options/explanations render as readable text (same family as #973 ask_user cards).
2026-09-03 15:29:22 +08:00
evan188199-tech
e3df43aaf6 fix(video-learning): defer restored material loading (#1169)
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-09-03 15:23:01 +08:00
Bingxi Zhao
97cb143cbc fix(ci): stabilize current dependency and reading gates (#1210) 2026-09-03 15:20:13 +08:00
Jinguang Gu
62b05fe6bb fix(llm): fall back on DeepSeek reasoning-replay 400s from Responses turns (#1195)
DeepSeek V4 thinking models (v4-flash, v4-pro) served through the
Responses API reject continuation requests whose input is missing the
prior assistant turn's reasoning item:

    The reasoning_text in the thinking mode must be passed back to the API.

Histories persisted before reasoning items were stored (or reused after
a provider/model switch) cannot satisfy the replay, and because the
error text matched none of the existing markers in
_should_fallback_from_responses_error, callers received a hard failure
instead of the existing Chat Completions degradation.

Add reasoning_text / reasoning_content / passed back / thinking mode as
recognized fallback markers. The Chat Completions path already sends
`thinking: disabled` for deepseek-v4-flash (#1058), so the fallback is
safe and preserves the turn; the circuit breaker then stops retrying the
Responses path for the probe interval.

Context: #1048, #1175.
2026-09-03 14:56:17 +08:00
evan188199-tech
fdd4048799 fix(ci): restore dev release checks (#1201)
Co-authored-by: XZH <cto@xzh.ai>
2026-09-03 14:48:24 +08:00
NoxsMedia
6784a22155 Merge commit '93df3d48b70586c36b20ebf82c613a67ed20677f' into HEAD 2026-09-03 00:24:02 +00:00
Bingxi Zhao (Frank)
93df3d48b7 release: v1.6.4
Ship lighter isolated runtimes, richer Books and Mastery flows,
Reading/session polish, and explicit model API capabilities.

Release notes: assets/releases/ver1-6-4.md
v1.6.4
2026-09-03 01:38:54 +08:00
NoxsMedia
9e053f1298 fix(codex): normalize cached Luna reasoning levels 2026-09-02 02:00:14 +00:00
NoxsMedia
3fcaa618bf fix(codex): expose Luna none reasoning effort 2026-09-02 02:00:14 +00:00
Bingxi Zhao (Frank)
6e6e56aedb release: v1.6.3
Ship the breaking front- and back-end runtime and route refactor,
learner and guardian flows, grounded reading, knowledge and parser
updates, and recoverable long-running streams.

Release notes: assets/releases/ver1-6-3.md
v1.6.3
2026-09-02 04:09:11 +08:00
Bingxi Zhao (Frank)
fc39543bc0 feat: integrate frontend backend and canonical routes 2026-09-01 22:24:29 +08:00
Bingxi Zhao (Frank)
02ba56793e chore: checkpoint backend stabilization workspace 2026-09-01 21:28:15 +08:00
Bingxi Zhao (Frank)
23a5e0601d chore(web): enforce v2 frontend release gates 2026-09-01 21:18:47 +08:00
Bingxi Zhao (Frank)
e1ca8f65dc test(web): verify turn UX across four workers 2026-09-01 20:23:05 +08:00
Bingxi Zhao (Frank)
bfdf874a10 refactor(web): remove v1 chat transport and legacy surfaces 2026-09-01 20:16:46 +08:00
Bingxi Zhao (Frank)
829be646a1 chore(web): enforce frontend architecture boundaries 2026-09-01 19:55:48 +08:00
Bingxi Zhao (Frank)
b5cdb10f2e refactor(web): consume the canonical capability catalog 2026-09-01 19:22:36 +08:00
Bingxi Zhao (Frank)
2299fe86a0 refactor(web): split co-writer workspace responsibilities 2026-09-01 19:12:35 +08:00
Bingxi Zhao (Frank)
cd195e977a refactor(web): split knowledge clients and engine forms 2026-09-01 18:55:55 +08:00
Bingxi Zhao (Frank)
3802991e79 refactor(web): split settings into feature-owned sections 2026-09-01 18:44:18 +08:00
Bingxi Zhao (Frank)
ace0bcf316 feat(web): expose safe multi-worker runtime health 2026-09-01 18:31:20 +08:00