4771 Commits

Author SHA1 Message Date
XZH
db9a3bf8ac feat(rag): add optional cross-encoder reranking 2026-08-27 12:18:55 -07:00
XZH
9ca18f66bd feat(rag): add opt-in HNSW vector indexes 2026-08-27 11:40:15 -07:00
XZH
b984b8709c fix(skills): scope ClawHub installs by publisher (#639) 2026-08-27 11:19:22 -07:00
Junjie Zhou
bf269ec112 fix(llm): route Anthropic temperature via extra_body for SDK 1.x compat
anthropic-sdk-python >= 1.0 (released 2026-08-20) removed `temperature`
from the explicit signature of `AsyncMessages.create()` and
`AsyncMessages.stream()`. Any LLM call through the Anthropic binding —
including the real Anthropic API and any Anthropic-compatible gateway
(e.g. MiniMax, AWS Bedrock Claude) — now raises:

    AsyncMessages.create() got an unexpected keyword argument 'temperature'

The Anthropic API itself still accepts `temperature` as a top-level
request field; the SDK simply forces callers to tunnel it through
`extra_body` instead of accepting it as a first-class kwarg. This patch
moves both `temperature` assignments in `AnthropicProvider._build_kwargs`
from the top-level kwargs to `extra_body`, so the wire payload is
unchanged and SDK 1.x stops rejecting the call.

Tests in test_anthropic_provider_fixes.py are updated to assert against
`extra_body['temperature']` instead of top-level `temperature`, plus a
new `test_temperature_is_routed_via_extra_body` covers the new
behaviour end-to-end.
2026-08-28 01:32:25 +08:00
XZH
d9538192d2 feat(media): add DashScope providers (#1016) 2026-08-27 10:25:41 -07:00
Bingxi Zhao (Frank)
e67643ba11 fix(mastery): polish migrated topics and live cleanup 2026-08-28 00:55:19 +08:00
Bingxi Zhao (Frank)
3f8644d6e9 fix(mastery): persist v2 metadata for migrated topics 2026-08-28 00:16:39 +08:00
Bingxi Zhao (Frank)
1b5ad913d4 feat(mastery): ship atlas and guided study journeys 2026-08-28 00:09:44 +08:00
XZH
7686e8f1f8 fix(partners): coalesce streaming draft updates 2026-08-27 08:18:41 -07:00
Bingxi Zhao (Frank)
ac8940f33e feat(mastery): add live v2 frontend client 2026-08-27 23:17:17 +08:00
Bingxi Zhao (Frank)
3f2a70f168 feat(mastery): add v2 topic backend and archive migration 2026-08-27 23:10:15 +08:00
XZH
cadceb8a50 test(video-learning): cover capability registry entry 2026-08-27 07:37:25 -07:00
XZH
999c658187 fix(reading): bind citations to turn materials and verified locators 2026-08-27 07:26:17 -07:00
XZH
50d0472527 feat(video-learning): add YouTube immersive watching 2026-08-27 07:24:12 -07:00
Bingxi Zhao (Frank)
bd9f6a7625 release: v1.6.0 — connected learning workspaces
Release notes: assets/releases/ver1-6-0.md

Ship source-faithful reading, Courses and Little Tutor, Ask Questions,
bounded web-source sync, and shared Books with private reader state.
v1.6.0
2026-08-27 22:03:09 +08:00
zhou2030109-glitch
b342b63b7a fix: align Windows exec runtime and search readiness 2026-08-27 17:17:03 +08:00
Benjamin
b277247036 feat(reading): add citation capture 2026-08-27 16:16:54 +08:00
Benjamin
e3d8b05c0d feat(reading): add chat section references 2026-08-27 16:15:28 +08:00
ZQR1101
a8e5e91f88 fix(web): resolve optimistic ids before deleteTurn
editMessage already uses resolvePersistedMessage after #753, but deleteTurn still re-read stateRef after loadSession and could miss the persisted id on the first attempt. Route delete through the same refresh-snapshot helper.
2026-08-27 12:06:23 +08:00
ZQR1101
30f8ab86cc style(api): sort outputs router imports for ruff I001 2026-08-27 12:05:38 +08:00
XZH
8b24f1ae67 fix(tools): route file generation through code execution 2026-08-26 19:19:54 -07:00
zhou2030109-glitch
bb6b0cd629 fix: make deep research resilient to interrupted streams 2026-08-27 10:11:00 +08:00
XZH
7028f7e511 feat(settings): expose custom reasoning effort 2026-08-26 19:01:49 -07:00
XZH
f5e4b7cd48 fix(mastery): add explicit question recovery exit 2026-08-26 18:57:06 -07:00
ZQR1101
d85c75391c fix(chat): decode unicode escapes in ask_user card text
PR #975 repaired Markdown prose, but mastery ask_user prompts still rendered dense \\uXXXX runs literally. Decode the same non-ASCII escapes when normalising card intro/prompt/header/options so learners see Chinese stems (#973).
2026-08-26 22:49:56 +08:00
ZQR1101
0d1696abdc fix(partners): serve partner artifacts from output downloads
When a partner chat generates files, resolve /api/outputs against the caller''s visible partner workspaces after their own scope misses so partner images stop 404ing in the web UI.
2026-08-26 17:17:08 +08:00
Bingxi Zhao
8e281c6e27 Merge pull request #996 from zhou2030109-glitch/codex/selection-tutor-learning-spaces
feat: add selection tutor and course workspaces
2026-08-26 02:41:02 +08:00
Bingxi Zhao
91e1f32b20 Merge pull request #904 from evan188199-tech/codex/split-web-source-sync
feat: add bounded web source sync
2026-08-26 02:35:55 +08:00
Bingxi Zhao
72734fa130 Merge pull request #981 from evan188199-tech/codex/release-tag-guards
ci: ignore non-version release tags
2026-08-26 02:35:37 +08:00
Bingxi Zhao (Frank)
6f05db5714 fix(session): preserve durable quiz followup context 2026-08-26 02:34:40 +08:00
Bingxi Zhao (Frank)
5684e6eab4 fix(knowledge): secure and reconcile web source sync 2026-08-26 02:26:58 +08:00
Bingxi Zhao (Frank)
48c39084cf fix(ci): validate release tags and protect latest 2026-08-26 02:26:58 +08:00
XZH
e12d97b58f fix(knowledge): enforce web source sync bounds 2026-08-26 02:26:58 +08:00
XZH
40e35a79b3 test(ci): cover release tag classification 2026-08-26 02:26:58 +08:00
XZH
32f82dcfb8 feat(knowledge): expose bounded web sources in detail view 2026-08-26 02:26:58 +08:00
XZH
0d8b734a76 feat(knowledge): add web source sync 2026-08-26 02:26:58 +08:00
XZH
8c70283278 ci: ignore non-version release tags 2026-08-26 02:26:57 +08:00
Bingxi Zhao (Frank)
69b472b109 fix(courses): enforce organization and tutor grounding integrity 2026-08-26 02:25:23 +08:00
diffaudit-review
cdbcacace4 fix: ground selection tutor in source message
Short selections such as rc carried only the raw token and an opaque parent session id. Capture the containing message id, resolve it from the parent session, and provide both the source message and exact selection to the tutor prompt.
2026-08-26 02:25:23 +08:00
diffaudit-review
3709c9e854 feat: add selection tutor and course workspaces 2026-08-26 02:25:23 +08:00
Bingxi Zhao
18acf75309 Merge pull request #776 from SeleiXi/feat/ask-questions-capability
feat(chat): add AskQuestions mode for contextual clarification
2026-08-26 02:25:05 +08:00
Bingxi Zhao (Frank)
693772a542 fix(chat): integrate guarded output with ask questions 2026-08-26 02:10:58 +08:00
Bingxi Zhao (Frank)
11c0a1ed68 fix(chat): preserve ask-user protocol across fallbacks and history 2026-08-26 02:08:46 +08:00
SeleiXi
213508b526 fix(session): place ask_user clarifications before assistant answer
Resolved ask_user exchanges happened before the assistant produced the
row's answer, so they must precede the row's content in both
_build_history() and format_messages_as_transcript(). The previous order
(assistant content first, clarification second) made later turns see the
answer before the user supplied the missing context, confusing the model
and polluting rolling summaries.

Update the test that had locked in the wrong order.
2026-08-26 02:08:33 +08:00
SeleiXi
81e9830452 fix: rehydrate ask_user answers into later-turn context
get_messages_for_context only loaded role/content, so extract_ask_user_clarifications always saw empty events and the model forgot prior card Q&A.
2026-08-26 02:08:33 +08:00
SeleiXi
5c45c38e4a fix: make ask questions card deterministic 2026-08-26 02:08:33 +08:00
SeleiXi
4c9df02a97 feat: add context-aware ask questions mode 2026-08-26 02:07:39 +08:00
Bingxi Zhao
3b288cdbd0 Merge pull request #1002 from evan188199-tech/codex/fix-mastery-plain-text-quiz
fix(assessment): redirect plain-text mastery quizzes to cards (#941)
2026-08-26 02:07:09 +08:00
Bingxi Zhao (Frank)
ce3532b7f8 fix(mastery): validate guarded finishes before streaming 2026-08-26 01:52:26 +08:00
XZH
b4bbe20e87 fix(mastery): redirect plain-text quizzes to cards 2026-08-26 01:52:26 +08:00