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>
63 lines
2 KiB
JSON
63 lines
2 KiB
JSON
{
|
|
"name": "study-desk",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Study Desk V2 - a self-hosted, single-user study platform with quizzes, spaced-repetition flashcards, documents, and AI.",
|
|
"engines": {
|
|
"node": ">=24"
|
|
},
|
|
"scripts": {
|
|
"dev": "concurrently -k -n api,web -c blue,magenta \"npm:dev:server\" \"npm:dev:web\"",
|
|
"dev:server": "tsx watch --clear-screen=false server/main.ts",
|
|
"dev:web": "vite",
|
|
"build": "npm run build:web && npm run build:server",
|
|
"build:web": "vite build",
|
|
"build:server": "node scripts/build-server.mjs",
|
|
"start": "node dist/server/main.js",
|
|
"typecheck": "tsc -p tsconfig.server.json --noEmit && tsc -p tsconfig.web.json --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"check": "npm run typecheck && npm run test && npm run build"
|
|
},
|
|
"dependencies": {
|
|
"@fontsource-variable/instrument-sans": "^5.3.0",
|
|
"@fontsource-variable/jetbrains-mono": "^5.3.0",
|
|
"@fontsource-variable/newsreader": "^5.3.0",
|
|
"@hono/node-server": "^2.1.6",
|
|
"@huggingface/transformers": "^4.3.2",
|
|
"@tanstack/react-query": "^5.107.1",
|
|
"clsx": "^2.1.1",
|
|
"fast-xml-parser": "^5.12.0",
|
|
"fflate": "^0.8.3",
|
|
"hono": "^4.13.17",
|
|
"jsonrepair": "^3.15.0",
|
|
"lucide-react": "^1.71.0",
|
|
"mammoth": "^1.13.0",
|
|
"pdf-lib": "^1.17.1",
|
|
"radix-ui": "^1.8.1",
|
|
"react": "^19.3.1",
|
|
"react-dom": "^19.3.1",
|
|
"react-markdown": "^10.1.0",
|
|
"react-router": "^8.5.1",
|
|
"remark-gfm": "^4.0.1",
|
|
"sonner": "^2.0.8",
|
|
"ts-fsrs": "^6.0.0",
|
|
"unpdf": "^2.1.0",
|
|
"zod": "^4.6.7"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.3.5",
|
|
"@types/node": "^26.6.6",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@vitejs/plugin-react": "^6.3.0",
|
|
"concurrently": "^10.0.7",
|
|
"esbuild": "^0.28.2",
|
|
"tailwindcss": "^4.3.5",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "^7.0.2",
|
|
"vite": "^8.3.8",
|
|
"vitest": "^5.1.0"
|
|
}
|
|
}
|