Settings → Data → Import gets "Restore a full backup" in place of the V1
import row. The zip from "Download backup" is uploaded and replaces the
database, every setting and the uploaded files on the running server:
- the staged database is upgraded to this schema (newer backups are refused),
saved keys are re-encrypted for this server's key, interrupted jobs are
marked, and the restoring session is carried over;
- a pre-restore snapshot is written, running generations stop, and the file
is swapped under the open DB handle (DB.replaceWith); uploads and media are
copied into place and background work restarts.
The /api/import/v1 endpoint stays for the V1 cutover (docs/MIGRATION.md).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Visitors of class and exam links can generate NCLEX-style quizzes (default
and maximum 50 questions, 25% select-all, Python-checked, optional 5 med
math questions) and flashcard sets from chosen class materials, once the
owner turns it on for the link.
- 4 quizzes and 2 flashcard sets per link per day; failed attempts do not
count; "Reset limits" in the share dialog gives a fresh allowance.
- Sets are drafts tied to the link (migration 7): listed for every visitor,
explainable, kept off the owner's drafts list, and reviewable or savable
from the share dialog.
- Generate gains "Include med math" with a count (default 5): exactly that
many dosage calculation questions at the chosen difficulty, spread through
the quiz, even when the material has none.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Providers and pricing
- Add a DeepSeek provider: thinking mode with low/high/max effort, reasoning_content
replayed between tool steps, cache-hit usage, /models discovery and catalog prices.
- Fix "does not support tool calling": a rejected forced tool_choice (DeepSeek thinking
mode) now asks for the call in the prompt; only a genuine no-tools 400 is "unsupported".
- Seven reasoning-effort levels (Off to Max) mapped per adapter.
- Cached-input price per model, cache-write and DeepSeek off-peak aware cost estimates.
- Built-in bge-small embedding model (transformers.js) as the semantic search default.
Quizzes
- Numeric (type-the-answer) questions: units ignored, optional ± tolerance; editor,
runner, importer, templates and generation prompts.
- Quiz start screen instead of showing answers; navigator ring no longer clipped and
key legend removed; clock only for timed exams; 7-point letter grades.
Assistant and generation
- Assistant turns run on the server independently of the browser, with re-attach and
an explicit stop; drafts tray shows generations in progress.
- Per-chat model switcher, @-tagging of class materials, full-width assistant page and
a smaller assistant button.
- Editable generation instructions and built-in presets, separate from the chatbot
import instructions.
Other
- Dialog footer padding, keyboard hints removed, copy buttons work over plain HTTP,
class and folder shares include documents.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>