Commit Graph

1761 Commits

Author SHA1 Message Date
Bingxi Zhao
6017e51928 Merge pull request #1263 from evan188199-tech/codex/docs/v1-6-5-overview-screenshot
docs(web): update overview screenshot for v1.6.5
2026-09-07 23:49:08 +08:00
Bingxi Zhao
f31acc1235 Merge pull request #1231 from evan188199-tech/codex/fix/learner-courses-1228
fix(learner): restore course access (#1228)
2026-09-07 23:47:59 +08:00
Bingxi Zhao
dac9e0618e Merge pull request #1276 from Iams4kura/bugfix/markdown-atx-heading-normalization-20260906t160231z
fix(web): normalize malformed ATX headings safely
2026-09-07 23:47:50 +08:00
Bingxi Zhao
632540c944 Merge pull request #1260 from be-student/codex/1227-k3-256k-temperature
fix: support Moonshot k3-256k temperature override
2026-09-07 23:47:21 +08:00
Bingxi Zhao
b7aa30ffa7 Merge pull request #1264 from NoxsMedia/codex/nox-29-codex-catalog
fix(codex): expose eligible GPT-6 Astra in refreshed catalogs
2026-09-07 23:47:09 +08:00
Bingxi Zhao
c86cc59b09 Merge pull request #1275 from NoxsMedia/codex/nox-31-lightrag-1.5.7
chore(lightrag): upgrade native SDK to 1.5.7
2026-09-07 23:46:53 +08:00
Bingxi Zhao
1155be0f0c Merge pull request #1280 from NoxsMedia/codex/nox-36-empty-create-progress
fix: avoid progress errors after empty knowledge base creation
2026-09-07 23:46:38 +08:00
Bingxi Zhao (Frank)
e5a7ff47ba test(session): cover both notebook INSERT branches for answer images
Harvested from #1283, which diagnosed the same crash as #1245 but rewrote
the statement to 24 columns; #1258 landed the smaller fix (one missing
placeholder, both branches now 23/23). The test is the part worth keeping:
it pins the images branch and the re-upsert that must not clobber stored
images.

Co-authored-by: sjagadee <srini.jagadeesh@gmail.com>
2026-09-07 23:44:58 +08:00
Bingxi Zhao
a5847eebb8 Merge pull request #1258 from wangyuxy9805-web/fix/1245-question-notebook-image-upsert
fix: persist notebook answer images
2026-09-07 23:43:39 +08:00
Bingxi Zhao
042b906b2e Merge pull request #1274 from ZQR1101/fix/web-route-budgets
fix(web): drop generated brand-icon table from app-shell chunk (unblocks route budgets)
2026-09-07 23:41:49 +08:00
Bingxi Zhao (Frank)
ff763645d9 Merge branch 'dev' into fix/web-route-budgets
Both halves of the CI repair are kept: the inline octocat that pulls the
generated brand-icon table out of the app-shell chunk (this branch) and the
deferred session-organization list plus the settings-audit `matrix` locator
fix (#1282). The audit fixture keeps the richer editable-settings body and
the backend-independent catch-all, with the catch-all registered first so
the specific stubs still win.
2026-09-07 23:36:04 +08:00
Bingxi Zhao
24e62e1387 Merge pull request #1282 from NoxsMedia/codex/nox-37-ci-repair
fix: restore formatting and deterministic CI checks
2026-09-07 23:34:56 +08:00
Bingxi Zhao (Frank)
2f546a555a fix(web): drop the client Expect header before forwarding uploads
Node's server has already answered `100-continue` by the time the upload
proxy runs, so replaying the header is not just redundant: undici rejects
any request carrying it, and the forward dies mid-upload. The browser is
still writing the body and never reads that 500, so a large knowledge-base
upload surfaces as a bare "Failed to fetch" that looks size-dependent.

Treat `expect` as the hop-by-hop header it is, and cover it with a test.
2026-09-07 23:27:05 +08:00
NoxsMedia
ece09ecd74 fix: isolate settings readiness browser audit 2026-09-07 10:47:31 +00:00
NoxsMedia
86aa5d0edf fix: restore formatting and deterministic CI checks 2026-09-07 10:20:03 +00:00
NoxsMedia
eabdfa8669 fix(knowledge): avoid progress errors after empty creation 2026-09-07 07:55:08 +00:00
ZQR1101
37a29cc067 fix(web): stub settings bootstrap in readiness audit
v1.6.5 mounts the readiness panel on the settings hub only after the settings
store reports an editable catalog (catalogEditable === true), which requires
/api/settings to answer with a catalog body. The audit stubbed only the
readiness endpoint, so against a backend-less production server the panel
never mounted and the scenario failed at its first assertion. Stub the same
settings bootstrap the sibling book/video ui-audit scenarios already stub,
with a minimal ui + empty-services catalog payload.
2026-09-07 01:23:19 +08:00
ZQR1101
7cd029617b style: ruff-format the two SKILL.md the v1.6.5 reconcile shipped unformatted 2026-09-07 01:11:48 +08:00
Iams4kura
85485a0f76 fix(web): normalize malformed ATX headings safely 2026-09-07 01:04:08 +08:00
NoxsMedia
a99ef5fef2 test(lightrag): exercise stable VLM pipeline 2026-09-06 15:37:04 +00:00
ZQR1101
04cf39e035 fix(web): drop generated brand-icon table from app-shell chunk
SidebarShell rendered its footer GitHub mark through BrandGlyph, which pulls
lib/brand-icons.generated.ts (~95KB) into the chunk every route shares, so the
table was counted against every measured route budget. Render the same CC0
octocat path inline (byte-identical to the generated github entry) and let the
store surfaces that actually show brand rows keep importing the table through
BrandIcon. Routes drop ~90KB: / 305->211KB, /co-writer 324->231KB,
/co-writer/[docId] 525->431KB, all comfortably under budget.
2026-09-06 23:04:24 +08:00
NoxsMedia
de483d6554 chore(lightrag): upgrade native SDK to 1.5.7 2026-09-06 15:02:43 +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
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