Commit Graph

2189 Commits

Author SHA1 Message Date
LIziak112
257c5e62dc fix: make the repository pre-commit checks portable on Windows
Use the hook environment’s Python interpreter and select the supported process, terminal, and locking APIs at their platform boundaries. Keep all existing hook checks enabled and fix the tracked SVG EOF that fails a clean all-files run.
2026-11-25 20:35:27 +08:00
Bingxi Zhao (Frank)
4c1e000d85 release: v1.7.3
Prepare v1.7.3 notes for reading and book editing, expanded provider and
agent connections, learning records, model streams, and desktop upgrades.

Sync README prose and 11 translations, archive older release notes, and
update the package version. Resolve release lint/type blockers with explicit
parser and capability contracts, compatible Book call forwarding, accurate
auth task types, and quoted SQLite schema identifiers. Cover positional Book
calls and quoted legacy columns; align KB seed tests with visible retrieval
failure reporting. Keep HTTP fixtures independent of host proxies and translate
new Portuguese UI copy.

Release notes: assets/releases/ver1-7-3.md
2026-11-16 02:17:36 +08:00
Bingxi Zhao (Frank)
8ab4ecfee9 feat(books): review and undo scoped chapter and section edits
Fixes #2571
2026-11-15 01:42:47 +08:00
Bingxi Zhao (Frank)
3166cda206 fix(llm): bound effective progress and recover known responses
Fixes #2538
2026-11-15 01:42:46 +08:00
Bingxi Zhao (Frank)
ce4434e75a fix(workspaces): reuse knowledge references in selective conversation moves
Fixes #2289
2026-11-15 01:42:46 +08:00
Bingxi Zhao (Frank)
53bc9eb99d fix(learning): paginate and search question bank sources
Fixes #2641
2026-11-15 01:20:53 +08:00
Bingxi Zhao (Frank)
f583255ff0 fix(book): snapshot workspace instructions for generation
Fixes #2601
2026-11-15 01:20:52 +08:00
Bingxi Zhao (Frank)
e96cba219c feat(docling): expose optional enrichments and version remote cache
Fixes #2518
2026-11-15 01:20:52 +08:00
Bingxi Zhao (Frank)
8ecf2da95f fix(parsing): validate uploads against available parser formats
Fixes #2338
2026-11-15 01:20:52 +08:00
Bingxi Zhao (Frank)
9233a71cb4 fix(update): bound restart readiness and document legacy recovery 2026-11-15 01:04:25 +08:00
Bingxi Zhao (Frank)
18e491d346 fix(rag): surface IMA content restrictions and seed retrieval failures 2026-11-15 01:04:25 +08:00
Bingxi Zhao (Frank)
719e2a8e30 fix(chat): inherit ready workspace knowledge bases for untouched sessions 2026-11-15 01:00:49 +08:00
Bingxi Zhao (Frank)
e81f9c866d fix(mastery): save a standalone reference answer for qualitative practice 2026-11-15 01:00:14 +08:00
Bingxi Zhao (Frank)
b266d1a14d fix(chat): preserve sent history snapshots for prompt cache reuse 2026-11-15 01:00:14 +08:00
Bingxi Zhao (Frank)
b46d9b5763 fix(mcp): reconnect after consent and refresh authorization status
Local dev repairs for #2586.

OAuth owner isolation and refresh-token stability verified. Hook polls until connected, refreshes on focus and stops on unmount. Python rechecks: 56 passed; UI batch: 25 passed. Web typecheck, 1407 Node tests, eslint and i18n passed.
2026-11-15 00:50:30 +08:00
Bingxi Zhao (Frank)
3a533c6c5f fix(auth): allow chat learners to record and play voice
Local dev repairs for #2437.

Guarded voice endpoints and negative permissions tested in the 375-pass first batch.
2026-11-15 00:50:30 +08:00
Bingxi Zhao (Frank)
30a7e43001 fix(memory): capture chat questions and rebuild missing L2 documents
Local dev repairs for #2294.

Memory, regeneration and decoding suite: 398 passed; regeneration does not duplicate trace events.
2026-11-15 00:50:30 +08:00
Bingxi Zhao (Frank)
ea517d2c59 fix(import): use locale hints for ambiguous legacy text encodings
Local dev repairs for #2132, #2133.

Turkish UI prefers Windows-1254 after UTF-8; strict explicit encoding is available for mixed legacy collections. Tested both upload bytes and file reads, short Turkish strings, GBK, GB18030 and Windows-1252. Encoding and memory suite: 398 passed.
2026-11-15 00:50:30 +08:00
Bingxi Zhao (Frank)
e885120cf6 fix(runtime): preserve live turns owned by another local process
Local dev repairs for #2168, #2631.

Real child-process recovery: 16 tests passed, including queued, running, waiting_input, process exit and PID reuse. Existing coordination/application tests: 65 passed, 10 optional Redis skips.
2026-11-15 00:50:30 +08:00
Bingxi Zhao (Frank)
ea67eb00cb fix(llm): accept offered Claude SDK tools without the MCP prefix
Local dev repairs for #2539, #2686. Regression checks cover reported symptoms and compatibility boundaries.
2026-11-15 00:44:10 +08:00
Bingxi Zhao (Frank)
be4f36c166 fix(mastery): normalize option arrays and clarify grading evidence
Local dev repairs for #2687, #2691. Regression checks cover reported symptoms and compatibility boundaries.
2026-11-15 00:44:09 +08:00
Bingxi Zhao (Frank)
e0872716f0 fix(runtime): announce input waits and reject oversized history plans
Local dev repairs for #2387, #2433, #2496. Regression checks cover reported symptoms and compatibility boundaries.
2026-11-15 00:44:09 +08:00
Bingxi Zhao (Frank)
92a26ae3cc fix(storage): isolate attachment writes and settle document parsing
Local dev repairs for #2244, #2245, #2255, #2426, #2453. Regression checks cover reported symptoms and compatibility boundaries.
2026-11-15 00:44:09 +08:00
Bingxi Zhao (Frank)
fa1edb75a2 fix: reconcile provider branding and locale contracts after PR integration
Register the verified SearchApi favicon with provenance, complete Italian many plurals and translated counts, and review the Italian/Hungarian language endonyms in Portuguese. Align labeled-stream fixtures with preserved Markdown examples and accepted thinking-tag aliases. Keep PDF layout memoization tied to the effective page ratio.
2026-11-14 23:47:30 +08:00
Bingxi Zhao (Frank)
47ae8a27e4 Merge PR #2515: feat(i18n): add Hungarian as an interface and reply language
Combine Hungarian with Italian UI and Hindi reply-language registries; translate 49 newly integrated keys and add the Hungarian endonym to Italian. Regenerate router and frontend contracts. 33 Python locale tests, full Node suite and locale parity pass.
2026-11-14 23:36:26 +08:00
Bingxi Zhao (Frank)
95aa81d624 Merge PR #2544: feat(i18n): add Italian (it) localization
Make Italian quality tests compatible with CommonJS Node test compiler; accept Italiano as reply-language alias; translate 48 keys added by other integrated PRs; regenerate router index and format i18n. 26 Python locale tests and full Node suite pass.
2026-11-14 23:34:48 +08:00
Bingxi Zhao (Frank)
8b9acde791 Merge PR #2532: feat(subagent): speak ACP as a client so compliant agents plug in
Honor ACP loadSession capability and empty load results, validate the negotiated version, distinguish bidirectional request IDs, and fail immediately on stdout EOF so bounded teardown can reap the child. 102 tests passed, including real subprocess EOF cleanup; protocol checked against https://agentclientprotocol.com/protocol/v1/session-setup.
2026-11-14 23:25:46 +08:00
Bingxi Zhao (Frank)
85c91992c7 Merge PR #2582: fix: CodeBuddy provider: /auth/start can permanently wedge the settings API + incompatibilities with WorkBuddy 5.9.3 des
Replace in-request backoff with a monotonic cache, shield shared status probes, bound SDK startup and flow waits, retain child task ownership, and fence stale probe/login results across start, cancel, and logout (35 passed).
2026-11-14 23:23:00 +08: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
Bingxi Zhao (Frank)
2d493edb84 Merge PR #2521: feat(i18n): add Hindi as a reply language
Regenerate the lazy route index after the reply-language contract changes; targeted tests passed.
2026-11-14 23:16:33 +08:00
Bingxi Zhao (Frank)
33078edd49 Merge PR #2542: fix: register connected knowledge bases in the viewing workspace
Regenerate the lazy route index after workspace registration changes; targeted API tests passed.
2026-11-14 23:16:29 +08:00
Bingxi Zhao (Frank)
794f1c7399 Merge PR #2545: fix: scope text source_path RAG to the requested document (#2374)
Declare document-scope support at the pipeline contract and reject unsupported scoped queries before rewrite/retrieval; verify empty scopes also fail closed (29 retrieval tests and 10 service tests passed).
2026-11-14 23:16:26 +08:00
Bingxi Zhao (Frank)
2dcb44c6ed Merge PR #2574: fix(reading): anchor Markdown highlights in rendered-text space
Ground formatted Markdown quotes and context using the existing selection projection, require a grounded quote for browser-only positions, and reject fabricated selections (90 passed). Rendered math that cannot be verified remains conservatively rejected.
2026-11-14 23:15:17 +08:00
Bingxi Zhao (Frank)
6fcdec2ec8 Merge PR #2550: feat(parsing): emit content_list blocks from the Docling adapter
Normalize Docling coordinates to top-left 0..1000 before unions, omit unverifiable geometry, and bump the cache schema. Tests cover both origins, non-square pages, mixed records, and invalid sizes (36 passed; optional docling-core test skipped).
2026-11-14 23:14:04 +08:00
Bingxi Zhao (Frank)
9934fb15ca Merge PR #2625: feat(book): post-generation chapter CRUD without recompiling
Validate chapter existence, spine presence, and protected overview deletion before claiming a revision; cover failed edits followed by valid retries (22 passed).
2026-11-14 23:11:57 +08:00
Bingxi Zhao (Frank)
461093db5f Merge PR #2657: fix: register fresh mastery questions across conversations
Update the status contract for session_id and prove concurrent retries in a fresh session create only one card while retaining the archived question (139 passed).
2026-11-14 23:11:02 +08:00
Bingxi Zhao (Frank)
6c1e3b6e60 Merge PR #2549: fix(llm): map Anthropic context-window, refusal and stop_sequence stop reasons
Move the context-full finish reason into the shared LLM protocol and add English and Chinese notices; test both localized warnings and provider mappings (186 passed).
2026-11-14 23:09:35 +08:00
Bingxi Zhao (Frank)
0d9b45f37f Merge PR #2562: fix(llm): stop dropping the answer when a reply mentions <think>
Protect fenced and inline Markdown examples while stripping real closed, mixed-spelling, and interrupted reasoning blocks; add regressions for literal tags and code inside reasoning.
2026-11-14 23:08:23 +08:00
Bingxi Zhao (Frank)
3ef9ee8886 Merge PR #2513: fix: pick the JSON fence when a code snippet fence comes first
Prefer explicit JSON fences over unlabeled examples, ignore other language fences, and cover both precedence and embedded JSON preservation.
2026-11-14 23:07:03 +08:00
Bingxi Zhao (Frank)
9e7f44f978 Merge PR #2616: feat(search): add SearchApi provider with web, news and scholar modes
Remove the obsolete Google News link=resolved parameter; preserve returned redirect URLs and verify them with a realistic response fixture.
2026-11-14 23:06:04 +08:00
Bingxi Zhao (Frank)
7af36949bb Merge PR #2654: feat(search): make the Zhipu request engine configurable (#2617)
Keep all four supported Zhipu engines, including saved Sogou and Quark profiles; verify config aliases and request overrides and format tests.
2026-11-14 23:05:33 +08:00
Bingxi Zhao (Frank)
4889243501 Merge PR #2553: fix(parsing): preserve LiteParse page metadata
Format the parser regression tests; combined adapter suite passed.
2026-11-14 23:04:56 +08:00
Bingxi Zhao (Frank)
3a8524b073 Merge PR #2565: fix(knowledge): skip unreadable index versions instead of failing the KB list
Format the unreadable-index regression tests; targeted suite passed.
2026-11-14 23:04:54 +08:00
Bingxi Zhao (Frank)
68106fb79a Merge PR #2670: fix(loop): keep the workspace system note byte-stable across turns (#2621)
Sort the regression-test imports and apply targeted formatting; integrated workspace-note suite passed.
2026-11-14 23:04:53 +08:00
Bingxi Zhao (Frank)
d0fc167b9e Merge PR #2606: fix: make foreign tool call ids valid for Anthropic
Encode foreign tool IDs injectively with a reserved URL-safe prefix; test distinct calls, paired results, native IDs, and unchanged history (39 passed).
2026-11-14 23:04:28 +08:00
Bingxi Zhao (Frank)
f8d7ea9012 Merge PR #2491: fix(llm): recognize published GPT-6 context capacities
Add regression coverage for all four GPT-6 model names and explicit catalog-window overrides.
2026-11-14 23:03:51 +08:00
Bingxi Zhao (Frank)
47e4c33c90 Merge PR #2493: fix(runtime): separate indexless streamed tool calls 2026-11-14 23:00:46 +08:00
Bingxi Zhao (Frank)
dc537c9367 Merge PR #2527: fix: keep first-chat tokenizer acquisition local and nonwaiting 2026-11-14 23:00:45 +08:00
Bingxi Zhao (Frank)
4c67b87018 Merge PR #2529: feat: add SpecStream as a web search provider
Register both independently added search providers and preserve both provider test cases and display labels.
2026-11-14 23:00:45 +08:00
Bingxi Zhao (Frank)
006b369008 Merge PR #2533: feat(search): add DeepSeek standalone SERP provider 2026-11-14 23:00:23 +08:00