- Pyodide (Python 3.14, WebAssembly) in a separate Node process under the permission
model: read-only access to Pyodide's files, no writes, processes or network, empty
environment, JS bridges removed, time limit with kill and restart.
- Assistant tool run_python, which can load a draft or quiz as Python data.
- After quiz generation the model checks question count, type mix, correct answers per
type, duplicates and recomputed calculations with Python, then submits fixes that are
applied only if the question still validates. Switch in the Generate dialog.
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>
- Drag-to-reorder for class materials, folders, quiz questions and deck cards. Pointer-based
so touch works, plus keyboard (arrows/Home/End) with screen-reader announcements.
- Timed exams get a wall-clock deadline. The server refuses late answers, submits overdue
exams with what was saved, and the countdown keeps running while the page is closed.
- Shared quiz sessions keep a frozen copy of their questions and flag later owner edits.
- Scanned PDFs are read in cached 8-page batches with real page numbers (pdf-lib), removing
the 30 MB whole-file limit. Compatible providers now receive PDFs as file parts.
- Semantic search: embeddings for OpenAI, Gemini, Ollama and compatible servers, background
indexing into chunk_vectors (migration 2), hybrid keyword + vector ranking for search, the
assistant and focused generation, and a Settings -> AI section.
181 tests pass locally and in the Docker test stage on Node 24.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pushes to v2 typecheck and test inside the Node 24 image via a new Dockerfile
test stage, build and smoke-test the production image as a fresh non-root
container, then publish :v2 and :v2-<sha>. Never touches V1's :latest.
Document the image tags and Unraid 99:100 volume ownership.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Flashcards: whole card flips on click (both sides), 3D turn, swipe-away on grading,
streak chip and flame bursts, bigger cards on desktop, arrow keys for everything
- Review and browse keep the sidebar on desktop
- Quizzes: live practice score, partial-credit explanation, time limit for shared exams
- Class page: items grouped by type inside each folder
- Import: copyable, editable instructions for outside chatbots
- Assistant: reads notes and links to library items
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
V1 remains intact on main and in history. This branch replaces it with a new
application: node:sqlite storage with migrations, scrypt auth and sessions,
content/SRS/attempt/stats services, document extraction and chunking, a
provider-neutral AI layer (OpenAI, Anthropic, Gemini, OpenAI-compatible,
Ollama), the generation pipeline and the tool-using assistant.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>