9 Commits

Author SHA1 Message Date
Qiu
506cea9d4f feat(desktop): finish Windows chat file actions (#3051)
Continues #2978 and closes #2887. Includes the original Windows file actions, integrates the changes with dev, and adds an explicit default-app action.

Co-authored-by: Botong Wu <2048400180@qq.com>
2026-11-28 13:09:15 -03:00
Bingxi Zhao (Frank)
fbab59acbf feat: modularize installation and enforce feature dependency boundaries 2026-10-28 01:02:29 +08:00
SeleiXi
dfe4f285a8 feat(outputs): publish video lesson pages from a sandboxed origin
A video lesson's turn directory holds the model's source next to the
built page. Only artifacts/lesson.html is added to the public-output
allowlist; Lesson.tsx and anything else in the directory stay private.

The page runs model-written script, so it is served with
"Content-Security-Policy: sandbox allow-scripts allow-popups". It then
runs in an opaque origin even when opened in its own tab, without the
API's cookies or same-origin access.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 20:55:35 +08:00
Bingxi Zhao (Frank)
da856ad670 release: v1.6.9
Ship folder-based workspaces and data migration, daily practice, redesigned
provider and model settings, and streaming conversation improvements.
Synchronize README translations and document the archive/permanent-delete
upgrade behavior in assets/releases/ver1-6-9.md.

Reduce initial JavaScript by deduplicating English resources and loading
animation features after hydration. Keep the existing route size budgets.
Update regression fixtures and browser audits for scoped URLs and the new
settings and learning interfaces.
2026-09-21 02:30:40 +08:00
Bingxi Zhao (Frank)
fc39543bc0 feat: integrate frontend backend and canonical routes 2026-09-01 22:24:29 +08:00
Bingxi Zhao (Frank)
350a3439d1 fix(ci): restore the ruff gate on dev
Two just-merged PRs each landed with a red Lint job that was not
re-checked before the merge:

- #1050 put the text_display import after the TYPE_CHECKING block in
  learning/pending.py, tripping I001.
- #1017 left a long call in routers/outputs.py that ruff format wraps
  differently.

Both are formatting only; no behaviour changes.
2026-08-29 11:41:50 +08:00
ZQR1101
30f8ab86cc style(api): sort outputs router imports for ruff I001 2026-08-27 12:05:38 +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 (Frank)
712d4137f0 feat: DSML streaming robustness, memory observability, and mastery pending questions
Work in progress carried over from earlier sessions, committed together.

Chat / DSML:
- Tolerate partial and malformed tool-call tags mid-stream, with a character
  ceiling so a stray "<" cannot make the live stream wait forever for its
  closing bracket.
- Narration rounds can now mark their prose as visible, so a DSML round that
  keeps the text surrounding a call has it persisted as part of the answer.

Runtime observability:
- New deeptutor/runtime/memory_probe.py reports resident memory across the
  process tree, exposed at /api/v1/system/memory and surfaced in the settings
  status strip. psutil is a soft dependency, imported lazily with a /proc
  fallback, so a missing wheel costs the strip and not the app.

Mastery:
- New deeptutor/learning/pending.py projects a persisted PendingQuestion into
  the smaller public contract safe to hand the tutor model, and owns the
  multiple-choice translations shared by registration and grading.

LightRAG:
- New pipelines/lightrag/worker.py moves local indexing onto a worker thread's
  own event loop, so RAG-Anything's synchronous graph merging stops stalling
  unrelated API and LLM work.

Also: request-scoped output artifact delivery (api/routers/outputs.py),
partner runtime and path_service adjustments, and CLI chat renderer updates.
2026-08-09 02:31:44 +08:00