First revision: DeepSeek, numeric questions, background assistant, UI fixes
All checks were successful
Verify and publish V2 container / build-and-push (push) Successful in 1m2s

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>
This commit is contained in:
Elijah 2026-11-15 12:48:17 -07:00
parent ccdad9728b
commit f0aabe4d5d
63 changed files with 3892 additions and 488 deletions

View file

@ -33,19 +33,24 @@ is an opt-in development tool, never part of startup.
## What is implemented
- Classes, folders, search, edit/duplicate/move/delete actions; Markdown and embedded images.
- Multiple-choice and select-all quizzes; practice feedback, exam timers, shuffle, partial
credit, saved sessions, missed-question review, results and history.
- Multiple-choice, select-all and numeric (type-the-answer calculation) questions; a start
screen that hides answers, practice feedback, optional exam time limits, shuffle, partial
credit, saved sessions, missed-question review, 7-point letter grades and history.
- Flashcard editing, browse/self-assessment sessions, FSRS scheduling, persistent reviews,
undo, keyboard shortcuts and streak effects.
- Public quiz/deck/class/folder/note links and explicitly shared documents. Collection shares
include current and future quizzes, decks and notes; uploaded documents stay private.
- Public quiz/deck/class/folder/note/document links. Collection (class and folder) shares
include current and future quizzes, decks, notes and processed documents.
- JSON import previews, validation, templates, content exports and a V1 SQLite import path.
- PDF/DOCX/PPTX/TXT/Markdown/image uploads; text extraction, OCR via a configured vision model,
chunking and SQLite FTS retrieval with source references.
- OpenAI, Anthropic, Gemini, OpenAI-compatible and Ollama provider connections, manual/discovered
models, task routing, encrypted keys and usage estimates.
- AI generation with editable drafts; an assistant that searches materials, reads notes,
creates drafts, finds weak topics and proposes confirmed content changes.
- OpenAI, Anthropic, Gemini, DeepSeek, OpenAI-compatible and Ollama provider connections,
manual/discovered models, task routing with reasoning effort from Off to Max, encrypted keys
and usage estimates that price cached input separately.
- Semantic search with cloud embeddings or a built-in model that runs on the server.
- AI generation with editable drafts and editable instructions/presets; generation and
assistant answers keep running on the server when you leave the page. The assistant
searches materials, reads notes, creates drafts, finds weak topics, proposes confirmed
content changes, accepts @-tagged materials and can switch models per chat.
- Responsive light/dark interface and an installable app shell. Offline studying is limited:
private data is not cached; most operations need a server connection.