Commit graph

10 commits

Author SHA1 Message Date
f0aabe4d5d 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>
2026-11-15 12:48:17 -07:00
3046e46d1c Add V2 Forgejo workflow publishing study:v2 image
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>
2026-11-12 11:29:22 -07:00
ffaa1f6afa Harden private media and backup recovery; add V2 deployment and migration guides 2026-11-11 19:31:32 -07:00
3e74ecd843 Start Study Desk V2: remove V1 sources, add backend foundation
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>
2026-11-11 08:16:41 -07:00
089439ed90 Refactor Study Desk application structure 2026-08-07 19:31:23 -07:00
f8de1a4380 Fix Docker build: Install openssl and run as root to fix volume permissions
All checks were successful
Automated Container Build / build-and-push (push) Successful in 53s
2026-06-27 20:14:53 -07:00
4df08da263 Fix Docker build: Install prisma in runner stage to resolve prisma/config module
All checks were successful
Automated Container Build / build-and-push (push) Successful in 59s
2026-06-27 20:13:07 -07:00
ce45c09b20 Configure Docker volume for persistent SQLite database
All checks were successful
Automated Container Build / build-and-push (push) Successful in 12s
2026-06-27 20:05:42 -07:00
fad28140fd Fix Docker build: Use Node 22 and npm install
All checks were successful
Automated Container Build / build-and-push (push) Successful in 28s
2026-06-27 19:59:53 -07:00
b7ce314f01 Initial working commit
Some checks failed
Automated Container Build / build-and-push (push) Failing after 7s
2026-06-27 19:19:38 -07:00